/*
  Brand tokens for The Certified Za (docs/client.md "Brand"). Brand changes happen in this file only
  (docs/rules/20-project-structure.md). Taken from the client's newest blog design (March 2026 on):
  cream paper, deep green, amber. Text pairs checked at WCAG 2.2 AA (ratios on the cream background
  unless noted). Amber #c8873a is only used for backgrounds and borders: as text it is 2.6:1.
  Fonts: Playfair Display (headings) and Lora (body), self-hosted (SIL OFL, static/fonts/); the
  design's DM Mono labels use the system monospace, so only two families load.
*/
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lora-latin-400-normal.5d5a586a9741.woff2") format("woff2"); 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: "Lora"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lora-latin-ext-400-normal.6b6382ec0af7.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/lora-latin-400-italic.e7ae818b8c7b.woff2") format("woff2"); 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: "Lora"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/lora-latin-ext-400-italic.059c98dd80a1.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/lora-latin-600-normal.5ec93d4b0359.woff2") format("woff2"); 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: "Lora"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/lora-latin-ext-600-normal.7ac3cf55df28.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lora-latin-700-normal.9c4d5c38f969.woff2") format("woff2"); 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: "Lora"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lora-latin-ext-700-normal.c9ba9d10671f.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/playfair-display-latin-700-normal.9401d0214a93.woff2") format("woff2"); 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: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/playfair-display-latin-ext-700-normal.c0d76cfbf5db.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/playfair-display-latin-700-italic.566a4eeb6883.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/playfair-display-latin-900-normal.0ba66220fb77.woff2") format("woff2"); 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: "Playfair Display"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/playfair-display-latin-ext-900-normal.d276ba2380d7.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Colours */
  --color-brand: #2c4a2e;          /* deep green: buttons, links, headings. 8.7:1 */
  --color-brand-strong: #1f3521;   /* hover */
  --color-on-brand: #f5f0e8;       /* cream on deep green 8.7:1 */
  --color-accent: #8a5a1f;         /* dark amber text: eyebrows, labels. 5.2:1 */
  --color-amber: #c8873a;          /* decoration and backgrounds only */
  --color-amber-light: #e8b070;    /* on deep green 5.1:1, on --color-dark 9.1:1 */
  --color-green-mid: #3d6a45;      /* small labels 5.5:1 */
  --color-green-pale: #b5d3b8;     /* on deep green: standfirst text */
  --color-dark: #1a1a14;           /* audio band, footer */
  --color-text: #2e2a20;           /* 12.6:1 */
  --color-text-muted: #5f5748;     /* 6.3:1 (5.9:1 on --color-surface) */
  --color-bg: #f5f0e8;             /* cream paper */
  --color-surface: #ede8df;
  --color-border: #c8c0b0;
  --color-focus: #c8873a;
  --color-error: #9b1c1c;
  --color-success: #2c4a2e;
  --color-warning-bg: #f6e3c4;
  --color-warning-text: #5c3a0f;
  /* Text on photos (cover hero, page banners): the photo is darkened with --color-overlay. */
  --color-overlay: rgb(26 26 20 / 0.62);
  --color-overlay-solid: #1a1a14;
  --color-on-overlay: #f5f0e8;

  /* Typography */
  --font-body: "Lora", Georgia, "Times New Roman", serif;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  --font-size-base: 1.0625rem;
  --line-height: 1.75;
  --font-size-h1: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  --font-size-h2: clamp(1.45rem, 1.2rem + 1vw, 1.75rem);
  --font-size-h3: 1.2rem;

  /* Spacing and layout */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --container: 72rem;
  --container-narrow: 48.75rem;   /* 780 px, the post design's column */
  --radius: 4px;
  --shadow: 0 1px 3px rgb(26 26 20 / 0.08), 0 4px 12px rgb(26 26 20 / 0.05);
}
