/* =====================================================================
   UNDANGAN DIGITAL — "BOTANICAL BENTO"
   Konsep BARU: satu kanvas krem menerus, kartu-kartu mengambang
   (bento), tiket boarding-pass untuk detail acara, filmstrip galeri
   horizontal, bingkai foto organik, navigasi titik di samping.
   Palet warna tetap sama: hijau tua, emas, putih telur.
===================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --ink: #071A10;
    --forest: #0D2B1B;
    --forest-2: #123822;
    --forest-soft: #16452C;
    --emerald: #1E6B41;
    --emerald-light: #2F8F58;

    --eggshell: #F7F1DE;
    --eggshell-2: #EFE6C6;
    --parchment: #FBF8EE;

    --gold: #C9A227;
    --gold-bright: #E4BE4A;
    --gold-pale: #F0D98C;
    --gold-line: rgba(201, 162, 39, 0.5);

    --ink-text: #10231A;
    --ink-text-soft: #3C5346;
    --cream-text: #F3EEDC;
    --cream-text-soft: #C9D6C9;

    --font-display: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --r-lg: 28px;
    --r-md: 18px;
}

html { scroll-behavior: smooth; }
::selection { background: var(--gold-pale); color: var(--ink); }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--eggshell-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 999px; }

body {
    font-family: var(--font-sans);
    color: var(--ink-text);
    background: var(--eggshell);
    line-height: 1.65;
    overflow-x: hidden;
}
body::before {
    /* botanical watermark tetap di belakang seluruh kanvas krem */
    content: '';
    position: fixed; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse 700px 500px at 92% 4%, rgba(30,107,65,.08), transparent 55%),
        radial-gradient(ellipse 640px 480px at 4% 30%, rgba(201,162,39,.09), transparent 55%),
        radial-gradient(ellipse 700px 500px at 90% 85%, rgba(30,107,65,.07), transparent 55%);
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

.site-shell { max-width: 1160px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }

/* =====================================================================
   BENTO CARD — komponen dasar dipakai berulang di semua section
===================================================================== */
.bento {
    position: relative;
    border-radius: var(--r-lg);
    padding: clamp(34px, 5vw, 62px);
    margin: 26px 0;
    overflow: hidden;
}
.bento-dark {
    background: linear-gradient(165deg, var(--forest-2), var(--ink));
    color: var(--cream-text);
    border: 1px solid rgba(228,190,74,.16);
    box-shadow: 0 34px 70px rgba(7,26,16,.28);
}
.bento-light {
    background: var(--parchment);
    color: var(--ink-text);
    border: 1px solid rgba(201,162,39,.22);
    box-shadow: 0 24px 54px rgba(16,35,26,.07);
}
.bento-dark::after {
    content: '';
    position: absolute; inset: 10px;
    border: 1px solid rgba(228,190,74,.14);
    border-radius: calc(var(--r-lg) - 10px);
    pointer-events: none;
}

.eyebrow-mark {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; letter-spacing: 3.5px; text-transform: uppercase;
    color: var(--gold); font-weight: 700;
}
.eyebrow-mark::before { content: ''; width: 22px; height: 1px; background: var(--gold-line); }

.section-title {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(30px, 4.4vw, 46px);
    margin: 12px 0 8px;
}
.bento-dark .section-title { color: var(--cream-text); }
.bento-light .section-title { color: var(--forest); }

.section-anchor { position: relative; top: -84px; display: block; height: 0; }

/* =====================================================================
   SCROLL PROGRESS — cincin tipis di tepi atas
===================================================================== */
#scrollProgress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    z-index: 999;
}

/* =====================================================================
   MUSIC CONSENT MODAL
===================================================================== */
#musicConsent {
    position: fixed; inset: 0; z-index: 1200;
    display: flex; align-items: center; justify-content: center;
    background: rgba(7,26,16,.92);
    backdrop-filter: blur(6px);
    padding: 24px;
    transition: opacity .5s var(--ease), visibility .5s;
}
#musicConsent.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.consent-card {
    max-width: 380px; width: 100%; text-align: center;
    padding: 40px 30px 32px;
    background: var(--parchment);
    border: 1px solid var(--gold-line);
    border-radius: var(--r-md);
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
    animation: consentIn .6s var(--ease);
}
@keyframes consentIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

.consent-note { font-size: 38px; margin-bottom: 12px; }
.consent-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 25px; color: var(--forest); margin-bottom: 10px; }
.consent-card p { font-size: 13.5px; color: var(--ink-text-soft); line-height: 1.7; margin-bottom: 24px; }
.consent-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-consent-yes, .btn-consent-no { padding: 13px 20px; border-radius: 999px; font-size: 13px; letter-spacing: 1px; font-weight: 700; transition: all .3s var(--ease); }
.btn-consent-yes { background: linear-gradient(120deg, var(--gold), var(--gold-bright)); color: var(--ink); }
.btn-consent-yes:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201,162,39,.32); }
.btn-consent-no { background: transparent; color: var(--ink-text-soft); border: 1px solid rgba(16,35,26,.16); }
.btn-consent-no:hover { border-color: var(--gold); color: var(--forest); }

/* =====================================================================
   MUSIC TOGGLE
===================================================================== */
#musicToggle {
    position: fixed; right: 22px; bottom: 22px; z-index: 500;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--forest);
    border: 1px solid var(--gold-line);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 28px rgba(16,35,26,.25);
    opacity: 0; transform: translateY(14px) scale(.85);
    transition: all .45s var(--ease);
    pointer-events: none;
}
#musicToggle.show { opacity: 1; transform: none; pointer-events: auto; }
#musicToggle .disc {
    width: 21px; height: 21px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--gold-bright), var(--gold) 60%, #8a6c14 100%);
    position: relative;
    animation: spin 3.2s linear infinite; animation-play-state: paused;
}
#musicToggle .disc::after { content: ''; position: absolute; inset: 38%; background: var(--forest); border-radius: 50%; }
#musicToggle.playing .disc { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }

.music-hint {
    position: fixed; right: 82px; bottom: 34px; z-index: 500;
    background: var(--forest); color: var(--gold-pale);
    padding: 8px 15px; border-radius: 999px; font-size: 12px;
    border: 1px solid var(--gold-line);
    opacity: 0; transform: translateX(8px);
    transition: all .4s var(--ease);
    white-space: nowrap;
}
.music-hint.show { opacity: 1; transform: none; }

/* =====================================================================
   OPENING — kartu undangan formal mengambang di tengah, bukan takeover
   layar penuh yang polos. Latar belakang blur lembut kanvas krem+hijau.
===================================================================== */
#opening {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 30px 20px;
    background:
        radial-gradient(ellipse 800px 600px at 50% 20%, rgba(30,107,65,.16), transparent 60%),
        var(--eggshell);
    transition: opacity .8s var(--ease), visibility .8s;
}
#opening.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.invite-card {
    position: relative;
    max-width: 440px; width: 100%;
    text-align: center;
    padding: 56px 34px 40px;
    background: linear-gradient(170deg, var(--forest-2), var(--ink));
    color: var(--cream-text);
    border-radius: 6px;
    box-shadow: 0 40px 90px rgba(7,26,16,.35), 0 0 0 1px rgba(228,190,74,.15);
}
.invite-card::before {
    content: ''; position: absolute; inset: 14px;
    border: 1px solid var(--gold-line);
}
.invite-card::after {
    content: ''; position: absolute; inset: 20px;
    border: 1px solid rgba(228,190,74,.18);
    pointer-events: none;
}
.invite-corner { position: absolute; width: 30px; height: 30px; border: 2px solid var(--gold-bright); z-index: 2; }
.invite-corner.tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.invite-corner.tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.invite-corner.bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.invite-corner.br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

.opening-inner { position: relative; z-index: 1; }
.opening-inner .eyebrow { font-size: 11.5px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-pale); margin-bottom: 16px; opacity: .85; }
.names { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 8vw, 50px); line-height: 1.08; color: var(--cream-text); }
.names span { color: var(--gold-bright); font-style: italic; }

.divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0; }
.divider span { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.divider::before, .divider::after { content: ''; width: 54px; height: 1px; background: var(--gold-line); }

.opening-welcome { font-size: 13.5px; color: var(--cream-text-soft); line-height: 1.8; margin-bottom: 22px; }
.guest-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-pale); opacity: .8; }
.guest-name { font-family: var(--font-display); font-size: 23px; color: var(--cream-text); margin: 5px 0 26px; font-weight: 500; }

.btn-open {
    display: inline-block; padding: 15px 38px; border-radius: 3px;
    background: linear-gradient(120deg, var(--gold), var(--gold-bright));
    color: var(--ink); font-weight: 700; font-size: 12.5px;
    letter-spacing: 1.5px; text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(228,190,74,.25);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-open:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(228,190,74,.36); }

.auto-open-info { margin-top: 22px; }
.auto-open-info p { font-size: 11px; color: var(--cream-text-soft); opacity: .7; margin-bottom: 8px; }
.progress-bar { width: 150px; height: 2px; background: rgba(243,238,220,.15); margin: 0 auto; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--gold); transition: width 1s linear; }

/* =====================================================================
   NAVBAR (top, minimal) + MOBILE DRAWER
===================================================================== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 400; padding: 20px 0; transition: all .4s var(--ease); }
.navbar.scrolled { padding: 13px 0; background: rgba(247,241,222,.85); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(201,162,39,.18); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--forest); letter-spacing: 1px; }

.nav-links {
    display: none;
}
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 26px; }
.hamburger span { height: 2px; background: var(--forest); border-radius: 2px; transition: all .3s; }

@media (min-width: 901px) { .hamburger { display: none; } }

@media (max-width: 900px) {
    .nav-links {
        display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
        gap: 24px; padding: 40px 34px;
        position: fixed; top: 0; right: 0; height: 100vh; width: 78%; max-width: 320px;
        background: var(--forest); border-left: 1px solid var(--gold-line);
        transform: translateX(100%); transition: transform .4s var(--ease); z-index: 401;
    }
    .nav-links.open { transform: none; }
    .nav-links a { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cream-text-soft); font-weight: 600; }
    .nav-links a.active { color: var(--gold-pale); }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =====================================================================
   DOT NAV — navigasi titik mengambang di sisi kanan (desktop)
===================================================================== */
.dot-nav {
    position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
    z-index: 400; display: flex; flex-direction: column; align-items: center; gap: 16px;
}
@media (max-width: 900px) { .dot-nav { display: none; } }
.dot-nav::before, .dot-nav::after { content: ''; width: 1px; height: 24px; background: rgba(16,35,26,.18); }
.dot-nav a {
    position: relative; width: 9px; height: 9px; border-radius: 50%;
    background: rgba(16,35,26,.2); transition: all .3s var(--ease);
}
.dot-nav a:hover, .dot-nav a.active { background: var(--gold); transform: scale(1.4); }
.dot-nav a .dot-label {
    position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
    background: var(--forest); color: var(--gold-pale);
    padding: 5px 12px; border-radius: 999px; font-size: 11px; letter-spacing: .5px;
    white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.dot-nav a:hover .dot-label { opacity: 1; }

/* =====================================================================
   HERO — kartu split dua kolom, foto berbingkai organik (blob)
===================================================================== */
#hero { padding-top: 130px; }
.hero-bento { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; align-items: center; padding: clamp(30px, 4vw, 54px); }
@media (max-width: 820px) { .hero-bento { grid-template-columns: 1fr; text-align: center; } }

.hero-eyebrow { font-size: 12.5px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 700; }
.hero-names { font-family: var(--font-display); font-weight: 500; font-size: clamp(42px, 6vw, 66px); line-height: 1.04; color: var(--cream-text); }
.hero-names span { color: var(--gold-bright); font-style: italic; }
.hero-date { margin-top: 18px; font-size: 16px; color: var(--gold-pale); letter-spacing: .5px; }

.hero-photo-frame {
    position: relative; aspect-ratio: 4/5; overflow: hidden;
    border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
    border: 2px solid rgba(228,190,74,.4);
    animation: blobMorph 14s ease-in-out infinite;
    background: var(--forest-soft);
}
@keyframes blobMorph {
    0%, 100% { border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; }
    50% { border-radius: 58% 42% 40% 60% / 55% 60% 40% 45%; }
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-frame.empty { display: flex; align-items: center; justify-content: center; }

.scroll-hint { margin-top: 46px; display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream-text-soft); opacity: .7; }
@media (max-width: 820px) { .scroll-hint { justify-content: center; } }
.scroll-line { width: 1px; height: 30px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0%,100%{ transform: scaleY(1); opacity:.7;} 50%{ transform: scaleY(.5); opacity:1;} }

/* =====================================================================
   COUNTDOWN — cincin (bukan kartu kotak)
===================================================================== */
.ring-grid { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 30px); flex-wrap: wrap; margin-top: 10px; }
.ring-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ring-circle {
    width: clamp(78px, 11vw, 108px); aspect-ratio: 1; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--eggshell);
    border: 2px solid var(--gold);
    box-shadow: 0 16px 30px rgba(16,35,26,.06), inset 0 0 0 5px var(--parchment);
    transition: transform .25s;
}
.ring-circle.tick { animation: tick .4s var(--ease); }
@keyframes tick { 0%{ transform: scale(.92); } 100%{ transform: scale(1); } }
.ring-circle .number { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 4vw, 34px); color: var(--forest); }
.ring-item .label { font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-text-soft); }
.ring-sep { width: 18px; height: 1px; background: var(--gold-line); margin-bottom: 26px; }
@media (max-width: 560px) { .ring-sep { display: none; } }

/* =====================================================================
   OUR STORY — kartu zig-zag dengan angka besar transparan
===================================================================== */
.story-flow { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.story-row { display: flex; align-items: center; gap: 22px; }
.story-row:nth-child(even) { flex-direction: row-reverse; }
@media (max-width: 700px) { .story-row, .story-row:nth-child(even) { flex-direction: column; align-items: flex-start; gap: 8px; } }

.story-num {
    font-family: var(--font-display); font-weight: 600; font-size: clamp(52px, 8vw, 84px);
    color: transparent; -webkit-text-stroke: 1.5px rgba(228,190,74,.45);
    line-height: 1; flex-shrink: 0; width: 110px;
}
.story-row:nth-child(even) .story-num { text-align: right; }
@media (max-width: 700px) { .story-num { width: auto; } }

.story-card {
    flex: 1; background: rgba(247,241,222,.05);
    border: 1px solid rgba(228,190,74,.16); border-radius: var(--r-md);
    padding: 22px 26px;
}
.story-card .year { font-size: 12px; letter-spacing: 2px; color: var(--gold-bright); font-weight: 700; margin-bottom: 6px; }
.story-card .title { font-size: 17px; font-weight: 600; color: var(--cream-text); margin-bottom: 6px; }
.story-card .desc { font-size: 13.5px; color: var(--cream-text-soft); line-height: 1.75; }

/* =====================================================================
   EVENTS — tiket boarding-pass
===================================================================== */
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; margin-top: 8px; }
.ticket-card {
    display: grid; grid-template-columns: 1fr 96px;
    background: var(--parchment); border-radius: 16px;
    border: 1px solid rgba(201,162,39,.3);
    box-shadow: 0 22px 46px rgba(16,35,26,.07);
    position: relative;
    overflow: hidden;
}
.ticket-main { padding: 28px 24px; }
.ticket-main .name { font-family: var(--font-display); font-size: 25px; font-weight: 600; color: var(--forest); margin-bottom: 8px; }
.ticket-main .date { font-size: 12.5px; color: var(--gold); font-weight: 700; letter-spacing: .5px; margin-bottom: 3px; text-transform: uppercase; }
.ticket-main .time { font-size: 13px; color: var(--ink-text-soft); margin-bottom: 14px; }
.ticket-main .venue { font-weight: 700; font-size: 14.5px; margin-bottom: 3px; }
.ticket-main .address { font-size: 13px; color: var(--ink-text-soft); line-height: 1.6; margin-bottom: 16px; }
.btn-location { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--forest); color: var(--forest); font-size: 12px; font-weight: 700; letter-spacing: .5px; transition: all .3s; }
.btn-location:hover { background: var(--forest); color: var(--cream-text); }

.ticket-stub {
    position: relative;
    background: var(--forest);
    color: var(--gold-pale);
    display: flex; align-items: center; justify-content: center;
    padding: 14px 6px;
}
.ticket-stub span {
    writing-mode: vertical-rl; text-orientation: mixed;
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700;
}
.ticket-divider {
    position: absolute; top: 0; bottom: 0; right: 96px;
    border-left: 2px dashed rgba(16,35,26,.2);
}
.ticket-divider::before, .ticket-divider::after {
    content: ''; position: absolute; left: -9px; width: 18px; height: 18px;
    border-radius: 50%; background: var(--eggshell);
}
.ticket-divider::before { top: -9px; }
.ticket-divider::after { bottom: -9px; }

/* =====================================================================
   GALLERY — filmstrip horizontal scroll-snap (bukan grid/masonry)
===================================================================== */
.filmstrip-wrap { position: relative; margin-top: 6px; }
.gallery-grid {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 10px 4px 22px;
    -webkit-overflow-scrolling: touch;
}
.gallery-grid::-webkit-scrollbar { height: 7px; }
.gallery-item {
    flex: 0 0 auto; width: min(78vw, 300px); aspect-ratio: 4/5;
    scroll-snap-align: start;
    border-radius: var(--r-md); overflow: hidden; position: relative;
    background: var(--forest-2);
    border: 1px solid rgba(228,190,74,.2);
    box-shadow: 0 22px 46px rgba(0,0,0,.28);
    cursor: zoom-in;
    transition: transform .4s var(--ease);
}
.gallery-item:hover { transform: translateY(-6px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(7,26,16,.8) 0%, transparent 40%);
    opacity: 0; transition: opacity .35s;
    display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gold-pale); font-size: 13px; padding: 20px; text-align: center; }
.filmstrip-hint { text-align: center; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cream-text-soft); opacity: .6; margin-top: 4px; }

.lightbox {
    position: fixed; inset: 0; z-index: 900; background: rgba(7,26,16,.96);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all .35s var(--ease); padding: 30px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(90vw, 900px); max-height: 84vh; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-close { position: absolute; top: 24px; right: 30px; font-size: 34px; color: var(--gold-pale); line-height: 1; }

/* =====================================================================
   RSVP + GUESTBOOK — satu bento dua kolom
===================================================================== */
.rg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 8px; }
@media (max-width: 820px) { .rg-grid { grid-template-columns: 1fr; } }

.rsvp-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--ink-text-soft); }
.form-group input, .form-group textarea, .guestbook-form input, .guestbook-form textarea {
    padding: 12px 15px; border-radius: 10px; border: 1px solid rgba(16,35,26,.16);
    background: var(--eggshell); font-family: inherit; font-size: 14px; color: var(--ink-text);
    transition: border-color .3s;
}
.form-group input:focus, .form-group textarea:focus, .guestbook-form input:focus, .guestbook-form textarea:focus { outline: none; border-color: var(--gold); }
.radio-group { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-group label { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; }

.btn-submit { padding: 14px; border-radius: 10px; background: var(--forest); color: var(--cream-text); font-weight: 700; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; transition: all .3s var(--ease); }
.btn-submit:hover { background: var(--gold); color: var(--ink); }
.btn-submit:disabled { opacity: .6; }
.form-status { font-size: 13px; min-height: 18px; }
.form-status.success { color: var(--emerald-light); }
.form-status.error { color: #C24545; }

.guestbook-col { display: flex; flex-direction: column; }
.guestbook-form { display: flex; gap: 10px; margin-bottom: 8px; }
.guestbook-form input { flex: 1 1 40%; }
.guestbook-form textarea { flex: 1 1 60%; resize: vertical; min-height: 44px; }
.guestbook-form button { flex: 0 0 auto; padding: 12px 20px; border-radius: 10px; background: var(--forest); color: var(--cream-text); font-weight: 700; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }
.guestbook-form button:hover { background: var(--gold); color: var(--ink); }
@media (max-width: 480px) { .guestbook-form { flex-direction: column; } }

.guestbook-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; max-height: 360px; overflow-y: auto; padding-right: 6px; }
.guestbook-item { background: var(--eggshell); border-left: 3px solid var(--gold); border-radius: 4px 10px 10px 4px; padding: 14px 18px; }
.gb-name { font-weight: 700; font-size: 14px; margin-bottom: 3px; }
.gb-message { font-size: 13.5px; color: var(--ink-text-soft); line-height: 1.65; }
.gb-time { font-size: 11px; color: var(--ink-text-soft); opacity: .6; margin-top: 6px; }
.guestbook-empty { color: var(--ink-text-soft); font-size: 13.5px; }

/* =====================================================================
   CLOSING
===================================================================== */
#closing { text-align: center; padding: 60px 0 90px; }
.closing-bento { padding: clamp(40px, 6vw, 70px) clamp(24px, 6vw, 60px); text-align: center; }
.closing-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(19px, 3vw, 27px); max-width: 600px; margin: 0 auto 22px; color: var(--gold-pale); line-height: 1.6; }
.closing-names { font-family: var(--font-display); font-size: 30px; color: var(--cream-text); margin-bottom: 24px; }
.closing-credit { font-size: 11.5px; color: var(--cream-text-soft); opacity: .55; }

/* =====================================================================
   SCROLL REVEAL
===================================================================== */
.fade-up { opacity: 0; transform: translateY(24px); transition: all .8s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }
.reveal-group .reveal-item { opacity: 0; transform: translateY(26px); transition: all .6s var(--ease); }
.reveal-group.in-view .reveal-item { opacity: 1; transform: none; }
.reveal-group.in-view .reveal-item:nth-child(2n) { transition-delay: .07s; }
.reveal-group.in-view .reveal-item:nth-child(3n) { transition-delay: .14s; }
.reveal-group.in-view .reveal-item:nth-child(4n) { transition-delay: .21s; }

/* =====================================================================
   RESPONSIVE
===================================================================== */
@media (max-width: 780px) {
    .bento { padding: 28px 22px; border-radius: 20px; }
    #hero { padding-top: 108px; }
}
