/* =========================================================================
   RAUHIN — TEMPLATE EOS · eos.css
   Eos, dewi fajar. VIDEO SINEMATIK PENUH: satu video menempel di belakang
   seluruh halaman, isi mengalir di atasnya dengan banyak ruang kosong.
   Dipelajari dari undangan premium (groovepublic Claire/Clay/Wellness,
   tamubali Lume): tipografi tipis, label kapital renggang, serif besar rata
   kiri, tombol pil bergaris tipis, foto berbingkai sederhana.
   Ciri khas EOS: cahaya fajar hangat naik di atas video seiring digulir.
   Ubah warna & ukuran huruf di TOKEN.
   ========================================================================= */


/* =========================================================================
   TOKEN
   ========================================================================= */
:root {
  --ink: #0b0a09;
  --white: #f7f3ec;                     /* putih hangat — teks utama */
  --soft: rgba(247, 243, 236, .74);     /* teks kedua */
  --line: rgba(247, 243, 236, .26);     /* garis tipis */
  --dawn: #f3c9a1;                      /* cahaya fajar (aksen) */

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --fs-heading: clamp(2.875rem, 2.3rem + 3vw, 3.5rem);
  --fs-body: .875rem;

  --col: 480px;
  --pad: clamp(28px, 8vw, 44px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}


/* =========================================================================
   DASAR
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }   /* video latar tidak boleh membuat halaman bisa digeser ke samping */
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--sans); font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-closed { overflow: hidden; }
img, video, iframe { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
i { font-style: italic; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; }
svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.fill { fill: currentColor; stroke: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* =========================================================================
   TIPOGRAFI & KOMPONEN BERSAMA
   ========================================================================= */
.caps { font-size: .6875rem; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: var(--white); }
.caps--soft { color: var(--soft); }
.caps b { font-weight: 500; }
.heading { font-family: var(--serif); font-size: var(--fs-heading); font-weight: 400; line-height: 1; letter-spacing: -.01em; }
.body { max-width: 34ch; font-size: var(--fs-body); line-height: 1.85; color: var(--soft); }
.statement { max-width: 18ch; font-family: var(--serif); font-size: clamp(1.75rem, 1.5rem + 1.4vw, 2.125rem); line-height: 1.25; white-space: pre-line; }   /* baris baru di kutipan (mis. bait Rgveda) tetap tampil */
.quote { max-width: 30ch; font-family: var(--serif); font-size: 1.375rem; font-style: italic; line-height: 1.4; color: var(--white); }
.note { font-size: .625rem; letter-spacing: .02em; color: var(--soft); }
.rule { display: block; width: 48px; height: 1px; background: var(--white); opacity: .6; }

/* judul muncul baris demi baris dari balik garis (diatur eos.js) */
.rise .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.rise .line > span { display: inline-block; }

/* tombol pil bergaris tipis */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 26px;
  border: 1px solid rgba(247, 243, 236, .7); border-radius: 999px; background: transparent; color: var(--white);
  font-size: .6875rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; touch-action: manipulation; transition: background-color .4s, color .4s, border-color .4s, transform .3s;
}
.pill:hover { background: var(--white); color: var(--ink); }
.pill:active { transform: scale(.98); }
.pill--solid { background: var(--white); border-color: var(--white); color: var(--ink); font-weight: 500; }
.pill--solid:hover { background: transparent; color: var(--white); }
.pill--wide { justify-content: space-between; width: 100%; }
.pill[disabled] { opacity: .5; cursor: wait; }
.pill svg { width: 14px; height: 14px; }


/* =========================================================================
   PANGGUNG VIDEO — latar tetap + tirai gelap + cahaya fajar
   ========================================================================= */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--ink); }
.stage__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.stage__video.is-ready { opacity: 1; }
/* video 16:9 dibuat menutupi layar (seperti object-fit: cover), lalu
   diperbesar (--zoom) agar tepi pemutar & pita hitam sinematik di dalam
   video tidak terlihat. Video tanpa pita hitam: --zoom cukup 1.15 */
.stage__video { --zoom: 1.4; }
.stage__video iframe, .stage__video video {
  position: absolute; left: 50%; top: 50%; width: max(100vw, 177.78vh); max-width: none; height: max(100vh, 56.25vw);
  translate: -50% -50%; scale: var(--zoom); border: 0; pointer-events: none; object-fit: cover;
}
.stage__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 10, 9, .55) 0%, rgba(11, 10, 9, .35) 35%, rgba(11, 10, 9, .45) 65%, rgba(11, 10, 9, .8) 100%); }
/* FAJAR: makin terang & hangat seiring digulir (--p 0→1 dari eos.js) */
.stage__dawn {
  --p: 0;
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(120% 70% at 50% 110%, rgba(243, 180, 120, .95), rgba(243, 201, 161, .35) 45%, transparent 75%);
  opacity: calc(.15 + var(--p) * .85);
}


/* =========================================================================
   00 · SAMPUL
   ========================================================================= */
.gate {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: max(13svh, 80px) var(--pad) max(8svh, 40px); text-align: center;
  background: linear-gradient(180deg, rgba(11, 10, 9, .5), rgba(11, 10, 9, .15) 40%, rgba(11, 10, 9, .25) 60%, rgba(11, 10, 9, .75));
}
.gate__top, .gate__bottom { display: grid; justify-items: center; gap: 14px; }
.gate__names { font-family: var(--serif); font-size: clamp(2.75rem, 2.2rem + 3vw, 3.5rem); font-weight: 400; font-style: italic; line-height: 1.05; }
.gate__dear { font-family: var(--serif); font-size: 1.0625rem; font-style: italic; color: var(--soft); }
.gate__guest { margin-top: -8px; font-family: var(--serif); font-size: 1.625rem; line-height: 1.2; overflow-wrap: anywhere; }
.gate .note { margin: -4px 0 10px; }


/* =========================================================================
   LOADING AWAL — "MENJELANG FAJAR"
   --p  progres 0..1 (eos.js) → malam biru memudar, fajar hangat & warna foto naik
   --o  0 = jendela kecil · 1 = layar penuh (saat selesai, eos.js)
   Foto di jendela = potongan dari foto layar penuh (object-fit cover), jadi
   saat jendela membesar foto sampul tepat menjadi latar sampul.
   ========================================================================= */
.loader {
  --p: 0; --o: 0;
  --w: min(44vw, 230px);                 /* jendela 3:4 */
  --h: calc(var(--w) * 4 / 3);
  position: fixed; inset: 0; z-index: 90; overflow: hidden;
  background: radial-gradient(90% 60% at 50% 0%, #14161d, var(--ink) 70%);   /* langit malam */
  animation: loader-safety 14s step-end forwards;   /* pengaman bila JS gagal */
}
@keyframes loader-safety { to { visibility: hidden; } }
.loader.is-gone { opacity: 0; transition: opacity .5s; pointer-events: none; }

/* jendela: lapisan layar penuh yang dipotong clip-path */
.loader__win {
  position: absolute; inset: 0;
  clip-path: inset(calc((50% - var(--h) / 2) * (1 - var(--o))) calc((50% - var(--w) / 2) * (1 - var(--o))));
}
.loader__reel, .loader__reel img { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__reel { background: #191a1f; }
.loader__reel img { max-width: none; object-fit: cover; opacity: 0; filter: saturate(calc(.3 + var(--p) * .7)); }
.loader__reel img.is-on { opacity: 1; }
.loader__night { position: absolute; inset: 0; mix-blend-mode: multiply; background: linear-gradient(180deg, rgb(70, 92, 150), rgb(38, 44, 70)); opacity: calc((1 - var(--p) * .9) * (1 - var(--o))); }
.loader__dawn { position: absolute; inset: 0; mix-blend-mode: soft-light; background: radial-gradient(120% 70% at 50% 110%, rgba(243, 180, 120, .95), rgba(243, 201, 161, .35) 45%, transparent 75%); opacity: calc(var(--p) * (1 - var(--o))); }
/* garis tipis di luar jendela (berjarak 8px) */
.loader__frame { position: absolute; left: 50%; top: 50%; width: calc(var(--w) + 16px); height: calc(var(--h) + 16px); translate: -50% -50%; border: 1px solid var(--line); animation: loader-in 1.2s both; }

/* nama editorial mengapit jendela */
.loader__n {
  --len: 4; position: absolute; z-index: 2; margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; line-height: .9; white-space: nowrap;
  font-size: min(clamp(3.25rem, 2rem + 7vw, 6.5rem), calc(92vw / (var(--len) * .48)));
  text-shadow: 0 8px 40px rgba(11, 10, 9, .45);
}
.loader__n--1 { right: calc(50% + var(--w) / 2 - 1.4em); top: calc(50% - var(--h) / 2 - .45em); }
.loader__n--2 { left: calc(50% + var(--w) / 2 - 1.4em); top: calc(50% + var(--h) / 2 - .5em); }
.loader__amp { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; margin: 0; font-family: var(--serif); font-size: 2rem; color: var(--white); text-shadow: 0 4px 20px rgba(11, 10, 9, .6); }
.loader__n, .loader__amp { opacity: 0; }   /* tampil lewat eos.js */

.loader__kicker { position: absolute; left: 0; right: 0; top: max(9svh, 48px); text-align: center; animation: loader-in 1.2s .1s both; }
.loader__clock { position: absolute; left: 0; right: 0; bottom: max(8svh, 40px); display: flex; justify-content: center; gap: 1.2em; animation: loader-in 1.2s .3s both; }
.loader__time { color: var(--white); font-variant-numeric: tabular-nums; }
@keyframes loader-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .loader__kicker, .loader__clock, .loader__frame { animation: none; }
  .loader__n, .loader__amp { opacity: 1; }
}


/* =========================================================================
   NAVIGASI, PENANDA GULIR
   ========================================================================= */
.menu-btn { position: fixed; z-index: 72; top: max(14px, env(safe-area-inset-top)); right: 14px; display: grid; place-items: center; min-width: 64px; min-height: 44px; padding: 0 10px; border: 0; background: transparent; color: var(--white); cursor: pointer; transition: opacity .6s; }
.menu-btn__text { position: relative; font-size: .6875rem; letter-spacing: .3em; text-transform: uppercase; }
.menu-btn__text::after { content: ""; position: absolute; left: 0; right: .3em; bottom: -5px; height: 1px; background: currentColor; transform-origin: left; transition: transform .5s var(--ease); }
.menu-btn:hover .menu-btn__text::after { transform: scaleX(.4); }
.is-closed .menu-btn, .is-closed .progress, .is-closed .music { opacity: 0; pointer-events: none; }
/* isi undangan disembunyikan selama sampul tertutup (sampul tembus pandang ke video) */
.is-closed .invite, .is-closed .side { visibility: hidden; }
.nav-panel { position: fixed; z-index: 71; inset: 0; background: rgba(11, 10, 9, .62); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.nav-open .nav-panel { opacity: 1; visibility: visible; }
.nav-panel__inner { display: flex; flex-direction: column; justify-content: center; gap: 28px; height: 100%; padding: 100px var(--pad) 48px; overflow-y: auto; }
.nav-panel__list a { display: block; padding: 4px 0; font-family: var(--serif); font-size: 2.125rem; line-height: 1.15; text-decoration: none; color: var(--soft); transition: color .3s, padding .5s var(--ease); }
.nav-panel__list a:hover, .nav-panel__list a.is-active { padding-left: 14px; color: var(--white); font-style: italic; }
.nav-panel__foot { font-family: var(--serif); font-size: 1.125rem; font-style: italic; color: var(--soft); }
/* garis tipis di tepi kanan, terisi cahaya fajar sesuai posisi gulir */
.progress { position: fixed; z-index: 66; right: 12px; top: 50%; width: 1px; height: 26vh; translate: 0 -50%; background: var(--line); transition: opacity .6s; }
.progress i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--white), var(--dawn)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 8px var(--dawn); }


/* =========================================================================
   LAYAR LEBAR — video memenuhi jendela, nama besar di kiri, isi di kanan
   ========================================================================= */
.side { display: none; }
@media (min-width: 900px) {
  .side { position: fixed; z-index: 1; left: 64px; bottom: 64px; display: grid; gap: 16px; }
  .side__names { font-family: var(--serif); font-size: clamp(4rem, 6vw, 6.5rem); line-height: .95; }
  .invite { margin-left: auto; width: var(--col); background: rgba(11, 10, 9, .28); box-shadow: -1px 0 0 var(--line); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .menu-btn { right: 24px; }
  .nav-panel { left: auto; width: var(--col); }
  .progress { right: calc(var(--col) + 18px); }
}


/* =========================================================================
   LAYAR (kerangka umum) — rata kiri, banyak ruang
   ========================================================================= */
.invite { position: relative; z-index: 2; }
.screen { position: relative; min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 18px; padding: 130px var(--pad) 110px; }
.screen--center { justify-items: center; text-align: center; }
.screen--center .body, .screen--center .quote { margin-inline: auto; }


/* =========================================================================
   01 · SAMPUL DALAM — nama besar + pita nama berjalan
   ========================================================================= */
.hero { align-content: end; padding-bottom: 150px; }
.hero__text { display: grid; gap: 16px; }
.hero__names { font-family: var(--serif); font-size: clamp(4.25rem, 3rem + 7vw, 5.5rem); font-weight: 400; line-height: .92; letter-spacing: -.02em; }
.hero__names i { font-size: .8em; }
.marquee { position: absolute; left: 0; right: 0; bottom: 42px; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { padding-right: .5em; font-family: var(--serif); font-size: 2.25rem; font-style: italic; white-space: nowrap; color: rgba(247, 243, 236, .55); }
@keyframes marquee { to { transform: translateX(-50%); } }


/* =========================================================================
   02 · PEMBUKA
   ========================================================================= */
.opening { gap: 22px; }


/* =========================================================================
   03 · MEMPELAI — potret berbingkai tipis, berselang kiri-kanan
   ========================================================================= */
.couple__list { display: grid; gap: 96px; width: 100%; margin-top: 44px; }
.person { display: grid; justify-items: start; gap: 10px; }
.person__photo { width: 78%; aspect-ratio: 4 / 5; margin-bottom: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__nick { font-family: var(--serif); font-size: 3rem; font-style: italic; font-weight: 400; line-height: 1; }
.person__full { margin-bottom: 4px; font-family: var(--serif); font-size: 1.125rem; }
.person .pill { margin-top: 8px; }
.person--alt { justify-items: end; text-align: right; }
.person--alt .body { margin-left: auto; }


/* =========================================================================
   04 · KISAH — bab dipisah garis tipis
   ========================================================================= */
.chapters { width: 100%; margin-top: 40px; border-bottom: 1px solid var(--line); }
.chapter { display: grid; gap: 10px; padding: 30px 0 32px; border-top: 1px solid var(--line); }
.chapter__title { font-family: var(--serif); font-size: 1.875rem; font-weight: 400; line-height: 1.1; }


/* =========================================================================
   05 · SAVE THE DATE
   ========================================================================= */
.countdown { gap: 20px; }
.count { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 360px; margin: 18px 0 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.count div { display: grid; justify-items: center; gap: 2px; padding: 18px 0 16px; }
.count div + div { border-left: 1px solid var(--line); }
.count__num { display: block; overflow: clip; }
.count__num b { display: block; font-family: var(--serif); font-size: 2.75rem; font-weight: 400; line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; }
.count span:not(.count__num) { font-size: .5625rem; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); }


/* =========================================================================
   06 · ACARA
   ========================================================================= */
.events__list { width: 100%; margin-top: 40px; border-bottom: 1px solid var(--line); }
.event { display: grid; justify-items: start; gap: 8px; padding: 34px 0 36px; border-top: 1px solid var(--line); }
.event__name { margin-bottom: 6px; font-family: var(--serif); font-size: 2.375rem; font-style: italic; font-weight: 400; line-height: 1.05; }
.event__venue { margin-top: 10px; font-family: var(--serif); font-size: 1.375rem; }
.event .pill { margin-top: 12px; }
.dress { display: grid; gap: 8px; margin-top: 30px; }


/* =========================================================================
   07 · GALERI — potret digeser, foto tengah penuh
   ========================================================================= */
.carousel { display: grid; gap: 26px; width: calc(100% + var(--pad) * 2); margin: 34px calc(var(--pad) * -1) 0; }
.carousel__track { display: flex; gap: 14px; padding: 0 12%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.gslide { flex: 0 0 100%; aspect-ratio: 3 / 4.2; padding: 0; border: 0; overflow: hidden; scroll-snap-align: center; background: rgba(247, 243, 236, .06); cursor: zoom-in; transition: opacity .3s; }
.gslide img { width: 100%; height: 100%; object-fit: cover; }
.pager { display: flex; align-items: center; gap: 16px; padding: 0 var(--pad); }
.pager__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; transition: background-color .3s, color .3s; }
.pager__btn:hover { background: var(--white); color: var(--ink); }
.pager__count { font-size: .6875rem; letter-spacing: .2em; color: var(--soft); white-space: nowrap; }
.pager__count b { font-family: var(--serif); font-size: 1.375rem; font-weight: 400; letter-spacing: 0; color: var(--white); }
.pager__bar { position: relative; flex: 1; height: 1px; background: var(--line); }
.pager__bar i { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); }

.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(11, 10, 9, .96); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(11, 10, 9, .96); }
.lightbox img { max-width: 92vw; max-height: 80svh; object-fit: contain; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; }
.lightbox__close { top: max(16px, env(safe-area-inset-top)); right: 16px; }
.lightbox__prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 12px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-size: .6875rem; letter-spacing: .3em; color: var(--soft); }


/* =========================================================================
   08 · FILM — layar 16:9 berbingkai tipis
   ========================================================================= */
.screenbox { position: relative; width: calc(100% + var(--pad) * 2 - 24px); margin: 30px -12px 6px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.screenbox img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform 1.4s var(--ease); }
.screenbox:hover img { transform: scale(1.04); }
.screenbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screenbox__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 24px 0 20px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; transition: transform .5s var(--ease); }
.screenbox__play:hover { transform: scale(1.05); }
.screenbox__play svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.screenbox__empty { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; }
.film .quote { margin-top: 18px; }


/* =========================================================================
   09 · RSVP & UCAPAN — panel kaca buram
   ========================================================================= */
.glass { width: 100%; margin-top: 18px; padding: 28px 22px 22px; background: rgba(247, 243, 236, .07); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.form { display: grid; gap: 24px; }
.field { display: grid; gap: 4px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { font-size: .5625rem; letter-spacing: .26em; text-transform: uppercase; color: var(--soft); }
.field input[type="text"], .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
  font-family: var(--serif); font-size: 1.25rem; color: var(--white); transition: border-color .3s;
}
.field select option { color: #111; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--white); }
.field__error { font-size: .75rem; color: #f3b9a8; }
.field.has-error input, .field.has-error textarea { border-bottom-color: #f3b9a8; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.choice label { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); transition: background-color .3s, color .3s, border-color .3s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label:has(input:checked) { background: var(--white); border-color: var(--white); color: var(--ink); }
.choice label:has(input:focus-visible) { outline: 1px solid var(--white); outline-offset: 3px; }
.form__status { min-height: 1.4em; font-family: var(--serif); font-style: italic; }
.wishes { display: grid; gap: 8px; width: 100%; margin-top: 56px; }
.wishes__title { font-family: var(--serif); font-size: 2.5rem; font-style: italic; font-weight: 400; line-height: 1; }
.wishes__list { margin-top: 14px; border-bottom: 1px solid var(--line); }
.wish { display: grid; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.wish__msg { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.4; overflow-wrap: anywhere; }
.wish__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .5625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.wish__meta b { font-weight: 500; color: var(--white); overflow-wrap: anywhere; }
.wishes .pill { justify-self: start; margin-top: 14px; }


/* =========================================================================
   10 · TANDA KASIH
   ========================================================================= */
.gift .pill { margin-top: 10px; }
.sheet { width: min(100vw - 32px, 400px); max-height: 86svh; margin: auto; padding: 0; border: 0; background: rgba(20, 18, 16, .92); color: var(--white); overflow: auto; box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.sheet::backdrop { background: rgba(11, 10, 9, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet__inner { position: relative; display: grid; justify-items: center; gap: 10px; padding: 40px 26px 30px; text-align: center; }
.sheet__close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--white); cursor: pointer; }
.sheet__title { font-family: var(--serif); font-size: 2.5rem; font-weight: 400; line-height: 1; }
.gift__list { display: grid; width: 100%; margin-top: 16px; }
.account { display: grid; justify-items: center; gap: 6px; padding: 24px 0; border-top: 1px solid var(--line); }
.account__number { font-family: var(--serif); font-size: 2rem; letter-spacing: .04em; font-variant-numeric: lining-nums tabular-nums; }
.account__name { margin-bottom: 8px; font-family: var(--serif); font-style: italic; color: var(--soft); }


/* =========================================================================
   11 · PENUTUP
   ========================================================================= */
.closing { padding-bottom: 190px; }
.closing__big { font-family: var(--serif); font-size: clamp(4.5rem, 3.4rem + 6vw, 5.75rem); font-weight: 400; line-height: .95; letter-spacing: -.02em; }
.closing__names { margin-top: 10px; letter-spacing: .4em; }
.signature { position: absolute; left: 0; right: 0; bottom: 40px; display: grid; justify-items: center; gap: 2px; padding: 0 var(--pad); }
.signature .caps { font-size: .5625rem; }
.signature__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; }
.signature__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: .5625rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--soft); transition: color .3s; }
.signature__links a:hover { color: var(--white); }
.signature__links svg { width: 12px; height: 12px; }
/* 4 tautan (WA, IG, TikTok, web) tidak muat satu baris di layar sempit → rapi 2 × 2 */
.signature { container-type: inline-size; }
@container (max-width: 370px) { .signature__links { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; justify-items: center; column-gap: 22px; } }


/* =========================================================================
   MUSIK & NOTIFIKASI
   ========================================================================= */
.music { position: fixed; z-index: 66; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(11, 10, 9, .3); color: var(--white); cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .6s; }
.music[aria-pressed="true"] svg { animation: beat 1.2s ease-in-out infinite; }
@keyframes beat { 50% { transform: scaleY(.55); } }
@media (min-width: 900px) { .music { right: 24px; } }

.toast { position: fixed; z-index: 90; left: 50%; bottom: 84px; translate: -50% 20px; padding: 12px 22px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; opacity: 0; visibility: hidden; transition: translate .5s var(--ease), opacity .3s, visibility .5s; }
.toast.is-show { translate: -50% 0; opacity: 1; visibility: visible; }


/* =========================================================================
   GERAK DIKURANGI
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
