/* Hallmark · macrostructure: Marquee Hero + Long Document · tone: utilitarian, engineered · anchor hue: hurricane-flag red
 * theme: custom (vibe: "storm shutter aluminum, squall slate, warning-flag red")
 * paper #F0F1EE (light, near-neutral) · accent #C3261B warm red · Archivo wide (grotesk-sans, roman) + Source Serif 4
 * nav: N1b-style light bar + route band · footer: Ft1 mast-headed · enrichment: wind-load plate (Tier A CSS) + one CC0 photo per page type
 * pre-emit critique (after fixes): P4 H5 E4 S5 R4 V5
 */
@font-face {
  font-family: "Archivo";
  src: url("archivo.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("source-serif-4.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* Colour (WCAG 2.x ratios in design-direction.md) */
  --color-paper: #F0F1EE;      /* overcast aluminum page */
  --color-surface: #E0E4E1;    /* bands, table heads */
  --color-plate: #E6E9E6;      /* wind-load plates */
  --color-plate-edge: #A9B2B1; /* plate border, rivets (decorative) */
  --color-ink: #131B20;        /* headings */
  --color-body: #2D373D;       /* running text */
  --color-muted: #4F5A60;      /* notes */
  --color-rule: #B8C0C0;       /* hairlines only */
  --color-storm: #18232A;      /* dark bands, footer */
  --color-storm-2: #22313A;    /* raised panels on dark */
  --color-scrim: #0E161B;      /* photo scrim base */
  --color-light: #F0F1EE;      /* text on dark */
  --color-fog: #B9C4C9;        /* secondary text on dark */
  --color-signal: #C3261B;     /* hurricane-flag red: the quote action and storm-plan cues only */
  --color-signal-hover: #A11E15;
  --color-signal-ink: #A3241A; /* red text on light */
  --color-white: #FBFBFA;
  --color-focus: #1856C9;
  --color-focus-dark: #8FB6FF;
  --color-scrim-strong: rgb(14 22 27 / 0.9);
  --color-scrim-soft: rgb(14 22 27 / 0.35);
  --color-scrim-band: rgb(14 22 27 / 0.72);

  /* Type */
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-ui: "Archivo", Arial, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-body: 1.1875rem;
  --text-lg: 1.375rem;
  --text-h3: 1.3125rem;
  --text-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --text-h1: clamp(2.2rem, 1.3rem + 3.6vw, 4rem);

  /* Space (4 pt scale) */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm: 3px;
  --radius-md: 6px;
  --rule-hair: 1px;
  --rule-bold: 3px;
  --measure: 68ch;
  --wrap: 76rem;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --target: 2.75rem;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
  --dur-med: 200ms;
}
