/**
 * ==============================================================================
 * SADRA VISUALS — ARTBOOK PHOTOGRAPHY GALLERY DESIGN SYSTEM
 * LAYER 5.1: CSS TOKEN ENGINE & DUAL-THEME ARTBOOK AESTHETICS
 * ==============================================================================
 * High-performance CSS custom properties defining:
 * 1. Dual-Palette Theme Engine (Cinematic Dark Mode vs Gallery Light Mode)
 * 2. 5-Mood Chromatic Palette Tokens
 * 3. Fluid Editorial Typography & Spacing Systems
 * 4. Architectural Z-Index Layer Hierarchy
 * 5. Glassmorphism, Shadows & Glow Filters
 * 6. Mobile-First Fluid Geometry & Safe-Area Bounds
 */

:root,
[data-theme="dark"],
.theme-dark {
    /* --------------------------------------------------------------------------
       1. Ambient & Background Surfaces (Cinematic Dark Exhibition)
       -------------------------------------------------------------------------- */
    --bg-deep: #08090c;
    --bg-surface: #11141b;
    --bg-card: rgba(18, 22, 34, 0.75);
    --bg-card-hover: rgba(26, 32, 50, 0.92);
    --bg-overlay: rgba(8, 9, 12, 0.88);
    --bg-overlay-heavy: rgba(5, 6, 8, 0.96);
    --bg-modal: #0e121d;
    --bg-input: rgba(255, 255, 255, 0.05);
    --bg-input-focus: rgba(255, 255, 255, 0.09);
    --shield-bg: rgba(0, 0, 0, 0.001);
    --card-actions-bg: rgba(10, 14, 22, 0.42);

    /* --------------------------------------------------------------------------
       2. Subtle & Interactive Borders
       -------------------------------------------------------------------------- */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.16);
    --border-strong: rgba(255, 255, 255, 0.28);
    --border-active: rgba(212, 175, 55, 0.55);
    --dock-border: rgba(255, 255, 255, 0.12);
    --separator-line: rgba(255, 255, 255, 0.06);

    /* --------------------------------------------------------------------------
       3. Typography & Text Hierarchy
       -------------------------------------------------------------------------- */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --text-inverse: #090a0f;

    /* --------------------------------------------------------------------------
       4. Fine Art Metallic Accents & Dynamic Glows
       -------------------------------------------------------------------------- */
    --accent-gold: #d4af37;
    --accent-gold-hover: #e6c555;
    --accent-gold-glow: rgba(212, 175, 55, 0.25);
    --accent-cyan: #38bdf8;
    --accent-cyan-glow: rgba(56, 189, 248, 0.25);
    --accent-blue: #3b82f6;
    --accent-emerald: #10b981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.22);
    --accent-danger: #ef4444;
    --accent-warning: #f59e0b;

    /* --------------------------------------------------------------------------
       5. 5-Mood Chromatic Classifier Spectrum
       -------------------------------------------------------------------------- */
    --mood-warm-gold: #d4af37;
    --mood-teal-ocean: #0284c7;
    --mood-monochrome: #94a3b8;
    --mood-emerald-forest: #10b981;
    --mood-crimson-red: #ef4444;

    /* --------------------------------------------------------------------------
       6. Glassmorphism & Translucency
       -------------------------------------------------------------------------- */
    --glass-dock: rgba(13, 16, 26, 0.85);
    --glass-header: rgba(8, 9, 12, 0.82);
    --glass-drawer: rgba(14, 18, 29, 0.94);
    --glass-blur: blur(20px);
    --glass-blur-sm: blur(10px);
    --glass-blur-lg: blur(32px);

    /* --------------------------------------------------------------------------
       7. Elevations & Shadows
       -------------------------------------------------------------------------- */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow-gold: 0 0 25px rgba(212, 175, 55, 0.25);
    --shadow-glow-cyan: 0 0 25px rgba(56, 189, 248, 0.25);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

    /* --------------------------------------------------------------------------
       8. Ambient Atmosphere Gradients
       -------------------------------------------------------------------------- */
    --body-ambient: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.07), transparent 70%),
        radial-gradient(ellipse 50% 50% at 90% 100%, rgba(59, 130, 246, 0.04), transparent);
}

/* ==============================================================================
   GALLERY LIGHT MODE OVERRIDES
   ============================================================================== */
[data-theme="light"],
.theme-light {
    --bg-deep: #f7f8fa;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.94);
    --bg-card-hover: #ffffff;
    --bg-overlay: rgba(247, 248, 250, 0.92);
    --bg-overlay-heavy: rgba(240, 242, 246, 0.98);
    --bg-modal: #ffffff;
    --bg-input: rgba(0, 0, 0, 0.04);
    --bg-input-focus: rgba(0, 0, 0, 0.07);
    --shield-bg: rgba(255, 255, 255, 0.001);
    --card-actions-bg: rgba(255, 255, 255, 0.72);

    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-medium: rgba(0, 0, 0, 0.16);
    --border-strong: rgba(0, 0, 0, 0.28);
    --border-active: rgba(179, 137, 20, 0.6);
    --dock-border: rgba(0, 0, 0, 0.12);
    --separator-line: rgba(0, 0, 0, 0.06);

    --text-primary: #18181b;
    --text-secondary: #334155;
    --text-muted: #52525b;
    --text-dim: #71717a;
    --text-inverse: #f8fafc;

    --accent-gold: #b38914;
    --accent-gold-hover: #96720d;
    --accent-gold-glow: rgba(179, 137, 20, 0.2);
    --accent-cyan: #0284c7;
    --accent-cyan-glow: rgba(2, 132, 199, 0.2);
    --accent-blue: #2563eb;
    --accent-emerald: #059669;
    --accent-emerald-glow: rgba(5, 150, 105, 0.2);
    --accent-danger: #dc2626;
    --accent-warning: #d97706;

    --glass-dock: rgba(255, 255, 255, 0.94);
    --glass-header: rgba(255, 255, 255, 0.88);
    --glass-drawer: rgba(255, 255, 255, 0.98);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14);
    --shadow-glow-gold: 0 0 25px rgba(179, 137, 20, 0.2);
    --shadow-glow-cyan: 0 0 25px rgba(2, 132, 199, 0.2);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);

    --body-ambient: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(179, 137, 20, 0.06), transparent 70%),
        radial-gradient(ellipse 50% 50% at 90% 100%, rgba(37, 99, 235, 0.03), transparent);
}

/* ==============================================================================
   STATIC TOKENS INDEPENDENT OF THEME
   ============================================================================== */
:root {
    /* --------------------------------------------------------------------------
       Typography Families
       -------------------------------------------------------------------------- */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, Monaco, monospace;

    /* --------------------------------------------------------------------------
       Type Scale (Harmonic Fluid Clamps)
       -------------------------------------------------------------------------- */
    --text-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
    --text-sm: clamp(0.82rem, 0.78rem + 0.25vw, 0.92rem);
    --text-base: clamp(0.95rem, 0.9rem + 0.3vw, 1.06rem);
    --text-lg: clamp(1.1rem, 1.02rem + 0.4vw, 1.25rem);
    --text-xl: clamp(1.3rem, 1.18rem + 0.6vw, 1.55rem);
    --text-2xl: clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
    --text-3xl: clamp(2.1rem, 1.8rem + 1.6vw, 3rem);

    /* --------------------------------------------------------------------------
       Border Radii (Modern Artbook Curves)
       -------------------------------------------------------------------------- */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-pill: 9999px;
    --radius-full: 9999px;

    /* --------------------------------------------------------------------------
       Harmonic Layout & Component Spacing System
       -------------------------------------------------------------------------- */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;

    /* --------------------------------------------------------------------------
       Cohesive Architectural Z-Index Scale
       -------------------------------------------------------------------------- */
    --z-base: 1;
    --z-card-overlay: 3;
    --z-card-action: 6;
    --z-controls: 80;
    --z-dropdown: 100;
    --z-dock: 500;
    --z-header: 800;
    --z-header-menu: 900;
    --z-lightbox: 10000;
    --z-modal: 10500;
    --z-drawer: 10600;
    --z-editor: 10700;
    --z-slideshow: 10800;
    --z-toast: 12000;

    /* --------------------------------------------------------------------------
       Transitions & Spring Kinetics
       -------------------------------------------------------------------------- */
    --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* --------------------------------------------------------------------------
       Touch Ergonomics & Safe-Area Bounds
       -------------------------------------------------------------------------- */
    --min-tap-target: 44px;
    --container-max-w: 1600px;
    --header-height: 64px;
    --dock-height: 58px;

    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
}

/* ==============================================================================
   MANDATORY MOBILE-FIRST RESET & BASE FOUNDATIONS
   ============================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-bottom: calc(var(--dock-height) + var(--safe-bottom) + 60px);
    background-image: var(--body-ambient);
    background-attachment: fixed;
    transition: background-color 0.3s ease, color 0.3s ease;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Mobile Touch Ergonomics: Enforce 16px minimum on input elements to prevent iOS Safari zoom */
input, select, textarea, button {
    font-family: inherit;
    font-size: 16px;
    color: inherit;
}

/* Custom-Styled Select Dropdowns (Dark & Light Theme Normalization) */
select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    color-scheme: dark;
    background-color: rgba(12, 14, 20, 0.75);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 14px;
    padding: 0 40px 0 14px;
    min-height: 44px;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
    border-radius: var(--radius-md, 8px);
    color: var(--text-primary, #f1f5f9);
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

select::-ms-expand {
    display: none !important;
}

select::-webkit-inner-spin-button,
select::-webkit-calendar-picker-indicator {
    display: none !important;
    -webkit-appearance: none !important;
}

select::selection,
select:focus::selection {
    background: transparent !important;
    color: inherit !important;
}

select::-moz-selection,
select:focus::-moz-selection {
    background: transparent !important;
    color: inherit !important;
}

select:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background-color: rgba(18, 21, 30, 0.85);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

select:focus,
select:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    border-color: var(--accent-gold, #d4af37) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2) !important;
    background-color: rgba(16, 20, 28, 0.95);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

select option {
    background-color: #0b0d14;
    color: #f1f5f9;
    padding: 10px 14px;
    font-size: 15px;
}

select option:checked {
    background-color: #1a2030 !important;
    color: var(--accent-gold, #d4af37) !important;
    font-weight: 600;
}

select optgroup {
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted, #94a3b8);
    background-color: #080a10;
    padding: 10px 14px 4px;
}

select optgroup option {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    text-transform: none;
    letter-spacing: normal;
    padding-left: 24px;
    background-color: #0b0d14;
    color: #f1f5f9;
}

/* Light Theme Support for Selects */
[data-theme="light"] select,
html.light select {
    background-color: #ffffff;
    color: var(--text-primary, #0f172a);
    border-color: rgba(15, 23, 42, 0.16);
    color-scheme: light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

[data-theme="light"] select:hover,
html.light select:hover {
    background-color: #f8fafc;
    border-color: rgba(180, 120, 20, 0.45);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b47814' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

[data-theme="light"] select:focus,
[data-theme="light"] select:focus-visible,
html.light select:focus,
html.light select:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    border-color: var(--accent-gold, #b47814) !important;
    box-shadow: 0 0 0 3px rgba(180, 120, 20, 0.18) !important;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b47814' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

[data-theme="light"] select option,
html.light select option {
    background-color: #ffffff;
    color: #0f172a;
}

[data-theme="light"] select option:checked,
html.light select option:checked {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    font-weight: 600;
}

[data-theme="light"] select optgroup,
html.light select optgroup {
    background-color: #f1f5f9;
    color: #64748b;
}

[data-theme="light"] select optgroup option,
html.light select optgroup option {
    background-color: #ffffff;
    color: #0f172a;
}

/* Interactive Tap Target Floor */
button, .btn, [role="button"], a.pill, .tap-target {
    min-height: var(--min-tap-target);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Smooth Focus Rings */
:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

/* Utility Helpers */
.container {
    width: 100%;
    max-width: var(--container-max-w);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(12px, 3vw, 36px);
    padding-right: clamp(12px, 3vw, 36px);
}

.text-gold { color: var(--accent-gold); }
.text-cyan { color: var(--accent-cyan); }
.text-emerald { color: var(--accent-emerald); }
.text-danger { color: var(--accent-danger); }
.text-muted { color: var(--text-muted); }
.font-mono { font-family: var(--font-mono); }
.font-display { font-family: var(--font-display); }

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

/* ==============================================================================
   SITE HEADER & NAVIGATION
   ============================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    background: var(--glass-header);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 16px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    min-height: var(--min-tap-target);
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-active);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: var(--shadow-glow-gold);
}

.brand-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    min-width: 0;
}

.brand-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-subtitle {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}


.inquiry-email-direct {
    color: var(--accent-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.inquiry-email-direct:hover {
    color: var(--text-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: 500;
    min-height: var(--min-tap-target);
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    width: var(--min-tap-target);
    height: var(--min-tap-target);
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.btn-icon:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-active);
    color: var(--accent-gold);
}

.theme-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* Theme Toggle Sun / Moon Visibility Logic */
[data-theme="dark"] .icon-moon,
.theme-dark .icon-moon {
    display: none;
}

[data-theme="dark"] .icon-sun,
.theme-dark .icon-sun {
    display: inline-block;
    color: var(--accent-gold);
}

[data-theme="light"] .icon-sun,
.theme-light .icon-sun {
    display: none;
}

[data-theme="light"] .icon-moon,
.theme-light .icon-moon {
    display: inline-block;
    color: var(--accent-gold);
}

.btn-pill {
    min-height: var(--min-tap-target);
    padding: 0 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-pill:hover {
    border-color: var(--border-active);
    background: var(--bg-card-hover);
    color: var(--accent-gold);
}

.pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
}

/* ==============================================================================
   HERO HEADLINE & VIEWPORT SHELL
   ============================================================================== */
.hero-container {
    padding-top: clamp(28px, 6vw, 64px);
    padding-bottom: clamp(16px, 3vw, 36px);
    text-align: center;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.hero-subhead {
    color: var(--text-muted);
    font-size: var(--text-lg);
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* ==============================================================================
   RESPONSIVE MOBILE BREAKPOINTS (< 768px & < 480px)
   ============================================================================== */
@media (max-width: 1024px) {
    .main-nav {
        display: none; /* Delegated to mobile hamburger & bottom dock on mobile/tablet */
    }
}

@media (max-width: 768px) {

    .brand-title {
        font-size: 1rem;
    }

    .brand-subtitle {
        max-width: 180px;
        font-size: 0.62rem;
    }


    .btn-pill span:not(.pill-dot) {
        font-size: var(--text-xs);
    }
}

@media (max-width: 480px) {
    .brand-subtitle {
        display: none; /* Keep clean single-line title on compact mobile devices */
    }

    .header-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-container {
        padding-top: 24px;
        padding-bottom: 16px;
    }

    .hero-headline {
        font-size: clamp(1.6rem, 1.3rem + 3vw, 2.2rem);
    }

    .hero-subhead {
        font-size: var(--text-base);
    }
}

