/* ════════════════════════════════════════════════════════════════
   MAWAR NOIR — beludru hitam, mawar merah darah, emas antik
   & cahaya lilin kandil barok
   ════════════════════════════════════════════════════════════════ */
:root {
    --noir: #0b0708;
    --noir-2: #140b0d;
    --velvet: #2a0710;
    --ox: #5a0c19;
    --wine: #7d1223;
    --rose: #a4243b;
    --blush: #e8c4bb;
    --ivory: #f6eee4;
    --paper: #fffaf3;
    --ink: #2b1a1c;
    --ink-s: #5e4a4b;
    --gold: #c9a45c;
    --gold-d: #8a6a2f;
    --gold-l: #ecd59a;
    --col: 490px;
    --f-h: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
    --f-n: 'Pinyon Script', 'Snell Roundhand', cursive;
    --f-b: 'Cormorant Garamond', Garamond, Georgia, serif;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --gold-g: linear-gradient(135deg, #f8e9b4 0%, #d2ad62 30%, #8a6526 52%, #ead08a 72%, #b08740 100%);
    --gold-t: linear-gradient(180deg, #fbefc4 0%, #e4c47c 42%, #b0853a 70%, #f0d998 100%);
    --oval: ellipse(35.4% 35.9% at 50% 52.35%);
    --tag: polygon(var(--c, 12px) 0, calc(100% - var(--c, 12px)) 0, 100% 50%, calc(100% - var(--c, 12px)) 100%, var(--c, 12px) 100%, 0 50%);
}

*, *::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.7 var(--f-b);
    color: var(--ink); background: var(--noir);
    -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: 16px; height: 16px; flex: none; }

/* ── Kolom & bagian ── */
.stage { max-width: var(--col); margin: 0 auto; position: relative; overflow: hidden; background: var(--noir); }
.sec { position: relative; padding: 100px 26px 92px; 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: 18px; z-index: 3; pointer-events: none; background: url('pita.svg') repeat-x left top / auto 18px; }
.noir {
    color: var(--ivory);
    background: url('damask-gelap.svg') center top / 120px 160px,
        radial-gradient(ellipse 90% 40% at 50% 0, rgba(125, 18, 35, .32), transparent 70%),
        radial-gradient(ellipse 70% 30% at 50% 100%, rgba(201, 164, 92, .08), transparent 70%), var(--noir);
}
.kertas { background: url('damask-terang.svg') center top / 120px 160px, radial-gradient(ellipse 80% 50% at 50% 50%, #fffaf3, transparent 80%), var(--ivory); color: var(--ink); }
.kertas.blush { background: url('damask-terang.svg') center top / 120px 160px, radial-gradient(ellipse 80% 50% at 50% 50%, #fbefea, transparent 80%), #f1ddd6; }
.anggur {
    color: var(--ivory);
    background: radial-gradient(ellipse 60% 34% at 50% 38%, rgba(255, 176, 110, .2), transparent 70%),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, .34) 0, rgba(255, 140, 150, .05) 13px, rgba(0, 0, 0, .3) 30px, rgba(255, 140, 150, .03) 42px, rgba(0, 0, 0, .34) 56px),
        linear-gradient(180deg, #4a0b17 0%, #2a050d 60%, #18030a 100%);
}
.sec-head { margin-bottom: 36px; }
.sec-sub { margin: 14px auto 0; max-width: 320px; font-size: 16.5px; opacity: .9; }

/* ── Tipografi ── */
.h-k { font: 500 10.5px/1.4 var(--f-h); letter-spacing: .42em; text-transform: uppercase; color: var(--wine); padding-left: .42em; }
.noir .h-k, .anggur .h-k { color: var(--gold); }
.h-t { margin-top: 8px; font: italic 400 40px/1.15 var(--f-h); letter-spacing: -.01em; }
.kertas .h-t { color: #1a0d0f; }
.noir .h-t, .anggur .h-t { background: var(--gold-t); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 4px; }
.h-t::after { content: ''; display: block; width: 210px; height: 26px; margin: 12px auto 0; background: url('pembatas.svg') center / contain no-repeat; }
.names-xl, .cv-names { font-family: var(--f-n); font-weight: 400; background: var(--gold-t); -webkit-background-clip: text; background-clip: text; color: transparent; }
.names-xl { margin: 6px 0 4px; text-wrap: balance; font-size: 54px; line-height: 1.3; padding: 0 10px; }
.names-xl i, .cv-names i { font-family: var(--f-h); font-style: italic; font-size: .5em; padding: 0 .15em; }
.salam { margin: 20px 0 8px; font: italic 400 16px/1.5 var(--f-h); color: var(--gold-l); }
.body-c { max-width: 336px; margin: 0 auto 8px; color: rgba(246, 238, 228, .86); font-size: 17px; line-height: 1.65; }
.date-l { margin-top: 8px; font: 500 11.5px/1.5 var(--f-h); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-l); padding-left: .32em; }

/* ── Bingkai cermin barok ── */
.cm-wrap { position: relative; width: var(--w, 170px); margin: 0 auto; }
.cm { position: relative; width: 100%; aspect-ratio: 260 / 340; margin: 0 auto; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .55)); }
.cm-ph { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; clip-path: var(--oval);
    background: radial-gradient(ellipse 60% 45% at 50% 40%, #6e1426, #2a050d 70%, #140205); }
.cm-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cm-ph.none::after { content: ''; position: absolute; inset: 0; background: url('damask-gelap.svg') center / 60px 80px; opacity: .9; }
.cm::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: url('bingkai.svg') center / 100% 100% no-repeat; }
.cm-mono { position: relative; z-index: 1; margin-top: 8%; font: 400 calc(var(--w, 170px) * .27)/1 var(--f-n); background: var(--gold-t); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); padding: 0 .1em; }
.cm.rose .cm-ph.none { background: radial-gradient(ellipse 60% 45% at 50% 40%, #e8c4bb, #b36d72 70%, #6e2a34); }
.cm.rose .cm-mono { background: linear-gradient(180deg, #fff6ea, #f1d6c8); -webkit-background-clip: text; background-clip: text; }
.cm-garland { position: absolute; z-index: 2; left: -27%; width: 154%; top: calc(var(--w, 170px) * -.2); aspect-ratio: 400 / 150; background: url('garland.svg') center / 100% 100% no-repeat; pointer-events: none; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .5)); }
.cm-seal { position: absolute !important; z-index: 3; left: 50%; bottom: calc(var(--w, 170px) * -.1); width: calc(var(--w, 170px) * .34); margin-left: calc(var(--w, 170px) * -.17); }

/* ── Segel lilin ── */
.seal { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: url('segel.svg') center / 100% 100% no-repeat; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .45)); }
.seal b { font: 500 12px/1 var(--f-h); letter-spacing: .04em; color: #f0d99a; text-shadow: 0 -1px 0 rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 190, 200, .25); }
.seal svg { width: 44%; height: 44%; color: #ecd59a; filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .5)); }

/* ── Tombol berujung runcing ── */
.btn, .btn-buka {
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    margin: 4px; padding: 15px 34px; border: 0; --c: 14px; clip-path: var(--tag);
    font: 500 11px/1 var(--f-h); letter-spacing: .26em; text-transform: uppercase; text-decoration: none; cursor: pointer;
    color: var(--gold-l); background: var(--gold-g);
    transition: transform .25s var(--ease), filter .25s; -webkit-tap-highlight-color: transparent;
}
.btn::before { content: ''; position: absolute; inset: 1.5px; z-index: -1; clip-path: var(--tag); background: linear-gradient(180deg, #2a0710, #0b0708); }
.btn::after, .btn-buka::after { content: ''; position: absolute; inset: 4.5px; z-index: -1; clip-path: var(--tag); border: 0; background: linear-gradient(90deg, transparent, rgba(236, 213, 154, .0)); box-shadow: none; outline: 1px solid rgba(236, 213, 154, .35); outline-offset: -1px; }
.btn:hover, .btn-buka:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-buka, .btn.emas { color: #1a0a0c; background: var(--gold-g); }
.btn.emas::before { display: none; }
.btn-buka::after, .btn.emas::after { outline-color: rgba(60, 30, 8, .4); }
.btn.sm { padding: 12px 26px; font-size: 10px; }
.btn.full { width: calc(100% - 8px); }
.kertas .btn::before { background: linear-gradient(180deg, #24070e, #0b0708); }
.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.16); } }

/* ── Musik, kelopak, 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: radial-gradient(circle at 40% 35%, #8e1a2d, #3a0610); color: var(--gold-l); box-shadow: 0 0 0 1.5px var(--gold), 0 0 0 4px rgba(11, 7, 8, .7), 0 8px 18px -6px rgba(0, 0, 0, .8); 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 i { position: absolute; top: -30px; width: var(--s); height: calc(var(--s) * 1.2); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .28), transparent 55%), currentColor; border-radius: 60% 40% 55% 45% / 55% 50% 50% 45%; opacity: 0; box-shadow: inset -2px -2px 3px rgba(0, 0, 0, .25); animation: petalFall var(--d) linear var(--w) infinite; will-change: transform; }
.petals i.gd { height: var(--s); border-radius: 50%; background: #f3dc9a; box-shadow: 0 0 6px 2px rgba(236, 200, 120, .55); }
@keyframes petalFall { 0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; } 8% { opacity: .9; } 90% { opacity: .75; } 100% { transform: translate3d(var(--x), 108vh, 0) rotate(520deg); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 8000; transform: translate(-50%, 24px); padding: 12px 24px; background: var(--noir); color: var(--gold-l); box-shadow: 0 0 0 1px var(--gold), 0 0 0 4px var(--noir), 0 0 0 5px rgba(201, 164, 92, .4); font: italic 400 16px/1.3 var(--f-b); 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(.97); 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; }

/* ── Kandil & api lilin (dipakai cover, hero, hitung mundur, penutup) ── */
:is(.cv-kandil, .d-kandil, .cd-kandil, .end-kandil) > b { position: absolute; width: 11%; aspect-ratio: 1 / 2; background: url('api.svg') center / 100% 100% no-repeat; transform-origin: 50% 92%; animation: flicker 2.6s ease-in-out infinite; }
:is(.cv-kandil, .d-kandil, .cd-kandil, .end-kandil) > b::before { content: ''; position: absolute; left: -210%; right: -210%; top: -90%; bottom: -60%; border-radius: 50%; background: radial-gradient(circle at 50% 58%, rgba(255, 214, 140, .5), rgba(255, 150, 70, .16) 38%, transparent 68%); animation: halo 3.4s ease-in-out infinite; }
:is(.cv-kandil, .d-kandil, .cd-kandil, .end-kandil) > .f1 { left: 44.5%; top: -2.4%; }
:is(.cv-kandil, .d-kandil, .cd-kandil, .end-kandil) > .f2 { left: 14.5%; top: 13.1%; animation-delay: -.9s; }
:is(.cv-kandil, .d-kandil, .cd-kandil, .end-kandil) > .f3 { left: 74.5%; top: 13.1%; animation-delay: -1.7s; }
:is(.cv-kandil, .d-kandil, .cd-kandil, .end-kandil) > .f2::before { animation-delay: -1.3s; }
:is(.cv-kandil, .d-kandil, .cd-kandil, .end-kandil) > .f3::before { animation-delay: -2.2s; }
@keyframes flicker { 0%, 100% { transform: scale(1, 1) rotate(0); } 20% { transform: scale(.94, 1.07) rotate(-2deg); } 45% { transform: scale(1.04, .95) rotate(1.5deg); } 70% { transform: scale(.97, 1.04) rotate(-1deg); } }
@keyframes halo { 0%, 100% { opacity: .85; transform: scale(1); } 40% { opacity: 1; transform: scale(1.08); } 70% { opacity: .7; transform: scale(.96); } }
@keyframes smoke { from { transform: translate3d(-6%, 0, 0) scale(1); } to { transform: translate3d(6%, -3%, 0) scale(1.08); } }

/* ════════════════════════════════════════════════════════════════
   COVER — ruang beludru, dua kandil menyala, untaian mawar
   ════════════════════════════════════════════════════════════════ */
.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: radial-gradient(ellipse 80% 55% at 50% 46%, #3a0814 0%, #1c040a 55%, #0b0708 100%); }
.cover::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .32) 0, rgba(255, 140, 150, .045) 14px, rgba(0, 0, 0, .28) 32px, rgba(255, 140, 150, .03) 44px, rgba(0, 0, 0, .32) 58px); }
.cover.open { opacity: 0; transform: scale(1.1); pointer-events: none; }
.cv-bg { position: absolute; inset: 0; animation: cvDrift 11s 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-glow { left: -20%; right: -20%; top: 18%; height: 64%; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 170, 110, .22), rgba(160, 30, 50, .14) 45%, transparent 72%); --dl: 0s; }
.cv-haze { left: -30%; width: 160%; top: 30%; height: 40%; --o: .9; --dl: .3s; }
.cv-haze b, .d-haze b { position: absolute; inset: 0; background: radial-gradient(ellipse 30% 40% at 30% 50%, rgba(230, 200, 200, .07), transparent 70%), radial-gradient(ellipse 34% 36% at 70% 40%, rgba(230, 200, 200, .06), transparent 70%); animation: smoke 16s ease-in-out infinite alternate; }
.cv-kandil { bottom: 10%; width: 35%; aspect-ratio: 200 / 420; background-image: url('kandil.svg'); --dl: .3s; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); }
.cv-kandil.l { left: -7%; }
.cv-kandil.r { right: -7%; }
.cv-kandil.r > b { animation-delay: -1.2s; }
.cv-tirai { left: -4%; width: 108%; top: -1px; aspect-ratio: 400 / 170; background-image: url('tirai.svg'); --dl: .1s; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .65)); }
.cv-sudut { bottom: -3%; width: 66%; aspect-ratio: 300 / 240; background-image: url('mawar-sudut.svg'); --dl: .6s; filter: drop-shadow(0 -6px 12px rgba(0, 0, 0, .5)); }
.cv-sudut.l { left: -14%; }
.cv-sudut.r { right: -14%; transform: scaleX(-1); }
.cv-fili { width: 19%; aspect-ratio: 1; background-image: url('filigri.svg'); --o: .85; --dl: 1s; }
.cv-fili.tl { left: 3%; top: 21%; }
.cv-fili.tr { right: 3%; top: 21%; transform: scaleX(-1); }
.cover-in { position: relative; z-index: 3; width: 100%; max-width: 340px; padding: 96px 14px 40px; text-align: center; }
.cover-in::before { content: ''; position: absolute; inset: 40px -40px -10px; z-index: -1; background: radial-gradient(ellipse 56% 52% at 50% 54%, rgba(11, 7, 8, .82), transparent 76%); }
.cover-in > * { animation: cvRise 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.cv-cm { --w: 148px; animation-delay: .35s; margin-bottom: 26px; }
.cv-k { margin-top: 8px; font: 500 10.5px/1.4 var(--f-h); letter-spacing: .44em; text-transform: uppercase; color: var(--gold); padding-left: .44em; animation-delay: .7s; }
.cv-names { margin: 2px 0 10px; font-size: 52px; line-height: 1.16; display: flex; flex-direction: column; align-items: center; animation-delay: .85s; padding: 0 10px; }
.cv-names i { margin: -4px 0; }
.cv-to { margin-bottom: 20px; font: italic 400 16px/1.5 var(--f-b); color: rgba(246, 238, 228, .82); animation-delay: 1s; }
.cv-to b { display: block; margin-top: 2px; font: 400 19px/1.35 var(--f-h); font-style: normal; letter-spacing: .03em; color: var(--ivory); overflow-wrap: anywhere; }
.btn-buka { animation-delay: 1.2s; }
@keyframes cvRise { from { opacity: 0; transform: translateY(18px) scale(.95); } to { opacity: 1; transform: none; } }

/* ════════════════════════════════════════════════════════════════
   BAGIAN PERTAMA: kamera menjauh dari nyala lilin & kelopak mawar,
   lalu api kandil menyala satu per satu
   ════════════════════════════════════════════════════════════════ */
.hero { min-height: max(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; padding: 200px 22px 96px;
    background: radial-gradient(ellipse 80% 40% at 50% 34%, #3e0916 0%, #1e040b 55%, transparent 80%), linear-gradient(180deg, #120509 0%, #0b0708 100%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .3) 0, rgba(255, 140, 150, .04) 14px, rgba(0, 0, 0, .26) 32px, rgba(255, 140, 150, .03) 44px, rgba(0, 0, 0, .3) 58px); }
.hero-in { position: relative; width: 100%; z-index: 3 !important; }
.hero-in::before { content: ''; position: absolute; inset: -40px -40px -30px; z-index: -1; background: radial-gradient(ellipse 60% 58% at 50% 60%, rgba(11, 7, 8, .82), transparent 76%); }
.hero-cm { --w: 168px; margin-bottom: 26px; }

.dp { position: absolute !important; inset: 0; z-index: 1 !important; pointer-events: none; overflow: hidden; }
.dp-mid, .dp-front { z-index: 2 !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-glow { left: -20%; right: -20%; top: 4%; height: 52%; background: radial-gradient(ellipse 46% 46% at 50% 50%, rgba(255, 176, 110, .3), rgba(160, 30, 50, .16) 46%, transparent 72%); transform-origin: 50% 50%; --k: 1.5; --dur: 6.6s; --dl: 0s; }
.d-haze { left: -30%; width: 160%; height: 30%; --k: 1.3; --o: 1; --dur: 6s; }
.d-haze.h1 { top: 10%; --dl: .4s; }
.d-haze.h2 { top: 34%; --dl: .9s; }
.d-tirai { left: -4%; width: 108%; top: -1px; aspect-ratio: 400 / 170; background-image: url('tirai.svg'); transform-origin: 50% 0; --k: 1.35; --dur: 6.4s; --dl: .05s; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); }
.d-kandil { top: 25.5%; width: 34%; aspect-ratio: 200 / 420; background-image: url('kandil.svg'); --k: 1.9; --dur: 6.3s; --dl: .1s; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .6)); }
.d-kandil.l { left: -5%; transform-origin: 0 50%; }
.d-kandil.r { right: -5%; transform-origin: 100% 50%; }
.d-kandil > b { opacity: 0; }
.d-juntai { top: 6%; width: 15%; aspect-ratio: 140 / 400; --k: 2; --dur: 6.2s; --dl: .2s; }
.d-juntai.l { left: -1%; transform-origin: 0 0; }
.d-juntai.r { right: -1%; transform-origin: 100% 0; }
.d-juntai b { background-image: url('mawar-juntai.svg'); transform-origin: 50% 0; }
.d-juntai.r b { transform: scaleX(-1); }

/* ornamen: muncul bergiliran setelah zoom berjalan */
.d-fili { width: 18%; aspect-ratio: 1; background-image: url('filigri.svg'); --o: .85; }
.d-fili.tl { left: 23%; top: 13.5%; --dl: 4.2s; --sx: 1; width: 13%; }
.d-fili.tr { right: 23%; top: 13.5%; --sx: -1; --dl: 4.35s; width: 13%; }
.d-fili.bl { left: 3%; bottom: 3%; --sy: -1; --dl: 4.5s; }
.d-fili.br { right: 3%; bottom: 3%; --sx: -1; --sy: -1; --dl: 4.65s; }
.d-kilau { width: 2.2%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff6d8 0 22%, rgba(236, 200, 120, .7) 40%, transparent 70%); }
.d-kilau.s1 { left: 48%; top: 22%; --dl: 4.8s; }
.d-kilau.s2 { left: 30%; top: 30%; width: 1.6%; --dl: 5s; }
.d-kilau.s3 { right: 28%; top: 27%; --dl: 5.15s; }
.d-kilau.s4 { left: 12%; top: 50%; width: 1.4%; --dl: 5.3s; }
.d-kilau.s5 { right: 10%; top: 54%; width: 1.8%; --dl: 5.45s; }
.hero-band { position: absolute !important; left: 0; right: 0; bottom: 0; height: 18px; z-index: 4 !important; opacity: 0; background: url('pita.svg') repeat-x left bottom / auto 18px; --dl: 5.8s; --ty: 10px; }

/* buket terdekat: tajam; kelopak terdekat: buram lalu lenyap */
.d-sudut { bottom: -2%; width: 66%; aspect-ratio: 300 / 240; background-image: url('mawar-sudut.svg'); filter: drop-shadow(0 -6px 12px rgba(0, 0, 0, .5)); }
.d-sudut.l { left: -16%; transform-origin: 0 100%; }
.d-sudut.r { right: -16%; transform-origin: 100% 100%; --sx: -1; }
.d-kel { width: 46%; aspect-ratio: 100 / 104; background-image: url('kelopak.svg'); filter: blur(7px); }
.d-kel.k1 { left: -14%; top: 4%; transform-origin: 0 0; --r: -30deg; }
.d-kel.k2 { right: -16%; top: 18%; width: 52%; transform-origin: 100% 0; --r: 140deg; }
.d-kel.k3 { left: -8%; bottom: 12%; width: 40%; transform-origin: 0 100%; --r: 60deg; }
.d-kel.k4 { right: -10%; bottom: 2%; transform-origin: 100% 100%; --r: 200deg; }
/* nyala lilin di tengah layar saat pembuka: kamera dimulai dari dekat api */
.hero .dp-front::before { content: ''; position: absolute; left: 50%; top: 30%; width: 120px; height: 240px; margin: -120px 0 0 -60px; background: url('api.svg') center / 100% 100% no-repeat; opacity: 0; filter: blur(3px); }
.hero .dp-front::after { content: ''; position: absolute; left: 50%; top: 30%; width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 220, 150, .55), rgba(255, 150, 70, .18) 35%, transparent 65%); opacity: 0; }
body.opened .hero .dp-front::before { animation: bigFlame 2.6s cubic-bezier(.3, .6, .2, 1) both; }
body.opened .hero .dp-front::after { animation: bigFlame 3s cubic-bezier(.3, .6, .2, 1) both; }
@keyframes bigFlame { 0% { opacity: .95; transform: scale(2.2); } 55% { opacity: .5; } 100% { opacity: 0; transform: scale(.3); } }

body.opened :is(.d-glow, .d-haze, .d-tirai, .d-kandil, .d-juntai) { animation: dpZoom var(--dur, 6s) cubic-bezier(.22, .62, .2, 1) var(--dl, 0s) both; }
body.opened :is(.d-fili, .hero-band) { animation: dpPop 1.7s cubic-bezier(.2, .8, .2, 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-sudut { animation: dpNear 6s cubic-bezier(.22, .62, .2, 1) .1s both; }
body.opened .d-kel { animation: dpPetal 5.2s cubic-bezier(.22, .62, .2, 1) both; }
body.opened .d-haze b { animation: smoke 16s ease-in-out 3s infinite alternate; }
body.opened .d-juntai b { animation: sway 7s ease-in-out 6s infinite; }
body.opened .d-kandil > b { animation: ignite 1s cubic-bezier(.2, .8, .3, 1.2) var(--fl, 3s) both, flicker 2.6s ease-in-out calc(var(--fl, 3s) + 1s) 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 dpNear { from { opacity: 0; transform: scale(calc(var(--sx, 1) * 2.6), 2.6); } 35% { opacity: 0; } to { opacity: 1; transform: scale(var(--sx, 1), 1); } }
@keyframes dpPetal { from { opacity: .95; transform: rotate(var(--r, 0deg)) scale(2.6); } 70% { opacity: 0; } to { opacity: 0; visibility: hidden; transform: rotate(var(--r, 0deg)) scale(1); } }
@keyframes ignite { 0% { opacity: 0; transform: scale(.15, .1); } 55% { opacity: 1; transform: scale(1.2, 1.35); } 100% { opacity: 1; transform: scale(1); } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.5); } }
@keyframes sway { 0%, 100% { transform: scaleX(var(--fx, 1)) rotate(-1.4deg); } 50% { transform: scaleX(var(--fx, 1)) rotate(1.4deg); } }
.d-juntai.r b { --fx: -1; }

/* ════════════════════════════════════════════════════════════════
   ISI
   ════════════════════════════════════════════════════════════════ */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: -4px auto 42px; max-width: 360px; align-items: center; }
.tr-i { position: relative; padding: 0; border: 0; aspect-ratio: 200 / 260; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; filter: drop-shadow(0 12px 12px rgba(43, 26, 28, .35)); }
.tr-i::after { content: ''; position: absolute; inset: 0; background: url('bingkai-oval.svg') center / 100% 100% no-repeat; pointer-events: none; }
.tr-i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: ellipse(46% 47% at 50% 50%); transition: transform .6s var(--ease); }
.tr-i.t1 { transform: scale(1.14); z-index: 1; }
.tr-i:hover img { transform: scale(1.05); }
.tr-i.ph { cursor: default; }
.tr-i.ph::before { content: ''; position: absolute; inset: 0; clip-path: ellipse(46% 47% at 50% 50%); background: url('mawar.svg') center / 62% auto no-repeat, url('damask-gelap.svg') center / 60px 80px, radial-gradient(ellipse at 50% 40%, #4a0b17, #140205); }
.tr-i.ph.blush::before { background: url('mawar-blush.svg') center / 62% auto no-repeat, url('damask-gelap.svg') center / 60px 80px, radial-gradient(ellipse at 50% 40%, #7d1223, #2a050d); }
.verse-t { margin-top: 20px; font: italic 400 18.5px/1.75 var(--f-b); color: #3b2527; }
.verse-s { margin-top: 16px; font: 500 10.5px/1.4 var(--f-h); letter-spacing: .34em; text-transform: uppercase; color: var(--wine); }

.sec-fili { position: absolute !important; z-index: 1 !important; width: 84px; aspect-ratio: 1; top: 38px; background: url('filigri.svg') center / contain no-repeat; opacity: .8; pointer-events: none; }
.sec-fili.tl { left: 12px; }
.sec-fili.tr { right: 12px; transform: scaleX(-1); }
.sec-fili.dark { opacity: .65; }
.person { max-width: 320px; margin: 0 auto; }
.p-wrap { position: relative; width: 188px; margin: 0 auto; --w: 188px; }
.p-frame .cm-mono { font-size: 64px; }
.p-rose { position: absolute; bottom: -18px; width: 120px; aspect-ratio: 300 / 240; background: url('mawar-sudut.svg') center / contain no-repeat; z-index: 3; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.p-rose.l { left: -46px; }
.p-rose.r { right: -46px; transform: scaleX(-1); }
.p-name { margin: 24px 0 6px; font: 400 40px/1.25 var(--f-n); background: var(--gold-t); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 8px; }
.p-par { color: rgba(246, 238, 228, .82); font-size: 17px; line-height: 1.65; }
.p-par b { font: 500 10px/1.5 var(--f-h); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.and { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 30px auto; max-width: 270px; }
.and i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.and i:last-child { transform: scaleX(-1); }
.and span { font: italic 400 46px/1 var(--f-h); background: var(--gold-t); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 4px; }

.cd-kandil { position: absolute !important; z-index: 1 !important; top: 60px; width: 92px; aspect-ratio: 200 / 420; background: url('kandil.svg') center / 100% 100% no-repeat; opacity: .95; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .55)); }
.cd-kandil.l { left: -14px; }
.cd-kandil.r { right: -14px; }
.cd-kandil.r > b { animation-delay: -1.4s; }
.oval-photo { position: relative; width: 100%; max-width: 210px; aspect-ratio: 200 / 260; margin: 0 auto 38px; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .55)); }
.oval-photo::before { content: ''; position: absolute; inset: 0; clip-path: ellipse(46% 47% at 50% 50%); background: url('mawar.svg') center / 52% auto no-repeat, url('damask-gelap.svg') center / 60px 80px, radial-gradient(ellipse at 50% 40%, #6e1426, #1c030a); }
.oval-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: ellipse(46% 47% at 50% 50%); }
.oval-photo::after { content: ''; position: absolute; inset: 0; background: url('bingkai-oval.svg') center / 100% 100% no-repeat; }
.quote-s { margin: 18px auto 28px; max-width: 310px; font: italic 400 18px/1.65 var(--f-b); color: rgba(246, 238, 228, .92); }
.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.45; display: grid; place-content: center; color: var(--gold-l); filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .45)); }
.cd > div::before, .cd > div::after { content: ''; position: absolute; clip-path: polygon(50% 0, 100% 11%, 100% 89%, 50% 100%, 0 89%, 0 11%); }
.cd > div::before { inset: 0; background: var(--gold-g); }
.cd > div::after { inset: 1.5px; background: radial-gradient(ellipse at 50% 30%, #2a0710, #0b0708 80%); }
.cd > div > * { position: relative; z-index: 1; }
.cd b { display: block; font: 400 30px/1 var(--f-h); font-variant-numeric: lining-nums tabular-nums; background: var(--gold-t); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cd span { display: block; margin-top: 8px; font: 500 8.5px/1 var(--f-h); letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 238, 228, .75); padding-left: .2em; }

.event { position: relative; max-width: 360px; margin: 40px auto 34px; padding: 50px 24px 32px; background: var(--paper);
    box-shadow: inset 0 0 0 9px var(--paper), inset 0 0 0 10px rgba(201, 164, 92, .9), inset 0 0 0 13px var(--paper), inset 0 0 0 13.6px rgba(201, 164, 92, .55), 0 0 0 1px #1a0d0f, 0 0 0 5px var(--noir), 0 0 0 6px rgba(201, 164, 92, .8), 0 30px 40px -28px rgba(40, 10, 14, .7); }
.event::before, .event::after { content: ''; position: absolute; width: 58px; height: 58px; background: url('filigri.svg') center / contain no-repeat; pointer-events: none; z-index: 0; }
.event::before { left: 16px; top: 16px; }
.event::after { right: 16px; bottom: 16px; transform: scale(-1, -1); }
.event > * { position: relative; z-index: 1; }
.ev-seal { position: absolute !important; left: 50%; top: -34px; width: 66px; margin-left: -33px; }
.ev-k { font: 500 9.5px/1.4 var(--f-h); letter-spacing: .4em; text-transform: uppercase; color: var(--gold-d); padding-left: .4em; }
.ev-t { margin: 4px 0 14px; font: italic 400 36px/1.2 var(--f-h); color: #1a0d0f; }
.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(--wine); }
.loc { max-width: 380px; margin: 50px auto 0; }
.map { height: 220px; border: 1px solid var(--gold); box-shadow: 0 0 0 5px var(--ivory), 0 0 0 6px #1a0d0f; overflow: hidden; margin-bottom: 24px; z-index: 0; filter: sepia(.25) saturate(.85); }
.loc-name { font: italic 400 24px/1.3 var(--f-h); color: #1a0d0f; }
.loc-addr { margin: 6px 0 20px; font-size: 17px; color: var(--ink-s); }

#kisah { padding-bottom: 170px; }
.tline { list-style: none; margin: 0 auto; padding: 0; max-width: 360px; position: relative; text-align: left; }
.tline::before { content: ''; position: absolute; left: 26px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(180deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent); }
.tl-i { position: relative; display: flex; gap: 16px; margin-bottom: 28px; }
.tl-i:last-child { margin-bottom: 0; }
.tl-dot { flex: none; width: 54px; margin-top: 6px; }
.tl-dot b { font-size: 15px; font-style: italic; }
.tl-c { flex: 1; padding: 16px 20px 18px; background: linear-gradient(160deg, rgba(125, 18, 35, .22), rgba(11, 7, 8, .5)); border: 1px solid rgba(201, 164, 92, .55); box-shadow: inset 0 0 0 4px rgba(11, 7, 8, .6), inset 0 0 0 5px rgba(201, 164, 92, .2); }
.tl-c h3 { font: italic 400 27px/1.2 var(--f-h); color: var(--gold-l); margin-bottom: 6px; }
.tl-c p { font-size: 16.5px; line-height: 1.65; color: rgba(246, 238, 228, .88); }
.kisah-rose { position: absolute !important; z-index: 1 !important; left: 50%; bottom: 10px; width: 330px; margin-left: -165px; aspect-ratio: 400 / 150; background: url('garland.svg') center / contain no-repeat; transform: scaleY(-1); opacity: .95; }

.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 400px; margin: 0 auto; padding: 0 6px; }
.gal-i { position: relative; padding: 0; border: 1px solid var(--gold); overflow: hidden; aspect-ratio: 1 / 1.25; background: var(--noir); cursor: pointer; box-shadow: 0 0 0 4px #f1ddd6, 0 0 0 5px #1a0d0f, 0 20px 26px -18px rgba(40, 10, 14, .7); -webkit-tap-highlight-color: transparent; }
.gal-i.g0, .gal-i.g5 { grid-column: span 2; aspect-ratio: 16 / 10; }
.gal-i.g1, .gal-i.g4 { border-radius: 50%; }
.gal-i.g2, .gal-i.g3 { border-radius: 999px 999px 2px 2px; }
.gal-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gal-i:hover img { transform: scale(1.05); }
.gal-i.ph { cursor: default; background: url('mawar.svg') center / 34% auto no-repeat, url('damask-gelap.svg') center / 60px 80px, radial-gradient(ellipse at 50% 40%, #4a0b17, #140205); }
.gal-i.ph.g0, .gal-i.ph.g5 { background-size: 22% auto, 60px 80px, auto; }
.gal-i.ph.blush { background: url('mawar-blush.svg') center / 44% auto no-repeat, url('damask-gelap.svg') center / 60px 80px, radial-gradient(ellipse at 50% 40%, #7d1223, #2a050d); }

/* ── Form & ucapan ── */
.card { max-width: 400px; margin: 0 auto; padding: 32px 24px; background: var(--paper); text-align: left;
    box-shadow: inset 0 0 0 9px var(--paper), inset 0 0 0 10px rgba(201, 164, 92, .9), 0 0 0 1px #1a0d0f, 0 0 0 5px var(--noir), 0 0 0 6px rgba(201, 164, 92, .8), 0 30px 40px -28px rgba(40, 10, 14, .7); }
.f-l { display: block; margin: 18px 0 6px; font: 500 9.5px/1.3 var(--f-h); letter-spacing: .3em; text-transform: uppercase; color: var(--wine); }
.form label[for="rsvpName"] { margin-top: 0; }
.f-in { width: 100%; padding: 11px 14px; border: 1px solid #d9c299; border-radius: 0; background: #fffdf9; 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(--wine); box-shadow: 0 0 0 3px rgba(125, 18, 35, .14); }
.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 9.5px/1.3 var(--f-h); letter-spacing: .12em; text-transform: uppercase; border: 1px solid #d9c299; background: #fffdf9; color: var(--ink-s); cursor: pointer; transition: all .2s; }
.ch input:checked + span { background: linear-gradient(180deg, #2a0710, #0b0708); border-color: var(--gold); color: var(--gold-l); }
.ch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(125, 18, 35, .25); }
.form .btn { margin-top: 26px; }

.wish-head { display: flex; align-items: center; justify-content: space-between; max-width: 400px; margin: 52px auto 14px; }
.wish-head h3 { font: italic 400 30px/1.2 var(--f-h); color: #1a0d0f; }
.wh-live { display: inline-flex; align-items: center; gap: 6px; font: 500 9.5px/1 var(--f-h); letter-spacing: .2em; text-transform: uppercase; color: var(--wine); }
.wh-live i { width: 7px; height: 7px; border-radius: 50%; background: 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(--wine); display: flex; gap: 12px; padding: 14px 16px; background: rgba(255, 250, 243, .95); border: 1px solid rgba(201, 164, 92, .45); border-left: 3px solid var(--av); }
.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: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--av); color: var(--gold-l); font: italic 400 18px/1 var(--f-h); box-shadow: 0 0 0 1px var(--gold), 0 0 0 3px #fffaf3; }
.wish-body { min-width: 0; flex: 1; }
.wish-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wish-name { font: 500 15px/1.3 var(--f-h); overflow-wrap: anywhere; color: #1a0d0f; }
.wish-badge { padding: 2px 9px; font: 500 9px/1.6 var(--f-h); letter-spacing: .12em; text-transform: uppercase; }
.wish-badge.hadir { background: #f3e3d0; color: #7a5a1e; }
.wish-badge.tidak { background: #f3d9dc; color: #7d1223; }
.wish-badge.ragu  { background: #ece3e0; color: #5e4a4b; }
.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; font-style: italic; color: #8d7a7a; }
.wish-empty { text-align: center; padding: 20px; color: #8d7a7a; font-style: italic; }

/* ── Kado (partial) ── */
.gift-box { max-width: 420px; margin: 0 auto; background: var(--ivory); overflow: hidden; color: var(--ink); text-align: left; border: 1px solid var(--gold); box-shadow: 0 0 0 5px var(--noir), 0 0 0 6px rgba(201, 164, 92, .6), 0 24px 40px -26px rgba(0, 0, 0, .9); }
.gift-wrap .gs-heading h2 { font-family: var(--f-h) !important; font-style: italic !important; font-weight: 400 !important; font-size: 30px !important; color: #1a0d0f !important; }
.gift-wrap .gs-heading h2::after { background: var(--gold) !important; }
.gift-wrap .gs-card, .gift-wrap .gs-bank-card { border: 1px solid rgba(201, 164, 92, .5) !important; border-radius: 0 !important; }
.gift-wrap .gs-btn, .gift-wrap .gs-bank-copy { border-radius: 0 !important; font-family: var(--f-h) !important; letter-spacing: .08em; }
.gift-wrap .gs-btn-buy { background: var(--noir) !important; color: var(--gold-l) !important; }
.gift-wrap .gs-bank-logo { background: #efe0cf !important; color: var(--wine) !important; }

/* ── Penutup ── */
.end { padding-top: 110px; padding-bottom: 440px; background: radial-gradient(ellipse 70% 30% at 50% 78%, rgba(255, 170, 110, .18), transparent 70%), url('damask-gelap.svg') center top / 120px 160px, radial-gradient(ellipse 90% 40% at 50% 0, rgba(125, 18, 35, .32), transparent 70%), var(--noir); }
.end > i { position: absolute !important; z-index: 1 !important; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.end-glow { left: 0; right: 0; bottom: 0; height: 420px; background: radial-gradient(ellipse 60% 50% at 50% 70%, rgba(160, 30, 50, .28), transparent 70%); }
.end-kandil { bottom: 70px; width: 40%; aspect-ratio: 200 / 420; background-image: url('kandil.svg'); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); }
.end-kandil.l { left: -4%; }
.end-kandil.r { right: -4%; }
.end-kandil.r > b { animation-delay: -1.1s; }
.end-sudut { bottom: -10px; width: 64%; aspect-ratio: 300 / 240; background-image: url('mawar-sudut.svg'); z-index: 2 !important; }
.end-sudut.l { left: -12%; }
.end-sudut.r { right: -12%; transform: scaleX(-1); }
.end .sec-in { position: relative; z-index: 3; }
.end .sec-in::before { content: ''; position: absolute; inset: -30px -40px; z-index: -1; background: radial-gradient(ellipse 60% 56% at 50% 50%, rgba(11, 7, 8, .8), transparent 76%); }
.end-seal { width: 92px; margin: 0 auto 22px; }
.end-seal b { font: 400 25px/1 var(--f-n); letter-spacing: 0; }
.end-seal b i { font-size: .7em; padding: 0 1px; }
.fam { margin: 22px 0 26px; display: grid; gap: 14px; font-size: 17px; color: rgba(246, 238, 228, .88); }
.fam span { display: block; margin-bottom: 2px; font: 500 9.5px/1.5 var(--f-h); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.end-credit { font-size: 14px; font-style: italic; opacity: .7; }

/* ── Lightbox ── */
.gallery-lightbox { display: none; position: fixed; inset: 0; z-index: 7000; align-items: center; justify-content: center; background: rgba(8, 4, 5, .96); opacity: 0; transition: opacity .3s; }
.lb-img-wrap img { max-width: 92vw; max-height: 80vh; border: 1px solid var(--gold); box-shadow: 0 0 0 5px #0b0708, 0 0 0 6px rgba(201, 164, 92, .6); }
.lb-close, .lb-prev, .lb-next { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--gold-g); color: #1a0a0c; 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(--gold-l); font: 500 12px/1 var(--f-h); letter-spacing: .2em; }

/* ════════════════════════════════════════════════════════════════
   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(--noir); }
    .side-photo { position: absolute; inset: 0; background: center / cover no-repeat; animation: zoomSlow 20s ease-in-out infinite alternate; }
    .side-photo.none { background: url('tirai.svg') center top / 100% auto no-repeat, url('mawar-sudut.svg') left -40px bottom -20px / auto 30vh no-repeat, url('kandil.svg') left 8% bottom 9vh / auto 30vh no-repeat, url('kandil.svg') right 8% bottom 9vh / auto 30vh no-repeat,
        radial-gradient(ellipse 60% 50% at 50% 55%, #3e0916, #1c040a 60%, #0b0708),
        var(--noir); animation: none; }
    .side-photo.none::after { content: ''; position: absolute; right: -40px; bottom: -20px; width: 37.5vh; aspect-ratio: 300 / 240; background: url('mawar-sudut.svg') center / contain no-repeat; transform: scaleX(-1); }
    .side-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 7, 8, .1) 30%, rgba(11, 7, 8, .88)); }
    .side-in { position: absolute; left: 0; right: 0; bottom: 12vh; padding: 0 40px; text-align: center; color: var(--ivory); }
    .side-photo.none ~ .side-shade { background: radial-gradient(ellipse 40% 40% at 50% 48%, rgba(11, 7, 8, .75), transparent 80%); }
    .side-photo.none ~ .side-in { top: 53%; bottom: auto; transform: translateY(-50%); }
    .sd-k { font: 500 13px/1.4 var(--f-h); letter-spacing: .5em; text-transform: uppercase; color: var(--gold); }
    .sd-n { margin: 10px 0 14px; font: 400 clamp(60px, 6.6vw, 108px)/1.25 var(--f-n); background: var(--gold-t); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .1em; }
    .sd-n i { font-family: var(--f-h); font-style: italic; font-size: .5em; }
    .sd-d { font: 500 14px/1.4 var(--f-h); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-l); }
    .stage { margin-left: auto; margin-right: 0; width: var(--col); position: relative; z-index: 2; box-shadow: -14px 0 40px -16px rgba(0, 0, 0, .9); }
    .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) {
    .cover-in { padding-top: 70px; }
    .cv-cm { --w: 112px; margin-bottom: 18px; }
    .cv-names { font-size: 42px; margin: 0 0 6px; }
    .cv-to { margin-bottom: 12px; }
}
@media (max-width: 360px) {
    .names-xl { font-size: 50px; }
    .cd b { font-size: 25px; }
    .h-t { font-size: 35px; }
    .cv-names { font-size: 46px; }
}
@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-kandil > b { opacity: 1; animation: none !important; }
    .d-kel, .hero .dp-front::before, .hero .dp-front::after { opacity: 0 !important; visibility: hidden; }
    .cover-in > * { animation: none !important; opacity: 1; }
    .hero-band { opacity: 1; }
}

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