
/* ===== fonts.css ===== */
/* Self-hosted Google Fonts — Crimson Pro + Outfit
   Downloaded from fonts.googleapis.com v28/v15 (2026-03-25)
   Latin subset only */

/* Crimson Pro — italic 600 */
@font-face {
  font-family: 'Crimson Pro';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/crimson-pro-italic-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Crimson Pro — normal 600 */
@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/crimson-pro-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Crimson Pro — normal 700 */
@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/crimson-pro-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Outfit — normal 400 */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/outfit-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Outfit — normal 500 */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/outfit-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Outfit — normal 600 */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/outfit-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Outfit — normal 700 */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/outfit-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Outfit — normal 900 (variable axis already in outfit-normal.woff2) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/outfit-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== tokens.css ===== */
:root {
    /* ======================================================
       DESIGN SYSTEM v2.0
       AESTHETIC: Editorial/Magazine + Healthcare
       TONE: Professional trust, warm accessibility
       PALETTE: Warm Orange, Deep Blue-Black, Teal, Cream
       ====================================================== */

    /* --- Brand Palette (decorative only — never in color:) --- */
    --brand-orange: #FF6700;
    --brand-orange-hover: #CC5200;
    --brand-teal: #00B8A9;
    --brand-yellow: #FCB52A;
    --brand-coral: #FF7A59;

    /* --- Accessible Text Colors --- */
    --text-orange: #B34900;
    --text-teal: #006B62;
    --text-body: #3D2B1F;
    --text-heading: #1A1A1A;
    --text-muted: #7A6B5C;

    /* --- Surfaces --- */
    --surface-white: #FFFFFF;
    --surface-warm: #FDF8F4;
    --surface-warm-light: #FAF5EF;
    --surface-warm-alt: #F5EDE4;
    --surface-dark: #0A0F1A;
    --surface-dark-blue: #0F1B2D;

    /* --- Text on Dark --- */
    --text-white: #FFFFFF;               /* always-white token; same value in dark theme — used on rgba(0,0,0,*) overlays in either theme */
    --text-on-dark: #FFFFFF;
    --text-on-dark-muted: #A0B0C4;       /* ~8:1 on #0A0F1A — AAA */
    --text-on-dark-hero: rgba(255, 255, 255, 0.85);
    --text-on-dark-accent: #FF6700;      /* ~7.5:1 on #0A0F1A — AA */
    --text-on-dark-highlight: #FCB52A;   /* ~10:1 on #0A0F1A — AAA */
    --text-on-blue-accent: #FCB52A;      /* kept for compat */

    /* --- Interactive / CTA --- */
    --cta-bg: #0F1B2D;
    --cta-bg-hover: #0A1322;

    /* --- Borders --- */
    --border-subtle: rgba(0, 0, 0, 0.06);

    /* --- Validation --- */
    --color-error: #C0392B;

    /* --- Orange Opacity Scale --- */
    --orange-glow: 0 0 80px rgba(255, 103, 0, 0.12);
    --orange-glow-strong: 0 0 120px rgba(255, 103, 0, 0.2);
    --primary-orange-10: rgba(255, 103, 0, 0.1);
    --primary-orange-05: rgba(255, 103, 0, 0.05);

    /* --- Neutrals (warm-tinted) --- */
    --gray-50: #FDF8F4;
    --gray-100: #FAF5EF;
    --gray-200: #EDE4DA;
    --gray-300: #D4C8BC;
    --gray-400: #A89888;
    --gray-500: #7A6B5C;
    --gray-600: #5C4E40;
    --gray-700: #3E3228;
    --gray-800: #231A12;
    --gray-900: #130E08;

    /* --- Typography --- */
    --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-display: 'Crimson Pro', Georgia, serif;

    /* --- Spacing (8px grid) --- */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* --- Container --- */
    --container-max: 1280px;
    --container-padding: max(1.5rem, calc((100vw - 80rem) / 2));

    /* --- Section --- */
    --section-padding: clamp(3rem, 8vw, 5rem);

    /* --- Radius --- */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;

    /* --- Shadows --- */
    --shadow-resting: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
    --shadow-nav: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);

    /* --- Transitions --- */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* ═══ LEGACY ALIASES (backward compat for subpages) ═══ */
    --primary-orange: var(--brand-orange);
    --primary-dark: var(--brand-orange-hover);
    --primary-light: #FF8533;
    --primary-dark-blue: var(--surface-dark-blue);
    --primary-light-blue: #2D7DD2;
    --primary-yellow: var(--brand-yellow);
    --accent-coral: var(--brand-coral);
    --dark-deep: var(--surface-dark);
    --dark-blue: var(--surface-dark-blue);
    --dark-gradient-start: var(--surface-dark-blue);
    --dark-gradient-end: var(--surface-dark);
    --bg-warm-white: var(--surface-warm);
    --bg-warm-light: var(--surface-warm-light);
    --bg-section-alt: var(--surface-warm-alt);
    --white: var(--surface-white);
    --secondary-teal: var(--brand-teal);
    --primary-orange-1: rgba(255, 103, 0, 1);
    --primary-orange-2: rgba(255, 103, 0, 0.5);
    --primary-orange-3: rgba(255, 103, 0, 0.1);
    --primary-orange-4: rgba(255, 103, 0, 0.05);
    --primary-orange-5: rgba(255, 103, 0, 0.025);
    --section-width: 100%;
    --shadow-sm: var(--shadow-resting);
    --shadow-md: var(--shadow-hover);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
}

/* ===== tokens-dark.css ===== */
/* ======================================================
   THEME OVERRIDES v2.1
   Themes: Ocean (dark) + Light + OS dark-preference fallback
   Method: [data-theme] attribute + @media (prefers-color-scheme: dark)
   ====================================================== */

/* ═══ OCEAN THEME — via media query (OS dark preference) ═══ */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --text-orange: #FF8533;
    --text-teal: #4DE8D4;
    --text-body: #B8C8D8;
    --text-heading: #FFFFFF;
    --text-muted: #6B8399;
    --text-white: #FFFFFF;
    --surface-white: #0F1B2D;
    --surface-warm: #060D18;
    --surface-warm-light: #0A1422;
    --surface-warm-alt: #0F1B2D;
    --surface-input: #081020;
    --cta-bg: #FF6700;
    --cta-bg-hover: #E55A00;
    --border-subtle: rgba(100, 180, 255, 0.08);
    --color-error: #E74C3C;
    --shadow-resting: 0 1px 3px rgba(0, 0, 0, 0.30);
    --shadow-hover: 0 4px 24px rgba(0, 0, 0, 0.40), 0 0 0 1px var(--border-subtle);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.50);
    --shadow-nav: 0 1px 3px rgba(0, 0, 0, 0.30), 0 0 0 1px var(--border-subtle);
    --gray-50: #0A1422;
    --gray-100: #0F1B2D;
    --gray-200: #162538;
    --gray-300: #1E3148;
    --gray-400: #3A5570;
    --gray-500: #6B8399;
    --gray-600: #8EA4B8;
    --gray-700: #B8C8D8;
    --gray-800: #D8E4EC;
    --gray-900: #EEF3F7;
    --bg-warm-white: var(--surface-warm);
    --bg-warm-light: var(--surface-warm-light);
    --bg-section-alt: var(--surface-warm-alt);
    --white: var(--surface-white);
    --shadow-sm: var(--shadow-resting);
    --shadow-md: var(--shadow-hover);
    --surface-dark: #060D18;
    --surface-dark-blue: #0A1422;
    --text-on-dark: #FFFFFF;
    --text-on-dark-muted: #B8C8D8;
    --text-on-dark-hero: rgba(255, 255, 255, 0.9);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.50);
  }
}

/* ═══ OCEAN THEME — deep blue-tinted dark ═══ */
[data-theme="dark"] {
  --text-orange: #FF8533;
  --text-teal: #4DE8D4;
  --text-body: #B8C8D8;
  --text-heading: #FFFFFF;
  --text-muted: #6B8399;
  --text-white: #FFFFFF;
  --surface-white: #0F1B2D;
  --surface-warm: #060D18;
  --surface-warm-light: #0A1422;
  --surface-warm-alt: #0F1B2D;
  --surface-input: #081020;
  --cta-bg: #FF6700;
  --cta-bg-hover: #E55A00;
  --border-subtle: rgba(100, 180, 255, 0.08);
  --color-error: #E74C3C;
  --shadow-resting: 0 1px 3px rgba(0, 0, 0, 0.30);
  --shadow-hover: 0 4px 24px rgba(0, 0, 0, 0.40), 0 0 0 1px var(--border-subtle);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.50);
  --shadow-nav: 0 1px 3px rgba(0, 0, 0, 0.30), 0 0 0 1px var(--border-subtle);
  --gray-50: #0A1422;
  --gray-100: #0F1B2D;
  --gray-200: #162538;
  --gray-300: #1E3148;
  --gray-400: #3A5570;
  --gray-500: #6B8399;
  --gray-600: #8EA4B8;
  --gray-700: #B8C8D8;
  --gray-800: #D8E4EC;
  --gray-900: #EEF3F7;
  --bg-warm-white: var(--surface-warm);
  --bg-warm-light: var(--surface-warm-light);
  --bg-section-alt: var(--surface-warm-alt);
  --white: var(--surface-white);
  --shadow-sm: var(--shadow-resting);
  --shadow-md: var(--shadow-hover);
  --surface-dark: #060D18;
  --surface-dark-blue: #0A1422;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #B8C8D8;
  --text-on-dark-hero: rgba(255, 255, 255, 0.9);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.50);
}

/* ═══ LIGHT OVERRIDE — force light even when OS prefers dark ═══ */
[data-theme="light"] {
  --text-orange: #B34900;
  --text-teal: #006B62;
  --text-body: #3D2B1F;
  --text-heading: #1A1A1A;
  --text-muted: #7A6B5C;
  --surface-white: #FFFFFF;
  --surface-warm: #FDF8F4;
  --surface-warm-light: #FAF5EF;
  --surface-warm-alt: #F5EDE4;
  --surface-input: #FFFFFF;
  --cta-bg: #0F1B2D;
  --cta-bg-hover: #0A1322;
  --border-subtle: rgba(0, 0, 0, 0.06);
  --color-error: #DC3545;
  --shadow-resting: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --shadow-nav: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  --gray-50: #FDF8F4;
  --gray-100: #FAF5EF;
  --gray-200: #EDE4DA;
  --gray-300: #D4C8BC;
  --gray-400: #A89888;
  --gray-500: #7A6B5C;
  --gray-600: #5C4E40;
  --gray-700: #3E3228;
  --gray-800: #231A12;
  --gray-900: #130E08;
  --bg-warm-white: var(--surface-warm);
  --bg-warm-light: var(--surface-warm-light);
  --bg-section-alt: var(--surface-warm-alt);
  --white: var(--surface-white);
  --shadow-sm: var(--shadow-resting);
  --shadow-md: var(--shadow-hover);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.16);
}


/* ═══════════════════════════════════════════════════════
   ELEMENT-SPECIFIC OVERRIDES — Ocean theme
   ═══════════════════════════════════════════════════════ */
[data-theme="dark"] .text-white,
[data-theme="dark"] .navbar-menu .nav-cta,
[data-theme="dark"] .navbar-menu .nav-cta:hover,
[data-theme="dark"] .navbar-logo-icon,
[data-theme="dark"] .btn-gradient {
  color: var(--text-white);
}

[data-theme="dark"] .navbar {
  background: var(--surface-warm);
  border-bottom-color: var(--gray-200);
}

/* Scrolled navbar — dark theme translucency */
[data-theme="dark"] .navbar--scrolled,
[data-theme="dark"] .navbar.scrolled { background: rgba(6, 13, 24, 0.92) !important; }

[data-theme="dark"] :is(.navbar--scrolled, .navbar.scrolled) {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav) !important;
}

[data-theme="dark"] .dropdown {
  background: var(--surface-warm-alt);
  border: 1px solid var(--border-subtle);
}

[data-theme="dark"] .navbar-menu.active {
  background: var(--surface-warm-alt);
}

[data-theme="dark"] .mobile-menu-toggle span {
  background: var(--text-body);
}

[data-theme="dark"] .hero-badge {
  background: rgba(255, 103, 0, 0.15) !important;
}

[data-theme="dark"] :is(.card, .audience-card, .service-card, .faq-item) {
  background: var(--surface-warm-alt);
  border-color: var(--border-subtle);
}

[data-theme="dark"] :is(.card:hover, .audience-card:hover, .service-card:hover) {
  border-color: rgba(255, 103, 0, 0.20) !important;
}

[data-theme="dark"] .profile-card {
  background: var(--surface-warm-alt);
}

[data-theme="dark"] .section--cool-tint {
  background: linear-gradient(180deg, var(--surface-warm-light) 0%, var(--surface-warm) 100%) !important;
}

[data-theme="dark"] .section--warm-tint {
  background: linear-gradient(180deg, var(--surface-warm-alt) 0%, var(--surface-warm) 100%) !important;
}

[data-theme="dark"] .contact-layout {
  box-shadow: var(--shadow-hover);
}

[data-theme="dark"] :is(.form-input, .form-textarea, .form-select, .coverage-search__box input) {
  background: var(--surface-input);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--text-body);
}

[data-theme="dark"] :is(.form-input:focus, .form-textarea:focus, .form-select:focus) {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 103, 0, 0.15);
}

[data-theme="dark"] :is(.form-error, .is-invalid, .form-group input[aria-invalid="true"], .form-group select[aria-invalid="true"], .form-group textarea[aria-invalid="true"]) {
  border-color: var(--color-error);
}

[data-theme="dark"] :is(.form-error, .form-error-text) {
  color: var(--color-error);
}

[data-theme="dark"] .btn-linkedin { background: #0A66C2; color: #fff; }
[data-theme="dark"] .btn-linkedin:hover { background: #004182; }

[data-theme="dark"] .social-feed {
  box-shadow: var(--shadow-hover);
}

[data-theme="dark"] .card-trial {
  box-shadow: var(--shadow-hover);
}

[data-theme="dark"] .card-trial .bottom {
  box-shadow: inset 0 1px 0 var(--border-subtle);
}

[data-theme="dark"] .skip-link:focus {
  background: var(--surface-warm-alt);
  color: var(--text-heading);
}

[data-theme="dark"] .feature-list li {
  border-bottom-color: var(--gray-200);
}

[data-theme="dark"] .audience-card__icon {
  background: rgba(255, 103, 0, 0.12);
}

/* OS dark preference — same element overrides (for users without explicit theme) */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .text-white,
  html:not([data-theme]) .navbar-menu .nav-cta,
  html:not([data-theme]) .navbar-menu .nav-cta:hover,
  html:not([data-theme]) .navbar-logo-icon,
  html:not([data-theme]) .btn-gradient { color: var(--text-white); }

  html:not([data-theme]) .navbar { background: var(--surface-warm); border-bottom-color: var(--gray-200); }
  html:not([data-theme]) .navbar--scrolled,
  html:not([data-theme]) .navbar.scrolled { background: rgba(6, 13, 24, 0.92) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-nav) !important; }

  html:not([data-theme]) .dropdown { background: var(--surface-warm-alt); border: 1px solid var(--border-subtle); }
  html:not([data-theme]) .navbar-menu.active { background: var(--surface-warm-alt); }
  html:not([data-theme]) .mobile-menu-toggle span { background: var(--text-body); }
  html:not([data-theme]) .hero-badge { background: rgba(255, 103, 0, 0.15) !important; }

  html:not([data-theme]) :is(.card, .audience-card, .service-card, .faq-item) { background: var(--surface-warm-alt); border-color: var(--border-subtle); }
  html:not([data-theme]) :is(.card:hover, .audience-card:hover, .service-card:hover) { border-color: rgba(255, 103, 0, 0.20) !important; }
  html:not([data-theme]) .profile-card { background: var(--surface-warm-alt); }

  html:not([data-theme]) .section--cool-tint { background: linear-gradient(180deg, var(--surface-warm-light) 0%, var(--surface-warm) 100%) !important; }
  html:not([data-theme]) .section--warm-tint { background: linear-gradient(180deg, var(--surface-warm-alt) 0%, var(--surface-warm) 100%) !important; }

  html:not([data-theme]) .contact-layout { box-shadow: var(--shadow-hover); }
  html:not([data-theme]) :is(.form-input, .form-textarea, .form-select, .coverage-search__box input) { background: var(--surface-input); border-color: rgba(255, 255, 255, 0.10); color: var(--text-body); }
  html:not([data-theme]) :is(.form-input:focus, .form-textarea:focus, .form-select:focus) { border-color: var(--brand-orange); box-shadow: 0 0 0 3px rgba(255, 103, 0, 0.15); }

  html:not([data-theme]) :is(.form-error, .is-invalid, .form-group input[aria-invalid="true"], .form-group select[aria-invalid="true"], .form-group textarea[aria-invalid="true"]) { border-color: var(--color-error); }
  html:not([data-theme]) :is(.form-error, .form-error-text) { color: var(--color-error); }

  html:not([data-theme]) .btn-linkedin { background: #0A66C2; color: #fff; }
  html:not([data-theme]) .btn-linkedin:hover { background: #004182; }

  html:not([data-theme]) .social-feed { box-shadow: var(--shadow-hover); }
  html:not([data-theme]) .card-trial { box-shadow: var(--shadow-hover); }
  html:not([data-theme]) .card-trial .bottom { box-shadow: inset 0 1px 0 var(--border-subtle); }
  html:not([data-theme]) .skip-link:focus { background: var(--surface-warm-alt); color: var(--text-heading); }
  html:not([data-theme]) .feature-list li { border-bottom-color: var(--gray-200); }
  html:not([data-theme]) .audience-card__icon { background: rgba(255, 103, 0, 0.12); }
}

/* Force light theme CTA text color */
[data-theme="light"] .navbar-menu .nav-cta {
  color: #FFFFFF;
}

/* Light theme btn-gradient: orange text on transparent bg, white on hover fill */
[data-theme="light"] .btn-gradient {
  color: var(--brand-orange);
}

[data-theme="light"] .btn-gradient:hover {
  color: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--surface-warm);
  line-height: 1.6;
}

/* H1/H2: Crimson Pro serif for editorial gravitas */
h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 2.5rem;
  text-wrap: balance;
}

h2 {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

/* H3+: Outfit sans-serif for clean UI headings */
h3 {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
}

h4 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-heading);
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Layout helpers */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

.section {
  padding-block: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.section-lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.7;
}

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

/* Eyebrow label — standardized */
.eyebrow {
   display: inline-block;
   font-family: var(--font-body);
   font-size: 0.8125rem;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: var(--primary-orange);
   margin-bottom: 1rem;
   font-weight: 700;
 }

.eyebrow--light {
  color: var(--primary-yellow);
}

/* Text accent for highlighted words in headings */
.text-accent {
  color: var(--primary-orange);
}

.text-accent--light {
  color: var(--primary-yellow);
}

/* Stat display numbers */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center { text-align: center; }
.text-orange { color: var(--primary-orange); }
.text-white { color: var(--white); }
.text-black { color: var(--gray-900); }
.text-gray { color: var(--gray-600); }
.text-teal { color: var(--secondary-teal); }
.text-blue { color: var(--cta-bg); }
.text-purple { color: var(--surface-dark); }
.text-dark-blue { color: var(--primary-dark-blue); }
.text-light-blue { color: var(--primary-light-blue); }
.text-yellow { color: var(--primary-yellow); }


.ml-1 { margin-left: 0.5rem; }
.ml-2 { margin-left: 1rem; }
.ml-3 { margin-left: 1.5rem; }
.ml-4 { margin-left: 2rem; }

.mr-1 { margin-right: 0.5rem; }
.mr-2 { margin-right: 1rem; }
.mr-3 { margin-right: 1.5rem; }
.mr-4 { margin-right: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* Section backgrounds */
.section-muted { background: var(--bg-warm-light); }
.section-dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}
.section-dark p { color: var(--text-on-dark-muted); }
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--text-on-dark); }

.section-primary { background: var(--primary-orange); }
.section-primary-left {
   background: linear-gradient(to right, var(--primary-orange) 60%, var(--primary-orange-4) 60%)
}

.bg-primary-orange { background: var(--primary-orange); }
.bg-primary-orange-1 { background: var(--primary-orange-1); }
.bg-primary-orange-2 { background: var(--primary-orange-2); }
.bg-primary-orange-3 { background: var(--primary-orange-3); }
.bg-primary-orange-4 { background: var(--primary-orange-4); }

.bg-primary-dark-blue { background: var(--primary-dark-blue); }
.bg-primary-light-blue { background: var(--primary-light-blue); }
.bg-primary-yellow { background: var(--primary-yellow); }

.bg-white { background: var(--white); }

.bg-gray { background: var(--gray-50); }
.bg-gray-1 { background: var(--gray-100); }
.bg-gray-2 { background: var(--gray-200); }
.bg-gray-3 { background: var(--gray-300); }
.bg-gray-4 { background: var(--gray-400); }
.bg-gray-5 { background: var(--gray-500); }
.bg-gray-6 { background: var(--gray-600); }
.bg-gray-7 { background: var(--gray-700); }
.bg-gray-8 { background: var(--gray-800); }
.bg-gray-9 { background: var(--gray-900); }

.bg-gradient-ltd-blue {
  background: linear-gradient(var(--primary-light-blue) 70%, var(--primary-dark-blue));
}
.bg-gradient-wow-orange {
  background: linear-gradient(var(--white) 10%, var(--primary-orange) 90%, var(--white));
}

.flex-center {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}

/* ============================================
   Skip Link (Accessibility)
   ============================================ */

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
}

.skip-link:focus {
    position: fixed;
    left: var(--space-4);
    top: var(--space-4);
    width: auto;
    height: auto;
    padding: var(--space-3) var(--space-6);
    background: var(--surface-white);
    color: var(--cta-bg);
    border: 3px solid var(--cta-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    text-decoration: underline;
}

/* ===== style.css ===== */
/* ============================================
   Main Content
   ============================================ */

.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Honeypot — off-screen rather than display:none so bots that ignore
   display:none still find and fill it. Hidden from sighted users,
   screen readers (aria-hidden on parent), and keyboard tab order. */
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ============================================
   Navigation — White with blur on scroll
   ============================================ */

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  font-family: var(--font-body);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar--scrolled,
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.navbar-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity 150ms ease;
  color: inherit;
}

.navbar-logo:hover { opacity: 0.85; }

.navbar-icon {
  height: 48px;
  width: 48px;
  display: block;
  flex-shrink: 0;
}

.navbar-icon--dark { display: none; }

[data-theme="dark"] .navbar-icon--light { display: none; }
[data-theme="dark"] .navbar-icon--dark { display: block; }

/* Wordmark lockup: cross + "Ride N' Safe" + "Non-Emergency Transport" in one SVG.
   Renders at the SVG's intrinsic size (384x96 from width/height attrs). */
.navbar-wordmark {
  display: block;
  flex-shrink: 0;
}

.navbar-wordmark--dark { display: none; }

[data-theme="dark"] .navbar-wordmark--light { display: none; }
[data-theme="dark"] .navbar-wordmark--dark { display: block; }

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .navbar-wordmark--light { display: none; }
  html:not([data-theme]) .navbar-wordmark--dark { display: block; }
}

.navbar-brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.navbar-brand__name {
  font-family: var(--font-body);
  font-weight: 900;
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--brand-orange);
  white-space: nowrap;
}

.navbar-brand__tagline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0;
  color: var(--text-heading);
  margin-top: 2px;
  white-space: nowrap;
}

[data-theme="dark"] .navbar-brand__name { color: var(--brand-orange); }
[data-theme="dark"] .navbar-brand__tagline { color: var(--text-on-dark); }

@media (max-width: 480px) {
  .navbar-brand__tagline { display: none; }
  .navbar-brand__name { font-size: 1.15rem; }
  .navbar-icon { height: 40px; width: 40px; }
}

.navbar-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(255, 103, 0, 0.3);
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 32px;
  position: relative;
  align-items: center;
}

.nav-item > a {
  color: var(--gray-700);
  font-weight: 500;
  text-decoration: none;
  padding: 24px 0;
  display: inline-block;
  transition: color 0.15s;
}

.nav-item > a:hover {
  color: var(--primary-orange);
}

.navbar a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Nav CTA Button — higher specificity to override .nav-item > a */
.navbar-menu .nav-cta {
  background: var(--primary-orange);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.navbar-menu .nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

/* Theme Toggle — single icon button; sun shows in light, moon shows in dark */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: none;
  border-radius: 50%;
  color: var(--gray-700);
  cursor: pointer;
  transition: color 0.15s var(--ease-out), background 0.15s var(--ease-out);
}

.theme-toggle:hover {
  color: var(--primary-orange);
  background: var(--gray-100);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
}

/* Show sun in light theme, moon in dark theme */
.theme-toggle__icon--moon { display: none; }
[data-theme="dark"] .theme-toggle__icon--sun { display: none; }
[data-theme="dark"] .theme-toggle__icon--moon { display: inline; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--white);
  display: none;
  grid-template-columns: repeat(2, 1fr);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  z-index: 999;
}

.dropdown-section {
  margin-bottom: 16px;
  list-style: none;
  display: block;
  gap: 0.5rem;
  z-index: 998;
}

.dropdown-section:last-child {
  margin-bottom: 0;
}

.dropdown-title {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
  font-weight: 600;
}

.dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown ul li a {
  display: block;
  padding: 6px 0;
  color: var(--gray-800);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: color 0.15s;
}

.dropdown ul li a:hover {
  color: var(--primary-orange);
}

.dropdown-section ul {
    padding: 0 0 0 1rem;
    z-index: 997;
}

/* Open state */
.has-dropdown.open > .dropdown {
  display: grid;
  z-index: 997;
}

.has-dropdown.open > a {
    color: var(--primary-orange);
    z-index: 998;
}

/* ============================================
   Mobile Menu Toggle
   ============================================ */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Legacy Hero Classes (used by subpages)
   ============================================ */

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--section-padding) var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 103, 0, 0.1);
    color: var(--primary-orange);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ============================================
   Legacy Stats Classes (used by subpages)
   ============================================ */

.stats {
    color: white;
    padding: 4rem 0;
}

.wave-top > svg {
    display: block;
    rotate: 180deg;
}

/* ============================================
   Feature List
   ============================================ */

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.feature-list li a {
  color: var(--primary-orange);
  font-weight: 600;
}

.feature-list li a:hover {
  color: var(--primary-dark);
}

/* ============================================
   Text Link
   ============================================ */

.text-link {
  color: var(--primary-orange);
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s;
}

.text-link:hover {
  color: var(--primary-dark);
}

.text-link::after {
  content: '\2192';
  transition: transform 0.2s;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* ============================================
   Homepage: Audience Section (v2)
   ============================================ */

.audience-section {
  background: var(--surface-warm);
}

.audience-header {
  margin-bottom: var(--space-12);
}

.audience-header p {
  max-width: 640px;
  margin-inline: auto;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  gap: var(--space-8);
  justify-content: center;
}

.audience-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid transparent;
  box-shadow: var(--shadow-resting);
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.audience-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(255, 103, 0, 0.1);
}

.audience-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 103, 0, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
}

.audience-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0;
}

.audience-card__desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* ============================================
   Homepage: Coverage Section
   ============================================ */

.coverage-section {
  background: var(--surface-warm-light);
}

.coverage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.coverage-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.coverage-content p {
  max-width: 500px;
}

.coverage-search {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.coverage-search__box {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--surface-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.9375rem;
  flex: 1;
  min-width: 200px;
}

.coverage-map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.coverage-map__visual {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ============================================
   Homepage: Trust Bar + Stats
   ============================================ */

.trust-stats-section {
  background: var(--surface-dark);
  padding-block: var(--section-padding);
  color: var(--text-on-dark);
}

.trust-bar {
  text-align: center;
  margin-bottom: var(--space-12);
}

.trust-bar__label {
  color: var(--text-on-dark-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: var(--space-6);
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.trust-logo:hover {
  opacity: 1;
}

.trust-logo__text {
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* ============================================
   Homepage: Services Section
   ============================================ */

.services-section {
  background: var(--surface-warm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  gap: var(--space-8);
  margin-top: var(--space-12);
  justify-content: center;
}

.service-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid transparent;
  box-shadow: var(--shadow-resting);
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(255, 103, 0, 0.1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-coral));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface-white);
  box-shadow: 0 4px 12px rgba(255, 103, 0, 0.2);
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0;
}

.service-card__desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* ============================================
   Homepage: Fleet Section
   ============================================ */

.fleet-section {
  background: var(--surface-dark);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.fleet-card {
  background: var(--surface-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.fleet-card:hover {
  background: var(--surface-dark);
  border-color: var(--gray-400);
  transform: translateY(-2px);
}

.fleet-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 103, 0, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
}

.fleet-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 0;
}

.fleet-card__desc {
  color: var(--text-on-dark);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============================================
   Homepage: Testimonials Section
   ============================================ */

.testimonials-section {
  background: var(--surface-warm-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

/* Reviews marquee — horizontal scroll of testimonial cards */
.review-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: var(--space-12);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
          mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.review-marquee__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  will-change: transform;
  animation: review-marquee-scroll 40s linear infinite;
}
.review-marquee:hover .review-marquee__track {
  animation-play-state: paused;
}
.review-marquee .testimonial-card {
  flex: 0 0 380px;
  width: 380px;
  margin: 4px var(--space-6) 4px 0;  /* gap-equivalent right margin so the duplicate set lines up exactly with the original set at translate -50% */
}
@keyframes review-marquee-scroll {
  /* Translate by exactly 3 card-units (380px card + 24px right margin) so the
     duplicate set lands precisely where the original set started. translate3d
     forces a GPU compositor layer so the loop reset doesn't repaint. */
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-1 * (380px + var(--space-6)) * 3), 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .review-marquee { -webkit-mask-image: none; mask-image: none; }
  .review-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .review-marquee__track > [aria-hidden="true"] { display: none; }
}

.testimonial-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid transparent;
  box-shadow: var(--shadow-resting);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.testimonial-card__stars {
  color: var(--brand-yellow);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}

.testimonial-card__quote {
  color: var(--text-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
  flex-grow: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-200);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-coral));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface-white);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-heading);
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================
   Homepage: Final CTA Section
   ============================================ */

.final-cta-section {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-hover));
  padding-block: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.final-cta__title {
  color: var(--surface-white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
  text-wrap: balance;
}

.final-cta__desc {
  color: var(--text-on-dark-hero);
  font-size: 1.125rem;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.final-cta__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

/* ============================================
   Solutions Page
   ============================================ */

/* NEMT section — warm-white background */
.solutions-nemt {
  background: var(--surface-warm);
}

/* Managed Services section — white background */
.solutions-managed {
  background: var(--surface-white);
}

/* Training section — warm-light background */
.solutions-training {
  background: var(--surface-warm-light);
}

/* Two-column split layout for NEMT and Training */
.solutions-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.solutions-split > * {
  min-width: 0;
}

.solutions-split__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.solutions-split__text h2 {
  margin-bottom: 0;
}

.solutions-split__text p {
  margin-bottom: 0;
}

/* Three-card grid for Managed Services */
.solutions-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.solutions-card-grid > .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solutions-card-grid > .card p {
  flex-grow: 1;
}

/* Responsive: solutions layouts */
@media (max-width: 1024px) {
  .solutions-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .solutions-split {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .solutions-card-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   Social Media Feeds (Newsroom)
   ============================================ */

.social-feeds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  align-items: start;
}

@media (max-width: 1024px) {
  .social-feeds {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .social-feeds {
    grid-template-columns: 1fr;
  }
}

.social-feed {
  background: var(--surface-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.social-feed__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--gray-200);
}

.social-feed__header svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.social-feed__header h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0;
}

.social-feed__content {
  padding: var(--space-4);
  display: flex;
  justify-content: center;
  min-height: 300px;
}

.social-feed__content--instagram {
  padding: var(--space-4);
}

.social-feed__content--instagram .instagram-media {
  margin: 0 !important;
}

/* LinkedIn custom card (no official embed) */
.linkedin-card {
  text-align: center;
  padding: var(--space-6);
  width: 100%;
}

.linkedin-card__logo {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  border-radius: 8px;
  overflow: hidden;
}

.linkedin-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.linkedin-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}

.linkedin-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.linkedin-card__followers {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: var(--space-6);
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.625rem 1.5rem;
  background: #0A66C2;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-linkedin:hover {
  background: #004182;
  color: #fff;
}

.btn-linkedin svg {
  color: #fff;
}

.btn-facebook {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.625rem 1.5rem;
  background: #1877F2;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-facebook:hover {
  background: #0d65d9;
  color: #fff;
}

.btn-facebook svg {
  color: #fff;
}

/* ===== components/buttons.css ===== */
/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease-out;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

/* Primary — dark blue CTA (8.2:1 contrast with white text) */
.btn-primary {
    background: var(--cta-bg);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(5, 74, 145, 0.3);
}

.btn-primary:hover {
    background: var(--cta-bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 103, 0, 0.3);
}

/* Focus-visible for all button variants */
.btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(5, 74, 145, 0.3);
}

/* Secondary — ghost/outline for dark backgrounds */
.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
}

/* Secondary on light backgrounds */
.btn-secondary--light {
    background: var(--white);
    color: var(--gray-900);
    border: 2px solid var(--gray-200);
}

.btn-secondary--light:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Outline — for light backgrounds */
.btn-outline {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Gradient Fill Button (SafeRide pattern)
   ============================================ */

.btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-10);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--brand-orange);
    background: linear-gradient(90deg, var(--brand-orange) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: var(--text-on-dark);
    transition: background-position 0.4s ease, color 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.btn-gradient:hover {
    background-position: 0% 0;
    color: var(--surface-white);
}

.btn-gradient:focus-visible {
    outline: 3px solid var(--brand-yellow);
    outline-offset: 3px;
}

/* ============================================
   Solid Button (for orange CTA sections)
   ============================================ */

.btn-solid {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-10);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    background: var(--surface-white);
    color: var(--brand-orange);
    border: 2px solid var(--surface-white);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.btn-solid:hover {
    background: transparent;
    color: var(--surface-white);
    transform: translateY(-2px);
}

.btn-solid:focus-visible {
    outline: 3px solid var(--surface-white);
    outline-offset: 3px;
}

/* ============================================
   Text Link with Arrow
   ============================================ */

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-orange);
    transition: color 0.15s ease;
    text-decoration: none;
}

.link-arrow::after {
    content: '\2192';
    display: inline-block;
    transition: transform 0.2s ease;
}

.link-arrow:hover {
    color: var(--brand-orange);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

.link-arrow--light {
    color: var(--text-on-dark);
}

.link-arrow--light:hover {
    color: var(--brand-yellow);
}

/* ===== components/cards.css ===== */
/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid transparent;
    box-shadow: var(--shadow-resting);
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

/* Orange top-border reveal on hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: rgba(255, 103, 0, 0.1);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-coral));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(255, 103, 0, 0.2);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.card-description {
    color: var(--gray-600);
    line-height: 1.7;
}



/* ============================================
   Cards: Profile
   ============================================ */  


.profile-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
    max-width: 300px;
}

.profile-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-orange);
}

.profile-card-container {
    padding: 2rem
}

.profile-image-container {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.profile-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}


/* ============================================================================= */


.card-trial {
  width: 280px;
  height: 280px;
  background: var(--primary-orange-3);
  border-radius: 32px;
  padding: 3px;
  position: relative;
  box-shadow: #604b4a30 0px 70px 30px -50px;
  transition: all 0.5s ease-in-out;
}

.card-trial .profile-pic {
  position: absolute;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  top: 3px;
  left: 3px;
  border-radius: 29px;
  z-index: 1;
  border: 0px solid var(--primary-orange);
  overflow: hidden;
  transition: all 0.5s ease-in-out 0.2s, z-index 0.5s ease-in-out 0.2s;
}

.card-trial .profile-pic img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  -o-object-position: 0px 0px;
  object-position: 0px -55px;
  transition: all 0.5s ease-in-out 0s;
}

.card-trial .bottom {
  position: absolute;
  bottom: 3px;
  left: 3px;
  right: 3px;
  background: var(--primary-orange);
  top: 80%;
  border-radius: 29px;
  z-index: 2;
  box-shadow: rgba(96, 75, 74, 0.1882352941) 0px 5px 5px 0px inset;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.card-trial .bottom .content {
  position: absolute;
  padding-left: 1rem;
  bottom: 0;
  right: 1.5rem;
  height: 160px;
}

.card-trial .bottom .content .profile-title {
  display: block;
  font-size: 1.2rem;
  color: white;
  font-weight: bold;
}

.card-trial .bottom .content .about-me {
  display: block;
  font-size: 0.9rem;
  color: white;
  margin-top: 0.5rem;
}

.card-trial .bottom .bottom-bottom {
  position: absolute;
  bottom: -0.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.card-trial:hover {
  border-top-left-radius: 55px;
}

.card-trial:hover .bottom {
  top: 20%;
  border-radius: 80px 29px 29px 29px;
  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s;
}

.card-trial:hover .profile-pic {
  width: 100px;
  height: 100px;
  aspect-ratio: 1;
  top: 10px;
  left: 10px;
  border-radius: 50%;
  z-index: 3;
  border: 7px solid var(--primary-orange);
  box-shadow: rgba(96, 75, 74, 0.1882352941) 0px 5px 5px 0px;
  transition: all 0.5s ease-in-out, z-index 0.5s ease-in-out 0.1s;
}

.card-trial:hover .profile-pic:hover {
  transform: scale(1.3);
  border-radius: 0px;
}

.card-trial:hover .profile-pic img {
  transform: scale(2);
  -o-object-position: -50px 80px;
  object-position: -5px -15px;
  transition: all 0.5s ease-in-out 0.5s;
}

.profile-name {
  color: white;
}


/* ============================================
   Cards: Team Grid (Atlassian-style)
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  text-align: center;
  outline: none;
}

/* Media zone = positioning context for the slide-in stats overlay.
   The photo + the reserved overlay strip live here. */
.team-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.team-card__photo {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

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

/* Color cycling — 4 brand colors (apply to media zone so the
   negative space above the photo carries the brand color). */
.team-card:nth-child(4n+1) .team-card__media { background: var(--brand-orange); }
.team-card:nth-child(4n+2) .team-card__media { background: var(--brand-teal); }
.team-card:nth-child(4n+3) .team-card__media { background: var(--brand-coral); }
.team-card:nth-child(4n+4) .team-card__media { background: var(--brand-yellow); }

/* Stats overlay — sits above the photo in the negative space,
   slides in from the left on hover/focus. */
.team-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* sized to fit up to 3 stat items (years · miles · trips) */
  height: 28%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  background: rgba(0, 0, 0, 0.72);
  color: var(--text-white);
  transform: translateX(-101%);
  opacity: 0;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 240ms ease-out;
  z-index: 1;
}

.team-card:hover .team-card__overlay,
.team-card:focus-within .team-card__overlay {
  transform: translateX(0);
  opacity: 1;
}

.team-card__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.team-card__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.team-card__stat-value {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
}

.team-card__stat-label {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Meta block: name, accent bar, title — centered below photo */
.team-card__meta {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-card__name {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 var(--space-2) 0;
}

.team-card__bar {
  display: block;
  width: clamp(40px, 60%, 96px);
  height: 2px;
  background: var(--primary-orange);
  margin-bottom: var(--space-2);
}

.team-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .team-card__overlay {
    transform: none;
    transition: opacity 120ms ease-out;
  }
}

/* ===== components/forms.css ===== */
/* ============================================
   Form Components
   ============================================ */

/* --- Form Grid Layout --- */

.form-grid {
    display: grid;
    gap: var(--space-6);
}

.form-row,
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.form-row-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-6);
}

@media (max-width: 768px) {
    .form-row,
    .form-row-2,
    .form-row-3 {
        grid-template-columns: 1fr;
    }
}

/* --- Form Group --- */

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

/* --- Labels --- */

.form-label,
.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-heading);
    margin-bottom: var(--space-2);
    font-size: 0.9375rem;
    font-family: var(--font-body);
}

/* --- Required Indicator --- */

.required-indicator {
    color: var(--brand-coral, #FF7A59);
    margin-left: 0.125em;
    font-weight: 600;
}

.required-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

/* --- Inputs, Textareas, Selects --- */

.form-input,
.form-textarea,
.form-select,
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-body);
    background: var(--surface-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

/* Checkboxes and radios: opt out of the text-input styling above so they
   render as native widgets, not 100%-wide rounded rectangles. */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: auto;
    padding: 0;
    border: 1px solid var(--gray-400);
    border-radius: 3px;
    background: transparent;
    -webkit-appearance: auto;
    appearance: auto;
    cursor: pointer;
    margin: 0;
    box-shadow: none;
    flex-shrink: 0;
    accent-color: var(--brand-orange);
}

.form-input::placeholder,
.form-textarea::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

/* --- Focus States --- */

.form-input:focus,
.form-textarea:focus,
.form-select:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(255, 103, 0, 0.1);
    outline: none;
}

/* --- Textarea --- */

.form-textarea,
.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* --- Select arrow --- */

.form-select,
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6B5C' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* --- Error States --- */

.form-input.error,
.form-textarea.error,
.form-select.error,
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: var(--color-error, #EF4444);
}

.form-error,
.error-message {
    display: none;
    color: var(--color-error, #EF4444);
    font-size: 0.8125rem;
    margin-top: var(--space-1);
}


/* ============================================
   Contact Page Layout
   ============================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-12);
    align-items: start;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* --- Contact Info Card --- */

.contact-info-card {
    background: var(--surface-warm-light);
    border-radius: 16px;
    padding: var(--space-8);
}

.contact-info-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-heading);
    margin-bottom: var(--space-6);
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--surface-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--brand-orange);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.contact-info-text dt {
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-text dd {
    margin: 0;
    font-size: 1rem;
    color: var(--text-heading);
    font-weight: 500;
}

.contact-info-text dd a {
    color: var(--text-heading);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-info-text dd a:hover {
    color: var(--brand-orange);
}


/* ===== sections/footer.css ===== */
/* ============================================
   Footer
   ============================================ */

footer {
    background: var(--surface-dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    margin-bottom: 0;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-orange);
}

.footer-about p {
    color: var(--text-on-dark-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    color: var(--primary-orange);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-on-dark-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-column ul li a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-on-dark-muted);
    font-size: 0.9rem;
}

.footer-bottom__social {
    display: flex;
    gap: 1rem;
}

.footer-bottom__social a {
    min-width: 44px;
    min-height: 44px;
    background: var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom__social a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
    color: var(--white);
}

/* Dark + Ocean themes: orange icon glyphs at rest */
[data-theme="dark"] .footer-bottom__social a {
    color: var(--primary-orange);
}

[data-theme="dark"] .footer-bottom__social a:hover {
    color: var(--white);
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme]) .footer-bottom__social a {
        color: var(--primary-orange);
    }
    html:not([data-theme]) .footer-bottom__social a:hover {
        color: var(--white);
    }
}


/* ===== sections/hero.css ===== */
/* ============================================
   Hero Section — Dark Gradient
   ============================================ */

.hero {
  min-height: 90vh;
  background: var(--surface-white);
  padding: var(--section-padding) var(--container-padding);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 2;
}

@media (min-width: 769px) {
  .hero-grid {
    grid-template-columns: 55fr 45fr;
    gap: 3rem;
    align-items: center;
  }
}

/* Noise texture overlay — disabled for light hero */

.hero__content,
.hero__model {
    position: relative;
    z-index: 2;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  max-width: 600px;
}

.hero__eyebrow {
  color: var(--text-orange);
}

.hero__title {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 0;
}

.hero__title .text-accent {
  color: var(--primary-orange);
}

.hero__description {
  color: var(--text-body);
  font-size: 1.125rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__model {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__model model-viewer {
  width: 100%;
  height: 500px;
  --poster-color: transparent;
}

/* Orange glow beneath model */
.hero__model::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(255, 103, 0, 0.25), transparent);
  filter: blur(20px);
  pointer-events: none;
}

/* Background decorative shape */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 103, 0, 0.08), transparent);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
}

/* @keyframes float is defined in animations.css */

/* ============================================
   Hero — Subpage Variant
   ============================================ */

.hero--subpage {
  min-height: 45vh;
  grid-template-columns: 1fr;
  text-align: center;
}

.hero--subpage .hero__content {
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================
   Hero — Legacy compat (solutions-hero class)
   ============================================ */

.solutions-hero {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-deep) 100%);
  padding: var(--section-padding) 0;
}

.solutions-hero h1 {
  color: var(--text-on-dark);
}

.solutions-hero p {
  color: var(--text-on-dark-muted);
}

.solutions-hero .eyebrow {
  color: var(--primary-yellow);
}

/* ============================================
   Hero — Light Variant (for non-homepage)
   ============================================ */

.hero--light {
  background: linear-gradient(135deg, var(--gray-50), var(--white));
}

.hero--light .hero__title {
  color: var(--gray-900);
}

.hero--light .hero__description {
  color: var(--gray-600);
}

.hero--light .hero__eyebrow {
  color: var(--primary-orange);
}

/* ===== animations.css ===== */
/* ============================================
   Scroll Reveal Animations
   ============================================ */

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }

/* MANDATORY: Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== interior.css ===== */
/* ============================================
   Interior Page Layouts
   Archetype CSS for non-homepage pages
   ============================================ */

/* --- Subpage Hero (Archetype A, C-Dark) --- */
.subpage-hero {
  background: linear-gradient(135deg, var(--surface-dark-blue) 0%, var(--surface-dark) 100%);
  padding-top: calc(80px + var(--space-16));
  padding-bottom: var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subpage-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  max-width: 800px;
  margin-inline: auto;
  text-wrap: balance;
}

.subpage-hero__lead {
  font-size: 1.125rem;
  color: var(--text-on-dark-hero);
  max-width: 640px;
  margin-inline: auto;
  margin-top: var(--space-6);
  line-height: 1.7;
}

.subpage-hero__actions {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

/* Light variant */
.subpage-hero--light {
  background: var(--surface-warm);
}

.subpage-hero--light h1 {
  color: var(--text-heading);
}

.subpage-hero--light .subpage-hero__lead {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .subpage-hero {
    padding-top: calc(60px + var(--space-10));
    padding-bottom: var(--space-10);
  }
}

/* --- Listing Hero (Archetype B) --- */
.listing-hero {
  background: var(--surface-warm);
  padding-top: calc(80px + var(--space-12));
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--gray-200);
}

.listing-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-heading);
}

.listing-hero__lead {
  color: var(--text-muted);
  max-width: 640px;
  margin-top: var(--space-4);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .listing-hero {
    padding-top: calc(60px + var(--space-8));
    padding-bottom: var(--space-8);
  }
}

/* --- Eyebrow variants --- */
.eyebrow--teal {
  color: var(--text-teal);
}

.eyebrow--light {
  color: var(--brand-yellow);
}

/* --- Listing Grid (Archetype B) --- */
.listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .listing-grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }
  .listing-grid--people {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Content Split (Archetype C) --- */
.content-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .content-split {
    grid-template-columns: 1fr 1fr;
  }
  .content-split--reverse > :first-child {
    order: 2;
  }
}

/* --- Prose (Archetype C, F) --- */
.prose {
  max-width: 720px;
  margin-inline: auto;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-body);
}

.prose h2 {
  margin-top: var(--space-12);
  margin-bottom: var(--space-6);
}

.prose h3 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.prose p + p {
  margin-top: var(--space-6);
}

.prose ul, .prose ol {
  padding-left: var(--space-8);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.prose li {
  margin-bottom: var(--space-2);
}

.prose img {
  border-radius: var(--radius-lg);
  margin-block: var(--space-8);
}

.prose figure {
  margin-block: var(--space-8);
}

.prose figcaption {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-2);
  text-align: center;
}

/* --- Section Grid helpers --- */
.section-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.section-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .section-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .section-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .section-grid-3 { gap: var(--space-8); }
}

/* --- Form Layout (Archetype D) --- */
.form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 768px) {
  .form-layout {
    grid-template-columns: 1fr 360px;
  }
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .form-row--2col {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--text-body);
  background: var(--surface-white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 48px;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 2px;
  border-color: var(--cta-bg);
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--color-error);
}

.form-error {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-error);
  margin-top: var(--space-1);
}

.form-info-card {
  background: var(--surface-warm);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

@media (min-width: 768px) {
  .form-info-card {
    position: sticky;
    top: calc(80px + var(--space-8));
  }
}

/* --- Final CTA (orange accent, all archetypes) --- */
.final-cta {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-hover) 100%);
  color: var(--surface-white);
  text-align: center;
  padding-block: var(--section-padding);
}

.final-cta__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

.final-cta h2 {
  color: var(--surface-white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.final-cta p {
  color: var(--text-on-dark-hero);
  margin-top: var(--space-4);
}

.final-cta__phone {
  font-size: 1.25rem;
  font-weight: 600;
}

.final-cta__phone a {
  color: var(--surface-white);
  text-decoration: underline;
}

.final-cta__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

/* --- Portal Page (Archetype E) --- */
.portal-page {
  min-height: calc(100dvh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-dark-blue) 0%, var(--surface-dark) 100%);
  padding: var(--space-8);
}

.portal-card {
  background: var(--surface-white);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-10);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.portal-card h1 {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}

.portal-card__desc {
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

.portal-help {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--gray-200);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* --- Article Layout (Archetype F) --- */
.article-layout {
  --content-width: 65ch;
  display: grid;
  grid-template-columns: 1fr min(var(--content-width), 100% - var(--space-6) * 2) 1fr;
  padding-block: var(--space-10);
}

.article-layout > * {
  grid-column: 2;
}

.article-layout > .full-bleed {
  grid-column: 1 / -1;
  width: 100%;
}

.article-header {
  margin-bottom: var(--space-8);
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* --- FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) 0;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-heading);
  cursor: pointer;
  min-height: 44px;
  list-style: none;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > .faq-answer {
  padding-bottom: var(--space-6);
  color: var(--text-body);
  line-height: 1.7;
}

/* --- Process Steps --- */
.process-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  position: relative;
}

.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.process-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-orange-10), var(--primary-orange-05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-orange);
  flex-shrink: 0;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  padding: var(--space-10) 0 0;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.pagination a:hover {
  background: var(--surface-warm);
}

.pagination .pagination-active {
  background: var(--cta-bg);
  color: var(--surface-white);
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: var(--space-4) 0;
}

.breadcrumb a {
  color: var(--text-teal);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb__separator {
  color: var(--gray-300);
}

/* --- Section surface variants for interior pages --- */
.section--warm { background: var(--surface-warm); }
.section--warm-alt { background: var(--surface-warm-light); }
.section--cool-tint { background: linear-gradient(180deg, #F0F7FA 0%, var(--surface-white) 100%); }
.section--warm-tint { background: linear-gradient(180deg, #FFF5EC 0%, var(--surface-warm) 100%); }
.section--dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}
.section--dark p { color: var(--text-on-dark-muted); }
.section--dark h2,
.section--dark h3 { color: var(--text-on-dark); }

/* --- Our Story: team photo silhouette (no card chrome) --- */
.our-story-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.our-story-photo__img {
  display: block;
  width: 100%;
  height: auto;
}

/* Cards inside a dark section need a dark surface so the inherited
   on-dark text colors remain readable in the LIGHT theme as well. */
.section--dark .card {
  background: var(--surface-dark-blue);
  border-color: var(--border-subtle);
}
.section--dark .card h3,
.section--dark .card p {
  color: var(--text-on-dark);
}
.section--dark .card p { color: var(--text-on-dark-muted); }

/* --- Careers: Job List (ivo.ai-style) --- */
.job-dept {
  margin-bottom: var(--space-10);
}

.job-dept__name {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 0;
}

.job-table {
  display: flex;
  flex-direction: column;
}

.job-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-4);
  border-bottom: 1px solid var(--gray-200);
  text-decoration: none;
  color: var(--text-body);
  transition: background-color var(--transition-fast);
  min-height: 44px;
}

.job-row:hover {
  background: var(--surface-warm-light);
}

.job-row__title {
  flex: 1;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-heading);
}

.job-row__location {
  font-size: 0.875rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.job-row__arrow {
  font-size: 1.25rem;
  color: var(--brand-orange);
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.job-row:hover .job-row__arrow {
  opacity: 1;
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .job-row {
    flex-wrap: wrap;
    gap: var(--space-1);
  }
  .job-row__location {
    width: 100%;
    order: 1;
  }
  .job-row__arrow {
    display: none;
  }
}

/* --- Job Detail Page (Lever-style) --- */
.job-detail-page {
  background: var(--surface-warm);
  padding-top: calc(80px + var(--space-10));
  padding-bottom: var(--space-16);
  min-height: 100dvh;
}

.job-detail {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.job-detail__back {
  margin-bottom: var(--space-8);
}

.job-detail__back a {
  font-size: 0.875rem;
  color: var(--text-teal);
  text-decoration: none;
  font-weight: 500;
}

.job-detail__back a:hover {
  text-decoration: underline;
}

.job-detail__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.job-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-heading);
  margin: 0;
}

.job-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-3);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.job-detail__meta span + span::before {
  content: "\00b7";
  margin-right: var(--space-2);
  color: var(--gray-300);
}

.job-detail__divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: var(--space-8) 0;
}

.job-detail__body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-body);
}

.job-detail__body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.job-detail__body p {
  margin-bottom: var(--space-5);
}

.job-detail__compensation {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--gray-200);
}

.job-detail__compensation h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}

.job-detail__apply-bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-200);
}

/* --- prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

/* --- Focus visible (global) --- */
:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

.section--warm :focus-visible,
.section--cool-tint :focus-visible,
.section--warm-tint :focus-visible {
  outline-color: var(--cta-bg);
}

/* ===== components/model-viewer.css ===== */
.model-viewer-container {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
}

.model-viewer-container model-viewer {
  width: 100%;
  height: 400px;
  --poster-color: var(--gray-100);
}

.model-viewer-container model-viewer::part(default-progress-bar) {
  background-color: var(--primary-orange);
}

/* ===== components/stats-counter.css ===== */
/* ============================================
   Stats Counter Section
   ============================================ */

.stats-section {
  background: linear-gradient(135deg, var(--dark-deep) 0%, var(--dark-blue) 50%, var(--dark-deep) 100%);
  padding: clamp(3rem, 6vw, 5rem) var(--container-padding);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

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

.stat-item__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--primary-orange);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-item__label {
  color: var(--text-on-dark-muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== components/coverage-map.css ===== */
/* Coverage Map — Leaflet choropleth + ZIP search highlight
   Colors derive from design tokens so theme switch flips cleanly. */

:root {
    --coverage-county-unserved: var(--gray-200);
    --coverage-county-stroke: var(--surface-white);
    --coverage-county-1: #FFD6B0;
    --coverage-county-2: #FFAD70;
    --coverage-county-3: #FF8A3A;
    --coverage-county-4: #FF6700;
    --coverage-county-5: #B34900;
    --coverage-highlight: var(--brand-teal);
    --coverage-tooltip-bg: var(--surface-dark-blue);
    --coverage-tooltip-text: var(--text-on-dark);
}

[data-theme="dark"] {
    --coverage-county-unserved: #FFFFFF;
    --coverage-county-stroke: #2A3F66;
    --coverage-tooltip-bg: var(--surface-warm);
    --coverage-tooltip-text: var(--text-body);
}

[data-theme="dark"] #coverage-map path[fill-opacity="0.5"] {
    fill: #FFFFFF !important;
    fill-opacity: 1 !important;
}

[data-theme="dark"] #coverage-map path {
    stroke: #2A3F66 !important;
}

#coverage-map {
    width: 100%;
    height: 480px;
    border-radius: 16px;
    background: var(--surface-warm-alt);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.12);
    outline: none;
}

@media (max-width: 768px) {
    #coverage-map { height: 360px; }
}

@media (max-width: 480px) {
    #coverage-map { height: 280px; border-radius: 12px; }
}

#coverage-map:focus-visible {
    box-shadow: 0 0 0 3px var(--brand-orange);
}

.coverage-map__legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.coverage-map__legend-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    margin-right: 0.25rem;
    vertical-align: middle;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.coverage-map__legend-group {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.leaflet-tooltip.coverage-tooltip {
    background: var(--coverage-tooltip-bg);
    color: var(--coverage-tooltip-text);
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-tooltip.coverage-tooltip::before,
.leaflet-tooltip.coverage-tooltip::after {
    display: none;
}

.coverage-tooltip__name {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.coverage-tooltip__meta {
    display: block;
    opacity: 0.85;
    font-weight: 400;
}

#coverage-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    min-height: 1.5em;
}

#coverage-message.is-served {
    background: rgba(0, 184, 169, 0.12);
    color: var(--text-teal);
    border-left: 3px solid var(--brand-teal);
}

#coverage-message.is-unserved {
    background: rgba(255, 103, 0, 0.08);
    color: var(--text-orange);
    border-left: 3px solid var(--brand-orange);
}

#coverage-message.is-error {
    background: rgba(192, 57, 43, 0.08);
    color: var(--color-error);
    border-left: 3px solid var(--color-error);
}

@keyframes coverage-pulse {
    0%   { stroke-width: 2; stroke-opacity: 1; }
    50%  { stroke-width: 6; stroke-opacity: 1; }
    100% { stroke-width: 2; stroke-opacity: 1; }
}

.coverage-county--highlighted {
    animation: coverage-pulse 1.2s ease-in-out 3;
}

/* ===== components/logo-marquee.css ===== */
/* Logo marquee — infinite horizontal scroll of partner/client logos.
   Content is duplicated in the template; translating by -50% loops seamlessly. */

.logo-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* Edge fade so logos enter/exit smoothly without hard cutoff. */
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  will-change: transform;
  animation: logo-marquee-scroll 60s linear infinite;
}

/* Multiple tracks stack vertically with a small gap */
.logo-marquee__track + .logo-marquee__track {
  margin-top: 0.75rem;
}

/* Alternate direction row-to-row for visual interest */
.logo-marquee__track--rtl {
  animation-direction: reverse;
  animation-duration: 75s;  /* slight offset prevents synchronized start */
}

.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}

.logo-marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  min-width: 120px;
  padding: 0.5rem 1rem;
}

.logo-marquee__item img {
  max-height: 48px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Variant: dark section (home trust-bar). White pill card per logo so dark SVGs stay legible. */
.logo-marquee--on-dark .logo-marquee__item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* White-on-transparent logos: invert so they render dark on light pages,
   and keep them dark on the home trust-bar's white pill containers. */
.logo--invert {
  filter: invert(1) brightness(0.85);
}

/* Variant: single-logo category (no marquee, center-aligned). */
.logo-marquee--single {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.logo-marquee--single .logo-marquee__item {
  height: auto;
  padding: 1rem 2rem;
}

.logo-marquee--single .logo-marquee__item img {
  max-height: 80px;
  max-width: 240px;
}

@keyframes logo-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Reduced-motion: stop animation, wrap logos as a grid instead. */
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  /* Hide the duplicated set in reduced-motion mode (it's decorative). */
  .logo-marquee__track > [aria-hidden="true"] { display: none; }
}

/* Organizations page — category section wrapper around marquee */
.org-logos {
  margin-top: 1.5rem;
}

.org-logos__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted, #6b7280);
  text-align: center;
  margin-bottom: 0.75rem;
}

/* ===== responsive.css ===== */
/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --container-padding: 1.5rem;
    }

    .hero {
        min-height: 70vh;
    }

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

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

    /* Footer: collapse 4 → 2 columns at tablet widths */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Homepage: Coverage layout stacks */
    .coverage-layout {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    /* Mobile menu toggle visible from tablet width down */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile nav menu */
    .navbar-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition-base);
    }

    .navbar-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-menu.active .nav-item > a {
        color: var(--gray-900);
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
    }

    /* Nav CTA in mobile */
    .nav-cta {
        display: block;
        text-align: center;
        margin-top: 1rem;
    }

    /* Dropdown mobile */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        min-width: 0;
        width: 100%;
        padding: 0;
        margin-top: 0.5rem;
        display: none;
        border-radius: 0;
    }

    .has-dropdown.open > .dropdown {
        display: block;
    }
}

@media (max-width: 768px) {
    /* Hero stacking */
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 3rem var(--container-padding);
    }

    .hero__model model-viewer {
        height: 350px;
    }

    .hero__ctas {
        flex-direction: column;
    }

    /* Stats grid — 2 columns on tablet */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Audience router — stack on mobile (legacy) */
    .audience-router__grid {
        grid-template-columns: 1fr;
    }

    /* Homepage: Audience grid — stack on mobile */
    .audience-grid {
        grid-template-columns: 1fr;
    }

    /* Homepage: Services grid — stack on mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Homepage: Fleet grid — stack on mobile */
    .fleet-grid {
        grid-template-columns: 1fr;
    }

    /* Homepage: Testimonials grid — stack on mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Homepage: Coverage search — full width */
    .coverage-search {
        flex-direction: column;
    }

    .coverage-search__box {
        width: 100%;
    }

    /* Homepage: Trust logos — wrap */
    .trust-logos {
        gap: var(--space-4);
    }

    /* Homepage: Final CTA actions — stack */
    .final-cta__actions {
        flex-direction: column;
        gap: var(--space-4);
    }

    /* Orange split-section: solid on mobile (no gradient clip) */
    .section-primary-left {
        background: var(--primary-orange);
    }

    /* General grids */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .model-viewer-container model-viewer {
        height: 280px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    /* Footer: collapse 2 → 1 column on phone widths */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1.0625rem;
    }

    .stat-item__number {
        font-size: 2rem;
    }
}
