/* ════════════════════════════════════════════════════════════════
   TERATAI REMBULAN — danau teratai di bawah purnama, lampion langit,
   koi, kunang-kunang; nila malam, mutiara & rose gold
   ════════════════════════════════════════════════════════════════ */
:root {
    --ink: #2b2542;
    --ink-s: #5c5672;
    --night-dd: #060a1c;
    --night-d: #0b1230;
    --night: #141d4a;
    --indigo: #24306b;
    --indigo-l: #3b4a8c;
    --rose: #d9998a;
    --rose-d: #a8665f;
    --rose-l: #f6d3c5;
    --gold-l: #f4e2b8;
    --pearl: #f8f2ef;
    --blush: #f3e3e0;
    --plum: #8e3f63;
    --col: 490px;
    --f-h: 'Cinzel', 'Times New Roman', serif;
    --f-n: 'Great Vibes', 'Brush Script MT', cursive;
    --f-b: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --rose-g: linear-gradient(135deg, #fde6d8 0%, #e3a999 38%, #b9756c 62%, #f5cdb9 100%);
    --moon-g: radial-gradient(circle at 40% 36%, #fffdf6 0%, #f6ead6 55%, #e2cfb0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; min-height: 100vh;
    font: 400 17.5px/1.65 var(--f-b);
    color: var(--ink); background: var(--night-dd);
    -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.no-scroll { overflow: hidden; height: 100vh; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
svg { display: block; }
.ico { width: 17px; height: 17px; flex: none; }

/* ── Kolom & bagian ── */
.stage { max-width: var(--col); margin: 0 auto; position: relative; overflow: hidden; background: var(--night-d); }
.sec { position: relative; padding: 100px 26px 90px; text-align: center; overflow: hidden; }
.sec > * { position: relative; z-index: 2; }
.sec-in { max-width: 380px; margin: 0 auto; }
.sec:not(.hero)::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 22px; z-index: 3; pointer-events: none; background: url('pita.svg') repeat-x center top / 80px 22px; opacity: .9; }
.malam { color: var(--pearl);
    background: url('latar-malam.svg') center top / 160px 80px,
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(217, 153, 138, .16), transparent 70%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(59, 74, 140, .5), transparent 70%),
        linear-gradient(180deg, #121b48, var(--night-d)); }
.mutiara { color: var(--ink);
    background: url('latar-mutiara.svg') center top / 160px 80px,
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(243, 201, 182, .55), transparent 70%),
        linear-gradient(180deg, #fbf6f3, var(--blush)); }
.sec-head { margin-bottom: 36px; }
.sec-sub { margin: 14px auto 0; max-width: 320px; font-size: 16.5px; opacity: .9; }

/* ── Tipografi ── */
.h-k { font: 400 11.5px/1.4 var(--f-h); letter-spacing: .34em; text-transform: uppercase; color: var(--rose-d); }
.malam .h-k, .danau .h-k { color: var(--rose); }
.h-t { margin-top: 8px; font: 400 46px/1.2 var(--f-n); }
.mutiara .h-t { color: var(--indigo); }
.malam .h-t, .danau .h-t { background: var(--rose-g); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 6px; }
.h-t::after { content: ''; display: block; width: 190px; height: 24px; margin: 8px auto 0; background: url('pembatas.svg') center / contain no-repeat; }
.names-xl, .cv-names { font-family: var(--f-n); font-weight: 400; background: var(--rose-g); -webkit-background-clip: text; background-clip: text; color: transparent; }
.names-xl { margin: 4px 0 6px; font-size: 56px; line-height: 1.2; padding: 0 8px; filter: drop-shadow(0 2px 10px rgba(6, 10, 28, .6)); }
.names-xl i, .cv-names i { font-style: normal; font-size: .62em; }
.salam { margin: 20px 0 8px; font: 400 14px/1.6 var(--f-h); letter-spacing: .08em; color: var(--gold-l); }
.body-c { max-width: 340px; margin: 0 auto 10px; color: rgba(248, 242, 239, .9); font-size: 17px; line-height: 1.6; }
.date-l { margin-top: 6px; font: 400 13px/1.5 var(--f-h); letter-spacing: .24em; text-transform: uppercase; color: var(--rose-l); }

/* ── Bingkai bulan purnama ── */
.bl { position: relative; width: 168px; aspect-ratio: 1; margin: 0 auto; filter: drop-shadow(0 0 22px rgba(255, 236, 205, .28)) drop-shadow(0 14px 16px rgba(4, 6, 20, .5)); }
.bl-ph { position: absolute; inset: 9.5%; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--moon-g); box-shadow: inset -8px -10px 22px rgba(160, 130, 100, .35), inset 6px 6px 16px rgba(255, 255, 255, .7); }
.bl-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bl::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: url('bingkai.svg') center / 100% 100% no-repeat; }
.bl-mono { font: 400 42px/1 var(--f-n); color: #6b4256; padding-top: 6px; text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
.bl.rose .bl-ph.none { background: radial-gradient(circle at 40% 36%, #fff8f6 0%, #f6dcd8 55%, #e5b6b2 100%); }

/* ── Tombol ── */
.btn, .btn-buka {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    margin: 4px; padding: 14px 28px; border: 0; border-radius: 999px;
    font: 500 11.5px/1 var(--f-h); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; cursor: pointer;
    color: var(--pearl); background: linear-gradient(180deg, #2c3a7c, #172158);
    box-shadow: inset 0 0 0 1px rgba(246, 211, 197, .75), inset 0 0 0 4px #1b2560, inset 0 0 0 5px rgba(217, 153, 138, .35), 0 14px 20px -12px rgba(6, 10, 28, .8);
    transition: transform .25s var(--ease), filter .25s; -webkit-tap-highlight-color: transparent;
}
.btn:hover, .btn-buka:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-buka, .btn.rose { color: #2a1f3a; background: var(--rose-g); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 0 0 4px rgba(217, 153, 138, .2), 0 0 26px rgba(246, 211, 197, .35), 0 14px 20px -10px rgba(4, 6, 20, .8); }
.btn.sm { padding: 12px 22px; font-size: 10.5px; }
.btn.full { width: calc(100% - 8px); }
.btn:disabled { opacity: .7; cursor: default; transform: none; }
.btn-buka .ico { animation: glowPulse 2.4s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.15) rotate(-12deg); } }

/* ── Musik, kunang-kunang, toast ── */
.music-toggle-btn { position: fixed; bottom: 22px; right: max(14px, calc(50vw - var(--col) / 2 + 14px)); z-index: 1002; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--night); color: var(--rose-l); box-shadow: inset 0 0 0 1.5px var(--rose), 0 0 16px rgba(217, 153, 138, .35), 0 6px 16px -6px rgba(0, 0, 0, .7); opacity: 0; pointer-events: none; transition: opacity .3s; -webkit-tap-highlight-color: transparent; }
body.opened .music-toggle-btn { opacity: 1; pointer-events: auto; }
.music-toggle-btn svg { width: 18px; height: 18px; }
.music-toggle-btn.playing { animation: spinSlow 5s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.petals { position: fixed; inset: 0; z-index: 900; pointer-events: none; overflow: hidden; }
.petals .ff { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff4c4; box-shadow: 0 0 6px 2px rgba(255, 222, 150, .8), 0 0 16px 6px rgba(255, 200, 120, .3); opacity: 0; animation: ffFloat var(--d) ease-in-out var(--w) infinite alternate, ffBlink var(--b) ease-in-out var(--w) infinite; will-change: transform, opacity; }
@keyframes ffFloat { from { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(calc(var(--x) * -.6), calc(var(--y) * .5), 0); } to { transform: translate3d(var(--x), var(--y), 0); } }
@keyframes ffBlink { 0%, 100% { opacity: .05; } 50% { opacity: .95; } }
.petals .pt { position: absolute; top: -30px; width: var(--s); height: calc(var(--s) * 1.5); border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; background: linear-gradient(180deg, #fff2f0, #e7a0b0); opacity: 0; animation: petalFall var(--d) linear var(--w) infinite; will-change: transform; }
@keyframes petalFall { 0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; } 10% { opacity: .85; } 88% { opacity: .6; } 100% { transform: translate3d(var(--x), 108vh, 0) rotate(420deg); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 8000; transform: translate(-50%, 24px); padding: 11px 24px; border-radius: 999px; background: var(--night); color: var(--rose-l); box-shadow: inset 0 0 0 1.5px var(--rose); font-size: 16px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* muncul perlahan saat digulir */
[data-reveal] { opacity: 0; transform: translateY(24px) scale(.97); filter: blur(0); transition: opacity 1s ease var(--dl, 0s), transform 1.1s cubic-bezier(.2, .85, .25, 1) var(--dl, 0s); }
[data-reveal].shown { opacity: 1; transform: none; }

/* bintang: titik-titik kecil (latar statis) */
.stars-bg { background-size: 100% 100% !important; background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 22% 42%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 34% 12%, #ffeede 50%, transparent 51%), radial-gradient(1px 1px at 46% 58%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 62% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 74% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 36%, #ffeede 50%, transparent 51%), radial-gradient(1px 1px at 94% 64%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 70%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 56% 82%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 88%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 80% 76%, #fff 50%, transparent 51%); }

/* ════════════════════════════════════════════════════════════════
   COVER — danau teratai di bawah purnama
   ════════════════════════════════════════════════════════════════ */
.side { display: none; }
.cover { position: fixed; inset: 0; z-index: 6000; display: grid; place-items: center; overflow: hidden; transition: opacity 1.3s ease, transform 1.5s cubic-bezier(.3, .6, .2, 1);
    background: linear-gradient(180deg, #050816 0%, #0b1232 26%, #17215a 48%, #34427f 63%, #4c5b98 64.5%, #1c2862 66%, #0a1030 86%, #060a1c 100%); }
.cover.open { opacity: 0; transform: scale(1.1); pointer-events: none; }
.cv-bg { position: absolute; inset: 0; animation: cvDrift 12s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes cvDrift { from { transform: scale(1.12); } to { transform: none; } }
.cv-l { position: absolute; display: block; opacity: 0; background-repeat: no-repeat; background-size: 100% 100%; animation: cvFade 2s ease var(--dl, 0s) forwards; }
.cv-l > b { position: absolute; inset: 0; background-repeat: no-repeat; background-size: 100% 100%; }
@keyframes cvFade { from { opacity: 0; } to { opacity: var(--o, 1); } }
.cv-stars { left: 0; right: 0; top: 0; height: 62%; --o: .85; }
.cv-halo { left: 0; width: 100%; top: -6%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 240, 214, .32) 0%, rgba(217, 153, 138, .14) 34%, transparent 62%); --dl: .1s; }
.cv-bulan { left: 29%; width: 42%; top: 1.5%; aspect-ratio: 1; background-image: url('bulan.svg'); --dl: .2s; }
.cv-bukit { left: -4%; width: 108%; bottom: 35.5%; height: 15%; background-image: url('bukit.svg'); --dl: .35s; }
.cv-danau { left: 0; right: 0; bottom: 0; height: 35.6%; background: url('danau.svg') center top / 100% 80% no-repeat, linear-gradient(#0a1030, #060a1c); --dl: .3s; }
.cv-kabut { left: -20%; width: 140%; bottom: 31%; height: 9%; background-image: url('kabut.svg'); --o: .9; --dl: .6s; }
.cv-lamp { width: 9%; aspect-ratio: 60 / 90; }
.cv-lamp b { background-image: url('lampion.svg'); animation: lampFloat 7s ease-in-out infinite; }
.cv-lamp.a { left: 7%; top: 30%; --dl: .9s; }
.cv-lamp.b { right: 9%; top: 22%; width: 7%; --dl: 1.1s; }
.cv-lamp.b b { animation-delay: -2.6s; }
.cv-lamp.c { left: 14%; top: 13%; width: 4.4%; --o: .8; --dl: 1.3s; }
.cv-lamp.c b { animation-delay: -4.4s; }
.cv-dedalu { top: -1%; width: 44%; aspect-ratio: 240 / 300; --dl: .5s; }
.cv-dedalu b { background-image: url('dedalu.svg'); transform-origin: 50% 0; animation: sway 7s ease-in-out infinite; }
.cv-dedalu.l { left: -10%; }
.cv-dedalu.r { right: -10%; transform: scaleX(-1); }
.cv-dedalu.r b { animation-delay: -3.2s; }
.cv-teratai { bottom: -1%; width: 66%; aspect-ratio: 300 / 200; background-image: url('teratai.svg'); --dl: .7s; }
.cv-teratai.l { left: -14%; }
.cv-teratai.r { right: -16%; transform: scaleX(-1); width: 58%; }
.cv-fili { width: 20%; aspect-ratio: 1; background-image: url('filigri.svg'); --o: .9; --dl: 1.2s; }
.cv-fili.tl { left: 3%; top: 2%; }
.cv-fili.tr { right: 3%; top: 2%; transform: scaleX(-1); }
.cv-fili.bl { left: 3%; bottom: 2%; transform: scaleY(-1); }
.cv-fili.br { right: 3%; bottom: 2%; transform: scale(-1, -1); }
.cover-in { position: relative; z-index: 3; width: 100%; max-width: 340px; padding: 0 14px; margin-top: 7vh; text-align: center; }
.cover-in::before { content: ''; position: absolute; inset: -40px -50px; z-index: -1; background: radial-gradient(ellipse 58% 56% at 50% 56%, rgba(6, 10, 28, .86), rgba(6, 10, 28, .45) 58%, transparent 80%); }
.cover-in > * { animation: cvRise 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.cv-mahkota { display: block; width: 190px; aspect-ratio: 300 / 110; margin: 0 auto -10px; background: url('mahkota.svg') center / contain no-repeat; animation-delay: .2s; }
.cv-bl { width: 150px; animation-delay: .4s; }
.cv-k { margin-top: 14px; font: 400 11px/1.4 var(--f-h); letter-spacing: .4em; text-transform: uppercase; color: var(--rose-l); animation-delay: .7s; }
.cv-names { margin: 2px 0 10px; font-size: 50px; line-height: 1.12; display: flex; flex-direction: column; align-items: center; animation-delay: .85s; padding: 0 8px; filter: drop-shadow(0 2px 10px rgba(6, 10, 28, .7)); }
.cv-to { margin-bottom: 20px; font-size: 16px; line-height: 1.5; color: rgba(248, 242, 239, .82); animation-delay: 1s; }
.cv-to b { display: block; margin-top: 2px; font: 400 17px/1.4 var(--f-h); letter-spacing: .06em; color: var(--pearl); overflow-wrap: anywhere; }
.btn-buka { animation-delay: 1.2s; }
@keyframes cvRise { from { opacity: 0; transform: translateY(18px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes sway { 0%, 100% { transform: rotate(-2.4deg); } 50% { transform: rotate(2.4deg); } }
@keyframes lampFloat { 0%, 100% { transform: translate(0, 0) rotate(-2deg); } 50% { transform: translate(4px, -12px) rotate(2deg); } }

/* ════════════════════════════════════════════════════════════════
   BAGIAN PERTAMA: kamera menjauh dari kelopak teratai ke danau
   purnama, lalu ornamen muncul satu per satu
   ════════════════════════════════════════════════════════════════ */
.hero { min-height: max(100svh, 1000px); display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 22px 80px;
    background: linear-gradient(180deg, #050816 0%, #0b1232 13%, #17215a 26%, #34427f 35%, #4c5b98 36.4%, #24306b 38%, #121b48 60%, #0a1030 82%, #080d28 100%); }
.hero-in { position: relative; width: 100%; }
.hero-in::before { content: ''; position: absolute; inset: -50px -40px -30px; z-index: -1; background: radial-gradient(ellipse 60% 58% at 50% 56%, rgba(6, 10, 28, .78), rgba(6, 10, 28, .25) 62%, transparent 78%); }
.hero-mahkota { display: block; width: 170px; aspect-ratio: 300 / 110; margin: 0 auto -10px; background: url('mahkota.svg') center / contain no-repeat; }
.hero-bl { width: 140px; margin-bottom: 4px; }

.dp { position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; overflow: hidden; }
.dp-mid, .dp-front { z-index: 1 !important; }
.dp-l { position: absolute; display: block; opacity: 0; background-repeat: no-repeat; background-size: 100% 100%; transform: scale(var(--sx, 1), var(--sy, 1)); }
.dp-l > b { position: absolute; inset: 0; background-repeat: no-repeat; background-size: 100% 100%; }
body.opened:not(.settled) .dp-l { will-change: transform, opacity; }

/* jauh → dekat */
.d-stars { left: 0; right: 0; top: 0; height: 36%; transform-origin: 50% 30%; --k: 1.25; --o: .9; --dur: 6.8s; --dl: 0s; }
.d-halo { left: -10%; width: 120%; top: -14%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 240, 214, .34) 0%, rgba(217, 153, 138, .14) 32%, transparent 60%); transform-origin: 50% 50%; --k: 1.35; --dur: 6.8s; --dl: 0s; }
.d-bulan { left: 30%; width: 40%; top: 5%; aspect-ratio: 1; background-image: url('bulan.svg'); transform-origin: 50% 50%; --k: 1.35; --dur: 6.8s; --dl: .05s; }
.d-bukit { left: -4%; width: 108%; top: 23.5%; height: 13%; background-image: url('bukit.svg'); transform-origin: 50% 100%; --k: 1.5; --dur: 6.6s; --dl: .1s; }
.d-danau { left: 0; right: 0; top: 36.3%; bottom: 0; background: url('danau.svg') center top / 100% 48% no-repeat, linear-gradient(180deg, #0a1030, #080d28); transform-origin: 50% 0; --k: 1.5; --dur: 6.5s; --dl: .05s; }
.d-kabut { left: -20%; width: 140%; height: 7%; --k: 1.3; --o: .9; --dur: 6s; }
.d-kabut b { background-image: url('kabut.svg'); }
.d-kabut.k1 { top: 31%; --dl: .5s; }
.d-kabut.k2 { top: 39%; --o: .7; --dl: 1s; }
.d-teratai { top: 38.5%; width: 62%; aspect-ratio: 300 / 200; background-image: url('teratai.svg'); --k: 2; --dur: 6.2s; --dl: .12s; }
.d-teratai.l { left: -20%; transform-origin: 0 50%; }
.d-teratai.r { right: -22%; width: 54%; top: 41%; --sx: -1; transform-origin: 50% 50%; }

/* ornamen: muncul bergiliran setelah zoom berjalan */
.d-lamp { aspect-ratio: 60 / 90; --ty: 80px; }
.d-lamp b { background-image: url('lampion.svg'); }
.d-lamp.a { left: 8%; top: 16%; width: 9%; --dl: 2.3s; }
.d-lamp.b { right: 10%; top: 10%; width: 7%; --dl: 2.7s; }
.d-lamp.c { left: 25%; top: 4.5%; width: 4.6%; --o: .85; --dl: 3.1s; }
.d-lamp.d { right: 25%; top: 21%; width: 5.4%; --o: .9; --dl: 3.5s; }
.d-lamp.e { left: 64%; top: 2%; width: 3.6%; --o: .75; --dl: 3.9s; }
.d-koi { width: 26%; aspect-ratio: 140 / 56; --o: .7; }
.d-koi b { background-image: url('koi.svg'); }
.d-koi.k1 { left: 8%; top: 53%; --dl: 4.3s; --tx: -80%; }
.d-koi.k2 { right: 6%; top: 58%; width: 20%; --sx: -1; --o: .55; --dl: 4.7s; --tx: -80%; }
.d-dedalu { top: -1%; width: 44%; aspect-ratio: 240 / 300; --ty: -40px; }
.d-dedalu b { background-image: url('dedalu.svg'); transform-origin: 50% 0; }
.d-dedalu.l { left: -12%; --dl: 1.8s; }
.d-dedalu.r { right: -12%; --sx: -1; --dl: 2s; }
.d-fili { width: 19%; aspect-ratio: 1; background-image: url('filigri.svg'); --o: .9; --ty: 0px; }
.d-fili.tl { left: 3%; top: 1.2%; --dl: 5s; }
.d-fili.tr { right: 3%; top: 1.2%; --sx: -1; --dl: 5.15s; }
.d-kilau { width: 4.5%; aspect-ratio: 1; background-image: url('kilau.svg'); }
.d-kilau.s1 { left: 16%; top: 8%; --dl: 5.3s; }
.d-kilau.s2 { right: 17%; top: 5%; width: 3%; --dl: 5.5s; }
.d-kilau.s3 { left: 74%; top: 27%; width: 3.4%; --dl: 5.7s; }
.d-kilau.s4 { left: 6%; top: 27%; width: 2.8%; --dl: 5.9s; }
.hero-band { position: absolute !important; left: 0; right: 0; bottom: 6px; height: 22px; z-index: 3 !important; opacity: 0; background: url('pita.svg') repeat-x center bottom / 80px 22px; transform: scaleY(-1); --sy: -1; --dl: 6.2s; --ty: 10px; }

/* latar depan: daun teratai di tepi & kelopak buram yang menutupi kamera */
.d-daun { top: 49%; width: 58%; aspect-ratio: 300 / 160; background-image: url('daun-dekat.svg'); }
.d-daun.l { left: -30%; transform-origin: 0 50%; }
.d-daun.r { right: -32%; --sx: -1; transform-origin: 50% 50%; top: 52%; }
.d-kelopak { top: 4%; width: 100%; aspect-ratio: 300 / 360; background-image: url('kelopak-dekat.svg'); filter: blur(9px); }
.d-kelopak.l { left: -32%; transform-origin: 0 50%; }
.d-kelopak.r { right: -32%; --sx: -1; transform-origin: 50% 50%; }

body.opened :is(.d-stars, .d-halo, .d-bulan, .d-bukit, .d-danau, .d-kabut, .d-teratai) { animation: dpZoom var(--dur, 6s) cubic-bezier(.22, .62, .2, 1) var(--dl, 0s) both; }
body.opened :is(.d-dedalu, .d-fili, .hero-band) { animation: dpPop 1.8s cubic-bezier(.2, .8, .2, 1) var(--dl, 0s) both; }
body.opened .d-lamp { animation: dpRise 3s cubic-bezier(.2, .7, .25, 1) var(--dl, 0s) both; }
body.opened .d-kilau { animation: dpPop 1.2s cubic-bezier(.2, .8, .2, 1) var(--dl, 0s) both, twinkle 3.4s ease-in-out calc(var(--dl) + 1.2s) infinite; }
body.opened .d-koi { animation: dpSwim 3.2s cubic-bezier(.2, .7, .25, 1) var(--dl, 0s) both; }
body.opened .d-daun { animation: dpLeaf 6s cubic-bezier(.22, .62, .2, 1) both; }
body.opened .d-kelopak { animation: dpLeafBlur 5.2s cubic-bezier(.22, .62, .2, 1) both; }
body.opened .d-kabut b { animation: drift 18s ease-in-out 3s infinite alternate; }
body.opened .d-lamp b { animation: lampFloat 7s ease-in-out 5s infinite; }
body.opened .d-lamp.b b, body.opened .d-lamp.d b { animation-delay: 6.4s; }
body.opened .d-koi b { animation: koiSwim 9s ease-in-out 7.5s infinite; }
body.opened .d-koi.k2 b { animation-delay: 9s; }
body.opened .d-dedalu b { animation: sway 7s ease-in-out 4s infinite; }
body.opened .d-dedalu.r b { animation-delay: 5.6s; }

@keyframes dpZoom { from { opacity: 0; transform: scale(calc(var(--sx, 1) * var(--k, 1.5)), calc(var(--sy, 1) * var(--k, 1.5))); } 30% { opacity: var(--o, 1); } to { opacity: var(--o, 1); transform: scale(var(--sx, 1), var(--sy, 1)); } }
@keyframes dpPop { from { opacity: 0; transform: translateY(var(--ty, 12px)) scale(calc(var(--sx, 1) * .6), calc(var(--sy, 1) * .6)); } to { opacity: var(--o, 1); transform: scale(var(--sx, 1), var(--sy, 1)); } }
@keyframes dpRise { from { opacity: 0; transform: translateY(var(--ty, 80px)) scale(.7); } 40% { opacity: var(--o, 1); } to { opacity: var(--o, 1); transform: none; } }
@keyframes dpSwim { from { opacity: 0; transform: translateX(calc(var(--sx, 1) * var(--tx, -60%))) scale(var(--sx, 1), 1); } 40% { opacity: var(--o, 1); } to { opacity: var(--o, 1); transform: scale(var(--sx, 1), 1); } }
@keyframes dpLeaf { from { opacity: 0; transform: scale(calc(var(--sx, 1) * 3), 3); } 40% { opacity: 0; } to { opacity: 1; transform: scale(var(--sx, 1), 1); } }
@keyframes dpLeafBlur { from { opacity: .98; transform: scale(calc(var(--sx, 1) * 2), 2); } 70% { opacity: 0; } to { opacity: 0; visibility: hidden; transform: scale(var(--sx, 1), 1); } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0); } 50% { opacity: .35; transform: scale(.6) rotate(45deg); } }
@keyframes drift { from { transform: translateX(-5%); } to { transform: translateX(5%); } }
@keyframes koiSwim { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(18px, -5px) rotate(-3deg); } }

/* ════════════════════════════════════════════════════════════════
   ISI
   ════════════════════════════════════════════════════════════════ */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: -4px 0 42px; align-items: start; }
.tr-i { position: relative; padding: 4px; border: 0; aspect-ratio: 1 / 1.6; border-radius: 999px; overflow: hidden; background: var(--rose-g); cursor: pointer; box-shadow: 0 16px 24px -16px rgba(43, 37, 66, .55); -webkit-tap-highlight-color: transparent; }
.tr-i img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px; transition: transform .6s var(--ease); }
.tr-i:nth-child(2) { margin-top: 26px; }
.tr-i:hover img { transform: scale(1.06); }
.tr-i.ph { display: grid; place-items: center; cursor: default; }
.tr-i.ph::before { content: ''; position: absolute; inset: 4px; border-radius: 999px; background: url('latar-malam.svg') center / 80px 40px, radial-gradient(circle at 50% 30%, #2c3a7c, #0b1230 80%); }
.tr-i.ph::after { content: ''; position: absolute; inset: 10px; border-radius: 999px; border: 1px solid rgba(246, 211, 197, .45); }
.tr-i.ph svg { position: relative; z-index: 1; width: 52%; height: 52%; color: var(--rose-l); }
.verse-t { margin-top: 18px; font: italic 400 18.5px/1.7 var(--f-b); color: var(--ink); }
.verse-s { margin-top: 14px; font: 400 12px/1.4 var(--f-h); letter-spacing: .24em; color: var(--rose-d); }

.sec-fili { position: absolute !important; z-index: 1 !important; width: 88px; aspect-ratio: 1; top: 40px; background: url('filigri.svg') center / contain no-repeat; opacity: .85; pointer-events: none; }
.sec-fili.tl { left: 12px; }
.sec-fili.tr { right: 12px; transform: scaleX(-1); }
.sec-lotus { position: absolute !important; z-index: 1 !important; left: -10%; right: -10%; bottom: -10px; height: 140px; background: url('teratai.svg') left -20px bottom / auto 130px no-repeat, url('teratai.svg') right -40px bottom -10px / auto 110px no-repeat; opacity: .5; pointer-events: none; }
.person { max-width: 320px; margin: 0 auto; }
.p-bl { width: 178px; }
.p-bl .bl-mono { font-size: 72px; }
.p-name { margin: 16px 0 6px; font: 400 40px/1.2 var(--f-n); background: var(--rose-g); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 6px; }
.p-par { color: rgba(248, 242, 239, .82); font-size: 17px; line-height: 1.6; }
.p-par b { font: 400 10.5px/1.5 var(--f-h); letter-spacing: .28em; text-transform: uppercase; color: var(--rose); }
.and { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 30px auto; max-width: 260px; }
.and i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--rose), transparent); }
.and span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 400 40px/1 var(--f-n); color: #6b4256; background: var(--moon-g); box-shadow: 0 0 0 1px var(--rose), 0 0 0 5px rgba(217, 153, 138, .15), 0 0 26px rgba(255, 236, 205, .35); padding-top: 4px; }
#mempelai { padding-bottom: 150px; }

/* hitung mundur: langit malam di atas danau berlampion */
.danau { color: var(--pearl); padding-bottom: 170px;
    background: linear-gradient(180deg, #060a1c 0%, #0f1842 40%, #24306b 70%, #3b4a8c 71.2%, #1c2862 72.4%, #0a1030 100%); }
.danau::after { content: ''; position: absolute; left: 0; right: 0; top: 71.5%; bottom: 0; z-index: 0; background: url('danau.svg') center top / 100% 100% no-repeat; opacity: .9; }
.cd-bulan { position: absolute !important; z-index: 0 !important; left: 50%; top: 40px; width: 360px; margin-left: -180px; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 240, 214, .2), transparent 62%); }
.cd-lamp { position: absolute !important; z-index: 1 !important; aspect-ratio: 60 / 90; }
.cd-lamp b { position: absolute; inset: 0; background: url('lampion.svg') center / 100% 100% no-repeat; animation: lampFloat 7s ease-in-out infinite; }
.cd-lamp.a { left: 6%; top: 90px; width: 38px; }
.cd-lamp.b { right: 7%; top: 150px; width: 30px; }
.cd-lamp.b b { animation-delay: -3s; }
.cd-lamp.c { right: 24%; top: 54px; width: 22px; opacity: .8; }
.cd-lamp.c b { animation-delay: -5s; }
.cd-teratai { position: absolute !important; z-index: 1 !important; bottom: 10px; width: 62%; aspect-ratio: 300 / 200; background: url('teratai.svg') center / 100% 100% no-repeat; }
.cd-teratai.l { left: -16%; }
.cd-teratai.r { right: -18%; width: 54%; transform: scaleX(-1); }
.moon-gate { position: relative; width: 100%; max-width: 240px; aspect-ratio: 1; margin: 0 auto 36px; display: grid; place-items: center; filter: drop-shadow(0 0 30px rgba(255, 236, 205, .3)); }
.moon-gate::before { content: ''; position: absolute; inset: 9.5%; border-radius: 50%; background: var(--moon-g); }
.moon-gate img { position: absolute; inset: 9.5%; width: 81%; height: 81%; object-fit: cover; border-radius: 50%; }
.moon-gate::after { content: ''; position: absolute; inset: 0; background: url('bingkai.svg') center / 100% 100% no-repeat; }
.moon-gate svg { position: relative; z-index: 1; width: 42%; height: 42%; color: #c98b8b; }
.quote-s { margin: 16px auto 28px; max-width: 320px; font: italic 400 18px/1.65 var(--f-b); opacity: .95; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 340px; margin: 0 auto 30px; }
.cd > div { position: relative; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; color: #2b2542; background: var(--moon-g); box-shadow: 0 0 0 1px rgba(246, 211, 197, .8), 0 0 0 5px rgba(217, 153, 138, .16), 0 0 22px rgba(255, 236, 205, .28), inset -6px -8px 14px rgba(160, 130, 100, .3); overflow: hidden; }
.cd > div::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at var(--ph, 130%) 50%, transparent 58%, rgba(20, 29, 74, .16) 60%); }
.cd > div:nth-child(1) { --ph: 150%; }
.cd > div:nth-child(2) { --ph: 125%; }
.cd > div:nth-child(3) { --ph: 105%; }
.cd > div:nth-child(4) { --ph: 300%; }
.cd > div > * { position: relative; z-index: 1; }
.cd b { display: block; font: 500 24px/1 var(--f-h); font-variant-numeric: tabular-nums; color: var(--indigo); }
.cd span { display: block; margin-top: 5px; font: 400 8.5px/1 var(--f-h); letter-spacing: .14em; text-transform: uppercase; color: var(--rose-d); }

/* acara: kartu mutiara berpintu bulan */
.event { position: relative; max-width: 360px; margin: 34px auto 30px; padding: 62px 24px 30px; background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 250, 248, .86)); border-radius: 180px 180px 22px 22px; box-shadow: inset 0 0 0 1px rgba(185, 117, 108, .5), inset 0 0 0 7px rgba(255, 255, 255, .9), inset 0 0 0 8px rgba(217, 153, 138, .45), 0 26px 40px -30px rgba(36, 48, 107, .7); }
.event::after { content: ''; position: absolute; left: 50%; bottom: -16px; width: 120px; height: 34px; margin-left: -60px; background: url('pembatas.svg') center / contain no-repeat; }
.event > * { position: relative; z-index: 1; }
.ev-ico { position: absolute !important; left: 50%; top: -26px; width: 56px; height: 56px; margin-left: -28px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #2c3a7c, #0b1230); box-shadow: 0 0 0 1.5px var(--rose), 0 0 0 6px #fbf6f3, 0 0 0 7px rgba(217, 153, 138, .5), 0 0 26px rgba(217, 153, 138, .4); }
.ev-ico svg { width: 32px; height: 32px; color: var(--rose-l); }
.ev-t { word-spacing: .14em; font: 400 42px/1.15 var(--f-n); color: var(--indigo); margin-bottom: 14px; }
.ev-l { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; font-size: 17px; color: var(--ink-s); }
.ev-l li { display: flex; align-items: flex-start; justify-content: center; gap: 10px; text-align: left; }
.ev-l .ico { margin-top: 4px; color: var(--rose-d); }
.loc { max-width: 380px; margin: 50px auto 0; }
.map { height: 220px; border-radius: 22px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--rose), 0 20px 30px -24px rgba(36, 48, 107, .7); overflow: hidden; margin-bottom: 22px; z-index: 0; }
.loc-name { font: 400 16px/1.4 var(--f-h); letter-spacing: .08em; color: var(--indigo); }
.loc-addr { margin: 4px 0 18px; font-size: 17px; color: var(--ink-s); }

/* kisah: fase bulan sebagai penanda */
#kisah { padding-bottom: 150px; }
.tline { list-style: none; margin: 0 auto; padding: 0; max-width: 360px; position: relative; text-align: left; }
.tline::before { content: ''; position: absolute; left: 25px; top: 14px; bottom: 14px; width: 1px; background: linear-gradient(180deg, transparent, var(--rose) 12%, var(--rose) 88%, transparent); opacity: .7; }
.tl-i { position: relative; display: flex; gap: 18px; margin-bottom: 26px; }
.tl-i:last-child { margin-bottom: 0; }
.tl-dot { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--moon-g); box-shadow: 0 0 0 1px var(--rose), 0 0 0 5px var(--night-d), 0 0 0 6px rgba(217, 153, 138, .4), 0 0 20px rgba(255, 236, 205, .35); }
.tl-dot i { position: absolute; inset: -2px; border-radius: 50%; background: #121b48; }
.tl-dot.f0 i { transform: translateX(-26%); }
.tl-dot.f1 i { transform: translateX(-52%); }
.tl-dot.f2 i { display: none; }
.tl-dot.f2 { box-shadow: 0 0 0 1px var(--rose), 0 0 0 5px var(--night-d), 0 0 0 6px rgba(217, 153, 138, .4), 0 0 30px rgba(255, 236, 205, .7); }
.tl-c { flex: 1; padding: 16px 20px 18px; background: linear-gradient(160deg, rgba(248, 242, 239, .09), rgba(248, 242, 239, .03)); border: 1px solid rgba(217, 153, 138, .45); border-radius: 22px; }
.tl-c h3 { font: 400 32px/1.15 var(--f-n); background: var(--rose-g); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 4px; padding-right: 6px; }
.tl-c p { font-size: 16.5px; line-height: 1.6; opacity: .92; }
.kisah-koi { position: absolute !important; z-index: 1 !important; bottom: 40px; width: 120px; aspect-ratio: 140 / 56; background: url('koi.svg') center / contain no-repeat; opacity: .75; animation: koiSwim 9s ease-in-out infinite; }
.kisah-koi.a { left: 18%; }
.kisah-koi.b { right: 14%; bottom: 70px; width: 90px; transform: scaleX(-1); opacity: .55; animation-delay: -4s; }
#kisah::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 0; background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(255, 236, 205, .14), transparent 70%); }

/* galeri: bulan, pintu bulan & kapsul */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 400px; margin: 0 auto; padding: 0 4px; }
.gal-i { position: relative; padding: 0; border: 0; overflow: hidden; aspect-ratio: 1 / 1.2; border-radius: 160px 160px 20px 20px; background: var(--night-d); cursor: pointer; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--rose), 0 18px 26px -18px rgba(36, 48, 107, .7); -webkit-tap-highlight-color: transparent; }
.gal-i.g0 { grid-column: span 2; aspect-ratio: 16 / 10; border-radius: 22px; }
.gal-i.g1 { aspect-ratio: 1; border-radius: 50%; align-self: center; }
.gal-i.g4 { aspect-ratio: 1; border-radius: 50%; align-self: center; }
.gal-i.g5 { grid-column: span 2; aspect-ratio: 16 / 9; border-radius: 999px; }
.gal-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-i:hover img { transform: scale(1.05); }
.gal-i.ph { display: grid; place-items: center; cursor: default; background: url('latar-malam.svg') center / 120px 60px, radial-gradient(circle at 50% 30%, #2c3a7c, #0b1230 80%); }
.gal-i.ph svg { width: 40%; height: 40%; color: var(--rose-l); opacity: .95; }
.gal-i.ph.g1, .gal-i.ph.g4 { background: url('latar-mutiara.svg') center / 120px 60px, var(--moon-g); }
.gal-i.ph.g1 svg, .gal-i.ph.g4 svg { color: #c98b8b; }

/* ── Form & ucapan ── */
.card { max-width: 400px; margin: 0 auto; padding: 30px 22px; background: rgba(255, 255, 255, .88); border-radius: 26px; box-shadow: inset 0 0 0 1px rgba(185, 117, 108, .45), inset 0 0 0 6px rgba(255, 255, 255, .9), inset 0 0 0 7px rgba(217, 153, 138, .35), 0 26px 40px -30px rgba(36, 48, 107, .7); text-align: left; }
.f-l { display: block; margin: 16px 0 6px; font: 400 10.5px/1.3 var(--f-h); letter-spacing: .22em; text-transform: uppercase; color: var(--indigo); }
.form label.f-l:first-of-type { margin-top: 0; }
.f-in { width: 100%; padding: 11px 15px; border: 1px solid #e1b9ae; border-radius: 14px; background: #fffcfb; color: var(--ink); font: 400 17px/1.5 var(--f-b); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.f-in:focus { border-color: var(--rose-d); box-shadow: 0 0 0 3px rgba(217, 153, 138, .25); }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ch input { position: absolute; opacity: 0; pointer-events: none; }
.ch span { display: block; padding: 10px 4px; text-align: center; font: 400 10.5px/1.3 var(--f-h); letter-spacing: .06em; border: 1px solid #e1b9ae; border-radius: 999px; background: #fffcfb; color: var(--ink-s); cursor: pointer; transition: all .2s; }
.ch input:checked + span { background: linear-gradient(180deg, #2c3a7c, #172158); border-color: var(--indigo); color: var(--rose-l); }
.ch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(217, 153, 138, .35); }
.form .btn { margin-top: 24px; }

.wish-head { display: flex; align-items: center; justify-content: space-between; max-width: 400px; margin: 50px auto 14px; }
.wish-head h3 { font: 400 36px/1.2 var(--f-n); color: var(--indigo); }
.wh-live { display: inline-flex; align-items: center; gap: 6px; font: 400 10px/1 var(--f-h); letter-spacing: .16em; text-transform: uppercase; color: var(--rose-d); }
.wh-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--rose-d); box-shadow: 0 0 8px var(--rose); animation: live 1.6s ease-in-out infinite; }
@keyframes live { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.wishes { max-width: 400px; margin: 0 auto; display: grid; gap: 12px; max-height: 480px; overflow-y: auto; padding: 2px 4px 2px 0; text-align: left; overscroll-behavior: contain; }
.wish-item { --av: var(--indigo); display: flex; gap: 12px; padding: 14px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(217, 153, 138, .4); border-radius: 20px; }
.wish-item.new { animation: wishIn .7s var(--ease) both; }
@keyframes wishIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.wish-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--av); color: #fff; font: 400 16px/1 var(--f-h); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(217, 153, 138, .6); }
.wish-body { min-width: 0; flex: 1; }
.wish-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wish-name { font: 500 14px/1.3 var(--f-h); overflow-wrap: anywhere; color: var(--indigo); }
.wish-badge { padding: 2px 10px; border-radius: 999px; font: 400 9.5px/1.6 var(--f-h); letter-spacing: .08em; text-transform: uppercase; }
.wish-badge.hadir { background: #e2e6f6; color: #24306b; }
.wish-badge.tidak { background: #f6e0e3; color: #8e3f63; }
.wish-badge.ragu  { background: #f8e9dc; color: #9a5b3c; }
.wish-message { margin-top: 4px; font-size: 16.5px; line-height: 1.55; color: var(--ink-s); overflow-wrap: anywhere; }
.wish-time { display: block; margin-top: 6px; font-size: 14px; color: #8a849c; }
.wish-empty { text-align: center; padding: 20px; color: #8a849c; font-style: italic; }

/* ── Kado (partial) ── */
.gift-box { max-width: 420px; margin: 0 auto; border-radius: 26px; background: var(--pearl); overflow: hidden; color: var(--ink); text-align: left; box-shadow: 0 0 0 1px var(--rose), 0 0 0 6px rgba(217, 153, 138, .14), 0 0 40px rgba(217, 153, 138, .2), 0 20px 40px -26px rgba(0, 0, 0, .9); }
.gift-wrap .gs-heading h2 { font-family: var(--f-n) !important; font-weight: 400 !important; font-size: 36px !important; color: var(--indigo) !important; }
.gift-wrap .gs-heading h2::after { background: var(--rose) !important; }
.gift-wrap .gs-card, .gift-wrap .gs-bank-card { border: 1px solid rgba(217, 153, 138, .45) !important; border-radius: 18px !important; }
.gift-wrap .gs-btn, .gift-wrap .gs-bank-copy { border-radius: 999px !important; font-family: var(--f-h) !important; }
.gift-wrap .gs-btn-buy { background: var(--indigo) !important; color: var(--rose-l) !important; }
.gift-wrap .gs-bank-logo { background: #f3e3e0 !important; color: var(--indigo) !important; }

/* ── Penutup: danau purnama ── */
.end { color: var(--pearl); padding-top: 330px; padding-bottom: 300px;
    background: linear-gradient(180deg, #050816 0%, #0b1232 18%, #17215a 50%, #34427f calc(100% - 232px), #4c5b98 calc(100% - 228px), #1c2862 calc(100% - 222px), #0a1030 100%); }
.end > i { position: absolute !important; z-index: 0 !important; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.end-halo { left: -20%; width: 140%; top: -160px; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 240, 214, .3) 0%, rgba(217, 153, 138, .12) 32%, transparent 60%); }
.end-bulan { left: 50%; width: 220px; margin-left: -110px; top: 60px; aspect-ratio: 1; background-image: url('bulan.svg'); }
.end-bukit { left: -4%; width: 108%; bottom: 228px; height: 120px; background-image: url('bukit.svg'); }
.end-danau { left: 0; right: 0; bottom: 0; height: 230px; background: url('danau.svg') center top / 100% 100% no-repeat; }
.end-lamp { aspect-ratio: 60 / 90; background-image: url('lampion.svg'); animation: lampFloat 7s ease-in-out infinite; }
.end-lamp.a { left: 9%; top: 220px; width: 34px; }
.end-lamp.b { right: 10%; top: 150px; width: 26px; animation-delay: -3.4s; }
.end-teratai { bottom: 0; width: 66%; aspect-ratio: 300 / 200; background-image: url('teratai.svg'); z-index: 1 !important; }
.end-teratai.l { left: -16%; }
.end-teratai.r { right: -18%; width: 56%; transform: scaleX(-1); }
.end .sec-in { position: relative; }
.end .sec-in::before { content: ''; position: absolute; inset: -40px -40px; z-index: -1; background: radial-gradient(ellipse 62% 58% at 50% 50%, rgba(6, 10, 28, .72), transparent 78%); }
.end-mahkota { display: block; width: 190px; aspect-ratio: 300 / 110; margin: 0 auto 16px; background: url('mahkota.svg') center / contain no-repeat; }
.fam { margin: 22px 0 24px; display: grid; gap: 14px; font-size: 17px; }
.fam span { display: block; margin-bottom: 2px; font: 400 10px/1.5 var(--f-h); letter-spacing: .28em; text-transform: uppercase; color: var(--rose); }
.end-credit { font-size: 14px; opacity: .7; }

/* ── Lightbox ── */
.gallery-lightbox { display: none; position: fixed; inset: 0; z-index: 7000; align-items: center; justify-content: center; background: rgba(6, 10, 28, .95); opacity: 0; transition: opacity .3s; }
.lb-img-wrap img { max-width: 92vw; max-height: 80vh; border-radius: 18px; box-shadow: 0 0 0 2px var(--rose), 0 0 40px rgba(217, 153, 138, .3); }
.lb-close, .lb-prev, .lb-next { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--rose-g); color: #2a1f3a; font: 400 22px/1 var(--f-h); cursor: pointer; }
.lb-close { top: 18px; right: 18px; font-size: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--rose-l); font: 400 13px/1 var(--f-h); letter-spacing: .14em; }

/* ════════════════════════════════════════════════════════════════
   DESKTOP: foto di kiri (tetap), undangan di kolom kanan
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 900px) {
    .side { display: block; position: fixed; top: 0; bottom: 0; left: 0; right: var(--col); z-index: 1; overflow: hidden; background: var(--night-dd); }
    .side-photo { position: absolute; inset: 0; background: center / cover no-repeat; animation: zoomSlow 20s ease-in-out infinite alternate; }
    .side-photo.none { animation: none;
        background: url('teratai.svg') left -60px bottom -20px / auto 34% no-repeat, url('teratai.svg') right -80px bottom -10px / auto 28% no-repeat,
            url('bulan.svg') center top 8vh / auto 38vh no-repeat,
            url('bukit.svg') center bottom 34vh / 100% 18vh no-repeat,
            url('danau.svg') center bottom / 100% 34vh no-repeat,
            linear-gradient(180deg, #050816 0%, #0b1232 30%, #17215a 50%, #34427f 66%, #0a1030 66.2%); }
    .side-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 10, 28, .1) 30%, rgba(6, 10, 28, .86)); }
    .side-in { position: absolute; left: 0; right: 0; bottom: 12vh; padding: 0 40px; text-align: center; color: var(--pearl); }
    .side-photo.none ~ .side-shade { background: radial-gradient(ellipse 50% 30% at 50% 58%, rgba(6, 10, 28, .6), transparent 80%); }
    .side-photo.none ~ .side-in { top: 47vh; bottom: auto; }
    .sd-k { font: 400 13px/1.4 var(--f-h); letter-spacing: .44em; text-transform: uppercase; color: var(--rose-l); }
    .sd-n { margin: 8px 0 12px; font: 400 clamp(60px, 6.4vw, 108px)/1.15 var(--f-n); background: var(--rose-g); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .sd-n i { font-style: normal; font-size: .62em; }
    .sd-d { font: 400 14px/1.4 var(--f-h); letter-spacing: .24em; text-transform: uppercase; }
    .stage { margin-left: auto; margin-right: 0; width: var(--col); position: relative; z-index: 2; box-shadow: -12px 0 40px -18px rgba(0, 0, 0, .8); }
    .cover { left: auto; right: 0; width: var(--col); }
    .music-toggle-btn { right: 18px; }
    .toast { left: calc(100% - var(--col) / 2); }
    .petals { left: auto; width: var(--col); }
}
@keyframes zoomSlow { to { transform: scale(1.07); } }

@media (max-height: 700px) {
    .cv-mahkota { width: 150px; }
    .cv-bl { width: 112px; }
    .cv-names { font-size: 40px; margin: 0 0 6px; }
    .cv-to { margin-bottom: 12px; }
    .cover-in { margin-top: 4vh; }
}
@media (max-width: 360px) {
    .names-xl { font-size: 48px; }
    .cd b { font-size: 20px; }
    .h-t { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .petals { display: none; }
    .dp-l, .cv-l { opacity: var(--o, 1); animation: none !important; }
    .d-kelopak { opacity: 0; visibility: hidden; }
    .cover-in > * { animation: none !important; opacity: 1; }
    .hero-band { opacity: 1; }
}

/* kisah cinta dinamis */
.tl-date { display: block; margin-bottom: 2px; font: 400 10.5px/1.5 var(--f-h); letter-spacing: .3em; text-transform: uppercase; color: var(--rose); }
.tl-c h3 { overflow-wrap: anywhere; }
