/* ------------------------------------------------------------------
   zelenay.me - shared design tokens
   The single source of truth for colour. Change a value here and it
   changes on every page.

   Loaded BEFORE each page's inline <style>, so a page can still
   override a token for itself (three currently do - see below).

   Cache: linked as site.css?v=NN. Bump NN on every upload or
   browsers will serve the old colours.
   ------------------------------------------------------------------ */

:root{
  color-scheme: dark;

  /* grounds */
  --bg:      #1c1420;   /* dark aubergine, page ground   */
  --bg-2:    #291b2c;   /* raised bands                  */

  /* text */
  --paper:     #f0e9dc; /* headlines and body   14.9:1   */
  --paper-dim: #ded5cb; /* supporting copy      12.4:1   */

  /* accent - copper is STRUCTURE, gold is TEXT.
     Copper on this ground is 4.2:1 and unreadable outdoors on a
     phone, so it is never used for type. Gold is 9.9:1. */
  --copper:      #b5652f;                  /* borders, rules, sign glow */
  --copper-soft: #edb75a;                  /* all accent text and links */
  --copper-glow: rgba(181,101,47,0.55);

  /* aliases kept for older rules - keep in step with --copper-soft */
  --brass:      #b5652f;
  --brass-soft: #edb75a;
  --wine:       #7c2e3f;
  --wine-soft:  #edb75a;
  --sage:       #b5652f;
  --sage-soft:  #edb75a;

  /* signage */
  --ready:      #4ade80;                   /* READY lamp. ON AIR stays gold. */
  --ready-glow: rgba(74,222,128,0.55);

  /* hairlines */
  --line: rgba(240,233,220,0.13);
}
