/* Vlam Veilig B.V. — shared tokens, derived from /logo/vlam-veilig-logo.svg.
   Measured values and contrast ratios: /docs/notes/tokens.md. Shared by all three variations: do not edit per page. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Colour — logo colours are exact; the rest are tints of the logo blue (hue 212). */
  --vv-rood: #DA251C;        /* logo red. White on it 4.93:1 — large/bold text and fills only */
  --vv-rood-diep: #B01A12;   /* red for small text on white (6.99:1) and hover on red fills */
  --vv-blauw: #03418A;       /* logo blue. White on it 9.87:1 */
  --vv-blauw-diep: #022B5E;  /* deep field. White on it 13.91:1 */
  --vv-blauw-licht: #B9CDE8; /* secondary text on blue (6.09:1) and on deep blue (8.58:1) */
  --vv-inkt: #0B1320;        /* text. On white 18.61:1, on veld 16.42:1 */
  --vv-inkt-zacht: #46536A;  /* secondary text. On white 7.76:1, on veld 6.85:1 */
  --vv-label: #FFFFFF;       /* the label face */
  --vv-veld: #EDF1F7;        /* quiet ground */
  --vv-lijn: #C5CFDD;        /* decorative hairlines only (1.57:1 — never a control border) */
  /* Never: red text on blue or blue on red (2.0:1). Never black text on red (3.78:1) below 24px. */

  /* Shape — from the logo's two parallelograms */
  --vv-helling: 13.84deg;    /* slant off vertical */
  --vv-helling-tan: 0.2463;  /* horizontal shift per unit of height */
  --vv-overlap-x: 45.7%;     /* blue sits this far right of red (share of one shape's width) */
  --vv-overlap-y: 33.3%;     /* and this far down (share of one shape's height) */
  --vv-vorm-ratio: 1.09;     /* width : height of one parallelogram */
  --vv-hoek: 0px;            /* corners are sharp, as in the logo */
  --vv-regel: 2px;           /* rule weight */

  /* Type — one family, three widths */
  --vv-font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --vv-kop-stretch: 125%;    /* headlines: expanded, like the wordmark (about 8% wider than tall-normal, stem/cap 0.33) */
  --vv-kop-weight: 850;
  --vv-tekst-stretch: 100%;
  --vv-label-stretch: 68%;   /* label data: condensed capitals */
  --vv-label-weight: 650;

  --vv-stap--1: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --vv-stap-0: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --vv-stap-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --vv-stap-2: clamp(1.5rem, 1.25rem + 1.2vw, 2.25rem);
  --vv-stap-3: clamp(1.875rem, 1.3rem + 2.8vw, 3.5rem);
  --vv-stap-4: clamp(2.25rem, 1.2rem + 5.2vw, 5.5rem);

  /* Space — 4px base */
  --vv-r-1: 0.25rem; --vv-r-2: 0.5rem; --vv-r-3: 0.75rem; --vv-r-4: 1rem;
  --vv-r-6: 1.5rem; --vv-r-8: 2rem; --vv-r-12: 3rem; --vv-r-16: 4rem; --vv-r-24: 6rem;
  --vv-maat: 68ch;
  --vv-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--vv-font);
  font-stretch: var(--vv-tekst-stretch);
  font-size: var(--vv-stap-0);
  line-height: 1.55;
  color: var(--vv-inkt);
  background: var(--vv-label);
}
img, svg { max-width: 100%; height: auto; display: block; }
::selection { background: var(--vv-blauw); color: var(--vv-label); }
:focus-visible { outline: 3px solid var(--vv-rood); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* One placeholder convention for every fact the brief lacks. Text format: [NOG INVULLEN G<n>: wat]. IDs: /docs/notes/gap-list.md */
.vv-invullen {
  font-stretch: var(--vv-label-stretch);
  font-weight: var(--vv-label-weight);
  font-style: normal;
  letter-spacing: 0.02em;
  color: var(--vv-inkt);
  background: #FFE9A8; /* ink on it 15.6:1; deliberately off-palette so nobody mistakes it for final copy */
  outline: 2px dashed var(--vv-inkt);
  outline-offset: -2px;
  padding: 0.1em 0.45em;
  overflow-wrap: anywhere;
}
