/* ════════════════════════════════════════════════════════════════
   ADAT ACEH — pinto Aceh, rumoh Aceh, pucuk reubong, awan berarak,
   kerawang Gayo & bungong jeumpa
   ════════════════════════════════════════════════════════════════ */
:root {
    --red: #9b1b2a;
    --red-d: #6e1019;
    --red-dd: #3d0a11;
    --grn: #0e3b30;
    --grn-d: #082a22;
    --grn-dd: #05201a;
    --gold: #d9a93a;
    --gold-l: #f0cf6e;
    --ivory: #f8f1e0;
    --ivory-2: #efe3c6;
    --ink: #2a1a16;
    --ink-s: #6a524a;
    --col: 480px;
    --f-t: 'Marcellus', 'Amiri', Georgia, serif;
    --f-b: 'Amiri', Georgia, 'Times New Roman', serif;
    --ease: cubic-bezier(.22, .8, .24, 1);
    /* kerawang Gayo: belah ketupat bersarang */
    --kw-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke='%23d9a93a' stroke-width='1'%3E%3Cpath d='M22 2L42 22 22 42 2 22Z'/%3E%3Cpath d='M22 10L34 22 22 34 10 22Z'/%3E%3Cpath d='M22 17L27 22 22 27 17 22Z'/%3E%3Cpath d='M0 0L6 0 0 6M44 0L38 0 44 6M0 44L6 44 0 38M44 44L38 44 44 38'/%3E%3C/g%3E%3Ccircle cx='22' cy='22' r='1.4' fill='%23d9a93a'/%3E%3C/svg%3E");
    --kw-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke='%239b1b2a' stroke-width='1'%3E%3Cpath d='M22 2L42 22 22 42 2 22Z'/%3E%3Cpath d='M22 10L34 22 22 34 10 22Z'/%3E%3Cpath d='M22 17L27 22 22 27 17 22Z'/%3E%3Cpath d='M0 0L6 0 0 6M44 0L38 0 44 6M0 44L6 44 0 38M44 44L38 44 44 38'/%3E%3C/g%3E%3Ccircle cx='22' cy='22' r='1.4' fill='%239b1b2a'/%3E%3C/svg%3E");
    /* pucuk reubong (rebung) berderet — emas berhias hijau / merah */
    --pk-gg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22' viewBox='0 0 28 22'%3E%3Cpath d='M0 22H28L14 0Z' fill='%23d9a93a'/%3E%3Cpath d='M14 7L22 22H6Z' fill='%23082a22'/%3E%3Cpath d='M14 14L18 22H10Z' fill='%23d9a93a'/%3E%3C/svg%3E");
    --pk-gr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22' viewBox='0 0 28 22'%3E%3Cpath d='M0 22H28L14 0Z' fill='%23d9a93a'/%3E%3Cpath d='M14 7L22 22H6Z' fill='%236e1019'/%3E%3Cpath d='M14 14L18 22H10Z' fill='%23d9a93a'/%3E%3C/svg%3E");
    --pk-hang: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22' viewBox='0 0 28 22'%3E%3Cpath d='M0 0H28L14 22Z' fill='%239b1b2a'/%3E%3Cpath d='M14 15L22 0H6Z' fill='%23f0cf6e'/%3E%3Cpath d='M14 8L18 0H10Z' fill='%239b1b2a'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font: 400 17px/1.7 var(--f-b);
    color: var(--ink);
    background: var(--grn-dd);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: var(--kw-d); opacity: .09; pointer-events: none; }
body.no-scroll { overflow: hidden; height: 100vh; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
svg { display: block; }
.ico { width: 17px; height: 17px; flex: none; }
.orn { width: 34px; height: 48px; margin: 0 auto 12px; color: var(--red); }

/* ── Kolom & bagian ── */
.stage { max-width: var(--col); margin: 0 auto; position: relative; overflow: hidden; background: var(--ivory); box-shadow: 0 0 60px rgba(0, 0, 0, .55); }
.sec { position: relative; padding: 76px 24px 84px; text-align: center; background: var(--ivory); overflow: hidden; }
.sec-ivory { background: var(--ivory-2); }
.sec-red, .sec-red.kw.dark { --pk: var(--pk-gr); background: radial-gradient(ellipse at 50% 0, #b3232f 0%, var(--red-d) 62%, var(--red-dd) 100%); color: var(--ivory); padding: 100px 24px 112px; }
.sec-green { background: radial-gradient(ellipse at 50% 0, #17604d 0%, var(--grn) 58%, var(--grn-d) 100%); color: var(--ivory); padding: 104px 24px 112px; }
.sec-in { max-width: 380px; margin: 0 auto; }

/* tekstur kerawang */
.kw { position: relative; }
.kw::before { content: ''; position: absolute; inset: 0; background: var(--kw-l); opacity: .085; pointer-events: none; z-index: 0; }
.kw.dark { --pk: var(--pk-gg); color: var(--ivory); }
.kw.dark::before { background-image: var(--kw-d); opacity: .13; }
.kw > *:not(.band):not(.clouds):not(.cv-clouds):not(.cv-stars):not(.cv-petals) { position: relative; z-index: 2; }
.band { position: absolute; left: 0; right: 0; height: 22px; background: var(--pk, var(--pk-gg)) repeat-x center; z-index: 3; pointer-events: none; }
.band.top { top: 0; transform: scaleY(-1); }
.band.bot { bottom: 0; }

/* ── Tipografi ── */
.kicker { font: 400 12.5px/1.4 var(--f-t); letter-spacing: .3em; text-transform: uppercase; color: var(--red); }
.kicker.light { color: var(--gold-l); }
.sec-head { margin-bottom: 38px; }
.sec-title { margin-top: 10px; font: 400 30px/1.25 var(--f-t); color: var(--red); }
.dark .sec-title { color: var(--gold-l); }
.sec-sub { margin-top: 10px; color: var(--ink-s); font-size: 16px; }
.salam { margin-bottom: 14px; font: italic 400 21px/1.5 var(--f-b); color: var(--grn); }
.salam.w { color: var(--gold-l); margin: 22px 0 8px; font-size: 18px; }
.body-c { max-width: 350px; margin: 0 auto; color: var(--ink-s); font-size: 16.5px; }
.body-c.w { color: #f0dfbd; }
.names { display: flex; flex-direction: column; align-items: center; font: 400 46px/1.12 var(--f-t); color: var(--ivory); overflow-wrap: anywhere; }
.names small { font: 400 12.5px/1 var(--f-t); letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin: 8px 0; }
.names i { font: italic 400 30px/1.4 var(--f-b); color: var(--gold-l); }
.names.sm { font-size: 36px; }

/* ════════════════════════════════════════════════════════════════
   COVER · PINTO ACEH
   ════════════════════════════════════════════════════════════════ */
.cover {
    position: fixed; inset: 0; z-index: 6000;
    display: grid; place-items: center; padding: 34px 16px; overflow: hidden; text-align: center;
    background: radial-gradient(ellipse at 50% 42%, #14594a 0%, var(--grn) 48%, var(--grn-dd) 100%);
    transition: opacity 1s ease;
}
.cover > .cv-in { position: relative; z-index: 3; }
.cover::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(240, 207, 110, .45); pointer-events: none; z-index: 1; }
.cover.s-out { opacity: 0; pointer-events: none; }
.cv-clouds svg, .clouds svg { position: absolute; width: 150px; height: 64px; color: var(--gold-l); opacity: .2; animation: drift 80s linear infinite; }
.cv-clouds .c1 { top: 12%; left: -170px; } .cv-clouds .c2 { top: 56%; left: -170px; animation-duration: 110s; animation-delay: -45s; width: 190px; height: 82px; opacity: .14; } .cv-clouds .c3 { top: 80%; left: -170px; animation-duration: 95s; animation-delay: -20s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 340px)); } }
.cv-stars i { position: absolute; width: 5px; height: 5px; background: var(--gold-l); transform: rotate(45deg); opacity: .6; animation: twk 3.2s ease-in-out infinite; }
.cv-stars i:nth-child(1) { top: 16%; left: 12%; } .cv-stars i:nth-child(2) { top: 24%; right: 12%; animation-delay: -.8s; }
.cv-stars i:nth-child(3) { top: 42%; left: 6%; animation-delay: -1.6s; } .cv-stars i:nth-child(4) { top: 48%; right: 7%; animation-delay: -2.2s; }
.cv-stars i:nth-child(5) { bottom: 24%; left: 9%; animation-delay: -1s; } .cv-stars i:nth-child(6) { bottom: 20%; right: 11%; animation-delay: -2.6s; }
@keyframes twk { 0%, 100% { opacity: .2; transform: rotate(45deg) scale(.7); } 50% { opacity: .9; transform: rotate(45deg) scale(1.3); } }
.cv-in { width: 100%; max-width: 380px; }
.cv-k { font: 400 11.5px/1.4 var(--f-t); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-l); }
.cv-t { margin: 6px 0 14px; font: 400 36px/1.1 var(--f-t); color: var(--ivory); text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }

.gate {
    --gh: min(46vh, 400px); --gh: min(46svh, 400px);
    position: relative; height: var(--gh); width: calc(var(--gh) * 320 / 420); margin: 0 auto;
    transform-origin: 50% 62%; transition: transform 1.4s cubic-bezier(.55, 0, .2, 1);
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5));
}
.cover.s-out .gate { transform: scale(3.6); }
.g-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.g-open {
    position: absolute; left: 20%; width: 60%; top: 40.476%; height: 48.095%;
    border-radius: 50% 50% 0 0 / 47.5% 47.5% 0 0; overflow: hidden; container-type: size; z-index: 2;
    background: #1a0608;
}
.g-inside { position: absolute; inset: 0; filter: brightness(.6); transition: filter 1.6s ease .5s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding-top: 14%; background: radial-gradient(ellipse at 50% 72%, #fff4c9 0%, #f4d983 52%, #c9972a 100%); color: var(--red); }
.cover.s-open .g-inside { filter: brightness(1.06); }
.gi-k { font: 400 8px/1 var(--f-t); font-size: clamp(7px, 5.4cqw, 10px); letter-spacing: .3em; text-transform: uppercase; color: var(--grn); }
.gi-n { font: 400 clamp(13px, 12.5cqw, 22px)/1.1 var(--f-t); max-width: 92%; overflow-wrap: anywhere; }
.gi-a { font: italic 400 clamp(14px, 12cqw, 20px)/1.2 var(--f-b); color: #a87a14; }
.tirai {
    position: absolute; top: 0; bottom: 0; width: 50.6%; z-index: 2;
    background:
        linear-gradient(135deg, transparent 45%, rgba(240, 207, 110, .6) 46% 54%, transparent 55%) 0 0 / 22px 22px,
        linear-gradient(45deg, transparent 45%, rgba(240, 207, 110, .6) 46% 54%, transparent 55%) 0 0 / 22px 22px,
        radial-gradient(circle, rgba(240, 207, 110, .95) 0 1.8px, transparent 2.4px) 11px 0 / 22px 22px,
        linear-gradient(90deg, #7d1522, #a41f2e 50%, #7d1522);
    box-shadow: inset 0 0 14px rgba(0, 0, 0, .45);
    transition: transform 1.9s cubic-bezier(.6, 0, .25, 1) .15s;
}
.tirai.l { left: 0; border-right: 2px solid var(--gold-l); }
.tirai.r { right: 0; border-left: 2px solid var(--gold-l); }
.cover.s-open .tirai.l { transform: translateX(-104%); }
.cover.s-open .tirai.r { transform: translateX(104%); }

.cv-to { margin: 16px 0 14px; font-size: 14.5px; line-height: 1.6; color: #f0dfbd; }
.cv-to b { display: block; margin-top: 2px; font: 400 23px/1.3 var(--f-t); color: var(--gold-l); overflow-wrap: anywhere; letter-spacing: .03em; }
.btn-gold {
    display: inline-flex; align-items: center; justify-content: center; padding: 13px 36px;
    border: 1px solid #f6e2a0; border-radius: 2px; cursor: pointer;
    background: linear-gradient(180deg, #f4d87f, #c99a2e); color: var(--grn-dd);
    font: 400 14px/1 var(--f-t); letter-spacing: .26em; text-transform: uppercase;
    box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
    transition: transform .25s var(--ease), filter .25s; -webkit-tap-highlight-color: transparent;
    animation: pulse 2.4s ease-in-out infinite;
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); }
@keyframes pulse { 0%, 100% { box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .6), 0 0 0 0 rgba(240, 207, 110, .5); } 50% { box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .6), 0 0 0 10px rgba(240, 207, 110, 0); } }
.cv-petals, .petals { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.cv-petals { position: absolute; z-index: 6; }
.petals { z-index: 900; }
.cv-petals i, .petals i { position: absolute; top: -40px; width: var(--s); height: var(--s); opacity: 0; animation: fall var(--d) linear var(--w) forwards; will-change: transform; }
.cv-petals i svg, .petals i svg { width: 100%; height: 100%; }
@keyframes fall { 0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; } 10% { opacity: .95; } 90% { opacity: .8; } 100% { transform: translate3d(var(--x), 112vh, 0) rotate(var(--r)); opacity: 0; } }

/* ── Musik & toast ── */
.music-toggle-btn { position: fixed; top: 12px; right: max(12px, calc(50vw - var(--col) / 2 + 12px)); z-index: 1002; width: 40px; height: 40px; padding: 0; border: 1px solid var(--gold-l); border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--red-d); color: var(--gold-l); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .3s; -webkit-tap-highlight-color: transparent; }
body.opened .music-toggle-btn { opacity: 1; pointer-events: auto; }
.music-toggle-btn svg { width: 17px; height: 17px; }
.music-toggle-btn.playing { animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 8000; transform: translate(-50%, 24px); padding: 11px 22px; border-radius: 2px; background: var(--grn-dd); color: var(--gold-l); border: 1px solid var(--gold); font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
[data-reveal] { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].shown { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 78px 24px 92px; text-align: center; background: radial-gradient(ellipse at 50% 28%, #176651 0%, var(--grn) 45%, var(--grn-dd) 100%); overflow: hidden; }
.hero-in { max-width: 380px; width: 100%; }
.clouds svg:nth-child(1) { top: 9%; left: -170px; animation-duration: 90s; }
.clouds svg:nth-child(2) { top: 60%; left: -170px; animation-duration: 120s; animation-delay: -60s; width: 200px; height: 86px; opacity: .12; }
.clouds svg:nth-child(3) { top: 84%; left: -170px; animation-duration: 100s; animation-delay: -30s; }
.scene { position: relative; width: min(100%, 330px); margin: 34px auto 18px; }
.rumoh { position: relative; z-index: 2; width: 100%; height: auto; aspect-ratio: 340 / 200; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .5)); }
.sun { position: absolute; left: 50%; top: -112px; width: 300px; height: 300px; margin-left: -150px; z-index: 1; pointer-events: none; }
.sun .rays { position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(rgba(240, 207, 110, .26) 0 5deg, transparent 5deg 15deg); -webkit-mask: radial-gradient(circle, #000 14%, transparent 68%); mask: radial-gradient(circle, #000 14%, transparent 68%); animation: spin 90s linear infinite; }
.sun .disc { position: absolute; left: 50%; top: 50%; width: 118px; height: 118px; margin: -59px 0 0 -59px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff3bd, var(--gold-l) 55%, #c9972a); box-shadow: 0 0 60px 18px rgba(240, 207, 110, .32); }
body.opened .sun .disc { animation: sunUp 2.6s var(--ease) both; }
@keyframes sunUp { from { transform: translateY(46px) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
.hero .names { font-size: 48px; margin-top: 4px; }
.hero-date { margin-top: 14px; font: 400 16px/1.4 var(--f-t); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-l); }
.hero-note { margin: 14px auto 0; max-width: 300px; font-size: 16px; color: #e5dcc2; }

.verse { margin-top: 30px; }
.verse-t { font: italic 400 19px/1.7 var(--f-b); color: var(--ink); }
.verse-s { margin-top: 12px; font: 400 13px/1 var(--f-t); letter-spacing: .24em; text-transform: uppercase; color: var(--red); }

/* ════════════════════════════════════════════════════════════════
   MEMPELAI
   ════════════════════════════════════════════════════════════════ */
.person { max-width: 320px; margin: 0 auto; }
.frame { position: relative; width: 200px; height: 250px; margin: 0 auto 24px; }
.frame::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, #f6dc8a, #b8861f 50%, #f0cf6e); clip-path: polygon(16% 0, 84% 0, 100% 7%, 100% 93%, 84% 100%, 16% 100%, 0 93%, 0 7%); }
.fr-in { position: absolute; inset: 5px; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 30%, #a11f2e, #2a050b); clip-path: polygon(16% 0, 84% 0, 100% 7%, 100% 93%, 84% 100%, 16% 100%, 0 93%, 0 7%); overflow: hidden; }
.fr-in::before { content: ''; position: absolute; inset: 0; background: var(--kw-d); opacity: .28; }
.mono { position: relative; font: 400 96px/1 var(--f-t); color: var(--gold-l); text-shadow: 0 4px 16px rgba(0, 0, 0, .55); }
.fr-j { position: absolute; width: 46px; height: 46px; z-index: 2; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); animation: spin 28s linear infinite; }
.fr-j.tl { top: -20px; left: -20px; } .fr-j.br { bottom: -20px; right: -20px; animation-direction: reverse; }
.p-role { font: 400 13px/1 var(--f-t); letter-spacing: .42em; text-transform: uppercase; color: var(--gold-l); }
.p-name { margin-top: 10px; font: 400 29px/1.25 var(--f-t); color: var(--ivory); }
.p-par { margin-top: 10px; color: #f0dfbd; font-size: 16px; }
.p-par b { font-weight: 700; color: var(--ivory); }
.and { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 38px 0; font: italic 400 40px/1 var(--f-b); color: var(--gold-l); }
.and svg { width: 26px; height: 26px; }

/* ── Tradisi ── */
.rites { max-width: 380px; margin: 0 auto; display: grid; gap: 16px; }
.rite { display: flex; align-items: center; gap: 18px; padding: 18px 20px 18px 16px; text-align: left; background: #fffaf0; border: 1px solid #e0c98f; border-radius: 4px 20px 4px 20px; box-shadow: 0 14px 26px -22px rgba(61, 10, 17, .7); }
.rite-i { flex: none; width: 46px; height: 46px; margin: 6px 8px 6px 6px; display: grid; place-items: center; transform: rotate(45deg); background: var(--red); border: 1.5px solid var(--gold); }
.rite-i svg { width: 28px; height: 28px; transform: rotate(-45deg); color: var(--gold-l); }
.rite h3 { font: 400 19px/1.3 var(--f-t); color: var(--red); }
.rite p { margin-top: 2px; font-size: 15.5px; line-height: 1.55; color: var(--ink-s); }

/* ── Acara ── */
.event { position: relative; max-width: 360px; margin: 0 auto 28px; padding: 0 22px 28px; background: #fffaf0; border: 1.5px solid var(--gold); box-shadow: 0 16px 30px -22px rgba(61, 10, 17, .7); overflow: hidden; }
.event::before { content: ''; position: absolute; inset: 30px 6px 6px; border: 1px solid rgba(217, 169, 58, .45); pointer-events: none; }
.ev-top { height: 28px; margin: 0 -22px 14px; background: linear-gradient(var(--red), var(--red)) top / 100% 6px no-repeat, var(--pk-hang) repeat-x 0 6px; }
.ev-t { position: relative; margin-top: 8px; font: 400 28px/1.25 var(--f-t); color: var(--red); }
.ev-l { position: relative; list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 9px; color: var(--ink-s); font-size: 16px; }
.ev-l li { display: flex; align-items: flex-start; justify-content: center; gap: 10px; text-align: left; }
.ev-l .ico { margin-top: 5px; color: var(--red); }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border: 1px solid var(--red-d); border-radius: 2px; background: var(--red); color: var(--ivory); font: 400 13px/1 var(--f-t); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: 0 8px 16px -8px rgba(61, 10, 17, .85); transition: transform .25s var(--ease), background .25s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-2px); background: var(--red-d); }
.btn.ghost { background: transparent; color: var(--red); box-shadow: none; padding: 10px 20px; font-size: 12px; }
.btn.ghost:hover { background: rgba(155, 27, 42, .08); }
.btn.full { width: 100%; }
.btn:disabled { opacity: .7; cursor: default; transform: none; }

/* ── Hitung mundur (segi delapan) ── */
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 34px 0 30px; }
.cd .dm { position: relative; width: 66px; height: 66px; margin: 0 auto; display: grid; place-items: center; background: linear-gradient(135deg, #f6dc8a, #b8861f); clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.cd .dm::before { content: ''; position: absolute; inset: 2px; background: radial-gradient(circle at 50% 30%, #17604d, var(--grn-d)); clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.cd b { position: relative; display: block; font: 400 25px/1 var(--f-t); font-variant-numeric: tabular-nums; color: var(--ivory); }
.cd span { display: block; margin-top: 10px; font: 400 11px/1 var(--f-t); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); }
.cd-note { font: italic 400 18px/1.5 var(--f-b); color: #dfe9dd; }

/* ── Lokasi ── */
.loc { max-width: 380px; margin: 0 auto; }
.map { height: 220px; border: 2px solid var(--gold); border-radius: 110px 110px 4px 4px; overflow: hidden; margin-bottom: 22px; z-index: 0; }
.loc-name { font: 400 23px/1.3 var(--f-t); color: var(--red); }
.loc-addr { margin: 6px 0 20px; color: var(--ink-s); font-size: 16px; }

/* ── Kisah ── */
.tline { list-style: none; margin: 0 auto; padding: 0; max-width: 360px; position: relative; text-align: left; }
.tline::before { content: ''; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--gold), rgba(217, 169, 58, .2)); }
.tl-i { position: relative; display: flex; gap: 16px; margin-bottom: 26px; }
.tl-i:last-child { margin-bottom: 0; }
.tl-dot { flex: none; width: 34px; height: 34px; margin: 6px 6px 0 6px; display: grid; place-items: center; background: var(--red); border: 1.5px solid var(--gold); transform: rotate(45deg); z-index: 1; }
.tl-dot svg { width: 24px; height: 24px; transform: rotate(-45deg); }
.tl-c { flex: 1; padding: 14px 18px 16px; background: #fffaf0; border: 1px solid #e0c98f; border-radius: 4px 20px 4px 20px; }
.tl-n { font: 400 11.5px/1 var(--f-t); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.tl-c h3 { margin: 6px 0 4px; font: 400 21px/1.25 var(--f-t); color: var(--red); }
.tl-c p { font-size: 15.5px; line-height: 1.6; color: var(--ink-s); }

/* ── Galeri ── */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 400px; margin: 0 auto; }
.gal-i { position: relative; padding: 0; border: 2px solid var(--gold); border-radius: 3px; overflow: hidden; aspect-ratio: 1 / 1.1; background: var(--ivory-2); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gal-i::after { content: ''; position: absolute; inset: 4px; border: 1px solid rgba(255, 255, 255, .7); pointer-events: none; }
.gal-i.g0 { grid-column: span 2; aspect-ratio: 16 / 10; border-radius: 120px 120px 3px 3px; }
.gal-i.g3 { border-radius: 3px 44px 3px 44px; }
.gal-i.g4 { border-radius: 44px 3px 44px 3px; }
.gal-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-i:hover img { transform: scale(1.05); }
.gal-i.ph { display: grid; place-items: center; cursor: default; color: var(--red); background: linear-gradient(160deg, #f6ead0, #ecd9ae); }
.gal-i.ph svg { width: 38%; height: 44%; opacity: .75; }

/* ── Form & ucapan ── */
.card { max-width: 400px; margin: 0 auto; padding: 26px 22px; background: #fffaf0; border: 1.5px solid var(--gold); text-align: left; box-shadow: 0 16px 30px -24px rgba(61, 10, 17, .7); }
.f-l { display: block; margin: 16px 0 6px; font: 400 12px/1.3 var(--f-t); letter-spacing: .18em; text-transform: uppercase; color: var(--grn); }
.form .f-l:first-of-type { margin-top: 0; }
.f-in { width: 100%; padding: 12px 14px; border: 1px solid #dcc79a; border-radius: 2px; background: #fff; color: var(--ink); font: 400 17px/1.5 var(--f-b); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.f-in:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(155, 27, 42, .14); }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ch input { position: absolute; opacity: 0; pointer-events: none; }
.ch span { display: block; padding: 10px 4px; text-align: center; font-size: 15px; border: 1px solid #dcc79a; border-radius: 2px; background: #fff; color: var(--ink-s); cursor: pointer; transition: all .2s; }
.ch input:checked + span { background: var(--grn); border-color: var(--grn); color: var(--ivory); }
.ch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(14, 59, 48, .35); }
.form .btn { margin-top: 22px; }
.wish-head { display: flex; align-items: center; justify-content: space-between; max-width: 400px; margin: 40px auto 14px; }
.wish-head h3 { font: 400 24px/1.2 var(--f-t); color: var(--red); }
.wh-live { display: inline-flex; align-items: center; gap: 6px; font: 400 11.5px/1 var(--f-t); letter-spacing: .16em; text-transform: uppercase; color: var(--grn); }
.wh-live i { width: 7px; height: 7px; border-radius: 50%; background: #3fa05a; animation: live 1.6s ease-in-out infinite; }
@keyframes live { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.wishes { max-width: 400px; margin: 0 auto; display: grid; gap: 12px; max-height: 480px; overflow-y: auto; padding: 2px 4px 2px 0; text-align: left; overscroll-behavior: contain; }
.wish-item { --av: var(--red); display: flex; gap: 12px; padding: 14px; background: #fffaf0; border: 1px solid #e4cf9f; border-left: 4px solid var(--av); border-radius: 2px 16px 16px 2px; }
.wish-item.new { animation: wishIn .7s var(--ease) both; }
@keyframes wishIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.wish-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--av); color: var(--ivory); font: 400 18px/1 var(--f-t); }
.wish-body { min-width: 0; flex: 1; }
.wish-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wish-name { font: 400 16.5px/1.3 var(--f-t); overflow-wrap: anywhere; }
.wish-badge { padding: 2px 9px; border-radius: 2px; font-size: 12.5px; }
.wish-badge.hadir { background: #dcecdc; color: #2f6b42; }
.wish-badge.tidak { background: #f3d9d9; color: #96403f; }
.wish-badge.ragu  { background: #f3e5bd; color: #7d6118; }
.wish-message { margin-top: 4px; font-size: 16px; line-height: 1.55; color: var(--ink-s); overflow-wrap: anywhere; }
.wish-time { display: block; margin-top: 6px; font-size: 13px; color: #9a8776; }
.wish-empty { text-align: center; padding: 20px; color: #9a8776; font: italic 400 18px/1.5 var(--f-b); }

/* ── Kado (partial) ── */
.gift-box { max-width: 420px; margin: 0 auto; border: 1.5px solid var(--gold); background: #fffaf0; overflow: hidden; text-align: left; }
.gift-wrap .gs-heading h2 { font-family: var(--f-t) !important; font-weight: 400 !important; color: var(--red) !important; }
.gift-wrap .gs-heading h2::after { background: var(--gold) !important; }
.gift-wrap .gs-card, .gift-wrap .gs-bank-card { border: 1px solid #e4cf9f !important; border-radius: 4px !important; }
.gift-wrap .gs-btn, .gift-wrap .gs-bank-copy { border-radius: 2px !important; font-family: var(--f-t) !important; }
.gift-wrap .gs-btn-buy { background: var(--red) !important; color: var(--ivory) !important; }
.gift-wrap .gs-bank-logo { background: var(--ivory-2) !important; color: var(--red) !important; }

/* ── Penutup ── */
.end { position: relative; padding: 110px 24px 84px; text-align: center; overflow: hidden; color: var(--ivory); background: radial-gradient(ellipse at 50% 0, #17604d 0%, var(--grn) 52%, var(--grn-dd) 100%); }
.end-in { max-width: 380px; margin: 0 auto; }
.end-rumoh { width: 230px; height: auto; aspect-ratio: 340 / 200; margin: 0 auto 24px; opacity: .92; }
.fam { margin: 24px 0 26px; display: grid; gap: 14px; font-size: 16px; }
.fam span { display: block; margin-bottom: 2px; font: 400 11.5px/1.3 var(--f-t); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-l); }
.end-credit { font-size: 13.5px; color: #c9b48a; }

/* ── Lightbox ── */
.gallery-lightbox { display: none; position: fixed; inset: 0; z-index: 7000; align-items: center; justify-content: center; background: rgba(5, 32, 26, .95); opacity: 0; transition: opacity .3s; }
.lb-img-wrap img { max-width: 92vw; max-height: 80vh; border: 5px solid var(--ivory); border-radius: 2px; }
.lb-close, .lb-prev, .lb-next { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; background: var(--red-d); color: var(--gold-l); font: 400 22px/1 var(--f-t); cursor: pointer; }
.lb-close { top: 18px; right: 18px; font-size: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--ivory); font-size: 15px; letter-spacing: .1em; }

@media (max-height: 700px) {
    .cv-t { font-size: 28px; margin-bottom: 8px; }
    .gate { --gh: min(42vh, 400px); --gh: min(42svh, 400px); }
    .cv-to { margin: 10px 0 10px; }
}
@media (max-width: 360px) {
    .names { font-size: 38px; }
    .hero .names { font-size: 40px; }
    .cd { gap: 6px; }
    .cd .dm { width: 56px; height: 56px; }
    .cd b { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .petals, .cv-petals { display: none; }
}
