/* Hallmark · tokens — theme: Terminal (atmospheric) · anchor hue 145 (phosphor green) */
:root {
  /* colour — OKLCH, green-tinted CRT dark */
  --color-paper:      oklch(13% 0.012 145);
  --color-paper-2:    oklch(17% 0.014 145);
  --color-paper-3:    oklch(21% 0.016 145);
  --color-rule:       oklch(32% 0.02 145);
  --color-neutral:    oklch(62% 0.03 145);
  --color-muted:      oklch(74% 0.02 145);
  --color-ink:        oklch(93% 0.012 145);
  --color-accent:     oklch(78% 0.19 145);   /* phosphor */
  --color-accent-dim: oklch(60% 0.14 145);
  --color-accent-ink: oklch(15% 0.03 145);   /* text on phosphor block */
  --color-amber:      oklch(80% 0.15 85);    /* secondary: hard bricks, new-best */
  --color-danger:     oklch(64% 0.19 25);    /* life lost flash */
  --color-focus:      oklch(80% 0.15 85);

  /* game palette — canvas reads these at boot */
  --game-brick-1: oklch(85% 0.21 150);
  --game-brick-2: oklch(78% 0.19 145);
  --game-brick-3: oklch(70% 0.16 142);
  --game-brick-4: oklch(60% 0.13 140);
  --game-brick-5: oklch(50% 0.10 138);
  --game-brick-hard: oklch(80% 0.15 85);
  --game-ball:    oklch(96% 0.02 145);
  --game-laser:   oklch(80% 0.15 85);

  /* type — Tomorrow display + JetBrains Mono body (2 families) */
  --font-display: "Tomorrow", "Arial Narrow", sans-serif;
  --font-body:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* scale 1.25 from 16px */
  --text-xs:   0.64rem;
  --text-sm:   0.8rem;
  --text-base: 1rem;
  --text-md:   1.25rem;
  --text-lg:   1.5625rem;
  --text-xl:   1.9531rem;
  --text-2xl:  2.4414rem;
  --text-display:   clamp(2.75rem, 9vw + 0.5rem, 6rem);
  --text-display-xl: clamp(3rem, 11vw, 7rem); /* single-word lines only */
  --text-display-s: clamp(2rem, 5vw + 0.5rem, 3.5rem);

  /* overlay modifiers (alpha = modifier, not palette) */
  --bloom:    oklch(78% 0.19 145 / 0.07);
  --scanline: oklch(8% 0.01 145 / 0.14);
  --scrim:    oklch(10% 0.012 145 / 0.82);

  /* space — 4pt, named */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --control-min: 2.75rem;

  /* motion */
  --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-micro: 120ms;
  --dur-short: 220ms;
  --dur-long:  420ms;

  /* z scale */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 200;
  --z-modal: 400;

  --radius-block: 2px; /* terminal voice: near-square corners */
}
