/*
  Chamfer Line: design tokens

  Feel: a late-night console on pure black. Centered pages, a tall
  bookish serif for titles, quiet sans for reading, and mono for data.
  Navigation is a row of outlined tabs with cut corners in signal blue,
  the current one glowing red-orange. Links are warm amber. Pixel-drawn
  night skylines frame the top and bottom of every page, and a small
  boxed poem sits in the footer.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&family=Fira+Sans:ital,wght@0,400;0,500;0,600;1,400&family=Fira+Code:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --cl-void: #040405;
  --cl-panel: #0b0c10;
  --cl-panel-2: #12141b;
  --cl-rule: #1c1f28;
  --cl-rule-2: #2b2f3c;

  /* Text */
  --cl-paper: #f3f0e9;
  --cl-text: #bdbab2;
  --cl-dim: #7c7b80;

  /* Accents */
  --cl-signal: #4a8dff;
  --cl-signal-deep: #13254d;
  --cl-flare: #ff5230;
  --cl-flare-deep: #3a0f08;
  --cl-amber: #f2c25c;
  --cl-ok: #59d18a;

  /* Pixel scene colors (only inside drawn skylines) */
  --cl-night-0: #070a16;
  --cl-night-1: #0d1530;
  --cl-night-2: #15224a;
  --cl-night-3: #1f3166;
  --cl-window: #f2c25c;
  --cl-window-dim: #7a5d22;
  --cl-ember: #b8331d;

  /* Fonts */
  --cl-font-display: 'Old Standard TT', 'Times New Roman', serif;
  --cl-font-body: 'Fira Sans', 'Helvetica Neue', Arial, sans-serif;
  --cl-font-mono: 'Fira Code', ui-monospace, Menlo, monospace;

  /* Type scale */
  --cl-text-mast: clamp(52px, 8.5vw, 104px);
  --cl-text-h1: clamp(34px, 5vw, 56px);
  --cl-text-h2: clamp(28px, 3.6vw, 40px);
  --cl-text-h3: 22px;
  --cl-text-lead: 18px;
  --cl-text-body: 16px;
  --cl-text-small: 13px;
  --cl-text-tiny: 11px;

  /* Shape */
  --cl-cut: 9px;
  --cl-cut-sm: 6px;
  --cl-cut-lg: 16px;
  --cl-line: 1px;
  --cl-radius: 0;
  --cl-glow-signal: 0 0 14px rgba(74, 141, 255, .35);
  --cl-glow-flare: 0 0 18px rgba(255, 82, 48, .45);
  --cl-text-glow: 0 0 18px rgba(243, 240, 233, .18);

  /* Space */
  --cl-space-1: 4px;
  --cl-space-2: 8px;
  --cl-space-3: 12px;
  --cl-space-4: 16px;
  --cl-space-5: 24px;
  --cl-space-6: 32px;
  --cl-space-7: 48px;
  --cl-space-8: 72px;
  --cl-space-9: 104px;
  --cl-width: 1080px;
  --cl-width-text: 680px;
  --cl-width-data: 620px;

  /* Pixel scene sizes */
  --cl-sky-height: 200px;
  --cl-sky-height-sm: 120px;

  /* Motion */
  --cl-ease: cubic-bezier(.2, .7, .2, 1);
  --cl-speed: 180ms;
}
