/* Design tokens. Every color, size, space, radius and shadow used on the site lives here. */
:root {
    /* Brand */
    --c-navy: #06265F;          /* sampled from the logo background */
    --c-navy-deep: #041B45;
    --c-gold: #D2A52B;          /* logo gold, structural use only */

    /* Accent (CTAs, links, focus, active) */
    --c-accent: var(--c-navy);
    --c-accent-hover: var(--c-navy-deep);

    /* Neutrals, tinted toward the brand navy */
    --c-paper: #F5F6F8;
    --c-paper-2: #EAEDF2;
    --c-surface: #FBFBFD;
    --c-ink: #19202F;
    --c-ink-2: #444C5E;
    --c-ink-3: #5D6578;
    --c-line: #DCE0E7;
    --c-line-strong: #BFC6D2;

    /* On navy */
    --c-on-navy: #F4F2EC;
    --c-on-navy-2: #BCC6DA;
    --c-line-navy: #22407A;

    /* Semantic */
    --c-success: #1F6B43;
    --c-success-bg: #E6F1E9;
    --c-error: #A3261C;
    --c-error-bg: #F8E7E4;

    /* Type */
    --font-sans: "Libre Franklin", "Segoe UI", system-ui, -apple-system, sans-serif;
    --t-xs: 0.8125rem;
    --t-sm: 0.875rem;
    --t-base: 1rem;
    --t-md: 1.0625rem;
    --t-lg: 1.25rem;
    --t-xl: 1.5rem;
    --t-2xl: clamp(1.75rem, 1.35rem + 1.6vw, 2.375rem);
    --t-3xl: clamp(2.125rem, 1.5rem + 2.8vw, 3.5rem);
    --lh-tight: 1.15;
    --lh-snug: 1.3;
    --lh-body: 1.6;
    --tracking-caps: 0.08em;
    --w-regular: 400;
    --w-medium: 500;
    --w-semibold: 600;
    --w-bold: 700;

    /* Spacing, 4px base */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 20px;
    --s-6: 24px;
    --s-8: 32px;
    --s-10: 40px;
    --s-12: 48px;
    --s-14: 56px;
    --s-16: 64px;
    --s-20: 80px;
    --s-24: 96px;

    /* Layout */
    --container: 1200px;
    --gutter: var(--s-4);
    --measure: 64ch;
    --header-h: 64px;
    --icon: 20px;
    --icon-sm: 16px;
    --icon-lg: 28px;
    --icon-xl: 32px;
    --icon-xxl: 84px;
    --icon-badge-sm: 36px;
    --badge-nudge: 5px;
    --tap: 48px;

    --thumb: 112px;
    --art-w: 400px;
    --panel-w: 460px;
    --art-w-wide: 560px;
    --photo-zoom: 1.3;
    --textarea-h: 112px;
    --toast-w: 480px;
    --logo-w: 117px;
    --logo-h: 44px;
    --logo-w-lg: 141px;
    --logo-h-lg: 52px;
    --logo-w-footer: 152px;
    --logo-h-footer: 56px;
    --chevron: 5px;
    --icon-offset: 2px;
    --nudge: 3px;
    --underline-offset: 3px;

    /* Shape and depth */
    --hairline: 1px;
    --rule: 2px;
    --r-1: 2px;
    --r-2: 4px;
    --border: var(--hairline) solid var(--c-line);
    --border-strong: var(--hairline) solid var(--c-line-strong);
    --sh-overlay: 0 12px 32px rgba(4, 27, 69, 0.16);

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur-fast: 150ms;
    --dur: 240ms;
    --dur-slow: 600ms;
}

@media (min-width: 768px) {
    :root {
        --gutter: var(--s-8);
        --header-h: 76px;
    }
}
