/* 
  SDA Express Premium CSS — Redesigned with taste-skill
  DESIGN_VARIANCE: 8 / MOTION_INTENSITY: 6 / VISUAL_DENSITY: 4
*/

:root {
    /* Color Palette — desaturated per taste-skill Rule 2 (max 80% saturation) */
    --c-cream: #FAF9F6;
    --c-espresso: #2C1A14;
    --c-espresso-dark: #180D08;          /* Off-black, not pure #000 */
    --c-red: #D94F2B;                     /* Desaturated from #FF5A00 */
    --c-red-deep: #B03A1E;               /* Deep, not oversaturated */
    --c-gray-light: #F2F1EF;
    --c-gray-mid: #E3E2DF;
    --c-text-main: #1E120B;
    --c-text-muted: #7A706B;
    --c-text-inverse: #FAF9F6;

    /* Typography — Geist replaces Inter (Inter banned by taste-skill) */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Geist', 'Inter', sans-serif;

    /* Layout */
    --header-height: 72px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 100px;

    /* Shadows — tinted to background hue (taste-skill Rule 4) */
    --shadow-sm:  0 4px 16px rgba(26, 12, 8, 0.06);
    --shadow-md:  0 12px 40px rgba(26, 12, 8, 0.10);
    --shadow-lg:  0 28px 56px rgba(26, 12, 8, 0.14);
    --shadow-red: 0 12px 40px rgba(185, 60, 30, 0.22);

    /* Transitions */
    --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.22s ease;
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ====================================
   Reset & Base Styles
==================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text-main);
    background-color: var(--c-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--c-espresso-dark);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ====================================
   Layout & Utility Classes
==================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section { padding: 128px 0; }

.section-dark {
    background-color: var(--c-espresso-dark);
    color: var(--c-text-inverse);
}
.section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--c-text-inverse);
}

.section-light { background-color: var(--c-gray-light); }

.section-accent {
    /* Desaturated brand red, not neon */
    background: linear-gradient(140deg, #1E0E08 0%, #2E150D 40%, #3D1A0E 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.section-accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(185, 60, 30, 0.35) 0%, transparent 65%);
    pointer-events: none;
}
.section-accent h2, .section-accent h3, .section-accent p { color: white; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--c-red);
    transition: var(--transition-smooth);
    white-space: nowrap;
}
.view-all-link:hover {
    gap: 14px;
    color: var(--c-red-deep);
}

/* ====================================
   Buttons
==================================== */
@property --glow-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* Directional hover fill setup */
.btn, .cta-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
}

/* Directional fill layer */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.12);
    transform: translateX(calc(var(--dx, 0) * -110%)) translateY(calc(var(--dy, 0) * -110%));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    z-index: -1;
    border-radius: inherit;
}
.btn:hover::after { opacity: 1; transform: translateX(0) translateY(0); }

/* Outer glow ring on hover */
.btn::before, .cta-button::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: conic-gradient(from var(--glow-angle), transparent 0%, var(--c-red) 30%, var(--c-red-deep) 50%, transparent 70%);
    z-index: -2;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.btn:hover::before, .cta-button:hover::before {
    opacity: 1;
    animation: spinGlow 2.5s linear infinite;
}

@keyframes spinGlow {
    0%   { --glow-angle: 0deg; }
    100% { --glow-angle: 360deg; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--c-red);
    color: white;
    box-shadow: var(--shadow-red);
}
.btn-primary:hover {
    background-color: var(--c-red-deep);
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(185, 60, 30, 0.32);
}
.btn-primary:active { transform: translateY(-1px) scale(0.98); }

.btn-primary-dark {
    background-color: var(--c-cream);
    color: var(--c-espresso-dark);
    font-weight: 700;
}
.btn-primary-dark:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.btn-primary-dark:active { transform: translateY(-1px) scale(0.98); }

/* Liquid glass button — inner refraction border */
.glass-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
    color: white;
}
.glass-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255,255,255,0.25);
}

/* Sparkle / Ripple */
.sparkle-container {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}

.sparkle {
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: sparkle-burst 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    pointer-events: none;
}

.btn-primary .sparkle {
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
}
.btn-primary-dark .sparkle, .cta-button .sparkle {
    background: radial-gradient(circle, rgba(185,80,30,0.8) 0%, rgba(185,80,30,0) 70%);
}
.glass-btn .sparkle {
    background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%);
}

/* Discovery pill dust motes */
.pill-sparkle {
    background: radial-gradient(circle, rgba(255, 220, 140, 0.95) 0%, rgba(255, 245, 200, 0.4) 50%, transparent 100%);
    animation: dust-drift var(--dust-dur, 1.2s) cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
    border-radius: 50%;
    opacity: 0;
}

@keyframes dust-drift {
    0%   { transform: translate(-50%,-50%) translate(0px, 0px) scale(1); opacity: 0.9; }
    40%  { opacity: 0.7; }
    100% { transform: translate(-50%,-50%) translate(var(--dx,0px), var(--dy,-30px)) scale(0.2); opacity: 0; }
}

@keyframes sparkle-burst {
    0%   { transform: translate(-50%,-50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%,-50%) scale(4); opacity: 0; }
}

/* ====================================
   Header / Navigation — Liquid Glass
==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    /* Liquid glass: blur + inner border for refraction edge */
    background: rgba(250, 249, 246, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(44, 26, 20, 0.07);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), 0 1px 0 rgba(44,26,20,0.05);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: rgba(250, 249, 246, 0.96);
    box-shadow: var(--shadow-sm), inset 0 -1px 0 rgba(255,255,255,0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    z-index: 2;
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--c-espresso-dark);
    letter-spacing: -0.03em;
}

.brand-img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-img-footer {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-text-main);
    opacity: 0.7;
    letter-spacing: 0.01em;
}

.nav-links a:hover, .nav-links a.active {
    opacity: 1;
    color: var(--c-red);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-espresso-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    opacity: 0.7;
}
.icon-btn:hover { opacity: 1; color: var(--c-red); }

.cta-button {
    background-color: var(--c-espresso-dark);
    color: var(--c-cream);
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    letter-spacing: 0.01em;
}
.cta-button:hover { background-color: var(--c-red); }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--c-espresso-dark);
    cursor: pointer;
}

/* ====================================
   Hero Section — Asymmetric Split Screen
   taste-skill: centered hero BANNED (DESIGN_VARIANCE > 4)
==================================== */
.hero-section {
    position: relative;
    min-height: 100dvh;       /* dvh prevents iOS Safari layout jump */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-height);
    background-color: var(--c-espresso-dark);
    overflow: hidden;
}

/* Mesh gradient background — animated orb blobs */
.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 75% 45%, rgba(180, 55, 25, 0.28) 0%, transparent 65%),
        radial-gradient(ellipse 40% 60% at 15% 80%, rgba(120, 35, 15, 0.18) 0%, transparent 60%);
    z-index: 1;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.016) 0px, rgba(255,255,255,0.016) 1px, transparent 1px, transparent 64px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.016) 0px, rgba(255,255,255,0.016) 1px, transparent 1px, transparent 64px);
}

/* Asymmetric two-column split */
.hero-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    padding-top: 60px;
    padding-bottom: 32px;
}

/* Left: Content — left-aligned, NOT centered */
.hero-content-left {
    text-align: left;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    /* Liquid glass label */
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    border-radius: var(--radius-pill);
    color: rgba(255,220,180,0.9);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(3.2rem, 5.5vw, 6rem);
    font-weight: 800;
    color: var(--c-text-inverse);
    line-height: 1.0;
    letter-spacing: -0.05em;
    margin-bottom: 28px;
}

.hero-title em {
    font-style: normal;
    color: var(--c-red);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(250, 249, 246, 0.65);
    max-width: 480px;
    margin-bottom: 44px;
    line-height: 1.65;
    letter-spacing: 0.01em;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Right: Abstract visual panel */
.hero-visual {
    position: relative;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(185, 60, 30, 0.42), rgba(120, 35, 15, 0.15));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 120, 60, 0.22), transparent);
    top: 20%;
    right: 10%;
    animation-delay: -3s;
    animation-duration: 10s;
}

.hero-orb-3 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 200, 120, 0.14), transparent);
    bottom: 15%;
    left: 15%;
    animation-delay: -5s;
    animation-duration: 12s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    33%       { transform: translate(-50%, -50%) scale(1.06) translateY(-12px); }
    66%       { transform: translate(-50%, -50%) scale(0.96) translateY(10px); }
}

/* Floating stat cards on the orb */
.hero-stats-float {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.hero-float-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 24px rgba(0,0,0,0.2);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    text-align: right;
    min-width: 140px;
    animation: floatCard 6s ease-in-out infinite;
}
.hero-float-card:last-child { animation-delay: -3s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.float-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.04em;
    line-height: 1;
}

.float-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* Quick Discovery */
.quick-discovery {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 24px;
    padding-bottom: 48px;
}

.pill-scroller {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 16px 0;
    scrollbar-width: none;
    flex-wrap: wrap;
}
.pill-scroller::-webkit-scrollbar { display: none; }

/* Liquid glass pills with refraction border */
.discovery-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    border-radius: var(--radius-pill);
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-weight: 500;
    white-space: normal;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.discovery-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 8px 24px rgba(0,0,0,0.2);
    color: white;
}

.pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    flex-shrink: 0;
}
.discovery-pill:hover .pill-icon { opacity: 1; }

/* ====================================
   Community Near Me — Asymmetric Bento Grid
   taste-skill: 3-equal-col BANNED
==================================== */
.city-bento {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.city-bento-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.city-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    background: var(--c-espresso);
    height: 300px;
    /* Staggered reveal */
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 80ms),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 80ms);
}

.city-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.city-card-large {
    height: 100%;
    min-height: 400px;
}

.city-bento-stack .city-card {
    flex: 1;
    height: auto;
    min-height: 185px;
}

.city-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-card:hover .city-image { transform: scale(1.06); }

.city-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 28px 32px;
    z-index: 2;
}

.city-content h3 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    margin-bottom: 4px;
    color: white;
}

.city-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ====================================
   Featured Directory — Spotlight Cards
==================================== */
.premium-card-scroller {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 40px 16px 64px;
    margin: -20px -16px -44px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}
.premium-card-scroller::-webkit-scrollbar { display: none; }

/* Spotlight border card — border illuminates under cursor (CSS only via gradient) */
.resource-card {
    min-width: 320px;
    flex: 0 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    scroll-snap-align: start;
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    position: relative;
    /* Stagger reveal */
    opacity: 0;
    translate: 0 24px;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 90ms),
                translate 0.7s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 90ms),
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.45s ease;
}

.resource-card.in-view {
    opacity: 1;
    translate: 0 0;
}

/* Spotlight border glow using pseudo element */
.resource-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient( from var(--card-angle, 0deg) at var(--mx,50%) var(--my,50%),
        transparent 0deg,
        rgba(185, 60, 30, 0.55) 30deg,
        rgba(255, 120, 60, 0.3) 60deg,
        transparent 90deg,
        transparent 360deg
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: inherit;
}
.resource-card:hover::before { opacity: 1; }

.resource-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 24px 64px rgba(26, 12, 8, 0.16);
}

/* Card media with shimmer sweep */
.card-media {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.card-media-1 { background: linear-gradient(130deg, #1a3a5c 0%, #2e6490 50%, #4a90c4 100%); }
.card-media-2 { background: linear-gradient(130deg, #2d5a1b 0%, #4a8c2e 50%, #6dbf3e 100%); }
.card-media-3 { background: linear-gradient(130deg, #4a1a3c 0%, #7d2e6e 50%, #b04498 100%); }
.card-media-4 { background: linear-gradient(130deg, #3d3010 0%, #7a6020 50%, #c4982e 100%); }

/* Shimmer sweep animation */
.card-media-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
        rgba(255,255,255,0) 30%,
        rgba(255,255,255,0.14) 50%,
        rgba(255,255,255,0) 70%
    );
    background-size: 200% 100%;
    animation: shimmerSweep 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmerSweep {
    0%   { background-position: -100% center; }
    60%  { background-position: 200% center; }
    100% { background-position: 200% center; }
}

.card-media .tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--c-espresso-dark);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.card-info { padding: 24px; }

/* Location with SVG icon */
.card-info .location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--c-text-muted);
    font-weight: 600;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.3rem;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* ====================================
   Scroller Dots + Chevron Navigation
==================================== */
.scroller-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.scroller-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.scroller-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(26, 12, 8, 0.18);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: block;
}

.scroller-dot.active {
    background: var(--c-red);
    width: 24px;
    border-radius: 4px;
}

.scroller-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(26, 12, 8, 0.12);
    background: white;
    color: var(--c-espresso-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.scroller-chevron:hover {
    background: var(--c-red);
    color: white;
    border-color: var(--c-red);
    transform: scale(1.08);
    box-shadow: var(--shadow-red);
}

/* ====================================
   Media Highlights (Videos)
==================================== */
.media-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 32px;
}

.media-card { width: 100%; cursor: pointer; }

.media-card:hover .play-overlay {
    background: rgba(185, 60, 30, 0.88);
    transform: translate(-50%, -50%) scale(1.08);
}

.media-thumbnail {
    position: relative;
    border-radius: var(--radius-xl);
    background: #333;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 16/9;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.duration {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.media-title {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

.media-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.video-breadcrumb {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-red);
    transition: var(--transition-fast);
    padding: 4px 0;
    margin-top: 4px;
}
.video-breadcrumb:hover {
    color: var(--c-red-deep);
    transform: translateX(-4px);
}

.media-side-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.media-list-item {
    display: flex;
    gap: 16px;
    cursor: pointer;
    align-items: center;
    border-radius: var(--radius-md);
    padding: 8px;
    margin: -8px;
    transition: background 0.25s ease;
}
.media-list-item:hover { background: rgba(255,255,255,0.04); }
.media-list-item:hover .list-title { color: var(--c-red); }

.list-thumbnail {
    flex: 0 0 160px;
    height: 90px;
    border-radius: var(--radius-md);
    position: relative;
    background: #444;
    overflow: hidden;
}

.list-details { flex: 1; }

.list-title {
    font-size: 1rem;
    margin-bottom: 6px;
    transition: var(--transition-fast);
    line-height: 1.35;
    color: var(--c-text-inverse);
}

.list-meta {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ====================================
   Mission Section — Animated Stat Band
==================================== */
.section-mission {
    background-color: var(--c-cream);
    padding: 160px 0;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.section-mission::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Subtle warm radial glow bottom-center */
    background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(185,60,30,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Refined grid overlay — adapts hero-mesh to light cream */
.section-mission::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    /* Fine grid lines — barely visible on cream, professional not noisy */
    background-image:
        repeating-linear-gradient(0deg,  rgba(26,12,8,0.045) 0px, rgba(26,12,8,0.045) 1px, transparent 1px, transparent 72px),
        repeating-linear-gradient(90deg, rgba(26,12,8,0.045) 0px, rgba(26,12,8,0.045) 1px, transparent 1px, transparent 72px);
    /* Vignette mask fades the grid out at all four edges */
    -webkit-mask-image:
        radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 100%);
    mask-image:
        radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 100%);
}

.mission-statement {
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 80px;
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.04em;
    position: relative;
    z-index: 1;
}

.mission-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 240px;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(26,12,8,0.1);
}

.stat-number {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--c-red);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.05em;
    transition: color 0.3s;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-text-muted);
    letter-spacing: 0.02em;
}

/* ====================================
   CTA Section — Asymmetric Two-Column
==================================== */
.cta-section { padding: 100px 0; position: relative; }

.cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 64px;
}

.cta-left h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    color: white;
    letter-spacing: -0.05em;
    line-height: 0.95;
    margin-bottom: 20px;
}

.cta-left p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    line-height: 1.6;
}

.cta-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ====================================
   Footer
==================================== */
.global-footer {
    background-color: var(--c-espresso-dark);
    color: white;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
    gap: 40px;
}

.footer-brand .brand-text {
    color: white;
    margin-bottom: 12px;
    display: block;
}

.footer-brand p {
    color: rgba(255,255,255,0.45);
    max-width: 280px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links { display: flex; gap: 72px; }

.link-group h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
}

.link-group ul { list-style: none; }
.link-group li { margin-bottom: 14px; }

.link-group a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}
.link-group a:hover { color: var(--c-red); }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 32px;
}

.powered-by-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
    transition: var(--transition-smooth);
}
.powered-by-link:hover { color: var(--c-red); }

.bolt-icon {
    color: #FFD700;
    font-size: 1rem;
}

/* ====================================
   Animations & Scroll Reveals
==================================== */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    animation: fadeUpAnim 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }

@keyframes fadeUpAnim {
    to { opacity: 1; transform: translateY(0); }
}

/* ====================================
   Mobile Navigation Overlay
==================================== */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 8px; }
    .hero-visual { height: 300px; }
    .hero-content-left { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }

    .media-grid { grid-template-columns: 1fr; }
    .city-bento { grid-template-columns: 1fr; }
    .city-card, .city-card-large { min-height: 260px; height: 260px; }
    .city-bento-stack { flex-direction: row; }
    .city-bento-stack .city-card { min-height: 220px; }

    .cta-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .cta-right { justify-content: center; }
    .cta-left p { margin: 0 auto; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .section-mission { padding: 100px 0; }

    /* Mobile nav overlay */
    .desktop-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 5%;
        gap: 24px;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }

    .header.menu-open .desktop-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .header.menu-open { background: rgba(250, 249, 246, 0.98); }

    .nav-links { flex-direction: column; width: 100%; gap: 24px; }
    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding-bottom: 12px;
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin-top: auto;
        padding-bottom: 40px;
    }

    .cta-button { width: 100%; text-align: center; padding: 14px 20px; }
    .mobile-menu-toggle { display: block; }

    .hero-title { font-size: 3rem; }
    .hero-visual { display: none; } /* Hide orb panel on mobile for clean layout */

    .city-bento { grid-template-columns: 1fr; }
    .city-bento-stack { flex-direction: column; }

    .pill-scroller {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 12px 0;
    }
    .discovery-pill {
        flex: 1 1 calc(50% - 10px);  /* two pills per row on tablet/mobile */
        max-width: calc(50% - 10px);
        justify-content: center;
    }
    .quick-discovery { margin-top: 12px; padding-bottom: 28px; }

    .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }

    .mission-statement { font-size: 2rem; margin-bottom: 56px; }
    .mission-stats { flex-direction: column; align-items: center; gap: 32px; }
    .stat-item + .stat-item::before { display: none; }

    .cta-left h2 { font-size: 2.8rem; }

    .footer-content { flex-direction: column; gap: 48px; }
    .footer-links { flex-direction: column; gap: 32px; }
}

/* ====================================
   Search Overlay
==================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    /* Clip from center outward — iris animation */
    clip-path: circle(0% at calc(100% - 80px) 36px);
    transition: clip-path 0.65s cubic-bezier(0.76, 0, 0.24, 1);
}

.search-overlay.is-open {
    pointer-events: auto;
    clip-path: circle(150% at calc(100% - 80px) 36px);
}

/* Dark frosted backdrop */
.search-overlay-bg {
    position: absolute;
    inset: 0;
    background: rgba(16, 8, 4, 0.97);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
}

/* Decorative ambient glow blob */
.search-overlay-bg::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(185, 60, 30, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Inner content wrapper */
.search-overlay-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 48px 5%;
    gap: 40px;
    /* Stagger children in */
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease 0.25s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.search-overlay.is-open .search-overlay-inner {
    opacity: 1;
    transform: translateY(0);
}

/* Close button */
.search-close {
    position: absolute;
    top: 28px;
    right: 5%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}
.search-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Eyebrow label */
.search-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--font-body);
}

/* Search form + input */
.search-form {
    width: 100%;
    max-width: 780px;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 0 0px rgba(185, 60, 30, 0);
    border-radius: 20px;
    padding: 0 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px);
}

.search-input-wrap:focus-within {
    border-color: rgba(185, 60, 30, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 0 4px rgba(185, 60, 30, 0.16);
}

.search-form-icon {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.35);
    margin-right: 14px;
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 600;
    color: white;
    padding: 22px 0;
    letter-spacing: -0.02em;
    caret-color: var(--c-red);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.search-submit-btn {
    flex-shrink: 0;
    background: var(--c-red);
    border: none;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.search-submit-btn:hover {
    background: var(--c-red-deep);
    transform: scale(1.05);
}

/* Category chips */
.search-categories {
    width: 100%;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-cat-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-body);
}

.search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
}
.search-chip:hover {
    background: rgba(185, 60, 30, 0.2);
    border-color: rgba(185, 60, 30, 0.45);
    color: white;
    transform: translateY(-2px);
}
.search-chip svg { opacity: 0.6; }
.search-chip:hover svg { opacity: 1; }

/* Trending section */
.search-trending {
    width: 100%;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 28px;
}

.search-trending-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-trending-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.search-trending-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}
.search-trending-item svg { color: var(--c-red); opacity: 0.8; }

@media (max-width: 768px) {
    .search-overlay {
        clip-path: circle(0% at calc(100% - 52px) 40px);
    }
    .search-overlay.is-open {
        clip-path: circle(160% at calc(100% - 52px) 40px);
    }
    .search-input {
        font-size: 1.3rem;
        padding: 18px 0;
    }
    .search-input-wrap { padding: 0 14px; border-radius: 14px; }
    .search-overlay-inner { gap: 28px; }
}

