/*
 * Marker Band: design tokens
 * A loud, warm reading-room style. A yellow masthead slab holds a black mark and a huge
 * condensed wordmark. Titles are set in a light condensed sans and swiped with a yellow
 * highlighter, line by line. The page is pale grid paper, body copy is a book serif,
 * links are red and underlined, and a black pledge box sits in a narrow side column.
 * Yellow is the signal, black is the structure, red is for anything you can follow.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;900&family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;1,300&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: grid paper for the page, white for cards, black for slabs */
  --mb-paper: #fcfbf6;
  --mb-grid: #ecebe2;
  --mb-card: #ffffff;
  --mb-slab: #141312;
  --mb-slab-soft: #2a2826;
  --mb-line: #dedbd0;
  --mb-line-strong: #b9b4a6;

  /* Text */
  --mb-ink: #1c1b18;
  --mb-soft: #5f5b52;
  --mb-faint: #948f83;
  --mb-on-slab: #f6f3ea;
  --mb-on-slab-soft: #b3ada0;

  /* Accents: highlighter yellow leads, link red follows */
  --mb-marker: #f9d71c;
  --mb-marker-deep: #e8c200;
  --mb-marker-soft: #fdf1a8;
  --mb-red: #c7362b;
  --mb-red-deep: #a32a21;
  --mb-red-soft: #f6dcd8;
  --mb-leaf: #3f7d4e;

  /* Type */
  --mb-mast: "Big Shoulders Display", "Oswald", Impact, sans-serif;
  --mb-cond: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --mb-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;

  --mb-text-mast: clamp(52px, 9vw, 128px);
  --mb-text-hero: clamp(34px, 4.6vw, 62px);
  --mb-text-h2: clamp(28px, 3.2vw, 42px);
  --mb-text-h3: 24px;
  --mb-text-lede: clamp(19px, 1.6vw, 21px);
  --mb-text-body: 18px;
  --mb-text-small: 15px;
  --mb-text-caps: 13px;

  --mb-tracking-caps: .16em;
  --mb-leading-title: 1.42;
  --mb-leading-body: 1.7;

  /* Shape: square corners, hairlines, one flat offset for the pledge box */
  --mb-radius: 0;
  --mb-radius-pill: 999px;
  --mb-hairline: 1px solid var(--mb-line);
  --mb-rule: 2px solid var(--mb-ink);
  --mb-underline: 1px;
  --mb-shadow-card: 0 1px 0 var(--mb-line-strong);
  --mb-shadow-slab: 8px 8px 0 var(--mb-marker);
  --mb-grid-size: 22px;
  --mb-marker-pad: .08em .22em;

  /* Space */
  --mb-space-1: 4px;
  --mb-space-2: 8px;
  --mb-space-3: 12px;
  --mb-space-4: 16px;
  --mb-space-5: 24px;
  --mb-space-6: 32px;
  --mb-space-7: 48px;
  --mb-space-8: 72px;
  --mb-space-9: 112px;
  --mb-page: 1040px;
  --mb-column: 680px;
  --mb-side: 220px;
}
