/* SLMG kit: the design tokens, shared by the site chrome (the header and footer, kit/chrome.css) and every direction.
   Loaded wherever the chrome renders or a page declares a direction, and nowhere else. Plain custom properties on the
   two scopes that use them: body.slmg-dir (a direction's page) and .slmg-chrome (the header and footer sections), so a
   page without either gets none of them. A pack may restate any of them. */

body.slmg-dir, .slmg-chrome {
  /* colour roles (contrast measured in shootout/stage/pitch.md section 5) */
  --slmg-black: #000;            /* raster wordmark and label marks sit on pure black */
  --slmg-ground: #0a0a0a;        /* page */
  --slmg-surface: #131313;       /* bands */
  --slmg-raised: #1c1c1c;        /* selected card, waiting button */
  --slmg-line: #2a2a2a;
  --slmg-line-strong: #4a4a4a;
  --slmg-ink: #f2efe9;           /* 17.3:1 on ground */
  --slmg-dim: #b4afa6;           /* 9.1:1 on ground */
  --slmg-mute: #918c84;          /* 5.9:1 on ground */
  --slmg-orange: #ff9500;        /* THE one orange (the audio player's) */
  --slmg-orange-hover: #ffad33;  /* the same hue, lighter: hover on a primary button only */
  --slmg-on-orange: #0a0a0a;     /* text on orange is near-black, never white */
  --slmg-error: #ff6b6b;         /* errors only, never the orange (7:1 on ground) */
  /* spacing: a 4 px base */
  --slmg-s1: 4px; --slmg-s2: 8px; --slmg-s3: 12px; --slmg-s4: 16px; --slmg-s5: 24px;
  --slmg-s6: 32px; --slmg-s7: 48px; --slmg-s8: 72px; --slmg-s9: 112px;
  --slmg-gut: 40px;              /* side gutter: 40 desktop, 28 under 1280, 16 on a phone */
  --slmg-r: 2px;                 /* the only radius */
  --slmg-ease: cubic-bezier(.2, .8, .2, 1);
  --slmg-pap-h: 56px;            /* height of the audio player bar; kit/kit.js keeps it true */
}
@media (max-width: 1279px) { body.slmg-dir, .slmg-chrome { --slmg-gut: 28px; } }
@media (max-width: 980px)  { body.slmg-dir, .slmg-chrome { --slmg-pap-h: 52px; } }   /* the player bar is one 52 px row up to 980 px since 2026-11-20 (kit/chrome.css; it was 152 on a phone) */
@media (max-width: 900px)  { body.slmg-dir, .slmg-chrome { --slmg-gut: 16px; } }
