/* ============================================================
   Rush - brand tokens
   ------------------------------------------------------------
   Everything that makes the site look like Rush rather than like
   Lineup lives here: the colours, the faces, and the few type
   treatments that depend on the face. pug.css only ever refers to
   these names, so the brand is changed by pointing 'brand_css' in
   lib/config.php at another file. assets/brand/lineup.css is the
   one this replaced, kept so the change is one line to undo.

   The desktop app carries a copy for the pages it draws itself
   (LineupDesktop/src/brand/rush.css). tools/brand/build_brand.py
   refreshes that copy; edit this one.
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800;900&family=Figtree:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root{
  /* ---- palette, named for what it looks like ---- */
  --rush-night:#120A1C;   /* the ground */
  --rush-shade:#0A0412;   /* below the ground: overlays, the strat board */
  --rush-plum:#1C1029;    /* surfaces at rest */
  --rush-dusk:#2E1B42;    /* raised surfaces */
  --rush-dusk2:#3D2657;   /* lines */
  --rush-lilac:#F4ECFF;   /* text */
  --rush-mist:#D6C8EA;    /* secondary text */
  --rush-haze:#B3A3CC;    /* quiet text */
  --rush-pink:#FF2E93;    /* the one action colour: you, now */
  --rush-volt:#9B5CFF;    /* the second voice */
  --rush-ice:#3FD5F0;     /* the other team */
  --rush-go:#3DDC97;
  --rush-hold:#FFB547;
  --rush-stop:#FF6A3D;    /* errors are never pink */

  /* ---- faces ---- */
  --font-display:"Big Shoulders Display","Arial Narrow",Impact,sans-serif;
  --font-body:"Figtree","Segoe UI",system-ui,sans-serif;
  --font-mono:"IBM Plex Mono",ui-monospace,Consolas,monospace;

  /* Big Shoulders is far narrower than the face it replaced, so display
     text is set larger and in capitals, and the wordmark leans. */
  --display-scale:1.3;
  --display-case:uppercase;
  --mark-skew:-9deg;
  --mark-weight:900;

  /* ---- the names pug.css uses ---- */
  --bg:var(--rush-night);       --bg-rgb:18,10,28;
  --shade-rgb:10,4,18;
  --surf:var(--rush-plum);
  --surf2:var(--rush-dusk);
  --line:var(--rush-dusk2);
  --ink:var(--rush-lilac);
  --ink2:var(--rush-mist);
  --mut:var(--rush-haze);
  --acc:var(--rush-pink);       --acc-rgb:255,46,147;
  --accink:var(--rush-night);   /* text on pink: 5.6:1. White would be 3.5:1. */
  --brand-first:var(--rush-pink);
  --ok:var(--rush-go);          --ok-rgb:61,220,151;
  --okink:var(--rush-night);
  --bad:var(--rush-stop);       --bad-rgb:255,106,61;
  --warn:var(--rush-hold);
  --t1:var(--rush-ice);         /* team one: the old blue, brighter */
  --t2:var(--rush-volt);        /* team two: no longer the accent, which now means "you" */
  --ct:#5B9BFF;                 --ct-rgb:91,155,255;    /* the game's own side colours */
  --tside:#F2A83B;              --tside-rgb:242,168,59;
  --util-col:var(--rush-ice);   /* strat board: utility */
  --site-col:var(--rush-hold);  /* strat board: bomb sites */
}
