/* Theme: Coalitieakkoord.nl ("the archivist"). Paper, ink and one ochre accent: no colour that reads as a party.
 * Never add red, green, orange or blue here, not even for status. Status uses the ochre tint plus text. */
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-600.woff2") format("woff2"); font-weight: 600; 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; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --zs-bg: #fbfaf7;            /* paper */
  --zs-surface: #ffffff;
  --zs-surface-alt: #f3efe6;
  --zs-ink: #1f1d1a;
  --zs-muted: #57534c;
  --zs-line: #e0dbd0;
  --zs-brand: #2a2722;         /* archive ink: header, footer */
  --zs-brand-deep: #1f1d1a;
  --zs-on-brand: #f3efe6;
  --zs-accent: #7a5c2e;        /* ochre: links, search button, page stamps (white text 6.0:1) */
  --zs-accent-hover: #5f4722;
  --zs-accent-ink: #ffffff;
  --zs-highlight: #f1e4c4;     /* search hits and status, always with text */
  --zs-highlight-ink: #1f1d1a;
  --zs-font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --zs-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --zs-display-weight: 600;
  --zs-display-tracking: -0.005em;
  --zs-radius: 3px;
  --zs-radius-sm: 2px;
  --zs-radius-btn: 3px;

  /* Seat bar: coalition vs opposition in ink tones only. Parties are told apart by text, never by colour. */
  --ca-seat: #3b3730;
  --ca-seat-alt: #6d675d;
  --ca-opposition: #e0dbd0;
}

/* Dark mode: the site already offers one; same roles, own steps. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --zs-bg: #17181a; --zs-surface: #1f2023; --zs-surface-alt: #26241f; --zs-ink: #ecebe7; --zs-muted: #b3afa7; --zs-line: #3a3833;
    --zs-brand: #121212; --zs-brand-deep: #0d0d0d; --zs-on-brand: #ecebe7;
    --zs-accent: #d7b37a; --zs-accent-hover: #e6c995; --zs-accent-ink: #1f1d1a;
    --zs-highlight: #4a3f22; --zs-highlight-ink: #ecebe7;
    --ca-seat: #d9d5cc; --ca-seat-alt: #a39e94; --ca-opposition: #3a3833;
  }
}
