/*
  Dither Press tokens
  Feel: a small independent press printed on a solar budget. Pale sky paper over warm
  cream, plain old-style serif text, three ink colors for categories, mono for facts,
  black hairline rules and duotone halftone pictures. No rounded corners, no shadows.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
*/
:root {
  /* Paper */
  --dp-sky: #EDF3FC;
  --dp-cream: #FBF2D3;
  --dp-paper: #FFFDF6;
  --dp-sky-deep: #D9E4F6;

  /* Ink */
  --dp-ink: #121212;
  --dp-soft: #5E5C57;
  --dp-rule: #121212;
  --dp-faint: #C9C4B4;

  /* Category inks (links and tags only) */
  --dp-blue: #2541A6;
  --dp-red: #C2301F;
  --dp-green: #1D7150;

  /* Duotone halftone (pictures) */
  --dp-tone-dark: #3E57B8;
  --dp-tone-light: #DCE4F8;
  --dp-tone-green-dark: #3F8A62;
  --dp-tone-green-light: #E3F0DE;

  /* The split page: sky on top, cream below */
  --dp-split: 460px;
  --dp-page-bg: linear-gradient(to bottom, var(--dp-sky) 0, var(--dp-sky) var(--dp-split), var(--dp-cream) var(--dp-split));

  /* Type */
  --dp-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --dp-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --dp-size-masthead: clamp(2.4rem, 6vw, 4.2rem);
  --dp-size-h1: clamp(1.9rem, 4vw, 2.8rem);
  --dp-size-h2: clamp(1.45rem, 2.6vw, 1.9rem);
  --dp-size-h3: 1.2rem;
  --dp-size-body: 1.12rem;
  --dp-size-small: 0.98rem;
  --dp-size-meta: 0.82rem;

  --dp-leading: 1.6;
  --dp-leading-tight: 1.18;

  /* Shape: flat print */
  --dp-radius: 0;
  --dp-line: 1px solid var(--dp-rule);
  --dp-line-heavy: 2px solid var(--dp-rule);
  --dp-line-faint: 1px dashed var(--dp-faint);
  --dp-shadow: none;

  /* Space */
  --dp-gutter: 20px;
  --dp-space-1: 6px;
  --dp-space-2: 12px;
  --dp-space-3: 20px;
  --dp-space-4: 32px;
  --dp-space-5: 56px;
  --dp-space-6: 88px;
  --dp-max: 1400px;
  --dp-measure: 40em;
}
