/* ==========================================================================
   BHAVYA & RIYA — MOBILE-FIRST BESPOKE DESIGN SYSTEM (blog.css)
   ==========================================================================
   Architecture: STRICT MOBILE-FIRST (progressive enhancement via min-width)
   - Base styles: Mobile screens (320px - 639px), touch-first (min 44px hit areas)
   - @media (min-width: 640px): Small tablets / phablets
   - @media (min-width: 768px): Tablets & portrait viewports
   - @media (min-width: 1024px): Laptops & desktop viewports
   - @media (min-width: 1280px): Large widescreen monitors
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (LIGHT & DARK THEMES)
   -------------------------------------------------------------------------- */
:root {
    /* Day / Cozy Royal Journal */
    --gold: #b28e28;
    --gold-light: #f6ecd5;
    --gold-dark: #8c6e1c;
    --gold-shimmer: linear-gradient(135deg, #b28e28 0%, #df8a28 50%, #fad6a5 100%);
    --saffron: #df8a28;
    --saffron-light: #fad6a5;
    --sage: #52796f;
    --sage-light: #eef4f0;
    --rose: #b85d56;
    --rose-light: #fbeee8;
    
    --bg-canvas: #faf7f0;
    --bg-gradient: radial-gradient(circle at 50% 0%, #ffffff 0%, #fbf7ee 50%, #f5ecd5 100%);
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-elevated: rgba(255, 255, 255, 0.98);
    --bg-navbar: rgba(250, 247, 240, 0.96);
    
    --text-dark: #2c2523;
    --text-muted: #5e534d;
    --text-light: #8e837b;
    --border-gold: rgba(178, 142, 40, 0.28);
    --border-subtle: rgba(178, 142, 40, 0.15);
    
    --card-shadow: 0 4px 16px rgba(178, 142, 40, 0.08), 0 1px 4px rgba(44, 37, 35, 0.04);
    --card-shadow-hover: 0 12px 32px rgba(178, 142, 40, 0.18), 0 4px 10px rgba(44, 37, 35, 0.06);
    --royal-shadow: 0 8px 25px rgba(178, 142, 40, 0.22);
    
    --font-serif: 'Cinzel', serif;
    --font-display: 'Cinzel Decorative', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-script: 'Great Vibes', cursive;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-arch: 100px 100px 18px 18px;
    
    --touch-min: 44px; /* WCAG 2.1 AA minimum touch target */
    --transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Dark / Arcade Night Theme */
[data-theme="dark"] {
    --gold: #df8a28;
    --gold-light: #3a2e1d;
    --gold-dark: #e8a84c;
    --gold-shimmer: linear-gradient(135deg, #df8a28 0%, #ffc107 50%, #ff6f00 100%);
    --saffron: #f59e0b;
    --saffron-light: #452c10;
    --sage: #6ee7b7;
    --sage-light: #162f26;
    --rose: #fb7185;
    --rose-light: #38151c;
    
    --bg-canvas: #0f0c15;
    --bg-gradient: radial-gradient(circle at 50% 0%, #1c1528 0%, #110d18 55%, #0a080f 100%);
    --bg-card: rgba(25, 20, 34, 0.92);
    --bg-card-elevated: rgba(33, 27, 45, 0.98);
    --bg-navbar: rgba(15, 12, 21, 0.96);
    
    --text-dark: #f5f2ed;
    --text-muted: #b8afc4;
    --text-light: #7e748c;
    --border-gold: rgba(223, 138, 40, 0.38);
    --border-subtle: rgba(223, 138, 40, 0.2);
    
    --card-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(223, 138, 40, 0.1);
    --card-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(223, 138, 40, 0.25);
    --royal-shadow: 0 8px 25px rgba(223, 138, 40, 0.3);
}

/* --------------------------------------------------------------------------
   2. MOBILE BASE RESETS & UTILITIES (DEFAULT 0px+)
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 15px; /* Comfortable mobile reading scale */
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
}

body {
    background-color: var(--bg-canvas);
    background: var(--bg-gradient);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
    position: relative;
    min-height: 100vh;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-canvas);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

/* Mobile-first Container: Full width with 16px safety padding */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   3. MOBILE AMBIENT ELEMENTS (PETALS & MANDALA)
   -------------------------------------------------------------------------- */
.petal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.petal {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 230, 0.85));
    border-radius: 150% 0 150% 150%;
    width: 10px;
    height: 14px;
    opacity: 0.8;
    box-shadow: 0 1px 3px rgba(178, 142, 40, 0.15);
    animation: fallDown linear infinite;
}

[data-theme="dark"] .petal {
    background: linear-gradient(135deg, rgba(223, 138, 40, 0.7), rgba(255, 215, 0, 0.4));
    box-shadow: 0 0 8px rgba(223, 138, 40, 0.5);
}

@keyframes fallDown {
    0% {
        transform: translateY(-20px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    15% { opacity: 0.85; }
    50% { transform: translateY(50vh) translateX(var(--sway, 30px)) rotate(180deg); }
    85% { opacity: 0.85; }
    100% {
        transform: translateY(105vh) translateX(0) rotate(360deg);
        opacity: 0;
    }
}

.mandala-bg {
    position: absolute;
    width: 240px;
    height: 240px;
    opacity: 0.05;
    pointer-events: none;
    animation: rotateMandala 80s linear infinite;
    z-index: 0;
}

[data-theme="dark"] .mandala-bg {
    opacity: 0.07;
    filter: drop-shadow(0 0 10px rgba(223, 138, 40, 0.3));
}

@keyframes rotateMandala {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   4. SIGNATURE GLASS CARD WITH ROYAL CORNERS (MOBILE BASE)
   -------------------------------------------------------------------------- */
.royal-glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.royal-glass-card::before,
.royal-glass-card::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
    transition: var(--transition);
}

.royal-glass-card::before {
    top: 6px;
    left: 6px;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    border-top-left-radius: 10px;
}

.royal-glass-card::after {
    bottom: 6px;
    right: 6px;
    border-bottom: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    border-bottom-right-radius: 10px;
}

/* --------------------------------------------------------------------------
   5. MOBILE-FIRST TOP NAVIGATION (MORPHING SCROLL & ANIMATED DRAWER)
   -------------------------------------------------------------------------- */
/* Scroll Progress Indicator Line (Pinned at very top) */
.scroll-progress-line {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--saffron), #e6b800);
    transform: scaleX(0);
    transform-origin: 0 50%;
    z-index: 1005;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.08s linear;
}

.navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--bg-navbar);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0;
    transition: background-color 0.25s ease,
                border-color 0.25s ease,
                padding 0.35s ease,
                box-shadow 0.25s ease;
}

body.mobile-nav-open .navbar {
    background: var(--bg-card-elevated) !important;
    border-bottom-color: transparent !important;
    padding: 0 !important;
}

/* Floating Pill State when scrolling */
.navbar.is-floating {
    background: transparent;
    border-bottom-color: transparent;
    pointer-events: none;
    padding: 0 12px;
}

.nav-container {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1180px;
    height: 60px;
    margin: 0 auto;
    padding: 0 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    transition: max-width 0.45s cubic-bezier(0.34, 1.32, 0.5, 1),
                height 0.35s cubic-bezier(0.34, 1.2, 0.5, 1),
                margin-top 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.32s ease,
                border-radius 0.38s ease,
                background-color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.35s ease;
}

.navbar.is-floating .nav-container {
    margin-top: 8px;
    width: calc(100% - 16px);
    max-width: 440px;
    height: 52px;
    border-radius: 9999px;
    border: 1px solid var(--border-gold);
    background: var(--bg-card-elevated);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 12px 30px -10px rgba(44, 37, 35, 0.22);
    padding: 0 10px 0 12px;
}

.dark .navbar.is-floating .nav-container {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 12px 30px -10px rgba(0, 0, 0, 0.65);
}

/* --------------------------------------------------------------------------
   MINIMIZED COMPACT ISLAND ON SCROLL DOWN (21st.dev style)
   Pill shrinks down to just the B✦R crest and the hamburger menu!
   -------------------------------------------------------------------------- */
.navbar.is-compact .nav-container {
    max-width: 140px;
    height: 48px;
    padding: 0 8px 0 6px;
    margin-top: 8px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 12px 28px -6px rgba(44, 37, 35, 0.3);
}

.navbar.is-compact .nav-brand-text {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(-8px);
    white-space: nowrap;
}

.navbar.is-compact .music-widget,
.navbar.is-compact #themeToggleBtn {
    max-width: 0;
    width: 0;
    min-width: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
    transform: scale(0.6);
    border: none;
}

.navbar.is-compact .nav-actions {
    gap: 0;
}

body.mobile-nav-open .nav-container {
    margin-top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 16px !important;
}

body.mobile-nav-open .nav-brand-text {
    max-width: 220px !important;
    opacity: 1 !important;
    overflow: visible !important;
    transform: none !important;
}

body.mobile-nav-open .music-widget,
body.mobile-nav-open #themeToggleBtn {
    max-width: 50px !important;
    width: var(--touch-min) !important;
    opacity: 1 !important;
    overflow: visible !important;
    transform: scale(1) !important;
}

.nav-brand-group {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    min-height: var(--touch-min);
}

.nav-crest {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-shimmer);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(178, 142, 40, 0.35);
    flex-shrink: 0;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    max-width: 220px;
    opacity: 1;
    transform: translateX(0);
    transition: max-width 0.38s cubic-bezier(0.34, 1.2, 0.5, 1),
                opacity 0.22s ease,
                transform 0.24s ease,
                margin 0.3s ease;
}

.nav-brand-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--gold-dark);
    line-height: 1.15;
}

.nav-brand-sub {
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 600;
}

/* Mobile Nav Menu Drawer (default 0px+) */
.nav-center-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg-card-elevated);
    border-bottom: 2px solid var(--gold);
    border-radius: 0 0 24px 24px;
    padding: 10px 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 24px 44px -8px rgba(0, 0, 0, 0.28);
    list-style: none;
    z-index: 1001;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.24s ease,
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s ease;
    visibility: hidden;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-center-menu.open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Staggered link reveal when open */
.nav-center-menu li {
    width: 100%;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-center-menu.open li {
    opacity: 1;
    transform: translateX(0);
    transition-delay: calc(var(--i, 0) * 0.04s + 0.04s);
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    top: 60px;
    background: rgba(15, 12, 21, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Luxury Editorial Link Items in Drawer */
.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 14px;
    min-height: var(--touch-min);
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.nav-link-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(178, 142, 40, 0.1);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.nav-link-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.nav-link-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--text-dark);
    line-height: 1.2;
}

.nav-link-sub {
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.nav-link-arrow {
    font-size: 0.75rem;
    color: var(--text-light);
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link:active {
    background: rgba(178, 142, 40, 0.06);
}

.nav-link:hover .nav-link-arrow {
    transform: translateX(3px);
    color: var(--gold-dark);
}

/* Active State */
.nav-link.active {
    background: rgba(178, 142, 40, 0.08);
    border-color: rgba(178, 142, 40, 0.25);
}

.nav-link.active .nav-link-title {
    color: var(--gold-dark);
}

.nav-link.active .nav-link-icon {
    background: var(--gold-shimmer);
    color: #fff;
    box-shadow: 0 2px 8px rgba(178, 142, 40, 0.32);
}

/* Royal Celebration Card in Drawer */
.nav-link-celebration {
    background: var(--gold-shimmer);
    color: #fff !important;
    margin-top: 8px;
    border-radius: 16px;
    padding: 13px 14px;
    box-shadow: 0 6px 20px rgba(178, 142, 40, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link-celebration .celebration-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.nav-link-celebration .nav-link-title {
    color: #fff;
    font-size: 0.98rem;
}

.nav-link-celebration .nav-link-sub {
    color: rgba(255, 255, 255, 0.88);
}

.nav-link-celebration .nav-link-arrow {
    color: #fff;
    font-size: 0.9rem;
}

.nav-link-celebration:hover {
    filter: brightness(1.08);
}

.mobile-only-link {
    display: block;
    width: 100%;
}

/* Nav Actions Row (Mobile) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Music Widget: Compact circular on mobile (eliminates broken dots) */
.music-widget {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--touch-min);
    height: var(--touch-min);
    max-width: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(178, 142, 40, 0.12);
    user-select: none;
    color: var(--text-dark);
    flex-shrink: 0;
    transition: max-width 0.35s cubic-bezier(0.34, 1.2, 0.5, 1),
                width 0.35s cubic-bezier(0.34, 1.2, 0.5, 1),
                opacity 0.22s ease,
                transform 0.24s ease,
                padding 0.22s ease,
                margin 0.22s ease,
                background-color 0.2s ease;
}

.music-widget .wave-container {
    display: none;
}

.cd-disk {
    font-size: 1.1rem;
    color: var(--saffron);
    animation: rotateCD 3.5s linear infinite;
    animation-play-state: paused;
}

.playing .cd-disk {
    animation-play-state: running;
}

.wave-container {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 10px;
}

.wave-bar {
    width: 2px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.playing .wave-bar:nth-child(1) { animation: soundWave 0.8s infinite ease-in-out alternate; }
.playing .wave-bar:nth-child(2) { animation: soundWave 1.1s infinite 0.2s ease-in-out alternate; }
.playing .wave-bar:nth-child(3) { animation: soundWave 0.9s infinite 0.4s ease-in-out alternate; }

@keyframes soundWave {
    0% { height: 2px; }
    100% { height: 10px; }
}

/* Icon Buttons with WCAG 44px hit-box */
.icon-btn {
    width: var(--touch-min);
    height: var(--touch-min);
    max-width: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--gold-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: max-width 0.35s cubic-bezier(0.34, 1.2, 0.5, 1),
                width 0.35s cubic-bezier(0.34, 1.2, 0.5, 1),
                opacity 0.22s ease,
                transform 0.24s ease,
                padding 0.22s ease,
                margin 0.22s ease,
                background-color 0.2s ease;
}

/* Nav Portal Pills: Compact on mobile */
.nav-pill-wedding {
    display: none; /* Collapses into mobile drawer to prevent navbar overflow */
    align-items: center;
    gap: 6px;
    background: var(--gold-shimmer);
    color: #fff !important;
    padding: 7px 14px;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    min-height: var(--touch-min);
}

.mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--touch-min);
    height: var(--touch-min);
    background: none;
    border: none;
    font-size: 1.35rem;
    color: var(--gold-dark);
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.34, 1.3, 0.64, 1), color 0.2s ease;
}

.mobile-toggle.is-open {
    transform: rotate(90deg);
    color: var(--saffron);
}

/* --------------------------------------------------------------------------
   6. MOBILE HERO STAGE (DEFAULT 0px+)
   -------------------------------------------------------------------------- */
.hero-stage {
    padding: 24px 0 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.calligraphy-emblem {
    height: 38px;
    width: auto;
    max-width: 90%;
    margin: 0 auto 12px;
    display: block;
    filter: invert(56%) sepia(87%) saturate(412%) hue-rotate(6deg) brightness(92%) contrast(88%);
    opacity: 0.95;
    transition: var(--transition);
}

[data-theme="dark"] .calligraphy-emblem {
    filter: invert(75%) sepia(80%) saturate(600%) hue-rotate(345deg) brightness(110%) contrast(98%);
}

.hero-arch-wrapper {
    display: inline-block;
    position: relative;
    margin: 8px auto 18px;
}

.hero-royal-arch {
    width: 125px;
    height: 165px;
    border-radius: var(--radius-arch);
    padding: 5px;
    background: var(--gold-shimmer);
    box-shadow: var(--royal-shadow);
    position: relative;
    transition: var(--transition);
}

.hero-royal-arch-inner {
    width: 100%;
    height: 100%;
    border-radius: calc(var(--radius-arch) - 5px);
    overflow: hidden;
    background: #fff;
    position: relative;
}

.hero-couple-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero-arch-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card-elevated);
    border: 1px solid var(--border-gold);
    color: var(--gold-dark);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 99px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 95%;
    margin: 0 auto 24px;
    font-weight: 300;
    line-height: 1.6;
}

.hero-tagline-highlight {
    font-family: var(--font-script);
    font-size: 1.45rem;
    color: var(--saffron);
    display: inline-block;
    margin-left: 2px;
}

/* Mobile Hero Buttons: Stack vertically with full width touch targets */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    width: 100%;
}

.btn-royal {
    background: var(--gold-shimmer);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 99px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--touch-min);
    box-shadow: 0 4px 14px rgba(178, 142, 40, 0.28);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-glass {
    background: var(--bg-card);
    color: var(--gold-dark);
    border: 1px solid var(--border-gold);
    padding: 12px 20px;
    border-radius: 99px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--touch-min);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

/* --------------------------------------------------------------------------
   7. MOBILE COUPLE STATUS TICKER (HORIZONTAL SWIPEABLE BAR)
   -------------------------------------------------------------------------- */
.couple-status-bar {
    margin: 0 0 35px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.couple-status-bar::-webkit-scrollbar {
    display: none;
}

.status-pills-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    width: max-content;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.74rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.status-pill strong {
    color: var(--gold-dark);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. MOBILE HEIRLOOM WEDDING CARD (DEFAULT 0px+)
   -------------------------------------------------------------------------- */
.wedding-heirloom-section {
    margin-bottom: 50px;
}

.heirloom-card {
    background: linear-gradient(135deg, var(--bg-card-elevated) 0%, rgba(254, 250, 240, 0.96) 100%);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    box-shadow: var(--card-shadow);
    position: relative;
}

[data-theme="dark"] .heirloom-card {
    background: linear-gradient(135deg, rgba(30, 24, 42, 0.95) 0%, rgba(20, 16, 28, 0.98) 100%);
}

.heirloom-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--border-gold);
}

.heirloom-crest-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.heirloom-wax-seal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #df8a28, #8c6e1c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(140, 110, 28, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.heirloom-title-wrap h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--gold-dark);
    line-height: 1.2;
}

.heirloom-title-wrap p {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--saffron);
    font-weight: 700;
}

.heirloom-desc {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   9. MOBILE SECTION HEADINGS & CONTROLS
   -------------------------------------------------------------------------- */
.section-heading-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.section-pre-tag {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--saffron);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.section-main-title {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: var(--gold-dark);
    margin-bottom: 6px;
    line-height: 1.25;
}

.section-lead-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Filter & Search: Mobile Stack */
.filter-search-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.filter-pills-group {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    width: 100%;
}

.filter-pills-group::-webkit-scrollbar {
    display: none;
}

.filter-pill-btn {
    padding: 6px 14px;
    border-radius: 99px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    min-height: var(--touch-min);
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.filter-pill-btn.active {
    background: var(--gold-shimmer);
    border-color: transparent;
    color: #fff;
}

.search-field-wrap {
    position: relative;
    width: 100%;
}

.search-field-wrap input {
    width: 100%;
    padding: 10px 14px 10px 36px;
    border: 1px solid var(--border-gold);
    border-radius: 99px;
    background: var(--bg-card);
    color: var(--text-dark);
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    min-height: var(--touch-min);
}

.search-field-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   10. MOBILE STORIES (BLOG) GRID: 1 COLUMN DEFAULT
   -------------------------------------------------------------------------- */
.stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.story-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.story-card-cover-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #ede6dc;
}

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

.category-stamp {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.category-stamp.travel { background: rgba(82, 121, 111, 0.9); color: #fff; }
.category-stamp.food { background: rgba(223, 138, 40, 0.9); color: #fff; }
.category-stamp.life { background: rgba(184, 93, 86, 0.9); color: #fff; }
.category-stamp.memories { background: rgba(178, 142, 40, 0.9); color: #fff; }

.story-card-body {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.story-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.story-card-title {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.35;
}

.story-card-excerpt {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.story-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.story-author-pill {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-light);
}

.story-read-btn {
    background: transparent;
    border: none;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    min-height: var(--touch-min);
}

/* --------------------------------------------------------------------------
   11. MOBILE SCRATCH CARD EASTER EGG
   -------------------------------------------------------------------------- */
.scratch-secret-section {
    margin: 10px auto 50px;
    width: 100%;
}

.scratch-secret-card {
    background: var(--bg-card);
    border: 1.5px dashed var(--gold);
    border-radius: var(--radius-lg);
    padding: 20px 14px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.scratch-prompt-header h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--gold-dark);
    margin-bottom: 4px;
}

.scratch-prompt-header p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.scratch-canvas-container {
    position: relative;
    width: 100%;
    max-width: 290px;
    height: 100px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.scratch-hidden-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-light), #fff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
}

[data-theme="dark"] .scratch-hidden-content {
    background: linear-gradient(135deg, #2b1f3d, #1a1426);
}

.scratch-hidden-content .secret-text {
    font-family: var(--font-script);
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.scratch-hidden-content .secret-sub {
    font-size: 0.68rem;
    color: var(--saffron);
    font-weight: 700;
}

.scratch-overlay-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    touch-action: none;
    transition: opacity 0.4s ease;
}

/* --------------------------------------------------------------------------
   12. MOBILE VLOGS SECTION: 1 COLUMN DEFAULT
   -------------------------------------------------------------------------- */
.vlogs-stage {
    padding: 40px 0 50px;
    background: rgba(244, 239, 230, 0.4);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 50px;
}

[data-theme="dark"] .vlogs-stage {
    background: rgba(18, 14, 25, 0.6);
}

.vlogs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.vlog-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--card-shadow);
}

.vlog-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #1a1614;
}

.vlog-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vlog-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-shimmer);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    padding-left: 2px;
}

.vlog-duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
}

.vlog-content {
    padding: 16px;
}

.vlog-date-tag {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.vlog-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.35;
}

.vlog-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   13. MOBILE ABOUT US / SCRAPBOOK (SINGLE COLUMN)
   -------------------------------------------------------------------------- */
.about-scrapbook-section {
    margin-bottom: 50px;
}

.about-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
    text-align: center;
}

.polaroid-stack {
    position: relative;
    width: 220px;
    height: 250px;
    margin: 0 auto;
}

.polaroid-frame {
    position: absolute;
    background: #fff;
    padding: 8px 8px 24px 8px;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .polaroid-frame {
    background: #252030;
}

.polaroid-frame img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.polaroid-caption {
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--text-dark);
    text-align: center;
    margin-top: 4px;
}

.polaroid-1 {
    top: 0;
    left: 0;
    transform: rotate(-5deg);
    z-index: 1;
}

.polaroid-2 {
    top: 15px;
    left: 35px;
    transform: rotate(4deg);
    z-index: 2;
}

.about-heading {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--gold-dark);
    margin-bottom: 10px;
}

.about-body-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
}

.couple-quirks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 20px;
}

.quirk-item {
    background: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-dark);
}

.about-cta-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* --------------------------------------------------------------------------
   14. MOBILE EDITORIAL STORY READER MODAL (FULL SCREEN SHEET)
   -------------------------------------------------------------------------- */
.story-reader-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 2000;
    overflow-y: auto;
    padding: 12px;
    align-items: flex-start;
    justify-content: center;
}

.story-reader-modal.active {
    display: flex;
}

.story-reader-paper {
    background: var(--bg-card-elevated);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    width: 100%;
    margin: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    position: relative;
}

.story-reader-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    width: var(--touch-min);
    height: var(--touch-min);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
}

.story-reader-hero-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-reader-content {
    padding: 24px 18px;
}

.story-reader-category {
    display: inline-block;
    color: var(--saffron);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.story-reader-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--gold-dark);
    line-height: 1.25;
    margin-bottom: 10px;
}

.story-reader-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.story-reader-body {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-dark);
}

.story-reader-body p {
    margin-bottom: 16px;
}

.story-reader-body blockquote {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gold-dark);
    padding: 12px 16px;
    border-left: 3px solid var(--gold);
    margin: 20px 0;
    background: var(--gold-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* --------------------------------------------------------------------------
   15. MOBILE YOUTUBE CINEMA MODAL
   -------------------------------------------------------------------------- */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    z-index: 2100;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    width: 100%;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.video-frame-aspect {
    position: relative;
    padding-top: 56.25%;
    width: 100%;
}

.video-frame-aspect iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-close {
    position: absolute;
    top: -42px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    width: var(--touch-min);
    height: var(--touch-min);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   16. MOBILE FOOTER (SINGLE COLUMN)
   -------------------------------------------------------------------------- */
.footer {
    background: #1a1614;
    color: #ede6dd;
    padding: 44px 0 28px;
    position: relative;
    border-top: 2px solid var(--gold);
}

[data-theme="dark"] .footer {
    background: #0b090f;
    border-top-color: var(--gold-dark);
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-col h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 8px;
}

.footer-brand-col p {
    font-size: 0.82rem;
    color: #b0a69d;
    line-height: 1.6;
}

.footer-nav-col h4 {
    font-family: var(--font-serif);
    font-size: 0.88rem;
    color: var(--gold-light);
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-nav-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-col a {
    color: #d1c7be;
    text-decoration: none;
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
}

.footer-bottom-bar {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-size: 0.78rem;
    color: #8f857d;
}


/* ==========================================================================
   PROGRESSIVE ENHANCEMENT: BREAKPOINTS (MIN-WIDTH ONLY)
   ========================================================================== */

/* --------------------------------------------------------------------------
   BREAKPOINT 1: MIN-WIDTH: 640px (TABLETS / PHABLETS)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
    html {
        font-size: 15.5px;
    }

    .container {
        padding: 0 20px;
    }

    .hero-stage {
        padding: 36px 0 24px;
    }

    .hero-royal-arch {
        width: 150px;
        height: 195px;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-cta-group {
        flex-direction: row;
        justify-content: center;
        width: auto;
    }

    .btn-royal, .btn-glass {
        width: auto;
    }

    .heirloom-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .vlogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .couple-quirks-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-cta-row {
        flex-direction: row;
        justify-content: center;
        width: auto;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT 2: MIN-WIDTH: 768px (IPADS & TABLETS)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .nav-container {
        height: 68px;
    }

    .nav-pill-wedding {
        display: inline-flex;
    }

    .music-widget {
        width: auto;
        height: auto;
        padding: 6px 12px;
        border-radius: 99px;
        gap: 6px;
    }

    .music-widget .wave-container {
        display: flex;
    }

    .couple-status-bar {
        margin: 0 auto 46px;
        overflow-x: visible;
        padding: 0;
    }

    .status-pills-row {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .filter-search-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .filter-pills-group {
        width: auto;
        overflow-x: visible;
    }

    .search-field-wrap {
        width: 240px;
    }

    .about-card {
        flex-direction: row;
        padding: 36px;
        text-align: left;
        gap: 36px;
    }

    .about-info-wrap {
        flex: 1;
    }

    .about-info-wrap .section-pre-tag {
        text-align: left;
    }

    .quirk-item {
        justify-content: flex-start;
    }

    .about-cta-row {
        justify-content: flex-start;
    }

    .footer-columns {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 36px;
    }

    .footer-bottom-bar {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT 3: MIN-WIDTH: 1024px (DESKTOP & LAPTOPS)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
    .container {
        max-width: 1120px;
        padding: 0 24px;
    }

    .navbar {
        padding: 0 24px;
    }

    .nav-container {
        height: 72px;
    }

    /* Floating Pill State on Desktop */
    .navbar.is-floating .nav-container {
        margin-top: 12px;
        height: 58px;
        max-width: 1040px;
        padding: 0 20px;
    }

    /* Reading Mode Compact Pill on Desktop Scroll Down */
    .navbar.is-compact .nav-container {
        max-width: 580px;
        height: 52px;
        padding: 0 16px 0 20px;
        margin-top: 12px;
    }

    /* Keep Brand Text & Actions visible on Desktop */
    .navbar.is-compact .nav-brand-text {
        max-width: 260px !important;
        opacity: 1 !important;
        overflow: visible !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    .navbar.is-compact .music-widget,
    .navbar.is-compact #themeToggleBtn {
        max-width: 120px !important;
        width: auto !important;
        opacity: 1 !important;
        overflow: visible !important;
        transform: scale(1) !important;
        pointer-events: auto !important;
    }

    .navbar.is-compact .nav-actions {
        gap: 8px !important;
    }

    /* Switch Nav to Full Horizontal Desktop Bar */
    .nav-center-menu {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0;
        gap: 24px;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        width: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        z-index: 1;
        max-width: 580px;
        transition: max-width 0.48s cubic-bezier(0.34, 1.32, 0.5, 1),
                    opacity 0.24s ease,
                    transform 0.28s ease,
                    gap 0.28s ease;
    }

    .nav-center-menu li {
        width: auto;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .nav-link-icon,
    .nav-link-sub,
    .nav-link-arrow {
        display: none !important;
    }

    .nav-link {
        padding: 6px 12px;
        border-radius: 8px;
        border: none;
        background: transparent !important;
        min-height: auto;
        gap: 0;
    }

    .nav-link-title {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-muted);
        letter-spacing: 0.5px;
    }

    .nav-link:hover .nav-link-title,
    .nav-link.active .nav-link-title {
        color: var(--gold-dark);
    }

    /* Collapse center links during reading compression */
    .navbar.is-compact .nav-center-menu {
        max-width: 0;
        opacity: 0;
        transform: translateY(-8px);
        overflow: hidden;
        pointer-events: none;
        margin: 0;
        gap: 0;
    }

    .mobile-toggle,
    .mobile-only-link,
    .mobile-nav-backdrop {
        display: none !important;
    }

    .hero-stage {
        padding: 50px 0 30px;
    }

    .calligraphy-emblem {
        height: 52px;
        margin-bottom: 16px;
    }

    .hero-royal-arch {
        width: 170px;
        height: 220px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        max-width: 650px;
    }

    .heirloom-card {
        padding: 36px 40px;
    }

    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .vlogs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    .story-reader-paper {
        max-width: 760px;
    }

    .story-reader-hero-img {
        height: 320px;
    }

    .story-reader-content {
        padding: 40px 48px;
    }

    .story-reader-title {
        font-size: 2.2rem;
    }

    .video-modal-content {
        max-width: 880px;
    }
}
