/* ══════════════════════════════════════════════════════════════════
   EMERALD DECO — grand hotel 1920-an: zamrud, pernis hitam & kuningan
   ══════════════════════════════════════════════════════════════════ */
:root {
    --em-0: #021410;
    --em-1: #04211a;
    --em-2: #08362b;
    --em-3: #0f5442;
    --lac: #060b0a;
    --ivory: #f4eddc;
    --ivory-2: #e8dec6;
    --gold: #c9a45c;
    --gold-l: #ecd39b;
    --gold-d: #8a6a2c;
    --ink: #0a2a21;
    --ink-text: #33433d;
    --cream: #f1e8d2;
    --cream-dim: rgba(241, 232, 210, .74);
    --hair: rgba(201, 164, 92, .42);
    --hair-ink: rgba(138, 106, 44, .38);
    --deco: 'Limelight', 'Marcellus', serif;
    --mar: 'Marcellus', 'Cormorant Garamond', serif;
    --thin: 'Poiret One', 'Josefin Sans', sans-serif;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Josefin Sans', system-ui, sans-serif;
    --ease: cubic-bezier(.22, .8, .2, 1);
    --gx: 32%;
    --gy: 50%;
    --lean: 0deg;
    --brass: linear-gradient(100deg, #6f5120 0%, #b8914a 16%, #ecd08e 36%, #fbebbd 46%, #d1aa62 60%, #92702f 80%, #c8a35d 100%);
    --wall: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28'%3E%3Cg fill='none' stroke='%23c9a45c' stroke-width='.8'%3E%3Cpath d='M0 28a28 28 0 0 1 56 0M7 28a21 21 0 0 1 42 0M14 28a14 14 0 0 1 28 0M-28 14a28 28 0 0 1 56 0M28 14a28 28 0 0 1 56 0'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; min-height: 100%; background: var(--lac); color: var(--cream);
    font-family: var(--serif); font-size: 18px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; height: 100%; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex-shrink: 0; }

/* ── Gilding: emas yang kilaunya bergeser ───────────────────────── */
.gild {
    background: linear-gradient(105deg, #8a6528 0%, #c9a45c 16%, #f6e2ac 30%, #fffaf0 38%, #e6c682 46%, #a8823e 62%, #f0d89f 80%, #8a6528 100%);
    background-size: 260% 100%; background-position: var(--gx) var(--gy);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    -webkit-text-fill-color: transparent;
    transition: background-position .5s ease-out;
}
.gild.dk {
    background-image: linear-gradient(105deg, #4e3810 0%, #8a6528 18%, #c9a45c 32%, #ecd39b 40%, #a8823e 50%, #5c4214 66%, #b8914a 82%, #4e3810 100%);
}

/* ── Typography ──────────────────────────────────────────────────── */
.lbl { margin: 0 0 12px; font-family: var(--sans); font-size: 10.5px; font-weight: 400; letter-spacing: .36em; text-transform: uppercase; color: var(--gold); }
.lbl.ink, .ivory .lbl { color: var(--gold-d); }
.title { margin: 0 0 14px; font-family: var(--mar); font-weight: 400; font-size: clamp(26px, 7.6vw, 56px); line-height: 1.15; letter-spacing: .05em; text-transform: uppercase; }
.sub { margin: 0 0 22px; font-style: italic; font-size: 20px; color: var(--gold-l); }
.ivory .sub { color: var(--gold-d); }
.txt { margin: 0 auto 18px; max-width: 560px; font-size: 19px; line-height: 1.7; color: var(--cream-dim); }
.txt.sm { font-size: 16.5px; }
.ivory .txt { color: var(--ink-text); }
.center { text-align: center; }
.arabic { margin: 0 0 18px; font-family: 'Amiri', serif; font-size: 23px; line-height: 2; color: var(--gold-l); direction: rtl; }
.arabic.big { font-size: 30px; }

.wrap { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; }
.wrap.narrow { max-width: 640px; }

/* sunburst fan */
.fan { display: block; width: 100%; height: auto; overflow: visible; }
.fan .dr, .dfc .dr { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.7s var(--ease); }
.fan .gem, .dfc .gem { fill: currentColor; opacity: 0; transition: opacity .8s .9s; }
.in .dr, .in.dr, .cover .dr { stroke-dashoffset: 0; }
.in .gem, .cover .gem { opacity: 1; }
.fan .dr:nth-child(3n+1) { transition-delay: .05s; }
.fan .dr:nth-child(3n+2) { transition-delay: .2s; }
.fan .dr:nth-child(3n) { transition-delay: .35s; }
.orn { width: 112px; margin: 0 auto 16px; color: var(--gold); }
.ivory .orn { color: var(--gold-d); }

.d-rule { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px auto; color: var(--gold); }
.d-rule i { width: 46px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.d-rule i:last-child { transform: scaleX(-1); }
.d-rule b { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); box-shadow: 0 0 0 3px transparent, 0 0 0 4px rgba(201, 164, 92, .35); }
.ivory .d-rule { color: var(--gold-d); }

/* ── Deco frame (sudut ziggurat + garis ganda) ─────────────────── */
.df { position: relative; }
.dfc { position: absolute; width: 44px; height: 44px; color: var(--gold); pointer-events: none; z-index: 2; }
.dfc svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dfc.tl { top: 0; left: 0; }
.dfc.tr { top: 0; right: 0; transform: scaleX(-1); }
.dfc.bl { bottom: 0; left: 0; transform: scaleY(-1); }
.dfc.br { bottom: 0; right: 0; transform: scale(-1, -1); }
.dfe { position: absolute; z-index: 2; pointer-events: none; background: rgba(201, 164, 92, .7); transition: transform 1.5s var(--ease) .35s; }
.dfe.t, .dfe.b { left: 44px; right: 44px; height: 1px; transform: scaleX(0); }
.dfe.t { top: .5px; box-shadow: 0 6px 0 rgba(201, 164, 92, .45); }
.dfe.b { bottom: .5px; box-shadow: 0 -6px 0 rgba(201, 164, 92, .45); }
.dfe.l, .dfe.r { top: 44px; bottom: 44px; width: 1px; transform: scaleY(0); }
.dfe.l { left: .5px; box-shadow: 6px 0 0 rgba(201, 164, 92, .45); }
.dfe.r { right: .5px; box-shadow: -6px 0 0 rgba(201, 164, 92, .45); }
.in > .dfe { transform: none; }
.ivory .dfc { color: var(--gold-d); }
.ivory .dfe { background: rgba(138, 106, 44, .6); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-gold, .btn-line {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 17px 34px; cursor: pointer; text-decoration: none;
    font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
    transition: transform .35s var(--ease), filter .35s, background-color .35s;
    -webkit-tap-highlight-color: transparent;
}
.btn-gold {
    border: 0; color: #1d1405;
    background: linear-gradient(105deg, #8a6528, #d6b672 20%, #fbefcd 36%, #d9ba78 52%, #a07a38 70%, #ecd39b 90%);
    background-size: 240% 100%; background-position: var(--gx) 50%;
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .35));
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06) drop-shadow(0 12px 26px rgba(0, 0, 0, .4)); }
.btn-gold > span { display: inline-flex; align-items: center; gap: 10px; }
.btn-gold.wide { width: 100%; margin-top: 28px; }
.btn-gold.loading { opacity: .65; pointer-events: none; }
.btn-line { background: transparent; color: var(--gold-l); border: 1px solid var(--hair); outline: 1px solid rgba(201, 164, 92, .18); outline-offset: 3px; padding: 14px 26px; margin-top: 26px; }
.btn-line:hover { background: rgba(201, 164, 92, .1); }
.btn-line.ink, .ivory .btn-line { color: var(--gold-d); border-color: var(--hair-ink); outline-color: rgba(138, 106, 44, .16); }

/* ── Music + penunjuk lantai ─────────────────────────────────────── */
.music-toggle-btn {
    position: fixed; z-index: 70; 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(3, 24, 19, .66); color: var(--gold-l);
    border: 1px solid rgba(201, 164, 92, .6);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35), inset 0 0 0 3px rgba(3, 24, 19, .6), inset 0 0 0 4px rgba(201, 164, 92, .25);
}
.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(201, 164, 92, .4);
    animation: ring 2.4s ease-out infinite;
}
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

.lift-ind {
    position: fixed; z-index: 70; top: calc(16px + env(safe-area-inset-top)); left: 16px;
    height: 44px; padding: 0 14px 0 12px; display: flex; align-items: center; gap: 8px;
    background: rgba(3, 24, 19, .7); border: 1px solid rgba(201, 164, 92, .6); border-radius: 22px;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .6s, transform .6s var(--ease);
}
.lift-ind.on { opacity: 1; transform: none; }
.lift-ind .li-arr { font-style: normal; font-size: 9px; color: var(--gold); transition: transform .4s var(--ease); }
.lift-ind.down .li-arr { transform: rotate(180deg); }
.lift-ind b { font-family: var(--deco); font-weight: 400; font-size: 19px; line-height: 1; color: var(--gold-l); min-width: 22px; text-align: center; padding-top: 2px; }
.lift-ind span { font-family: var(--sans); font-size: 8px; letter-spacing: .3em; text-transform: uppercase; color: rgba(236, 211, 155, .6); }
.lift-ind.ding b { animation: ding .9s ease-out; }
@keyframes ding { 0% { color: #fff7dc; text-shadow: 0 0 12px rgba(255, 220, 140, .9); } 100% { text-shadow: 0 0 0 transparent; } }

.toast {
    position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 80;
    transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
    background: rgba(3, 24, 19, .94); color: var(--gold-l); border: 1px solid var(--hair);
    padding: 12px 22px; font-family: var(--sans); font-size: 12px; letter-spacing: .08em;
    transition: opacity .35s, transform .35s var(--ease); max-width: calc(100vw - 40px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.fizz { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 65; pointer-events: none; }

/* ══════════════════════════════════════════════════════════════════
   COVER — pintu lift kuningan
   ══════════════════════════════════════════════════════════════════ */
.cover {
    position: fixed; inset: 0; z-index: 60; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: space-between;
    padding: calc(22px + env(safe-area-inset-top)) 18px calc(20px + env(safe-area-inset-bottom));
    background:
        radial-gradient(60% 42% at 50% 52%, rgba(255, 214, 140, .16), transparent 70%),
        radial-gradient(130% 80% at 50% 0%, #0d4a3a 0%, #052a21 50%, #021410 100%);
    transition: opacity 1s ease .2s;
}
.cover::before { content: ''; position: absolute; inset: 0; background: var(--wall); opacity: .12; pointer-events: none; }
.cover::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(2, 16, 12, .55), transparent 22%, transparent 70%, rgba(2, 14, 11, .75)); }
.cv-rays {
    position: absolute; inset: -10% -30%; pointer-events: none;
    background: repeating-conic-gradient(from -90deg at 50% 46%, rgba(230, 196, 120, .085) 0deg 1.6deg, transparent 1.6deg 7.5deg);
    -webkit-mask-image: radial-gradient(60% 50% at 50% 46%, #000 10%, transparent 70%); mask-image: radial-gradient(60% 50% at 50% 46%, #000 10%, transparent 70%);
    animation: raysTurn 90s linear infinite;
}
@keyframes raysTurn { to { transform: rotate(360deg); } }
.cv-top, .lift-wrap, .cv-foot { position: relative; z-index: 2; }
.cv-top { text-align: center; padding: 0 52px; transition: opacity .8s, transform .8s var(--ease); }
.cv-top .lbl { margin-bottom: 10px; font-size: 9.5px; }
.cv-names { margin: 0; font-family: var(--deco); font-weight: 400; font-size: clamp(32px, 9.4vw, 62px); line-height: 1.08; letter-spacing: .02em; }
.cv-names em { font-family: var(--serif); font-style: italic; font-size: .7em; color: var(--gold-l); padding: 0 .06em; }
.cv-date { margin: 8px 0 0; font-family: var(--sans); font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--cream-dim); }
.cv-date i { font-style: normal; color: var(--gold); font-size: 8px; margin: 0 .5em; vertical-align: .15em; }

.lift-wrap {
    flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 12px 0 6px;
    --lh: min(430px, max(232px, calc(100svh - 466px)));
    transform: perspective(1100px) rotateY(var(--lean));
    transition: transform 1.6s cubic-bezier(.6, 0, .3, 1), opacity 1.1s ease;
}

/* dial penunjuk lantai */
.crest { width: calc(var(--lh) * .66 * .74); margin-bottom: -3px; position: relative; z-index: 2; filter: drop-shadow(0 -4px 14px rgba(0, 0, 0, .35)); }
.dial { display: block; width: 100%; height: auto; overflow: visible; }
.dial .ticks path { stroke: rgba(214, 180, 108, .7); stroke-width: 1; }
.dial .dl { font-family: var(--sans); font-size: 12.5px; font-weight: 600; fill: rgba(236, 211, 155, .38); transition: fill .3s calc(var(--k) * .2s + .15s); }
.dial .dl:last-child { font-size: 15px; }
.dial .needle { transform-box: view-box; transform-origin: 110px 108px; transform: rotate(-75deg); fill: #f3dca2; animation: idleNeedle 3.4s ease-in-out infinite alternate; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
@keyframes idleNeedle { from { transform: rotate(-75deg); } to { transform: rotate(-68deg); } }
.dial .chime { fill: rgba(255, 232, 170, .5); opacity: 0; transform-box: fill-box; transform-origin: center; }
.s1 .dial .needle { animation: none; transform: rotate(75deg); transition: transform 1.6s cubic-bezier(.55, 0, .25, 1) .1s; }
.s1 .dial .dl { fill: #f6dc9c; }
.s2 .dial .dl:last-child { fill: #fff3d0; }
.s2 .dial .chime { animation: chime 1.2s ease-out; }
@keyframes chime { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: .9; } 100% { opacity: 0; transform: scale(1.6); } }

/* bingkai & lorong lift */
.lift { position: relative; height: var(--lh); aspect-ratio: .66; }
.arch {
    position: absolute; inset: 0; background: var(--brass);
    clip-path: polygon(0 26px, 6% 26px, 6% 15px, 11% 15px, 11% 4px, 89% 4px, 89% 15px, 94% 15px, 94% 26px, 100% 26px, 100% 100%, 0 100%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
}
.arch::before {
    content: ''; position: absolute; inset: 2px;
    background: linear-gradient(180deg, #0f1a17, #050908 70%);
    clip-path: polygon(0 24px, 6% 24px, 6% 13px, 11% 13px, 11% 2px, 89% 2px, 89% 13px, 94% 13px, 94% 24px, 100% 24px, 100% 100%, 0 100%);
}
.arch i { position: absolute; left: 50%; transform: translateX(-50%); height: 1px; background: rgba(201, 164, 92, .55); }
.arch i:nth-child(1) { top: 10px; width: 52%; }
.arch i:nth-child(3) { top: 22px; width: 74%; }
.arch i:nth-child(2) {
    top: 12px; width: 0; height: 0; background: none;
    border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 8px solid #3b2f17;
    transition: border-color .3s, filter .3s;
}
.s2 .arch i:nth-child(2) { border-bottom-color: #ffe7a8; filter: drop-shadow(0 0 6px rgba(255, 220, 140, .95)); }
.shaft {
    position: absolute; left: 14px; right: 14px; top: 34px; bottom: 12px; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(201, 164, 92, .55), 0 0 0 4px #050908, 0 0 0 5px rgba(201, 164, 92, .3);
}
.cabin {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    background:
        repeating-linear-gradient(90deg, rgba(90, 60, 20, .25) 0 1px, transparent 1px 25%),
        radial-gradient(90% 70% at 50% 18%, #fff2cf 0%, #e7c27c 30%, #8f6a2b 70%, #3a2a10 100%);
}
.cab-light { position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% 40%, rgba(255, 250, 230, .95), transparent 70%); opacity: .25; transition: opacity 1.2s; }
.s3 .cab-light { opacity: 1; }
.cab-fan { position: relative; width: 62%; color: #5a4216; }
.cab-mono { position: relative; font-family: var(--deco); font-size: calc(var(--lh) * .1); color: #4a3410; letter-spacing: .04em; }
.cab-mono em { font-family: var(--serif); font-size: .7em; padding: 0 .1em; }

.door {
    position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden;
    transition: transform 1.5s cubic-bezier(.65, 0, .25, 1);
}
.door.l { left: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px), linear-gradient(90deg, #6a4d1d 0%, #b48d47 14%, #e8cb88 40%, #f8e6b4 55%, #d2ab63 76%, #94712f 100%); box-shadow: inset -1px 0 0 rgba(40, 26, 6, .7); }
.door.r { right: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px), linear-gradient(270deg, #6a4d1d 0%, #b48d47 14%, #e8cb88 40%, #f8e6b4 55%, #d2ab63 76%, #94712f 100%); box-shadow: inset 1px 0 0 rgba(255, 240, 200, .5); }
.door svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.door .ed { fill: none; stroke: rgba(74, 50, 14, .78); stroke-width: .85; }
.door .eh { fill: none; stroke: rgba(255, 244, 210, .5); stroke-width: .85; transform: translate(.6px, .7px); }
.door .med-t { font-family: var(--deco); font-size: 14px; fill: #4a3410; letter-spacing: .02em; }
.door .sheen {
    position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
    background: linear-gradient(105deg, transparent 32%, rgba(255, 252, 235, .95) 46%, transparent 60%);
    background-size: 300% 100%; background-position: var(--gx) 0; transition: background-position .5s ease-out;
}
.s3 .door.l { transform: translateX(-101%); }
.s3 .door.r { transform: translateX(101%); }

/* tombol panggil */
.call {
    position: absolute; top: 52%; right: -40px; transform: translateY(-50%);
    width: 30px; height: 66px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.call-plate {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    background: var(--brass); border-radius: 15px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(74, 50, 14, .55), inset 0 0 0 3px rgba(255, 240, 200, .25);
}
.call-btn {
    display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #2a2a24, #070807); color: #8a6a2c;
    box-shadow: 0 0 0 2px #7a5a24, 0 0 0 3px rgba(255, 240, 200, .45);
    transition: color .3s, box-shadow .3s, background .3s;
    animation: callPulse 2.2s ease-in-out infinite;
}
.call-btn i { font-style: normal; font-size: 8px; line-height: 1; margin-top: -1px; }
@keyframes callPulse { 50% { box-shadow: 0 0 0 2px #7a5a24, 0 0 0 3px rgba(255, 240, 200, .45), 0 0 14px 4px rgba(255, 210, 120, .45); } }
.s1 .call-btn { animation: none; color: #fff2c4; background: radial-gradient(circle at 40% 35%, #ffe7a8, #c0862c); box-shadow: 0 0 0 2px #7a5a24, 0 0 18px 6px rgba(255, 214, 130, .8); }

.plaque {
    position: relative; margin-top: 16px; padding: 9px 26px 8px; max-width: min(84vw, 360px); text-align: center;
    background: var(--brass); background-size: 220% 100%; background-position: var(--gx) 50%;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .45));
}
.plaque::before { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(74, 50, 14, .45);
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); }
.pl-k { display: block; font-family: var(--sans); font-size: 8.5px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: #5a4216; }
.pl-n { display: block; margin-top: 1px; font-family: var(--mar); font-size: 17px; line-height: 1.25; color: #2b1e07; word-break: break-word; }

.cv-foot { text-align: center; transition: opacity .8s, transform .8s var(--ease); }
.cv-to { margin: 0 0 14px; font-style: italic; font-size: 17px; color: var(--cream-dim); }
.cv-to b { font-weight: 500; color: var(--cream); }
.cv-note { margin: 12px 0 0; font-family: var(--sans); font-size: 10px; letter-spacing: .06em; color: rgba(241, 232, 210, .45); }

/* urutan pembukaan */
.cover.s1 .cv-foot { opacity: 0; transform: translateY(16px); pointer-events: none; }
.cover.s3 .cv-top { opacity: 0; transform: translateY(-16px); }
.cover.s3 .plaque { opacity: 0; transition: opacity .6s; }
.cover.s3 .crest { opacity: 0; transition: opacity .8s .2s; }
.cover.s4 .lift-wrap { transform: scale(2.6); opacity: 0; }
.cover.s4 { opacity: 0; pointer-events: none; }

/* ══════════════════════════════════════════════════════════════════
   LOBI (HERO)
   ══════════════════════════════════════════════════════════════════ */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 84px 18px 96px; overflow: hidden;
    background: radial-gradient(120% 70% at 50% 100%, #0f5442 0%, #062b22 50%, #021410 100%);
}
.hero::before { content: ''; position: absolute; inset: 0; background: var(--wall); opacity: .07; }
.rays {
    position: absolute; inset: 0; pointer-events: none;
    background: repeating-conic-gradient(from -90deg at 50% 100%, rgba(230, 196, 120, .11) 0deg 1.2deg, transparent 1.2deg 6deg);
    -webkit-mask-image: radial-gradient(110% 85% at 50% 100%, #000 15%, transparent 72%); mask-image: radial-gradient(110% 85% at 50% 100%, #000 15%, transparent 72%);
}
.hero-card {
    position: relative; z-index: 1; width: 100%; max-width: 440px; padding: 50px 26px 42px; text-align: center;
    background: linear-gradient(180deg, rgba(3, 24, 19, .9), rgba(2, 14, 11, .94));
    box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
}
.hc-fan { display: block; width: 128px; margin: 0 auto 16px; color: var(--gold); }
.hero-names { margin: 6px 0 0; font-family: var(--deco); font-weight: 400; font-size: clamp(46px, 14vw, 92px); line-height: 1.02; display: flex; flex-direction: column; align-items: center; word-break: break-word; }
.hero-names .amp, .fin-names .amp { font-family: var(--serif); font-style: italic; font-size: .5em; line-height: 1.1; color: var(--gold-l); }
.hero-date { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin: 4px auto 16px; max-width: 320px; }
.hero-date span { padding: 9px 0 7px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-family: var(--sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-dim); }
.hero-date b { font-family: var(--deco); font-weight: 400; font-size: 54px; line-height: 1; color: var(--gold-l); }
.hero-place { margin: 0; font-style: italic; font-size: 19px; color: var(--cream-dim); }
.scroll-cue { position: absolute; z-index: 1; bottom: calc(22px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.scroll-cue i { font-style: normal; font-size: 9px; color: var(--gold); animation: cue 1.8s ease-in-out infinite; }
.scroll-cue span { font-family: var(--sans); font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: rgba(236, 211, 155, .65); }
@keyframes cue { 50% { transform: translateY(5px); opacity: .5; } }

.band {
    height: 46px; position: relative;
    background-color: var(--em-1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='34'%3E%3Cg fill='none' stroke='%23c9a45c' stroke-opacity='.75' stroke-width='.9'%3E%3Cpath d='M3 33a20 20 0 0 1 40 0M9 33a14 14 0 0 1 28 0M15 33a8 8 0 0 1 16 0M23 33V13M23 33L11 17M23 33L35 17M23 33L6 25M23 33L40 25'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat-x; background-position: center 6px;
    border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
    box-shadow: inset 0 4px 0 var(--em-1), inset 0 5px 0 rgba(201, 164, 92, .3), inset 0 -4px 0 var(--em-1), inset 0 -5px 0 rgba(201, 164, 92, .3);
}

/* ══════════════════════════════════════════════════════════════════
   LANTAI (SECTION)
   ══════════════════════════════════════════════════════════════════ */
.floor { position: relative; padding: 104px 20px 116px; overflow: hidden; border-top: 1px solid rgba(201, 164, 92, .22); }
.emerald { background: radial-gradient(120% 70% at 50% 0%, #0d4a3a 0%, #062b22 55%, #031a14 100%); }
.emerald::before { content: ''; position: absolute; inset: 0; background: var(--wall); opacity: .06; pointer-events: none; }
.lacquer { background: linear-gradient(180deg, #0b1311, #050807); }
.lacquer::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(201, 164, 92, .04) 0 1px, transparent 1px 64px); }
.ivory {
    --mask-bg: var(--ivory); color: var(--ink);
    background: radial-gradient(90% 60% at 20% 10%, #fbf7ee 0%, transparent 60%), radial-gradient(80% 60% at 90% 90%, #ece2ca 0%, transparent 60%), var(--ivory);
}
.ivory::before { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(138, 106, 44, .22); outline: 1px solid rgba(138, 106, 44, .12); outline-offset: -6px; pointer-events: none; }
.radiant .rays { -webkit-mask-image: radial-gradient(90% 70% at 50% 100%, #000 10%, transparent 70%); mask-image: radial-gradient(90% 70% at 50% 100%, #000 10%, transparent 70%); }

.fl-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; max-width: 1080px; margin: 0 auto 54px; }
.fl-no {
    display: inline-flex; flex-direction: column; align-items: center; padding: 6px 10px 5px; min-width: 56px;
    border: 1px solid var(--hair); outline: 1px solid rgba(201, 164, 92, .18); outline-offset: 2px;
}
.fl-no i { font-style: normal; font-family: var(--sans); font-size: 7.5px; letter-spacing: .32em; text-transform: uppercase; color: rgba(236, 211, 155, .7); }
.fl-no b { font-family: var(--deco); font-weight: 400; font-size: 21px; line-height: 1.1; color: var(--gold-l); }
.fl-rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--hair), transparent); }
.fl-kick { font-family: var(--sans); font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.ivory .fl-no { border-color: var(--hair-ink); outline-color: rgba(138, 106, 44, .14); }
.ivory .fl-no i { color: var(--gold-d); }
.ivory .fl-no b { color: var(--ink); }
.ivory .fl-rule { background: linear-gradient(90deg, var(--hair-ink), transparent); }
.ivory .fl-kick { color: var(--gold-d); }

/* ── Reveal ──────────────────────────────────────────────────────── */
.rv-up { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv-up.in { opacity: 1; transform: none; }
.df.rv { opacity: 0; transition: opacity 1.1s var(--ease); }
.df.rv.in { opacity: 1; }
.rv-mask::before { content: ''; position: absolute; inset: -1px; z-index: 3; background: var(--mask-bg, #052a21); transform-origin: 50% 0; transition: transform 1.5s var(--ease); pointer-events: none; }
.rv-mask.in::before { transform: scaleY(0); }
.rv-mask img, .rv-fade img { transform: scale(1.16); transition: transform 2s var(--ease); }
.rv-mask.in img, .rv-fade.in img { transform: none; }
.rv-fade { opacity: 0; transition: opacity 1.4s var(--ease); }
.rv-fade.in { opacity: 1; }

/* ── Salam ───────────────────────────────────────────────────────── */
.ayat { margin: 40px auto 0; padding: 44px 26px 32px; background: rgba(2, 16, 12, .55); }
.ayat .arabic { font-size: 23px; }
.ayat blockquote { margin: 0 0 16px; font-style: italic; font-size: 18.5px; line-height: 1.7; color: var(--cream); }
.ayat figcaption { font-family: var(--sans); font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }

/* ── Mempelai ────────────────────────────────────────────────────── */
.couple { display: grid; gap: 34px; margin-top: 44px; }
.suite { text-align: center; }
.portal {
    --clip: polygon(0 100%, 0 21%, 9% 21%, 9% 12%, 20% 12%, 20% 5%, 34% 5%, 34% 0, 66% 0, 66% 5%, 80% 5%, 80% 12%, 91% 12%, 91% 21%, 100% 21%, 100% 100%);
    position: relative; width: min(250px, 68vw); aspect-ratio: 3 / 4.15; margin: 0 auto 34px;
}
.portal::before { content: ''; position: absolute; inset: 0; background: var(--brass); clip-path: var(--clip); filter: drop-shadow(0 20px 30px rgba(10, 42, 33, .25)); }
.portal::after { content: ''; position: absolute; inset: 5px; background: #fbf6ea; clip-path: var(--clip); }
.portal-in {
    position: absolute; inset: 9px; z-index: 1; clip-path: var(--clip); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: repeating-conic-gradient(from -90deg at 50% 100%, rgba(230, 196, 120, .12) 0deg 1.5deg, transparent 1.5deg 7.5deg), radial-gradient(100% 80% at 50% 100%, #0f5442, #04211a 75%);
}
.portal-in img { width: 100%; height: 100%; object-fit: cover; }
.mono { font-family: var(--deco); font-size: clamp(90px, 28vw, 130px); line-height: 1; padding-top: .1em; }
.suite-no {
    position: absolute; z-index: 2; bottom: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
    padding: 7px 14px 6px; background: var(--ink); color: var(--gold-l); border: 1px solid var(--gold);
    font-family: var(--sans); font-size: 9px; letter-spacing: .3em; text-transform: uppercase;
}
.person { margin: 0 0 4px; font-family: var(--mar); font-weight: 400; font-size: 25px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.parent { margin: 0; font-size: 17.5px; line-height: 1.6; color: var(--ink-text); }
.parent b { font-weight: 600; color: var(--ink); }
.couple-amp { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--gold-d); }
.couple-amp::before, .couple-amp::after { content: ''; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-d)); }
.couple-amp::after { transform: scaleX(-1); }
.couple-amp span { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; }

/* ── Kisah ───────────────────────────────────────────────────────── */
.story { position: relative; list-style: none; margin: 30px 0 0; padding: 0; }
.story::before { content: ''; position: absolute; left: 23px; top: 30px; bottom: 30px; width: 1px; background: linear-gradient(180deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent); }
.story li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 26px 0; }
.st-node { position: relative; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.st-node::before { content: ''; position: absolute; inset: 7px; transform: rotate(45deg); background: var(--lac); border: 1px solid var(--gold); box-shadow: 0 0 0 4px var(--lac), 0 0 0 5px rgba(201, 164, 92, .35); }
.st-node b { position: relative; font-family: var(--deco); font-weight: 400; font-size: 15px; color: var(--gold-l); }
.story .lbl { margin-bottom: 4px; }
.story h3 { margin: 0 0 8px; font-family: var(--mar); font-weight: 400; font-size: 23px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-l); }
.story p:last-child { margin: 0; font-size: 18px; line-height: 1.65; color: var(--cream-dim); }

/* ── Hitung mundur ───────────────────────────────────────────────── */
.bigdate { margin: 0 0 4px; font-family: var(--deco); font-weight: 400; font-size: clamp(38px, 11.5vw, 84px); line-height: 1.1; white-space: nowrap; }
.cd { --clip: polygon(0 16px, 14% 16px, 14% 8px, 30% 8px, 30% 0, 70% 0, 70% 8px, 86% 8px, 86% 16px, 100% 16px, 100% 100%, 0 100%);
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 520px; margin: 34px auto 22px; }
.cd div { position: relative; padding: 30px 2px 14px; background: var(--brass); clip-path: var(--clip); }
.cd div::before { content: ''; position: absolute; inset: 1px; background: linear-gradient(180deg, #0d4a3a, #03190f 90%); clip-path: var(--clip); }
.cd b { position: relative; display: block; font-family: var(--deco); font-weight: 400; font-size: clamp(28px, 8.6vw, 44px); line-height: 1; color: var(--gold-l); text-shadow: 0 0 18px rgba(236, 211, 155, .25); font-variant-numeric: tabular-nums; }
.cd span { position: relative; display: block; margin-top: 8px; font-family: var(--sans); font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-dim); }
.cd-date { margin: 0; font-style: italic; font-size: 20px; color: var(--cream); }

/* ── Acara ───────────────────────────────────────────────────────── */
.events { display: grid; gap: 58px; margin-top: 66px; }
.plate {
    position: relative; padding: 58px 24px 32px; text-align: center;
    background: linear-gradient(180deg, #fffcf4, #f7f0df); border: 1px solid var(--hair-ink);
    box-shadow: 0 24px 40px rgba(10, 42, 33, .1);
}
.plate::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(138, 106, 44, .22); pointer-events: none; }
.pt-top {
    position: absolute; top: 0; left: 50%; transform: translate(-50%, -52%);
    width: 116px; height: 44px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px;
    background: var(--brass);
    clip-path: polygon(0 100%, 0 62%, 14% 62%, 14% 34%, 30% 34%, 30% 10%, 42% 10%, 42% 0, 58% 0, 58% 10%, 70% 10%, 70% 34%, 86% 34%, 86% 62%, 100% 62%, 100% 100%);
}
.pt-top::before { content: ''; position: absolute; inset: 2px 2px 0; background: var(--ink);
    clip-path: polygon(0 100%, 0 62%, 14% 62%, 14% 34%, 30% 34%, 30% 10%, 42% 10%, 42% 0, 58% 0, 58% 10%, 70% 10%, 70% 34%, 86% 34%, 86% 62%, 100% 62%, 100% 100%); }
.pt-ico { position: relative; font-size: 19px; color: var(--gold-l); display: flex; }
.plate h3 { margin: 0 0 18px; font-family: var(--mar); font-weight: 400; font-size: 28px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.plate dl { margin: 0 auto; max-width: 300px; display: grid; gap: 12px; text-align: left; }
.plate dl div { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.plate dt { font-size: 18px; color: var(--gold-d); padding-top: 2px; }
.plate dd { margin: 0; font-size: 18px; line-height: 1.45; color: var(--ink-text); }
.dress { margin: 40px 0 0; text-align: center; font-style: italic; font-size: 18px; color: var(--ink-text); }
.dress .lbl { display: block; margin-bottom: 4px; font-style: normal; }

/* ── Lokasi ──────────────────────────────────────────────────────── */
.map-frame { margin: 34px auto 28px; padding: 13px; background: rgba(2, 16, 12, .7); }
.leaflet-map, .map-illu { display: block; width: 100%; aspect-ratio: 4 / 3; position: relative; z-index: 1; }
.leaflet-map .leaflet-tile-pane { filter: grayscale(1) sepia(.35) hue-rotate(115deg) saturate(1.5) brightness(.72) contrast(1.1); }
.map-illu svg { width: 100%; height: 100%; display: block; }
.mi-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -64%); font-size: 40px; color: var(--gold-l); display: flex; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); animation: pinBob 2.4s ease-in-out infinite; }
@keyframes pinBob { 50% { transform: translate(-50%, -76%); } }
.ed-marker span { display: block; width: 22px; height: 22px; margin: 4px auto 0; transform: rotate(45deg); background: linear-gradient(135deg, #f3dfa6, #a07a38); border: 2px solid var(--em-1); box-shadow: 0 0 0 1px var(--gold), 0 6px 12px rgba(0, 0, 0, .5); }
.leaflet-container { font-family: var(--sans); background: #0a1f1a; }
.loc-name { margin: 0 0 8px; font-family: var(--mar); font-weight: 400; font-size: 24px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-l); }
#lokasi .btn-gold { margin-top: 18px; }

/* ── Galeri ──────────────────────────────────────────────────────── */
.gal { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 54px; grid-auto-flow: dense; gap: 10px; margin: 40px 0 22px; }
.gal-item { position: relative; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: var(--em-2); grid-column: span 3; grid-row: span 3; }
.gal-item:nth-child(6n+1) { grid-column: span 4; grid-row: span 5; }
.gal-item:nth-child(6n+2), .gal-item:nth-child(6n+3) { grid-column: span 2; grid-row: span 2; }
.gal-item:nth-child(6n+3) { grid-row: span 3; }
.gal-item:nth-child(6n) { grid-column: span 6; grid-row: span 4; }
.gal-item:last-child:nth-child(6n+1) { grid-column: span 6; grid-row: span 4; }
.gal-item:last-child:nth-child(6n+2) { grid-column: span 6; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; }
.gal-item::after { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(236, 211, 155, .55); pointer-events: none;
    clip-path: polygon(0 10px, 10px 10px, 10px 0, calc(100% - 10px) 0, calc(100% - 10px) 10px, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 10px calc(100% - 10px), 0 calc(100% - 10px)); }
.gal-no { position: absolute; top: 14px; left: 15px; z-index: 1; font-family: var(--sans); font-size: 9px; letter-spacing: .28em; color: rgba(255, 246, 220, .9); text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.gal.ph .gal-item { cursor: default; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    background: repeating-conic-gradient(from -90deg at 50% 100%, rgba(230, 196, 120, .08) 0deg 1.5deg, transparent 1.5deg 7.5deg), radial-gradient(100% 90% at 50% 100%, #0f5442, #04211a 80%); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .25); }
.gal.ph .gal-item:nth-child(even) { background: linear-gradient(180deg, #0d1513, #050807); }
.ph-art { color: var(--gold-l); font-size: 32px; display: flex; }
.gal-item:nth-child(6n+1) .ph-art { font-size: 60px; }
.ph-cap { font-family: var(--mar); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); }
.gal-item:nth-child(6n+1) .ph-cap { font-size: 15px; }

/* ── Hadiah (partial) ────────────────────────────────────────────── */
.gift-wrap { position: relative; z-index: 1; margin-top: 8px; }
.gift #gift-section { background: transparent !important; padding: 10px 0 0 !important; font-family: var(--sans) !important; }
.gift #gift-section .gs-heading { display: none; }
.gift #gift-section .gs-card { border-radius: 0; border-color: var(--hair-ink); box-shadow: 0 12px 26px rgba(10, 42, 33, .1); background: #fffcf4; }
.gift #gift-section .gs-sbtn, .gift #gift-section .gs-btn-buy { border-radius: 0 !important; background: linear-gradient(105deg, #8a6528, #d6b672 40%, #a07a38) !important; color: #1d1405 !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: 34px auto 0; padding: 44px 24px 32px; background: linear-gradient(170deg, rgba(15, 84, 66, .16), rgba(15, 84, 66, .04)); }
.f-l { display: block; margin: 20px 0 8px; font-family: var(--sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.f-l:first-of-type { margin-top: 0; }
.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(241, 232, 210, .35); 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(--sans); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-dim); transition: all .3s; }
.att input:checked + span { background: linear-gradient(105deg, #a07c3c, #ecd39b 45%, #b38a45); color: #1d1405; border-color: transparent; }
.att input:focus-visible + span { outline: 1px solid var(--gold-l); outline-offset: 2px; }

/* ── Ucapan ──────────────────────────────────────────────────────── */
.wishes-list { position: relative; margin-top: 34px; 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(201, 164, 92, .2); }
.wish-item.new { animation: fadeUp .8s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wish-avatar {
    flex-shrink: 0; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
    background: var(--av, #0f4a3b); color: #fbefcd; border: 1px solid var(--gold);
    clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
    font-family: var(--deco); font-size: 18px; text-transform: uppercase;
}
.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(--mar); font-size: 17px; letter-spacing: .04em; color: var(--cream); word-break: break-word; }
.wish-badge { font-family: var(--sans); font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; padding: 4px 8px 3px; border: 1px solid var(--hair); color: var(--gold-l); }
.wish-badge.tidak { color: #e0aa9b; border-color: rgba(224, 170, 155, .4); }
.wish-badge.ragu { color: var(--cream-dim); border-color: rgba(241, 232, 210, .25); }
.wish-message { margin: 6px 0; font-size: 17px; line-height: 1.6; color: var(--cream-dim); word-break: break-word; }
.wish-time { font-family: var(--sans); font-size: 10px; letter-spacing: .1em; color: rgba(241, 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; }

/* ── Penutup · Penthouse ─────────────────────────────────────────── */
.finale { position: relative; overflow: hidden; padding: 120px 22px calc(130px + env(safe-area-inset-bottom)); text-align: center; border-top: 1px solid rgba(201, 164, 92, .22);
    background: radial-gradient(110% 60% at 50% 100%, #0b3b2f 0%, #050d0b 70%); }
.finale .lbl { margin-bottom: 12px; }
.fin-names { margin: 18px 0 0; font-family: var(--deco); font-weight: 400; font-size: clamp(50px, 15vw, 116px); line-height: 1; display: flex; flex-direction: column; align-items: center; word-break: break-word; }
.fam { display: grid; gap: 18px; margin: 34px auto 30px; 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(--sans); font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.salam { margin: 0; font-style: italic; font-size: 19px; color: var(--gold-l); }
.monogram { position: relative; width: 150px; margin: 64px auto 26px; color: var(--gold); }
.mg-fan { display: block; }
.mg-t { margin-top: 12px; display: flex; align-items: baseline; justify-content: center; gap: 4px; font-family: var(--deco); font-size: 34px; line-height: 1; }
.mg-t i { font-family: var(--serif); font-size: .6em; color: var(--gold-l); }
.credit { margin: 0; font-family: var(--sans); font-size: 10px; letter-spacing: .14em; color: rgba(241, 232, 210, .42); }

/* ── Lightbox ────────────────────────────────────────────────────── */
.gallery-lightbox {
    display: none; opacity: 0; transition: opacity .3s; position: fixed; inset: 0; z-index: 9600;
    background: rgba(2, 12, 10, .95); align-items: center; justify-content: center;
}
.lb-img-wrap { max-width: 92vw; max-height: 82vh; padding: 8px; border: 1px solid var(--hair); }
.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(3, 24, 19, .7); 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(--sans); 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)); }

/* ── Desktop ─────────────────────────────────────────────────────── */
.ivory { padding-left: 28px; padding-right: 28px; }

@media (min-width: 760px) {
    .floor { padding: 150px 48px 160px; }
    .fl-head { margin-bottom: 70px; }
    .couple { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
    .couple-amp { flex-direction: column; }
    .couple-amp::before, .couple-amp::after { width: 1px; height: 60px; background: linear-gradient(180deg, transparent, var(--gold-d)); }
    .couple-amp span { font-size: 90px; }
    .events { grid-template-columns: 1fr 1fr; gap: 34px; }
    .gal { grid-auto-rows: 84px; gap: 14px; }
    .fam { grid-template-columns: 1fr 1fr; }
    .hero-card { padding: 64px 44px 52px; max-width: 520px; }
    .rsvp-form { padding: 52px 46px 40px; }
    .story li { grid-template-columns: 48px 1fr; gap: 30px; }
}

/* ── Reduced motion ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
    .rv-up, .df.rv, .rv-fade { opacity: 1; transform: none; transition: none; }
    .rv-mask::before { display: none; }
    .rv-mask img, .rv-fade img { transform: none; }
    .dr { stroke-dashoffset: 0 !important; transition: none !important; }
    .gem { opacity: 1 !important; }
    .dfe { transform: none !important; }
    .cv-rays { animation: none; }
}
