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

   Keystone - Metallic Chic. Palette: visme #1 "Metallic Chic".

   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 footer colour.
   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, #3D52A0);       /* links, buttons, hero panel, banner. 7.2:1 on white */
  --ks-secondary: var(--cs-brand-secondary, #ADBBDA);   /* doorways, accent rules, panel. LIGHT: dark text on it, never white */
  --ks-font-heading: var(--cs-font-heading, 'Red Hat Display', 'Helvetica Neue', Helvetica, sans-serif);
  --ks-font-body: var(--cs-font-body, 'Red Hat Text', 'Helvetica Neue', Helvetica, sans-serif);

  /* ---- Type character and shape (fixed in this theme) ----------------- */
  --ks-heading-weight: 500;
  --ks-heading-track: -0.02em;
  --ks-radius: 12px;

  /* ---- Extra palette colours while Brand Look is unset ---------------- */
  /* Deep (utility bar, footer, contact card): derived from the primary in this theme */
  --ks-deep-default: color-mix(in oklab, var(--ks-primary) 72%, #05060a);
  --ks-events-default: #EDE8F5;                         /* events band, table headers, summary card */

  /* ---- Focus ring (gotcha 10: 3:1 against the page) ------------------- */
  --ks-focus: var(--ks-primary);
}
