@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Cormorant+Garamond:wght@300;400;500;600;700&family=Nunito:wght@300;400;600;700&display=swap');

/* ============================================================
   FLORAL BHAG — CSS DESIGN SYSTEM
   ============================================================ */

/* ── [1] ROOT VARIABLES & RESET ────────────────────────────── */
:root {
    --primary: #B76E79;       /* Dusty rose */
    --primary-dark: #8B4A52;  /* Deep rose */
    --accent: #7D9B76;        /* Sage green */
    --accent-light: #A8C5A0;  /* Light sage */
    --gold: #C9A96E;          /* Warm gold leaf */
    --bg-color: #FDF8F4;      /* Warm ivory */
    --card-bg: #FFFFFF;
    --text-dark: #3D3D3D;
    --text-light: #6B6B6B;
    --border-color: #E8DDD5;
    
    --font-display: 'Great Vibes', cursive;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Nunito', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

:where(a, button, [role="button"], input, textarea, select, label, summary, .nav-link, .btn, .lang-toggle) {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* ── [2] PAGE TRANSITION CURTAIN ───────────────────────────── */
.page-transition-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--accent);
    z-index: 99999;
    will-change: transform;
}

/* ── [3] NAVIGATION ────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

nav.nav-scrolled {
    background: rgba(253, 248, 244, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

nav.nav-hidden {
    transform: translateY(-100%);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    margin-left: 2rem;
    position: relative;
    padding-bottom: 4px;
    color: var(--text-dark);
    --underline-width: 0%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: var(--underline-width);
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-rsvp-link {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
}
.nav-rsvp-link::after { display: none; }
.nav-rsvp-link:hover { opacity: 0.9; }

/* Language Toggle */
.lang-toggle {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--accent-light);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-family: var(--font-body);
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.lang-toggle:hover {
    background: var(--accent);
    color: white;
}

/* ── [4] HERO SECTION ──────────────────────────────────────── */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    contain: paint;
}

.hero-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(253,248,244,0.2), rgba(90,55,44,0.22) 62%, rgba(45,35,30,0.34)),
        linear-gradient(to bottom, rgba(253,248,244,0.08), rgba(253,248,244,0.22));
    z-index: 2;
}

.particles-container {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.floating-petal {
    position: absolute;
    will-change: transform, opacity;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1rem;
    opacity: 1;
    transform: none;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 7rem;
    line-height: 1.1;
    color: var(--primary);
    background: -webkit-linear-gradient(45deg, #8B2F46, #C95F72 48%, #B28328);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-word {
    display: inline-block;
    opacity: 1 !important;
    transform: none !important;
}

.hero-ampersand {
    font-size: 5rem;
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
}

.hero-date {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 1;
    transform: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 2rem;
    color: var(--accent);
    opacity: 0;
    animation: subtleBob 2s infinite ease-in-out;
}

/* ── [5] COUNTDOWN BANNER ──────────────────────────────────── */
.countdown-banner {
    background-color: rgba(168, 197, 160, 0.15);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.countdown-label {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-val {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--primary-dark);
    line-height: 1;
}

.time-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-top: 0.5rem;
}

.time-colon {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-light);
    margin-top: -1.5rem;
}

/* ── [6] COMMON SECTION STYLES ─────────────────────────────── */
.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.text-center { text-align: center; }

.custom-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 1rem auto 4rem;
    max-width: 300px;
}

.custom-divider::before, .custom-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.divider-icon-center {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ── [7] TIMELINE SECTION ──────────────────────────────────── */
.timeline-section {
    padding: var(--spacing-xl) 20px;
    position: relative;
    z-index: 5;
    background: var(--bg-color);
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 40px;
    perspective: 1000px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    z-index: 2;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.timeline-item.left .timeline-dot { right: -20px; }
.timeline-item.right .timeline-dot { left: -20px; }

.timeline-card {
    background:
        radial-gradient(circle at top left, rgba(183,110,121,0.1), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,0.98), rgba(253,248,244,0.92));
    padding: 1.7rem 1.45rem;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px rgba(61,61,61,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
    border: 1px solid rgba(232,221,213,0.95);
    border-left: 4px solid var(--primary);
    display: inline-block;
    max-width: 340px;
    width: 100%;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    will-change: transform, box-shadow;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.timeline-item.left .timeline-card { border-left: none; border-right: 4px solid var(--primary); }

.timeline-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201,169,110,0.18);
    border-radius: calc(var(--radius-md) - 3px);
    pointer-events: none;
}

.timeline-card::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -55%;
    width: 55%;
    height: 180%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.65), transparent);
    transform: rotate(18deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.timeline-card:hover {
    border-color: rgba(183,110,121,0.6);
    box-shadow: 0 24px 55px rgba(61,61,61,0.13), 0 8px 20px rgba(183,110,121,0.1);
}

.timeline-card:hover::after { left: 115%; }
.timeline-card:active { transform: scale(0.985) translateY(2px); }

.event-icon-orbit {
    width: 82px;
    height: 82px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 28%, rgba(255,255,255,0.98), rgba(253,248,244,0.55) 45%, rgba(168,197,160,0.23)),
        linear-gradient(135deg, rgba(183,110,121,0.14), rgba(201,169,110,0.18));
    border: 1px solid rgba(201,169,110,0.38);
    box-shadow: 0 14px 28px rgba(61,61,61,0.11), inset 0 0 0 7px rgba(255,255,255,0.62);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.9rem;
    position: relative;
    transform: translateZ(24px);
    transition: transform 0.32s ease, box-shadow 0.32s ease, color 0.32s ease;
}

.event-icon-orbit i,
.event-icon-orbit img { position: relative; z-index: 2; }

.event-icon-orbit img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(61,61,61,0.14));
}

.event-petal {
    position: absolute;
    width: 18px;
    height: 28px;
    border-radius: 50% 50% 50% 0;
    background: rgba(183,110,121,0.28);
    transform-origin: bottom right;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.petal-one { top: -8px; left: 33px; transform: rotate(-22deg); }
.petal-two { right: -5px; bottom: 20px; background: rgba(168,197,160,0.42); transform: rotate(42deg); }
.petal-three { left: 3px; bottom: 14px; background: rgba(201,169,110,0.32); transform: rotate(-92deg); }

.timeline-card:hover .event-icon-orbit {
    color: var(--accent);
    transform: translateZ(40px) rotate(-5deg) scale(1.08);
    box-shadow: 0 18px 38px rgba(125,155,118,0.22), inset 0 0 0 7px rgba(255,255,255,0.7);
}

.timeline-card:hover .event-petal { opacity: 0.95; }
.timeline-card:hover .petal-one { transform: rotate(-42deg) translateY(-4px); }
.timeline-card:hover .petal-two { transform: rotate(64deg) translateX(3px); }
.timeline-card:hover .petal-three { transform: rotate(-116deg) translateX(-3px); }
.timeline-card:active .event-icon-orbit { transform: translateZ(18px) scale(0.94); }

.timeline-icon-img,
.timeline-visual {
    display: none;
}

.timeline-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 0.85rem;
    color: var(--primary-dark);
    transition: transform 0.25s ease, color 0.25s ease;
}

.timeline-card:hover h3 { color: var(--primary); transform: translateY(-2px); }

.timeline-meta {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.timeline-item.left .timeline-meta { justify-content: flex-end; }

.links-row {
    display: flex;
    gap: 0.9rem 1.1rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.timeline-item.left .links-row { justify-content: flex-end; }

.action-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.action-link:hover { color: var(--primary); }
.action-link:active { transform: scale(0.96); }
.action-link.accent-link { color: var(--gold); }
.action-link.accent-link:hover { color: var(--primary-dark); }

.dresscode-btn {
    margin-top: 1.5rem;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.dresscode-btn:hover {
    background: rgba(183, 110, 121, 0.1);
}

/* ── [8] DRESS CODE MODAL ──────────────────────────────────── */
.dress-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(253, 248, 244, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.dress-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.dress-modal-content {
    background: var(--card-bg);
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    max-height: min(82vh, 760px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.dress-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-light);
    transition: color 0.2s;
}
.dress-modal-close:hover { color: var(--primary); }
.dress-modal-close:active { transform: scale(0.9) rotate(8deg); }

.dc-title { font-family: var(--font-heading); font-size: 2.5rem; color: var(--primary-dark); margin-bottom: 0.5rem; text-align: center; }
.dc-vibe { font-size: 1.1rem; color: var(--accent); text-align: center; margin-bottom: 1.5rem; font-weight: 600; }
.dc-desc { color: var(--text-light); text-align: center; margin-bottom: 2rem; }

.dc-colors { text-align: center; margin-bottom: 2rem; }
.dc-colors-label { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-light); margin-bottom: 1rem; }
.dc-swatches { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.dc-swatch { width: 40px; height: 40px; border-radius: 50%; border: 2px solid white; box-shadow: 0 4px 10px rgba(0,0,0,0.1); cursor: pointer; }

.dc-mood-image { width: 100%; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.dc-mood-image img { width: 100%; height: auto; display: block; }
.dc-placeholder { background: var(--bg-color); padding: 4rem 2rem; text-align: center; color: var(--accent-light); border: 1px dashed var(--accent-light); display: flex; flex-direction: column; gap: 10px; font-size: 1.5rem; }
.dc-placeholder span { font-size: 1rem; }

/* ── [9] MEET THE FAMILIES ─────────────────────────────────── */
.families-section { padding: var(--spacing-xl) 20px; background: var(--bg-color); background-size: cover; background-position: center; background-attachment: fixed; }
.families-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1180px; margin: 1.5rem auto 0; gap: 2rem; }
.family-side {
    min-width: 0;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(232,221,213,0.85);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(61,61,61,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.family-side-label { font-family: var(--font-display); font-size: 3.1rem; color: var(--primary); text-align: center; margin-bottom: 1.5rem; }
.family-members-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.2rem; }
.family-member-card {
    text-align: center;
    background: rgba(255,255,255,0.92);
    padding: 1.35rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(232,221,213,0.9);
    box-shadow: 0 10px 22px rgba(61,61,61,0.05);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}
.family-member-card:hover { transform: translateY(-6px); border-color: rgba(201,169,110,0.58); box-shadow: 0 18px 34px rgba(61,61,61,0.1); }
.family-member-card:active { transform: translateY(-2px) scale(0.98); }
.family-avatar, .family-avatar-placeholder { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 1rem; object-fit: cover; border: 3px solid rgba(255,255,255,0.9); box-shadow: 0 10px 24px rgba(61,61,61,0.08); }
.family-avatar-placeholder { background: linear-gradient(135deg, rgba(183,110,121,0.12), rgba(168,197,160,0.22)); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font: 800 1.2rem var(--font-body); letter-spacing: 0.04em; }
.family-name { font-family: var(--font-heading); font-size: 1.5rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.family-relation { font-size: 0.9rem; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }

/* ── [10] LOVE STORY ───────────────────────────────────────── */
.love-story-section { padding: var(--spacing-xl) 20px; background: rgba(168, 197, 160, 0.05); background-size: cover; background-position: center; }
.love-story-container { max-width: 900px; margin: 0 auto; position: relative; }
.love-story-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border-color); transform: translateX(-50%); }
.love-milestone { position: relative; width: 50%; padding: 2rem 40px; }
.love-milestone.left { left: 0; text-align: right; }
.love-milestone.right { left: 50%; text-align: left; }
.love-dot { position: absolute; top: 50%; width: 50px; height: 50px; background: var(--bg-color); border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.2rem; transform: translateY(-50%); z-index: 2; transition: all 0.3s ease; }
.love-milestone.left .love-dot { right: -25px; }
.love-milestone.right .love-dot { left: -25px; }
.love-card { background: var(--card-bg); padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(0,0,0,0.03); display: inline-block; max-width: 400px; width: 100%; border-top: 4px solid var(--gold); }
.love-year { display: inline-block; background: var(--accent); color: white; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: bold; margin-bottom: 1rem; }
.love-title { font-family: var(--font-heading); font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 1rem; }
.love-desc { color: var(--text-light); }

/* ── [11] ASSISTANCE TABS ──────────────────────────────────── */
.assistance-section { position: relative; padding: var(--spacing-xl) 20px; overflow: hidden; min-height: 80vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(253,248,244,0.98), rgba(247,240,235,0.96)); }
.assistance-bg { position: absolute; inset: 0; background-size: 520px auto; background-repeat: repeat; background-position: center; z-index: 1; opacity: 0.36; will-change: transform; }
.assistance-container { position: relative; z-index: 2; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(232,221,213,0.7); border-radius: var(--radius-lg); padding: 4rem 2rem; max-width: 1000px; width: 100%; text-align: center; box-shadow: 0 30px 60px rgba(61,61,61,0.08); }
.glass-title { font-family: var(--font-heading); font-size: 3rem; color: var(--primary-dark); margin-bottom: 1rem; }
.glass-sub { color: var(--text-dark); margin-bottom: 3rem; font-size: 1.1rem; }

.tabs-header { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; position: relative; }
.tab-btn { background: rgba(255,255,255,0.5); border: 1px solid var(--border-color); padding: 12px 30px; border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 600; color: var(--text-dark); transition: all 0.3s ease; }
.tab-btn:hover { background: rgba(255,255,255,0.9); }
.tab-btn:active { transform: scale(0.96); }
.tab-btn.active { background: var(--accent); color: white; border-color: var(--accent); box-shadow: 0 10px 20px rgba(125, 155, 118, 0.3); }

.tabs-body { position: relative; min-height: 300px; }
.tab-content { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.tab-content.active { opacity: 1; visibility: visible; position: relative; }

.tab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.tab-card { background: rgba(255,255,255,0.9); padding: 2.5rem; border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: left; transition: transform 0.28s ease, box-shadow 0.28s ease; }
.tab-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(61,61,61,0.1); }
.tab-card:active { transform: translateY(-2px) scale(0.99); }
.tab-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 1.5rem; display: inline-flex; transition: transform 0.3s ease, color 0.3s ease; }
.tab-card:hover .tab-icon { color: var(--primary); transform: rotate(-8deg) scale(1.12); }
.tab-card h3 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 1rem; }
.tab-card p { color: var(--text-light); margin-bottom: 1rem; }
.tab-highlight { font-weight: bold; color: var(--text-dark); }
.tab-link { color: var(--accent); font-weight: 600; display: inline-block; margin-top: 1rem; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

/* ── [12] EXPLORE TEASER ───────────────────────────────────── */
.explore-teaser-section { height: 80vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; contain: paint; }
.explore-mask-bg { position: absolute; inset: -10%; background-size: cover; background-position: center; clip-path: inset(30% 20% 30% 20%); will-change: transform, clip-path; z-index: 1; }
.explore-teaser-content { position: relative; z-index: 2; text-align: center; opacity: 0; transform: translateY(30px); }
.cinematic-title { font-family: var(--font-heading); font-size: 4rem; color: white; margin-bottom: 2rem; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.magnetic-btn { display: inline-block; }

.spot-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(232,221,213,0.9);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 45px rgba(61,61,61,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transform-style: preserve-3d;
}

.spot-img-container {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-color);
}

.spot-img-inner {
    width: 100%;
    height: 118%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
}

.spot-img-inner i {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(253,248,244,0.82);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.spot-info {
    padding: 1.5rem;
}

.spot-category {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.spot-info h2 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin: 0.45rem 0 0.75rem;
}

.spot-info p {
    color: var(--text-light);
    margin-bottom: 1.15rem;
}

/* ── [13] DIGITAL E-SHAGUN ─────────────────────────────────── */
.eshagun-section { padding: var(--spacing-xl) 20px; background: var(--bg-color); background-size: cover; background-position: center; }
.eshagun-container { max-width: 600px; margin: 0 auto; }
.eshagun-card { background: var(--card-bg); padding: 3rem; border-radius: var(--radius-lg); text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.05); border: 1px solid var(--border-color); position: relative; overflow: hidden; }
.eshagun-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(to right, var(--primary), var(--gold)); }
.eshagun-subtitle { color: var(--text-light); margin-bottom: 2.5rem; font-size: 1.1rem; }
.eshagun-qr-wrapper { display: inline-block; padding: 15px; background: white; border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0,0,0,0.08); margin-bottom: 2rem; border: 2px solid var(--gold); transition: all 0.3s ease; }
.eshagun-qr { width: 200px; height: 200px; display: block; object-fit: contain; }
.eshagun-upi-id { font-family: var(--font-body); font-weight: bold; font-size: 1.2rem; color: var(--text-dark); margin-bottom: 2.5rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
.eshagun-apps { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.eshagun-app-btn { background: var(--bg-color); border: 1px solid var(--border-color); padding: 12px 24px; border-radius: var(--radius-pill); font-weight: bold; color: var(--text-dark); display: flex; align-items: center; gap: 10px; transition: all 0.2s ease; }
.eshagun-app-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── [14] GUESTBOOK SECTION ────────────────────────────────── */
.guestbook-section { padding: var(--spacing-xl) 20px; background: rgba(183, 110, 121, 0.05); background-size: cover; background-position: center; }
.guestbook-wrapper { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.guestbook-form { background: var(--card-bg); padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.input-group { margin-bottom: 1.5rem; }
.input-styled { width: 100%; padding: 15px 20px; background: var(--bg-color); border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; color: var(--text-dark); transition: all 0.3s ease; }
.input-styled:focus { outline: none; border-color: var(--accent); }
.textarea-styled { resize: vertical; min-height: 120px; }
.guestbook-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; max-height: 600px; overflow-y: auto; padding-right: 10px; }
/* Custom Scrollbar for guestbook */
.guestbook-grid::-webkit-scrollbar { width: 6px; }
.guestbook-grid::-webkit-scrollbar-track { background: transparent; }
.guestbook-grid::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }

.guestbook-message { background: var(--card-bg); padding: 2rem; border-radius: var(--radius-md); box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: relative; }
.guestbook-message::before { content: '"'; position: absolute; top: 10px; left: 15px; font-family: var(--font-heading); font-size: 4rem; color: rgba(183, 110, 121, 0.1); line-height: 1; }
.gb-text { color: var(--text-dark); font-style: italic; margin-bottom: 1.5rem; position: relative; z-index: 2; }
.gb-author { display: block; font-family: var(--font-heading); font-weight: bold; color: var(--primary); text-align: right; }

/* ── [15] RSVP FINALE ──────────────────────────────────────── */
.rsvp-finale-section { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.rsvp-finale-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 1; }
.rsvp-finale-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2)); }
.finale-content { position: relative; z-index: 2; text-align: center; }
.rsvp-cta-text { font-family: var(--font-heading); font-size: 3rem; color: white; margin-bottom: 2rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* ── [16] FOOTER ───────────────────────────────────────────── */
footer { background: var(--bg-color); padding: 4rem 20px; text-align: center; border-top: 1px solid var(--border-color); }
footer p { color: var(--text-light); margin-bottom: 0.5rem; }
#footer-names { font-family: var(--font-display); font-size: 2.5rem; color: var(--primary); margin-left: 10px; }
.footer-hashtag { font-family: var(--font-heading); letter-spacing: 2px; color: var(--accent); }

/* ── [17] BUTTONS & UTILS ──────────────────────────────────── */
.btn { display: inline-block; padding: 15px 35px; border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: bold; font-size: 1rem; text-align: center; transition: all 0.3s ease; position: relative; overflow: hidden; cursor: pointer; }
.full-width { width: 100%; }
.btn.primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border: none; box-shadow: 0 10px 20px rgba(183, 110, 121, 0.3); }
.btn.primary:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(183, 110, 121, 0.4); }
.btn.outline { background: transparent; border: 2px solid; }
.btn.outline.white-btn { border-color: white; color: white; }
.btn.outline.white-btn:hover { background: white; color: var(--text-dark); }
.shimmer-btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent); animation: shimmerSweep 3s infinite; }

/* ── [18] AUDIO TOGGLE ─────────────────────────────────────── */
.audio-toggle { position: fixed; bottom: 30px; left: 30px; width: 50px; height: 50px; background: rgba(253, 248, 244, 0.8); backdrop-filter: blur(5px); border: 2px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: all 0.3s ease; }
.audio-toggle:hover { background: var(--accent); color: white; transform: scale(1.1); }

/* ── [19] CUSTOM CURSOR (DESKTOP) ──────────────────────────── */
.custom-cursor { position: fixed; width: 30px; height: 30px; border: 1px solid var(--accent); border-radius: 50%; pointer-events: none; z-index: 99999; transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, opacity 0.3s; opacity: 0.15; }
.custom-cursor-dot { position: fixed; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; pointer-events: none; z-index: 99999; transform: translate(-50%, -50%); }

/* ── [20] KEYFRAME ANIMATIONS ──────────────────────────────── */
@keyframes shimmerSweep { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }
@keyframes floatPetal { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(100px, -50px) rotate(180deg); } }
@keyframes subtleBob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }
@keyframes breatheBlob { 0% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.2); opacity: 0.8; } 100% { transform: scale(1); opacity: 0.5; } }

/* ── [21] RESPONSIVE BREAKPOINTS ───────────────────────────── */
@media (max-width: 992px) {
    .guestbook-wrapper { grid-template-columns: 1fr; }
    .hero-title { font-size: 5.5rem; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 4rem; }
    .hero-ampersand { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    
    .timeline-line { left: 20px; }
    .timeline-item.left, .timeline-item.right { width: 100%; left: 0; text-align: left; padding: 2rem 0 2rem 60px; }
    .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot { left: 0; right: auto; transform: translateY(-50%) scale(0.8); }
    .timeline-item.left .timeline-card { border-right: none; border-left: 4px solid var(--primary); }
    .timeline-item.left .timeline-meta, .timeline-item.left .links-row { justify-content: flex-start; }
    
    .love-story-line { left: 20px; }
    .love-milestone.left, .love-milestone.right { width: 100%; left: 0; text-align: left; padding: 2rem 0 2rem 60px; }
    .love-milestone.left .love-dot, .love-milestone.right .love-dot { left: -5px; right: auto; transform: translateY(-50%) scale(0.8); }
    
    .assistance-container { padding: 3rem 1.5rem; }
    .tabs-header { overflow-x: auto; padding-bottom: 10px; justify-content: flex-start; scroll-snap-type: x mandatory; }
    .tab-btn { scroll-snap-align: start; white-space: nowrap; }
    
    .cinematic-title { font-size: 2.5rem; }
    .rsvp-cta-text { font-size: 2rem; }
    
    .custom-cursor, .custom-cursor-dot { display: none; } /* Disable custom cursor on mobile */
    .families-container { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    nav { padding: 1rem; }
    .nav-link { display: none; } /* Hide text links, keep RSVP */
    .nav-left .nav-link {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        min-height: 42px;
        margin-left: 0;
        padding: 0.62rem 0.95rem;
        border-radius: 999px;
        background: rgba(253, 248, 244, 0.9);
        border: 1px solid rgba(201,169,110,0.34);
        color: var(--text-dark);
        box-shadow: 0 12px 28px rgba(61,45,38,0.16);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .nav-rsvp-link { display: block; }
    .countdown-container { gap: 1rem; }
    .time-val { font-size: 2.5rem; }
    .time-colon { font-size: 2rem; }
    .hero-title { font-size: 3.5rem; }
    .families-container { gap: 2rem; }
    .family-side { padding: 1.4rem; }
    .family-side-label { font-size: 2.55rem; }
    .family-members-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FLORAL BHAG EXPERIENCE POLISH
   ============================================================ */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(115deg, rgba(183,110,121,0.08), transparent 32%, rgba(125,155,118,0.09) 68%, transparent),
        radial-gradient(circle at 14% 18%, rgba(201,169,110,0.12), transparent 22rem);
    mix-blend-mode: multiply;
}

nav {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-content::before {
    content: '';
    width: min(68vw, 560px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
    margin-bottom: 1.1rem;
}

.hero-tagline {
    color: #5e6957;
    font-weight: 800;
    text-shadow: 0 1px 18px rgba(255,255,255,0.78);
}

.hero-title {
    filter: drop-shadow(0 18px 28px rgba(112,64,90,0.16));
}

.countdown-banner {
    background:
        radial-gradient(circle at top left, rgba(183,110,121,0.13), transparent 28rem),
        linear-gradient(180deg, rgba(255,255,255,0.9), rgba(253,248,244,0.82));
}

.time-block {
    width: 108px;
    min-height: 108px;
    border-radius: 50%;
    justify-content: center;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(201,169,110,0.28);
    box-shadow: 0 16px 36px rgba(61,61,61,0.07), inset 0 0 0 8px rgba(253,248,244,0.7);
}

.timeline-section {
    background:
        linear-gradient(rgba(253,248,244,0.9), rgba(253,248,244,0.96)),
        url("../images/love-story-botanical-timeline.webp") center/cover fixed;
}

.floral-invite-card {
    border-left-color: var(--event-accent);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.96), rgba(253,248,244,0.9)),
        radial-gradient(circle at var(--mouse-x, 20%) var(--mouse-y, 20%), color-mix(in srgb, var(--event-accent), transparent 78%), transparent 22rem);
}

.timeline-item.left .floral-invite-card {
    border-right-color: var(--event-accent);
}

.floral-invite-card .event-icon-orbit {
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,1), rgba(253,248,244,0.64) 42%, color-mix(in srgb, var(--event-accent), transparent 74%)),
        conic-gradient(from 24deg, rgba(201,169,110,0.28), rgba(255,255,255,0.55), rgba(183,110,121,0.22), rgba(125,155,118,0.28), rgba(201,169,110,0.28));
}

.ride-picker {
    position: relative;
    display: inline-flex;
}

.ride-picker-trigger {
    border: 0;
}

.ride-chevron {
    font-size: 0.68rem;
    transition: transform 0.2s ease;
}

.ride-picker.open .ride-chevron {
    transform: rotate(180deg);
}

.ride-options-panel {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    min-width: 150px;
    padding: 0.45rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(201,169,110,0.28);
    box-shadow: 0 18px 38px rgba(61,61,61,0.14);
    z-index: 20;
}

.timeline-item.left .ride-options-panel {
    left: auto;
    right: 0;
}

.ride-provider-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    color: var(--text-dark);
    font-weight: 800;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ride-provider-link:hover {
    background: rgba(125,155,118,0.12);
    color: var(--accent);
    transform: translateX(2px);
}

.families-section,
.love-story-section,
.guestbook-section,
.eshagun-section {
    position: relative;
    overflow: hidden;
}

.family-side,
.love-card,
.tab-card,
.guestbook-form,
.guestbook-message,
.eshagun-card,
.spot-card,
.album-card {
    border-radius: 18px;
}

.family-side {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.9), rgba(253,248,244,0.82)),
        radial-gradient(circle at top right, rgba(125,155,118,0.14), transparent 18rem);
    border: 1px solid rgba(201,169,110,0.24);
    box-shadow: 0 24px 54px rgba(61,61,61,0.08);
}

.family-members-grid {
    grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
}

.family-member-card {
    border: 1px solid rgba(232,221,213,0.8);
    background: rgba(255,255,255,0.72);
}

.love-card {
    border: 1px solid rgba(201,169,110,0.26);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.94), rgba(253,248,244,0.86)),
        radial-gradient(circle at top left, rgba(183,110,121,0.12), transparent 18rem);
    box-shadow: 0 18px 38px rgba(61,61,61,0.08);
}

.assistance-container {
    border-radius: 22px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
}

.eshagun-card {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.94), rgba(253,248,244,0.86)),
        radial-gradient(circle at 85% 12%, rgba(201,169,110,0.17), transparent 22rem);
}

.eshagun-upi-id {
    justify-self: center;
    border: 1px dashed rgba(125,155,118,0.5);
    background: rgba(255,255,255,0.74);
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.eshagun-upi-id span {
    color: var(--accent);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.eshagun-app-btn {
    min-height: 46px;
    border: 1px solid rgba(201,169,110,0.34);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.9), rgba(253,248,244,0.78));
    box-shadow: 0 12px 24px rgba(61,61,61,0.07);
}

.eshagun-app-btn:hover,
.eshagun-app-btn.launching {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.pay-tone-rose:hover,
.pay-tone-rose.launching {
    background: var(--primary);
    border-color: var(--primary);
}

.pay-tone-gold:hover,
.pay-tone-gold.launching {
    background: var(--gold);
    border-color: var(--gold);
    color: #3d3122;
}

.eshagun-status {
    min-height: 1.3em;
    margin-top: 1.2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.eshagun-status.pulse {
    animation: statusPulse 0.65s ease;
}

.spot-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spot-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 50px rgba(61,61,61,0.14);
}

.ambient-bg {
    display: none;
}

.faq-wrapper {
    position: relative;
    z-index: 2;
}

.faq-item {
    border-radius: 18px !important;
    background: rgba(255,255,255,0.86) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 38px rgba(61,61,61,0.08);
}

.floating-ask-btn {
    border-radius: 999px;
    box-shadow: 0 18px 36px rgba(183,110,121,0.24);
}

.modal-content {
    border-radius: 22px !important;
    border: 1px solid rgba(201,169,110,0.28);
}

.gallery-bg-image::after,
.pin-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 38%, rgba(253,248,244,0.16), rgba(61,61,61,0.34));
    pointer-events: none;
}

.pin-screen::before {
    background:
        radial-gradient(circle at 50% 40%, rgba(61,45,38,0.34), rgba(19,16,14,0.72)),
        rgba(0,0,0,0.48) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pin-box {
    text-shadow: 0 12px 28px rgba(0,0,0,0.38);
}

.pin-box p {
    color: rgba(255,248,237,0.95) !important;
}

.gallery-body nav {
    z-index: 10020;
}

@supports (animation-timeline: view()) {
    .timeline-card,
    .love-card,
    .family-member-card,
    .spot-card {
        animation: floralReveal both ease-out;
        animation-timeline: view();
        animation-range: entry 8% cover 30%;
    }
}

/* ============================================================
   CORRECTION PASS: FLORAL BHAG, NOT STANDARD THEME
   ============================================================ */

.timeline-section {
    background:
        linear-gradient(rgba(253,248,244,0.48), rgba(253,248,244,0.68)),
        url("../images/bg-floral-events-garden.webp") center/cover fixed !important;
}

.timeline-container {
    max-width: 1120px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem;
}

.timeline-line,
.timeline-dot {
    display: none !important;
}

.timeline-item,
.timeline-item.left,
.timeline-item.right {
    width: auto !important;
    left: auto !important;
    padding: 0 !important;
    text-align: left !important;
}

.floral-invite-card {
    max-width: none !important;
    min-height: 100%;
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
        "seal title"
        "seal meta"
        "links links";
    column-gap: 1rem;
    align-items: center;
    padding: 1.45rem !important;
}

.floral-invite-card .event-icon-orbit {
    grid-area: seal;
    margin: 0 !important;
}

.floral-invite-card h3 {
    grid-area: title;
    margin-bottom: 0.55rem;
}

.floral-invite-card .timeline-meta {
    justify-content: flex-start !important;
    margin-bottom: 0.28rem;
}

.floral-invite-card .links-row {
    grid-area: links;
    justify-content: flex-start !important;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(201,169,110,0.2);
}

.ride-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(61,45,38,0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.ride-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ride-modal-content {
    width: min(92vw, 460px);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(253,248,244,0.92));
    border: 1px solid rgba(201,169,110,0.34);
    box-shadow: 0 36px 80px rgba(61,45,38,0.22);
    text-align: center;
}

.ride-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    color: var(--text-light);
}

.ride-modal-kicker {
    color: var(--accent);
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.ride-modal-content h2 {
    font: 700 2.1rem var(--font-heading);
    color: var(--primary-dark);
    margin: 0.35rem 0 0.25rem;
}

.ride-modal-content p {
    color: var(--text-light);
    margin-bottom: 1.3rem;
}

.ride-modal-options {
    display: grid;
    gap: 0.75rem;
}

.ride-modal-option {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.74);
    border: 1px solid rgba(232,221,213,0.9);
    color: var(--text-dark);
    font-weight: 800;
    text-align: left;
}

.ride-modal-option i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(125,155,118,0.12);
    color: var(--accent);
}

.ride-modal-option small {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
}

.dress-modal-content {
    max-width: min(1080px, 94vw) !important;
    width: 94vw;
    max-height: none !important;
    overflow: visible !important;
    padding: 2rem !important;
    border-radius: 26px !important;
}

.dress-modal-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.25fr);
    gap: 1.6rem;
    align-items: stretch;
}

.dress-modal-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 1rem;
}

.dress-modal-copy h2,
.dc-title {
    font-size: clamp(2.4rem, 5vw, 4rem) !important;
    line-height: 0.95;
    text-align: left !important;
}

.dc-vibe,
.dc-desc {
    text-align: left !important;
}

.dc-swatches {
    justify-content: flex-start !important;
}

.dress-modal-image,
.dc-mood-image {
    min-height: 420px;
    border-radius: 20px !important;
    overflow: hidden;
}

.dress-modal-image img,
.dc-mood-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guestbook-section {
    background:
        linear-gradient(90deg, rgba(253,248,244,0.62), rgba(253,248,244,0.42)),
        url("../images/bg-floral-blessings-desk.webp") center/cover fixed !important;
}

#rsvpFinaleSection {
    background:
        linear-gradient(90deg, rgba(48,34,31,0.42), rgba(183,110,121,0.18)),
        url("../images/bg-floral-rsvp-desk.webp") center/cover no-repeat !important;
}

.guestbook-wrapper {
    grid-template-columns: minmax(260px, 340px) minmax(260px, 340px) minmax(280px, 1fr) !important;
    gap: 1.5rem !important;
    align-items: start;
}

.guestbook-preview {
    background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(253,248,244,0.78));
    border: 1px solid rgba(201,169,110,0.24);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 18px 42px rgba(61,61,61,0.08);
}

.preview-kicker {
    display: block;
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.preview-message {
    box-shadow: none;
    border: 1px dashed rgba(183,110,121,0.28);
}

.guestbook-status {
    min-height: 22px;
    margin-top: 0.85rem;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
}

.guestbook-message.is-yours {
    border: 1px solid rgba(183,110,121,0.36);
    box-shadow: 0 18px 44px rgba(183,110,121,0.12);
}

.guestbook-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.guestbook-edit-btn,
.guestbook-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid rgba(183,110,121,0.28);
    border-radius: 999px;
    background: rgba(255,255,255,0.68);
    color: var(--primary);
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 900;
    padding: 0.5rem 0.75rem;
    text-transform: uppercase;
}

.guestbook-delete-btn {
    border-color: rgba(139,74,82,0.32);
    color: var(--primary-dark);
}

.guestbook-grid:empty::before {
    content: "Guest blessings will bloom here once messages arrive.";
    display: block;
    padding: 2rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.66);
    color: var(--text-light);
    text-align: center;
}

@media (max-width: 920px) {
    .timeline-container,
    .guestbook-wrapper,
    .dress-modal-grid {
        grid-template-columns: 1fr !important;
    }

    .dress-modal-content {
        max-height: 90vh !important;
        overflow-y: auto !important;
    }

    .dress-modal-image,
    .dc-mood-image {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .floral-invite-card {
        grid-template-columns: 78px minmax(0, 1fr);
        padding: 1.1rem !important;
    }

    .floral-invite-card .event-icon-orbit {
        width: 70px;
        height: 70px;
    }

    .event-icon-orbit img {
        width: 58px;
        height: 58px;
    }
}

@keyframes floralReveal {
    from { opacity: 0.4; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes statusPulse {
    0% { opacity: 0.45; transform: translateY(4px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .time-block {
        width: 86px;
        min-height: 86px;
    }

    .ride-options-panel {
        position: static;
        margin-top: 0.5rem;
    }

    .links-row .ride-picker {
        width: 100%;
    }
}
