/* ============================================================
   Great Kei Rugby — Colour tokens
   Sampled directly from the tournament crest:
   aloe green, veld gold, leather tan, ink black.
   ============================================================ */
:root {
  /* --- Aloe green (primary) — the living aloe of the crest --- */
  --aloe-950: #032715;
  --aloe-900: #04431f; /* deep leaf shadow */
  --aloe-800: #006030; /* PRIMARY — crest deep green */
  --aloe-700: #0a7a3f;
  --aloe-600: #199051; /* crest mid-leaf */
  --aloe-500: #2e9450;
  --aloe-400: #57b478;
  --aloe-300: #8fd0a5;
  --aloe-200: #c2e6cd;
  --aloe-100: #e3f4e9;
  --aloe-50:  #f1faf4;

  /* --- Veld gold (secondary) — the aloe flower spike --- */
  --gold-900: #8a6a00;
  --gold-800: #b58a00;
  --gold-700: #e0aa00;
  --gold-600: #ffc400;
  --gold-500: #ffd600; /* SECONDARY — crest flower gold */
  --gold-400: #ffdf3d;
  --gold-300: #ffe875;
  --gold-200: #fff2b0;
  --gold-100: #fff8d6;
  --gold-50:  #fffceb;

  /* --- Leather tan — the rugby ball --- */
  --tan-900: #7b5622; /* ball seam shadow */
  --tan-800: #a9772f;
  --tan-700: #c79245;
  --tan-600: #dfad66; /* ball body */
  --tan-500: #e7bd80;
  --tan-400: #efcfa0;
  --tan-300: #f4ddbd;
  --tan-200: #f8ead4;
  --tan-100: #fcf5ea;

  /* --- Ink & neutrals (the bold black outline of the crest) --- */
  --ink-900: #0a0a0a; /* crest outline black */
  --ink-800: #171716;
  --ink-700: #2a2a27;
  --ink-600: #444440;
  --ink-500: #66665f;
  --ink-400: #8c8c83;
  --ink-300: #b6b6ac;
  --ink-200: #d9d9d0;
  --ink-150: #e7e7df;
  --ink-100: #f0efe8;
  --ink-50:  #f7f6f0; /* warm veld cream */
  --white:   #ffffff;

  /* --- Semantic status --- */
  --win:   #199051; /* aloe green */
  --loss:  #c0392b; /* try-line red */
  --draw:  #b58a00; /* gold-800 */
  --live:  #e02d2d; /* live-match red */
  --info:  #0a7a3f;

  /* ============================================================
     Semantic aliases — reach for these in components
     ============================================================ */
  --brand-primary:      var(--aloe-800);
  --brand-primary-strong: var(--aloe-900);
  --brand-secondary:    var(--gold-500);
  --brand-tan:          var(--tan-600);
  --brand-ink:          var(--ink-900);

  --text-strong:   var(--ink-900);
  --text-body:     var(--ink-800);
  --text-muted:    var(--ink-500);
  --text-faint:    var(--ink-400);
  --text-on-dark:  var(--ink-50);
  --text-on-brand: var(--gold-500);   /* gold type on aloe green */
  --text-link:     var(--aloe-800);

  --surface-page:    var(--ink-50);
  --surface-card:    var(--white);
  --surface-sunken:  var(--ink-100);
  --surface-inverse: var(--aloe-900);
  --surface-brand:   var(--aloe-800);
  --surface-gold:    var(--gold-500);

  --border-subtle:  var(--ink-150);
  --border-default: var(--ink-200);
  --border-strong:  var(--ink-900);   /* the signature heavy outline */

  --focus-ring: var(--gold-500);
}
