/* Coming soon: design tokens. The palette of A-3 Grijsblauw: cool grey and navy with bordeaux.
   Every colour, font and size lives here; style.css only uses these tokens. */

:root {
  --color-bg: #E7EBEC;
  --color-text: #16223A;
  --color-text-soft: #4B5666;
  --color-line: #C5CDD1;
  --color-accent: #8C2F39;
  --color-accent-hover: #73252F;
  --color-on-accent: #FFFFFF;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: var(--font-text);

  --space-gutter: clamp(1.25rem, 5vw, 4.5rem);
  --radius-box: 2px;

  /* The portrait's bottom edge: no fade on the photo with its studio background */
  --portrait-mask: none;
}

/* Photo modes, set by the studio (through variant.js) as <html data-foto-colbert="…" data-foto-achtergrond="…">. */

/* The button follows the colbert in the chosen photo; white text stays at AA contrast */
:root[data-foto-colbert="groen"] { --color-accent: #0B4A50; --color-accent-hover: #06363A; }
:root[data-foto-colbert="oranje"] { --color-accent: #C8360A; --color-accent-hover: #A82D07; }

/* Portraits without background share portrait.jpg's frame; only their bottom edge fades out */
:root[data-foto-achtergrond="nee"] { --portrait-mask: linear-gradient(to bottom, #000 78%, transparent); }
