/* ════════════════════════════════════════════════════════════════
   SURAT SEGEL — kertas katun letterpress, amplop bersegel lilin,
   pelapis foil emas, bunga kering tekan, perangko & cap pos
   ════════════════════════════════════════════════════════════════ */
:root {
    --ink: #2f2b26;
    --ink-s: #5a5249;
    --cotton: #f6f1e7;
    --cotton-d: #ebe3d2;
    --mat: #fcfaf5;
    --sage: #7d8b6a;
    --sage-d: #5f6d51;
    --sage-dd: #47533c;
    --blue: #6f8597;
    --blue-d: #566b7d;
    --blue-dd: #3d4f5f;
    --wax: #8a2433;
    --wax-d: #5e1522;
    --gold: #b99556;
    --gold-l: #e6cf98;
    --velvet: #2b3540;
    --col: 490px;
    --f-s: 'Pinyon Script', 'Snell Roundhand', cursive;
    --f-c: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
    --f-b: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --gold-g: linear-gradient(135deg, #8c6a2f, #d9bd7c 28%, #a98443 48%, #e8d3a0 70%, #94733a);
    --gold-gl: linear-gradient(135deg, #c9a660, #f6e7b8 32%, #d2b06c 52%, #fbefc9 72%, #bf9a58);
    --wax-g: radial-gradient(circle at 34% 28%, #c0475a, #93283a 42%, #6a1825 80%, #4c0f19);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; min-height: 100vh;
    font: 400 17.5px/1.7 var(--f-b);
    color: var(--ink); background: var(--velvet);
    -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.no-scroll { overflow: hidden; height: 100vh; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
svg { display: block; }
.ico { width: 17px; height: 17px; flex: none; }

/* ── Kolom & bagian ── */
.stage { max-width: var(--col); margin: 0 auto; position: relative; overflow: hidden; background: var(--cotton); }
.sec { --bg: var(--cotton); position: relative; padding: 92px 24px 86px; text-align: center; overflow-x: clip; }
.sec > * { position: relative; z-index: 2; }
.sec-in { max-width: 380px; margin: 0 auto; }
/* tepi kertas sobek (deckle) di atas tiap bagian, menumpang ke bagian sebelumnya */
.sec:not(.hero)::before { content: ''; position: absolute; left: 0; right: 0; top: -15px; height: 16px; z-index: 4; pointer-events: none; background: var(--bg); -webkit-mask: url('tepi.svg') repeat-x 0 0 / 240px 16px; mask: url('tepi.svg') repeat-x 0 0 / 240px 16px; }
.katun { --bg: #f4eee3; background: url('kertas.svg'), linear-gradient(180deg, #f6f1e7, #f1eadd); color: var(--ink); }
.sage  { --bg: #5c6a4e; background: url('linen.svg'), radial-gradient(ellipse 90% 45% at 50% 0, rgba(255, 255, 255, .07), transparent 70%), linear-gradient(180deg, #5c6a4e, #4f5c43); color: var(--cotton); }
.biru  { --bg: #546a7c; background: url('linen.svg'), radial-gradient(ellipse 90% 45% at 50% 0, rgba(255, 255, 255, .08), transparent 70%), linear-gradient(180deg, #546a7c, #46596a); color: var(--cotton); }
.sec-head { margin-bottom: 36px; }
.sec-sub { margin: 14px auto 0; max-width: 320px; font-size: 17px; font-style: italic; opacity: .92; }

/* ── Tipografi (letterpress: huruf seakan tertekan ke kertas) ── */
.h-k { font: 600 12.5px/1.4 var(--f-c); letter-spacing: .34em; text-transform: uppercase; color: var(--wax); }
.sage .h-k, .biru .h-k { color: var(--gold-l); }
.h-t { margin-top: 4px; font: 400 50px/1.2 var(--f-s); color: var(--sage-dd); }
.katun .h-t { text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 -1px 0 rgba(60, 45, 25, .14); }
.sage .h-t, .biru .h-t { color: #fbf6ec; text-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.h-t::after { content: ''; display: block; width: 200px; height: 25px; margin: 8px auto 0; background: url('pembatas.svg') center / contain no-repeat; }
.names-xl, .cv-names { font-family: var(--f-s); font-weight: 400; background: var(--gold-g); -webkit-background-clip: text; background-clip: text; color: transparent; }
.names-xl { margin: 4px 0 6px; font-size: 52px; line-height: 1.2; padding: 0 8px; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .85)); }
.sage .names-xl { background-image: var(--gold-gl); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.names-xl i, .cv-names i, .sd-n i { font-family: var(--f-b); font-style: italic; font-weight: 400; font-size: .52em; padding: 0 .08em; }
.salam { margin: 22px 0 8px; font: 600 16px/1.5 var(--f-c); letter-spacing: .06em; color: var(--sage-d); text-shadow: 0 1px 0 rgba(255, 255, 255, .8); }
.sage .salam { color: var(--gold-l); text-shadow: none; }
.body-c { max-width: 340px; margin: 0 auto 12px; color: var(--ink-s); font-size: 17.5px; line-height: 1.65; }
.sage .body-c { color: rgba(246, 241, 231, .9); }
.date-l { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; font: 600 14px/1.5 var(--f-c); letter-spacing: .2em; text-transform: uppercase; color: var(--wax); }
.date-l i { width: 26px; height: 1px; background: var(--gold); flex: none; }

/* ── Bingkai lengkung berlis emas ── */
.ar { position: relative; width: 170px; aspect-ratio: 200 / 260; margin: 0 auto; }
.ar-ph { position: absolute; left: 5%; right: 5%; top: 3.85%; bottom: 3.85%; display: grid; place-items: center; overflow: hidden; border-radius: 999px 999px 2px 2px; background: url('kertas.svg'), linear-gradient(170deg, #7d8b6a, #4f5c43); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.ar-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: url('bingkai-lengkung.svg') center / 100% 100% no-repeat; }
.ar::before { content: ''; position: absolute; left: 8%; right: 8%; bottom: -10px; height: 22px; background: radial-gradient(ellipse 50% 50%, rgba(60, 45, 25, .28), transparent 70%); }
.ar-mono { position: relative; margin-top: 18%; font: italic 500 40px/1 var(--f-b); background: var(--gold-gl); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.ar.rose .ar-ph.none { background: url('kertas.svg'), linear-gradient(170deg, #a6505c, #5e1522); }

/* ── Tombol ── */
.btn, .btn-buka {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    margin: 4px; padding: 14px 26px; border: 0; border-radius: 2px;
    font: 600 13.5px/1 var(--f-c); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer;
    color: var(--cotton); background: linear-gradient(180deg, #6f7d5e, #56634a);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 4px #5a6748, inset 0 0 0 5px rgba(230, 207, 152, .8), 0 12px 18px -10px rgba(30, 25, 15, .6);
    transition: transform .25s var(--ease), filter .25s; -webkit-tap-highlight-color: transparent;
}
.btn:hover, .btn-buka:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn.wax, .btn-buka { color: #f8e9c6; background: var(--wax-g); border-radius: 999px; box-shadow: inset 0 1px 1px rgba(255, 190, 196, .45), inset 0 -2px 3px rgba(0, 0, 0, .3), inset 0 0 0 4px rgba(94, 21, 34, .5), inset 0 0 0 5px rgba(230, 207, 152, .7), 0 12px 20px -10px rgba(40, 6, 12, .7); }
.btn.sm { padding: 11px 20px; font-size: 12px; }
.btn.full { width: calc(100% - 8px); }
.btn:disabled { opacity: .7; cursor: default; transform: none; }

/* ── Musik, kelopak, toast ── */
.music-toggle-btn { position: fixed; bottom: 22px; right: max(14px, calc(50vw - var(--col) / 2 + 14px)); z-index: 1002; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--wax-g); color: #f6e3b4; box-shadow: inset 0 0 0 3px rgba(94, 21, 34, .5), inset 0 0 0 4px rgba(230, 207, 152, .6), 0 6px 16px -6px rgba(0, 0, 0, .7); opacity: 0; pointer-events: none; transition: opacity .3s; -webkit-tap-highlight-color: transparent; }
body.opened .music-toggle-btn { opacity: 1; pointer-events: auto; }
.music-toggle-btn svg { width: 18px; height: 18px; }
.music-toggle-btn.playing { animation: spinSlow 5s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.petals { position: fixed; inset: 0; z-index: 900; pointer-events: none; overflow: hidden; }
.petals i { position: absolute; top: -30px; width: var(--s); height: calc(var(--s) * 1.35); background: currentColor; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; opacity: 0; animation: petalFall var(--d) linear var(--w) infinite; will-change: transform; }
.petals i.lv { width: calc(var(--s) * .55); height: calc(var(--s) * 1.1); border-radius: 50%; }
.petals i.au { height: var(--s); border-radius: 1px; background: linear-gradient(135deg, #f6e7b8, currentColor 60%, #9c7a3c); }
@keyframes petalFall { 0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; } 8% { opacity: .85; } 50% { transform: translate3d(calc(var(--x) * -.4), 54vh, 0) rotate(220deg); } 90% { opacity: .7; } 100% { transform: translate3d(var(--x), 108vh, 0) rotate(460deg); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 8000; transform: translate(-50%, 24px); padding: 11px 22px; border-radius: 2px; background: var(--mat); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold), 0 10px 24px -10px rgba(0, 0, 0, .5); font-size: 16px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* muncul perlahan saat digulir */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s ease var(--dl, 0s), transform 1.1s cubic-bezier(.2, .85, .25, 1) var(--dl, 0s); }
[data-reveal].shown { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════════
   COVER — amplop bersegel di atas meja beludru
   ════════════════════════════════════════════════════════════════ */
.side { display: none; }
.cover { position: fixed; inset: 0; z-index: 6000; display: grid; place-items: center; overflow: hidden;
    background: url('linen.svg'), radial-gradient(ellipse 80% 60% at 50% 46%, #4a5866, #2b3540 58%, #1c232b); }
.cover.open { opacity: 0; pointer-events: none; transition: opacity 1.1s ease 3.3s; }
.cv-bg { position: absolute; inset: 0; pointer-events: none; }
.cv-bg i { position: absolute; display: block; }
.cv-light { left: -30%; top: -20%; width: 110%; height: 70%; background: radial-gradient(ellipse 50% 50%, rgba(255, 236, 200, .16), transparent 70%); }
.cv-sudut { width: 62%; aspect-ratio: 260 / 250; background: url('bunga-sudut.svg') center / 100% 100% no-repeat; opacity: .92; animation: cvIn 1.6s ease .2s both; }
.cv-sudut.tl { left: -3%; top: -2%; }
.cv-sudut.br { right: -3%; bottom: -2%; transform: rotate(180deg); }
.cv-fleck { width: 5px; height: 5px; background: var(--gold-gl); transform: rotate(var(--r, 30deg)); opacity: .85; }
.cv-fleck.f1 { left: 14%; top: 34%; --r: 18deg; }
.cv-fleck.f2 { left: 84%; top: 28%; width: 4px; height: 4px; --r: 52deg; }
.cv-fleck.f3 { left: 9%; top: 72%; width: 6px; height: 3px; }
.cv-fleck.f4 { left: 88%; top: 64%; --r: 70deg; }
.cv-fleck.f5 { left: 30%; top: 90%; width: 3px; height: 3px; }
.cv-petal { width: 11px; height: 15px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: #d9a9a3; opacity: .8; transform: rotate(var(--r)); }
.cv-petal.p1 { left: 78%; top: 15%; --r: 40deg; }
.cv-petal.p2 { left: 18%; top: 84%; --r: -30deg; background: #ecd9c6; }
.cv-petal.p3 { left: 70%; top: 88%; --r: 110deg; width: 8px; height: 12px; background: #9584b8; }
@keyframes cvIn { from { opacity: 0; } }

.cover-in { position: relative; z-index: 3; width: 100%; max-width: 400px; padding: 0 20px; text-align: center; }
.cv-top > *, .cv-bottom > * { animation: cvRise 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.cv-k { font: 600 12px/1.4 var(--f-c); letter-spacing: .4em; text-transform: uppercase; color: var(--gold-l); animation-delay: .3s; }
.cv-names { margin: 2px 0 2px; font-size: 54px; line-height: 1.2; padding: 0 10px; background-image: var(--gold-gl); animation-delay: .45s; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .35)); }
.cv-date { display: inline-flex; align-items: center; gap: 12px; font: 600 13px/1 var(--f-c); letter-spacing: .32em; color: rgba(246, 241, 231, .8); animation-delay: .6s; }
.cv-date::before, .cv-date::after { content: ''; width: 24px; height: 1px; background: var(--gold); }
.cv-bottom { margin-top: 4px; }
.btn-buka { animation-delay: 1.1s; }
.btn-buka .ico { width: 18px; height: 18px; }
.cv-hint { margin-top: 12px; font: italic 400 15px/1.4 var(--f-b); color: rgba(246, 241, 231, .6); animation-delay: 1.3s; }
@keyframes cvRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ── amplop ── */
.env { position: relative; width: min(90vw, 356px); aspect-ratio: 340 / 236; margin: 30px auto 34px; perspective: 1100px; animation: envIn 1.4s cubic-bezier(.2, .8, .2, 1) .5s both; }
.env::before { content: ''; position: absolute; left: 4%; right: 4%; bottom: -16px; height: 40px; background: radial-gradient(ellipse 50% 50%, rgba(5, 8, 12, .65), transparent 72%); }
.env > * { position: absolute; display: block; }
.env-back, .env-front { inset: 0; background-repeat: no-repeat; background-size: 100% 100%; }
.env-back { z-index: 1; background-image: url('amplop-belakang.svg'); }
.env-letter { z-index: 2; left: 5%; right: 5%; top: 5%; height: 88%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 7%; background: url('kertas.svg'), linear-gradient(180deg, #fbf7ef, #f1e9da); border-radius: 1px; box-shadow: 0 0 0 1px rgba(185, 149, 86, .25), 0 -2px 10px rgba(0, 0, 0, .15); }
.el-mono { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: url('monogram.svg') center / 100% no-repeat; }
.el-mono b { font: italic 500 15px/1 var(--f-b); color: var(--sage-dd); }
.el-mono em, .sl em, .mono-t em, .end-seal em { font-style: normal; font-size: .72em; }
.el-t { margin-top: 4px; font: italic 400 13px/1.3 var(--f-b); color: var(--ink-s); }
.env-front { z-index: 3; background-image: url('amplop-depan.svg'); }
.env-to { position: absolute; left: 10%; right: 10%; top: 69%; text-align: center; color: #fbf6ec; }
.env-to span { display: block; font: 600 10.5px/1.3 var(--f-c); letter-spacing: .26em; text-transform: uppercase; opacity: .85; }
.env-to b { display: block; margin-top: 1px; font: 400 25px/1.25 var(--f-s); color: #fffaf0; text-shadow: 0 1px 2px rgba(40, 50, 30, .45); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.env-to i { display: block; width: 58%; height: 1px; margin: 1px auto 0; background: linear-gradient(90deg, transparent, var(--gold-l), transparent); }
.env-flap { z-index: 6; inset: 0; transform-origin: 50% 0; }
.env-flap i { position: absolute; inset: 0; background-repeat: no-repeat; background-size: 100% 100%; }
.ef-out { background-image: url('amplop-tutup.svg'); }
.ef-in { background-image: url('amplop-tutup-dalam.svg'); opacity: 0; }
.env-pita { z-index: 8; top: 46%; height: 8%; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 3px, rgba(255, 255, 255, .12) 3px 4px), linear-gradient(180deg, #c9ad97, #f3e8dc 22%, #dcc6b3 48%, #fbf6ef 70%, #bf9f88); border-top: 1px solid rgba(185, 149, 86, .55); border-bottom: 1px solid rgba(120, 90, 60, .4); box-shadow: 0 3px 4px -1px rgba(20, 15, 10, .35); }
.env-pita.l { left: -1.5%; right: 50%; border-radius: 1px 0 0 1px; }
.env-pita.r { left: 50%; right: -1.5%; border-radius: 0 1px 1px 0; }
.env-rangkai { z-index: 7; left: 56%; top: -22%; width: 33%; aspect-ratio: 200 / 310; background: url('rangkai.svg') center / 100% 100% no-repeat; transform: rotate(26deg); transform-origin: 50% 92%; }
.env-seal { z-index: 9; left: 36%; top: 30.5%; width: 28%; aspect-ratio: 1; }
.sl { position: absolute; inset: 0; display: grid; place-items: center; background: url('segel.svg') center / 100% 100% no-repeat; }
.sl.l { clip-path: polygon(0 0, 52% 0, 47% 18%, 55% 34%, 46% 52%, 54% 70%, 48% 86%, 51% 100%, 0 100%); }
.sl.r { clip-path: polygon(52% 0, 100% 0, 100% 100%, 51% 100%, 48% 86%, 54% 70%, 46% 52%, 55% 34%, 47% 18%); }
.sl b { font: italic 600 27px/1 var(--f-b); letter-spacing: .02em; color: #7a1c2b; text-shadow: -1px -1px 0 rgba(40, 4, 10, .55), 1px 1px 0 rgba(255, 160, 170, .35); white-space: nowrap; }
@keyframes envIn { from { opacity: 0; transform: translateY(26px) scale(.94); } to { opacity: 1; transform: none; } }

/* ── urutan membuka ── */
.cover.open .cv-top, .cover.open .cv-bottom, .cover.open .cv-sudut { transition: opacity .6s ease, transform .6s ease; opacity: 0; transform: translateY(-8px); }
.cover.open .cv-bottom { transform: translateY(10px); }
.cover.open .env { animation: none; }
.cover.open .sl.l { animation: crackL 1s cubic-bezier(.4, .1, .6, 1) .1s forwards; }
.cover.open .sl.r { animation: crackR 1s cubic-bezier(.4, .1, .6, 1) .1s forwards; }
.cover.open .env-pita.l { animation: ribbonL .8s cubic-bezier(.5, 0, .7, .4) .5s forwards; }
.cover.open .env-pita.r { animation: ribbonR .8s cubic-bezier(.5, 0, .7, .4) .5s forwards; }
.cover.open .env-rangkai { animation: sprigOff .9s cubic-bezier(.5, 0, .7, .4) .45s forwards; }
.cover.open .env-flap { animation: flapSeq 2.9s cubic-bezier(.45, .1, .3, 1) 1.05s forwards; }
.cover.open .ef-out { animation: faceOut 2.9s linear 1.05s forwards; }
.cover.open .ef-in { animation: faceIn 2.9s linear 1.05s forwards; }
.cover.open .env-letter { animation: letterOut 2.3s cubic-bezier(.5, .05, .25, 1) 1.95s forwards; }
.cover.open .env-letter > * { transition: opacity .4s ease 2.9s; opacity: 0; }
.cover.open :is(.env-back, .env-front) { animation: envDrop .95s cubic-bezier(.55, 0, .8, .4) 3s forwards; }
.cover.open .env::before { transition: opacity .6s ease 3s; opacity: 0; }
@keyframes crackL { 0% { transform: none; } 18% { transform: translate(-2px, 0) rotate(-3deg); } 100% { transform: translate(-70px, 190px) rotate(-42deg); opacity: 0; } }
@keyframes crackR { 0% { transform: none; } 18% { transform: translate(2px, 0) rotate(3deg); } 100% { transform: translate(70px, 200px) rotate(46deg); opacity: 0; } }
@keyframes ribbonL { to { transform: translateX(-80%) scaleX(.4); opacity: 0; } }
@keyframes ribbonR { to { transform: translateX(80%) scaleX(.4); opacity: 0; } }
@keyframes sprigOff { to { transform: translate(60px, -40px) rotate(48deg); opacity: 0; } }
@keyframes flapSeq { 0% { transform: rotateX(0); z-index: 6; } 17% { z-index: 6; } 18% { z-index: 0; } 34% { transform: rotateX(180deg); z-index: 0; } 68% { transform: rotateX(180deg); opacity: 1; } 100% { transform: translateY(70vh) rotateX(180deg); opacity: 0; z-index: 0; } }
@keyframes faceOut { 0%, 16.9% { opacity: 1; } 17%, 100% { opacity: 0; } }
@keyframes faceIn { 0%, 16.9% { opacity: 0; } 17%, 100% { opacity: 1; } }
@keyframes letterOut { 0% { transform: none; z-index: 2; } 44% { transform: translateY(-66%); z-index: 2; } 45% { transform: translateY(-66%); z-index: 12; } 100% { transform: translateY(-24%) scale(6.5); z-index: 12; } }
@keyframes envDrop { to { transform: translateY(70vh) rotate(3deg); opacity: 0; } }

/* ════════════════════════════════════════════════════════════════
   BAGIAN PERTAMA: surat katun tersusun lapis demi lapis
   ════════════════════════════════════════════════════════════════ */
.hero { min-height: max(100svh, 800px); display: flex; flex-direction: column; justify-content: center; padding: 72px 22px 70px; }
.hero-in { position: relative; width: 100%; }
.hl { position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; overflow: hidden; }
.hl-l { position: absolute; display: block; background-repeat: no-repeat; background-size: 100% 100%; }
body.opened:not(.settled) .hl-l { will-change: transform, opacity; }
.h-sudut { width: 56%; aspect-ratio: 260 / 250; background-image: url('bunga-sudut.svg'); transform: scale(var(--sx, 1), var(--sy, 1)); opacity: 0; }
.h-sudut.tl { left: -4%; top: -1.5%; --tx: -40%; --ty: -40%; --dl: 3.9s; }
.h-sudut.tr { right: -4%; top: -1.5%; --sx: -1; --tx: 40%; --ty: -40%; --dl: 4.1s; }
.h-sudut.bl { left: -4%; bottom: -1.5%; --sy: -1; --tx: -40%; --ty: 40%; --dl: 4.3s; width: 44%; }
.h-sudut.br { right: -4%; bottom: -1.5%; --sx: -1; --sy: -1; --tx: 40%; --ty: 40%; --dl: 4.5s; width: 44%; }
.h-garis { inset: 14px; border: 1px solid rgba(185, 149, 86, .7); box-shadow: inset 0 0 0 4px rgba(246, 241, 231, 0), inset 0 0 0 5px rgba(185, 149, 86, .35); opacity: 0; }
.h-vellum { inset: 0; z-index: 3; background: url('kertas.svg'), linear-gradient(180deg, rgba(252, 250, 246, .94), rgba(245, 241, 233, .9)); }
body.opened .h-sudut { animation: settle 1.6s cubic-bezier(.2, .75, .25, 1) var(--dl) both; }
body.opened .h-garis { animation: fadeIn 1.4s ease 4.2s both; }
body.opened .h-vellum { animation: vellumOff 1.5s ease 3.55s both; }
@keyframes settle { from { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(var(--sx, 1), var(--sy, 1)) rotate(-12deg); } to { opacity: 1; transform: scale(var(--sx, 1), var(--sy, 1)); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes vellumOff { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-6%); visibility: hidden; } }

.mono { position: relative; width: 136px; aspect-ratio: 1; margin: 0 auto 4px; display: grid; place-items: center; }
.mono-w { position: absolute; inset: 0; background: url('monogram.svg') center / 100% 100% no-repeat; }
.mono-t { position: relative; margin-top: 2px; font: italic 500 38px/1 var(--f-b); background: var(--gold-g); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9)); }
.mono-shine { position: absolute; inset: 0; overflow: hidden; -webkit-mask: url('monogram.svg') center / 100% 100% no-repeat; mask: url('monogram.svg') center / 100% 100% no-repeat; }
.mono-shine b { position: absolute; top: -10%; bottom: -10%; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 252, 235, .95), transparent); transform: translateX(-130%) skewX(-12deg); }
body.opened .mono-shine b { animation: shine 5.5s ease-in-out 5.6s infinite; }
@keyframes shine { 0% { transform: translateX(-130%) skewX(-12deg); } 30%, 100% { transform: translateX(300%) skewX(-12deg); } }
.hero-k { margin-bottom: 18px; font: italic 400 17px/1.4 var(--f-b); color: var(--ink-s); }
.hero-ar { width: 168px; }
.hero-pita { position: relative; margin: 34px -22px 0; height: 18px; background: linear-gradient(180deg, #d9c3b0, #f8f0e7 30%, #e2cfbe 52%, #fbf6ef 72%, #c5a993); box-shadow: 0 3px 5px -2px rgba(60, 40, 25, .35); }
.hp-segel { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; display: grid; place-items: center; background: url('segel.svg') center / 100% 100% no-repeat; font: italic 600 17px/1 var(--f-b); color: #7a1c2b; text-shadow: -1px -1px 0 rgba(40, 4, 10, .5), 1px 1px 0 rgba(255, 160, 170, .3); }

/* ════════════════════════════════════════════════════════════════
   ISI
   ════════════════════════════════════════════════════════════════ */
/* foto berbingkai putih dengan sudut foto */
.pin, .gal-i { position: relative; padding: 7px; border: 0; background: var(--mat); cursor: pointer; box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 14px 22px -14px rgba(20, 15, 10, .65); -webkit-tap-highlight-color: transparent; }
.pin::before, .pin::after, .gal-i::before, .gal-i::after { content: ''; position: absolute; z-index: 2; width: 26px; height: 26px; background: url('sudut-foto.svg') center / 100% 100% no-repeat; pointer-events: none; }
.pin::before, .gal-i::before { left: -4px; top: -4px; }
.pin::after, .gal-i::after { right: -4px; bottom: -4px; transform: rotate(180deg); }
.pin img, .gi-in img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ph-b0, .ph-b1, .ph-b2 { display: block; width: 100%; height: 100%; background-repeat: no-repeat; }
.ph-b0 { background: url('rangkai.svg') center 70% / auto 92% no-repeat, url('kertas.svg'), #f3ede1; }
.ph-b1 { background: url('segel.svg') center / 54% auto no-repeat, url('kertas.svg'), #ebe3d2; }
.ph-b2 { background: url('bunga-sudut.svg') -8% -6% / 118% auto no-repeat, url('kertas.svg'), #f3ede1; }
.ph { cursor: default; }

.trio { display: flex; justify-content: center; gap: 12px; margin: -6px auto 54px; max-width: 400px; }
.trio .pin { flex: 1; aspect-ratio: 3 / 4; padding: 6px 6px 18px; }
.trio .pin.t0 { transform: rotate(-5deg); }
.trio .pin.t1 { transform: rotate(2.5deg) translateY(16px); }
.trio .pin.t2 { transform: rotate(-2deg); }
.trio .pin.ph .ph-b0, .trio .pin.ph .ph-b1, .trio .pin.ph .ph-b2, .trio .pin img { height: 100%; }
.vellum { position: relative; max-width: 390px; margin: 0 auto; padding: 60px 22px 34px; background: linear-gradient(170deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .1)); border: 1px solid rgba(255, 255, 255, .32); border-radius: 2px; box-shadow: 0 18px 30px -22px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .25); }
.vellum .h-t { font-size: 44px; }
.vl-clip { position: absolute; left: 50%; top: -44px; width: 120px; height: 82px; margin-left: -60px; background: url('simpul.svg') center / 100% auto no-repeat; }
.verse-t { margin-top: 16px; font: italic 400 18px/1.75 var(--f-b); color: #fbf6ec; }
.verse-s { margin-top: 14px; font: 600 13px/1.4 var(--f-c); letter-spacing: .26em; color: var(--gold-l); }

#mempelai, #rsvp { padding-top: 118px; }
.sec-sudut { position: absolute !important; z-index: 1 !important; width: 42%; aspect-ratio: 260 / 250; top: 0; background: url('bunga-sudut.svg') center / 100% 100% no-repeat; opacity: .9; pointer-events: none; }
.sec-sudut.tl { left: -3%; }
.sec-sudut.tr { right: -3%; transform: scaleX(-1); }
.person { max-width: 320px; margin: 0 auto; }
.p-k { margin-bottom: 14px; font: 600 12.5px/1.4 var(--f-c); letter-spacing: .3em; text-transform: uppercase; color: var(--wax); }
.p-ar { width: 190px; }
.p-ar .ar-mono { font-size: 70px; }
.p-name { margin: 18px 0 6px; font: 400 42px/1.2 var(--f-s); color: var(--sage-dd); text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 -1px 0 rgba(60, 45, 25, .12); }
.p-par { color: var(--ink-s); font-size: 17.5px; line-height: 1.6; }
.p-par b { display: block; margin-bottom: 2px; font: 600 11.5px/1.5 var(--f-c); letter-spacing: .26em; text-transform: uppercase; color: var(--sage-d); }
.and { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 30px auto; max-width: 240px; }
.and i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.and i:last-child { transform: scaleX(-1); }
.and span { font: 400 60px/1 var(--f-s); background: var(--gold-g); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 6px; }

/* hitung mundur: perangko */
.stamp-photo { position: relative; width: 236px; aspect-ratio: 248 / 308; margin: -10px auto 54px; transform: rotate(-3deg); }
.sp-ph { position: absolute; left: 8.87%; top: 7.14%; width: 82.26%; height: 74.68%; overflow: hidden; background: url('kertas.svg'), #ebe3d2; }
.sp-ph img { width: 100%; height: 100%; object-fit: cover; }
.sp-rangkai { position: absolute; inset: 6% 18%; background: url('rangkai.svg') center / contain no-repeat; }
.sp-frame { position: absolute; inset: 0; background: url('perangko-bingkai.svg') center / 100% 100% no-repeat; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .35)); }
.sp-cap { position: absolute; right: -78px; top: 60%; width: 170px; aspect-ratio: 220 / 120; background: url('cap-pos.svg') center / 100% 100% no-repeat; transform: rotate(-14deg); opacity: .85; }
.quote-s { margin: 16px auto 28px; max-width: 320px; font: italic 400 17.5px/1.7 var(--f-b); opacity: .95; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 350px; margin: 0 auto 30px; }
.cd > div { position: relative; aspect-ratio: 108 / 132; display: grid; place-content: center; padding-bottom: 16%; background: url('perangko.svg') center / 100% 100% no-repeat; color: var(--blue-dd); }
.cd > div:nth-child(1) { transform: rotate(-2.5deg); }
.cd > div:nth-child(2) { transform: rotate(1.5deg) translateY(4px); }
.cd > div:nth-child(3) { transform: rotate(-1deg); }
.cd > div:nth-child(4) { transform: rotate(2.2deg) translateY(3px); }
.cd b { display: block; font: 600 30px/1 var(--f-b); font-variant-numeric: lining-nums tabular-nums; text-shadow: 0 1px 0 rgba(255, 255, 255, .9); }
.cd span { display: block; margin-top: 4px; font: 600 10px/1 var(--f-c); letter-spacing: .14em; text-transform: uppercase; color: var(--wax); }

/* kartu kertas bertepi deckle */
.kartu { position: relative; border: 22px solid transparent; border-image: url('deckle.svg') 24 fill / 22px round; filter: drop-shadow(0 12px 14px rgba(60, 45, 25, .16)) drop-shadow(0 1px 1px rgba(60, 45, 25, .12)); }
.kartu::before { content: ''; position: absolute; inset: -14px; background: url('kertas.svg'); opacity: .8; pointer-events: none; z-index: 0; }
.kartu > * { position: relative; z-index: 1; }

.event { max-width: 370px; margin: 0 auto 36px; padding: 18px 8px 12px; text-align: left; }
.ev-stamp { position: absolute !important; z-index: 2 !important; right: -26px; top: -40px; width: 86px; aspect-ratio: 118 / 144; background: center / 100% 100% no-repeat; transform: rotate(7deg); }
.ev-stamp.akad { background-image: url('perangko-akad.svg'); }
.ev-stamp.resepsi { background-image: url('perangko-resepsi.svg'); transform: rotate(-5deg); }
.ev-cap { position: absolute !important; z-index: 3 !important; right: -34px; top: 40px; width: 128px; aspect-ratio: 220 / 120; background: url('cap-pos.svg') center / 100% 100% no-repeat; transform: rotate(-10deg); opacity: .62; }
.ev-k { font: 600 12px/1.4 var(--f-c); letter-spacing: .3em; text-transform: uppercase; color: var(--wax); }
.ev-t { margin: 0 0 14px; padding-right: 60px; font: 400 46px/1.25 var(--f-s); color: var(--sage-dd); text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 -1px 0 rgba(60, 45, 25, .12); }
.ev-l { list-style: none; margin: 0 0 18px; padding: 14px 0 0; display: grid; gap: 8px; font-size: 17px; line-height: 1.45; color: var(--ink-s); border-top: 1px dashed rgba(185, 149, 86, .6); }
.ev-l li { display: flex; align-items: flex-start; gap: 11px; }
.ev-l .ico { margin-top: 2px; color: var(--wax); }
.event .btn { margin-left: 0; }
.loc { max-width: 380px; margin: 46px auto 0; }
.map-wrap { position: relative; padding: 8px; margin: 0 6px 26px; background: var(--mat); transform: rotate(-1.2deg); box-shadow: 0 16px 24px -16px rgba(20, 15, 10, .6); }
.map-wrap::before, .map-wrap::after { content: ''; position: absolute; z-index: 500; width: 28px; height: 28px; background: url('sudut-foto.svg') center / 100% 100% no-repeat; }
.map-wrap::before { left: -5px; top: -5px; }
.map-wrap::after { right: -5px; bottom: -5px; transform: rotate(180deg); }
.map { height: 210px; z-index: 0; filter: sepia(.25) saturate(.85); }
.loc-name { margin-top: 4px; font: 600 21px/1.35 var(--f-b); color: var(--sage-dd); }
.loc-addr { margin: 4px 0 18px; font-size: 17px; font-style: italic; color: var(--ink-s); }

/* kisah: surat-surat */
.tline { list-style: none; margin: 0 auto; padding: 0; max-width: 380px; position: relative; text-align: left; }
.tline::before { content: ''; position: absolute; left: 22px; top: 18px; bottom: 30px; width: 2px; background: repeating-linear-gradient(180deg, var(--gold-l) 0 8px, transparent 8px 14px); opacity: .7; }
.tl-i { position: relative; display: flex; gap: 10px; margin-bottom: 28px; }
.tl-i:last-child { margin-bottom: 0; }
.tl-dot { flex: none; width: 46px; height: 46px; margin-top: 8px; border-radius: 50%; display: grid; place-items: center; background: var(--wax-g); color: #f3dba6; font: 600 15px/1 var(--f-c); letter-spacing: .06em; box-shadow: inset 0 0 0 3px rgba(94, 21, 34, .55), inset 0 0 0 4px rgba(230, 160, 170, .3), 0 4px 8px rgba(0, 0, 0, .35); }
.tl-c { flex: 1; min-width: 0; padding: 6px 4px 4px; color: var(--ink); }
.tl-i.n0 .tl-c { transform: rotate(-1deg); }
.tl-i.n1 .tl-c { transform: rotate(1.1deg); }
.tl-i.n2 .tl-c { transform: rotate(-.6deg); }
.tl-k { display: flex; align-items: center; gap: 8px; font: 600 11.5px/1.4 var(--f-c); letter-spacing: .26em; text-transform: uppercase; color: var(--wax); }
.tl-k svg { width: 20px; height: 20px; color: var(--sage-d); }
.tl-c h3 { margin: 2px 0 4px; font: 400 36px/1.2 var(--f-s); color: var(--sage-dd); }
.tl-c p:last-child { font-size: 17px; font-style: italic; line-height: 1.65; color: var(--ink-s); }

/* galeri: album bersudut foto */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; max-width: 400px; margin: 0 auto; padding: 0 6px; }
.gal-i { aspect-ratio: 1 / 1.2; }
.gi-in { display: block; width: 100%; height: 100%; overflow: hidden; background: #e9e1cf; }
.gal-i.g0 { grid-column: span 2; aspect-ratio: 16 / 10.5; transform: rotate(-1deg); }
.gal-i.g1 { transform: rotate(2deg); }
.gal-i.g2 { transform: rotate(-2.4deg); }
.gal-i.g3 { transform: rotate(1.4deg); }
.gal-i.g4 { transform: rotate(-1.4deg); }
.gal-i.g5 { transform: rotate(2.2deg); }
.gal-i:hover img { transform: scale(1.05); }

/* ── Form balasan & ucapan ── */
.form { max-width: 400px; margin: 0 auto; padding: 14px 6px 8px; text-align: left; }
.form-stamp { position: absolute !important; right: -34px; top: -48px; width: 120px; aspect-ratio: 220 / 120; background: url('cap-pos.svg') center / 100% 100% no-repeat; transform: rotate(-8deg); opacity: .5; pointer-events: none; }
.form-h { margin-bottom: 6px; font: 400 34px/1.2 var(--f-s); color: var(--sage-dd); }
.f-l { display: block; margin: 18px 0 2px; font: 600 11.5px/1.3 var(--f-c); letter-spacing: .24em; text-transform: uppercase; color: var(--wax); }
.f-in { width: 100%; padding: 8px 2px; border: 0; border-bottom: 1.5px dotted rgba(47, 43, 38, .45); border-radius: 0; background: transparent; color: var(--ink); font: italic 400 18.5px/1.5 var(--f-b); outline: none; transition: border-color .2s; resize: vertical; }
.f-in::placeholder { color: #9a9083; }
.f-in:focus { border-bottom: 1.5px solid var(--wax); }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.ch input { position: absolute; opacity: 0; pointer-events: none; }
.ch span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 6px 2px; text-align: center; font: 600 12px/1.2 var(--f-c); letter-spacing: .04em; border: 1px solid rgba(185, 149, 86, .7); border-radius: 2px; background: rgba(255, 255, 255, .5); color: var(--ink-s); cursor: pointer; transition: all .2s; }
.ch input:checked + span { background: var(--sage-d); border-color: var(--sage-dd); color: var(--cotton); }
.ch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(95, 109, 81, .3); }
.form .btn { margin-top: 26px; }

.wish-head { display: flex; align-items: center; justify-content: space-between; max-width: 400px; margin: 50px auto 14px; }
.wish-head h3 { font: 400 38px/1.2 var(--f-s); color: var(--sage-dd); }
.wh-live { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--f-c); letter-spacing: .16em; text-transform: uppercase; color: var(--sage-d); }
.wh-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--wax); 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 6px 0; text-align: left; overscroll-behavior: contain; }
.wish-item { --av: var(--wax); display: flex; gap: 12px; padding: 14px; background: var(--mat); border: 1px solid rgba(185, 149, 86, .35); border-radius: 2px; box-shadow: 0 8px 14px -12px rgba(40, 30, 15, .5); }
.wish-item.new { animation: wishIn .7s var(--ease) both; }
@keyframes wishIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.wish-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .35), transparent 55%), var(--av); color: #f6e7c8; font: 600 17px/1 var(--f-c); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .18), inset 0 0 0 4px rgba(255, 255, 255, .18); }
.wish-body { min-width: 0; flex: 1; }
.wish-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wish-name { font: 600 17px/1.3 var(--f-b); overflow-wrap: anywhere; }
.wish-badge { padding: 2px 9px; border-radius: 999px; font: 600 10.5px/1.5 var(--f-c); letter-spacing: .08em; text-transform: uppercase; }
.wish-badge.hadir { background: #e1e7d6; color: #47533c; }
.wish-badge.tidak { background: #f1dcdc; color: #8a2433; }
.wish-badge.ragu  { background: #f1e6cc; color: #84652c; }
.wish-message { margin-top: 3px; font-size: 16.5px; line-height: 1.55; color: var(--ink-s); overflow-wrap: anywhere; }
.wish-time { display: block; margin-top: 4px; font-size: 14px; font-style: italic; color: #8d8478; }
.wish-empty { text-align: center; padding: 20px; color: #8d8478; font-style: italic; }

/* ── Kado (partial) ── */
.gift-box { max-width: 420px; margin: 0 auto; color: var(--ink); text-align: left; border: 22px solid transparent; border-image: url('deckle.svg') 24 fill / 22px round; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .3)); }
.gift-box > * { margin: -12px; }
.gift-wrap #gift-section { background: transparent !important; }
.gift-wrap .gs-heading h2 { font-family: var(--f-s) !important; font-weight: 400 !important; font-size: 36px !important; color: var(--sage-dd) !important; }
.gift-wrap .gs-heading h2::after { background: var(--gold) !important; }
.gift-wrap .gs-card, .gift-wrap .gs-bank-card { border: 1px solid rgba(185, 149, 86, .45) !important; border-radius: 2px !important; background: var(--mat) !important; }
.gift-wrap .gs-btn, .gift-wrap .gs-bank-copy { border-radius: 999px !important; font-family: var(--f-c) !important; font-weight: 600 !important; letter-spacing: .08em; }
.gift-wrap .gs-btn-buy { background: var(--wax) !important; color: #f8e9c6 !important; }
.gift-wrap .gs-bank-logo { background: #e6dcc6 !important; color: var(--sage-dd) !important; }

/* ── Penutup: amplop tersegel ── */
.end { padding-top: 110px; padding-bottom: 190px; }
.end-sudut { position: absolute !important; z-index: 1 !important; bottom: 0; width: 50%; aspect-ratio: 260 / 250; background: url('bunga-sudut.svg') center / 100% 100% no-repeat; pointer-events: none; }
.end-sudut.bl { left: -4%; transform: scaleY(-1); }
.end-sudut.br { right: -4%; transform: scale(-1, -1); }
.end-seal { position: relative; width: 132px; aspect-ratio: 1; margin: 0 auto 30px; display: grid; place-items: center; background: url('segel.svg') center / 100% 100% no-repeat; }
.end-seal b { position: relative; z-index: 1; font: italic 600 32px/1 var(--f-b); color: #7a1c2b; text-shadow: -1px -1px 0 rgba(40, 4, 10, .55), 1px 1px 0 rgba(255, 160, 170, .35); white-space: nowrap; }
.es-rangkai { position: absolute; z-index: -1; left: 40%; top: -58%; width: 70%; aspect-ratio: 200 / 310; background: url('rangkai.svg') center / 100% 100% no-repeat; transform: rotate(32deg); transform-origin: 50% 90%; }
.end-k { margin-top: 20px; font: italic 400 18px/1.4 var(--f-b); opacity: .85; }
.fam { margin: 22px 0 26px; display: grid; gap: 14px; font-size: 17px; }
.fam span { display: block; margin-bottom: 2px; font: 600 11.5px/1.5 var(--f-c); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-l); }
.end-credit { font-size: 14px; opacity: .75; }

/* ── Lightbox ── */
.gallery-lightbox { display: none; position: fixed; inset: 0; z-index: 7000; align-items: center; justify-content: center; background: rgba(28, 35, 43, .96); opacity: 0; transition: opacity .3s; }
.lb-img-wrap img { max-width: 90vw; max-height: 80vh; border: 8px solid var(--mat); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.lb-close, .lb-prev, .lb-next { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--wax-g); color: #f6e3b4; font: 400 22px/1 var(--f-b); cursor: pointer; box-shadow: inset 0 0 0 3px rgba(94, 21, 34, .5), inset 0 0 0 4px rgba(230, 207, 152, .6); }
.lb-close { top: 18px; right: 18px; font-size: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--gold-l); font: 600 14px/1 var(--f-c); letter-spacing: .14em; }

/* ════════════════════════════════════════════════════════════════
   DESKTOP: foto di kiri (tetap), undangan di kolom kanan
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 900px) {
    .side { display: block; position: fixed; top: 0; bottom: 0; left: 0; right: var(--col); z-index: 1; overflow: hidden; background: var(--velvet); }
    .side-photo { position: absolute; inset: 0; background: center / cover no-repeat; animation: zoomSlow 20s ease-in-out infinite alternate; }
    .side-photo.none { background: url('bunga-sudut.svg') left -2% top -3% / min(40vw, 520px) auto no-repeat, url('rangkai.svg') right 8% bottom -4% / auto 46% no-repeat, url('linen.svg'), radial-gradient(ellipse 70% 60% at 50% 50%, #4a5866, #2b3540 60%, #1c232b); animation: none; }
    .side-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 35, 43, .1) 30%, rgba(28, 35, 43, .86)); }
    .side-in { position: absolute; left: 0; right: 0; bottom: 12vh; padding: 0 40px; text-align: center; color: var(--cotton); }
    .side-photo.none ~ .side-shade { background: none; }
    .side-photo.none ~ .side-in { top: 50%; bottom: auto; transform: translateY(-50%); }
    .sd-k { font: 600 15px/1.4 var(--f-c); letter-spacing: .42em; text-transform: uppercase; color: var(--gold-l); }
    .sd-n { margin: 8px 0 12px; font: 400 clamp(64px, 7vw, 116px)/1.2 var(--f-s); background: var(--gold-gl); -webkit-background-clip: text; background-clip: text; color: transparent; }

    .sd-d { font: 600 16px/1.4 var(--f-c); letter-spacing: .24em; text-transform: uppercase; }
    .stage { margin-left: auto; margin-right: 0; width: var(--col); position: relative; z-index: 2; box-shadow: -12px 0 40px -18px rgba(0, 0, 0, .8); }
    .cover { left: auto; right: 0; width: var(--col); }
    .music-toggle-btn { right: 18px; }
    .toast { left: calc(100% - var(--col) / 2); }
    .petals { left: auto; width: var(--col); }
}
@keyframes zoomSlow { to { transform: scale(1.07); } }

@media (max-height: 720px) {
    .cv-names { font-size: 44px; }
    .env { width: min(80vw, 300px); margin: 18px auto 22px; }
    .cv-hint { display: none; }
}
@media (max-width: 360px) {
    .names-xl { font-size: 50px; }
    .cv-names { font-size: 46px; }
    .h-t { font-size: 44px; }
    .cd b { font-size: 25px; }
    .env-to b { font-size: 22px; }
    .sl b { font-size: 25px; }
    .ev-t { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .petals { display: none; }
    .h-sudut, .h-garis { opacity: 1; animation: none !important; }
    .h-vellum { display: none; }
    .cv-top > *, .cv-bottom > *, .env, .cv-sudut { animation: none !important; opacity: 1; }
}

/* kisah cinta dinamis */
.tl-k { flex-wrap: wrap; row-gap: 2px; }
.tl-k .tl-date { letter-spacing: .14em; color: var(--sage-d); }
.tl-c h3 { overflow-wrap: anywhere; }
