/*
 * Hatch Cabin: design tokens
 * A notebook kept by hand. Near-white paper, black ink, hard 2px rules and no rounded corners.
 * Bold underlined grotesque headings, hand-lettered small-caps labels, and line drawings with
 * diagonal hatching for every visual. One red marker for circling things, one strip of
 * masking-tape yellow for stuck-on notes. No gradients, no soft shadows, no photos.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;800&family=Patrick+Hand+SC&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Paper */
  --hc-paper: #fdfcf9;       /* the page */
  --hc-wash: #efede7;        /* quiet sections, table stripes, input backgrounds */
  --hc-tape: #f3e7b6;        /* masking tape: stuck-on notes and labels only */

  /* Ink */
  --hc-ink: #121212;         /* text, rules, every line drawing */
  --hc-graphite: #4a4846;    /* secondary text */
  --hc-pencil: #8c8984;      /* faint text, dotted leaders, placeholder */

  /* The one accent: a red marker for circling, ticking and the odd correction */
  --hc-marker: #d9412e;

  /* Type */
  --hc-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --hc-hand: "Patrick Hand SC", "Comic Neue", "Chalkboard SE", cursive;
  --hc-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --hc-text-hero: clamp(40px, 6vw, 72px);
  --hc-text-h2: clamp(30px, 3.6vw, 42px);
  --hc-text-h3: 22px;
  --hc-text-lead: 19px;
  --hc-text-body: 16px;
  --hc-text-small: 14px;
  --hc-text-hand: 20px;       /* hand-lettered labels */

  --hc-underline: 3px;        /* headings are underlined, always */
  --hc-underline-offset: .14em;

  /* Shape: square, inked, flat */
  --hc-radius: 0;
  --hc-rule: 2px solid var(--hc-ink);
  --hc-rule-thin: 1px solid var(--hc-ink);
  --hc-rule-dotted: 2px dotted var(--hc-pencil);
  --hc-stroke: 2px;           /* line weight inside drawings */
  --hc-hatch: repeating-linear-gradient(-45deg, var(--hc-ink) 0 1.5px, transparent 1.5px 7px);
  --hc-hatch-fine: repeating-linear-gradient(-45deg, var(--hc-ink) 0 1px, transparent 1px 5px);
  --hc-tilt: -2deg;           /* tape notes and stamps sit a little crooked */

  /* Space */
  --hc-section: clamp(56px, 8vw, 96px);
  --hc-container: 1080px;
  --hc-narrow: 680px;
  --hc-gap: 24px;
}
