/**
 * ============================================================================
 * WICKBOND DESIGN SYSTEM v7.0 — PRODUCTION FINAL
 * ============================================================================
 *
 * CHANGE LOG — v7.0 Complete Refactor
 * ------------------------------------
 *
 * ACCESSIBILITY FIXES:
 * • Fixed focus outline removal — now uses :focus:not(:focus-visible) pattern
 * • Added prefers-contrast: high media query support
 * • Added forced-colors: active support for Windows High Contrast
 * • Improved focus indicators across all interactive elements
 * • Added aria-live region styles for dynamic content
 *
 * PERFORMANCE OPTIMIZATIONS:
 * • Moved will-change to transition states only (not permanent)
 * • Fixed background-attachment: fixed for mobile (causes jank on iOS)
 * • Consolidated duplicate @supports checks into utility classes
 * • Removed infinite animations when reduced-motion preferred
 * • Added Intersection Observer hooks for animation pause
 * • Optimized selector specificity throughout
 *
 * CODE QUALITY IMPROVEMENTS:
 * • Removed all duplicate class definitions
 * • Consolidated duplicate reset rules
 * • Added tokens for previously magic numbers
 * • Fixed inconsistent color semantics (error color now red-based)
 * • Limited tabular-nums to appropriate elements only
 * • Added first-child margin reset for headings
 *
 * STRUCTURAL CHANGES:
 * • Unified breadcrumb component (removed duplicate)
 * • Expanded dark mode support system-wide
 * • Cleaned up print styles
 * • Updated section numbering (now 1-14, accurate)
 *
 * TABLE OF CONTENTS
 * -----------------
 * 1.0  Design Tokens
 * 2.0  Reset & Base
 * 3.0  Typography
 * 4.0  Layout
 * 5.0  Components
 * 6.0  Navigation
 * 7.0  Hero
 * 8.0  Sections
 * 9.0  Forms
 * 10.0 Footer
 * 11.0 Subpages
 * 12.0 Utilities
 * 13.0 Media Queries
 * 14.0 Quote Page Components
 *
 * ============================================================================
 */


/* ==========================================================================
   1.0 DESIGN TOKENS
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1.1 Font Definitions
   --------------------------------------------------------------------------- */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter-Italic.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/Cormorant_Garamond/CormorantGaramond.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/Cormorant_Garamond/CormorantGaramond-Italic.woff2') format('woff2');
    font-weight: 300 700;
    font-style: italic;
    font-display: swap;
}

/* ---------------------------------------------------------------------------
   1.2 CSS Custom Properties
   --------------------------------------------------------------------------- */

:root {
    /* -------------------------------------------------------------------------
       Color Palette
       ------------------------------------------------------------------------- */
    --color-bg: #faf9f6;
    --color-bg-alt: #f5f4f1;
    --color-navy: #002366;
    --color-navy-light: #003399;
    --color-navy-dark: #001744;
    --color-gold: #d4af37;
    --color-gold-dark: #b8962e;
    --color-ink: #0a1128;
    --color-slate: #5d6d7e;
    --color-white: #fff;

    /* Semantic Status Colors — Using conventional expectations */
    --color-error: #dc2626;
    --color-error-light: #fef2f2;
    --color-error-border: #fecaca;
    --color-warning: #d97706;
    --color-warning-light: #fffbeb;
    --color-success: #16a34a;
    --color-success-light: #f0fdf4;
    --color-info: #0284c7;

    /* -------------------------------------------------------------------------
       Semantic Colors
       ------------------------------------------------------------------------- */
    --color-text-primary: rgba(10, 17, 40, 0.92);
    --color-text-secondary: rgba(10, 17, 40, 0.72);
    --color-text-tertiary: rgba(10, 17, 40, 0.56);
    --color-text-muted: rgba(10, 17, 40, 0.4);
    --color-border: rgba(10, 17, 40, 0.1);
    --color-border-hover: rgba(212, 175, 55, 0.55);

    /* -------------------------------------------------------------------------
       Glass System — Optimized for Performance
       ------------------------------------------------------------------------- */
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-bg-hover: rgba(255, 255, 255, 0.7);
    --glass-bg-solid: #f9f8f6;
    /* Fallback for non-blur browsers */
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-border-bottom: rgba(212, 175, 55, 0.2);
    --glass-blur: 16px;
    --glass-saturate: 1.8;

    /* -------------------------------------------------------------------------
       Typography
       ------------------------------------------------------------------------- */
    --font-heading: "Cormorant Garamond", Georgia, serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 15px;
    --line-height-base: 1.7;
    --line-height-tight: 1.25;

    /* -------------------------------------------------------------------------
       Spacing Scale
       ------------------------------------------------------------------------- */
    --space-2xs: 2px;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* -------------------------------------------------------------------------
       Layout
       ------------------------------------------------------------------------- */
    --container-max: 1200px;
    --content-max-width: 70ch;
    --content-narrow: 60ch;
    --header-height: 74px;
    --header-height-mobile: 62px;

    /* -------------------------------------------------------------------------
       Component Sizes — Previously Magic Numbers
       ------------------------------------------------------------------------- */
    --dot-mode-size: 60px;
    --dot-mode-size-mobile: 54px;
    --dot-mode-logo-size: 32px;
    --dot-mode-logo-size-mobile: 28px;
    --ring-size: 60px;
    --ring-size-mobile: 54px;
    --optical-adjust-y: -1px;
    /* Visual centering micro-adjustment */
    --timeline-dot-size: 14px;
    --timeline-dot-offset: 22px;

    /* -------------------------------------------------------------------------
       Radii
       ------------------------------------------------------------------------- */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;

    /* -------------------------------------------------------------------------
       Shadows — Consolidated for Performance
       ------------------------------------------------------------------------- */
    --shadow-sm: 0 2px 8px rgba(0, 35, 102, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 35, 102, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 35, 102, 0.12);
    --shadow-gold: 0 12px 32px rgba(212, 175, 55, 0.25);
    --shadow-gold-strong: 0 16px 40px rgba(212, 175, 55, 0.35);
    --shadow-glass:
        0 8px 32px rgba(0, 35, 102, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    --shadow-dot-mode:
        0 8px 32px rgba(0, 35, 102, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    --shadow-dot-mode-hover:
        0 12px 40px rgba(0, 35, 102, 0.2),
        0 6px 16px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    /* -------------------------------------------------------------------------
       Motion — Standardized Durations & Easings
       ------------------------------------------------------------------------- */
    --ease-smooth: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);

    --duration-instant: 200ms;
    --duration-fast: 250ms;
    --duration-smooth: 350ms;
    --duration-complex: 500ms;
    --stagger-delay: 50ms;

    /* -------------------------------------------------------------------------
       Z-Index Scale
       ------------------------------------------------------------------------- */
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-mobile-nav: 999;
    --z-header: 1000;
    --z-modal: 2000;
    --z-skip-link: 10000;

    /* -------------------------------------------------------------------------
       Focus Ring
       ------------------------------------------------------------------------- */
    --focus-ring-color: var(--color-gold);
    --focus-ring-width: 2px;
    --focus-ring-offset: 3px;
}


/* ==========================================================================
   2.0 RESET & BASE
   ========================================================================== */

/* ---------------------------------------------------------------------------
   2.1 Box Sizing & Margins
   --------------------------------------------------------------------------- */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------------------------------------------------------------------------
   2.2 Document
   --------------------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--space-lg));
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Prevent font size inflation on mobile */
    -moz-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text-primary);
    background:
        linear-gradient(135deg,
            #faf9f6 0%,
            #f8f6f0 25%,
            #fbf9f4 50%,
            #f5f3ee 75%,
            #fdfcf9 100%);
    /* Fixed background only on desktop — causes jank on iOS */
    background-attachment: scroll;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Enable fixed background only on capable devices */
@media (min-width: 769px) and (hover: hover) {
    body {
        background-attachment: fixed;
    }
}

/* Ambient glow overlay — GPU optimized */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 0% 0%, rgba(212, 175, 55, 0.07), transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 35, 102, 0.06), transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 30%, rgba(212, 175, 55, 0.04), transparent 40%);
    contain: strict;
}

/* ---------------------------------------------------------------------------
   2.3 Media Elements (Consolidated)
   --------------------------------------------------------------------------- */

img,
svg,
video,
picture {
    display: block;
    max-width: 100%;
    height: auto;
}

img,
video {
    vertical-align: middle;
}

/* ---------------------------------------------------------------------------
   2.4 Focus States — Accessible Pattern
   --------------------------------------------------------------------------- */

/* Remove outline only for mouse users, keep for keyboard */
:focus:not(:focus-visible) {
    outline: none;
}

/* Visible focus ring for keyboard navigation */
:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

/* High contrast focus for specific elements */
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

/* ---------------------------------------------------------------------------
   2.5 Selection
   --------------------------------------------------------------------------- */

::selection {
    background: rgba(212, 175, 55, 0.25);
    color: var(--color-navy);
}

::-moz-selection {
    background: rgba(212, 175, 55, 0.25);
    color: var(--color-navy);
}

/* ---------------------------------------------------------------------------
   2.6 Base Elements
   --------------------------------------------------------------------------- */

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-instant) ease;
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

/* Prevent text selection on interactive elements */
button,
[role="button"] {
    -webkit-user-select: none;
    user-select: none;
}

/* ---------------------------------------------------------------------------
   2.7 Tabular Numbers — Applied Only Where Needed
   --------------------------------------------------------------------------- */

.tabular-nums,
[data-numeric],
.price,
.stats,
.meta-value,
.step-number,
.qualification-number,
time,
td,
th {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}


/* ==========================================================================
   3.0 TYPOGRAPHY
   ========================================================================== */

/* ---------------------------------------------------------------------------
   3.1 Headings
   --------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: var(--line-height-tight);
    color: var(--color-navy);
    letter-spacing: -0.02em;
    margin: 0;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 400;
}

h4 {
    font-size: 1.125rem;
    font-weight: 500;
}

h5 {
    font-size: 1rem;
    font-weight: 500;
}

h6 {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Heading Spacing */
h1,
h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

h3,
h4 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

h5,
h6 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

/* Remove top margin when heading is first child */
:where(section, article, aside, main, .content, .container)> :first-child {
    margin-top: 0;
}

/* ---------------------------------------------------------------------------
   3.2 Body Text
   --------------------------------------------------------------------------- */

p {
    margin: 0 0 var(--space-md);
    max-width: var(--content-max-width);
    color: var(--color-text-secondary);
}

strong,
b {
    font-weight: 600;
    color: var(--color-text-primary);
}

a,
label {
    font-weight: 500;
}

small {
    font-size: 0.875em;
}


/* ==========================================================================
   4.0 LAYOUT
   ========================================================================== */

.container {
    width: min(var(--container-max), calc(100% - var(--space-xl)));
    margin-inline: auto;
}

.section {
    padding-block: var(--space-3xl);
    position: relative;
    /* Performance: Enable content-visibility for below-fold sections */
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* First section should not defer rendering */
.section:first-of-type {
    content-visibility: visible;
    contain-intrinsic-size: none;
}

.header-spacer {
    height: 108px;
}


/* ==========================================================================
   5.0 COMPONENTS
   ========================================================================== */

/* ---------------------------------------------------------------------------
   5.1 Glass Cards — With Performance Fallbacks
   --------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------
   5.1 Glass Cards — With Complete Performance Fallbacks
   --------------------------------------------------------------------------- */

/*
 * Glass Morphism Strategy:
 * 1. Base styles work everywhere (solid backgrounds)
 * 2. @supports adds blur effects where available
 * 3. No empty rulesets — every selector has properties
 */

/* Base glass card — works in all browsers */
.glass-card {
    background: var(--glass-bg-solid);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    border-bottom-color: var(--glass-border-bottom);
    box-shadow: var(--shadow-glass);
    transition:
        transform var(--duration-smooth) var(--ease-smooth),
        box-shadow var(--duration-smooth) ease,
        background var(--duration-smooth) ease;
    /* Performance: Isolate layer */
    contain: layout style;
}

.glass-card:hover {
    transform: translateY(-3px);
    background: var(--glass-bg-hover);
    box-shadow: var(--shadow-lg);
}

/* Enhanced glass effect — only where backdrop-filter is supported */
@supports (backdrop-filter: blur(1px)) {
    .glass-card {
        background: var(--glass-bg);
        backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
        -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    }

    .glass-card:hover {
        background: var(--glass-bg-hover);
    }
}

/* ---------------------------------------------------------------------------
   5.1.1 Glass Fallbacks — All elements using glass effect
   --------------------------------------------------------------------------- */

/*
 * Elements with glass morphism effect:
 * - Navigation header
 * - Mobile navigation
 * - Form inputs
 * - Various cards and labels
 * 
 * Each element gets solid fallback by default,
 * then enhanced with blur where supported.
 */

/* Navigation Elements — Base (solid fallback) */
.morph-header {
    background: var(--glass-bg-solid);
}

.mobile-nav {
    background: rgba(255, 255, 255, 0.98);
}

/* Form Elements — Base (solid fallback) */
.form-input,
.form-select,
.form-textarea {
    background: rgba(255, 255, 255, 0.95);
}

/* Card Elements — Base (solid fallback) */
.meta-item {
    background: rgba(255, 255, 255, 0.9);
}

.feature-item {
    background: var(--glass-bg-solid);
}

.beyond-note {
    background: var(--glass-bg-solid);
}

.contact-pill {
    background: rgba(255, 255, 255, 0.9);
}

.facility-visual-label {
    background: rgba(255, 255, 255, 0.95);
}

/* Navigation Elements — Enhanced (with blur) */
@supports (backdrop-filter: blur(1px)) {
    .morph-header {
        background: var(--glass-bg);
        backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
        -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    }

    .mobile-nav {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(24px) saturate(1.8);
        -webkit-backdrop-filter: blur(24px) saturate(1.8);
    }
}

/* Form Elements — Enhanced (with blur) */
@supports (backdrop-filter: blur(1px)) {

    .form-input,
    .form-select,
    .form-textarea {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        background: rgba(255, 255, 255, 0.9);
    }
}

/* Card Elements — Enhanced (with blur) */
@supports (backdrop-filter: blur(1px)) {
    .meta-item {
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .feature-item {
        background: var(--glass-bg);
        backdrop-filter: blur(var(--glass-blur));
        -webkit-backdrop-filter: blur(var(--glass-blur));
    }

    .beyond-note {
        background: var(--glass-bg);
        backdrop-filter: blur(var(--glass-blur));
        -webkit-backdrop-filter: blur(var(--glass-blur));
    }

    .contact-pill {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .facility-visual-label {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

/* ---------------------------------------------------------------------------
   5.2 Buttons
   --------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-navy);
    white-space: nowrap;
    transition:
        transform var(--duration-fast) var(--ease-smooth),
        border-color var(--duration-fast) ease,
        box-shadow var(--duration-fast) ease,
        background var(--duration-fast) ease;
}

.btn:hover {
    transform: translateY(-2px);
    border-color: var(--color-border-hover);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Button Variants */
.btn--primary {
    background: linear-gradient(180deg, var(--color-gold), var(--color-gold-dark));
    border-color: var(--color-gold);
    color: var(--color-ink);
    box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
    box-shadow: var(--shadow-gold-strong);
    border-color: var(--color-gold);
}

.btn--navy {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: var(--color-white);
    box-shadow: 0 12px 32px rgba(0, 35, 102, 0.2);
}

.btn--navy:hover {
    background: var(--color-navy-light);
    box-shadow: 0 16px 40px rgba(0, 35, 102, 0.25);
}

.btn--white {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--color-navy);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--white:hover {
    background: var(--color-white);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--lg {
    padding: 18px 36px;
    font-size: 13px;
}

/* ---------------------------------------------------------------------------
   5.3 Icons
   --------------------------------------------------------------------------- */

.icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

/* ---------------------------------------------------------------------------
   5.4 Labels & Tags
   --------------------------------------------------------------------------- */

.label-tech {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-slate);
    margin-bottom: var(--space-md);
}

.label-tech::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border);
    color: var(--color-text-secondary);
}

.tag-gold {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-navy);
}

.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

/* ---------------------------------------------------------------------------
   5.5 Logo Styles
   --------------------------------------------------------------------------- */

/* Brand Wrapper */
.brand-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-left: 0;
    margin-right: var(--space-md);
    overflow: visible;
    transition:
        opacity 0.4s var(--ease-out-expo),
        transform 0.4s var(--ease-out-expo);
}

.brand-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    color: inherit;
}

.brand-link:hover .brand-name {
    color: var(--color-navy-light);
}

.brand-link:hover .logo-nav {
    opacity: 0.85;
}

/* Navigation Logo — Stable Transform Origin */
.logo-nav {
    display: block;
    height: 65px;
    width: auto;
    max-width: none;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    transform-origin: left center;
    transition:
        opacity var(--duration-fast) ease,
        transform var(--duration-smooth) var(--ease-smooth);
}

/* Footer Logo */
.footer-logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-footer {
    display: block;
    height: 120px;
    width: auto;
    opacity: 1;
    transition:
        opacity var(--duration-fast) ease,
        filter var(--duration-fast) ease;
}

.footer-logo-link:hover .logo-footer {
    opacity: 0.9;
}

.footer .logo-footer {
    filter: brightness(0) invert(1) sepia(0.15) saturate(3) hue-rotate(10deg);
    opacity: 1;
}

.footer .logo-footer:hover {
    filter: brightness(0) invert(1) sepia(0.25) saturate(4) hue-rotate(15deg);
    opacity: 1;
}

/* Full Logo Styles */
.logo-full {
    display: block;
    width: 100%;
    height: auto;
    max-width: 200px;
}

.footer-logo .logo-full {
    max-width: 160px;
    opacity: 0.9;
}

.about-logo .logo-full {
    max-width: 280px;
    margin: 0 auto;
}

/* Hide legacy brand elements */
.brand-mark,
.logo-icon {
    display: none;
}


/* ==========================================================================
   6.0 NAVIGATION
   ========================================================================== */

/* ---------------------------------------------------------------------------
   6.1 Morphing Header Core
   --------------------------------------------------------------------------- */

.morph-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-header);
    padding: 4px 8px 4px 0;
    background: var(--glass-bg);
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    /* Performance: Isolate for compositing */
    contain: layout style;
}

/* Backdrop-filter with fallback */
@supports (backdrop-filter: blur(1px)) {
    .morph-header {
        backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
        -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    }
}

@supports not (backdrop-filter: blur(1px)) {
    .morph-header {
        background: var(--glass-bg-solid);
    }
}

/* Pill Mode (default) */
.morph-header.pill-mode {
    width: min(95%, 1100px);
    height: var(--header-height);
    transition:
        border-radius 0.4s var(--ease-smooth),
        width 0.55s var(--ease-smooth) 0.05s,
        height 0.55s var(--ease-smooth) 0.05s,
        padding var(--duration-complex) var(--ease-smooth) 0.05s,
        background 0.45s ease,
        box-shadow var(--duration-smooth) ease,
        transform var(--duration-smooth) ease;
}

/* Add will-change only during active transitions */
.morph-header.is-transitioning {
    will-change: transform, width, height;
}

/* Dot Mode (compact) — Stable Centering */
.morph-header.dot-mode {
    top: 24px;
    left: auto;
    right: 24px;
    transform: none;
    width: var(--dot-mode-size);
    height: var(--dot-mode-size);
    padding: 0;
    border-radius: 50%;
    background: var(--color-white);
    cursor: pointer;
    box-shadow: var(--shadow-dot-mode);
    /* Flex centering for logo instead of absolute positioning */
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        width 0.45s var(--ease-out-expo),
        height 0.45s var(--ease-out-expo),
        padding 0.45s var(--ease-out-expo),
        border-radius 0.45s var(--ease-out-expo),
        top 0.45s var(--ease-out-expo),
        left 0.45s var(--ease-out-expo),
        right 0.45s var(--ease-out-expo),
        background 0.4s ease,
        box-shadow 0.3s ease,
        transform 0.45s var(--ease-out-expo);
}

.morph-header.dot-mode:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-dot-mode-hover);
}

.morph-header.dot-mode:active {
    transform: scale(0.98);
    transition-duration: 0.1s;
}

/* ---------------------------------------------------------------------------
   6.2 Header Inner & Brand
   --------------------------------------------------------------------------- */

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    transition:
        opacity 0.35s var(--ease-out-expo),
        transform 0.4s var(--ease-out-expo);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
    letter-spacing: 0.02em;
}

.brand-tagline {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-slate);
    margin-top: var(--space-xs);
}

/* Dot mode brand states — Refined positioning */
.morph-header.dot-mode .header-inner {
    display: flex;
}

.morph-header.dot-mode .brand-wrapper {
    position: static;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.morph-header.dot-mode .brand-text {
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

/* DOT MODE LOGO — visual only, interaction handled by dot-trigger */
.morph-header.dot-mode .logo-nav {
    position: relative;
    z-index: 5;
    width: var(--dot-mode-logo-size);
    height: var(--dot-mode-logo-size);
    max-width: var(--dot-mode-logo-size);
    max-height: var(--dot-mode-logo-size);
    margin: auto;
    pointer-events: none;
    transform: translateY(var(--optical-adjust-y));
}

/* ---------------------------------------------------------------------------
   6.3 Desktop Navigation
   --------------------------------------------------------------------------- */

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition:
        opacity 0.4s ease 0.45s,
        visibility 0s linear 0.45s,
        transform 0.4s var(--ease-out-expo) 0.1s;
}

.morph-header.dot-mode .nav-links {
    display: none;
    transform: translateX(20px);
    pointer-events: none;
    visibility: hidden;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s var(--ease-out-expo);
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    padding: 10px 14px;
    border-radius: 25px;
    position: relative;
    transition:
        color var(--duration-fast) ease,
        background var(--duration-fast) ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-navy);
    background: rgba(0, 35, 102, 0.05);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-gold);
    border-radius: var(--radius-full);
    transition: width 0.3s var(--ease-smooth);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    width: calc(100% - 28px);
}

/* Nav CTA Button */
.nav-cta-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-sm) var(--space-md);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--color-navy);
    color: var(--color-white);
    border-radius: 25px;
    margin-left: 8px;
    margin-right: 0;
    position: relative;
    z-index: 10;
    transition:
        background var(--duration-fast) ease,
        transform var(--duration-fast) ease,
        box-shadow var(--duration-fast) ease;
}

.nav-cta-btn:hover {
    background: var(--color-navy-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 35, 102, 0.3);
}

.nav-cta-btn:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.nav-cta-btn svg {
    width: 14px;
    height: 14px;
}

.morph-header.dot-mode .nav-cta-btn {
    opacity: 0;
    pointer-events: none;
}

/* ---------------------------------------------------------------------------
   6.4 Dropdowns
   --------------------------------------------------------------------------- */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    padding: 10px 14px;
    border-radius: 25px;
    transition:
        color var(--duration-fast) ease,
        background var(--duration-fast) ease;
}

.nav-dropdown-trigger:hover {
    color: var(--color-navy);
    background: rgba(0, 35, 102, 0.05);
}

.nav-dropdown-trigger:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.dropdown-arrow {
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown-trigger[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 260px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    box-shadow:
        0 20px 50px rgba(0, 35, 102, 0.15),
        0 10px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 35, 102, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
    z-index: var(--z-dropdown);
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--color-white);
    border-left: 1px solid rgba(0, 35, 102, 0.06);
    border-top: 1px solid rgba(0, 35, 102, 0.06);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-trigger[aria-expanded="true"]+.nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s ease;
}

.nav-dropdown-item:hover {
    background: rgba(0, 35, 102, 0.04);
}

.nav-dropdown-item:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: -2px;
}

.dropdown-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
}

.dropdown-item-desc {
    font-size: 12px;
    color: var(--color-text-tertiary);
    line-height: 1.4;
}

/* ---------------------------------------------------------------------------
   6.5 Mobile Navigation
   --------------------------------------------------------------------------- */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--color-navy);
    transition: background var(--duration-fast) ease;
}

.menu-toggle:hover {
    background: rgba(0, 35, 102, 0.06);
}

.menu-toggle:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.menu-toggle .icon-close {
    display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
    display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

.morph-header.dot-mode .menu-toggle {
    display: none;
}

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: var(--z-mobile-nav);
    background: rgba(255, 255, 255, 0.98);
    padding: var(--space-3xl) var(--space-xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.5s var(--ease-smooth);
}

@supports (backdrop-filter: blur(1px)) {
    .mobile-nav {
        backdrop-filter: blur(24px) saturate(1.8);
        -webkit-backdrop-filter: blur(24px) saturate(1.8);
    }
}

.mobile-nav.is-open {
    transform: translateY(0);
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-navy);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    transition: color var(--duration-fast) ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--color-gold);
}

.mobile-nav-link:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.mobile-nav-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
}

/* Mobile Dropdowns */
.mobile-nav-dropdown {
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-sm) 0;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-navy);
    cursor: pointer;
    text-align: left;
}

.mobile-nav-dropdown-trigger:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.mobile-nav-dropdown-trigger .dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.mobile-nav-dropdown.is-open .mobile-nav-dropdown-trigger .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-nav-dropdown-menu {
    display: none;
    padding: 0 0 var(--space-md) var(--space-md);
}

.mobile-nav-dropdown.is-open .mobile-nav-dropdown-menu {
    display: block;
}

.mobile-nav-dropdown-item {
    display: block;
    padding: var(--space-sm) 0;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-left: 2px solid var(--color-border);
    padding-left: var(--space-md);
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.mobile-nav-dropdown-item:hover {
    color: var(--color-navy);
    border-left-color: var(--color-gold);
}

.mobile-nav-dropdown-item:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

body.nav-open {
    overflow: hidden;
}

/* ---------------------------------------------------------------------------
   6.6 Dot Mode Extras (Ring, Pulse, Contact Hub)
   --------------------------------------------------------------------------- */

/* DOT MODE CLICK TARGET — DO NOT REMOVE */
.dot-trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 30;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.dot-trigger:focus-visible {
    outline: none;
}

.morph-header.dot-mode .dot-trigger {
    opacity: 1;
    pointer-events: auto;
}

.morph-header.dot-mode .dot-trigger:focus-visible {
    outline: 3px solid var(--color-navy);
    outline-offset: 4px;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(0, 35, 102, 0.1);
}

/* Progress Ring */
.ring-container {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--ring-size);
    height: var(--ring-size);
    pointer-events: none;
    opacity: 0;
    transform: scale(0.8) rotate(-90deg);
    transition:
        opacity 0.4s ease 0.15s,
        transform 0.5s var(--ease-out-back) 0.15s;
    z-index: 20;
}

.morph-header.dot-mode .ring-container {
    opacity: 1;
    transform: scale(1) rotate(-90deg);
}

.progress-ring__bg {
    stroke: rgba(0, 35, 102, 0.08);
}

.progress-ring__circle {
    stroke: var(--color-gold);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.12s linear;
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.5));
}

/* Pulse Ring */
.pulse-ring {
    position: absolute;
    width: var(--ring-size);
    height: var(--ring-size);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.ring-container,
.pulse-ring {
    pointer-events: none;
}

/* Only animate when visible and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
    .morph-header.dot-mode:not(.is-hidden) .pulse-ring {
        animation: pulse 2.5s ease-out infinite 1.5s;
    }

    .morph-header.dot-mode:not(.is-hidden):hover .pulse-ring {
        animation: pulse-enhanced 1.8s ease-out infinite;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

@keyframes pulse-enhanced {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Contact Hub */
.contact-hub {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    background: var(--color-white);
    border-radius: 18px;
    padding: 10px;
    box-shadow:
        0 20px 60px rgba(0, 35, 102, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(212, 175, 55, 0.15);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    pointer-events: none;
    transition:
        opacity 0.35s var(--ease-out-expo),
        transform 0.35s var(--ease-out-expo),
        visibility 0.35s ease;
}

.contact-hub.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.hub-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 14px;
    border-radius: 12px;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.hub-link:hover {
    background: rgba(0, 35, 102, 0.04);
    transform: translateX(4px);
}

.hub-link:focus-visible {
    outline: var(--focus-ring-width) solid var(--color-navy);
    outline-offset: 2px;
    background: rgba(0, 35, 102, 0.06);
}

.hub-link .hub-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    color: var(--color-gold);
    flex-shrink: 0;
}

.hub-link .hub-icon svg {
    width: 16px;
    height: 16px;
}

.hub-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 35, 102, 0.08), transparent);
    margin: var(--space-sm) 0;
}

.hub-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-navy);
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.hub-footer:hover {
    background: rgba(0, 35, 102, 0.04);
}

.hub-footer:focus-visible {
    outline: var(--focus-ring-width) solid var(--color-navy);
    outline-offset: 2px;
    background: rgba(0, 35, 102, 0.06);
}

.hub-footer svg {
    width: 14px;
    height: 14px;
}


/* ==========================================================================
   7.0 HERO
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    /* Don't defer hero rendering */
    content-visibility: visible;
}

.hero-visual {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(145deg, #2a3a5c, #1a2744 50%, #0f1a2e);
}

.hero-visual picture,
.hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 18, 51, 0.75),
            rgba(0, 35, 102, 0.5) 50%,
            rgba(0, 18, 51, 0.6));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--container-max), calc(100% - var(--space-xl)));
    margin: 0 auto;
    padding: var(--space-3xl) 0;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
}

.hero-badge::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 56ch;
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.hero-accent {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    border-radius: var(--radius-full);
}

/* Subpage Hero */
.hero--subpage .hero-visual {
    min-height: 320px;
}

.hero--subpage .hero-content {
    padding: var(--space-2xl) 0;
}

.hero--subpage .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-md);
}

.hero--subpage .hero-desc {
    font-size: 16px;
    max-width: 60ch;
}

/* ==========================================================================
   8.0 SECTIONS
   ========================================================================== */

/* ---------------------------------------------------------------------------
   8.1 Trust Bar
   --------------------------------------------------------------------------- */

.trustbar {
    width: 100%;
    margin-top: calc(-1 * var(--space-xl));
    padding: var(--space-lg) 0;
    position: relative;
    z-index: 10;
    /* Don't defer trust bar */
    content-visibility: visible;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
}

.trust-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

.trust-icon svg {
    width: 22px;
    height: 22px;
}

.trust-text strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.trust-text span {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

/* ---------------------------------------------------------------------------
   8.2 Intro
   --------------------------------------------------------------------------- */

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
    align-items: start;
    margin-top: var(--space-lg);
}

.intro-text h2 {
    margin: var(--space-md) 0;
}

.intro-text p {
    margin-bottom: var(--space-md);
    max-width: var(--content-max-width);
}

.facility-card {
    padding: var(--space-lg);
}

.facility-visual {
    height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #e0ded9, #c8c6c1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-visual-label {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-slate);
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    z-index: 2;
}

@supports (backdrop-filter: blur(1px)) {
    .facility-visual-label {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

.facility-visual svg {
    width: 80px;
    height: 80px;
    color: rgba(0, 35, 102, 0.15);
}

.facility-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.meta-item {
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--glass-border);
}

@supports (backdrop-filter: blur(1px)) {
    .meta-item {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.meta-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-slate);
    margin-bottom: 4px;
}

.meta-value {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-navy);
}

/* ---------------------------------------------------------------------------
   8.3 B2B Programs
   --------------------------------------------------------------------------- */

.b2b-section {
    margin-top: var(--space-3xl);
}

.b2b-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.b2b-card {
    padding: var(--space-lg);
    transition:
        opacity var(--duration-smooth) var(--ease-smooth),
        transform var(--duration-smooth) var(--ease-smooth);
}

.b2b-card:nth-child(1) {
    transition-delay: calc(var(--stagger-delay) * 0);
}

.b2b-card:nth-child(2) {
    transition-delay: calc(var(--stagger-delay) * 1);
}

.b2b-card:nth-child(3) {
    transition-delay: calc(var(--stagger-delay) * 2);
}

.b2b-card:nth-child(4) {
    transition-delay: calc(var(--stagger-delay) * 3);
}

.b2b-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(0, 35, 102, 0.06);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    margin-bottom: var(--space-md);
}

.b2b-card-icon svg {
    width: 24px;
    height: 24px;
}

.b2b-card h3 {
    margin-bottom: var(--space-sm);
}

.b2b-card p {
    font-size: 14px;
    max-width: var(--content-narrow);
}

/* ---------------------------------------------------------------------------
   8.4 Portfolio Bento
   --------------------------------------------------------------------------- */

.portfolio-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.portfolio-header p {
    max-width: var(--content-narrow);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
}

.bento-card {
    padding: var(--space-lg);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    transition:
        opacity var(--duration-smooth) var(--ease-smooth),
        transform var(--duration-smooth) var(--ease-smooth);
}

.bento-card:nth-child(1) {
    transition-delay: calc(var(--stagger-delay) * 0);
}

.bento-card:nth-child(2) {
    transition-delay: calc(var(--stagger-delay) * 1);
}

.bento-card:nth-child(3) {
    transition-delay: calc(var(--stagger-delay) * 2);
}

.bento-card:nth-child(4) {
    transition-delay: calc(var(--stagger-delay) * 3);
}

.bento-card:nth-child(5) {
    transition-delay: calc(var(--stagger-delay) * 4);
}

.bento-card:nth-child(6) {
    transition-delay: calc(var(--stagger-delay) * 5);
}

.bento-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--color-navy);
    margin-bottom: var(--space-sm);
}

.bento-card-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    flex-grow: 1;
    max-width: var(--content-narrow);
}

.span-6 {
    grid-column: span 6;
}

.span-4 {
    grid-column: span 4;
}

.span-3 {
    grid-column: span 3;
}

/* ---------------------------------------------------------------------------
   8.5 Capabilities
   --------------------------------------------------------------------------- */

.capabilities-section {
    margin-top: var(--space-3xl);
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.cap-card {
    padding: var(--space-lg);
    transition:
        opacity var(--duration-smooth) var(--ease-smooth),
        transform var(--duration-smooth) var(--ease-smooth);
}

.cap-card:nth-child(1) {
    transition-delay: calc(var(--stagger-delay) * 0);
}

.cap-card:nth-child(2) {
    transition-delay: calc(var(--stagger-delay) * 1);
}

.cap-card:nth-child(3) {
    transition-delay: calc(var(--stagger-delay) * 2);
}

.cap-card:nth-child(4) {
    transition-delay: calc(var(--stagger-delay) * 3);
}

.cap-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-slate);
    margin-bottom: var(--space-sm);
}

.cap-value {
    font-size: 14px;
    color: var(--color-text-primary);
    line-height: 1.5;
}

/* ---------------------------------------------------------------------------
   8.6 Process
   --------------------------------------------------------------------------- */

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
    margin-top: var(--space-lg);
}

.timeline {
    position: relative;
    padding-left: var(--space-xl);
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-full);
}

.timeline-progress {
    position: absolute;
    left: 8px;
    top: 0;
    width: 2px;
    height: 0%;
    background: var(--color-gold);
    border-radius: var(--radius-full);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
    transition: height 0.1s linear;
}

.timeline-step {
    position: relative;
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-md);
}

.timeline-step::before {
    content: "";
    position: absolute;
    left: calc(-1 * var(--space-xl) + 2px);
    top: var(--timeline-dot-offset);
    width: var(--timeline-dot-size);
    height: var(--timeline-dot-size);
    border-radius: var(--radius-full);
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.step-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.step-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: rgba(0, 35, 102, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
}

.step-icon svg {
    width: 16px;
    height: 16px;
}

.step-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-navy);
}

.step-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.reputation-panel {
    padding: var(--space-xl);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.reputation-panel h3 {
    margin-bottom: var(--space-md);
}

.reputation-panel>p {
    margin-bottom: var(--space-lg);
}

.reputation-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.reputation-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.reputation-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: var(--radius-full);
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-top: var(--space-xs);
}

.reputation-check svg {
    width: 14px;
    height: 14px;
}

.reputation-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.reputation-item span {
    font-size: 13px;
    color: var(--color-text-secondary);
}

/* ---------------------------------------------------------------------------
   8.7 Beyond Candles
   --------------------------------------------------------------------------- */

.beyond-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.beyond-card {
    padding: var(--space-lg);
}

.beyond-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.beyond-card-icon svg {
    width: 24px;
    height: 24px;
}

.beyond-card h3 {
    margin-bottom: var(--space-sm);
}

.beyond-card p {
    font-size: 14px;
}

.beyond-note {
    margin-top: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 14px;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

@supports (backdrop-filter: blur(1px)) {
    .beyond-note {
        backdrop-filter: blur(var(--glass-blur));
        -webkit-backdrop-filter: blur(var(--glass-blur));
    }
}

.beyond-note svg {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    flex-shrink: 0;
}

/* ---------------------------------------------------------------------------
   8.8 CTA Terminal
   --------------------------------------------------------------------------- */

.cta-terminal {
    margin-top: var(--space-3xl);
    padding: var(--space-xl);
}

.cta-header {
    margin-bottom: var(--space-lg);
}

.cta-header h2 {
    margin: var(--space-sm) 0 var(--space-md);
}

.cta-header p {
    max-width: 70ch;
}

.cta-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    color: var(--color-text-tertiary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.cta-divider::before,
.cta-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border);
    font-size: 13px;
    color: var(--color-text-primary);
    transition:
        transform var(--duration-fast) ease,
        background var(--duration-fast) ease,
        box-shadow var(--duration-fast) ease;
}

@supports (backdrop-filter: blur(1px)) {
    .contact-pill {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.contact-pill:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

.contact-pill:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.contact-pill svg {
    width: 18px;
    height: 18px;
    color: var(--color-gold);
}

.contact-pill strong {
    font-weight: 600;
}


/* ==========================================================================
   9.0 FORMS
   ========================================================================== */

/* ---------------------------------------------------------------------------
   9.1 Form Layout
   --------------------------------------------------------------------------- */

.inquiry-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group.full-width,
.form-group--full {
    grid-column: span 2;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

/* ---------------------------------------------------------------------------
   9.2 Labels
   --------------------------------------------------------------------------- */

.form-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-navy);
}

.form-label .required {
    color: var(--color-error);
    font-weight: 400;
}

/* ---------------------------------------------------------------------------
   9.3 Inputs
   --------------------------------------------------------------------------- */

.form-input,
.form-select {
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    transition:
        border-color var(--duration-fast) ease,
        box-shadow var(--duration-fast) ease,
        background var(--duration-fast) ease;
}

@supports (backdrop-filter: blur(1px)) {

    .form-input,
    .form-select {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.form-input::placeholder {
    color: var(--color-text-tertiary);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235D6D7E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.form-textarea {
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    resize: vertical;
    min-height: 100px;
    transition:
        border-color var(--duration-fast) ease,
        box-shadow var(--duration-fast) ease,
        background var(--duration-fast) ease;
}

@supports (backdrop-filter: blur(1px)) {
    .form-textarea {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.form-textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.form-textarea::placeholder {
    color: var(--color-text-tertiary);
}

/* ---------------------------------------------------------------------------
   9.4 Validation States
   --------------------------------------------------------------------------- */

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input.is-valid,
.form-select.is-valid,
.form-textarea.is-valid {
    border-color: var(--color-success);
}

.form-input.is-invalid:focus,
.form-select.is-invalid:focus,
.form-textarea.is-invalid:focus {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.form-error {
    display: block;
    font-size: 0.875rem;
    color: var(--color-error);
    margin-top: var(--space-xs);
    min-height: 1.25rem;
}

.form-error:empty {
    display: none;
}

/* ---------------------------------------------------------------------------
   9.5 Checkboxes
   --------------------------------------------------------------------------- */

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    cursor: pointer;
    padding: var(--space-md);
    background: rgba(212, 175, 55, 0.06);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-mark {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background var(--duration-fast) ease,
        border-color var(--duration-fast) ease;
}

.checkbox-mark::after {
    content: "";
    width: 6px;
    height: 10px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform var(--duration-fast) ease;
}

.form-checkbox input:checked+.checkbox-mark {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.form-checkbox input:checked+.checkbox-mark::after {
    transform: rotate(45deg) scale(1);
}

.form-checkbox input:focus-visible+.checkbox-mark {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.checkbox-label {
    font-size: 14px;
    color: var(--color-text-primary);
    line-height: 1.5;
}

/* ---------------------------------------------------------------------------
   9.6 Form Actions & Notes
   --------------------------------------------------------------------------- */

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}

.form-actions .btn {
    min-width: 200px;
}

.form-note {
    font-size: 12px;
    color: var(--color-text-tertiary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.form-note svg {
    width: 14px;
    height: 14px;
    color: var(--color-gold);
    flex-shrink: 0;
}

.form-submit {
    margin-top: var(--space-md);
}

.form-privacy-note {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    font-size: 13px;
    color: var(--color-text-tertiary);
}

.form-privacy-note svg {
    width: 16px;
    height: 16px;
    color: var(--color-gold);
    flex-shrink: 0;
}

/* ---------------------------------------------------------------------------
   9.7 Form Loading & Success States
   --------------------------------------------------------------------------- */

.form-submitting .btn[type="submit"] {
    pointer-events: none;
    opacity: 0.8;
}

.form-submitting .btn[type="submit"] .btn-content {
    opacity: 0;
}

.form-submitting .btn[type="submit"] .btn-loader {
    display: block;
}

.btn[type="submit"] {
    position: relative;
    min-width: 220px;
}

.btn-loader {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    animation: fadeInUp 0.5s ease-out;
}

.form-success.is-visible {
    display: block;
}

.form-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--color-success) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.4s ease-out 0.2s both;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
}

.form-success-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.form-success-icon .checkmark-path {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawCheck 0.4s ease-out 0.5s forwards;
}

.form-success-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--space-sm);
}

.form-success-message {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.form-success-submessage {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.form-success-actions {
    margin-top: var(--space-xl);
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------------------------
   9.8 Error Summary (Accessibility)
   --------------------------------------------------------------------------- */

.form-error-summary {
    background: var(--color-error-light);
    border: 1px solid var(--color-error-border);
    border-radius: var(--radius-sm);
    padding: var(--space-md) var(--space-lg);
    margin-top: var(--space-lg);
}

.form-error-summary[hidden] {
    display: none;
}

.form-error-summary p {
    color: var(--color-error);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.form-error-summary ul {
    margin: 0;
    padding-left: var(--space-lg);
    color: #b91c1c;
    list-style: disc;
}

.form-error-summary li {
    margin-bottom: var(--space-xs);
}

/* ---------------------------------------------------------------------------
   9.9 Honeypot (Spam Protection)
   --------------------------------------------------------------------------- */

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* ==========================================================================
   10.0 FOOTER
   ========================================================================== */

.footer {
    background: var(--color-navy-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 3px solid var(--color-gold);
    /* Don't defer footer */
    content-visibility: visible;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: var(--space-xl);
}

.footer-col:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: var(--space-lg);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background:
        radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.6), transparent 60%),
        rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

.footer-brand-mark svg {
    width: 22px;
    height: 22px;
}

.footer-brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-white);
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 40ch;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: color var(--duration-fast) ease;
}

.footer-link:hover {
    color: var(--color-gold);
}

.footer-link:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.footer-link svg {
    width: 14px;
    height: 14px;
}

.footer-bottom {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--duration-fast) ease;
}

.footer-bottom a:hover {
    color: var(--color-gold);
}

.footer-bottom a:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}


/* ==========================================================================
   11.0 SUBPAGES
   ========================================================================== */

/* ---------------------------------------------------------------------------
   11.1 Breadcrumb (Unified)
   --------------------------------------------------------------------------- */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
    list-style: none;
    padding: 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb a,
.breadcrumb-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--duration-instant) ease;
}

.breadcrumb a:hover,
.breadcrumb-link:hover,
.breadcrumb-link:focus {
    color: var(--color-gold);
}

.breadcrumb a:focus-visible,
.breadcrumb-link:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
    border-radius: 2px;
}

.breadcrumb span[aria-current="page"],
.breadcrumb-current {
    color: var(--color-white);
    font-weight: 500;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    user-select: none;
    pointer-events: none;
}

/* ---------------------------------------------------------------------------
   11.2 Content Article
   --------------------------------------------------------------------------- */

.content-article {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.content-article .container {
    max-width: 900px;
}

/* ---------------------------------------------------------------------------
   11.3 Content Sections
   --------------------------------------------------------------------------- */

.content-section {
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--color-border);
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.5s ease-out,
        transform 0.5s ease-out;
}

.content-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section:first-of-type {
    padding-top: 0;
}

.content-section:last-of-type {
    border-bottom: none;
}

.content-section>.label-tech {
    margin-bottom: var(--space-xs);
}

.content-section>h2 {
    margin-top: 0;
    margin-bottom: var(--space-md);
}

.section-intro {
    font-size: 1.05rem;
    color: var(--color-text-primary);
    max-width: 65ch;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

/* ---------------------------------------------------------------------------
   11.4 Prose
   --------------------------------------------------------------------------- */

.prose {
    max-width: var(--content-max-width);
}

.prose p {
    margin-bottom: var(--space-md);
    line-height: 1.75;
    color: var(--color-text-secondary);
    font-size: 15px;
    letter-spacing: 0.01em;
}

.prose p:last-child {
    margin-bottom: 0;
}

.prose strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.prose .lead,
p.lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
}

.prose a {
    color: var(--color-navy);
    text-decoration: underline;
    text-decoration-color: var(--color-gold);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    transition:
        color var(--duration-instant) ease,
        text-decoration-color var(--duration-instant) ease;
}

.prose a:hover {
    color: var(--color-navy-light);
    text-decoration-color: var(--color-navy-light);
}

.prose a:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.prose ul,
.prose ol {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li {
    margin-bottom: var(--space-sm);
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.prose li::marker {
    color: var(--color-gold);
}

/* ---------------------------------------------------------------------------
   11.5 Check List
   --------------------------------------------------------------------------- */

.check-list {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-primary);
}

.check-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--color-gold);
    margin-top: 2px;
}

.check-item strong {
    font-weight: 600;
}

.check-list-compact {
    gap: var(--space-sm);
}

.check-list-compact .check-item {
    font-size: 14px;
    gap: var(--space-sm);
}

.check-list-compact .check-icon {
    width: 18px;
    height: 18px;
}

/* ---------------------------------------------------------------------------
   11.6 Info Grid & Cards
   --------------------------------------------------------------------------- */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.info-card {
    padding: var(--space-lg);
}

.info-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.info-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

.info-tag {
    margin-top: var(--space-md);
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-navy);
}

/* ---------------------------------------------------------------------------
   11.7 Feature List
   --------------------------------------------------------------------------- */

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition:
        transform var(--duration-smooth) var(--ease-smooth),
        box-shadow var(--duration-smooth) ease;
}

@supports (backdrop-filter: blur(1px)) {
    .feature-item {
        backdrop-filter: blur(var(--glass-blur));
        -webkit-backdrop-filter: blur(var(--glass-blur));
    }
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.feature-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ---------------------------------------------------------------------------
   11.8 Process Steps
   --------------------------------------------------------------------------- */

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.process-step {
    padding: var(--space-lg);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-ink);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.process-step h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.process-step p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ---------------------------------------------------------------------------
   11.9 Two-Column Grid
   --------------------------------------------------------------------------- */

.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.column-card {
    padding: var(--space-lg);
}

.column-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.column-card .prose p {
    font-size: 14px;
}

/* ---------------------------------------------------------------------------
   11.10 Issue Grid
   --------------------------------------------------------------------------- */

.issue-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.issue-item {
    display: inline-flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--radius-full);
}

.issue-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-primary);
}

/* ---------------------------------------------------------------------------
   11.11 Callouts
   --------------------------------------------------------------------------- */

.callout {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}

.callout-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.callout p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-primary);
}

.callout--note {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.callout--note .callout-icon {
    color: var(--color-gold);
}

.callout--info {
    background: rgba(0, 35, 102, 0.04);
    border: 1px solid rgba(0, 35, 102, 0.12);
}

.callout--info .callout-icon {
    color: var(--color-navy);
}

.callout--warning {
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.callout--warning .callout-icon {
    color: var(--color-warning);
}

.callout--error {
    background: var(--color-error-light);
    border: 1px solid var(--color-error-border);
}

.callout--error .callout-icon {
    color: var(--color-error);
}

/* ---------------------------------------------------------------------------
   11.12 CTA Cards
   --------------------------------------------------------------------------- */

.cta-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.cta-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-xl);
    text-decoration: none;
    transition:
        transform var(--duration-smooth) var(--ease-smooth),
        box-shadow var(--duration-smooth) ease;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cta-card:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.cta-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: var(--space-sm);
}

.cta-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    flex-grow: 1;
    margin-bottom: var(--space-md);
}

.cta-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-navy);
    transition: color var(--duration-instant) ease;
}

.cta-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--duration-instant) ease;
}

.cta-card:hover .cta-card-link {
    color: var(--color-gold);
}

.cta-card:hover .cta-card-link svg {
    transform: translateX(4px);
}

/* ---------------------------------------------------------------------------
   11.13 Content CTA Section
   --------------------------------------------------------------------------- */

.content-cta {
    text-align: center;
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-xl);
}

.content-cta>.label-tech {
    justify-content: center;
}

.content-cta h2 {
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
}

.content-cta .section-intro {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto var(--space-lg);
}

/* ---------------------------------------------------------------------------
   11.14 Content Disclaimer
   --------------------------------------------------------------------------- */

.content-disclaimer {
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background: rgba(0, 35, 102, 0.03);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-navy);
}

.content-disclaimer p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-tertiary);
    margin: 0;
}

/* ---------------------------------------------------------------------------
   11.15 Simple List
   --------------------------------------------------------------------------- */

.simple-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.simple-list li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    padding-left: var(--space-md);
    position: relative;
}

.simple-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-gold);
}

/* ---------------------------------------------------------------------------
   11.16 Principles Grid
   --------------------------------------------------------------------------- */

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.principle-card {
    padding: var(--space-lg);
}

.principle-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.principle-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ---------------------------------------------------------------------------
   11.17 Credentials Card
   --------------------------------------------------------------------------- */

.credentials-card {
    padding: var(--space-xl);
    margin-top: var(--space-lg);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-lg);
}

.credential-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.credential-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-slate);
}

.credential-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-navy);
}


/* ==========================================================================
   12.0 UTILITIES
   ========================================================================== */

/* ---------------------------------------------------------------------------
   12.1 Screen Reader Only
   --------------------------------------------------------------------------- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------------------------------------------------------------------------
   12.2 Spacing Utilities
   --------------------------------------------------------------------------- */

.mt-xs {
    margin-top: var(--space-xs);
}

.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mt-2xl {
    margin-top: var(--space-2xl);
}

.mb-xs {
    margin-bottom: var(--space-xs);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.mb-2xl {
    margin-bottom: var(--space-2xl);
}

/* ---------------------------------------------------------------------------
   12.3 Text Alignment
   --------------------------------------------------------------------------- */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* ---------------------------------------------------------------------------
   12.4 Skip Link
   --------------------------------------------------------------------------- */

.skip-link {
    position: fixed;
    top: -100%;
    left: var(--space-md);
    z-index: var(--z-skip-link);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-navy);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: top var(--duration-fast) ease;
}

.skip-link:focus {
    top: var(--space-md);
}

/* ---------------------------------------------------------------------------
   12.5 Sprite Sheet
   --------------------------------------------------------------------------- */

.sprite-sheet {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ---------------------------------------------------------------------------
   12.6 Screen Reader & Accessibility Utilities
   --------------------------------------------------------------------------- */

/*
 * Accessibility utilities for:
 * - Screen reader only content
 * - Focus management
 * - Live regions for dynamic announcements
 * - Skip links
 * - Reduced motion helpers
 */

/* Visually hidden but accessible to screen readers */
.sr-only,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Allow element to become visible when focused (for skip links) */
.sr-only-focusable:focus,
.sr-only-focusable:active,
.visually-hidden-focusable:focus,
.visually-hidden-focusable:active {
    position: static;
    width: auto;
    height: auto;
    padding: var(--space-sm) var(--space-md);
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
}

/* Live region — visually hidden but announced by screen readers */
.live-region {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Live region — visible variant for toast/notification style announcements */
.live-region--visible {
    position: fixed;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: min(90vw, 400px);
    height: auto;
    padding: var(--space-md) var(--space-lg);
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    background: var(--color-navy);
    color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-modal);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Status messages with appropriate styling */
.live-region--success {
    background: var(--color-success);
    color: var(--color-white);
}

.live-region--error {
    background: var(--color-error);
    color: var(--color-white);
}

.live-region--warning {
    background: var(--color-warning);
    color: var(--color-ink);
}

/* Focus trap indicator — shows when focus is trapped in modal/dialog */
.focus-trap-active {
    overflow: hidden;
}

/* Inert polyfill support — elements with [inert] should not be interactive */
[inert] {
    pointer-events: none;
    user-select: none;
}

[inert] * {
    pointer-events: none;
    user-select: none;
}

/* No-scroll utility when modals/overlays are open */
.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Preserve scroll position when using no-scroll */
.no-scroll-preserve {
    overflow: hidden;
}

/* Focus visible polyfill support */
.js-focus-visible :focus:not(.focus-visible) {
    outline: none;
}

.js-focus-visible .focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

/* High contrast mode indicator class (set via JS) */
.high-contrast-mode .glass-card,
.high-contrast-mode .morph-header,
.high-contrast-mode .form-input,
.high-contrast-mode .form-select,
.high-contrast-mode .form-textarea {
    border-width: 2px;
    border-color: currentColor;
}

/* Reduced motion indicator class (set via JS as backup) */
.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
}

/* ---------------------------------------------------------------------------
   12.7 Skip Link (Enhanced)
   --------------------------------------------------------------------------- */

.skip-link {
    position: fixed;
    top: -100%;
    left: var(--space-md);
    z-index: var(--z-skip-link);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-navy);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    transition: top var(--duration-fast) ease;
}

.skip-link:focus {
    top: var(--space-md);
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

/* Multiple skip links container */
.skip-links {
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-skip-link);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-sm);
}

.skip-links .skip-link {
    position: relative;
    top: -200%;
    left: 0;
}

.skip-links .skip-link:focus {
    top: 0;
}

/* ---------------------------------------------------------------------------
   12.8 Keyboard Navigation Helpers
   --------------------------------------------------------------------------- */

/* Visible focus for keyboard users, hidden for mouse users */
[data-whatintent="mouse"] *:focus {
    outline: none;
}

[data-whatintent="keyboard"] *:focus {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

/* Focus within container (useful for card interactions) */
.focus-within-ring:focus-within {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

/* Roving tabindex helper — current item indicator */
[role="tablist"] [aria-selected="true"],
[role="listbox"] [aria-selected="true"],
[role="menu"] [aria-current="true"] {
    background: rgba(0, 35, 102, 0.08);
}

/* Disabled state styling */
[aria-disabled="true"],
[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Busy/loading state */
[aria-busy="true"] {
    cursor: wait;
}

/* Expanded/collapsed indicator for disclosure widgets */
[aria-expanded="false"] .icon-expanded {
    display: none;
}

[aria-expanded="true"] .icon-collapsed {
    display: none;
}

[aria-expanded="false"] .icon-collapsed {
    display: block;
}

[aria-expanded="true"] .icon-expanded {
    display: block;
}

/* Current page indicator in navigation */
[aria-current="page"] {
    font-weight: 600;
    color: var(--color-navy);
}

/* ---------------------------------------------------------------------------
   12.9 Touch & Pointer Utilities
   --------------------------------------------------------------------------- */

/* Larger touch targets for mobile (minimum 44x44px) */
@media (pointer: coarse) {
    .touch-target {
        min-width: 44px;
        min-height: 44px;
    }

    .nav-link,
    .btn,
    .form-checkbox,
    .hub-link,
    .mobile-nav-link {
        min-height: 44px;
    }
}

/* Prevent text selection on interactive elements */
.no-select {
    -webkit-user-select: none;
    user-select: none;
}

/* Prevent callout on long-press (iOS) */
.no-callout {
    -webkit-touch-callout: none;
}

/* Smooth scrolling container */
.scroll-smooth {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-smooth {
        scroll-behavior: auto;
    }
}

/* Scroll snap container */
.scroll-snap-x {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
}

.scroll-snap-y {
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

.scroll-snap-item {
    scroll-snap-align: start;
}

.scroll-snap-item-center {
    scroll-snap-align: center;
}


/* ==========================================================================
   13.0 MEDIA QUERIES
   ========================================================================== */

/* ---------------------------------------------------------------------------
   13.1 Large Tablets & Small Desktops (max-width: 1024px)
   --------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .morph-header.pill-mode {
        width: min(750px, calc(100% - 32px));
    }

    /* Logo sizing for tablet */
    .logo-nav {
        height: 52px;
    }

    .hero-visual {
        min-height: 500px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .b2b-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card {
        grid-column: span 6;
    }

    .cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .beyond-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-col:not(:last-child) {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: var(--space-lg);
    }

    .inquiry-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width,
    .form-group--full {
        grid-column: span 1;
    }

    .quote-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qualification-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------------------------------------------------------------------------
   13.2 Tablets (max-width: 768px)
   --------------------------------------------------------------------------- */

@media (max-width: 768px) {
    :root {
        --header-height: var(--header-height-mobile);
    }

    /* Mobile Header — Full-width pill */
    .morph-header.pill-mode {
        width: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--glass-border);
        height: var(--header-height-mobile);
        padding: 0 var(--space-md);
    }

    .morph-header.pill-mode .header-inner {
        justify-content: flex-start;
    }

    /* Mobile logo — Left aligned, properly sized */
    .morph-header.pill-mode .brand-wrapper {
        margin: 0;
        margin-right: auto;
        position: relative;
        width: auto;
        flex: 0 0 auto;
    }

    .morph-header.pill-mode .logo-nav {
        height: 46px;
        width: auto;
        margin: 0;
        max-width: none;
        transform-origin: left center;
    }

    /* Hide desktop nav, show mobile toggle */
    .nav-links,
    .nav-cta-btn,
    .nav-dropdown {
        display: none;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .morph-header.dot-mode .menu-toggle {
        display: none;
    }

    /* Dot mode adjustments for tablet */
    .morph-header.dot-mode .logo-nav {
        width: var(--dot-mode-logo-size);
        height: var(--dot-mode-logo-size);
        max-width: var(--dot-mode-logo-size);
        max-height: var(--dot-mode-logo-size);
    }

    .header-spacer {
        height: 92px;
    }

    .hero-visual {
        min-height: 450px;
    }

    .hero-content {
        padding: var(--space-2xl) 0;
    }

    .hero--subpage .hero-visual {
        min-height: 260px;
    }

    .hero--subpage .hero-content {
        padding: var(--space-xl) 0;
    }

    .trust-grid,
    .b2b-grid,
    .cap-grid {
        grid-template-columns: 1fr;
    }

    .bento-card {
        grid-column: span 12;
    }

    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .two-column-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .feature-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .cta-cards {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-pills {
        flex-direction: column;
    }

    .contact-pill {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .content-section {
        padding: var(--space-xl) 0;
    }

    .content-article .container {
        max-width: 100%;
    }

    .issue-grid {
        flex-direction: column;
    }

    .issue-item {
        width: 100%;
        justify-content: center;
    }

    .breadcrumb,
    .breadcrumb-list {
        font-size: 11px;
        flex-wrap: wrap;
    }

    .logo-footer {
        height: 80px;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-group.full-width,
    .form-group--full {
        grid-column: span 1;
    }

    .form-note {
        justify-content: center;
        text-align: center;
    }

    .quote-services-grid {
        grid-template-columns: 1fr;
    }

    .qualification-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quote-form-card {
        padding: var(--space-lg);
    }

    .response-banner {
        flex-direction: column;
        text-align: center;
        padding: var(--space-lg);
    }

    .contact-options {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------------------------
   13.3 Mobile (max-width: 480px)
   --------------------------------------------------------------------------- */

@media (max-width: 480px) {
    :root {
        --space-xl: 24px;
        --space-2xl: 40px;
        --space-3xl: 64px;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .hero-visual {
        min-height: 400px;
        border-radius: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Mobile logo refinement */
    .morph-header.pill-mode .logo-nav {
        height: 42px;
    }

    /* Dot mode — smaller on mobile */
    .morph-header.dot-mode {
        top: 16px;
        right: 16px;
        width: var(--dot-mode-size-mobile);
        height: var(--dot-mode-size-mobile);
    }

    .morph-header.dot-mode .logo-nav {
        width: var(--dot-mode-logo-size-mobile);
        height: var(--dot-mode-logo-size-mobile);
        max-width: var(--dot-mode-logo-size-mobile);
        max-height: var(--dot-mode-logo-size-mobile);
    }

    .ring-container,
    .pulse-ring {
        width: var(--ring-size-mobile);
        height: var(--ring-size-mobile);
    }

    .content-section {
        padding: var(--space-lg) 0;
    }

    .check-list,
    .column-card {
        padding: var(--space-md);
    }

    .cta-card {
        padding: var(--space-lg);
    }

    .logo-footer {
        height: 70px;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .quote-form-card {
        padding: var(--space-md);
    }

    .form-checkbox {
        padding: var(--space-sm);
    }

    .btn--lg {
        width: 100%;
        justify-content: center;
    }
}

/* ---------------------------------------------------------------------------
   13.4 Reduced Motion
   --------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }

    html {
        scroll-behavior: auto;
    }

    .content-section {
        opacity: 1;
        transform: none;
    }

    .morph-header {
        will-change: auto;
    }

    /* Disable all infinite animations */
    .pulse-ring {
        animation: none !important;
    }
}

/* ---------------------------------------------------------------------------
   13.5 High Contrast Mode
   --------------------------------------------------------------------------- */

@media (prefers-contrast: high) {
    :root {
        --color-border: rgba(0, 0, 0, 0.3);
        --glass-border: rgba(0, 0, 0, 0.3);
    }

    .glass-card,
    .morph-header,
    .form-input,
    .form-select,
    .form-textarea {
        border-width: 2px;
    }

    .btn {
        border-width: 2px;
    }

    .nav-link::after {
        height: 3px;
    }

    a:focus-visible,
    button:focus-visible {
        outline-width: 3px;
    }
}

/* ---------------------------------------------------------------------------
   13.6 Windows High Contrast (Forced Colors)
   --------------------------------------------------------------------------- */

@media (forced-colors: active) {
    .btn {
        border: 2px solid currentColor;
    }

    .glass-card {
        border: 2px solid currentColor;
    }

    .form-input,
    .form-select,
    .form-textarea {
        border: 2px solid currentColor;
    }

    .nav-link::after {
        background: currentColor;
    }

    .check-icon,
    .feature-icon,
    .trust-icon {
        forced-color-adjust: none;
    }

    /* Ensure focus is visible */
    :focus-visible {
        outline: 3px solid currentColor;
        outline-offset: 2px;
    }
}

/* ---------------------------------------------------------------------------
   13.7 Dark Mode (System-Wide Support)
   --------------------------------------------------------------------------- */

@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: #0f1419;
        --color-bg-alt: #1a1f26;
        --color-text-primary: rgba(255, 255, 255, 0.92);
        --color-text-secondary: rgba(255, 255, 255, 0.72);
        --color-text-tertiary: rgba(255, 255, 255, 0.56);
        --color-text-muted: rgba(255, 255, 255, 0.4);
        --color-border: rgba(255, 255, 255, 0.1);
        --glass-bg: rgba(30, 35, 42, 0.8);
        --glass-bg-hover: rgba(40, 45, 55, 0.9);
        --glass-bg-solid: #1e232a;
        --glass-border: rgba(255, 255, 255, 0.1);
    }

    body {
        background: var(--color-bg);
        color: var(--color-text-primary);
    }

    body::before {
        background:
            radial-gradient(ellipse 80% 50% at 0% 0%, rgba(212, 175, 55, 0.05), transparent 50%),
            radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 35, 102, 0.08), transparent 50%),
            radial-gradient(ellipse 50% 50% at 50% 30%, rgba(212, 175, 55, 0.03), transparent 40%);
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: var(--color-white);
    }

    .morph-header {
        background: var(--glass-bg);
    }

    .morph-header.dot-mode {
        background: var(--color-bg-alt);
    }

    .glass-card {
        background: var(--glass-bg);
    }

    .form-input,
    .form-select,
    .form-textarea {
        background: rgba(255, 255, 255, 0.05);
        color: var(--color-text-primary);
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: var(--color-text-tertiary);
    }

    .nav-link:hover,
    .nav-link.is-active {
        background: rgba(255, 255, 255, 0.08);
    }

    .breadcrumb a,
    .breadcrumb-link {
        color: rgba(255, 255, 255, 0.7);
    }
}

/* ---------------------------------------------------------------------------
   13.8 Print Styles
   --------------------------------------------------------------------------- */

@media print {

    /* Hide non-essential elements */
    .morph-header,
    .trustbar,
    .btn,
    .mobile-nav,
    .cta-terminal,
    .hero,
    .skip-link,
    .contact-hub,
    .pulse-ring,
    .ring-container {
        display: none !important;
    }

    /* Reset colors */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.5;
    }

    body::before {
        display: none;
    }

    /* Footer adjustments */
    .footer {
        background: white !important;
        color: black !important;
        border-top: 2pt solid black;
        padding: 1cm 0;
    }

    /* Card adjustments */
    .glass-card {
        background: white !important;
        border: 1pt solid #ccc !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Text colors */
    .prose p,
    .prose li,
    p {
        color: black !important;
    }

    /* Headings */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: black !important;
        page-break-after: avoid;
        break-after: avoid;
    }

    /* Links */
    a {
        text-decoration: underline;
        color: black !important;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    a[href^="tel"]::after,
    a[href^="mailto"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    /* Page breaks */
    .content-section {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    img {
        max-width: 100% !important;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    /* Remove transitions */
    * {
        transition: none !important;
        animation: none !important;
    }
}


/* ==========================================================================
   14.0 QUOTE PAGE COMPONENTS
   ========================================================================== */

/* ---------------------------------------------------------------------------
   14.1 Quote Services Grid
   --------------------------------------------------------------------------- */

.quote-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.quote-service-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
}

.quote-service-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-gold);
}

/* ---------------------------------------------------------------------------
   14.2 Qualification Grid
   --------------------------------------------------------------------------- */

.qualification-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.qualification-item {
    padding: var(--space-lg);
    text-align: center;
}

.qualification-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-ink);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.qualification-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.qualification-item p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ---------------------------------------------------------------------------
   14.3 Response Banner
   --------------------------------------------------------------------------- */

.response-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    margin-top: var(--space-xl);
}

.response-banner-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--color-gold);
}

.response-banner-content strong {
    display: block;
    font-size: 16px;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.response-banner-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ---------------------------------------------------------------------------
   14.4 Quote Form Card
   --------------------------------------------------------------------------- */

.quote-form-card {
    padding: var(--space-xl);
    margin-top: var(--space-xl);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* ---------------------------------------------------------------------------
   14.5 Contact Options
   --------------------------------------------------------------------------- */

.contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.contact-option-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    text-decoration: none;
    transition:
        transform var(--duration-smooth) var(--ease-smooth),
        box-shadow var(--duration-smooth) ease;
}

.contact-option-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-option-card:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.contact-option-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-sm);
    color: var(--color-gold);
}

.contact-option-icon svg {
    width: 24px;
    height: 24px;
}

.contact-option-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-option-content strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
}

.contact-option-content span {
    font-size: 14px;
    color: var(--color-text-secondary);
}


/* ==========================================================================
   15.0 ANIMATIONS (Keyframes)
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */