/* ══════════════════════════════════════════════════════════════════
   VELVET OPERA — malam gala gedung opera: beludru merah tua, emas, gading
   ══════════════════════════════════════════════════════════════════ */
:root {
    --noir: #12040a;
    --wine: #2a0710;
    --velvet: #4a0b17;
    --crimson: #8e1529;
    --ruby: #b8223b;
    --ivory: #f7efe1;
    --paper: #efe3cc;
    --cream: #f4e8d2;
    --cream-dim: rgba(244, 232, 210, .7);
    --gold: #d2a85a;
    --gold-l: #f1d896;
    --gold-d: #94692a;
    --ink-text: #2a0c12;
    --ink-dim: #6e4a46;
    --hair: rgba(210, 168, 90, .42);
    --hair-ink: rgba(148, 105, 42, .45);
    --fx: 50%;
    --fy: 50%;
    --sway: 0deg;
    --display: 'Playfair Display', 'Didot', Georgia, serif;
    --caps: 'Cinzel', 'Trajan Pro', Georgia, serif;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --script: 'Great Vibes', cursive;
    --ease: cubic-bezier(.2, .7, .1, 1);
    --folds:
        repeating-linear-gradient(90deg,
            rgba(0, 0, 0, .55) 0, rgba(0, 0, 0, .1) 9px, rgba(255, 120, 140, .14) 17px, rgba(255, 170, 180, .2) 20px,
            rgba(0, 0, 0, .05) 26px, rgba(0, 0, 0, .5) 38px),
        repeating-linear-gradient(90deg,
            transparent 0, rgba(0, 0, 0, .25) 31px, transparent 47px, rgba(255, 140, 150, .08) 61px, transparent 73px),
        linear-gradient(180deg, #5c0b19, #8e1529 45%, #6d0f20 80%, #3b0610);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--noir);
    color: var(--cream);
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
body.no-scroll { overflow: hidden; height: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
::selection { background: rgba(184, 34, 59, .5); color: #fff; }

.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex-shrink: 0; }

/* ── Gold leaf ───────────────────────────────────────────────────── */
.foil, .act-no, .cd b, .drop {
    background-image: linear-gradient(112deg,
        #7c5620 0%, #b88c43 14%, #ecd08e 26%, #fff6da 33%, #e6c47c 40%,
        #a87b36 52%, #dcb974 64%, #fbe7b2 72%, #b68b44 84%, #7f5a24 100%);
    background-size: 260% 260%;
    background-position: var(--fx) var(--fy);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.foil.light, .ivory .foil, .ivory .drop, .ivory .act-no {
    background-image: linear-gradient(112deg,
        #5b3c12 0%, #8c6426 16%, #c2964b 28%, #e2c27a 36%, #b08540 46%,
        #7a5520 58%, #ad843f 70%, #d8b46c 78%, #8a6326 90%, #5b3c12 100%);
}
:root:not(.foil-live) .foil, :root:not(.foil-live) .act-no, :root:not(.foil-live) .cd b {
    animation: foilSweep 7s ease-in-out infinite alternate;
}
@keyframes foilSweep { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }

/* ── Ambient layers ──────────────────────────────────────────────── */
.grain {
    position: fixed; inset: 0; z-index: 59; pointer-events: none; opacity: .08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.petals { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 58; pointer-events: none; }
.spotlight {
    position: fixed; inset: 0; z-index: 57; pointer-events: none; opacity: 0; transition: opacity 1.4s;
    overflow: hidden; mix-blend-mode: screen;
}
/* lapisan 2× lebar layar digeser dengan transform (komposit) — tak perlu repaint saat menggulir */
.spotlight::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: -50%; width: 200%;
    background: radial-gradient(19% 46% at 50% 34%, rgba(255, 228, 170, .16), rgba(255, 228, 170, .05) 55%, transparent 75%);
    transform: translateX(var(--sx, 0%)); will-change: transform;
}
body.opened .spotlight { opacity: 1; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 65; pointer-events: none; opacity: 0; transition: opacity .6s; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--crimson), var(--gold-l), var(--gold)); }
body.opened .progress { opacity: 1; }

/* ── Labels & ornaments ──────────────────────────────────────────── */
.cinz {
    display: block; margin: 0;
    font-family: var(--caps); font-weight: 500; font-size: 10.5px;
    letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
}
.cinz.sm { font-size: 9px; letter-spacing: .26em; }
.cinz.xs { font-size: 8px; letter-spacing: .24em; opacity: .8; }
.cinz.ink, .ivory .cinz { color: var(--gold-d); }
.script { margin: 0; font-family: var(--script); font-size: 34px; line-height: 1.1; color: var(--gold-l); }
.orn { display: block; width: 190px; height: 24px; margin: 20px auto; color: var(--gold); }
.orn.ink, .ivory .orn { color: var(--gold-d); }
.center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-gold, .btn-line {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 34px; cursor: pointer; text-decoration: none;
    font-family: var(--caps); font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
    border-radius: 2px; transition: transform .35s var(--ease), box-shadow .35s, background-color .35s, color .35s;
    -webkit-tap-highlight-color: transparent;
}
.btn-gold {
    border: 0; color: #2a0a10;
    background: linear-gradient(112deg, #8f6427, #d8b56c 22%, #fff0c8 38%, #ddba74 52%, #a37833 72%, #ecd49b 90%);
    background-size: 240% 240%; background-position: var(--fx) var(--fy);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-gold::after { content: ''; position: absolute; inset: -5px; border: 1px solid var(--hair); border-radius: 3px; pointer-events: none; transition: inset .35s var(--ease); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-gold:hover::after { inset: -8px; }
.btn-gold > span { display: inline-flex; align-items: center; gap: 10px; }
.btn-gold.wide { width: 100%; margin-top: 26px; }
.btn-gold.loading { opacity: .65; pointer-events: none; }
.btn-line { background: transparent; color: var(--gold-l); border: 1px solid var(--hair); padding: 14px 26px; margin-top: 26px; }
.btn-line:hover { background: rgba(210, 168, 90, .1); }
.btn-line.ink, .ivory .btn-line { color: var(--gold-d); border-color: var(--hair-ink); }
.ivory .btn-line:hover { background: rgba(148, 105, 42, .08); }

/* ── Music button ────────────────────────────────────────────────── */
.music-toggle-btn {
    position: fixed; z-index: 120; top: calc(16px + env(safe-area-inset-top)); right: 16px;
    width: 44px; height: 44px; border-radius: 50%; padding: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: rgba(42, 7, 16, .7); color: var(--gold-l);
    border: 1px solid rgba(210, 168, 90, .6);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
}
.music-toggle-btn svg { width: 17px; height: 17px; }
.music-toggle-btn.playing::after {
    content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(210, 168, 90, .45);
    animation: ring 2.4s ease-out infinite;
}
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* ── Toast ───────────────────────────────────────────────────────── */
.toast {
    position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 130;
    transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
    background: rgba(42, 7, 16, .95); color: var(--gold-l); border: 1px solid var(--hair);
    padding: 12px 22px; font-family: var(--caps); font-size: 11px; letter-spacing: .1em;
    transition: opacity .35s, transform .35s var(--ease); max-width: calc(100vw - 40px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ══════════════════════════════════════════════════════════════════
   COVER — tirai beludru, lampu gantung kristal, karcis berukir
   ══════════════════════════════════════════════════════════════════ */
.cover {
    position: fixed; inset: 0; z-index: 100; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 0 18px calc(44px + env(safe-area-inset-bottom));
    background: radial-gradient(90% 60% at 50% 100%, #3a0912, #120307 70%);
    touch-action: pan-y; --peek: 0;
    transition: opacity 1s ease, visibility 1s;
}
.house {
    position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0; background: #050102;
    transition: opacity 1s ease;
}
/* tirai */
.cur {
    position: absolute; top: 0; bottom: 0; z-index: 1; width: 51%;
    background: var(--folds);
    box-shadow: inset 0 -60px 80px rgba(0, 0, 0, .55);
    transition: clip-path 2s cubic-bezier(.6, .05, .25, 1), transform 2s cubic-bezier(.6, .05, .25, 1), filter 1s;
    will-change: clip-path;
}
.cur::before { /* cahaya kaki panggung & bayangan atas */
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .65), transparent 22%, transparent 70%, rgba(255, 170, 90, .14) 92%, rgba(0, 0, 0, .3)),
        radial-gradient(60% 30% at 50% 100%, rgba(255, 190, 120, .18), transparent 70%);
}
.cur.l { left: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translateX(calc(var(--peek) * -14%)); }
.cur.r { right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translateX(calc(var(--peek) * 14%)); }
.cur.l::after, .cur.r::after { content: ''; position: absolute; top: 0; bottom: 0; width: 22px; pointer-events: none; }
.cur.l::after { right: 0; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .5)); }
.cur.r::after { left: 0; background: linear-gradient(-90deg, transparent, rgba(0, 0, 0, .5)); }
.fringe {
    position: absolute; left: 0; right: 0; bottom: 0; height: 30px;
    background:
        linear-gradient(180deg, #f3d48c, #a77a32 4px, transparent 5px),
        repeating-linear-gradient(90deg, #e9c779 0 1.5px, #8b6220 1.5px 3px, transparent 3px 4px);
    -webkit-mask: linear-gradient(180deg, #000 70%, transparent);
    mask: linear-gradient(180deg, #000 70%, transparent);
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .5));
}
.tieback {
    position: absolute; z-index: 7; top: 54%; width: 28px; height: 70px; opacity: 0; transition: opacity .8s 1.6s;
    background:
        radial-gradient(circle at 50% 14px, #fff1c6, #d4a956 7px, #8a6020 11px, transparent 12px),
        linear-gradient(90deg, transparent 10px, #c99a4a 10px, #f6dc9c 14px, #a07432 18px, transparent 18px) 0 22px / 100% 18px no-repeat,
        repeating-linear-gradient(90deg, #e2bd6e 0 1.5px, #8b6220 1.5px 3px) 4px 40px / 20px 30px no-repeat;
    -webkit-mask: linear-gradient(180deg, #000 85%, transparent);
    mask: linear-gradient(180deg, #000 85%, transparent);
}
.tieback.l { left: 4%; }
.tieback.r { right: 4%; }

/* lambrekin (valance) */
.valance { position: absolute; z-index: 8; top: 0; left: -2%; right: -2%; height: 104px; pointer-events: none; transition: transform 1.6s var(--ease); }
.valance > svg:first-child { width: 100%; height: 100%; display: block; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)); }
.tassel {
    position: absolute; top: 18px; width: 12px; height: 48px; margin-left: -6px;
    background:
        radial-gradient(circle at 50% 5px, #fff0c4, #c99a4a 4px, transparent 5px),
        linear-gradient(180deg, transparent 9px, #d3a654 9px, #f4d690 13px, #9a6d2c 16px, transparent 16px),
        repeating-linear-gradient(90deg, #e9c779 0 1.2px, #8b6220 1.2px 2.4px) 1px 16px / 10px 32px no-repeat;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5));
    transform-origin: 50% 0; animation: tassel 4.5s ease-in-out infinite alternate;
}
.tassel:nth-child(odd) { animation-delay: -2s; }
.tassel:first-of-type { margin-left: 2px; }
.tassel:last-of-type { margin-left: -14px; }
@keyframes tassel { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.crest { position: absolute; left: 50%; top: 6px; width: 132px; transform: translateX(-50%); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }

/* lampu gantung */
.chand-wrap {
    position: absolute; z-index: 7; top: 40px; left: 50%; width: min(84vw, 40vh, 420px); margin-left: calc(min(84vw, 40vh, 420px) / -2);
    transform-origin: 50% 0; animation: sway 7s ease-in-out infinite alternate;
    transition: top 2.2s cubic-bezier(.6, .05, .25, 1), opacity 1.6s;
}
/* pendar (dulu filter drop-shadow pada pembungkus, yang dihitung ulang tiap frame karena isi lampu beranimasi)
   kini dari salinan statis berfilter-bayangan di lapisan sendiri */
.chand.shade { position: absolute; left: 0; top: 0; filter: url(#vo-halo); will-change: transform; }
.chand-fin .chand.shade { filter: url(#vo-halo-sm); }
.chand.shade * { animation: none !important; }
.chand-wrap .chand:not(.shade), .chand-fin .chand:not(.shade) { position: relative; }
.chand-wrap .chand { transform: rotate(var(--sway)); transform-origin: 50% 0; transition: transform 1.2s var(--ease); }
@keyframes sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }
.chand { display: block; width: 100%; height: auto; overflow: visible; }
.chand .bead { fill: #fff; opacity: .55; animation: twinkle 3s ease-in-out infinite; }
.chand .prism { animation: prism 3.2s ease-in-out infinite; }
.chand .prism.big { animation-duration: 4s; }
.chand .flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 1.9s ease-in-out infinite alternate; }
.chand .glow { animation: glow 2.6s ease-in-out infinite alternate; }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes prism { 0%, 100% { opacity: .75; filter: none; } 45% { opacity: 1; filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 6px #ffd9f0); } }
@keyframes flicker { 0% { transform: scale(1, 1); } 40% { transform: scale(.88, 1.12) skewX(3deg); } 100% { transform: scale(1.06, .94) skewX(-2deg); } }
@keyframes glow { from { opacity: .75; } to { opacity: 1; } }

/* karcis program */
.cv-mid { position: relative; z-index: 9; flex: none; width: 100%; display: flex; align-items: center; justify-content: center; padding-top: calc(min(84vw, 40vh, 420px) * .68); transition: opacity .7s, transform .9s var(--ease); }
.ticket-card {
    position: relative; width: min(100%, 360px); padding: 26px 22px 0; text-align: center; color: var(--ink-text);
    background:
        radial-gradient(120% 80% at 50% 0%, #fffaf0, #f3e6cd 70%, #e8d7b7);
    border-radius: 3px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(148, 105, 42, .5), inset 0 0 0 6px #f7ecd6, inset 0 0 0 7px rgba(148, 105, 42, .55);
    animation: cardIn 1.4s .2s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.96); } }
.tc-corner { position: absolute; width: 22px; height: 22px; border: 1.5px solid var(--gold-d); }
.tc-corner::after { content: ''; position: absolute; width: 5px; height: 5px; background: var(--gold-d); transform: rotate(45deg); }
.tc-corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.tc-corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.tc-corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.tc-corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.tc-corner.tl::after { top: 4px; left: 4px; } .tc-corner.tr::after { top: 4px; right: 4px; }
.tc-corner.bl::after { bottom: 4px; left: 4px; } .tc-corner.br::after { bottom: 4px; right: 4px; }
.ticket-card > .cinz { color: var(--crimson); font-size: 9px; padding: 0 18px; }
.cv-names { margin: 14px 0 0; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(42px, 12.5vw, 60px); line-height: 1; letter-spacing: -.01em; display: flex; flex-direction: column; align-items: center; }
.cv-names em { font-family: var(--script); font-style: normal; font-size: .62em; color: var(--crimson); line-height: .9; margin: .02em 0 .06em; }
.ticket-card .orn { margin: 10px auto 4px; width: 160px; }
.cv-date { margin: 0 0 18px; font-family: var(--caps); font-size: 12px; letter-spacing: .28em; color: var(--ink-dim); text-transform: uppercase; }
.stub {
    position: relative; margin: 0 -22px; padding: 16px 20px 18px; display: grid; gap: 4px;
    border-top: 1.5px dashed rgba(148, 105, 42, .55);
    background: linear-gradient(180deg, #ecdcbc, #e4d0aa);
}
.stub::before, .stub::after { content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: #1d050a; }
.stub::before { left: -10px; } .stub::after { right: -10px; }
.stub .cinz { color: var(--crimson); }
.stub-n { font-family: var(--display); font-style: italic; font-size: 24px; line-height: 1.2; color: var(--ink-text); word-break: break-word; }
.cv-foot { position: relative; z-index: 9; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 22px; transition: opacity .6s, transform .8s var(--ease); animation: cardIn 1.4s .5s var(--ease) both; }
.cv-note { margin: 2px 0 0; max-width: 300px; font-size: 13.5px; font-style: italic; text-align: center; color: rgba(250, 236, 214, .82); line-height: 1.4; text-shadow: 0 1px 6px rgba(0, 0, 0, .9), 0 0 2px rgba(0, 0, 0, .8); }

/* lampu kaki panggung */
.footlights { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 10px; display: flex; justify-content: space-around; pointer-events: none; }
.footlights i { width: 14px; height: 6px; margin-top: 4px; border-radius: 6px 6px 0 0; background: #ffe7b0; box-shadow: 0 0 14px 6px rgba(255, 196, 110, .45), 0 -20px 50px 14px rgba(255, 180, 90, .14); }
.beam {
    position: absolute; z-index: 9; inset: -10% -40%; pointer-events: none; opacity: 0;
    background: conic-gradient(from 180deg at 50% -6%, transparent 0deg, transparent 166deg, rgba(255, 236, 190, .3) 174deg, rgba(255, 244, 214, .5) 180deg, rgba(255, 236, 190, .3) 186deg, transparent 194deg);
    transform-origin: 50% 0; mix-blend-mode: screen;
}

/* urutan buka */
.cover.s1 .cv-mid { opacity: 0; transform: translateY(-30px) scale(.94); pointer-events: none; }
.cover.s1 .cv-foot { opacity: 0; transform: translateY(20px); pointer-events: none; }
.cover.s1 .house { opacity: .5; }
.cover.s1 .cur { filter: brightness(.6); }
.cover.s2 .beam { animation: sweep 1.9s ease-in-out forwards; }
@keyframes sweep { 0% { opacity: 0; transform: rotate(-28deg); } 25% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: .0; transform: rotate(0deg); } }
.cover.s3 .house { opacity: 0; }
.cover.s3 .cur { filter: brightness(1); }
.cover.s3 .cur.l { clip-path: polygon(0 0, 22% 0, 4% 100%, 0 100%); transform: translateX(-12%); }
.cover.s3 .cur.r { clip-path: polygon(78% 0, 100% 0, 100% 100%, 96% 100%); transform: translateX(12%); }
.cover.s3 .tieback { opacity: 0; }
.cover.s3 .chand-wrap { top: -60vh; opacity: 0; }
.cover.s3 .valance { transform: translateY(-110%); transition-delay: .9s; }
.cover.s4 { opacity: 0; visibility: hidden; pointer-events: none; }

/* ══════════════════════════════════════════════════════════════════
   HERO — di atas panggung berbingkai prosenium emas
   ══════════════════════════════════════════════════════════════════ */
.stage { position: relative; min-height: 100vh; min-height: 100svh; padding: 14px; background: radial-gradient(80% 60% at 50% 30%, #2a0710, var(--noir) 75%); display: flex; }
.pros {
    position: relative; flex: 1; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 48% 48% 4px 4px / 18% 18% 4px 4px;
    background: radial-gradient(70% 55% at 50% 42%, #3d0a15, #1a0409 75%);
    box-shadow:
        0 0 0 3px #7e5720, 0 0 0 5px #e7c47c, 0 0 0 7px #8a6020, 0 0 0 9px #2a0710, 0 0 0 10px rgba(210, 168, 90, .5),
        inset 0 0 70px rgba(0, 0, 0, .8);
}
.drape { position: absolute; top: 0; bottom: 0; width: 24%; z-index: 2; background: var(--folds); filter: brightness(.85); }
.drape.l { left: 0; clip-path: polygon(0 0, 100% 0, 34% 62%, 52% 100%, 0 100%); }
.drape.r { right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 48% 100%, 66% 62%); }
.pros-top { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 74px; }
.pros-top > svg:first-child { width: 100%; height: 100%; display: block; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)); }
.pros-top .crest { top: 2px; width: 110px; }
.stage-beam {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: conic-gradient(from 180deg at 50% -4%, transparent 160deg, rgba(255, 232, 180, .13) 170deg, rgba(255, 240, 205, .2) 180deg, rgba(255, 232, 180, .13) 190deg, transparent 200deg);
    animation: stageBeam 9s ease-in-out infinite alternate;
    transform-origin: 50% 0;
}
@keyframes stageBeam { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
.stage-c { position: relative; z-index: 4; text-align: center; padding: 100px 26px 120px; max-width: 520px; }
.stage-c .script { margin-top: 14px; }
.hero-names { margin: 8px 0 0; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(54px, 16vw, 116px); line-height: .98; letter-spacing: -.015em; display: flex; flex-direction: column; align-items: center; }
.hero-names .amp { font-family: var(--script); font-style: normal; font-size: .55em; color: var(--ruby); line-height: .9; text-shadow: 0 0 20px rgba(184, 34, 59, .5); }
.hero-date { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--caps); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-dim); }
.hero-date b { font-weight: 500; font-size: 15px; letter-spacing: .14em; color: var(--gold-l); padding: 6px 12px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.hero-place { margin: 14px 0 0; font-style: italic; font-size: 18px; color: var(--cream); }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 34px; text-decoration: none; font-family: var(--caps); font-size: 9px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.scroll-cue i { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.boards { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 46px;
    background: repeating-linear-gradient(90deg, #2a1208 0 38px, #1f0c05 38px 40px), #24100a;
    border-top: 2px solid #a87a34; box-shadow: 0 -2px 0 #f0d08a, 0 -14px 40px rgba(255, 180, 90, .2); }
.boards .footlights { top: -6px; bottom: auto; }

/* ── Loges (balkon opera) ────────────────────────────────────────── */
.loges { display: flex; justify-content: center; gap: 8px; padding: 34px 14px 0; background: var(--noir); }
.loge {
    position: relative; width: 62px; height: 58px; border-radius: 30px 30px 0 0;
    background: radial-gradient(60% 50% at 50% 40%, #6e1424, #24050c 80%);
    box-shadow: inset 0 0 0 2px #a77b35, inset 0 0 0 4px #2a0710, inset 0 0 0 5px rgba(210, 168, 90, .45);
}
.loge i { position: absolute; top: 18px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #ffe2a8; box-shadow: 0 0 10px 4px rgba(255, 200, 120, .45); }
.loge::after { /* pagar balkon */
    content: ''; position: absolute; left: -3px; right: -3px; bottom: 0; height: 18px;
    background:
        linear-gradient(#f1d38e, #9a6d2c) top / 100% 3px no-repeat,
        linear-gradient(#9a6d2c, #f1d38e) bottom / 100% 3px no-repeat,
        repeating-linear-gradient(90deg, transparent 0 3px, #c99a4a 3px 5px, transparent 5px 8px) 0 3px / 100% 12px no-repeat;
}

/* ══════════════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════════════ */
.ch { position: relative; padding: 100px 22px 110px; overflow: hidden; }
.ch.velvet {
    background:
        radial-gradient(70% 40% at 50% 0%, rgba(255, 190, 150, .12), transparent 70%),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0, transparent 22px, rgba(255, 140, 160, .05) 34px, transparent 46px, rgba(0, 0, 0, .18) 60px),
        linear-gradient(180deg, #3d0812, #5a0c19 50%, #3a0711);
}
.ch.velvet::before, .ch.noir::before { /* bingkai emas tipis di tepi */
    content: ''; position: absolute; inset: 12px; border: 1px solid rgba(210, 168, 90, .26); pointer-events: none;
}
.ch.noir { background: radial-gradient(70% 50% at 50% 40%, #2c0811, var(--noir) 75%); }
.ch.ivory {
    color: var(--ink-text);
    background:
        radial-gradient(90% 60% at 50% 0%, #fffaf1, transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 6l6 14 14 6-14 6-6 14-6-14-14-6 14-6z' fill='none' stroke='%23b48a45' stroke-opacity='.09'/%3E%3C/svg%3E"),
        linear-gradient(180deg, #f6ecda, #efe1c6);
}
.ch.ivory::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(148, 105, 42, .3); box-shadow: inset 0 0 0 4px #f6ecda, inset 0 0 0 5px rgba(148, 105, 42, .18); pointer-events: none; }
.wrap { position: relative; max-width: 1080px; margin: 0 auto; }
.wrap.narrow { max-width: 620px; }

.act { position: relative; text-align: center; margin-bottom: 38px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.act::before {
    content: ''; width: 120px; height: 54px; display: block;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 54'%3E%3Cpath d='M60 4c-16 0-27 11-28 28h56C87 15 76 4 60 4z' fill='none' stroke='%23d2a85a' stroke-width='1.2'/%3E%3Cpath d='M60 11c-11 0-19 8-20 21h40C79 19 71 11 60 11z' fill='%23d2a85a' fill-opacity='.18'/%3E%3Cpath d='M30 32H8M90 32h22M14 38c8 2 14 0 18-4M106 38c-8 2-14 0-18-4' stroke='%23d2a85a' stroke-width='1' fill='none'/%3E%3Cpath d='M60 18l3 6-3 6-3-6z' fill='%23d2a85a'/%3E%3Ccircle cx='60' cy='3' r='2.5' fill='%23d2a85a'/%3E%3Cpath d='M44 32h32v5H44zM54 37c2 6 10 6 12 0' fill='%23d2a85a'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ivory .act::before { filter: brightness(.68) saturate(1.2); }
.act-k { font-family: var(--display); font-style: italic; font-size: clamp(38px, 11vw, 62px); line-height: 1.05; color: var(--gold-l); letter-spacing: -.01em; }
.ivory .act-k { color: var(--crimson); }
.act-sub { font-family: var(--caps); font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 12px; }
.act-sub::before, .act-sub::after { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.ivory .act-sub { color: var(--gold-d); }

.display { margin: 0 0 14px; font-family: var(--display); font-weight: 400; font-style: italic; font-size: clamp(38px, 11vw, 74px); line-height: 1.08; letter-spacing: -.01em; }
.display.long { font-size: clamp(34px, 10vw, 66px); }
.sub { margin: 0 0 22px; font-family: var(--caps); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.txt { margin: 0 auto 16px; max-width: 540px; font-size: 19px; line-height: 1.7; color: var(--cream-dim); }
.txt.sm { font-size: 16.5px; }
.ivory .txt { color: var(--ink-dim); }
.arabic { margin: 0 0 18px; font-family: 'Amiri', serif; font-size: 24px; line-height: 2; color: var(--gold-l); direction: rtl; }
.arabic.big { font-size: 30px; }

/* bingkai emas berlapis */
.gilt {
    position: relative; padding: 34px 22px 28px;
    border: 2px solid transparent;
    background:
        linear-gradient(170deg, rgba(42, 7, 16, .92), rgba(26, 4, 9, .94)) padding-box,
        linear-gradient(135deg, #7c5620, #f3d78f, #a07432, #fbe9b8, #7c5620) border-box;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .45), inset 0 0 0 6px rgba(26, 4, 9, .9), inset 0 0 0 7px rgba(210, 168, 90, .4);
}
.ayat { margin: 46px auto 0; padding-top: 50px; }
.crest-sm { position: absolute; top: -32px; left: 50%; width: 110px; transform: translateX(-50%); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }
.ayat .arabic { font-size: 22px; }
.ayat blockquote { margin: 0; font-style: italic; font-size: 18px; line-height: 1.7; color: var(--cream); }
.ayat figcaption { margin-top: 16px; font-family: var(--caps); font-size: 10px; letter-spacing: .3em; color: var(--gold); }

/* reveal */
.rv-up { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv-up.in { opacity: 1; transform: none; }
.mask { display: inline-block; overflow: hidden; padding: .06em .08em .14em; margin: -.06em -.08em -.14em; vertical-align: bottom; }
.mask > span { display: inline-block; transform: translateY(112%); transition: transform 1.3s var(--ease); }
.rv.in .mask > span, .mask.rv.in > span { transform: none; }
.rv-mask { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); }
.rv-mask.in { clip-path: inset(0 0 0 0); }
.rv-mask img { transform: scale(1.18); transition: transform 2s var(--ease); }
.rv-mask.in img { transform: scale(1); }
.rv-frame { opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.rv-frame.in { opacity: 1; transform: none; }
.hero-names .mask > span { transition-duration: 1.6s; }

/* ── Mempelai ────────────────────────────────────────────────────── */
.couple { display: grid; gap: 30px; margin-top: 30px; }
.role { text-align: center; }
.cameo {
    position: relative; width: 210px; height: 268px; margin: 0 auto 24px; border-radius: 50%; overflow: hidden;
    background: radial-gradient(70% 60% at 45% 35%, #7a1426, #2a0710);
    box-shadow: 0 0 0 4px #f6ecda, 0 0 0 6px #b48a45, 0 0 0 8px #f1d896, 0 0 0 10px #8a6020, 0 0 0 16px #f6ecda, 0 0 0 17px rgba(148, 105, 42, .4), 0 26px 40px rgba(60, 10, 20, .3);
    display: flex; align-items: center; justify-content: center;
}
.cameo.rv-mask { clip-path: inset(100% 0 0 0 round 50%); }
.cameo.rv-mask.in { clip-path: inset(-20px -20px -20px -20px round 50%); }
.cameo img { width: 100%; height: 100%; object-fit: cover; }
.cameo .mono { font-family: var(--display); font-style: italic; font-size: 110px; line-height: 1; }
.cameo .mono.foil { background-image: linear-gradient(112deg, #7c5620 0%, #b88c43 14%, #ecd08e 26%, #fff6da 33%, #e6c47c 40%, #a87b36 52%, #dcb974 64%, #fbe7b2 72%, #b68b44 84%, #7f5a24 100%); }
.person { margin: 10px 0 0; font-family: var(--display); font-weight: 400; font-style: italic; font-size: 30px; line-height: 1.2; color: var(--ink-text); }
.role .orn { margin: 14px auto; width: 150px; }
.parent { margin: 0; font-size: 17.5px; line-height: 1.6; color: var(--ink-dim); }
.parent b { font-weight: 500; color: var(--ink-text); }
.couple-amp { text-align: center; font-family: var(--script); font-size: 80px; line-height: 1; color: var(--crimson); }
.couple-amp em { font-style: normal; }

/* ── Libretto ────────────────────────────────────────────────────── */
.libretto { list-style: none; margin: 0; padding: 0; counter-reset: a; }
.libretto li { position: relative; padding: 34px 0 32px; border-top: 1px solid rgba(210, 168, 90, .25); }
.libretto li:last-child { border-bottom: 1px solid rgba(210, 168, 90, .25); }
.act-no { display: inline-block; font-family: var(--caps); font-weight: 600; font-size: 14px; letter-spacing: .3em; text-transform: uppercase; }
.libretto h3 { margin: 6px 0 12px; font-family: var(--display); font-weight: 400; font-style: italic; font-size: 28px; line-height: 1.2; color: var(--cream); }
.libretto h3 i { font-size: .72em; color: var(--gold); }
.libretto p { margin: 0; font-size: 18.5px; line-height: 1.75; color: var(--cream-dim); }
.drop { float: left; font-family: var(--display); font-size: 62px; line-height: .8; padding: 6px 10px 0 0; }

/* ── Countdown (loge) ────────────────────────────────────────────── */
.bigdate { margin: 0 0 30px; font-family: var(--caps); font-weight: 500; font-size: clamp(30px, 9vw, 58px); letter-spacing: .08em; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 480px; margin: 0 auto; }
.loge-cd {
    position: relative; padding: 26px 0 26px; border-radius: 60px 60px 0 0;
    background: radial-gradient(80% 60% at 50% 30%, #7a1426, #2a0710 85%);
    box-shadow: inset 0 0 0 2px #b0843c, inset 0 0 0 5px #2a0710, inset 0 0 0 6px rgba(210, 168, 90, .5), 0 14px 26px rgba(0, 0, 0, .4);
}
.loge-cd::after {
    content: ''; position: absolute; left: -4px; right: -4px; bottom: -6px; height: 16px;
    background:
        linear-gradient(#f1d38e, #9a6d2c) top / 100% 3px no-repeat,
        linear-gradient(#9a6d2c, #f1d38e) bottom / 100% 3px no-repeat,
        repeating-linear-gradient(90deg, transparent 0 3px, #c99a4a 3px 5px, transparent 5px 8px) 0 3px / 100% 10px no-repeat;
}
.cd b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 9vw, 44px); line-height: 1; font-variant-numeric: tabular-nums; }
.cd span { display: block; margin-top: 8px; font-family: var(--caps); font-size: 8.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-dim); }
.cd-date { margin: 30px 0 0; font-style: italic; font-size: 19px; color: var(--cream); }

/* ── Acara (karcis) ──────────────────────────────────────────────── */
.events { display: grid; gap: 22px; }
.ticket {
    position: relative; display: grid; grid-template-columns: 1fr 64px; text-align: left;
    background: linear-gradient(160deg, #fffaf1, #f4e7cf);
    box-shadow: 0 18px 34px rgba(80, 20, 20, .14), 0 0 0 1px rgba(148, 105, 42, .4);
}
.tk-main { padding: 26px 20px 24px 24px; position: relative; }
.tk-main::before { content: ''; position: absolute; inset: 7px 0 7px 7px; border: 1px solid rgba(148, 105, 42, .28); border-right: 0; pointer-events: none; }
.tk-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tk-ico { color: var(--crimson); font-size: 22px; display: flex; }
.ticket h3 { margin: 10px 0 14px; font-family: var(--display); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1.1; color: var(--crimson); }
.ticket dl { margin: 0; display: grid; gap: 10px; }
.ticket dl div { display: flex; gap: 12px; align-items: flex-start; }
.ticket dt { color: var(--gold-d); font-size: 17px; padding-top: 3px; }
.ticket dd { margin: 0; font-size: 17.5px; line-height: 1.45; color: var(--ink-text); }
.ticket .btn-line { margin-top: 20px; padding: 12px 18px; font-size: 9.5px; position: relative; }
.tk-stub {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    background: linear-gradient(180deg, #7a1426, #4a0b17); color: var(--gold-l);
    border-left: 2px dashed rgba(244, 232, 210, .55);
    font-family: var(--caps); font-size: 8px; letter-spacing: .2em; text-transform: uppercase;
}
.tk-stub::before, .tk-stub::after { content: ''; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: #f2e6cf; }
.tk-stub::before { top: -10px; } .tk-stub::after { bottom: -10px; }
.tk-stub b { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 34px; letter-spacing: 0; line-height: 1; color: var(--gold-l); }
.tk-stub span { writing-mode: vertical-rl; transform: rotate(180deg); }
.tk-stub span:first-child { transform: none; writing-mode: horizontal-tb; }
.dress { margin: 34px 0 0; text-align: center; font-style: italic; font-size: 18px; color: var(--ink-text); }
.dress .cinz { display: block; margin-bottom: 6px; }

/* ── Lokasi ──────────────────────────────────────────────────────── */
.map-frame { padding: 10px; margin: 0 0 28px; }
.map-frame.rv-mask.in { clip-path: inset(-30px -30px -30px -30px); }
.leaflet-map, .map-illu { display: block; width: 100%; aspect-ratio: 4 / 3; position: relative; z-index: 1; }
.leaflet-map .leaflet-tile-pane { filter: sepia(.45) saturate(1.3) hue-rotate(-18deg) brightness(.85) contrast(1.05); }
.map-illu svg { width: 100%; height: 100%; display: block; }
.mi-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -110%); font-size: 30px; color: var(--gold-l); animation: pinBob 2.4s ease-in-out infinite; display: flex; }
@keyframes pinBob { 0%, 100% { transform: translate(-50%, -110%); } 50% { transform: translate(-50%, -130%); } }
.vo-marker span { display: block; width: 22px; height: 22px; margin: 4px auto 0; transform: rotate(45deg); background: linear-gradient(135deg, #f3dfa6, #a07a38); border: 2px solid #4a0b17; box-shadow: 0 0 0 1px #d2a85a, 0 6px 12px rgba(0, 0, 0, .5); }
.leaflet-container { font-family: var(--serif); background: #2a0710; }
.loc-name { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-style: italic; font-size: 30px; line-height: 1.2; color: var(--gold-l); }

/* ── Galeri (bingkai berukir) ────────────────────────────────────── */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 10px 0 24px; }
.gal-item {
    position: relative; border: 0; padding: 10px; cursor: pointer; aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #7c5620, #f3d78f 25%, #a07432 50%, #fbe9b8 75%, #7c5620);
    box-shadow: 0 14px 26px rgba(80, 20, 20, .25), inset 0 0 0 1px rgba(255, 255, 255, .4), inset 0 0 0 4px rgba(124, 86, 32, .5);
}
.gal-item:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 4 / 3; }
.gal-item:nth-child(3n+2) .gal-in { border-radius: 50% / 46%; }
.gal-in { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; overflow: hidden; background: #2a0710; box-shadow: inset 0 0 0 2px #5b3c12, inset 0 0 18px rgba(0, 0, 0, .6); }
.gal-in img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-item:hover .gal-in img { transform: scale(1.05); }
.gal-no { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); z-index: 1; padding: 3px 10px; font-family: var(--caps); font-size: 9px; letter-spacing: .24em; color: #3a1a08; background: linear-gradient(180deg, #fbe9b8, #c99a4a); box-shadow: 0 3px 6px rgba(0, 0, 0, .3); }
.gal.ph .gal-item { cursor: default; }
.gal.ph .gal-in { background: radial-gradient(80% 70% at 50% 35%, #7a1426, #2a0710 85%); }
.gal.ph .gal-item:nth-child(3n+2) .gal-in { background: radial-gradient(80% 70% at 50% 35%, #fffaf1, #ead9b8); }
.ph-art { color: var(--gold-l); font-size: 40px; display: flex; }
.gal-item:nth-child(3n+1) .ph-art { font-size: 60px; }
.ph-cap { font-family: var(--display); font-style: italic; font-size: 19px; color: var(--cream); }
.gal.ph .gal-item:nth-child(3n+2) .ph-art { color: var(--gold-d); }
.gal.ph .gal-item:nth-child(3n+2) .ph-cap { color: var(--crimson); }

/* gift (partial) */
.gift-wrap { position: relative; margin-top: 8px; }
.gift #gift-section { background: transparent !important; padding: 10px 0 0 !important; font-family: var(--serif) !important; }
.gift #gift-section .gs-heading { display: none; }
.gift #gift-section .gs-card { border-radius: 2px; border-color: var(--hair-ink); box-shadow: 0 10px 24px rgba(80, 20, 20, .12); background: #fffaf1; }
.gift #gift-section .gs-sbtn, .gift #gift-section .gs-btn-buy { border-radius: 2px !important; background: linear-gradient(112deg, #6e0f20, #b8223b 45%, #7a1426) !important; color: #fbe9b8 !important; letter-spacing: .12em; }
.gift .gs-wrap, .gift .gs-track, .gift .gs-bank-track { max-width: 1080px; margin-left: auto; margin-right: auto; }

/* ── RSVP ────────────────────────────────────────────────────────── */
.rsvp-form { margin: 30px auto 0; padding: 32px 22px 28px; }
.rsvp-form .bo { margin-bottom: 18px; color: var(--gold-l); }
.f-l { display: block; margin: 20px 0 8px; font-family: var(--caps); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.f-in {
    position: relative; width: 100%; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0;
    background: transparent; color: var(--cream); font-family: var(--serif); font-size: 19px; outline: none; resize: vertical;
    transition: border-color .3s;
}
.f-in::placeholder { color: rgba(244, 232, 210, .38); font-style: italic; }
.f-in:focus { border-bottom-color: var(--gold-l); }
.att { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.att label { position: relative; cursor: pointer; }
.att input { position: absolute; opacity: 0; pointer-events: none; }
.att span { display: block; padding: 11px 4px; text-align: center; border: 1px solid var(--hair); font-family: var(--caps); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-dim); transition: all .3s; }
.att input:checked + span { background: linear-gradient(112deg, #a37833, #f0d595 45%, #b68b44); color: #2a0a10; border-color: transparent; }
.att input:focus-visible + span { outline: 1px solid var(--gold-l); outline-offset: 2px; }

/* ── Ucapan ──────────────────────────────────────────────────────── */
.wishes-list { max-height: 560px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--gold-d) transparent; }
.wish-item { display: flex; gap: 14px; padding: 20px 0; border-top: 1px solid rgba(210, 168, 90, .2); }
.wish-item.new { animation: fadeUp .8s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.wish-avatar {
    flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--av, #7a1424); color: #fbe9b8; border: 1px solid var(--gold);
    font-family: var(--display); font-style: italic; font-size: 19px; text-transform: uppercase;
    box-shadow: 0 0 0 3px var(--noir), 0 0 0 4px rgba(210, 168, 90, .35);
}
.wish-body { flex: 1; min-width: 0; }
.wish-header { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.wish-name { font-family: var(--display); font-style: italic; font-size: 19px; color: var(--cream); word-break: break-word; }
.wish-badge { font-family: var(--caps); font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--hair); color: var(--gold-l); }
.wish-badge.tidak { color: #e3a3ad; border-color: rgba(227, 163, 173, .4); }
.wish-badge.ragu { color: var(--cream-dim); border-color: rgba(244, 232, 210, .25); }
.wish-message { margin: 6px 0 6px; font-size: 17px; line-height: 1.6; color: var(--cream-dim); word-break: break-word; }
.wish-time { font-family: var(--caps); font-size: 9px; letter-spacing: .1em; color: rgba(244, 232, 210, .42); }
.wish-empty { text-align: center; padding: 40px 0; color: var(--cream-dim); font-style: italic; }
.we-ico { display: inline-flex; font-size: 30px; color: var(--gold); margin-bottom: 8px; }

/* ── Finale (tirai menutup) ──────────────────────────────────────── */
.finale { position: relative; overflow: hidden; padding: 210px 22px calc(130px + env(safe-area-inset-bottom)); text-align: center;
    background: radial-gradient(60% 45% at 50% 32%, rgba(255, 200, 130, .14), transparent 72%), radial-gradient(90% 70% at 50% 30%, #2c0811, var(--noir) 80%); }
.fin-cur { position: absolute; top: 0; bottom: 0; width: 30%; z-index: 0; background: var(--folds); transition: transform 2.6s cubic-bezier(.5, .05, .2, 1); }
.fin-cur.l { left: 0; transform: translateX(-100%); clip-path: polygon(0 0, 100% 0, 30% 55%, 46% 100%, 0 100%); }
.fin-cur.r { right: 0; transform: translateX(100%); clip-path: polygon(0 0, 100% 0, 100% 100%, 54% 100%, 70% 55%); }
.finale.in .fin-cur { transform: none; }
.chand-fin { position: absolute; z-index: 1; top: 0; left: 50%; width: 200px; margin-left: -100px; transform-origin: 50% 0; animation: sway 7s ease-in-out infinite alternate; }
.fin-in { position: relative; z-index: 2; }
.finale .act-k { display: block; margin-bottom: 10px; }
.finale .cinz { margin-bottom: 10px; }
.fin-names { margin: 16px 0 0; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(54px, 16vw, 120px); line-height: .98; letter-spacing: -.015em; display: flex; flex-direction: column; align-items: center; }
.fin-names .amp { font-family: var(--script); font-style: normal; font-size: .52em; line-height: .9; color: var(--ruby); }
.fam { display: grid; gap: 18px; margin: 30px auto 28px; max-width: 560px; }
.fam p { margin: 0; font-size: 17.5px; line-height: 1.5; color: var(--cream); }
.fam span { display: block; margin-bottom: 4px; font-family: var(--caps); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.salam { margin: 0; font-family: var(--display); font-style: italic; font-size: 19px; color: var(--gold-l); }
.monogram { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 56px 0 22px; font-family: var(--display); font-style: italic; font-size: 40px; line-height: 1; }
.monogram i { width: 1px; height: 46px; background: var(--hair); transform: rotate(18deg); }
.credit { margin: 0; font-family: var(--caps); font-size: 9px; letter-spacing: .14em; color: rgba(244, 232, 210, .45); }

/* lightbox */
.gallery-lightbox {
    display: none; opacity: 0; transition: opacity .3s; position: fixed; inset: 0; z-index: 9600;
    background: rgba(18, 4, 10, .96); align-items: center; justify-content: center;
}
.lb-img-wrap { max-width: 92vw; max-height: 82vh; padding: 8px; background: linear-gradient(135deg, #7c5620, #f3d78f, #a07432, #fbe9b8, #7c5620); }
.lb-img-wrap img { max-width: calc(92vw - 16px); max-height: calc(82vh - 16px); object-fit: contain; }
.lb-close, .lb-prev, .lb-next {
    position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    background: rgba(42, 7, 16, .8); border: 1px solid var(--hair); color: var(--gold-l); font-size: 22px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
}
.lb-close { top: calc(18px + env(safe-area-inset-top)); right: 18px; font-size: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: calc(24px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); font-family: var(--caps); font-size: 11px; letter-spacing: .3em; color: var(--gold-l); }

/* qr fab spacing */
body.has-qr .finale { padding-bottom: calc(170px + env(safe-area-inset-bottom)); }

/* ── Small phones ────────────────────────────────────────────────── */
@media (max-height: 700px) {
    .chand-wrap { width: min(50vw, 200px); margin-left: calc(min(50vw, 200px) / -2); }
    .cv-mid { padding-top: min(34vw, 150px); }
    .cv-names { font-size: clamp(36px, 10.5vw, 50px); }
    .ticket-card { padding-top: 20px; }
    .cv-foot { margin-top: 14px; }
}

/* ── Desktop ─────────────────────────────────────────────────────── */
@media (min-width: 760px) {
    .ch { padding: 140px 48px 150px; }
    .couple { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
    .couple-amp { margin: 0; font-size: 110px; }
    .events { grid-template-columns: 1fr 1fr; gap: 30px; }
    .gal { grid-template-columns: repeat(3, 1fr); gap: 26px; }
    .gal-item:nth-child(3n+1) { grid-column: span 1; aspect-ratio: 3 / 4; }
    .gal-item:nth-child(4n+1) { grid-column: span 2; aspect-ratio: auto; }
    .fam { grid-template-columns: 1fr 1fr; }
    .stage { padding: 26px; }
    .loge { width: 90px; height: 80px; border-radius: 45px 45px 0 0; }
    .loges { gap: 18px; }
    .rsvp-form { padding: 44px 44px 38px; }
    .drape { width: 18%; }
}

/* ── Reduced motion ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
    .rv-up, .rv-frame { opacity: 1; transform: none; transition: none; }
    .mask > span { transform: none; transition: none; }
    .rv-mask { clip-path: none; transition: none; }
    .rv-mask img { transform: none; }
    .fin-cur { transition: none; }
}
