/*
 * Crop Wall: design tokens
 * Raw, gallery-wall web. A flat gray ground, tiny monospace text, plain blue underlined links,
 * and flat saturated poster tiles where huge condensed words are cropped by the tile edge.
 * Big type only ever lives inside a tile. One move on top: riso misregistration, a pink and a
 * blue copy of a word printed slightly off from each other.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Anton&family=IBM+Plex+Mono:ital,wght@0,400;0,600;1,400&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: the gray wall is the page, tiles are pinned to it */
  --cw-ground: #ebebe8;
  --cw-ground-2: #dfdfdb;   /* hover on the wall, table headers */
  --cw-paper: #ffffff;      /* inputs, paper tiles, article body cards */
  --cw-ink: #111111;
  --cw-soft: #5e5e59;
  --cw-faint: #9a9a94;
  --cw-line: #111111;       /* rules are ink, 1px, or nothing */

  /* Links: the one interactive color in the chrome */
  --cw-link: #1d3bff;
  --cw-link-visited: #5a2ad6;

  /* Tile inks: flat, saturated, used only as tile fills and riso layers */
  --cw-blue: #1d3bff;
  --cw-red: #ee2a1b;
  --cw-pink: #ff6cae;
  --cw-acid: #b8f23e;
  --cw-yellow: #ffe23d;

  /* Type */
  --cw-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --cw-poster: "Anton", "Impact", "Arial Narrow", sans-serif;

  --cw-text-micro: 11px;
  --cw-text-small: 12px;
  --cw-text-body: 14px;
  --cw-text-lead: 16px;
  --cw-text-h3: 16px;
  --cw-text-h2: 22px;
  --cw-text-h1: clamp(26px, 3.4vw, 40px);
  --cw-text-poster: clamp(96px, 16vw, 240px);   /* the word inside a tile */
  --cw-text-poster-sm: clamp(64px, 9vw, 132px);

  --cw-leading: 1.45;
  --cw-tracking-poster: -.01em;

  /* Shape: none. Square corners, no shadows, 1px ink rules */
  --cw-radius: 0;
  --cw-border: 1px solid var(--cw-line);
  --cw-shadow: none;
  --cw-riso-shift: .045em;  /* how far the pink layer slips from the blue one */

  /* Space */
  --cw-gutter: 24px;
  --cw-gap: 24px;           /* between tiles */
  --cw-section: clamp(56px, 8vw, 104px);
  --cw-wrap: 1320px;
  --cw-measure: 62ch;
}
