/* Field manual design tokens: the single source of truth (specs/public-threat-dashboard.md section 9.1).
   Custom properties and @font-face only. The public site links this file; the WordPress child theme vendors the
   same released version (P5). Any change is a version bump. The three named colours and three families are Adam's
   Field manual tokens and are never adjusted; the derived colours below were checked for contrast on paper
   (WCAG 2.1: at least 4.5:1 for text on --color-paper and for white chip text on each level colour).
   Fonts are self-hosted beside the site (../fonts), with their SIL Open Font Licence files; no font CDN. */
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Allerta Stencil"; src: url("../fonts/allerta-stencil-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --tokens-version: "1.0.0";

  --color-olive: #3E4E2C;
  --color-khaki: #C2B485;
  --color-paper: #F3EFE4;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-stencil: "Allerta Stencil", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Derived (contrast on --color-paper in brackets) */
  --color-ink: #1F2418;      /* 13.8:1 */
  --color-muted: #545A48;    /* 6.2:1 */
  --color-rule: #D5CDB5;
  --color-card: #FAF7EF;
  --color-contour: #E7E0CC;
  --level-normal: #48705C;   /* 4.9:1 */
  --level-watch: #7A5E1A;    /* 5.3:1 */
  --level-act: #A4512A;      /* 4.8:1 */
  --level-severe: #7E2A3A;   /* 8.0:1 */
  --level-nodata: #5E6A70;   /* 4.9:1 */
}
