/*
 * Dot Press: design tokens
 * A plain, honest print-and-web style that looks like it runs on very little power.
 * A Times-style serif for everything you read, a typewriter mono for dates and meta,
 * pipe-separated text links in three ink colors, and pictures printed as two-color
 * halftone plates (dots over a pale ground). The page itself is split in two: a pale
 * sky ground on top and a pale butter ground below, meeting at a hard seam.
 * Square corners, solid black rules, no shadows, no rounded buttons.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Grounds: sky on top, butter below, plain white for forms and tables */
  --dp-sky: #edf4fc;
  --dp-butter: #fdf4d3;
  --dp-white: #ffffff;
  --dp-paper: #fbfaf4;
  --dp-line: #c9c6b8;

  /* Text */
  --dp-ink: #121212;
  --dp-soft: #4d4b45;
  --dp-faint: #85837a;

  /* The three link inks. Each one marks a section of the site */
  --dp-blue: #2341a8;
  --dp-red: #c4281f;
  --dp-green: #17714a;

  /* Halftone plates: a dot ink and a ground per plate */
  --dp-plate-blue: #4b62b4;
  --dp-plate-blue-ground: #dfe5f6;
  --dp-plate-green: #3e8a62;
  --dp-plate-green-ground: #dcecd9;
  --dp-plate-sand: #9a8a62;
  --dp-plate-sand-ground: #efe6cc;
  --dp-plate-cream: #fbf6e4;

  /* Highlight: a marker yellow for the one thing on a page that needs it */
  --dp-marker: #fbe96a;

  /* Type */
  --dp-serif: "Tinos", "Times New Roman", Times, serif;
  --dp-mono: "IBM Plex Mono", "Courier New", ui-monospace, monospace;

  --dp-text-mast: clamp(36px, 5.2vw, 60px);
  --dp-text-h1: clamp(30px, 3.6vw, 44px);
  --dp-text-h2: clamp(24px, 2.6vw, 32px);
  --dp-text-h3: 22px;
  --dp-text-lead: clamp(19px, 1.6vw, 21px);
  --dp-text-body: 18px;
  --dp-text-small: 15px;
  --dp-text-meta: 13px;

  --dp-leading: 1.5;
  --dp-leading-tight: 1.15;

  /* Shape: square, ruled, flat */
  --dp-radius: 0;
  --dp-rule: 2px solid var(--dp-ink);
  --dp-hairline: 1px solid var(--dp-ink);
  --dp-dotted: 1px dotted var(--dp-faint);
  --dp-shadow: none;

  /* Halftone screen: dot size and pitch */
  --dp-dot: 1.3px;
  --dp-pitch: 5px;

  /* Space: tight gutters, plain stacking, like a well-kept text file */
  --dp-gutter: 20px;
  --dp-gap: 20px;
  --dp-section: clamp(48px, 6vw, 80px);
  --dp-container: 1400px;
  --dp-measure: 680px;
}
