/*
 * Graph Paper: design tokens
 * Honest, hand-made and a little odd: a cream graph-paper page, everything boxed in thin ink
 * lines like a ledger, square icon cells in a toolbar, spaced mono caps for navigation, chunky
 * grotesk headlines and two loud accents (pea green and tomato) used like stickers and stamps.
 * Pictures are drawn as pixel mosaics. No rounded corners and no soft shadows.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,800&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: the cream paper, its grid lines, white boxes and a warm oat for quiet cells */
  --gp-paper: #f5f2e8;
  --gp-grid: #e0dbcb;
  --gp-white: #ffffff;
  --gp-oat: #ebe4d2;

  /* Ink: every line and every word */
  --gp-ink: #171614;
  --gp-soft: #5e5b53;
  --gp-faint: #9a968b;

  /* Two accents, used like stickers: pea for go, tomato for look here */
  --gp-pea: #a3cc3f;
  --gp-pea-dark: #6f9420;
  --gp-pea-soft: #e7f1c9;
  --gp-tomato: #e4572e;
  --gp-tomato-soft: #f9d9cc;

  /* Mosaic tones: only for drawn pictures */
  --gp-mo-1: #d8d3c4;
  --gp-mo-2: #b9b4a5;
  --gp-mo-3: #8d897d;
  --gp-mo-4: #4a4842;

  /* Type */
  --gp-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --gp-body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gp-mono: "Space Mono", ui-monospace, "Courier New", monospace;

  --gp-text-hero: clamp(48px, 8.6vw, 128px);
  --gp-text-h2: clamp(34px, 5vw, 68px);
  --gp-text-h3: 24px;
  --gp-text-lead: 20px;
  --gp-text-body: 17px;
  --gp-text-small: 14px;
  --gp-text-label: 13px;

  --gp-tracking-hero: -.04em;
  --gp-tracking-h2: -.03em;
  --gp-tracking-caps: .08em;

  /* Shape: square corners, ink hairlines, flat offset only on stickers */
  --gp-radius: 0;
  --gp-line-w: 1.5px;
  --gp-line: var(--gp-line-w) solid var(--gp-ink);
  --gp-line-soft: 1px solid var(--gp-grid);
  --gp-shadow-sticker: 3px 3px 0 var(--gp-ink);

  /* Space: the grid cell drives everything */
  --gp-cell: 22px;
  --gp-frame: clamp(10px, 1.6vw, 22px);
  --gp-pad: clamp(20px, 4vw, 56px);
  --gp-section: clamp(64px, 9vw, 120px);
  --gp-container: 1240px;
  --gp-narrow: 720px;
  --gp-tool: 44px;

  /* Motion */
  --gp-ease: cubic-bezier(.3, .7, .2, 1);
}
