/* ════════════════════════════════════════════════════════════════
   ISTANA SALJU — istana kristal di bawah aurora, hutan cemara
   bersalju, danau beku; mutiara, biru es, perak & lilac berembun
   ════════════════════════════════════════════════════════════════ */
:root {
    --ink: #1e2550;
    --ink-s: #4e5785;
    --navy-dd: #0a0f2e;
    --navy-d: #121a45;
    --navy: #1c2763;
    --navy-m: #2d3a86;
    --peri: #6f7fc8;
    --ice: #dce6fb;
    --ice-d: #a9b7e6;
    --pearl: #f6f8fe;
    --silver: #c5cde6;
    --lilac: #c4b3ec;
    --champ: #e9d3a6;
    --col: 490px;
    --f-h: 'Cinzel', 'Times New Roman', serif;
    --f-n: 'Pinyon Script', 'Brush Script MT', cursive;
    --f-b: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --silver-g: linear-gradient(120deg, #ffffff 0%, #dfe6fb 28%, #a8b6e6 46%, #ffffff 62%, #c9c0ee 80%, #eef2ff 100%);
    --ice-g: linear-gradient(180deg, #ffffff, #dfe7fb 55%, #bac7ef);
    --arch: polygon(3.33% 99.39%, 3.33% 42.42%, 3.90% 37.01%, 5.59% 31.72%, 8.36% 26.67%, 12.14% 21.99%, 16.86% 17.77%, 22.40% 14.13%, 28.63% 11.14%, 35.41% 8.86%, 42.59% 7.36%, 50% 6.67%, 57.41% 7.36%, 64.59% 8.86%, 71.37% 11.14%, 77.60% 14.13%, 83.14% 17.77%, 87.86% 21.99%, 91.64% 26.67%, 94.41% 31.72%, 96.10% 37.01%, 96.67% 42.42%, 96.67% 99.39%);
    --hex: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
    --oct: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; min-height: 100vh;
    font: 500 17.5px/1.7 var(--f-b);
    color: var(--ink); background: var(--navy-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(--navy-d); }
.sec { position: relative; padding: 100px 26px 88px; 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: 0; height: 30px; z-index: 3; pointer-events: none; background: url('pita-es.svg') repeat-x left top / 64px 30px; filter: drop-shadow(0 2px 3px rgba(18, 26, 69, .25)); }
.mutiara::before { background-image: url('pita-es-terang.svg') !important; filter: none !important; }
.malam { color: var(--ice); background: url('latar-gelap.svg') 0 0 / 140px, radial-gradient(ellipse 90% 40% at 50% 0, rgba(111, 127, 200, .32), transparent 70%), linear-gradient(180deg, #18215a, var(--navy-dd)); }
.malam.aur { background: url('latar-gelap.svg') 0 0 / 140px, radial-gradient(ellipse 70% 30% at 20% 8%, rgba(111, 240, 216, .18), transparent 70%), radial-gradient(ellipse 70% 30% at 85% 14%, rgba(180, 140, 240, .22), transparent 70%), linear-gradient(180deg, #141c50, var(--navy-dd)); }
.mutiara { color: var(--ink); background: url('latar-terang.svg') 0 0 / 140px, radial-gradient(ellipse 90% 50% at 50% 0, #ffffff, transparent 70%), linear-gradient(180deg, #eef2fc, #e3e8f8); }
.sec-head { margin-bottom: 36px; }
.sec-sub { margin: 14px auto 0; max-width: 320px; font-size: 16.5px; opacity: .92; }

/* ── Tipografi ── */
.h-k { font: 500 11px/1.4 var(--f-h); letter-spacing: .34em; text-transform: uppercase; color: var(--peri); }
.malam .h-k { color: var(--lilac); }
.h-t { margin-top: 6px; font: 400 46px/1.2 var(--f-n); }
.mutiara .h-t { color: var(--navy); }
.malam .h-t { background: var(--silver-g); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 8px; }
.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(--silver-g); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 10px rgba(160, 180, 255, .35)); }
.names-xl { margin: 4px 0 6px; font-size: 60px; line-height: 1.2; padding: 0 10px; }
.names-xl i, .cv-names i { font: italic 500 .5em/1 var(--f-b); letter-spacing: 0; }
.salam { margin: 20px 0 8px; font: 500 13.5px/1.6 var(--f-h); letter-spacing: .1em; color: #fff; }
.body-c { max-width: 336px; margin: 0 auto 10px; color: rgba(226, 233, 252, .92); font-size: 17px; line-height: 1.65; }
.date-l { display: inline-block; margin-top: 8px; padding: 9px 18px; font: 500 12px/1.5 var(--f-h); letter-spacing: .22em; text-transform: uppercase; color: #fff; border-top: 1px solid rgba(220, 230, 251, .55); border-bottom: 1px solid rgba(220, 230, 251, .55); }

/* ── Bingkai lengkung kristal ── */
.bk { position: relative; width: 168px; aspect-ratio: 240 / 330; margin: 0 auto; filter: drop-shadow(0 14px 18px rgba(6, 10, 40, .5)) drop-shadow(0 0 16px rgba(190, 205, 255, .25)); }
.bk-ph { position: absolute; inset: 0; display: grid; place-items: center; padding-top: 16%; overflow: hidden; clip-path: var(--arch); background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(255, 255, 255, .25), transparent 70%), linear-gradient(170deg, #4c5bab, #1c2763 60%, #121a45); }
.bk-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bk::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: url('bingkai.svg') center / 100% 100% no-repeat; }
.bk-mono { font: 400 42px/1 var(--f-n); color: #fff; text-shadow: 0 0 18px rgba(200, 215, 255, .8); }
.bk-ph.none::before { content: ''; position: absolute; left: 50%; top: 22%; width: 34%; aspect-ratio: 1; margin-left: -17%; background: url('kristal.svg') center / contain no-repeat; opacity: .22; }
.bk.lilac .bk-ph.none { background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(255, 255, 255, .25), transparent 70%), linear-gradient(170deg, #8a73c4, #3c2f7a 60%, #221a52); }

/* ── Tombol ── */
.btn, .btn-buka {
    position: relative; 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: #fff; background: linear-gradient(180deg, #3b4a9c, #1c2763);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 1px rgba(220, 230, 251, .8), 0 0 0 4px rgba(111, 127, 200, .22), 0 12px 20px -10px rgba(10, 15, 46, .7);
    transition: transform .25s var(--ease), filter .25s; -webkit-tap-highlight-color: transparent; overflow: hidden;
}
.btn:hover, .btn-buka:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-buka, .btn.kilap { color: var(--navy); background: var(--silver-g); background-size: 200% 100%; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 5px rgba(220, 230, 251, .2), 0 0 26px rgba(190, 205, 255, .45), 0 12px 20px -10px rgba(0, 0, 0, .6); }
.btn-buka::after, .btn.kilap::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .9), transparent); transform: skewX(-20deg) translateX(0); animation: shine 3.6s ease-in-out 1.6s infinite; }
@keyframes shine { 0% { transform: skewX(-20deg) translateX(0); } 45%, 100% { transform: skewX(-20deg) translateX(560%); } }
.btn.sm { padding: 11px 20px; font-size: 10.5px; }
.btn.full { width: calc(100% - 8px); }
.btn:disabled { opacity: .7; cursor: default; transform: none; }
.btn-buka .ico { animation: beat 1.8s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* ── Musik, salju, 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: linear-gradient(180deg, #3b4a9c, #1c2763); color: #fff; box-shadow: 0 0 0 1px rgba(220, 230, 251, .85), 0 0 0 4px rgba(111, 127, 200, .25), 0 6px 18px -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 4s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.snow, .cv-snow { position: fixed; inset: 0; z-index: 900; pointer-events: none; overflow: hidden; }
.cv-snow { position: absolute; z-index: 2; }
.snow i, .cv-snow i { position: absolute; top: -24px; width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle, #fff 30%, rgba(255, 255, 255, .5) 55%, transparent 72%); opacity: 0; animation: snowFall var(--d) linear var(--w) infinite; will-change: transform; }
.snow i.fl, .cv-snow i.fl { border-radius: 0; background: url('kristal.svg') center / contain no-repeat; }
@keyframes snowFall { 0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; } 8% { opacity: var(--o, .9); } 50% { transform: translate3d(var(--x), 54vh, 0) rotate(160deg); } 90% { opacity: var(--o, .9); } 100% { transform: translate3d(0, 108vh, 0) rotate(320deg); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 8000; transform: translate(-50%, 24px); padding: 11px 24px; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: 0 0 0 1px rgba(220, 230, 251, .8); 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(26px) scale(.96); transition: opacity .95s ease var(--dl, 0s), transform 1s cubic-bezier(.2, .85, .25, 1) var(--dl, 0s); }
[data-reveal].shown { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════════
   COVER — istana di bawah aurora, dari balik jendela berembun
   ════════════════════════════════════════════════════════════════ */
.side { display: none; }
.cover { --cw: min(100vw, var(--col)); position: fixed; inset: 0; z-index: 6000; display: grid; place-items: center; overflow: hidden; transition: opacity 1.25s ease, transform 1.4s cubic-bezier(.3, .6, .2, 1);
    background: linear-gradient(180deg, #0a0f2e 0%, #141d55 30%, #34419a 58%, #7d86cf 72%, #b9b7e8 80.6%, #5d6db8 81.4%, #121a45 100%); }
.cover.open { opacity: 0; transform: scale(1.08); pointer-events: none; }
.cv-bg { position: absolute; inset: 0; animation: cvDrift 10s 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 1.8s ease var(--dl, 0s) forwards; }
@keyframes cvFade { from { opacity: 0; } to { opacity: var(--o, 1); } }
.cv-bintang { left: 0; right: 0; top: 0; height: 64%; background: url('bintang.svg') center / cover; --dl: 0s; }
.cv-aurora { left: -25%; width: 150%; top: 3%; aspect-ratio: 400 / 200; --o: .9; --dl: .1s; }
.cv-aurora b, .d-aurora b { position: absolute; inset: 0; background: url('aurora.svg') center / 100% 100% no-repeat; transform-origin: 50% 50%; animation: aurora 14s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: translateX(-4%) scaleY(.92) skewX(-4deg); } 50% { transform: translateX(3%) scaleY(1.08) skewX(3deg); } 100% { transform: translateX(-2%) scaleY(.96) skewX(-2deg); } }
.cv-gunung { left: -10%; width: 120%; bottom: 18.4%; aspect-ratio: 400 / 140; --o: .95; --dl: .15s; }
.cv-gunung { background-image: url('gunung.svg'); }
.cv-istana { left: 50%; width: min(72%, 32vh); margin-left: calc(min(72%, 32vh) / -2); bottom: 18%; aspect-ratio: 400 / 300; background-image: url('istana.svg'); --dl: .3s; }
.cv-danau { left: 0; right: 0; bottom: 0; height: 18.6%; background: url('danau.svg') center top / 100% 100% no-repeat; --dl: .2s; }
.cv-pinus { bottom: 13%; width: min(44%, 25vh); aspect-ratio: 220 / 320; background-image: url('pinus.svg'); --dl: .45s; }
.cv-tepi { left: -4%; width: 108%; bottom: 14.6%; aspect-ratio: 400 / 50; background-image: url('tepi-salju.svg'); --dl: .5s; }
.cv-pinus.l { left: -12%; }
.cv-pinus.r { right: -12%; transform: scaleX(-1); }
/* jendela lengkung berembun */
.cv-window { position: absolute; z-index: 1; left: 50%; top: 16px; bottom: 16px; width: calc(var(--cw) - 32px); margin-left: calc((var(--cw) - 32px) / -2); border-radius: calc((var(--cw) - 32px) / 2) calc((var(--cw) - 32px) / 2) 14px 14px; border: 1.5px solid rgba(236, 241, 255, .85);
    box-shadow: 0 0 0 7px rgba(214, 224, 250, .16), 0 0 0 8px rgba(236, 241, 255, .5), 0 0 0 100vmax rgba(206, 216, 246, .28), inset 0 0 60px rgba(220, 230, 255, .28); pointer-events: none; animation: cvFade 1.6s ease .5s both; }
.cv-window::before { content: ''; position: absolute; inset: 12px; border-radius: inherit; border: 1px solid rgba(236, 241, 255, .35); }
.cv-key { position: absolute; left: 50%; top: -22px; width: 44px; height: 44px; margin-left: -22px; background: url('kristal.svg') center / contain no-repeat; filter: drop-shadow(0 0 8px rgba(220, 230, 255, .9)); animation: spinSlow 40s linear infinite; }
.cv-sudut { z-index: 1; width: 25%; aspect-ratio: 1; background-image: url('sudut-es.svg'); --o: .95; --dl: .8s; }
.cv-sudut.tl { left: 6px; top: 6px; }
.cv-sudut.tr { right: 6px; top: 6px; transform: scaleX(-1); }
.cv-sudut.bl { left: 6px; bottom: 6px; transform: scaleY(-1); }
.cv-sudut.br { right: 6px; bottom: 6px; transform: scale(-1, -1); }
.cover-in { position: absolute; z-index: 3; left: 50%; top: 0; bottom: 0; width: 100%; max-width: 340px; margin-left: -170px; padding: max(40px, 6vh) 14px max(28px, 4.5vh); text-align: center; display: flex; flex-direction: column; align-items: center; }
.cv-gap { flex: 1; min-height: 12px; }
.cover-in::before { content: ''; position: absolute; left: -40px; right: -40px; top: 0; height: 64%; z-index: -1; background: radial-gradient(ellipse 54% 50% at 50% 50%, rgba(10, 15, 46, .55), transparent 75%); }
.cover-in > * { animation: cvRise 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.cv-mahkota { display: block; width: min(200px, 21vh); aspect-ratio: 300 / 120; margin: 0 auto -6px; background: url('mahkota.svg') center / contain no-repeat; animation-delay: .2s; filter: drop-shadow(0 0 10px rgba(210, 222, 255, .6)); }
.cv-bk { width: min(140px, 15vh); animation-delay: .4s; }
.cv-k { margin-top: 14px; font: 500 11px/1.4 var(--f-h); letter-spacing: .38em; text-transform: uppercase; color: var(--lilac); animation-delay: .7s; }
.cv-names { margin: 2px 0 0; font-size: 50px; line-height: 1.02; display: flex; flex-direction: column; align-items: center; animation-delay: .85s; padding: 0 8px; }
.cv-to { margin-bottom: 14px; font-size: 16px; line-height: 1.5; color: #fff; padding: 8px 22px 9px; border-radius: 16px; background: rgba(14, 20, 58, .58); box-shadow: inset 0 0 0 1px rgba(220, 230, 251, .35); animation-delay: 1s; }
.cv-to b { display: block; font: 500 17px/1.4 var(--f-h); letter-spacing: .06em; color: #fff; overflow-wrap: anywhere; }
.btn-buka { animation-delay: 1.2s; }
@keyframes cvRise { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* ════════════════════════════════════════════════════════════════
   BAGIAN PERTAMA: kamera menjauh dari balik dahan cemara bersalju
   ke istana kristal di bawah aurora, lalu ornamen muncul bergiliran
   ════════════════════════════════════════════════════════════════ */
.hero { min-height: max(100svh, 1100px); display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 22px 76px;
    background: linear-gradient(180deg, #0a0f2e 0%, #141d55 10%, #2f3c94 21%, #7682cc 29%, #b6b5e6 33.6%, #5d6db8 34%, #2a3683 52%, #161f55 74%, #121a45 100%); }
.hero-in { position: relative; width: 100%; }
.hero-in::before { content: ''; position: absolute; inset: -60px -40px -30px; z-index: -1; background: radial-gradient(ellipse 64% 60% at 50% 50%, rgba(10, 15, 46, .72), rgba(10, 15, 46, .3) 62%, transparent 80%); }
.hero-bk { width: 132px; margin-bottom: 4px; }
.hero-mahkota { display: block; width: 170px; aspect-ratio: 300 / 120; margin: 0 auto -4px; background: url('mahkota.svg') center / contain no-repeat; filter: drop-shadow(0 0 10px rgba(210, 222, 255, .6)); }

.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-bintang { left: 0; right: 0; top: 0; height: 34%; background: url('bintang.svg') center / cover; transform-origin: 50% 60%; --k: 1.25; --dur: 6.6s; --dl: 0s; }
.d-aurora { left: -25%; width: 150%; top: 1%; aspect-ratio: 400 / 200; transform-origin: 50% 80%; --k: 1.35; --o: .95; --dur: 6.6s; --dl: .05s; }
.d-gunung { left: -10%; width: 120%; bottom: 65.6%; aspect-ratio: 400 / 140; background-image: url('gunung.svg'); transform-origin: 50% 100%; --k: 1.4; --dur: 6.5s; --dl: .1s; }
.d-istana { left: 13%; width: 74%; bottom: 65.4%; aspect-ratio: 400 / 300; background-image: url('istana.svg'); transform-origin: 50% 100%; --k: 1.65; --dur: 6.5s; --dl: .15s; }
.d-danau { left: 0; right: 0; top: 34%; height: 26%; background-image: url('danau.svg'); transform-origin: 50% 0; --k: 1.5; --dur: 6.4s; --dl: .05s; }
.d-pantul { left: 13%; width: 74%; top: 34.4%; aspect-ratio: 400 / 300; background-image: url('istana.svg'); transform-origin: 50% 0; --sy: -1; --o: .2; --k: 1.65; --dur: 6.5s; --dl: .15s;
    -webkit-mask-image: linear-gradient(0deg, transparent 40%, #000); mask-image: linear-gradient(0deg, transparent 40%, #000); }
.d-kabut { left: -20%; width: 140%; top: 29.5%; height: 8%; --k: 1.3; --o: .9; --dur: 6s; --dl: .5s; }
.d-kabut b { background: radial-gradient(ellipse 34% 50% at 30% 50%, rgba(236, 241, 255, .45), transparent 72%), radial-gradient(ellipse 38% 46% at 72% 55%, rgba(236, 241, 255, .35), transparent 72%); }
.d-pinus { bottom: 64.4%; width: 46%; aspect-ratio: 220 / 320; background-image: url('pinus.svg'); --k: 2.1; --dur: 6.2s; --dl: .12s; }
.d-pinus.l { left: -14%; transform-origin: 0 100%; }
.d-pinus.r { right: -14%; transform-origin: 100% 100%; --sx: -1; }
.d-pinus.l2 { left: 14%; width: 22%; bottom: 65.2%; transform-origin: 50% 100%; --k: 1.8; --o: .9; --sx: -1; }
.d-pinus.r2 { right: 13%; width: 20%; bottom: 65.2%; transform-origin: 50% 100%; --k: 1.8; --o: .9; }

.d-tepi { left: -4%; width: 108%; top: 31.4%; aspect-ratio: 400 / 50; background-image: url('tepi-salju.svg'); transform-origin: 50% 0; --k: 2; --dur: 6.2s; --dl: .1s; }

/* ornamen: muncul bergiliran setelah zoom berjalan */
.d-kaca { left: 0; right: 0; top: 0; height: 40%; background: radial-gradient(ellipse 60% 60% at 50% 48%, transparent 58%, rgba(214, 224, 250, .16) 80%, rgba(214, 224, 250, .3)); --dl: 2.2s; --ty: 0; }
.d-mahkota { left: 25%; width: 50%; top: 4.6%; aspect-ratio: 300 / 120; background-image: url('mahkota.svg'); transform-origin: 50% 100%; --ty: 18px; --dl: 2.4s; filter: drop-shadow(0 0 10px rgba(210, 222, 255, .6)); }
.d-untaian { left: -2%; width: 104%; top: -4px; aspect-ratio: 420 / 110; background-image: url('untaian-es.svg'); transform-origin: 50% 0; --ty: -20px; --dl: 2.75s; }
.d-keping { width: 9%; aspect-ratio: 1; transform-origin: 50% 0; --ty: -26px; }
.d-keping b { background-image: url('kristal.svg'); }
.d-keping::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 1px; height: var(--tali, 40px); background: linear-gradient(transparent, rgba(236, 241, 255, .8)); }
.d-keping.k1 { left: 9%; top: 6.6%; --tali: 46px; --dl: 3.1s; }
.d-keping.k2 { right: 9%; top: 6.6%; --tali: 46px; --dl: 3.35s; }
.d-keping.k3 { left: 20%; top: 4.2%; width: 6%; --tali: 26px; --dl: 3.6s; }
.d-keping.k4 { right: 20%; top: 4.2%; width: 6%; --tali: 26px; --dl: 3.85s; }
.d-angsa { left: 35%; width: 30%; top: 36.6%; aspect-ratio: 160 / 80; --dl: 4.3s; --tx: 0; }
.d-angsa b { background-image: url('angsa.svg'); }
.d-sudut { width: 22%; aspect-ratio: 1; background-image: url('sudut-es.svg'); --o: .92; }
.d-sudut.tl { left: 3%; top: 11.5%; --dl: 4.9s; }
.d-sudut.tr { right: 3%; top: 11.5%; --sx: -1; --dl: 5.05s; }
.d-sudut.br { right: 3%; bottom: 3%; --sx: -1; --sy: -1; --dl: 5.2s; }
.d-sudut.bl2 { left: 3%; bottom: 3%; --sy: -1; --dl: 5.35s; }
.d-kilau { width: 6%; aspect-ratio: 1; background-image: url('kilau.svg'); }
.d-kilau.s1 { left: 47%; top: 1.5%; --dl: 5.5s; }
.d-kilau.s2 { left: 30%; top: 17%; width: 4%; --dl: 5.7s; }
.d-kilau.s3 { right: 26%; top: 14%; width: 5%; --dl: 5.9s; }
.d-kilau.s4 { left: 62%; top: 40%; width: 4%; --dl: 6.1s; }

/* dahan terdekat: buram → tajam, dilihat dari balik cemara bersalju */
.d-dahan { top: -4%; width: 54%; aspect-ratio: 280 / 340; }
.d-dahan b { background-image: url('dahan-dekat.svg'); }
.d-dahan.l { left: -16%; transform-origin: 0 0; }
.d-dahan.r { right: -16%; transform-origin: 100% 0; }
.d-dahan.r b { transform: scaleX(-1); }
.d-dahan.bl { filter: blur(7px); width: 82%; top: -10%; }
.d-dahan.bl.l { left: -26%; }
.d-dahan.bl.r { right: -26%; }

body.opened :is(.d-bintang, .d-aurora, .d-gunung, .d-istana, .d-danau, .d-pantul, .d-kabut, .d-pinus, .d-tepi) { animation: dpZoom var(--dur, 6s) cubic-bezier(.22, .62, .2, 1) var(--dl, 0s) both; }
body.opened :is(.d-kaca, .d-untaian, .d-keping, .d-sudut) { animation: dpPop 1.7s cubic-bezier(.2, .8, .2, 1) var(--dl, 0s) both; }
body.opened .d-angsa { animation: dpGlide 2.6s 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.2s ease-in-out calc(var(--dl) + 1.2s) infinite; }
body.opened .d-dahan { animation: dpLeaf 6s cubic-bezier(.22, .62, .2, 1) both; }
body.opened .d-dahan.bl { animation-name: dpLeafBlur; }
body.opened .d-kabut b { animation: drift 18s ease-in-out 3s infinite alternate; }
body.opened .d-keping b { animation: sway 6s ease-in-out 5s infinite; transform-origin: 50% -40%; }
body.opened .d-keping.k2 b, body.opened .d-keping.k4 b { animation-delay: 6.4s; }
body.opened .d-angsa b { animation: bob 5s ease-in-out 7s infinite; }

@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) * .55), calc(var(--sy, 1) * .55)); } to { opacity: var(--o, 1); transform: scale(var(--sx, 1), var(--sy, 1)); } }
@keyframes dpGlide { from { opacity: 0; transform: translateY(14px) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes dpLeaf { from { opacity: 0; transform: scale(calc(var(--sx, 1) * 3.4), 3.4); } 40% { opacity: 0; } to { opacity: .97; transform: scale(var(--sx, 1), 1); } }
@keyframes dpLeafBlur { from { opacity: .96; transform: scale(calc(var(--sx, 1) * 2.1), 2.1); } 72% { 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 bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* ════════════════════════════════════════════════════════════════
   ISI
   ════════════════════════════════════════════════════════════════ */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: -4px 0 42px; }
.tr-i { position: relative; padding: 0; border: 0; aspect-ratio: 1 / 1.16; overflow: hidden; clip-path: var(--hex); background: var(--silver-g); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tr-i img, .tr-i.ph::before { position: absolute; inset: 2.5px; width: calc(100% - 5px); height: calc(100% - 5px); object-fit: cover; clip-path: var(--hex); 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: ''; background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(255, 255, 255, .22), transparent 70%), linear-gradient(170deg, #3b4a9c, #141c50); }
.tr-i.ph svg { position: relative; z-index: 1; width: 46%; height: 46%; color: #eef2ff; filter: drop-shadow(0 0 6px rgba(200, 215, 255, .7)); }
.verse-t { margin-top: 18px; font: italic 500 18px/1.75 var(--f-b); color: #eef2ff; }
.verse-s { margin-top: 16px; font: 500 11.5px/1.4 var(--f-h); letter-spacing: .26em; color: var(--lilac); }

.sec-sudut { position: absolute !important; z-index: 1 !important; width: 96px; aspect-ratio: 1; top: 40px; background: url('sudut-es.svg') center / contain no-repeat; opacity: .9; pointer-events: none; filter: drop-shadow(0 0 1px rgba(80, 95, 170, .6)); }
.sec-sudut.tl { left: 10px; }
.sec-sudut.tr { right: 10px; transform: scaleX(-1); }
.person { max-width: 320px; margin: 0 auto; }
.p-bk { width: 176px; }
.p-bk .bk-mono { font-size: 72px; }
.p-name { margin: 16px 0 6px; font: 400 40px/1.2 var(--f-n); color: var(--navy); }
.p-par { color: var(--ink-s); font-size: 17px; line-height: 1.6; }
.p-par b { font: 500 10.5px/1.5 var(--f-h); letter-spacing: .28em; text-transform: uppercase; color: var(--peri); }
.and { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px auto; max-width: 260px; }
.and i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--ice-d)); }
.and i:last-child { transform: scaleX(-1); }
.and span { width: 58px; height: 58px; display: grid; place-items: center; font: italic 500 30px/1 var(--f-b); color: var(--navy); background: linear-gradient(180deg, #fff, #e5ebfb); clip-path: var(--hex); }

.utara { background: url('latar-gelap.svg') 0 0 / 140px, radial-gradient(ellipse 80% 40% at 50% 34%, rgba(150, 120, 230, .35), transparent 70%), linear-gradient(180deg, #1a1f5e, #2a2672 45%, #0e1440); }
.cd-aurora { position: absolute !important; z-index: 0 !important; left: -30%; width: 160%; top: 0; aspect-ratio: 400 / 200; background: url('aurora.svg') center / 100% 100% no-repeat; opacity: .75; animation: aurora 16s ease-in-out infinite alternate; pointer-events: none; }
.cd-keping { position: absolute !important; z-index: 1 !important; top: 30px; width: 38px; aspect-ratio: 1; background: url('kristal.svg') center / contain no-repeat; transform-origin: 50% -60px; animation: sway 6s ease-in-out infinite; }
.cd-keping::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 30px; background: linear-gradient(transparent, rgba(236, 241, 255, .8)); }
.cd-keping.l { left: 24px; }
.cd-keping.r { right: 24px; animation-delay: -3s; }
.arch-photo { position: relative; width: 100%; max-width: 250px; aspect-ratio: 240 / 330; margin: 0 auto 40px; display: grid; place-items: center; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .4)) drop-shadow(0 0 22px rgba(190, 205, 255, .3)); }
.arch-photo::before { content: ''; position: absolute; inset: 0; clip-path: var(--arch); background: linear-gradient(180deg, #0a0f2e 0%, #1e2a72 38%, #7682cc 62%, #b6b5e6 66%, #3b4a9c 67%, #121a45 100%); }
.arch-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: var(--arch); }
.arch-photo::after { content: ''; position: absolute; inset: 0; background: url('bingkai.svg') center / 100% 100% no-repeat; }
.ap-istana { position: absolute; left: 6%; right: 6%; bottom: 33%; aspect-ratio: 400 / 300; background: url('istana.svg') center / 100% 100% no-repeat; }
.arch-photo.none .ap-istana::before { content: ''; position: absolute; left: -10%; right: -10%; bottom: 112%; aspect-ratio: 400 / 200; background: url('aurora.svg') center / 100% 100% no-repeat; opacity: .9; }
.quote-s { margin: 16px auto 28px; max-width: 310px; font: italic 500 18px/1.65 var(--f-b); color: #eef2ff; }
.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 / 1.14; display: grid; place-content: center; color: #fff; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)) drop-shadow(0 0 10px rgba(190, 205, 255, .25)); }
.cd > div::before, .cd > div::after { content: ''; position: absolute; clip-path: var(--hex); }
.cd > div::before { inset: 0; background: var(--silver-g); }
.cd > div::after { inset: 2px; background: radial-gradient(ellipse 80% 50% at 50% 20%, rgba(255, 255, 255, .25), transparent 70%), linear-gradient(180deg, #3a4699, #161d58); }
.cd > div > * { position: relative; z-index: 1; }
.cd b { display: block; font: 500 24px/1.1 var(--f-h); font-variant-numeric: tabular-nums; }
.cd span { display: block; margin-top: 3px; font: 500 8.5px/1 var(--f-h); letter-spacing: .14em; text-transform: uppercase; color: var(--ice); }

/* kartu kristal bersudut potong */
.event, .card { position: relative; filter: drop-shadow(0 18px 24px rgba(30, 40, 100, .18)); }
.event::before, .card::before { content: ''; position: absolute; inset: 0; z-index: 0; clip-path: var(--oct); background: linear-gradient(135deg, #ffffff, #b3c0ea 40%, #ffffff 55%, #c4b3ec); }
.event::after, .card::after { content: ''; position: absolute; inset: 1.5px; z-index: 0; clip-path: var(--oct); background: url('latar-terang.svg') 0 0 / 140px, radial-gradient(ellipse 90% 40% at 50% 0, #fff, transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(240, 244, 253, .96)); }
.event > *, .card > * { position: relative; z-index: 1; }
.event { max-width: 360px; margin: 34px auto 30px; padding: 50px 24px 30px; }
.ev-ico { position: absolute !important; left: 50%; top: -28px; width: 56px; height: 62px; margin-left: -28px; display: grid; place-items: center; z-index: 2 !important; }
.ev-ico::before, .ev-ico::after { content: ''; position: absolute; clip-path: var(--hex); }
.ev-ico::before { inset: 0; background: var(--silver-g); }
.ev-ico::after { inset: 2px; background: linear-gradient(180deg, #3b4a9c, #1c2763); }
.ev-ico svg { position: relative; z-index: 1; width: 30px; height: 30px; color: #fff; }
.ev-t { font: 400 42px/1.2 var(--f-n); color: var(--navy); margin-bottom: 12px; }
.ev-l { list-style: none; margin: 0 0 20px; 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: 5px; color: var(--peri); }
.loc { max-width: 380px; margin: 40px auto 0; }
.map { height: 210px; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--ice-d), 0 16px 26px -18px rgba(30, 40, 100, .5); overflow: hidden; margin-bottom: 22px; z-index: 0; }
.loc-name { font: 500 16px/1.4 var(--f-h); letter-spacing: .06em; color: var(--navy); }
.loc-addr { margin: 4px 0 18px; font-size: 17px; color: var(--ink-s); }

#kisah { padding-bottom: 160px; }
.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, rgba(220, 230, 251, .7) 10%, rgba(196, 179, 236, .7) 90%, transparent); }
.tl-i { position: relative; display: flex; gap: 16px; margin-bottom: 26px; }
.tl-i:last-child { margin-bottom: 0; }
.tl-dot { position: relative; flex: none; width: 52px; height: 58px; display: grid; place-items: center; filter: drop-shadow(0 0 10px rgba(190, 205, 255, .35)); }
.tl-dot::before, .tl-dot::after { content: ''; position: absolute; clip-path: var(--hex); }
.tl-dot::before { inset: 0; background: var(--silver-g); }
.tl-dot::after { inset: 2px; background: linear-gradient(180deg, #4a3f99, #1c2763); }
.tl-dot svg { position: relative; z-index: 1; width: 28px; height: 28px; color: #fff; }
.tl-c { position: relative; flex: 1; padding: 16px 18px 18px; background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(220, 230, 251, .35); border-radius: 18px 4px 18px 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.tl-n { position: absolute; right: 14px; top: 10px; font: 500 11px/1 var(--f-h); letter-spacing: .2em; color: var(--lilac); opacity: .8; }
.tl-c h3 { padding-right: 18px; font: 400 29px/1.2 var(--f-n); color: #fff; margin-bottom: 4px; }
.tl-c p { font-size: 16.5px; line-height: 1.6; color: rgba(226, 233, 252, .92); }
.kisah-angsa { position: absolute !important; z-index: 1 !important; left: 50%; bottom: 38px; width: 160px; margin-left: -80px; aspect-ratio: 160 / 80; background: url('angsa.svg') center / contain no-repeat; animation: bob 5s ease-in-out infinite; }
#kisah::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; z-index: 0; background: radial-gradient(ellipse 38% 26% at 50% 70%, rgba(200, 214, 255, .5), rgba(120, 140, 220, .18) 60%, transparent 74%); }

.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: 3px solid #fff; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1.15; background: var(--navy); cursor: pointer; box-shadow: 0 0 0 1.5px var(--ice-d), 0 18px 26px -18px rgba(30, 40, 100, .55); -webkit-tap-highlight-color: transparent; }
.gal-i.g0, .gal-i:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 16 / 10; }
.gal-i.g1 { border-radius: 999px 999px 16px 16px; }
.gal-i.g4 { border-radius: 16px 16px 999px 999px; }
.gal-i.g3 { border-radius: 40px 4px 40px 4px; }
.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-gelap.svg') 0 0 / 140px, radial-gradient(ellipse 80% 50% at 50% 20%, rgba(255, 255, 255, .2), transparent 70%), linear-gradient(170deg, #3b4a9c, #141c50); }
.gal-i.ph:nth-child(even) { background: url('latar-gelap.svg') 0 0 / 140px, radial-gradient(ellipse 80% 50% at 50% 20%, rgba(255, 255, 255, .2), transparent 70%), linear-gradient(170deg, #7a62b8, #251c5a); }
.gal-i.ph svg { width: 40%; height: 40%; color: #eef2ff; filter: drop-shadow(0 0 8px rgba(200, 215, 255, .7)); }

/* ── Form & ucapan ── */
.card { max-width: 400px; margin: 0 auto; padding: 30px 22px; text-align: left; }
.f-l { display: block; margin: 16px 0 6px; font: 500 10.5px/1.3 var(--f-h); letter-spacing: .22em; text-transform: uppercase; color: var(--navy-m); }
.form label.f-l:first-of-type { margin-top: 0; }
.f-in { width: 100%; padding: 11px 14px; border: 1px solid var(--ice-d); border-radius: 12px; background: #fff; color: var(--ink); font: 500 17px/1.5 var(--f-b); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.f-in:focus { border-color: var(--peri); box-shadow: 0 0 0 3px rgba(111, 127, 200, .2); }
.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: 11px 4px; text-align: center; font: 500 10.5px/1.3 var(--f-h); letter-spacing: .06em; border: 1px solid var(--ice-d); border-radius: 999px; background: #fff; color: var(--ink-s); cursor: pointer; transition: all .2s; }
.ch input:checked + span { background: linear-gradient(180deg, #3b4a9c, #1c2763); border-color: var(--navy); color: #fff; }
.ch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(111, 127, 200, .35); }
.form .btn { margin-top: 24px; }

.wish-head { display: flex; align-items: center; justify-content: space-between; max-width: 400px; margin: 48px auto 14px; }
.wish-head h3 { font: 400 38px/1.2 var(--f-n); color: var(--navy); }
.wh-live { display: inline-flex; align-items: center; gap: 6px; font: 500 10px/1 var(--f-h); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-m); }
.wh-live i { width: 7px; height: 7px; border-radius: 50%; background: #4fb6a6; 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(--navy-m); display: flex; gap: 12px; padding: 14px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(169, 183, 230, .6); border-radius: 16px 4px 16px 4px; box-shadow: 0 10px 20px -16px rgba(30, 40, 100, .5); }
.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: 40px; height: 44px; display: grid; place-items: center; clip-path: var(--hex); background: var(--av); color: #fff; font: 500 15px/1 var(--f-h); }
.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; }
.wish-badge { padding: 2px 10px; border-radius: 999px; font: 500 9.5px/1.6 var(--f-h); letter-spacing: .08em; text-transform: uppercase; }
.wish-badge.hadir { background: #dcefee; color: #2b7a70; }
.wish-badge.tidak { background: #ece4f8; color: #6a4fa6; }
.wish-badge.ragu  { background: #f4ecdc; color: #8a6a2c; }
.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: #8a92b6; }
.wish-empty { text-align: center; padding: 20px; color: #8a92b6; font-style: italic; }

/* ── Kado (partial) ── */
.gift-box { max-width: 420px; margin: 0 auto; border-radius: 18px; background: var(--pearl); overflow: hidden; color: var(--ink); text-align: left; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--ice-d), 0 0 30px rgba(190, 205, 255, .25), 0 18px 36px -26px rgba(0, 0, 0, .9); }
.gift-wrap .gs-heading h2 { font-family: var(--f-n) !important; font-weight: 400 !important; font-size: 38px !important; color: var(--navy) !important; }
.gift-wrap .gs-heading h2::after { background: var(--ice-d) !important; }
.gift-wrap .gs-card, .gift-wrap .gs-bank-card { border: 1px solid rgba(169, 183, 230, .6) !important; border-radius: 14px !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(--navy) !important; color: #fff !important; }
.gift-wrap .gs-bank-logo { background: #e3e8f8 !important; color: var(--navy) !important; }

/* ── Penutup: istana di bawah aurora ── */
.end { padding-top: 110px; padding-bottom: 400px; background: linear-gradient(0deg, #121a45 0, #1d2762 120px, #5d6db8 196px, #b6b5e6 200px, #7682cc 214px, #2f3c94 330px, #141d55 460px, var(--navy-dd) 100%); }
.end > i { position: absolute !important; z-index: 0 !important; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.end-bintang { left: 0; right: 0; top: 0; bottom: 200px; background: url('bintang.svg') center / cover !important; opacity: .9; }
.end-aurora { left: -30%; width: 160%; bottom: 300px; aspect-ratio: 400 / 200; background-image: url('aurora.svg'); opacity: .55; }
.end-gunung { left: -10%; width: 120%; bottom: 196px; aspect-ratio: 400 / 140; background-image: url('gunung.svg'); }
.end-istana { left: 16%; width: 68%; bottom: 194px; aspect-ratio: 400 / 300; background-image: url('istana.svg'); }
.end-danau { left: 0; right: 0; bottom: 0; height: 200px; background-image: url('danau.svg'); }
.end-pinus { bottom: 150px; width: 42%; aspect-ratio: 220 / 320; background-image: url('pinus.svg'); z-index: 1 !important; }
.end-pinus.l { left: -14%; }
.end-pinus.r { right: -14%; transform: scaleX(-1); }
.end-tepi { left: -4%; width: 108%; bottom: 142px; aspect-ratio: 400 / 50; background-image: url('tepi-salju.svg'); z-index: 1 !important; }
.end-angsa { left: 50%; bottom: 74px; width: 120px; margin-left: -60px; aspect-ratio: 160 / 80; background-image: url('angsa.svg'); z-index: 1 !important; }
.end .sec-in { position: relative; }
.end .sec-in::before { content: ''; position: absolute; inset: -30px -40px; z-index: -1; background: radial-gradient(ellipse 60% 56% at 50% 50%, rgba(10, 15, 46, .7), transparent 76%); }
.end-mahkota { display: block; width: 190px; aspect-ratio: 300 / 120; margin: 0 auto 18px; 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: 500 10px/1.5 var(--f-h); letter-spacing: .28em; text-transform: uppercase; color: var(--lilac); }
.end-credit { font-size: 14px; opacity: .75; }

/* ── Lightbox ── */
.gallery-lightbox { display: none; position: fixed; inset: 0; z-index: 7000; align-items: center; justify-content: center; background: rgba(8, 12, 38, .95); opacity: 0; transition: opacity .3s; }
.lb-img-wrap img { max-width: 92vw; max-height: 80vh; border: 3px solid #fff; border-radius: 14px; box-shadow: 0 0 40px rgba(190, 205, 255, .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(--silver-g); color: var(--navy); font: 500 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: #fff; font: 500 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(--navy-dd); }
    .side-photo { position: absolute; inset: 0; background: center / cover no-repeat; animation: zoomSlow 20s ease-in-out infinite alternate; }
    .side-photo.none { background: url('pinus.svg') left -40px bottom 22% / auto 46% no-repeat, url('pinus.svg') right -40px bottom 22% / auto 40% no-repeat, url('istana.svg') center bottom 33% / auto 42% no-repeat, url('gunung.svg') center bottom 34% / 130% auto no-repeat, url('aurora.svg') center top 26% / 120% auto no-repeat, url('bintang.svg') center top / cover no-repeat, linear-gradient(180deg, #0a0f2e 0%, #141d55 30%, #34419a 52%, #7d86cf 62%, #b9b7e8 66.6%, #2c3887 67%, #121a45 100%); animation: none; }
    .side-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 46, .1) 30%, rgba(10, 15, 46, .86)); }
    .side-in { position: absolute; left: 0; right: 0; bottom: 12vh; padding: 0 40px; text-align: center; color: #fff; }
    .side-photo.none ~ .side-shade { background: linear-gradient(180deg, rgba(10, 15, 46, .7), rgba(10, 15, 46, .25) 34%, transparent 50%); }
    .side-photo.none ~ .side-in { top: 9vh; bottom: auto; }
    .side-photo.none ~ .side-in .sd-n { filter: drop-shadow(0 2px 14px rgba(10, 15, 46, .85)); }
    .sd-k { font: 500 14px/1.4 var(--f-h); letter-spacing: .4em; text-transform: uppercase; color: var(--lilac); }
    .sd-n { margin: 10px 0 14px; font: 400 clamp(60px, 6.6vw, 108px)/1.15 var(--f-n); background: var(--silver-g); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .sd-n i { font-style: normal; font-size: .62em; }
    .sd-d { font: 500 15px/1.4 var(--f-h); letter-spacing: .22em; 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); }
    .snow { left: auto; width: var(--col); }
}
@keyframes zoomSlow { to { transform: scale(1.07); } }

@media (max-height: 700px) {
    .cv-mahkota { width: 150px; }
    .cv-bk { width: 104px; }
    .cv-names { font-size: 42px; margin: 2px 0 8px; }
    .cv-to { margin-bottom: 12px; }
}
@media (max-width: 360px) {
    .names-xl { font-size: 50px; }
    .cd b { font-size: 20px; }
    .h-t { font-size: 44px; }
}
@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; }
    .snow, .cv-snow { display: none; }
    .dp-l, .cv-l { opacity: var(--o, 1); animation: none !important; }
    .d-dahan.bl { opacity: 0; visibility: hidden; }
    .cover-in > * { animation: none !important; opacity: 1; }
}

/* kisah cinta dinamis */
.tl-date { display: block; margin-bottom: 4px; padding-right: 34px; font: 500 10.5px/1.5 var(--f-h); letter-spacing: .24em; text-transform: uppercase; color: var(--ice-d); }
.tl-c h3 { padding-right: 30px; overflow-wrap: anywhere; }
