/* =========================================================================
   Tema Rosegate — gerbang taman mawar, lukisan cat air.

   Titik tolaknya video pembuka bergaya cat air: gerbang kayu krem di bawah
   lengkung mawar terbuka, kamera menyusuri jalan setapak di antara mawar &
   lavender, lalu tiba di bingkai lengkung emas berlatar kertas cat air yang
   dirambati mawar.

   Gagasan utama: KERTAS CAT AIR. Isi = lembar kertas krem dengan noda sapuan
   cat air di tepinya (persis latar bingkai di video) dan garis emas tipis;
   kepala bagian = setangkai mawar cat air; foto mempelai bulat berlingkar
   sapuan warna; foto galeri pertama berbentuk lengkung seperti bingkai video.
   Warna: merah mawar (utama), krem kertas, hijau daun, lavender, emas.
   Huruf: Alex Brush (nama & judul), Gilda Display (sub judul), Quicksand (teks).
   ========================================================================= */

:root {
    --c-paper: #FCF7EC;
    --c-ink: #3D3632;
    --c-accent: #B0606B;

    --c-muted: color-mix(in srgb, var(--c-ink) 72%, #fff);
    --c-rule: color-mix(in srgb, var(--rsg-gold) 45%, #fff);
    --c-sunk: color-mix(in srgb, var(--rsg-rose) 14%, #fff);
    --c-action: var(--c-accent);

    --f-names: 'Alex Brush', cursive;
    --f-display: 'Gilda Display', 'Cormorant Garamond', Georgia, serif;
    --f-body: 'Quicksand', system-ui, sans-serif;
    --f-script: var(--f-names);

    --rsg-gold: #C2A06A;   /* lis emas bingkai */
    --rsg-rose: #E7A9A6;   /* mawar cat air */
    --rsg-leaf: #8EA584;   /* daun */
    --rsg-wash: #E9C9A6;   /* noda cat air krem-jingga di tepi kertas */
    --rsg-sheet: #FCF7EC;  /* kertas cat air */
    --rsg-ivory: #FFFDF8;
    /* Video 720 × 1280. Ponsel: menutupi layar. Layar lebar: utuh setinggi layar. */
    --rsg-w: max(100vw, 100dvh * 9 / 16);
}
@media (min-aspect-ratio: 3 / 4) {
    :root { --rsg-w: calc(100dvh * 9 / 16); }
}

body.inv.rsg {
    background: #EDE7D7; color: var(--c-ink);
    font-family: var(--f-body); font-size: .94rem; font-weight: 500; line-height: 1.75;
}
.rsg-amp { font-family: var(--f-names); color: var(--rsg-leaf); }

/* ---------------------------------------------------------- latar isi */

/* Jalan setapak taman cat air (tengah video), dilembutkan; kertas di atasnya. */
.rsg-garden {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(rgb(252 247 236 / .3), rgb(252 247 236 / .45)), var(--rsg-taman) center 30% / cover no-repeat, #EDE7D7;
}

/* ---------------------------------------------------------------- sampul */

.rsg .inv-cover.rsg-cover { padding: 0; display: block; overflow: hidden; background: #EDE7D7; }
.rsg-stage {
    position: absolute; left: 50%; top: 50%;
    width: var(--rsg-w); aspect-ratio: 9 / 16; transform: translate(-50%, -50%);
    container-type: inline-size; overflow: hidden;
}
.rsg-stage__poster, .rsg-stage__start, .rsg-stage__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* --- Sampul dua langkah (kelas dari theme.js) -------------------------
   diam       : bingkai pertama video + sapaan + tombol "Buka undangan"
   .is-playing: video berjalan, sapaan memudar
   .is-ready  : nama, tanggal & jadwal masuk bingkai lengkung; tombol "Lihat undangan" */
.rsg-stage__video { opacity: 0; }
.rsg-stage.is-playing .rsg-stage__video { opacity: 1; }
.rsg-stage__start { transition: opacity .3s ease .25s; }
.rsg-stage.is-playing .rsg-stage__start, .rsg-stage.is-ready .rsg-stage__start { opacity: 0; }

.rsg-cover__text, .rsg-cover__foot { transition: opacity 1.1s ease, transform 1.1s var(--ease), visibility 0s linear 0s; }
.rsg-stage:not(.is-ready) .rsg-cover__text { opacity: 0; visibility: hidden; transform: translateY(12px); transition-duration: .3s, .3s, 0s; transition-delay: 0s, 0s, .3s; }
.rsg-stage.is-playing:not(.is-ready) .rsg-cover__foot { opacity: 0; visibility: hidden; transform: translateY(10px); transition-duration: .5s, .5s, 0s; transition-delay: 0s, 0s, .5s; }
.rsg-stage.is-ready .rsg-cover__foot { transition-delay: .7s, .7s, 0s; }
.rsg-stage:not(.is-ready) #inv-open, .rsg-stage.is-ready .rsg-play, .rsg-cover__foot [hidden] { display: none; }

/* Sebelum bingkai tiba (diam & selama video): sapaan di daun gerbang, di
   bawah gagang pintu. Baru pindah ke bawah bingkai saat .is-ready — ketika
   sapaan sudah tak terlihat — jadi tidak ada lompatan. */
.rsg-stage:not(.is-ready) .rsg-cover__foot { top: 116cqw; bottom: auto; }

/* Bingkai di akhir video: bingkai dalam x 13,9–86% (tengah 50%), puncak
   lengkung y 15cqw, bawah 158cqw. Mawar merambat menutup sisi kiri-atas &
   kanan-atas sampai ±64cqw dan kedua sudut bawah mulai ±118cqw. Kotak teks
   dijaga di bidang kertas yang bebas mawar. */
.rsg-cover__text {
    position: absolute; left: 24cqw; width: 52cqw; top: 66cqw; height: 52cqw;
    display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 1.2cqw;
    text-align: center;
}
.rsg-cover__label { margin: 0; font: 400 3.2cqw/1.3 var(--f-display); letter-spacing: .08em; white-space: nowrap; color: #8B7A55; }
.rsg-cover__names {
    display: grid; justify-items: center; width: 100%; margin: 0;
    font: 400 13cqw/1.12 var(--f-names); color: #9A4F5A; text-wrap: balance;
}
.rsg-cover__names .rsg-amp { font-size: .44em; line-height: 1.15; color: #6F8A66; }
.rsg-cover__date {
    margin: .6cqw 0 0; padding-top: 1.6cqw; border-top: 1px solid var(--rsg-gold);
    font: 400 3.3cqw/1.2 var(--f-display); letter-spacing: .06em; white-space: nowrap; color: var(--c-ink);
}
/* Halaman lapang: jadwal boleh dua kolom. */
.rsg-cover__sched { display: flex; flex-wrap: wrap; justify-content: center; gap: .8cqw 3.5cqw; max-width: 40cqw; margin: .2cqw 0 0; }
.rsg-cover__sched p { display: grid; justify-items: center; margin: 0; font: 500 2.2cqw/1.35 var(--f-body); color: var(--c-muted); text-align: center; }
.rsg-cover__sched-title { font: 600 2.1cqw/1.4 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #9A4F5A; }

.rsg-cover__foot {
    /* Langkah akhir: menempel di bawah layar (di meja, di bawah kartu).
       Diukur dari bawah karena tinggi tombol dalam rem. Bila panggung 9:16
       lebih tinggi dari layar (tablet potret), bagian bawahnya terpotong —
       geser naik sebesar potongan itu supaya tombol tetap terlihat. */
    position: absolute; left: 19cqw; width: 62cqw;
    bottom: calc(max(0px, (var(--rsg-w) * 16 / 9 - 100dvh) / 2) + 1.6cqw);
    display: grid; justify-items: center; padding: 2.8cqw 4cqw 3.4cqw; border-radius: 1.4cqw; text-align: center;
    background: rgb(252 247 236 / .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-radius: 4cqw; box-shadow: 0 0 0 1px rgb(194 160 106 / .55), inset 0 0 22px rgb(233 201 166 / .55), 0 16px 30px -18px rgb(80 60 50 / .45);
}
.rsg-cover__to { margin: 0; font-size: max(.72rem, 2.8cqw); color: var(--c-muted); }
.rsg-cover__guest { max-width: 100%; margin: .1rem 0 0; font: 400 max(1.15rem, 5.2cqw)/1.25 var(--f-display); color: var(--c-ink); overflow-wrap: anywhere; }

/* Tombol sampul: merah mawar, berlis emas tipis. */
.rsg-open {
    margin-top: max(.6rem, 2.4cqw); padding: .8rem 1.8rem; border: 0; border-radius: 999px;
    background: var(--c-accent); color: var(--rsg-ivory);
    font: 600 .88rem/1 var(--f-body); letter-spacing: .03em; white-space: nowrap; cursor: pointer;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2), 0 0 0 3px rgb(252 247 236 / .9), 0 0 0 4px var(--rsg-gold), 0 10px 22px -12px rgb(80 60 50 / .5);
    transition: background .25s ease;
}
.rsg-open:hover { background: var(--c-ink); }
.rsg-open:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 6px; }

/* ---------------------------------------------------------------- isi */

body.rsg:not(.is-open) .rsg-main { visibility: hidden; opacity: 0; }
body.rsg.is-open .rsg-main { animation: rsg-fade 1s ease both .3s; }
@keyframes rsg-fade { from { opacity: 0; } }

.rsg .inv__main.rsg-main {
    position: relative; z-index: 1;
    width: min(100% - 2rem, 30rem); max-width: none; margin: 0 auto; padding: 24vh 0 0;
}

/* Kertas cat air: tekstur kertas berbercak cat air dari bingkai di video
   (kertas.jpg, dicerahkan), noda krem-jingga yang memudar ke dalam di tepi, sapuan mawar & daun samar di
   dua sudut, dan garis emas tipis di dalam tepi (::after). */
.rsg .inv-section {
    position: relative; margin: 0 0 13vh; padding: 3.5rem 1.9rem 3rem;
    border: 0; border-radius: 1.6rem; text-align: center;
    background:
        radial-gradient(60% 40% at 0% 0%, rgb(231 169 166 / .22), transparent 70%),
        radial-gradient(55% 35% at 100% 100%, rgb(142 165 132 / .2), transparent 70%),
        linear-gradient(rgb(252 247 236 / .5), rgb(252 247 236 / .5)),
        url('kertas.jpg') center / cover,
        var(--rsg-sheet);
    box-shadow: inset 0 0 44px rgb(233 201 166 / .5), inset 0 0 10px rgb(233 201 166 / .35), 0 22px 40px -26px rgb(80 60 50 / .45);
}
.rsg .inv-section::after { content: ''; position: absolute; inset: 12px; pointer-events: none; border: 1px solid color-mix(in srgb, var(--rsg-gold) 55%, transparent); border-radius: 1.1rem; }

/* Kepala bagian: setangkai mawar cat air */
.rsg-head { margin-bottom: 1.3rem; text-align: center; }
.rsg-head__sprig { display: block; width: 5.8rem; height: auto; margin: 0 auto .35rem; overflow: visible; }
.rsg-head__stem { fill: none; stroke: var(--rsg-leaf); stroke-width: 1.2; stroke-linecap: round; }
.rsg-head__leaf { fill: color-mix(in srgb, var(--rsg-leaf) 70%, transparent); }
.rsg-head__bloom { fill: color-mix(in srgb, var(--c-accent) 55%, #fff); }
.rsg-head__petal { fill: none; stroke: color-mix(in srgb, var(--c-accent) 85%, #000); stroke-width: 1.2; stroke-linecap: round; }
.rsg-head__bud { fill: color-mix(in srgb, var(--c-accent) 70%, #fff); }
.rsg-head__title { margin: 0; font: 400 clamp(2.3rem, 9.5vw, 2.7rem)/1.25 var(--f-names); color: var(--c-accent); }
.rsg-head__lead { max-width: 24rem; margin: .5rem auto 0; color: var(--c-muted); }

/* Pembuka */
.rsg .inv-bismillah { color: var(--c-accent); }
.rsg-verse { margin: 0 0 1.5rem; }
.rsg-verse__text { margin: 0; font: 400 1.18rem/1.7 var(--f-display); color: var(--c-ink); }
.rsg-verse__source { margin-top: .6rem; font: 400 .95rem/1.3 var(--f-display); letter-spacing: .12em; color: var(--c-accent); }
.rsg-lede { max-width: 25rem; margin: 0 auto; color: var(--c-muted); }

/* Mempelai: foto bulat dengan lingkar sapuan cat air & lis emas */
.rsg-couple__grid { display: grid; gap: .5rem; }
.rsg-couple__amp { margin: .3rem 0; font: 400 2.6rem/1 var(--f-names); color: var(--rsg-leaf); }
.rsg-person { display: grid; justify-items: center; }
.rsg-photo {
    width: 9.5rem; aspect-ratio: 1; margin: .4rem 0 1.4rem; padding: 6px; border-radius: 50%;
    border: 1px solid var(--rsg-gold); outline: 1px solid color-mix(in srgb, var(--rsg-gold) 45%, transparent); outline-offset: 5px;
    box-shadow: 0 12px 24px -16px rgb(80 60 50 / .5);
}
.rsg-photo img, .rsg-photo__initial { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rsg-photo__initial { display: grid; place-items: center; background: var(--c-sunk); font: 400 4.5rem/1 var(--f-names); color: var(--c-accent); }
.rsg-person__text { min-width: 0; overflow-wrap: break-word; }
.rsg-person__name { margin: 0; font: 400 2.3rem/1.25 var(--f-names); color: var(--c-accent); }
.rsg-person__family { margin: .35rem 0 0; font-size: .88rem; color: var(--c-muted); }
.rsg-person__bio { max-width: 22rem; margin: .6rem auto 0; font-size: .88rem; color: var(--c-muted); }
.rsg-person__ig { display: inline-block; margin-top: .6rem; color: var(--c-accent); font-size: .84rem; font-weight: 600; text-decoration: none; }

/* Hitung mundur: titik-titik sapuan cat air */
.rsg-countdown { display: flex; justify-content: center; gap: .6rem; margin: 0 auto 2rem; }
.rsg .rsg-countdown .inv-countdown__cell {
    display: grid; justify-items: center; gap: .15rem; min-width: 3.7rem; padding: .7rem .2rem .55rem;
    border: 1px solid color-mix(in srgb, var(--rsg-gold) 60%, transparent); border-radius: 50%; aspect-ratio: 1; align-content: center; background: radial-gradient(circle at 45% 40%, #FFFDF8 30%, rgb(231 169 166 / .25));
    box-shadow: inset 0 0 12px rgb(233 201 166 / .45);
}
.rsg .rsg-countdown b { font: 400 1.75rem/1 var(--f-display); color: var(--c-accent); }
.rsg .rsg-countdown span { font-size: .66rem; text-transform: none; letter-spacing: .04em; color: var(--c-muted); }

/* Acara */
.rsg-events__list { display: grid; gap: 0; }
.rsg-event { padding: 1.35rem 0; }
.rsg-event + .rsg-event { border-top: 1px solid var(--c-rule); }
.rsg-event.is-past { opacity: .55; }
.rsg-event__title { margin: 0 0 .2rem; font: 400 2.3rem/1.25 var(--f-names); color: var(--c-accent); }
.rsg-event__date { margin: 0; font: 400 1.12rem/1.4 var(--f-display); letter-spacing: .05em; }
.rsg-event__time { margin: 0; color: var(--c-muted); }
.rsg-event__venue { margin: .85rem 0 0; font-weight: 600; }
.rsg-event__address { margin: .1rem 0 0; font-size: .88rem; color: var(--c-muted); }
.rsg-event__meta { margin: .35rem 0 0; font-size: .84rem; color: var(--c-muted); }
.rsg-event__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.1rem; }
.rsg-event__actions .inv-btn { flex: 1 1 8.5rem; text-align: center; }

/* Tombol */
.rsg .inv-btn { border-radius: 999px; padding: .72rem 1.2rem; font: 500 .82rem/1.2 var(--f-body); letter-spacing: .02em; text-transform: none; }
.rsg .inv-btn--solid { background: var(--c-accent); border-color: var(--c-accent); color: var(--rsg-ivory); box-shadow: none; }
.rsg .inv-btn--ghost { background: rgb(255 255 255 / .55); border-color: var(--rsg-gold); color: var(--c-ink); }
.rsg .inv-btn:hover { filter: none; background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

/* Cerita: kuntum mawar kecil sebagai penanda */
.rsg-story__list { display: grid; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.rsg-story__item { display: grid; justify-items: center; }
.rsg-story__item::before {
    content: ''; width: .7rem; height: .7rem; margin-bottom: .6rem; border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #F4D2CC, var(--rsg-rose) 60%);
    box-shadow: 0 0 0 3px var(--rsg-sheet), 0 0 0 4px var(--rsg-leaf);
}
.rsg-story__period { margin: 0; font: 400 .95rem/1.2 var(--f-display); letter-spacing: .14em; color: var(--c-muted); }
.rsg-story__title { margin: .15rem 0 0; font: 400 1.35rem/1.3 var(--f-display); color: var(--c-ink); }
.rsg-story__img { width: 100%; aspect-ratio: 4 / 3; margin-top: .75rem; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px var(--rsg-gold), 0 0 0 5px var(--rsg-ivory), 0 0 0 6px color-mix(in srgb, var(--rsg-gold) 40%, transparent); }
.rsg-story__text { max-width: 25rem; margin: .5rem 0 0; font-size: .9rem; color: var(--c-muted); }

/* Galeri (markup _base): foto pertama berbentuk lengkung seperti bingkai di video */
.rsg .inv-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem; }
.rsg .inv-gallery__cell { padding: 0; border: 0; border-radius: .9rem; aspect-ratio: 3 / 4; overflow: hidden; background: var(--c-sunk); cursor: zoom-in; }
.rsg .inv-gallery__cell:first-child { grid-column: 1 / -1; width: 74%; margin: 0 auto .7rem; border-radius: 999px 999px 4px 4px; box-shadow: 0 0 0 1px var(--rsg-gold), 0 0 0 7px var(--rsg-ivory), 0 0 0 8px color-mix(in srgb, var(--rsg-gold) 45%, transparent); }
.rsg .inv-gallery__cell img { width: 100%; height: 100%; object-fit: cover; }

/* Video & siaran langsung */
.rsg .inv-video { padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: #000; }
.rsg .inv-video iframe { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Form RSVP & ucapan (markup _base) */
.rsg .inv-form { gap: 1.3rem; text-align: left; }
.rsg .inv-label { font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--c-ink); }
.rsg .inv-input { padding: .8rem 1rem; border: 1px solid var(--rsg-gold); border-radius: .6rem; background: rgb(255 255 255 / .8); font-size: .95rem; }
.rsg .inv-input:focus, .rsg .inv-input:focus-visible { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 16%, transparent); }
.rsg .inv-choice { border-color: var(--rsg-gold); border-radius: .6rem; background: rgb(255 255 255 / .8); }
.rsg .inv-choice:has(:checked) { border-color: var(--c-accent); background: color-mix(in srgb, var(--c-accent) 7%, #fff); color: var(--c-accent); }
.rsg .inv-choice input { accent-color: var(--c-accent); }
.rsg .inv-form .inv-btn--solid { width: 100%; padding-block: .95rem; }
.rsg .inv-tally div { border: 1px solid var(--rsg-gold); border-radius: .6rem; background: rgb(255 255 255 / .75); }
.rsg .inv-tally dd { font-family: var(--f-display); font-size: 1.9rem; color: var(--c-accent); }
.rsg .inv-wish { padding: .95rem 1.1rem; border: 0; border-left: 2px solid var(--rsg-gold); border-radius: 0 .6rem .6rem 0; background: rgb(255 255 255 / .7); text-align: left; }
.rsg .inv-wish__name { font-weight: 600; color: var(--c-accent); }

/* Hadiah: kartu sapuan warna utama, noda cat air lebih terang di sudut */
.rsg .inv-gifts { display: grid; gap: 1rem; }
.rsg .inv-gift {
    position: relative; overflow: hidden; isolation: isolate; padding: 1.9rem 1.5rem; border: 0; border-radius: 1.3rem; text-align: center; color: var(--rsg-ivory);
    background: linear-gradient(160deg, color-mix(in srgb, var(--c-accent) 88%, #fff), color-mix(in srgb, var(--c-accent) 78%, #1a0c0c));
    box-shadow: inset 0 0 30px rgb(80 30 40 / .22), 0 14px 26px -18px rgb(80 60 50 / .5);
}
.rsg .inv-gift::before {
    content: ''; position: absolute; z-index: -1; inset: 0;
    background:
        radial-gradient(55% 45% at 85% 10%, rgb(255 250 240 / .28), transparent 70%),
        radial-gradient(50% 40% at 10% 95%, rgb(142 165 132 / .35), transparent 70%);
}
.rsg .inv-gift__logo { max-height: 1.6rem; margin-inline: auto; filter: brightness(0) invert(1); opacity: .9; }
.rsg .inv-gift__label { font-size: .85rem; letter-spacing: .02em; text-transform: none; color: rgb(245 240 222 / .75); }
.rsg .inv-gift__account { font: 400 1.75rem/1.3 var(--f-display); letter-spacing: .08em; color: #fff; }
.rsg .inv-gift__holder, .rsg .inv-gift__address { color: rgb(245 240 222 / .85); }
.rsg .inv-gift .inv-btn--ghost { margin-top: 1rem; background: transparent; border-color: rgb(245 240 222 / .5); color: #fff; }
.rsg .inv-gift__qr { display: block; max-width: 12rem; margin: .75rem auto 0; padding: .5rem; background: #fff; border-radius: .4rem; }

/* Penutup */
.rsg .rsg-closing { margin-bottom: 46vh; }
.rsg-closing__text { max-width: 24rem; margin: 0 auto; color: var(--c-muted); }
.rsg-closing__salutation { margin: 1.6rem 0 0; font: 400 1rem/1.3 var(--f-display); letter-spacing: .12em; color: var(--c-muted); }
.rsg-closing__names { display: grid; margin: .2rem 0 0; font: 400 clamp(3rem, 13vw, 3.6rem)/1.15 var(--f-names); color: var(--c-accent); }
.rsg-closing__names .rsg-amp { font-size: .46em; line-height: 1.6; letter-spacing: .1em; }
.rsg-closing__tag { margin: .8rem 0 0; font-size: .88rem; color: var(--c-muted); }

.rsg .rsg-footer {
    position: relative; margin: 0 -1rem; padding: 1rem; border-radius: 1rem 1rem 0 0;
    background: rgb(61 54 50 / .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: rgb(252 247 236 / .85); font-size: .75rem; text-align: center;
}
.rsg .rsg-footer a { color: #fff; }

/* Musik, tombol QR, navigasi cepat */
.rsg .inv-music { background: var(--c-accent); }
.rsg .inv-checkin-btn { background: var(--c-accent); color: #fff; }
.rsg { --qn-bg: rgb(252 247 236 / .94); --qn-fg: var(--c-muted); --qn-active: var(--c-accent); }

/* ------------------------------------------------------------ layar lebar */

@media (min-aspect-ratio: 3 / 4) {
    .rsg .inv-cover.rsg-cover { isolation: isolate; }
    .rsg .inv-cover.rsg-cover::before {
        content: ''; position: absolute; inset: -40px; z-index: -1;
        background: var(--rsg-blur) center / cover; filter: blur(24px);
    }
    .rsg-stage { box-shadow: 0 0 80px -10px rgb(0 0 0 / .45); }
}
@media (min-width: 900px) {
    .rsg .inv-cover.rsg-cover { left: 0; right: 0; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
    body.rsg.is-open .rsg-main { animation: none; }
    .rsg-cover__text, .rsg-cover__foot, .rsg-stage__start { transition: none; }
}

/* ------------------------------------------------- HP: bilah alamat menyusut
   Di HP, bilah alamat menutup sendiri saat digulir → tinggi layar berubah →
   latar fixed ikut berubah ukuran ("melompat"). Latar memakai tinggi layar
   TERBESAR (lvh) yang tetap, jadi tidak berubah saat bilah alamat muncul/hilang. */
.rsg-garden { bottom: auto; height: 100vh; height: 100lvh; }
