/**
 * Chronos styleguide tokens: internal playground draft.
 * Surfaces: pure black / pure white by default; grayscale for secondary.
 * Accent: Doppler-inspired redshift / blueshift only (see js/shift.js).
 */

@font-face {
  font-family: "Raleway";
  src: url("../../../assets/font/raleway/Raleway-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../../../assets/font/raleway/Raleway-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../../../assets/font/raleway/Raleway-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../../../assets/font/raleway/Raleway-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../../../assets/font/raleway/Raleway-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../../../assets/font/raleway/Raleway-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../../../assets/font/raleway/Raleway-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../../../assets/font/raleway/Raleway-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../../../assets/font/raleway/Raleway-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Surfaces */
  --bg: #000000;
  --fg: #ffffff;
  --bg-elevated: #111111;
  --line: #222222;
  --line-strong: #444444;
  --muted: #888888;
  --muted-dim: #555555;

  /* Doppler shift scale (non-linear; see shift.js)
     n = recession / negative / error / slo-mo
     0 = baseline (white star, rest frame)
     p = approach / positive / hyper / high score */
  --shift-n3: #8b0000;
  --shift-n2: #c41e1e;
  --shift-n1: #e85d4c;
  --shift-0: #ffffff;
  --shift-p1: #7eb8e8;
  --shift-p2: #3d8fd4;
  --shift-p3: #1a5fb4;

  /* Type */
  --font-sans: "Raleway", "Helvetica Neue", sans-serif;
  --font-mono: "Cascadia Mono", "IBM Plex Mono", "Consolas", "Menlo", monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.5rem;
  --text-3xl: clamp(2.25rem, 5vw, 3.5rem);

  --leading-tight: 1.2;
  --leading-normal: 1.55;
  --leading-loose: 1.75;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6rem;

  --max-w: 72rem;
  --max-w-prose: 38rem;

  --stroke: 1px;
}
