/* ==========================================================================
   SACRED MODERNISM: LUXURY CHRISTIAN WEDDING INVITATION DESIGN SYSTEM
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES (LUXURY PEARL IVORY & GOLD WITH SLATE TEAL ACCENTS)
   -------------------------------------------------------------------------- */
:root {
    /* Primary Slate Teal Accent Pill Buttons */
    --color-slate-teal: #4A6B74;
    --color-slate-teal-dark: #334B52;
    --color-slate-teal-light: #678A94;
    --color-slate-teal-glow: rgba(74, 107, 116, 0.28);
    --color-slate-gradient: linear-gradient(135deg, #51747F 0%, #39545B 100%);

    /* Backgrounds - Sacred Pearl White, Alabaster Ivory & Warm Champagne */
    --color-pearl-white: #FCFBF8;
    --color-ivory: #F8F5EE;
    --color-champagne: #F5EFE4;
    --color-ivory-50: #FCFDF9;
    --color-ivory-100: #F8F5EE;
    /* Primary Background */
    --color-ivory-200: #F3ECE1;
    /* Card Background */
    --color-ivory-300: #E7DDD0;
    /* Subtle Border */
    --color-ivory-400: #D8CFBF;

    /* Metallic Antique Gold Accents & Frames */
    --color-gold-frame: #D4B36D;
    --color-gold-soft: #D8C18F;
    --color-gold-champagne: #C9A96A;
    --color-gold-base: #C9A96A;
    --color-gold-light: #F7EBD2;
    --color-gold-dark: #A48344;
    --color-gold-gradient: linear-gradient(135deg,
            #D8C18F 0%,
            #FFF6E5 30%,
            #C9A96A 60%,
            #EADBB7 85%,
            #9B7A38 100%);

    /* Text Colors - Deep Dark Charcoal & Cathedral Bronze */
    --color-dark-teal: #1F1E1D;
    --color-dark-charcoal: #1F1E1D;
    --color-deep-brown: #2D251E;
    --color-bronze-950: #12100E;
    --color-bronze-900: #1F1E1D;
    /* Primary Text */
    --color-bronze-800: #2D251E;
    /* Headers */
    --color-bronze-600: #4A4641;
    /* Secondary Text */
    --color-bronze-400: #8C857B;
    /* Captions & Meta */

    /* Typography Families */
    --font-serif: "Cormorant Garamond", "Playfair Display", "Cinzel", Georgia, serif;
    --font-sans: "Plus Jakarta Sans", "Inter", "DM Sans", "Poppins", -apple-system, sans-serif;
    --font-script: "Alex Brush", cursive;

    /* Border Radii */
    --radius-xs: 6px;
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --radius-pill: 9999px;
    --radius-arch: 320px 320px 22px 22px;

    /* Shadows & Ambient Lighting */
    --shadow-sm: 0 4px 16px rgba(45, 37, 30, 0.04);
    --shadow-md: 0 16px 40px rgba(45, 37, 30, 0.06), 0 2px 6px rgba(45, 37, 30, 0.02);
    --shadow-lg: 0 28px 70px rgba(45, 37, 30, 0.09), 0 8px 24px rgba(45, 37, 30, 0.04);
    --shadow-slate-glow: 0 10px 32px rgba(74, 107, 116, 0.28);
    --shadow-gold-glow: 0 10px 35px rgba(201, 169, 106, 0.28);
    --shadow-white-glow: 0 0 40px rgba(255, 255, 255, 0.88);
    --shadow-inner-pearl: inset 0 1px 2px rgba(255, 255, 255, 0.95), inset 0 -1px 3px rgba(201, 169, 106, 0.18);

    /* Glassmorphism Variables */
    --glass-bg: rgba(252, 251, 248, 0.82);
    --glass-bg-warm: rgba(248, 245, 238, 0.88);
    --glass-border: 1px solid rgba(216, 193, 143, 0.35);
    --glass-border-teal: 1px solid rgba(74, 107, 116, 0.3);
    --glass-border-white: 1px solid rgba(255, 255, 255, 0.82);
    --glass-backdrop: blur(22px) saturate(180%);

    /* Slowmo 60FPS Transitions & Apple-Style Easings */
    --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-smooth: all 0.75s var(--ease-apple);
    --transition-fast: all 0.35s var(--ease-apple);
    --transition-cinematic: all 1.8s var(--ease-soft);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-ivory-100);
    color: var(--color-bronze-900);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Canvas background for floating petals */
#petal-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10;
}

/* Images & Media */
img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY SYSTEM
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
.font-serif {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-bronze-900);
}

.font-script {
    font-family: var(--font-script);
    font-weight: 400;
    color: var(--color-gold-base);
}

.section-kicker {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-gold-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-bronze-600);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
}

.text-gold-gradient {
    background: var(--color-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   4. GLASSMORPHISM & UTILITY COMPONENTS
   -------------------------------------------------------------------------- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: var(--glass-border);
    box-shadow: var(--shadow-md), var(--shadow-inner-pearl);
    border-radius: var(--radius-md);
}

.glass-panel-warm {
    background: var(--glass-bg-warm);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: var(--glass-border);
    box-shadow: var(--shadow-lg), var(--shadow-inner-pearl);
}

.arch-frame {
    border-radius: var(--radius-arch);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
}

.gold-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin: 2.5rem auto;
    width: 100%;
    max-width: 320px;
}

.gold-divider::before,
.gold-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg,
            transparent,
            var(--color-gold-base),
            transparent);
}

.gold-divider-icon {
    color: var(--color-gold-base);
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   5. BUTTON SYSTEM
   -------------------------------------------------------------------------- */
.btn-primary-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--color-slate-gradient);
    color: #ffffff;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    padding: 1.15rem 2.5rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    box-shadow: var(--shadow-slate-glow);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-primary-gold::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transition: all 0.75s ease;
}

.btn-primary-gold:hover {
    transform: translateY(-3px) scale(1.025);
    box-shadow: 0 14px 40px rgba(74, 107, 116, 0.45);
    background: linear-gradient(135deg, #3D5A62 0%, #2A4046 100%);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-primary-gold:hover::before {
    left: 100%;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(250, 248, 242, 0.6);
    backdrop-filter: blur(8px);
    color: var(--color-dark-teal);
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 1.05rem 2.25rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-slate-teal);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
    background: var(--color-slate-teal);
    color: #ffffff;
    border-color: var(--color-slate-teal);
    box-shadow: var(--shadow-slate-glow);
    transform: translateY(-2px) scale(1.01);
}

.btn-ghost-editorial {
    background: none;
    border: none;
    color: var(--color-bronze-800);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    cursor: pointer;
    position: relative;
    padding-bottom: 4px;
}

.btn-ghost-editorial::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-gold-base);
    transition: var(--transition-fast);
}

.btn-ghost-editorial:hover::after {
    width: 100%;
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVIGATION BAR
   -------------------------------------------------------------------------- */
.sticky-navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 100;
    padding: 0.75rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius-pill);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.sticky-navbar.visible {
    opacity: 1;
    visibility: visible;
}

.nav-brand {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    letter-spacing: 0.1em;
    color: var(--color-bronze-900);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.781rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-bronze-800);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-gold-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audio-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-gold-base);
    background: var(--color-ivory-50);
    color: var(--color-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.audio-toggle-btn.playing {
    background: var(--color-gold-gradient);
    color: white;
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* --------------------------------------------------------------------------
   7. SECTION 01: INTERACTIVE OPENING COVER (WAX SEAL ENVELOPE)
   -------------------------------------------------------------------------- */
#opening-cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #162C33;
    background-image:
        radial-gradient(circle at 50% 35%,
            rgba(75, 123, 140, 0.35),
            transparent 68%),
        radial-gradient(circle at 80% 80%,
            rgba(203, 162, 92, 0.2),
            transparent 55%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234b7b8c' fill-opacity='0.06' fill-rule='evenodd'%3E%3Cpath d='M30 30L0 0h60L30 30zM0 60l30-30 30 30H0z'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--color-pearl-white);
    text-align: center;
    padding: 2rem;
    transition:
        opacity 2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 2s cubic-bezier(0.22, 1, 0.36, 1),
        filter 2s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(14px);
}

#opening-cover.unfolded {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.08);
    filter: blur(18px);
}

.envelope-wrapper {
    max-width: 480px;
    width: 100%;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-md);
    background: rgba(28, 24, 20, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.8),
        inset 0 0 40px rgba(212, 175, 55, 0.08);
    position: relative;
}

.envelope-monogram-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 1.75rem auto;
    box-shadow: var(--shadow-gold-glow);
    border: 2px solid var(--color-gold-light);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.envelope-monogram-img:hover {
    transform: scale(1.08) rotate(3deg);
}

.envelope-subtitle {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-gold-light);
    margin-bottom: 0.75rem;
}

.envelope-names {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--color-ivory-50);
    margin-bottom: 0.5rem;
}

.envelope-date {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    color: var(--color-ivory-300);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. SECTION 02: HERO & BRIDE & GROOM
   -------------------------------------------------------------------------- */
.section-padding {
    padding: 8rem 1.5rem;
    position: relative;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   8. SECTION 02: REDESIGNED BREATHTAKING LUXURY HERO SECTION
   -------------------------------------------------------------------------- */
#hero {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem 1.5rem;
    overflow: hidden;
}

/* Background Full-Bleed Image with Ken Burns FX & Gradient Overlay */
.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurnsZoom 24s ease-in-out infinite alternate;
}

@keyframes kenBurnsZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.12);
    }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center,
            rgba(28, 24, 20, 0.35) 0%,
            rgba(18, 16, 14, 0.75) 85%),
        linear-gradient(to bottom,
            rgba(18, 16, 14, 0.6) 0%,
            transparent 40%,
            rgba(18, 16, 14, 0.8) 100%);
}

/* Subtle Christian Cross Silhouette Background Glow */
.hero-cross-silhouette {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 380px;
    height: 520px;
    z-index: 2;
    pointer-events: none;
    animation: crossPulse 8s ease-in-out infinite alternate;
}

@keyframes crossPulse {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -55%) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -55%) scale(1.04);
    }
}

/* Elegant Gold Botanical Floral Corners */
.hero-floral-corner {
    position: absolute;
    width: 180px;
    height: 180px;
    z-index: 3;
    pointer-events: none;
}

.floral-top-left {
    top: 2rem;
    left: 2rem;
}

.floral-bottom-right {
    bottom: 2rem;
    right: 2rem;
}

/* Floating Music Control Button Widget inside Hero */
.hero-music-widget {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    z-index: 10;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(28, 24, 20, 0.65);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: white;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.hero-music-widget:hover {
    background: rgba(28, 24, 20, 0.85);
    border-color: var(--color-gold-base);
    transform: translateY(-2px);
}

.music-wave-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
}

.music-wave-bars span {
    width: 3px;
    height: 100%;
    background: var(--color-gold-gradient);
    border-radius: 2px;
    animation: wavePulse 1.2s ease-in-out infinite alternate;
}

.music-wave-bars span:nth-child(2) {
    animation-delay: 0.3s;
}

.music-wave-bars span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes wavePulse {
    0% {
        height: 20%;
    }

    100% {
        height: 100%;
    }
}

.hero-music-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.hero-music-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold-light);
}

.hero-music-title {
    font-size: 0.781rem;
    font-family: var(--font-serif);
    color: var(--color-ivory-50);
}

.hero-music-play-btn {
    background: var(--color-gold-gradient);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
}

/* Hero Center Content & Masterpiece Glass Card */
.hero-content-container {
    position: relative;
    z-index: 5;
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-guest-badge {
    padding: 0.6rem 1.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.813rem;
    letter-spacing: 0.12em;
    color: var(--color-bronze-900);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.75rem;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-gold-base);
    animation: floatBadge 4s ease-in-out infinite alternate;
}

@keyframes floatBadge {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-6px);
    }
}

.hero-masterpiece-card {
    padding: 3.5rem 3rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.8);
    position: relative;
    width: 100%;
}

.hero-card-emblem {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-ivory-50);
    border: 1px solid var(--color-gold-base);
    color: var(--color-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.hero-main-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-bronze-950);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.hero-ampersand {
    font-size: 1.2em;
    color: var(--color-gold-base);
    display: inline-block;
    margin: 0 0.2em;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--color-bronze-800);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    font-style: italic;
}

.hero-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Beautiful Editorial Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-ivory-100);
    opacity: 0.85;
    transition: var(--transition-fast);
}

.hero-scroll-indicator:hover {
    opacity: 1;
    color: var(--color-gold-light);
}

.scroll-text {
    font-size: 0.688rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 500;
}

.scroll-line {
    width: 2px;
    height: 38px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.scroll-bead {
    width: 100%;
    height: 14px;
    background: var(--color-gold-gradient);
    position: absolute;
    top: -14px;
    left: 0;
    border-radius: 1px;
    animation: scrollBeadAnim 2s infinite ease-in-out;
}

@keyframes scrollBeadAnim {
    0% {
        top: -14px;
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        top: 38px;
        opacity: 0;
    }
}

.couple-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.couple-card {
    padding: 2.5rem;
    text-align: center;
}

.couple-img-wrapper {
    width: 220px;
    height: 280px;
    margin: 0 auto 1.5rem auto;
    border-radius: 140px 140px 16px 16px;
    overflow: hidden;
    border: 1px solid var(--color-gold-base);
    box-shadow: var(--shadow-md);
}

.couple-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-apple);
}

.couple-card:hover .couple-img {
    transform: scale(1.06);
}

.couple-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-gold-dark);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.couple-name {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.couple-bio {
    font-size: 0.938rem;
    color: var(--color-bronze-600);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   9. SECTION 03: BIBLE VERSE & HOLY COVENANT
   -------------------------------------------------------------------------- */
#scripture {
    background: linear-gradient(135deg,
            var(--color-bronze-900),
            var(--color-bronze-950));
    color: var(--color-ivory-100);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#scripture::before {
    content: "";
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle,
            rgba(212, 175, 55, 0.15) 0%,
            transparent 70%);
    pointer-events: none;
}

.scripture-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 4rem 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
}

.scripture-cross {
    font-size: 2.2rem;
    color: var(--color-gold-base);
    margin-bottom: 1.5rem;
}

.scripture-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--color-ivory-50);
    margin-bottom: 1.5rem;
}

.scripture-ref {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-gold-light);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   10. SECTION 04: OUR JOURNEY WITH GOD (TIMELINE)
   -------------------------------------------------------------------------- */
.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0 auto;
    padding: 2rem 0;
}

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

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50px;
    margin-left: 50%;
}

.timeline-node {
    position: absolute;
    top: 15px;
    right: -9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-gold-base);
    border: 4px solid var(--color-ivory-100);
    box-shadow: 0 0 0 2px var(--color-gold-base);
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-node {
    right: auto;
    left: -9px;
}

.timeline-content {
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: left;
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-gold-dark);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.938rem;
    color: var(--color-bronze-600);
}

/* --------------------------------------------------------------------------
   11. SECTION 05: SACRED SOUNDTRACK PLAYER CARD
   -------------------------------------------------------------------------- */
.music-player-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.vinyl-wrapper {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 50%;
    background: radial-gradient(circle, #2c2723 30%, #12100e 70%);
    border: 4px solid var(--color-gold-light);
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-wrapper.spinning {
    animation: spin 12s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.vinyl-center {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gold-gradient);
}

.player-info {
    flex-grow: 1;
}

.song-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.song-artist {
    font-size: 0.875rem;
    color: var(--color-bronze-600);
    margin-bottom: 1.25rem;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: var(--color-ivory-300);
    border-radius: 2px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    cursor: pointer;
}

.progress-bar-fill {
    width: 35%;
    height: 100%;
    background: var(--color-gold-gradient);
    border-radius: 2px;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --------------------------------------------------------------------------
   12. SECTION 06 & 07: WEDDING CINEMA & GALLERY
   -------------------------------------------------------------------------- */
.cinema-wrapper {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
}

.cinema-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-apple);
}

.cinema-wrapper:hover .cinema-img {
    transform: scale(1.04);
}

.play-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--glass-bg-warm);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-gold-base);
    color: var(--color-gold-dark);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold-glow);
    transition: var(--transition-fast);
}

.cinema-wrapper:hover .play-overlay-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: var(--color-gold-gradient);
    color: white;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item:nth-child(2) {
    height: 460px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-apple);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 24, 20, 0.7), transparent 60%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    color: white;
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   13. SECTION 08: COUNTDOWN TO ETERNITY
   -------------------------------------------------------------------------- */
#countdown {
    background:
        radial-gradient(ellipse at bottom,
            rgba(212, 175, 55, 0.12),
            transparent 70%),
        var(--color-ivory-200);
    text-align: center;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 720px;
    margin: 3rem auto 0 auto;
}

.countdown-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 120px 120px 16px 16px;
}

.countdown-val {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    color: var(--color-gold-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-bronze-600);
}

/* --------------------------------------------------------------------------
   14. SECTION 09 & 10: CEREMONY & RECEPTION DETAILS
   -------------------------------------------------------------------------- */
.event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.event-card {
    padding: 3rem 2.5rem;
    border-radius: var(--radius-arch);
    text-align: center;
    position: relative;
}

.event-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-ivory-50);
    border: 1px solid var(--color-gold-base);
    color: var(--color-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   9. SECTION 03: BIBLE VERSE & HOLY COVENANT (DARK CATHEDRAL SANCTUARY)
   -------------------------------------------------------------------------- */
#scripture {
    background: radial-gradient(circle at center, #241f1a 0%, #12100e 100%);
    color: var(--color-ivory-100);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 10rem 1.5rem;
}

.scripture-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
            rgba(212, 175, 55, 0.18) 0%,
            transparent 70%);
    pointer-events: none;
}

.scripture-card-haute {
    padding: 4.5rem 3.5rem;
    border-radius: var(--radius-lg);
    background: rgba(28, 24, 20, 0.92);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(201, 169, 106, 0.45);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), inset 0 0 35px rgba(201, 169, 106, 0.12);
    position: relative;
    z-index: 2;
}

.scripture-header-emblem {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--color-gold-gradient);
    border: 1px solid var(--color-gold-light);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.25rem;
    box-shadow: var(--shadow-gold-glow);
}

.scripture-quote-text {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-style: italic;
    line-height: 1.55;
    color: #FAF8F2;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.scripture-ref-badge {
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-gold-light);
    font-weight: 600;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-pill);
    background: rgba(201, 169, 106, 0.18);
    border: 1px solid rgba(201, 169, 106, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   10. SECTION 04: OUR JOURNEY WITH GOD (FAITH TIMELINE)
   -------------------------------------------------------------------------- */
.timeline-wrapper-haute {
    position: relative;
    max-width: 1000px;
    margin: 5rem auto 0 auto;
    padding: 2rem 0;
}

.timeline-spine-gold {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            var(--color-gold-base) 15%,
            var(--color-gold-base) 85%,
            transparent);
}

.timeline-card-row {
    display: flex;
    align-items: center;
    margin-bottom: 5rem;
    position: relative;
    width: 100%;
}

.timeline-card-row.left-align {
    justify-content: flex-start;
}

.timeline-card-row.right-align {
    justify-content: flex-end;
}

.timeline-badge-seal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-gold-gradient);
    color: white;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold-glow);
    z-index: 3;
}

.timeline-card-content {
    width: 44%;
    display: flex;
    gap: 1.5rem;
    padding: 2rem 2.25rem;
    border-radius: var(--radius-lg);
    /* 32px smooth rounded corners */
    background: var(--glass-bg-warm);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid rgba(201, 169, 106, 0.35);
    box-shadow: 0 20px 50px rgba(45, 37, 30, 0.08), var(--shadow-inner-pearl);
    text-align: left;
    align-items: center;
    transition: transform 0.6s var(--ease-apple), box-shadow 0.6s var(--ease-apple), border-color 0.6s var(--ease-apple);
}

.timeline-card-content:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 106, 0.6);
    box-shadow: 0 28px 60px rgba(45, 37, 30, 0.12), var(--shadow-inner-pearl);
}

.timeline-card-img-box {
    width: 120px;
    height: 130px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    /* 20px rounded corners for photo box */
    overflow: hidden;
    border: 1px solid var(--color-gold-base);
    box-shadow: var(--shadow-sm);
}

.timeline-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-date-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-gold-dark);
    font-weight: 600;
}

.timeline-card-title {
    font-size: 1.35rem;
    margin: 0.2rem 0 0.5rem 0;
}

.timeline-card-desc {
    font-size: 0.875rem;
    color: var(--color-bronze-600);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. SECTION 05: SACRED SOUNDTRACK PLAYER
   -------------------------------------------------------------------------- */
.soundtrack-card-haute {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: var(--radius-lg);
}

.soundtrack-header {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.vinyl-wrapper-haute {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
    border-radius: 50%;
    background: radial-gradient(circle, #2c2621 30%, #12100e 70%);
    border: 4px solid var(--color-gold-light);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-wrapper-haute.spinning {
    animation: spin 12s linear infinite;
}

.vinyl-center-gold {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-gold-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soundtrack-status-pill {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold-dark);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.soundtrack-song-title {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.soundtrack-artist-name {
    font-size: 0.938rem;
    color: var(--color-bronze-600);
}

.soundtrack-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--color-ivory-300);
    border-radius: 3px;
    margin-bottom: 2rem;
    overflow: hidden;
    cursor: pointer;
}

.soundtrack-progress-fill {
    width: 25%;
    height: 100%;
    background: var(--color-gold-gradient);
    border-radius: 3px;
}

.soundtrack-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.soundtrack-btn-secondary {
    background: none;
    border: 1px solid var(--color-ivory-300);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--color-bronze-800);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.soundtrack-btn-secondary:hover {
    border-color: var(--color-gold-base);
    color: var(--color-gold-dark);
}

/* --------------------------------------------------------------------------
   12. SECTION 06: WEDDING CINEMA & TEASER
   -------------------------------------------------------------------------- */
.cinema-card-haute {
    max-width: 1040px;
    height: 520px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cinema-backdrop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-apple);
}

.cinema-card-haute:hover .cinema-backdrop-img {
    transform: scale(1.06);
}

.cinema-overlay-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
            rgba(18, 16, 14, 0.3) 0%,
            rgba(18, 16, 14, 0.75) 85%);
}

.cinema-center-content {
    position: relative;
    z-index: 3;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cinema-play-badge {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--glass-bg-warm);
    backdrop-filter: blur(16px);
    border: 1px solid var(--color-gold-base);
    color: var(--color-gold-dark);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold-glow);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.cinema-card-haute:hover .cinema-play-badge {
    transform: scale(1.12);
    background: var(--color-gold-gradient);
    color: white;
}

.cinema-runtime-tag {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--color-gold-light);
    margin-bottom: 0.5rem;
}

.cinema-film-title {
    font-size: 2.25rem;
    color: var(--color-ivory-50);
}

/* --------------------------------------------------------------------------
   13. SECTION: PRE-WEDDING GALLERY (SMOOTH RESPONSIVE SLIDER & GRID)
   -------------------------------------------------------------------------- */
.gallery-masonry-haute {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0.5rem 2rem 0.5rem;
    margin-top: 2.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold-base) transparent;
}

.gallery-masonry-haute::-webkit-scrollbar {
    height: 6px;
}

.gallery-masonry-haute::-webkit-scrollbar-track {
    background: rgba(201, 169, 106, 0.1);
    border-radius: var(--radius-pill);
}

.gallery-masonry-haute::-webkit-scrollbar-thumb {
    background: var(--color-gold-gradient);
    border-radius: var(--radius-pill);
}

.gallery-card-haute {
    flex: 0 0 320px;
    height: 440px;
    scroll-snap-align: center;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 16px 45px rgba(45, 37, 30, 0.08), var(--shadow-inner-pearl);
    border: 1px solid rgba(201, 169, 106, 0.35);
    background: var(--glass-bg-warm);
    transition: transform 0.6s var(--ease-apple), box-shadow 0.6s var(--ease-apple), border-color 0.6s var(--ease-apple);
}

.gallery-card-haute.wide {
    flex: 0 0 440px;
}

.gallery-card-haute.tall {
    flex: 0 0 320px;
}

.gallery-card-haute:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(201, 169, 106, 0.65);
    box-shadow: 0 28px 60px rgba(45, 37, 30, 0.15), var(--shadow-gold-glow);
}

.gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-apple);
}

.gallery-card-haute:hover .gallery-card-img {
    transform: scale(1.08);
}

.gallery-card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(18, 16, 14, 0.92) 0%, rgba(18, 16, 14, 0.4) 65%, transparent 100%);
    color: var(--color-pearl-white);
    text-align: left;
    transition: opacity 0.4s var(--ease-apple);
}

.caption-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold-light);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.35rem;
}

.gallery-card-caption p {
    font-size: 0.95rem;
    line-height: 1.45;
    color: #FAF8F2;
    margin: 0;
}

.gallery-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    color: var(--color-bronze-600);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gallery-scroll-hint i {
    animation: swipeHint 1.8s ease-in-out infinite alternate;
    color: var(--color-gold-base);
}

@keyframes swipeHint {
    0% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(4px);
    }
}

/* --------------------------------------------------------------------------
   13. SECTION 07: FINE ART GALLERY (HAUTE MASONRY)
   -------------------------------------------------------------------------- */
.gallery-masonry-haute {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 4rem;
}

.gallery-card-haute {
    height: 420px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.gallery-card-haute.tall {
    height: 480px;
}

.gallery-card-haute.wide {
    height: 450px;
}

.gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-apple);
}

.gallery-card-haute:hover .gallery-card-img {
    transform: scale(1.08);
}

.gallery-card-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(18, 16, 14, 0.9) 0%,
            rgba(18, 16, 14, 0.52) 48%,
            transparent 88%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--color-ivory-50);
    text-align: left;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
    transition: var(--transition-fast);
}

.gallery-card-haute:hover .gallery-card-caption {
    opacity: 1;
}

.caption-tag {
    font-size: 0.688rem;
    letter-spacing: 0.25em;
    color: var(--color-gold-light);
    margin-bottom: 0.35rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.gallery-card-caption p {
    color: var(--color-ivory-50);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0.98;
}

/* --------------------------------------------------------------------------
   14. SECTION 08: COUNTDOWN PILLARS
   -------------------------------------------------------------------------- */
.countdown-pillars-haute {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.countdown-pillar-card {
    padding: 3rem 2rem;
    min-width: 140px;
    border-radius: 120px 120px 16px 16px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.countdown-num {
    font-size: clamp(2.75rem, 5vw, 4rem);
    color: var(--color-gold-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-bronze-600);
}

.countdown-colon {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-gold-base);
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   15. SECTION 09 & 10: EVENTS DUAL GRID
   -------------------------------------------------------------------------- */
.events-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-top: 4rem;
}

.event-card-haute {
    border-radius: var(--radius-arch);
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: var(--shadow-lg);
}

.event-card-arch-preview {
    height: 240px;
    position: relative;
}

.event-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-tag {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(28, 24, 20, 0.85);
    backdrop-filter: blur(12px);
    color: var(--color-gold-light);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-gold-base);
    white-space: nowrap;
}

.event-card-body {
    padding: 3rem 2.5rem;
}

.event-card-title {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.event-card-time {
    font-size: 1.05rem;
    color: var(--color-bronze-800);
    margin-bottom: 0.5rem;
}

.event-card-location {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-bronze-600);
    margin-bottom: 2rem;
}

.event-card-btn-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --------------------------------------------------------------------------
   16. SECTION 11: GUIDE TABS
   -------------------------------------------------------------------------- */
.guide-tabs-card {
    max-width: 840px;
    margin: 4rem auto 0 auto;
    padding: 3rem;
    border-radius: var(--radius-lg);
}

.guide-tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--color-ivory-300);
    padding-bottom: 1rem;
}

.guide-tab-btn {
    background: none;
    border: none;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-bronze-600);
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
}

.guide-tab-btn.active {
    background: var(--color-gold-gradient);
    color: white;
    box-shadow: var(--shadow-gold-glow);
}

.guide-tab-pane {
    display: none;
}

.guide-tab-pane.active {
    display: block;
}

.palette-swatches-haute {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.swatch-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.813rem;
    color: var(--color-bronze-800);
}

.swatch-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    border: 2px solid white;
}

.hotel-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.hotel-card {
    padding: 1.75rem;
    border-radius: var(--radius-md);
    text-align: left;
}

/* --------------------------------------------------------------------------
   17. SECTION 12: RSVP HAUTE CARD (APPLE-QUALITY FORM DESIGN)
   -------------------------------------------------------------------------- */
.rsvp-card-haute {
    max-width: 680px;
    margin: 3.5rem auto 0 auto;
    padding: 4rem 3.5rem;
    border-radius: var(--radius-lg);
    background: var(--glass-bg-warm);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-top: 2px solid var(--color-gold-base);
    box-shadow:
        0 30px 70px rgba(28, 24, 20, 0.08),
        var(--shadow-inner-pearl);
    transition:
        transform 0.6s var(--ease-apple),
        box-shadow 0.6s var(--ease-apple);
}

.rsvp-card-haute:hover {
    box-shadow:
        0 36px 80px rgba(28, 24, 20, 0.12),
        var(--shadow-inner-pearl);
}

#rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-sans);
    font-size: 0.781rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-bronze-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-bronze-900);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-md);
    padding: 0 1.25rem;
    transition: all 0.3s var(--ease-apple);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.form-input,
.form-select {
    height: 52px;
    /* 52px Apple touch target */
}

.form-textarea {
    padding: 1rem 1.25rem;
    resize: vertical;
    min-height: 110px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-bronze-400);
    opacity: 0.7;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--color-gold-base);
    box-shadow:
        0 0 0 4px rgba(212, 175, 55, 0.18),
        inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.25rem;
}

.radio-btn-card {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-bronze-800);
    cursor: pointer;
    transition: all 0.3s var(--ease-apple);
    user-select: none;
}

.radio-btn-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--color-gold-base);
    transform: translateY(-1px);
}

.radio-btn-card.selected {
    background: #ffffff;
    border-color: var(--color-gold-base);
    color: var(--color-gold-dark);
    font-weight: 600;
    box-shadow:
        0 8px 24px rgba(212, 175, 55, 0.22),
        inset 0 0 0 1px var(--color-gold-base);
}

/* --------------------------------------------------------------------------
   18. SECTION 13: WISHES CAROUSEL HAUTE
   -------------------------------------------------------------------------- */
.wishes-carousel-haute {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 3rem 0;
    scroll-snap-type: x mandatory;
}

.wish-card-haute {
    min-width: 340px;
    max-width: 380px;
    scroll-snap-align: center;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    text-align: left;
    position: relative;
}

.wish-quote-icon {
    font-size: 2rem;
    color: var(--color-gold-base);
    opacity: 0.4;
    margin-bottom: 1rem;
}

.wish-quote-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-bronze-900);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.wish-author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gold-dark);
}

/* --------------------------------------------------------------------------
   19. SECTION 14 & 15: GIFT ENVELOPE & BENEDICTION
   -------------------------------------------------------------------------- */
.gift-envelope-card {
    max-width: 580px;
    margin: 4rem auto 0 auto;
    padding: 3.5rem;
    border-radius: var(--radius-lg);
}

#main-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site-footer {
    background:
        linear-gradient(rgba(18, 16, 14, 0.88), rgba(18, 16, 14, 0.98)),
        url("assets/images/background_footer.jpg");
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    color: var(--color-ivory-50);
    text-align: center;
    padding: 6.5rem 1.5rem 3.5rem 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 0 !important;
    position: relative;
    width: 100%;
}

.thank-you-title {
    font-family: var(--font-script);
    font-size: clamp(3.5rem, 7vw, 6rem);
    color: var(--color-gold-light);
    margin-bottom: 1.25rem;
}

.thank-you-text {
    font-size: 1.25rem;
    max-width: 680px;
    margin: 0 auto 2rem auto;
    font-weight: 300;
    color: var(--color-ivory-200);
    line-height: 1.7;
}

.footer-couple-names {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: 0.12em;
    color: var(--color-gold-light);
    margin-bottom: 3rem;
}

.footer-minimalist-credit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 2rem;
    padding-bottom: 0;
    margin-bottom: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-made-with {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--color-ivory-300);
}

.footer-made-with .heart-icon {
    display: inline-block;
    color: var(--color-slate-teal);
    margin: 0 0.25rem;
    font-size: 0.95rem;
    animation: heartPulse 1.8s infinite ease-in-out;
}

.footer-made-with .heart-icon i {
    color: #4A6B74 !important;
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.25);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.25);
    }

    70% {
        transform: scale(1);
    }
}

.footer-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    color: var(--color-gold-light);
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s var(--ease-apple);
    text-decoration: none;
}

.social-icon-btn:hover {
    background: var(--color-gold-gradient);
    color: #ffffff;
    border-color: var(--color-gold-base);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

/* --------------------------------------------------------------------------
   21. ELEGANT PRELOADER & LUXURY ANIMATION SUITE
   -------------------------------------------------------------------------- */
#site-preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bronze-950);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    transition:
        opacity 1s var(--ease-apple),
        visibility 1s var(--ease-apple);
}

#site-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preloader-monogram {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid var(--color-gold-base);
    color: var(--color-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-gold-glow);
    animation: preloaderPulse 2s infinite ease-in-out;
}

@keyframes preloaderPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.preloader-title {
    font-size: 2.25rem;
    color: var(--color-ivory-50);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.preloader-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-gold-light);
    margin-bottom: 2rem;
}

.preloader-progress-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress-fill {
    width: 0%;
    height: 100%;
    background: var(--color-gold-gradient);
    transition: width 0.3s ease;
}

/* Scroll Reveal Classes - Ultra-Soft Ethereal Motion */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(6px);
    transition:
        opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.3s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.reveal-scale-in {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(6px);
    transition:
        opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.3s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal-scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* Hover Micro-Interactions */
.glass-panel-warm,
.glass-panel {
    transition:
        transform 0.6s var(--ease-apple),
        box-shadow 0.6s var(--ease-apple),
        border-color 0.6s var(--ease-apple);
}

.glass-panel-warm:hover,
.glass-panel:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow:
        0 20px 50px rgba(28, 24, 20, 0.12),
        var(--shadow-inner-pearl);
}

/* --------------------------------------------------------------------------
   22. MOBILE NAVIGATION & MULTI-DEVICE RESPONSIVE SUITE
   -------------------------------------------------------------------------- */

/* Mobile Menu Toggle Button */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-gold-base);
    background: var(--glass-bg-warm);
    color: var(--color-gold-dark);
    font-size: 1.1rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: var(--color-gold-gradient);
    color: white;
}

/* Mobile Nav Drawer Overlay */
.mobile-nav-drawer {
    position: fixed;
    inset: 0;
    background: var(--color-bronze-950);
    z-index: 5000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-apple);
}

.mobile-nav-drawer.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-ivory-100);
    font-size: 2.5rem;
    cursor: pointer;
}

.mobile-drawer-brand {
    font-size: 2.25rem;
    color: var(--color-gold-light);
    margin-bottom: 0.5rem;
}

.mobile-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 2rem;
    text-align: center;
}

.mobile-drawer-links a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-ivory-100);
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-drawer-links {
    width: 100%;
    max-width: 420px;
}
}

.container-narrow {
    max-width: 1080px;
}

.hero-masterpiece-card {
    padding: 4.5rem 4rem;
}
}

/* --------------------------------------------------------------------------
   MEDIA QUERY 2: LAPTOP / DESKTOP (1024px - 1599px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .hero-masterpiece-card {
        padding: 3rem 2rem;
    }

    .cinema-card-haute {
        height: 440px;
    }
}

/* --------------------------------------------------------------------------
   MEDIA QUERY 3: TABLETS & SMALL LAPTOPS (768px - 1023px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .desktop-rsvp-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .couple-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gallery-masonry-haute {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-dual-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .timeline-card-content {
        width: 80%;
    }
}

/* --------------------------------------------------------------------------
   MEDIA QUERY 4: MOBILE PHONES (320px - 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .sticky-navbar {
        top: 0.75rem;
        width: calc(100% - 1rem);
        padding: 0.7rem 0.9rem;
        max-width: none;
    }

    .nav-brand {
        font-size: 1rem;
        letter-spacing: 0.08em;
        max-width: 110px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-actions {
        gap: 0.45rem;
    }

    .audio-toggle-btn {
        width: 36px;
        height: 36px;
    }

    .section-padding {
        padding: 4.5rem 1rem;
    }

    /* Cover / Envelope Mobile Optimizations */
    .envelope-wrapper {
        padding: 2.25rem 1.25rem;
        max-width: 100%;
        margin: 0 0.5rem;
    }

    .envelope-names {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .envelope-date {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
    }

    .envelope-monogram-img {
        width: 90px;
        height: 90px;
        margin-bottom: 1.25rem;
    }

    /* Hero Mobile Optimizations */
    #hero {
        padding: 3.5rem 1rem 3rem 1rem;
        min-height: auto;
    }

    .hero-guest-badge {
        padding: 0.5rem 1.1rem;
        font-size: 0.75rem;
        margin-top: 0;
        margin-bottom: 1.15rem;
        max-width: 100%;
    }

    .hero-music-widget {
        position: fixed !important;
        bottom: 1.5rem !important;
        right: 1.25rem !important;
        top: auto !important;
        left: auto !important;
        width: 46px !important;
        height: 46px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 2px solid var(--color-slate-teal) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 16px rgba(74, 107, 116, 0.3) !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 9999 !important;
        gap: 0 !important;
        max-width: none !important;
    }

    .hero-music-widget .hero-music-text,
    .hero-music-widget .music-wave-bars {
        display: none !important;
    }

    .hero-music-widget .hero-music-play-btn {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: var(--color-slate-teal) !important;
        width: 100% !important;
        height: 100% !important;
        font-size: 1.25rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        padding: 0 !important;
    }

    .hero-music-widget.is-playing .hero-music-play-btn i {
        animation: compactVinylSpin 8s linear infinite !important;
        color: var(--color-slate-teal) !important;
    }

    .hero-guest-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        margin-bottom: 1.25rem;
        max-width: 100%;
    }

    .hero-masterpiece-card {
        padding: 2.25rem 1.15rem;
        border-radius: var(--radius-md);
    }

    .hero-main-title {
        font-size: clamp(1.85rem, 6.5vw, 2.75rem);
        line-height: 1.18;
    }

    .hero-ampersand {
        display: block;
        margin: 0.15em 0;
        font-size: 1em;
    }

    .hero-subtitle {
        font-size: 0.925rem;
    }

    .hero-btn-group {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn-primary-gold,
    .btn-outline-gold {
        width: 100%;
        min-height: 48px;
        /* 48px touch target */
    }

    /* Couple Intro Mobile */
    .couple-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2.5rem;
    }

    .couple-card {
        padding: 1.75rem 1.15rem;
    }

    .couple-img-wrapper {
        width: 180px;
        height: 230px;
    }

    .couple-name {
        font-size: 1.65rem;
    }

    /* Scripture Mobile */
    #scripture {
        padding: 4.5rem 1rem;
    }

    .scripture-card-haute {
        padding: 2.5rem 1.15rem;
    }

    .scripture-quote-text {
        font-size: clamp(1.25rem, 4.2vw, 1.85rem);
    }

    /* Timeline Mobile Stacking (PIXEL-PERFECT SPINE & BADGE ALIGNMENT) */
    .timeline-wrapper-haute {
        margin-top: 2.5rem;
        padding: 1rem 0;
        position: relative;
    }

    .timeline-spine-gold {
        left: 22px;
        transform: translateX(-50%);
        width: 3px;
        top: 0;
        bottom: 0;
        z-index: 1;
    }

    .timeline-badge-seal {
        left: 22px;
        top: 24px;
        transform: translate(-50%, 0);
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        margin: 0;
        z-index: 3;
        box-shadow: 0 4px 14px rgba(201, 169, 106, 0.4);
    }

    .timeline-card-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 3rem;
        position: relative;
    }

    .timeline-card-content {
        width: calc(100% - 56px) !important;
        margin-left: 56px !important;
        padding: 1.5rem 1.35rem;
        border-radius: var(--radius-md) !important;
        /* 22px smooth rounded corners */
        border: 1px solid rgba(201, 169, 106, 0.35) !important;
        box-shadow: 0 16px 40px rgba(45, 37, 30, 0.08) !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        position: relative;
        z-index: 2;
    }

    .timeline-card-img-box {
        width: 100%;
        height: 175px;
        border-radius: var(--radius-sm) !important;
        /* 14px rounded corners */
    }

    .timeline-card-title {
        font-size: 1.2rem;
    }

    /* Soundtrack Player Mobile Stacking */
    .soundtrack-card-haute {
        padding: 1.75rem 1.15rem;
    }

    .soundtrack-header {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .soundtrack-now-playing {
        text-align: center;
    }

    .vinyl-wrapper-haute {
        width: 110px;
        height: 110px;
    }

    .soundtrack-song-title {
        font-size: 1.35rem;
    }

    /* Cinema Mobile */
    .cinema-card-haute {
        height: 280px;
    }

    .cinema-play-badge {
        width: 65px;
        height: 65px;
        font-size: 1.4rem;
        margin-bottom: 0.85rem;
    }

    .cinema-film-title {
        font-size: 1.25rem;
        padding: 0 0.5rem;
    }

    .cinema-runtime-tag {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
    }

    /* Gallery Mobile */
    .gallery-masonry-haute {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .gallery-card-haute,
    .gallery-card-haute.tall,
    .gallery-card-haute.wide {
        height: 290px;
    }

    .gallery-card-caption {
        opacity: 1;
        background: linear-gradient(to top, rgba(18, 16, 14, 0.9) 0%, transparent 80%);
        padding: 1.25rem;
    }

    .gallery-card-caption p {
        font-size: 0.95rem;
    }

    /* Countdown Mobile Grid */
    .countdown-pillars-haute {
        gap: 0.35rem;
        justify-content: space-between;
    }

    .countdown-pillar-card {
        min-width: 0;
        flex: 1;
        padding: 1.25rem 0.25rem;
        border-radius: 36px 36px 12px 12px;
    }

    .countdown-num {
        font-size: clamp(1.5rem, 4.8vw, 2.2rem);
    }

    .countdown-label {
        font-size: 0.65rem;
        letter-spacing: 0.08em;
    }

    .countdown-colon {
        display: none;
    }

    /* Events Mobile */
    .events-dual-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .event-card-arch-preview {
        height: 190px;
    }

    .event-card-body {
        padding: 2rem 1.15rem;
    }

    .event-card-title {
        font-size: 1.75rem;
    }

    .event-card-btn-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .event-card-btn-row .btn-primary-gold,
    .event-card-btn-row .btn-outline-gold {
        width: 100%;
    }

    /* Guide Mobile */
    .guide-tabs-card {
        padding: 1.75rem 1.15rem;
    }

    .guide-tab-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .guide-tab-btn {
        font-size: 0.925rem;
        padding: 0.5rem 0.85rem;
        flex: 1 1 auto;
    }

    .hotel-card-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* RSVP Mobile */
    .rsvp-card-haute {
        padding: 2rem 1.15rem;
    }

    .radio-group {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .radio-btn-card {
        height: 48px;
    }

    /* Wishes Mobile */
    .wishes-carousel-haute {
        gap: 1.25rem;
        padding: 1.5rem 0;
    }

    .wish-card-haute {
        min-width: 260px;
        max-width: 300px;
        padding: 1.75rem 1.25rem;
    }

    .wish-quote-text {
        font-size: 1.05rem;
    }

    /* Digital Gift Mobile */
    .gift-dual-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .gift-envelope-card {
        padding: 2rem 1.15rem !important;
    }

    /* Footer Mobile */
    .site-footer {
        padding: 4.5rem 1.25rem 2.5rem 1.25rem;
        margin-bottom: 0 !important;
    }

    .thank-you-title {
        font-size: clamp(2.75rem, 8vw, 4rem);
    }

    .thank-you-text {
        font-size: 1.05rem;
    }

    .footer-couple-names {
        font-size: 1.6rem;
    }
}

/* --------------------------------------------------------------------------
   MEDIA QUERY 5: EXTRA SMALL PHONES (<= 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
    .section-padding {
        padding: 3.5rem 0.75rem;
    }

    .hero-masterpiece-card {
        padding: 1.75rem 0.85rem;
    }

    .hero-main-title {
        font-size: 1.65rem;
    }

    .countdown-num {
        font-size: 1.35rem;
    }

    .countdown-pillar-card {
        padding: 1rem 0.15rem;
    }
}

/* --------------------------------------------------------------------------
   23. GUEST INFO & CUSTOM STYLES
   -------------------------------------------------------------------------- */
.guest-info {
    margin: 1.75rem 0 2rem 0;
    text-align: center;
}

.guest-label {
    margin: 0;
    color: var(--color-ivory-300);
    font-size: 0.813rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
}

.guest-name {
    margin-top: 6px;
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 600;
    color: var(--color-gold-light);
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   24. LUXURY KEYFRAME ANIMATIONS & AMBIENT GLOW SUITE
   -------------------------------------------------------------------------- */
@keyframes waxSealGlow {

    0%,
    100% {
        box-shadow: 0 0 25px rgba(216, 193, 143, 0.4), 0 0 50px rgba(201, 169, 106, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 45px rgba(216, 193, 143, 0.75), 0 0 85px rgba(201, 169, 106, 0.45);
        transform: scale(1.04) rotate(2deg);
    }
}

.envelope-monogram-img {
    animation: waxSealGlow 3.5s ease-in-out infinite;
}

@keyframes foilShimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.btn-primary-gold {
    background-size: 200% 100%;
    animation: foilShimmer 6s linear infinite;
}

.glass-panel-warm,
.glass-panel {
    background: var(--glass-bg-warm);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: var(--glass-border);
    box-shadow: var(--shadow-md), var(--shadow-inner-pearl);
}

.gold-divider-icon {
    color: var(--color-gold-base);
    filter: drop-shadow(0 2px 8px rgba(201, 169, 106, 0.4));
}

/* --------------------------------------------------------------------------
   25. FLOATING COMPACT CASSETTE / VINYL DISC BUTTON ON SCROLL
   -------------------------------------------------------------------------- */
.hero-music-widget.scrolled-compact {
    position: fixed !important;
    bottom: 2rem !important;
    right: 1.5rem !important;
    top: auto !important;
    left: auto !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 2px solid var(--color-slate-teal) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 16px rgba(74, 107, 116, 0.3) !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 9999 !important;
    gap: 0 !important;
    max-width: none !important;
    transition: transform 0.4s var(--ease-apple), box-shadow 0.4s var(--ease-apple), background 0.4s var(--ease-apple) !important;
}

.hero-music-widget.scrolled-compact:hover {
    transform: scale(1.1) !important;
    background: #ffffff !important;
    box-shadow: 0 12px 32px rgba(74, 107, 116, 0.45) !important;
}

.hero-music-widget.scrolled-compact .hero-music-text,
.hero-music-widget.scrolled-compact .music-wave-bars {
    display: none !important;
}

.hero-music-widget.scrolled-compact .hero-music-play-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--color-slate-teal) !important;
    width: 100% !important;
    height: 100% !important;
    font-size: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    padding: 0 !important;
}

.hero-music-widget.scrolled-compact.is-playing .hero-music-play-btn i {
    animation: compactVinylSpin 8s linear infinite !important;
    color: var(--color-slate-teal) !important;
}

@keyframes compactVinylSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --------------------------------------------------------------------------
   26. LIGHTBOX MODAL OVERLAY & CONTENT STYLES
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(18, 16, 14, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    z-index: 100000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.4s var(--ease-apple), visibility 0.4s var(--ease-apple) !important;
}

.modal-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.modal-content-glass {
    max-width: 600px;
    width: 100%;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--glass-bg-warm);
    border: 1px solid var(--color-gold-base);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-bronze-800);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--color-gold-dark);
    transform: scale(1.15);
}