/* ==========================================================================
   Punya Wedding Organizer — style.css
   Warna utama ada di :root (paling atas). Ganti di sana, seluruh halaman ikut.
   Bagian: hero, promo, tentang, layanan, vendor, venue, kalkulator budget, galeri, testimoni,
           kenapa kami, kontak.
   ========================================================================== */

:root {
  --green: #5b7b6b;
  --deep: #2f4639;
  --sand: #d6a98a;
  --sage: #b9ccb4;
  --rose: #c98f86;
  --bg: #f5eee4;
  --bg2: #e9efe6;
  --ink: #22302a;
  --mute: #5d6e65;
  --line: #d3cbbd;
  --card: #fbf7f0;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top,0px);
  padding-bottom: env(safe-area-inset-bottom,0px);
}

@media (prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    --bg: #1b2a23;
    --bg2: #22352c;
    --ink: #f1e8da;
    --mute: #a9bdb0;
    --line: #3b5246;
    --card: #263a30;
  }
}

:root[data-theme="dark"] {
  --bg: #1b2a23;
  --bg2: #22352c;
  --ink: #f1e8da;
  --mute: #a9bdb0;
  --line: #3b5246;
  --card: #263a30;
}

html {
  scroll-padding-top: 5rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 1.05rem/1.7 Jost,system-ui,sans-serif;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 300;
  line-height: 1.12;
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 3px;
}

.wrap {
  width: min(1100px,100% - 2.5rem);
  margin-inline: auto;
}

.mark {
  letter-spacing: .18em;
  text-transform: uppercase;
}

#fx {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

#ld {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--deep);
  display: grid;
  place-items: center;
  color: var(--sand);
  font-size: clamp(1.6rem,6vw,3rem);
  transition: transform 1.1s cubic-bezier(.8,0,.2,1);
  border-radius: 0 0 50% 50%/0 0 12% 12%;
}

#ld span {
  animation: sp 1.6s ease-out forwards;
}

@keyframes sp {
  from {
    letter-spacing: .05em;
    opacity: 0;
  }
  to {
    letter-spacing: .35em;
    opacity: 1;
  }
}

#ld.off {
  transform: translateY(-110%);
}

header {
  position: fixed;
  inset: env(safe-area-inset-top,0px) 0 auto;
  z-index: 20;
  padding: .7rem 0;
  transition: all .4s;
}

header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem .6rem .55rem 1.5rem;
  border-radius: 999px;
  color: #f5eee4;
  transition: background .4s;
}

header.sc .wrap {
  background: var(--deep);
  box-shadow: 0 8px 30px rgba(20,32,26,.25);
}

.logo {
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--sand);
}

nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  font-size: .95rem;
  color: #e9efe6;
}

.btn {
  display: inline-block;
  background: var(--sand);
  color: #2a2018;
  padding: .85rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  border: 0;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background .3s,transform .25s;
}

.btn:hover {
  background: #e6bfa3;
  transform: translateY(-2px);
}

.btn.o {
  background: none;
  color: inherit;
  border: 1px solid currentColor;
}

nav .btn {
  padding: .6rem 1.3rem;
}

@media (max-width:1000px) {
  nav a:not(.btn) {
    display: none;
  }
}

.hero {
  height: 260vh;
  background: var(--deep);
}

.stick {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #f5eee4;
  overflow: hidden;
  isolation: isolate;
}

.scene {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: radial-gradient(60% 50% at 25% 30%,#7a9886 0,transparent 70%),radial-gradient(50% 50% at 80% 70%,#a98467 0,transparent 70%),linear-gradient(160deg,#3d5a4b,#2a4034);
  background-size: 140% 140%;
  animation: dr 16s ease-in-out infinite alternate;
}

@keyframes dr {
  to {
    background-position: 100% 100%;
  }
}

.stick video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  display: none;
}

.stick video.has {
  display: block;
}

.stick::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20,32,26,.3);
}

.rg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(92vw,640px);
  margin: calc(min(92vw,640px)/-2) 0 0 calc(min(92vw,640px)/-2);
  z-index: -1;
}

.rg circle {
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  transition: stroke-dashoffset 2.6s .6s ease;
}

#rl circle {
  stroke: var(--sand);
}

#rr circle {
  stroke: var(--sage);
}

body.go .rg circle {
  stroke-dashoffset: 0;
}

#gm {
  fill: var(--sand);
}

.hero h1 {
  font-size: clamp(3.2rem,12vw,8rem);
  color: var(--sand);
  display: flex;
  justify-content: center;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 1.4s .4s,filter 1.4s .4s;
}

body.go .hero h1 {
  opacity: 1;
  filter: none;
}

.hero h1 span {
  display: inline-block;
}

.sub {
  letter-spacing: .42em;
  text-transform: uppercase;
  font-size: clamp(.7rem,2vw,1rem);
  color: var(--sage);
  opacity: 0;
  transition: opacity 1s 1.2s;
}

body.go .sub {
  opacity: 1;
}

.copy {
  display: grid;
  margin: 1.4rem auto 2rem;
  max-width: 34ch;
}

.copy p {
  grid-area: 1/1;
  margin: 0;
  font-size: 1.2rem;
}

.acts {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hint {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--sand),transparent);
  animation: pl 2s infinite;
}

@keyframes pl {
  50% {
    opacity: .2;
  }
}

section {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.alt {
  background: var(--bg2);
}

h2 {
  font-size: clamp(2rem,5vw,3.2rem);
  margin-bottom: 1.4rem;
  max-width: 18ch;
}

.note {
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--mute);
}

.bl {
  position: absolute;
  width: 340px;
  height: 340px;
  background: var(--sage);
  opacity: .3;
  filter: blur(50px);
  z-index: 0;
  animation: mo 14s ease-in-out infinite alternate;
}

@keyframes mo {
  from {
    border-radius: 60% 40% 55% 45%/50% 55% 45% 50%;
  }
  to {
    border-radius: 40% 60% 45% 55%/60% 40% 60% 40%;
    transform: translate(20px,-14px) rotate(8deg);
  }
}

.wrap {
  position: relative;
  z-index: 1;
}

.ph {
  position: relative;
  overflow: hidden;
  background: var(--green);
  border-radius: 0;
  transition: transform .3s;
}

.ph svg, .ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s cubic-bezier(.2,.7,.2,1);
}

.rv.in {
  clip-path: inset(0);
}

/* promo */
.pc {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--deep);
  color: #f5eee4;
  border-radius: 48px 120px 48px 120px/48px 80px 48px 80px;
  padding: clamp(1.8rem,5vw,3.5rem);
  position: relative;
  overflow: hidden;
}

.pc h2 {
  color: var(--sand);
  max-width: 16ch;
}

.pc p {
  color: var(--sage);
  max-width: 44ch;
}

.tag {
  display: inline-block;
  background: var(--sand);
  color: #2a2018;
  border-radius: 999px;
  padding: .25rem 1rem;
  font-size: .9rem;
  margin-bottom: 1rem;
}

.cd {
  display: flex;
  gap: .6rem;
  margin: 1.2rem 0 1.6rem;
}

.cd div {
  background: rgba(255,255,255,.1);
  border-radius: 20px;
  padding: .6rem .4rem;
  min-width: 64px;
  text-align: center;
}

.cd b {
  display: block;
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--sand);
}

.cd span {
  font-size: .75rem;
  color: var(--sage);
}

.pc .ph {
  aspect-ratio: 1;
}

@media(max-width:760px) {
  .pc {
    grid-template-columns: 1fr;
    border-radius: 48px;
  }
  .pc .ph {
    max-width: 260px;
    justify-self: center;
  }
}

/* about */
.ab {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.ab .col2 {
  position: relative;
}

.ab .tall {
  aspect-ratio: 4/5;
}

.ab .bd {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--deep);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  display: flex;
  gap: .4rem;
  align-items: baseline;
}

.ab .bd b {
  font-size: 1.1rem;
}

.ab .sq {
  position: absolute;
  width: 44%;
  aspect-ratio: 1;
  right: -8%;
  bottom: -8%;
  border: 6px solid var(--bg);
}

.st {
  font-size: clamp(1.5rem,3.4vw,2.3rem);
  line-height: 1.3;
  margin-bottom: 1.4rem;
}

.st span {
  opacity: .15;
}

.vals {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin: 1.4rem 0;
}

.vals i {
  font-style: normal;
  background: var(--bg2);
  border-radius: 999px;
  padding: .4rem 1.1rem;
  color: var(--green);
}

.stats {
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
}

.stats b {
  display: block;
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--green);
}

.stats span {
  font-size: .9rem;
  color: var(--mute);
}

@media(max-width:780px) {
  .ab {
    grid-template-columns: 1fr;
  }
  .ab .col2 {
    max-width: 420px;
  }
}

/* services */
.hs {
  height: 340vh;
}

.hs .stick {
  display: block;
  background: var(--bg2);
  color: var(--ink);
  text-align: left;
}

.hs .stick::after {
  display: none;
}

#tr {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  height: 100%;
  padding: 0 6vw;
  width: max-content;
}

.hc {
  flex: none;
  width: min(80vw,400px);
  background: var(--card);
  padding: 1rem 1rem 1.6rem;
  border-radius: 36px 36px 70px 36px;
}

.hc .ph {
  aspect-ratio: 4/3;
  margin-bottom: 1rem;
}

.hc h3 {
  font-size: 1.55rem;
  color: var(--green);
  margin: 0 .4rem .3rem;
}

.hc p {
  margin: 0 .4rem .6rem;
  color: var(--mute);
  font-size: .95rem;
  line-height: 1.5;
}

.hc ul {
  list-style: none;
  margin: 0 .4rem;
  padding: 0;
  font-size: .92rem;
}

.hc li {
  padding-left: 1.3rem;
  position: relative;
  margin: .15rem 0;
}

.hc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: 8px;
  height: 8px;
  border-radius: 50% 0 50% 0;
  background: var(--sand);
}

.hh {
  flex: none;
  width: min(80vw,340px);
}

.mq {
  overflow: hidden;
  white-space: nowrap;
  padding: 1rem 0;
  background: var(--deep);
}

.mq div {
  display: inline-block;
  animation: mq 45s linear infinite;
  font-size: clamp(1.3rem, 3.2vw, 2.3rem);
  letter-spacing: .06em;
  color: transparent;
  -webkit-text-stroke: 1px var(--sand);
}

@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}

/* vendor */
.vgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem 1.2rem;
  margin: 1.2rem 0 2.4rem;
}

.vd {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.3rem;
  border-radius: 999px;
  background: var(--card);
  text-decoration: none;
  color: var(--ink);
  transition: transform .3s, background .3s, color .3s;
}

.vd:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-3px);
}

.vd .ic {
  width: 40px;
  height: 40px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vd span {
  font-size: 1.1rem;
}

.vh {
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--green);
}

.vchips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.vchips a {
  padding: .55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: all .25s;
}

.vchips a:hover {
  background: var(--sand);
  border-color: var(--sand);
  color: #2a2018;
}

.vchips a.deals {
  font-weight: 500;
  border-color: var(--green);
  color: var(--green);
}

@media (max-width:900px) {
  .vgrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:520px) {
  .vgrid {
    grid-template-columns: 1fr;
  }
}

/* venue slider */
.vs {
  position: relative;
  margin-top: 1.8rem;
}

.vtrack {
  --n: 5.5;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .4rem;
}

.vtrack::-webkit-scrollbar {
  display: none;
}

.vcard {
  flex: 0 0 calc((100% - (var(--n) - 1) * 1rem) / var(--n));
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--ink);
}

.vcard .ph {
  aspect-ratio: 4/5;
}

.vcard:hover .ph {
  transform: translateY(-5px);
}

.vcard h3 {
  font-size: 1.05rem;
  margin: .7rem 0 .05rem;
}

.vcard p {
  margin: 0;
  color: var(--mute);
  font-size: .8rem;
}

.va {
  position: absolute;
  top: 36%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #22302a;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(20, 32, 26, .25);
  transform: translateY(-50%);
  transition: opacity .3s, transform .3s;
}

.va:first-of-type {
  left: -14px;
}

.va:last-of-type {
  right: -14px;
}

.va:hover {
  transform: translateY(-50%) scale(1.08);
}

.va:disabled {
  opacity: 0;
  pointer-events: none;
}

@media (max-width:1000px) {
  .vtrack {
    --n: 4.2;
  }
}

@media (max-width:700px) {
  .vtrack {
    --n: 2.8;
  }
}

@media (max-width:480px) {
  .vtrack {
    --n: 2.2;
  }

  .va {
    width: 38px;
    height: 38px;
  }
}

/* budget calculator */
.chips {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.chips button {
  font: inherit;
  font-size: .92rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: all .25s;
}

.chips button[aria-pressed=true] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.calc {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.2rem;
  align-items: start;
  margin-top: 1.8rem;
}

.calc-in {
  background: var(--card);
  border-radius: 44px 44px 90px 44px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  display: grid;
  gap: 1.6rem;
}

.calc-in fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.calc-in legend {
  padding: 0;
  margin-bottom: .7rem;
  font-weight: 500;
}

.calc-in legend b {
  color: var(--green);
  font-weight: 500;
}

#bg-guests {
  width: 100%;
  accent-color: var(--green);
  height: 28px;
}

.opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}

.opts label {
  display: flex;
  gap: .6rem;
  align-items: center;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s;
}

.opts label:has(input:checked) {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.opts input {
  accent-color: var(--sand);
}

.calc-out {
  position: sticky;
  top: 6rem;
  background: var(--deep);
  color: #f5eee4;
  border-radius: 60px 100px 60px 100px/60px 80px 60px 80px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
}

.calc-out h3 {
  color: var(--sage);
  font-size: 1.1rem;
  font-weight: 400;
}

.calc-out .tt {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--sand);
  line-height: 1.15;
  margin: .3rem 0 .2rem;
}

.calc-out small {
  color: var(--sage);
}

.calc-out ul {
  list-style: none;
  margin: 1.2rem 0;
  padding: 0;
  font-size: .95rem;
}

.calc-out li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.calc-out li.dc {
  color: var(--sage);
}

.calc-out .note {
  color: var(--sage);
  margin: 0 0 1.2rem;
}

@media (max-width:860px) {
  .calc {
    grid-template-columns: 1fr;
  }

  .calc-out {
    position: static;
  }
}

@media (max-width:480px) {
  .opts {
    grid-template-columns: 1fr;
  }
}

/* gallery */
.gal {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem max(1.25rem,(100vw - 1080px)/2) 1.4rem;
  scrollbar-width: none;
  cursor: none;
  user-select: none;
  -webkit-user-select: none;
}

.gal::-webkit-scrollbar {
  display: none;
}

.gi {
  position: relative;
  flex: none;
  margin: 0;
  height: clamp(380px,62vh,620px);
  aspect-ratio: var(--ar);
  overflow: hidden;
  background: var(--green);
}

.gi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}

.gi:hover img {
  transform: scale(1.05);
}

.gi figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3rem 1.2rem 1.2rem;
  color: #fff;
  background: linear-gradient(to top,rgba(10,18,14,.78),transparent);
  display: grid;
  gap: .25rem;
}

.gi figcaption b {
  font-size: 1.15rem;
}

.gi figcaption em {
  font-size: .9rem;
  opacity: .9;
}

.gbar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.gh {
  display: flex;
  gap: .5rem;
  align-items: center;
  margin: 0;
  color: var(--mute);
  font-size: .9rem;
  white-space: nowrap;
}

.gh svg {
  animation: nudge 1.6s ease-in-out infinite;
}

@keyframes nudge {
  50% {
    transform: translateX(5px);
  }
}

.gp {
  flex: 1;
  height: 4px;
  background: rgba(34,48,42,.15);
  border-radius: 99px;
  position: relative;
  cursor: pointer;
}

.gp i {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 20%;
  background: var(--deep);
  border-radius: 99px;
}

.gb {
  display: flex;
  gap: .6rem;
}

.gb button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--deep);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform .25s, opacity .25s;
}

.gb button:hover {
  transform: scale(1.08);
}

.gb button:disabled {
  opacity: .35;
  cursor: default;
}

.gc {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--deep);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  pointer-events: none;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .25s, transform .25s;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

.gc.on {
  opacity: 1;
  transform: scale(1);
}

@media(pointer:coarse) {
  .gal {
    cursor: auto;
  }
  .gc {
    display: none;
  }
}

@media(max-width:600px) {
  .gh {
    display: none;
  }
}

/* tim */
.tmw {
  margin-top: 4rem;
}

.tmw h3 {
  font-size: clamp(1.5rem,3vw,2rem);
  margin-bottom: 1.4rem;
}

.tmg {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
}

.tm {
  margin: 0;
}

.tm .ph {
  aspect-ratio: 4/5;
}

.tm figcaption {
  display: grid;
  gap: .1rem;
  padding-top: .7rem;
}

.tm figcaption span {
  color: var(--mute);
  font-size: .9rem;
}

.tm figcaption em {
  font-size: .8rem;
  color: var(--deep);
}

@media(max-width:700px) {
  .tmg {
    grid-template-columns: 1fr 1fr;
  }
}

/* testimonials */
.tk {
  --n: 5;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-top: 1.6rem;
  padding: .4rem 0 1rem;
}

.tk::-webkit-scrollbar {
  display: none;
}

.tc {
  flex: 0 0 calc((100% - (var(--n) - 1)*1rem)/var(--n));
  scroll-snap-align: start;
  margin: 0;
  background: var(--card);
  padding: 1.4rem 1.2rem 1.6rem;
  border-radius: 30px 30px 64px 30px;
  box-shadow: 0 8px 24px rgba(34,48,42,.08);
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.tc:nth-child(2n) {
  border-radius: 30px 64px 30px 30px;
}

.av {
  width: 52px;
  height: 52px;
  border-radius: 55% 45% 50% 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(145deg,var(--green),var(--deep));
}

.tc:nth-child(2n) .av {
  background: linear-gradient(145deg,var(--sand),#a98467);
}

.tc:nth-child(3n) .av {
  background: linear-gradient(145deg,var(--rose),#9a6d66);
}

.tc blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  flex: 1;
}

.tc figcaption {
  font-size: .85rem;
  color: var(--mute);
  line-height: 1.4;
}

.tc figcaption b {
  font-weight: 500;
  color: var(--ink);
}

.stars {
  color: var(--sand);
  letter-spacing: .15em;
  font-size: .9rem;
}

.cn {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
}

.cn button {
  width: 52px;
  height: 52px;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1;
}

.cn button:disabled {
  opacity: .35;
  cursor: default;
  transform: none;
}

@media(max-width:1000px) {
  .tk {
    --n: 3;
  }
}

@media(max-width:700px) {
  .tk {
    --n: 2;
  }
}

@media(max-width:480px) {
  .tk {
    --n: 1;
  }
}

/* why */
.why {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.1rem;
  margin-top: 2rem;
}

.why div {
  background: var(--card);
  padding: 1.6rem;
  border-radius: 34px 34px 64px 34px;
  transition: transform .35s;
}

.why div:hover {
  transform: translateY(-6px) rotate(-.6deg);
}

.why div::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  background: var(--sand);
  border-radius: 60% 40% 55% 45%/50% 55% 45% 50%;
  margin-bottom: 1rem;
  animation: mo 8s ease-in-out infinite alternate;
}

.why div:nth-child(2n)::before {
  background: var(--sage);
}

.why div:nth-child(3n)::before {
  background: var(--rose);
}

.why h3 {
  font-size: 1.35rem;
  color: var(--green);
  margin-bottom: .4rem;
}

.why p {
  margin: 0;
  color: var(--mute);
  font-size: .97rem;
  line-height: 1.55;
}

@media(max-width:860px) {
  .why {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:560px) {
  .why {
    grid-template-columns: 1fr;
  }
}

.ot {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}

.oc {
  background: var(--card);
  border-radius: 34px 34px 70px 34px;
  padding: 1rem 1rem 1.5rem;
  transition: transform .35s;
}

.oc:hover {
  transform: translateY(-6px);
}

.oc .ph {
  aspect-ratio: 1;
  margin-bottom: 1rem;
}

.oc h3 {
  font-size: 1.4rem;
  color: var(--green);
  margin: 0 .4rem .3rem;
}

.oc p {
  margin: 0 .4rem;
  color: var(--mute);
  font-size: .95rem;
  line-height: 1.5;
}

.oc .tag {
  margin: .9rem .4rem 0;
  background: var(--bg2);
  color: var(--green);
  font-size: .8rem;
}

@media(max-width:900px) {
  .ot {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:480px) {
  .ot {
    grid-template-columns: 1fr;
  }
}

.soc {
  display: flex;
  gap: .7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.soc a {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  text-decoration: none;
  color: #f5eee4;
  transition: background .3s;
}

.soc a:hover {
  background: rgba(255,255,255,.12);
}

.soc svg {
  width: 20px;
  height: 20px;
}

footer a {
  color: var(--sand);
}

.contact {
  background: var(--deep);
  color: #f5eee4;
  text-align: center;
}

.contact h2 {
  margin-inline: auto;
  color: var(--sand);
  font-size: clamp(2.4rem,7vw,5rem);
  max-width: 14ch;
}

.contact p {
  max-width: 46ch;
  margin: 0 auto 2rem;
  color: var(--sage);
}

.pm {
  margin-top: 3.5rem;
  overflow: hidden;
}

.pm div {
  display: flex;
  gap: .8rem;
  width: max-content;
  animation: mq 40s linear infinite;
}

.pm .ph {
  width: 200px;
  height: 140px;
}

footer {
  background: var(--deep);
  color: var(--sage);
  text-align: center;
  padding: 1.4rem 0;
  font-size: .85rem;
  border-top: 1px solid #3d5a4b;
}

@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    animation-duration: .01s!important;
    transition: none!important;
  }
  #fx {
    display: none;
  }
  .rv {
    clip-path: none;
  }
}
