/* =========================================================================
   RAUHIN — TEMPLATE SELENE · selene.css
   "Malam Premiere di Bawah Bulan": film hitam-putih × Selene, dewi bulan.
   Ciri khas: bingkai sinema (bilah hitam, nama adegan, timecode, butiran
   film), foto layar penuh yang "terbit" dari bulan purnama, dan bulan
   penunjuk yang makin penuh mengikuti gulir. Setiap bagian = satu layar.
   Ubah warna & ukuran huruf di TOKEN.
   ========================================================================= */


/* =========================================================================
   TOKEN
   ========================================================================= */
:root {
  --black: #0a0a0a;
  --black-2: #151515;
  --white: #f4f4f2;
  --muted: rgba(244, 244, 242, .72);     /* teks sekunder, kontras 10:1 di hitam */
  --silver: #c8cbd0;
  --line: rgba(244, 244, 242, .22);
  --foil: linear-gradient(100deg, #7d8186 0%, #eceef0 26%, #9da2a8 44%, #f7f8f9 60%, #8a8e94 78%, #d9dcdf 100%);

  --display: "Playfair Display", "Didot", Georgia, serif;  /* judul & nama: elegan, jelas terbaca */
  --italic: "Cormorant Garamond", Georgia, serif;          /* kutipan miring */
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;     /* kredit film & isi */
  --fs-names: clamp(2.75rem, 2.1rem + 3.6vw, 3.5rem);
  --fs-heading: clamp(2.125rem, 1.8rem + 1.6vw, 2.5rem);
  --fs-body: .875rem;

  --bar: max(28px, 3.6svh);              /* tinggi bilah sinema */
  --col: 480px;
  --pad: clamp(24px, 7vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}


/* =========================================================================
   DASAR
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-snap-type: y proximity; }   /* layar "mendarat" satu per satu */
html:not(.js-motion) { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); 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 { display: block; max-width: 100%; filter: grayscale(1) contrast(1.06); }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
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
   ========================================================================= */
.names { font-family: var(--display); font-size: var(--fs-names); font-weight: 400; line-height: 1.02; letter-spacing: .01em; }
.names i, .heading i { font-style: italic; font-weight: 400; color: var(--silver); }
.heading { font-family: var(--display); font-size: var(--fs-heading); font-weight: 400; line-height: 1.05; }
.credit { font-size: .6875rem; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; }
.credit--dim { color: var(--muted); }
.credit b { font-weight: 500; }
.body { max-width: 34ch; font-size: var(--fs-body); line-height: 1.85; color: var(--muted); }
.quote { max-width: 30ch; font-family: var(--italic); font-size: 1.1875rem; font-style: italic; font-weight: 400; line-height: 1.55; color: var(--muted); }
.divider { display: block; width: 1px; height: 52px; background: linear-gradient(transparent, var(--silver), transparent); }

/* tombol: garis tipis perak, huruf kapital berjarak */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 28px;
  border: 1px solid rgba(244, 244, 242, .6); background: rgba(10, 10, 10, .2); color: var(--white);
  font-size: .6875rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; touch-action: manipulation; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .4s, color .4s, border-color .4s, transform .3s;
}
.btn:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn:active { transform: scale(.98); }
.btn--ghost { min-height: 44px; padding: 0 18px; border-color: var(--line); }
.btn--wide { justify-content: space-between; width: 100%; min-height: 54px; }
.btn[disabled] { opacity: .5; cursor: wait; }

.pager { display: flex; align-items: center; justify-content: center; gap: 22px; }
.pager__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: background-color .3s, color .3s; }
.pager__btn:hover { background: var(--white); color: var(--black); }
.pager__count { min-width: 64px; text-align: center; font-size: .75rem; letter-spacing: .3em; }

/* bulan (dipakai bulan penunjuk & bulan besar) */
.moon-ring { fill: none; stroke: rgba(200, 203, 208, .55); stroke-width: 1; vector-effect: non-scaling-stroke; }
.moon-lit { fill: var(--silver); stroke: none; }


/* =========================================================================
   LATAR SINEMATIK — tetap di belakang, bergerak pelan
   ========================================================================= */
.backdrop { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--black); }
.backdrop__img, .backdrop__video { width: 100%; height: 100%; object-fit: cover; opacity: .5; animation: drift 26s ease-in-out infinite alternate; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 60% at 50% 40%, rgba(10, 10, 10, .35), rgba(10, 10, 10, .85)); }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.16) translateY(-2%); } }


/* =========================================================================
   BINGKAI SINEMA & BULAN PENUNJUK
   ========================================================================= */
.cinema { position: fixed; inset: 0; z-index: 65; pointer-events: none; transition: opacity .8s; }
.cinema__bar { position: absolute; left: 0; right: 0; height: var(--bar); display: flex; align-items: center; padding: 0 var(--pad); background: var(--black); }
.cinema__bar--top { top: 0; padding-right: 76px; }
.cinema__bar--bottom { bottom: 0; justify-content: flex-start; }
.cinema__scene, .cinema__tc { font-size: .5625rem; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.cinema__tc { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.cinema__rec { width: 5px; height: 5px; border-radius: 50%; background: var(--silver); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
/* butiran film halus */
.grain {
  position: absolute; inset: -50%; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(5) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-6%, 4%); } 50% { transform: translate(4%, -6%); } 75% { transform: translate(-3%, -2%); } 100% { transform: translate(5%, 3%); } }
.is-closed .cinema__bar { transform: scaleY(0); }
.cinema__bar { transition: transform 1.2s var(--ease); }
.cinema__bar--top { transform-origin: top; }
.cinema__bar--bottom { transform-origin: bottom; }

.moonbar { position: fixed; z-index: 66; right: 16px; bottom: calc(var(--bar) + 66px); width: 22px; height: 22px; transition: opacity .8s; }
.moonbar svg { width: 100%; height: 100%; }
.is-closed .moonbar { opacity: 0; }


/* =========================================================================
   00 · GERBANG — bulan purnama berisi foto
   ========================================================================= */
.gate { position: fixed; inset: 0; z-index: 80; display: grid; overflow: hidden; background: radial-gradient(70% 45% at 50% 38%, #1d1d1d, var(--black) 70%); }
.gate__content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: max(6svh, 32px) var(--pad); text-align: center; }
.gate__moon { position: relative; width: min(64vw, 40svh, 300px); aspect-ratio: 1; margin: 8px 0 10px; }
.gate__photo { position: absolute; inset: 9%; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 1px rgba(200, 203, 208, .4), 0 0 70px 6px rgba(200, 203, 208, .16); }
.gate__photo img { width: 100%; height: 100%; object-fit: cover; }
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: orbit 60s linear infinite; }
.orbit text { fill: var(--muted); stroke: none; font-family: var(--sans); font-size: 7.4px; letter-spacing: 3.2px; text-transform: uppercase; }
@keyframes orbit { to { transform: rotate(360deg); } }
.gate__guest { display: grid; gap: 2px; margin: 12px 0 6px; }
.gate__name { font-family: var(--display); font-size: 1.75rem; line-height: 1.25; overflow-wrap: anywhere; }
.gate__note { font-size: .6875rem; color: var(--muted); }


/* =========================================================================
   LOADING AWAL — "FASE BULAN"
   Posisi kicker, bulan, dan teks melingkar disalin dari elemen sampul
   (selene.js) → saat purnama, semuanya tepat menumpuk dengan sampul.
   Sebelum JS jalan: tampil di tengah dengan ukuran yang sama.
   ========================================================================= */
.loader {
  position: fixed; inset: 0; z-index: 90; overflow: hidden;
  background: radial-gradient(70% 45% at 50% 38%, #1d1d1d, var(--black) 70%);   /* = .gate */
  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; }
/* bintang halus berkedip */
.loader__stars {
  position: absolute; inset: 0; pointer-events: none; opacity: .7; animation: twinkle-sky 4s ease-in-out infinite alternate;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 78% 12%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 34% 72%, #fff, transparent), radial-gradient(1px 1px at 88% 64%, #fff, transparent),
    radial-gradient(1px 1px at 22% 46%, #ddd, transparent), radial-gradient(1.4px 1.4px at 64% 30%, #fff, transparent),
    radial-gradient(1px 1px at 52% 88%, #ccc, transparent), radial-gradient(1px 1px at 8% 82%, #fff, transparent),
    radial-gradient(1px 1px at 92% 36%, #ddd, transparent), radial-gradient(1.2px 1.2px at 44% 8%, #fff, transparent);
}
@keyframes twinkle-sky { to { opacity: .35; } }
.loader__kicker, .loader__moon, .loader__orbit, .loader__phase { position: absolute; left: 50%; translate: -50% 0; }
.loader__kicker { top: 18svh; white-space: nowrap; animation: loader-in 1.2s .1s both; }
.loader__moon { top: calc(18svh + 46px); width: calc(min(64vw, 40svh, 300px) * .82); aspect-ratio: 1; filter: drop-shadow(0 0 40px rgba(200, 203, 208, .14)); }
.loader__moon svg { display: block; width: 100%; height: 100%; overflow: visible; }
.loader__dark { fill: #111; }
.loader__ring { fill: none; stroke: rgba(200, 203, 208, .4); stroke-width: 1; vector-effect: non-scaling-stroke; }
.loader__sheen { fill: #d8dadd; mix-blend-mode: soft-light; }
#loaderImg { filter: grayscale(1) contrast(1.06); }   /* = foto lain di SELENE (hitam-putih) */
.loader__orbit { top: calc(18svh + 46px - min(64vw, 40svh, 300px) * .09); width: min(64vw, 40svh, 300px); aspect-ratio: 1; }
.loader__orbit svg { animation: none; }
/* teks melingkar muncul bertahap searah alurnya (mulai dari kiri, lewat atas) */
.loader__orbit {
  --p: 0;
  -webkit-mask-image: conic-gradient(from 270deg, #000 calc(var(--p) * 360deg), transparent calc(var(--p) * 360deg + .5deg));
  mask-image: conic-gradient(from 270deg, #000 calc(var(--p) * 360deg), transparent calc(var(--p) * 360deg + .5deg));
}
.loader__phase { display: flex; gap: 1.2em; white-space: nowrap; color: var(--muted); animation: loader-in 1.2s .3s both; }
.loader__phase > span:last-child { color: var(--white); font-variant-numeric: tabular-nums; }
@keyframes loader-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .loader__kicker, .loader__phase, .loader__stars { animation: none; }
}


/* =========================================================================
   NAVIGASI
   ========================================================================= */
.nav-btn {
  position: fixed; z-index: 72; top: calc(var(--bar) + 12px); right: 14px;
  display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(244, 244, 242, .7); border-radius: 50%;
  background: rgba(10, 10, 10, .25); color: var(--white); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity .6s, transform .6s var(--ease), background-color .4s;
}
.nav-btn__lines { display: grid; gap: 4px; width: 16px; }
.nav-btn__lines span { height: 1px; background: currentColor; transition: transform .5s var(--ease), opacity .3s; }
.nav-open .nav-btn__lines span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-btn__lines span:nth-child(2) { opacity: 0; }
.nav-open .nav-btn__lines span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.is-closed .nav-btn { opacity: 0; pointer-events: none; transform: scale(.8); }
.nav-panel { position: fixed; z-index: 70; inset: 0; display: grid; background: rgba(10, 10, 10, .97); clip-path: circle(0% at calc(100% - 37px) 70px); transition: clip-path .9s var(--ease); visibility: hidden; }
.nav-open .nav-panel { clip-path: circle(150% at calc(100% - 37px) 70px); visibility: visible; }
.nav-panel__inner { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 90px var(--pad); overflow-y: auto; }
.nav-panel__list { border-top: 1px solid var(--line); }
.nav-panel__list li { border-bottom: 1px solid var(--line); }
.nav-panel__list a { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; font-family: var(--display); font-size: 1.75rem; text-decoration: none; color: var(--muted); transition: color .3s, transform .5s var(--ease); }
.nav-panel__list a span { font-family: var(--sans); font-size: .625rem; letter-spacing: .24em; }
.nav-panel__list a:hover, .nav-panel__list a.is-active { color: var(--white); transform: translateX(6px); }


/* =========================================================================
   PANEL FOTO KIRI (layar lebar)
   ========================================================================= */
.side { display: none; }
@media (min-width: 900px) {
  .side { display: block; position: fixed; inset: 0 var(--col) 0 0; overflow: hidden; background: var(--black); }
  .side img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
  .side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .1) 40%, rgba(10, 10, 10, .85)); }
  .side__text { position: absolute; z-index: 1; left: 64px; bottom: 60px; display: grid; gap: 12px; }
  .side__names { font-family: var(--display); font-size: clamp(3.5rem, 5vw, 5.5rem); line-height: 1; }
  .side__names i { font-family: var(--italic); font-weight: 300; }
  .backdrop, .cinema, .nav-panel { left: auto; width: var(--col); }
  .invite { margin-left: auto; width: var(--col); }
  .nav-btn { right: 22px; }
  .moonbar { right: 24px; }
}


/* =========================================================================
   LAYAR (kerangka umum) — setiap bagian minimal setinggi layar
   ========================================================================= */
.invite { position: relative; z-index: 1; }
.screen {
  position: relative; min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 16px;
  padding: calc(var(--bar) + 76px) var(--pad) calc(var(--bar) + 64px); scroll-snap-align: start; overflow: clip;
  background: linear-gradient(180deg, rgba(10, 10, 10, .92) 0%, rgba(10, 10, 10, .72) 50%, rgba(10, 10, 10, .92) 100%);
}
.screen--center { justify-items: center; text-align: center; }
.screen--center .body { margin-inline: auto; }

/* layar dengan foto memenuhi layar, teks di bawah */
.photo-screen { align-content: end; background: var(--black); }
.photo-screen__media { position: absolute; inset: 0; overflow: hidden; }
.photo-screen__media img, .photo-screen__media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.photo-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 10, 10, .3) 0%, transparent 30%, rgba(10, 10, 10, .5) 58%, rgba(10, 10, 10, .95) 100%); }
.photo-screen__text { position: relative; z-index: 1; display: grid; justify-items: start; gap: 8px; width: 100%; }


/* =========================================================================
   01 · PEMBUKA — kartu judul film
   ========================================================================= */
#pembuka { gap: 18px; background: radial-gradient(80% 50% at 50% 45%, rgba(10, 10, 10, .2), rgba(10, 10, 10, .85)); }


/* =========================================================================
   02 · MEMPELAI
   ========================================================================= */
.person__nick { font-family: var(--display); font-size: var(--fs-names); font-weight: 400; line-height: 1; }
.person__full { font-family: var(--italic); font-size: 1.375rem; font-style: italic; color: var(--muted); margin-bottom: 8px; }
.ig-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .75rem; letter-spacing: .14em; text-decoration: none; color: var(--muted); transition: color .3s; }
.ig-link:hover { color: var(--white); }


/* =========================================================================
   03 · KISAH — rol film: bingkai-bingkai bersambung berlubang di tepi,
   bab berikutnya mengintip di kanan
   ========================================================================= */
.story__wrap { display: grid; gap: 22px; width: calc(100% + var(--pad) * 2); margin: 0 calc(var(--pad) * -1); }
.story__track { display: flex; padding: 0 var(--pad); scroll-padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.story__track::-webkit-scrollbar { display: none; }
.chapter { flex: 0 0 82%; display: grid; align-content: start; gap: 20px; scroll-snap-align: start; }
/* sel film: latar hitam pekat + deretan lubang di atas & bawah */
.filmcell {
  position: relative; aspect-ratio: 4 / 3.4; padding: 26px 6px; background: #050505;
  border-right: 1px solid #1d1d1d;
}
.filmcell::before, .filmcell::after {
  content: ""; position: absolute; left: 0; right: 0; height: 9px;
  background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(244, 244, 242, .82) 7px 15px, transparent 15px 22px);
  -webkit-mask: linear-gradient(#000, #000); border-radius: 1px;
}
.filmcell::before { top: 9px; }
.filmcell::after { bottom: 9px; }
.filmcell img { width: 100%; height: 100%; object-fit: cover; }
.filmcell__no { position: absolute; left: 10px; bottom: -2px; font-size: .5rem; letter-spacing: .3em; color: rgba(244, 244, 242, .55); }
.chapter__text { display: grid; gap: 6px; padding-right: 20px; transition: opacity .5s; }
.chapter__year { font-family: var(--display); font-size: 1rem; font-style: italic; color: var(--silver); }
.chapter__title { font-family: var(--display); font-size: 1.75rem; font-weight: 400; line-height: 1.15; }
.story .pager { padding: 0 var(--pad); justify-content: flex-start; }


/* =========================================================================
   04 · SAVE THE DATE — bulan berisi foto
   ========================================================================= */
.bigmoon { position: relative; width: min(58vw, 36svh, 260px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 80px 4px rgba(200, 203, 208, .14); }
.bigmoon img { width: 100%; height: 100%; object-fit: cover; }
.bigmoon svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bigmoon__shade { fill: rgba(10, 10, 10, .78); stroke: none; }
.countdown .heading { font-size: 1.875rem; }
.countdown .heading i { font-size: 1.15em; }
.count { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 340px; margin: 4px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.count div { display: grid; justify-items: center; gap: 2px; padding: 14px 0; }
.count div + div { border-left: 1px solid var(--line); }
.count__num { display: block; overflow: clip; }
.count__num b { display: block; font-family: var(--display); font-size: 2.25rem; 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(--muted); }


/* =========================================================================
   05 · JADWAL ACARA — tiket premiere: bagian utama + sobekan berlubang
   ========================================================================= */
.events__list { display: grid; gap: 18px; width: 100%; max-width: 360px; margin-top: 6px; }
.ticket {
  --notch: 64%;                                    /* letak garis sobek */
  position: relative; display: grid; text-align: center;
  border: 1px solid rgba(200, 203, 208, .45); border-radius: 12px;
  background: linear-gradient(160deg, rgba(244, 244, 242, .08), rgba(244, 244, 242, .02) 60%);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  /* dua lekukan setengah lingkaran di kiri-kanan garis sobek */
  -webkit-mask: radial-gradient(circle 11px at 0 var(--notch), transparent 10px, #000 11px) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% var(--notch), transparent 10px, #000 11px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 11px at 0 var(--notch), transparent 10px, #000 11px) left / 51% 100% no-repeat,
        radial-gradient(circle 11px at 100% var(--notch), transparent 10px, #000 11px) right / 51% 100% no-repeat;
}
.ticket__main { display: grid; justify-items: center; gap: 6px; padding: 28px 22px 22px; }
.ticket__no { font-size: .5625rem; letter-spacing: .34em; color: var(--muted); }
.ticket__name { font-family: var(--display); font-size: 1.75rem; font-weight: 400; line-height: 1.15; }
.ticket__venue { margin-top: 10px; font-size: .6875rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.ticket__main .body { font-size: .8125rem; line-height: 1.7; }
.ticket__stub { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 18px 10px 16px; border-top: 1px dashed rgba(200, 203, 208, .45); }
.ticket__stub div { display: grid; gap: 4px; }
.ticket__stub div + div { border-left: 1px solid var(--line); }
.ticket__stub dt { font-size: .5rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.ticket__stub dd { margin: 0; font-family: var(--display); font-size: 1.0625rem; font-variant-numeric: lining-nums; }
.ticket__map { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-top: 1px solid var(--line); font-size: .625rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; text-decoration: none; transition: background-color .3s, color .3s; }
.ticket__map:hover { background: var(--white); color: var(--black); }
.events__dress { font-family: var(--italic); font-size: 1.125rem; font-style: italic; }


/* =========================================================================
   06 · GALERI — foto layar penuh
   ========================================================================= */
.gallery { padding: 0; align-content: stretch; background: var(--black); }
.gallery__stage { position: relative; height: 100svh; overflow: hidden; }
.carousel__track { display: flex; width: 100%; height: 100%; 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%; height: 100%; padding: 0; border: 0; overflow: hidden; scroll-snap-align: center; background: var(--black); cursor: zoom-in; }
.gslide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__ui { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: calc(var(--bar) + 22px) var(--pad) calc(var(--bar) + 22px); pointer-events: none; text-align: center; background: linear-gradient(180deg, rgba(10, 10, 10, .5) 0%, transparent 20%, transparent 62%, rgba(10, 10, 10, .9) 100%); }
.gallery__ui > .credit { font-size: .5625rem; color: var(--muted); }
.gallery__bottom { display: grid; gap: 14px; justify-items: center; }
.gallery__ui .pager { pointer-events: auto; }

.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 8, .97); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8, 8, 8, .97); }
.lightbox img { max-width: 94vw; max-height: 82svh; 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; 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: .75rem; letter-spacing: .3em; color: var(--muted); }


/* =========================================================================
   07 · VIDEO — kotak video 16:9 + kutipan, membuka YouTube
   ========================================================================= */
.videobox { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin: 10px 0 6px; overflow: hidden; border: 1px solid rgba(200, 203, 208, .4); background: var(--black-2); cursor: pointer; }
.videobox img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: transform 1.2s var(--ease), opacity .6s; }
.videobox:hover img { transform: scale(1.05); opacity: .85; }
.videobox__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--white); border-radius: 50%; background: rgba(10, 10, 10, .3); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: transform .5s var(--ease); }
.videobox:hover .videobox__play { transform: scale(1.08); }
.videobox__play svg { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; stroke: none; }
.videobox__label { position: absolute; left: 0; right: 0; bottom: 12px; font-size: .5625rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }


/* =========================================================================
   08 · RSVP — formulir bergaris tipis
   ========================================================================= */
.form { display: grid; gap: 22px; width: 100%; margin-top: 6px; }
.field { display: grid; gap: 4px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { font-size: .625rem; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.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(--italic); font-size: 1.375rem; font-style: italic; color: var(--white); transition: border-color .3s;
}
.field select option { color: #111; font-style: normal; }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--white); }
.field__error { font-size: .75rem; color: #f0a39b; }
.field.has-error input, .field.has-error textarea { border-bottom-color: #f0a39b; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.choice label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .75rem; letter-spacing: .1em; transition: background-color .3s, color .3s, border-color .3s; }
.choice input { accent-color: var(--white); }
.choice label:has(input:checked) { background: var(--white); color: var(--black); border-color: var(--white); }
.form__status { min-height: 1.4em; font-family: var(--italic); font-size: 1.125rem; font-style: italic; }


/* =========================================================================
   09 · UCAPAN
   ========================================================================= */
.wishes__list { display: grid; width: 100%; }
.wish { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.wish__msg { font-family: var(--italic); font-size: 1.3125rem; font-style: italic; line-height: 1.45; overflow-wrap: anywhere; }
.wish__meta { font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.wish__meta b { font-weight: 500; color: var(--white); overflow-wrap: anywhere; }


/* =========================================================================
   10 · TANDA KASIH — kartu perak berlambang bulan
   ========================================================================= */
/* jendela rekening: muncul di tengah layar, di atas semua elemen */
.sheet { width: min(100vw - 32px, 400px); max-height: 86svh; margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #111; color: var(--white); overflow: auto; }
.sheet::backdrop { background: rgba(5, 5, 5, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet__inner { position: relative; display: grid; justify-items: center; gap: 18px; padding: 28px 20px 22px; }
.sheet__close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.sheet__close:hover { background: rgba(244, 244, 242, .1); }
.gift__list { display: grid; gap: 14px; width: 100%; }
.card {
  position: relative; display: grid; gap: 18px; aspect-ratio: 1.586; padding: 20px 20px 16px; overflow: hidden; border-radius: 14px; text-align: left;
  background: var(--foil); background-size: 200% 100%; color: var(--black);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.card__top, .card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__bank { font-size: .8125rem; font-weight: 500; letter-spacing: .28em; }
.card__moon { width: 26px; height: 26px; border-radius: 50%; background: var(--black); box-shadow: inset -8px 0 0 0 #e9ebed; }
.card__number { align-self: end; font-family: var(--display); font-size: 1.75rem; letter-spacing: .1em; font-variant-numeric: lining-nums tabular-nums; }
.card__name { font-size: .6875rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.card__copy { min-height: 44px; padding: 0 16px; border: 1px solid var(--black); border-radius: 999px; background: transparent; font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background-color .3s, color .3s; }
.card__copy:hover { background: var(--black); color: var(--white); }


/* =========================================================================
   11 · PENUTUP — kredit akhir
   ========================================================================= */
.closing { align-content: center; justify-items: center; text-align: center; }
.closing::after { background: radial-gradient(90% 60% at 50% 45%, rgba(10, 10, 10, .45), rgba(10, 10, 10, .92)); }
.closing__credits { position: relative; z-index: 1; display: grid; justify-items: center; gap: 16px; }
.closing__credits .body { margin-inline: auto; }
.signature { position: absolute; z-index: 1; left: 0; right: 0; bottom: calc(var(--bar) + 18px); display: grid; justify-items: center; gap: 2px; padding: 0 var(--pad); }
.signature .credit { 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; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--muted); 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: 12px; bottom: calc(var(--bar) + 10px); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--white); cursor: pointer; transition: opacity .6s; }
.music__bars { display: flex; align-items: center; gap: 3px; height: 16px; }
.music__bars i { width: 1.5px; height: 6px; background: currentColor; }
.music__bars i:nth-child(3) { height: 12px; }
.music[aria-pressed="true"] .music__bars i { animation: bar 1s ease-in-out infinite alternate; }
.music[aria-pressed="true"] .music__bars i:nth-child(2) { animation-delay: -.3s; }
.music[aria-pressed="true"] .music__bars i:nth-child(3) { animation-delay: -.6s; }
.music[aria-pressed="true"] .music__bars i:nth-child(4) { animation-delay: -.15s; }
.music[aria-pressed="true"] .music__bars i:nth-child(5) { animation-delay: -.45s; }
@keyframes bar { from { height: 3px; } to { height: 16px; } }
.is-closed .music { opacity: 0; pointer-events: none; }
@media (min-width: 900px) { .music { right: 20px; } }

.toast { position: fixed; z-index: 90; left: 50%; bottom: 84px; translate: -50% 20px; padding: 12px 22px; background: var(--white); color: #111; font-size: .6875rem; letter-spacing: .2em; 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; }
}
