/* =========================================================
   tokens.css: SINGLE source of truth for design values (outline §7, §7A.4).
   No hex or rgba value anywhere else in the codebase.

   Brand colors (client, 2026-10-27): Electric Blue #1769B3, Dark Navy #14263D, White #FFFFFF.
   Contrast checked for every text/background pair (4.5:1 body, 3:1 large text + UI).
   Electric Blue on Dark Navy is only 2.7:1: never put blue text or icons on a dark band.
   Re-check text over the hero video once real footage is in.
   ========================================================= */
:root {
  /* COLORS */
  --color-primary: #1769B3;        /* Electric Blue: quote button, white text 5.7:1 */
  --color-primary-deep: #11518C;   /* hover/active, white text 8.1:1 */
  --color-on-primary: #fff;
  --color-accent: #1769B3;         /* arrow links: 5.7:1 on bg, 5.2:1 on surface */
  --color-bg: #fff;
  --color-surface: #f1f5fa;
  --color-ink: #14263D;            /* Dark Navy: dark bands, white text 15.3:1 */
  --color-on-ink: #fff;
  --color-on-ink-muted: #b9c6d6;   /* 8.8:1 on ink */
  --color-on-ink-soft: rgba(255, 255, 255, .92);
  --color-on-ink-line: rgba(255, 255, 255, .35);
  --color-on-ink-faint: rgba(255, 255, 255, .2);
  --color-text: #14263D;           /* 15.3:1 on bg */
  --color-text-muted: #4a5868;     /* 7.3:1 on bg, 6.6:1 on surface */
  --color-border: #d6dee8;
  --color-input-border: #6b7a8c;   /* 4.4:1 on bg, meets 3:1 UI contrast */
  --color-focus: #14263D;
  --color-focus-ring: #fff;
  --color-danger: #a4161a;         /* 7.3:1 on bg */
  --color-success: #1b5e20;        /* 7.9:1 on bg */
  --color-placeholder-a: #cbd6e3;
  --color-placeholder-b: #8fa2b8;

  /* Overlays (scrims keep hero text >= 4.5:1 against the brightest frame) */
  --scrim-strong: rgba(10, 20, 33, .85);
  --scrim-mid: rgba(10, 20, 33, .45);
  --scrim-soft: rgba(10, 20, 33, .25);
  --scrim-tag: rgba(10, 20, 33, .6);
  --ghost-border: rgba(255, 255, 255, .7);
  --ghost-fill: rgba(255, 255, 255, .12);
  --hero-fallback-a: #1d3553;
  --hero-fallback-b: #0b1626;
  --hero-glow: rgba(255, 255, 255, .14);
  --hero-glow-soft: rgba(255, 255, 255, .08);
  --hero-beam: rgba(255, 255, 255, .10);
  --hero-spark-glow: rgba(255, 255, 255, .5);
  --ph-stripe: rgba(255, 255, 255, .06);

  /* Pending client content markers (preview builds only; production refuses to build with any present) */
  --color-tbd-bg: #fff3b0;
  --color-tbd-text: #3d3200;
  --color-tbd-border: #b38f00;

  /* TYPE (locked, §7A.4) */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --fs-base: 1rem;                 /* 16px minimum, non-negotiable */
  --fs-hero: clamp(2.75rem, 7vw, 5.5rem);
  --fs-page: clamp(2.5rem, 6vw, 4.5rem);
  --fs-h2: clamp(2rem, 4.5vw, 3.35rem);
  --fs-card: clamp(1.35rem, 2vw, 1.6rem);
  --fs-eyebrow: .8125rem;
  --fs-small: .875rem;
  --line-body: 1.6;

  /* LAYOUT */
  --radius: 0;
  --gutter: max(1rem, 5vw);
  --section-gap: clamp(4rem, 9vw, 7rem);
  --container-max: 1320px;
  --prose-max: 68ch;
  --hero-h: min(88vh, 860px);
  --touch-min: 44px;               /* exceeds the 24px WCAG 2.2 AA minimum */
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
}
