/* Hallmark · theme: custom (tuned) · vibe: "bone paper, strafe-orange arc, scoreboard ink"
 * paper oklch(96.4% 0.012 80) · accent oklch(66% 0.205 38) orange (logo A "Velocity")
 * display: Barlow Condensed ExtraBold · body: Barlow Medium · axes: light / display-condensed / warm
 * Light only (Tom: "no dark"). */

@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;

  /* paper + ink (bone and ink from the brand sheet, tinted, never pure white/black) */
  --color-paper:    oklch(96.4% 0.012 80);
  --color-paper-2:  oklch(93.2% 0.016 78);
  --color-paper-3:  oklch(98.6% 0.006 80);
  --color-ink:      oklch(18% 0.02 265);
  --color-ink-2:    oklch(36% 0.02 265);
  --color-ink-3:    oklch(50% 0.016 265);
  --color-rule:     oklch(86.5% 0.016 78);
  --color-rule-2:   oklch(80% 0.018 78);

  /* the one accent: Strafe Orange. --accent-ink is the text-safe shade (≥4.5:1 on paper). */
  --color-accent:     oklch(66% 0.205 38);
  --color-accent-ink: oklch(51% 0.18 36);
  --color-accent-wash: oklch(93% 0.045 55);
  --color-amber:      oklch(80% 0.155 75);
  --color-on-accent:  oklch(99% 0.006 80);

  /* 5v5 sides, muted; only ever in the Mix scoreboard */
  --color-team-a:   oklch(52% 0.17 32);
  --color-team-b:   oklch(47% 0.12 255);
  --color-team-a-wash: oklch(94% 0.03 40);
  --color-team-b-wash: oklch(94% 0.022 255);

  /* one colour per mode (cards, server lanes, chips) */
  --mode-hns:    oklch(56% 0.2 25);
  --mode-mix:    oklch(50% 0.17 262);
  --mode-bm:     oklch(58% 0.15 145);
  --mode-surf:   oklch(62% 0.13 215);
  --mode-royale: oklch(70% 0.15 68);

  /* podium */
  --podium-1: oklch(66% 0.205 38);
  --podium-2: oklch(40% 0.03 265);
  --podium-3: oklch(64% 0.12 60);

  /* the hero panel: dark footage, light text */
  --color-scrim: oklch(16% 0.02 265);
  --color-on-scrim: oklch(97% 0.008 80);

  --color-good:  oklch(52% 0.13 150);
  --color-focus: oklch(51% 0.18 36);

  /* type */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.1875rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem);
  --text-display: clamp(2.75rem, 1.6rem + 4.6vw, 5.25rem);
  --text-stat: clamp(4rem, 2.6rem + 6vw, 7.5rem);

  /* 4 pt spacing */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6.5rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --rule-hair: 1px solid var(--color-rule);
  --rule-strong: 2px solid var(--color-ink);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
  --dur-med: 240ms;
  --dur-slow: 520ms;

  --page-max: 1240px;
  --gutter: clamp(1rem, 0.5rem + 2.4vw, 2.5rem);
}
