/* =========================================================================
   KeystoneSnowy - design tokens (per theme; the Keystone family's shared
   theme.css reads only these names and derives everything else)

   Keystone - Snowy Yet Warm. Palette: visme #38 "Snowy Yet Warm" (fonts from #44).

   BRAND LOOK (Site Admin > Brand Look sets four values; the platform injects
   them as --cs-brand-primary / --cs-brand-secondary / --cs-font-heading /
   --cs-font-body). The values below are the theme's defaults when Brand Look
   is not set. Precedence: custom.css > Brand Look > these defaults.

   THE EXTRA PALETTE COLOURS (deep, events band) follow Brand Look: when a
   site sets a brand primary, theme.css derives them from it with color-mix(),
   so a client who changes the primary never keeps this theme's navy footer.
   The two "-default" values below apply only while Brand Look is unset.
   ========================================================================= */
:root {
  color-scheme: light;

  /* ---- Brand Look inputs, with this theme's defaults ------------------ */
  --ks-primary: var(--cs-brand-primary, #B23850);       /* raspberry: links, buttons, hero panel, banner. 5.9:1 on white */
  --ks-secondary: var(--cs-brand-secondary, #C4DBF6);   /* snow blue: doorways, accent rules, panel. LIGHT: dark text on it */
  --ks-font-heading: var(--cs-font-heading, 'Libre Baskerville', Baskerville, Georgia, serif);
  --ks-font-body: var(--cs-font-body, 'Mulish', 'Helvetica Neue', Helvetica, sans-serif);

  /* ---- Type character and shape (fixed in this theme) ----------------- */
  --ks-heading-weight: 400;
  --ks-heading-track: -0.01em;
  --ks-radius: 4px;

  /* ---- Extra palette colours while Brand Look is unset ---------------- */
  --ks-deep-default: #2E3A5C;                           /* navy: utility bar, footer, contact card */
  --ks-events-default: #E7E3D4;                         /* warm stone: events band, table headers */

  /* ---- Focus ring (gotcha 10: 3:1 against the page) -------------------
     The raspberry primary is close to the error red, so a focused field looked
     like an error; Snowy's ring uses the Deep colour instead. */
  --ks-focus: var(--ks-deep);
}
