/* ════════════════════════════════════════════════════════════════
   PINK PALACE — toile pink, mauve, bunga & foto berbingkai pil
   ════════════════════════════════════════════════════════════════ */
:root {
    --ink: #3a2a30;
    --ink-s: #6b5560;
    --pale: #fde9ee;
    --pale-2: #fff4f7;
    --mauve: #b98d9a;
    --mauve-d: #a37684;
    --pink: #e46f98;
    --pink-d: #cf5784;
    --gold: #b8924a;
    --gold-l: #e9cf93;
    --col: 490px;
    --f-n: 'Italiana', 'Times New Roman', serif;
    --f-s: 'Pinyon Script', 'Brush Script MT', cursive;
    --f-b: 'Lora', Georgia, 'Times New Roman', serif;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --gold-g: linear-gradient(135deg, #e9cf93, #b8924a 50%, #e3c47f);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font: 400 15px/1.8 var(--f-b);
    color: var(--ink);
    background: var(--pale);
    -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 ── */
.stage { max-width: var(--col); margin: 0 auto; position: relative; overflow: hidden; background: var(--pale); }
.sec { position: relative; padding: 80px 26px; text-align: center; overflow: hidden; }
.sec > * { position: relative; z-index: 2; }
.sec-in { max-width: 380px; margin: 0 auto; }
.toile { background: linear-gradient(180deg, #fff1f4, var(--pale) 60%, #fde1e8); }
.mauve { background: var(--mauve); color: #fff; }
.tbg { position: absolute !important; inset: 0; width: 100%; height: 100%; z-index: 0 !important; pointer-events: none; }
.sec-head { margin-bottom: 30px; }
.sec-sub { margin-top: 10px; font-size: 13.5px; opacity: .9; }

/* ── Tipografi ── */
.script-xl { font: 400 56px/1.1 var(--f-s); color: var(--gold); }
.script-xl.w { color: #fff; }
.script-l { font: 400 42px/1.2 var(--f-s); color: #fff; }
.script-l.dark { color: var(--mauve-d); }
.salam { margin: 20px 0 10px; font: italic 500 17px/1.5 var(--f-b); color: var(--mauve-d); }
.salam.w { color: #fff; }
.body-c { max-width: 340px; margin: 0 auto 18px; color: var(--ink-s); font-size: 14px; }
.body-c.w { color: #fff; opacity: .95; }
.date-l { margin-top: 6px; font: 400 18px/1.5 var(--f-n); letter-spacing: .1em; color: var(--ink); }

/* ── Foto pil ── */
.pill { position: relative; width: 120px; height: 180px; margin: 0 auto 18px; border-radius: 60px; overflow: hidden; border: 3px solid rgba(255, 255, 255, .95); box-shadow: 0 0 0 1px rgba(184, 146, 74, .6), 0 14px 30px -14px rgba(120, 60, 80, .55); background: linear-gradient(160deg, #f9c4d4, #e46f98); }
.pill img { width: 100%; height: 100%; object-fit: cover; }
.pill.mono { display: grid; place-items: center; color: #fff; }
.pill.mono span { font: 400 44px/1 var(--f-s); }
.pill.rose { background: linear-gradient(160deg, #fbd7e2, #f08aae); }

/* ── Rumpun bunga sudut (aset flora-sudut.svg) ── */
.flora { position: absolute !important; z-index: 1 !important; width: 250px; height: 250px; pointer-events: none; }
.flora::before { content: ''; position: absolute; inset: 0; background: url('flora-sudut.svg') center / contain no-repeat; transform-origin: 0 100%; animation: sway 7s ease-in-out infinite; }
.flora.bl { left: -22px; bottom: -22px; }
.flora.br { right: -22px; bottom: -22px; transform: scaleX(-1); }
.flora.tl { left: -22px; top: -22px; transform: scaleY(-1); }
.flora.tr { right: -22px; top: -22px; transform: scale(-1, -1); }
.flora.br::before { animation-delay: -2.5s; }
.flora.tl::before { animation-delay: -4s; }
.flora.tr::before { animation-delay: -5.5s; }
@keyframes sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.6deg); } }

/* ── Latar toile (aset toile-*.svg) + pita bunga bawah ── */
.tbg { position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; opacity: .55; }
.tbg::before, .tbg::after { content: ''; position: absolute; top: 0; width: 62%; height: 38%; max-height: 210px; background: url('toile-pohon.svg') left top / contain no-repeat; }
.tbg::after { right: 0; transform: scaleX(-1); }
.tbg::before { left: 0; }
.tb-opera { background: url('toile-opera.svg') center bottom 130px / 118% auto no-repeat; }
.tb-castle { background: url('toile-istana.svg') center bottom 60px / min(88%, 400px) auto no-repeat; }
.toile { padding-top: 130px; padding-bottom: 190px; }
.toile::after { content: ''; position: absolute; left: -4%; right: -4%; bottom: -6px; height: 170px; z-index: 1; pointer-events: none; background: url('flora-bawah.svg') center bottom / 100% 100% no-repeat; }

/* ════════════════════════════════════════════════════════════════
   PANEL FOTO (desktop)
   ════════════════════════════════════════════════════════════════ */
.side { display: none; }
.cover { position: fixed; inset: 0; z-index: 6000; display: grid; place-items: center; overflow: hidden; background: linear-gradient(180deg, #fff1f4, var(--pale)); transition: opacity 1.25s ease; }
.cover.open { opacity: 0; pointer-events: none; }
.cv-bg { position: absolute; inset: 0; }
.cv-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover .flora { width: min(48vw, 220px); height: min(48vw, 220px); z-index: 2 !important; }
.cover-in { position: relative; z-index: 3; width: 100%; max-width: 330px; padding: 0 12px; text-align: center; }
.cv-pill { width: 124px; height: 186px; margin-bottom: 26px; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.cv-k { font: 400 12px/1.4 var(--f-b); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-s); }
.cv-names { margin: 14px 0 22px; font: 400 44px/1.15 var(--f-s); color: var(--gold); display: flex; flex-direction: column; align-items: center; }
.cv-names i { font: italic 400 22px/1 var(--f-b); color: var(--gold); }
.cv-to { margin-bottom: 20px; font-size: 13px; line-height: 1.7; color: var(--ink-s); }
.cv-to b { display: block; font: 600 17px/1.4 var(--f-b); color: var(--ink); overflow-wrap: anywhere; }

.btn-gold {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 12px 26px; border: 0; border-radius: 99px;
    background: var(--gold-g); color: #fff;
    font: 500 12px/1 var(--f-b); letter-spacing: .16em; text-transform: uppercase;
    cursor: pointer; box-shadow: 0 8px 20px -8px rgba(120, 90, 30, .7);
    transition: transform .25s var(--ease), filter .25s; -webkit-tap-highlight-color: transparent;
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-gold .ico { animation: beat 1.8s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* ── Tombol ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 26px; border: 0; border-radius: 99px;
    font: 500 12px/1 var(--f-b); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
    color: #fff; background: var(--pink);
    box-shadow: 0 8px 18px -8px rgba(207, 87, 132, .8);
    transition: transform .25s var(--ease), background .25s; -webkit-tap-highlight-color: transparent;
}
.btn.pinkb { background: linear-gradient(135deg, #f08aae, #cf5784); }
.btn:hover { transform: translateY(-2px); }
.btn.sm { padding: 10px 20px; font-size: 11px; }
.btn.full { width: 100%; }
.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: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: #fff; color: var(--pink-d); box-shadow: 0 6px 16px -6px rgba(120, 60, 80, .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: 18px; height: 18px; }
.music-toggle-btn.playing { animation: spinSlow 4s 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: 80% 0 80% 0; opacity: 0; animation: petalFall var(--d) linear var(--w) infinite; will-change: transform; }
@keyframes petalFall { 0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; } 8% { opacity: .85; } 90% { opacity: .7; } 100% { transform: translate3d(var(--x), 108vh, 0) rotate(520deg); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 8000; transform: translate(-50%, 24px); padding: 11px 22px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* zoomIn bertahap, seperti animasi masuk widget di referensi */
[data-reveal] { opacity: 0; transform: scale(.55); transition: opacity .9s ease var(--dl, 0s), transform 1s cubic-bezier(.2, .85, .25, 1) var(--dl, 0s); }
[data-reveal].shown { opacity: 1; transform: none; }
.zi { animation: zoomIn 1s cubic-bezier(.2, .85, .25, 1) var(--dl, 0s) both; }
@keyframes zoomIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }

/* ════════════════════════════════════════════════════════════════
   ISI
   ════════════════════════════════════════════════════════════════ */
.hero-pill { width: 130px; height: 196px; }
#hero { padding-top: 110px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: -20px 0 22px; }
.tr-i { position: relative; padding: 0; border: 0; aspect-ratio: 1 / 1.05; border-radius: 28px; overflow: hidden; background: rgba(255, 255, 255, .25); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tr-i:nth-child(2) { margin-top: 14px; }
.tr-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tr-i:hover img { transform: scale(1.06); }
.tr-i.ph { display: grid; place-items: center; cursor: default; }
.tr-i.ph svg { width: 50%; height: 50%; color: rgba(255, 255, 255, .75); }
.verse-t { margin-top: 22px; font: italic 400 15px/1.85 var(--f-b); }
.verse-s { margin-top: 14px; font-size: 13px; opacity: .95; }
#salam { padding-bottom: 90px; }

.person { max-width: 320px; margin: 0 auto 44px; }
.person:last-of-type { margin-bottom: 120px; }
.p-pill { width: 150px; height: 220px; border-radius: 75px; }
.p-pill.mono span { font-size: 70px; }
.p-par { margin-top: 12px; color: var(--ink); font-size: 14px; line-height: 1.75; }
.p-par b { font-weight: 600; }

.arch-photo { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1 / 1.08; margin: -6px auto 50px; border-radius: 190px 190px 0 0; border: 3px solid #fff; border-bottom: 0; overflow: hidden; background: linear-gradient(160deg, #f9c4d4, #e46f98); display: grid; place-items: center; }
.arch-photo img { width: 100%; height: 100%; object-fit: cover; }
.arch-photo svg { width: 38%; height: 38%; color: rgba(255, 255, 255, .85); }
#countdown { padding-top: 70px; padding-bottom: 110px; }
.quote-s { margin: 14px auto 24px; max-width: 300px; font-size: 13px; line-height: 1.8; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 26px; }
.cd b { display: block; font: 400 34px/1.1 var(--f-n); font-variant-numeric: tabular-nums; }
.cd span { display: block; margin-top: 2px; font-size: 13px; opacity: .92; }

.event { max-width: 360px; margin: 0 auto 22px; padding: 28px 22px 26px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(184, 146, 74, .5); border-radius: 22px; box-shadow: 0 18px 36px -26px rgba(120, 60, 80, .6); backdrop-filter: blur(2px); }
.ev-t { font: 400 30px/1.2 var(--f-s); color: var(--mauve-d); margin-bottom: 14px; }
.ev-t { font-size: 38px; }
.ev-l { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; font-size: 14px; color: var(--ink-s); }
.ev-l li { display: flex; align-items: flex-start; justify-content: center; gap: 10px; text-align: left; }
.ev-l .ico { margin-top: 4px; color: var(--pink-d); }
.loc { max-width: 380px; margin: 34px auto 110px; }
.map { height: 210px; border-radius: 22px; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(184, 146, 74, .5); overflow: hidden; margin-bottom: 20px; z-index: 0; }
.loc-name { font: 600 19px/1.4 var(--f-b); }
.loc-addr { margin: 4px 0 18px; font-size: 13.5px; color: var(--ink-s); }

.tline { list-style: none; margin: 0 auto; padding: 0; max-width: 360px; position: relative; text-align: left; }
.tline::before { content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 1px; background: rgba(255, 255, 255, .7); }
.tl-i { position: relative; display: flex; gap: 16px; margin-bottom: 26px; }
.tl-i:last-child { margin-bottom: 0; }
.tl-dot { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--mauve-d); display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .8); }
.tl-dot svg { width: 26px; height: 26px; color: #f9c4d4; }
.tl-c { flex: 1; padding: 14px 18px 16px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); border-radius: 4px 20px 20px 20px; }
.tl-c h3 { font: 400 28px/1.2 var(--f-s); margin-bottom: 4px; }
.tl-c p { font-size: 13.5px; line-height: 1.75; opacity: .95; }

.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 400px; margin: 0 auto 90px; }
.gal-i { position: relative; padding: 0; border: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1.15; background: #f9d0dc; cursor: pointer; box-shadow: 0 12px 24px -16px rgba(120, 60, 80, .7); -webkit-tap-highlight-color: transparent; }
.gal-i.g0 { grid-column: span 2; aspect-ratio: 16 / 10; }
.gal-i.g3 { border-radius: 90px 90px 22px 22px; }
.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; background: linear-gradient(160deg, #fde1e8, #f9c4d4); }
.gal-i.ph svg { width: 44%; height: 44%; opacity: .9; }

/* ── Form & ucapan ── */
.card { max-width: 400px; margin: 0 auto; padding: 26px 22px; background: rgba(255, 255, 255, .85); border: 1px solid rgba(184, 146, 74, .45); border-radius: 22px; box-shadow: 0 18px 36px -26px rgba(120, 60, 80, .6); text-align: left; }
.f-l { display: block; margin: 16px 0 6px; font: 500 11px/1.3 var(--f-b); letter-spacing: .16em; text-transform: uppercase; color: var(--mauve-d); }
.form .f-l:first-of-type { margin-top: 0; }
.f-in { width: 100%; padding: 12px 14px; border: 1px solid #efc6d2; border-radius: 12px; background: #fff; color: var(--ink); font: 400 14.5px/1.5 var(--f-b); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.f-in:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(228, 111, 152, .2); }
.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: 12.5px; border: 1px solid #efc6d2; border-radius: 12px; background: #fff; color: var(--ink-s); cursor: pointer; transition: all .2s; }
.ch input:checked + span { background: var(--pink); border-color: var(--pink); color: #fff; }
.ch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(228, 111, 152, .35); }
.form .btn { margin-top: 22px; }

.wish-head { display: flex; align-items: center; justify-content: space-between; max-width: 400px; margin: 44px auto 14px; }
.wish-head h3 { font: 400 38px/1.2 var(--f-s); color: var(--mauve-d); }
.wh-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mauve-d); }
.wh-live i { width: 7px; height: 7px; border-radius: 50%; background: #5cae6a; animation: live 1.6s ease-in-out infinite; }
@keyframes live { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.wishes { max-width: 400px; margin: 0 auto 90px; 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(--pink); display: flex; gap: 12px; padding: 14px; background: rgba(255, 255, 255, .85); border: 1px solid #f1cdd8; border-radius: 16px; }
.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: #fff; font: 600 17px/1 var(--f-b); }
.wish-body { min-width: 0; flex: 1; }
.wish-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wish-name { font: 600 14.5px/1.3 var(--f-b); overflow-wrap: anywhere; }
.wish-badge { padding: 2px 9px; border-radius: 99px; font-size: 10.5px; font-weight: 500; }
.wish-badge.hadir { background: #e3f0e1; color: #3f7a49; }
.wish-badge.tidak { background: #f7e1e0; color: #a5504d; }
.wish-badge.ragu  { background: #f6ecd2; color: #8a6a1f; }
.wish-message { margin-top: 4px; font-size: 13.5px; line-height: 1.65; color: var(--ink-s); overflow-wrap: anywhere; }
.wish-time { display: block; margin-top: 6px; font-size: 11.5px; color: #a8939b; }
.wish-empty { text-align: center; padding: 20px; color: #a8939b; font-style: italic; }

/* ── Kado (partial) ── */
.gift-box { max-width: 420px; margin: 0 auto; border-radius: 22px; background: #fff; overflow: hidden; color: var(--ink); text-align: left; box-shadow: 0 18px 36px -26px rgba(60, 20, 40, .7); }
.gift-wrap .gs-heading h2 { font-family: var(--f-s) !important; font-weight: 400 !important; font-size: 34px !important; color: var(--mauve-d) !important; }
.gift-wrap .gs-heading h2::after { background: var(--pink) !important; }
.gift-wrap .gs-card, .gift-wrap .gs-bank-card { border: 1px solid #f1cdd8 !important; border-radius: 16px !important; }
.gift-wrap .gs-btn, .gift-wrap .gs-bank-copy { border-radius: 99px !important; font-family: var(--f-b) !important; }
.gift-wrap .gs-btn-buy { background: var(--pink-d) !important; color: #fff !important; }
.gift-wrap .gs-bank-logo { background: #fde1e8 !important; color: var(--pink-d) !important; }

/* ── Penutup ── */
.end { padding-top: 200px; padding-bottom: 90px; }
.fam { margin: 24px 0 26px; display: grid; gap: 14px; font-size: 14px; }
.fam span { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.end-credit { font-size: 12px; opacity: .8; }

/* ── Lightbox ── */
.gallery-lightbox { display: none; position: fixed; inset: 0; z-index: 7000; align-items: center; justify-content: center; background: rgba(40, 20, 30, .93); opacity: 0; transition: opacity .3s; }
.lb-img-wrap img { max-width: 92vw; max-height: 80vh; border: 6px solid #fff; border-radius: 6px; }
.lb-close, .lb-prev, .lb-next { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--ink); font: 500 22px/1 var(--f-b); 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: #fff; font-size: 14px; letter-spacing: .1em; }

/* ════════════════════════════════════════════════════════════════
   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: #3a2a30; }
    .side-photo { position: absolute; inset: 0; background: center / cover no-repeat; animation: zoomSlow 20s ease-in-out infinite alternate; }
    .side-photo.none { background: radial-gradient(ellipse at 40% 30%, #f49bbb, #b9577e 60%, #6e2d48); animation: none; }
    .side-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33, 20, 26, .1) 30%, rgba(33, 20, 26, .78)); }
    .side-in { position: absolute; left: 0; right: 0; bottom: 14vh; padding: 0 40px; text-align: center; color: #fff; }
    .sd-k { font: 500 17px/1.4 var(--f-b); }
    .sd-n { margin: 14px 0 18px; font: 400 clamp(46px, 6.2vw, 92px)/1.1 var(--f-n); letter-spacing: .02em; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
    .sd-n i { font-style: normal; font-family: var(--f-s); }
    .sd-d { font: 500 16px/1.4 var(--f-b); }
    .stage { margin-left: auto; margin-right: 0; width: var(--col); position: relative; z-index: 2; box-shadow: -12px 0 40px -18px rgba(60, 20, 40, .5); }
    .cover { left: auto; right: 0; width: var(--col); }
    .music-toggle-btn { right: 18px; }
    .toast { left: calc(100% - var(--col) / 2); }
    .petals { left: auto; width: var(--col); }
}
@keyframes zoomSlow { to { transform: scale(1.07); } }

@media (max-height: 700px) {
    .cv-pill { width: 96px; height: 144px; margin-bottom: 14px; }
    .cv-names { font-size: 38px; margin: 8px 0 12px; }
    .cv-to { margin-bottom: 12px; }
}
@media (max-width: 360px) {
    .script-xl { font-size: 46px; }
    .cd b { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .petals { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   BAGIAN PERTAMA: "kamera" menjauh dari dedaunan ke pemandangan toile
   (di referensi berupa video latar; ini versi CSS-nya)
   ════════════════════════════════════════════════════════════════ */
#hero .tbg { opacity: 0; transform-origin: 50% 20%; }
#hero .tbg::before { transform-origin: 0 0; }
#hero .tbg::after { transform-origin: 100% 0; }
#hero::after { transform: translateY(110px); opacity: 0; }
body.opened #hero .tbg { animation: sceneIn 3.6s cubic-bezier(.22, .7, .2, 1) .15s both; }
body.opened #hero .tbg::before { animation: treeL 3.6s cubic-bezier(.22, .7, .2, 1) .15s both; }
body.opened #hero .tbg::after { animation: treeR 3.6s cubic-bezier(.22, .7, .2, 1) .15s both; }
body.opened #hero::after { animation: floraRise 2.4s cubic-bezier(.2, .8, .25, 1) .9s both; }
@keyframes sceneIn { from { opacity: 0; transform: scale(1.5); } 35% { opacity: .9; } to { opacity: .55; transform: scale(1); } }
@keyframes treeL { from { transform: scale(2.1); filter: saturate(1.6) brightness(.8); } to { transform: none; filter: none; } }
@keyframes treeR { from { transform: scaleX(-1) scale(2.1); filter: saturate(1.6) brightness(.8); } to { transform: scaleX(-1); filter: none; } }
@keyframes floraRise { from { transform: translateY(110px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    #hero .tbg { opacity: .55; } #hero::after { transform: none; opacity: 1; }
    .zi { animation: none; }
}
