/*
 * Blueprint Page: design tokens
 * A studious, hand-drawn book style. One light page sits in the middle of a dark
 * navy drafting board whose margins are covered in faint chalk diagrams: labelled
 * boxes, arrows, formulas and sketches. The page opens with a pale grey cover band
 * holding a tall condensed title in cerulean ink beside an engraved, hatched drawing
 * of the whole process as a path with diamond markers. Below it, a warm book serif
 * with big italic ledes, square corners, hairline rules and almost no shadow.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Crimson+Pro:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap" rel="stylesheet">
 */
:root {
  /* The drafting board behind the page */
  --bp-board: #232b3a;
  --bp-board-deep: #1a2130;
  --bp-board-grid: #2b3446;
  --bp-chalk: #55627a;
  --bp-chalk-soft: #3a4558;

  /* The page */
  --bp-page: #fdfcf9;
  --bp-cover: #e6e5e1;
  --bp-cover-deep: #d6d4ce;
  --bp-tint: #f3f1ec;
  --bp-line: #dcd9d1;
  --bp-line-strong: #b4b0a6;

  /* Ink */
  --bp-ink: #1f1d1a;
  --bp-soft: #57534c;
  --bp-faint: #8c877d;
  --bp-graphite: #3b3935;
  --bp-on-board: #e8ebf1;
  --bp-on-board-soft: #9aa5b8;

  /* Cerulean ink: the one accent. Crust is a small warm second voice */
  --bp-blue: #2379b5;
  --bp-blue-deep: #195b8a;
  --bp-blue-soft: #dcebf5;
  --bp-crust: #b5672c;
  --bp-crust-soft: #f4e3d3;
  --bp-ok: #3f7a4f;

  /* Type */
  --bp-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --bp-serif: "Crimson Pro", "Iowan Old Style", Georgia, serif;
  --bp-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;

  --bp-text-hero: clamp(56px, 9vw, 104px);
  --bp-text-h1: clamp(40px, 6vw, 64px);
  --bp-text-h2: clamp(32px, 4.4vw, 46px);
  --bp-text-h3: 25px;
  --bp-text-lede: clamp(22px, 2.6vw, 28px);
  --bp-text-body: 19px;
  --bp-text-small: 16px;
  --bp-text-label: 14px;
  --bp-text-micro: 12px;
  --bp-leading-display: .92;
  --bp-tracking-caps: .08em;

  /* Shape: square paper, hairlines, one soft shadow under the page */
  --bp-radius: 0px;
  --bp-radius-small: 2px;
  --bp-hairline: 1px solid var(--bp-line);
  --bp-rule: 1px solid var(--bp-line-strong);
  --bp-ink-rule: 2px solid var(--bp-ink);
  --bp-shadow-page: 0 0 0 1px var(--bp-board-deep), 0 30px 80px -20px var(--bp-board-deep);
  --bp-shadow-lift: 0 1px 0 var(--bp-line-strong);
  --bp-focus: 0 0 0 3px var(--bp-blue-soft);

  /* Space */
  --bp-sheet: 980px;
  --bp-gutter: clamp(20px, 5vw, 64px);
  --bp-section: clamp(48px, 7vw, 88px);
  --bp-gap: 28px;
}
