/*
 * Bench Bulletin: design tokens
 * Feel: a workshop newspaper printed on charcoal. Warm near-black surfaces, a huge
 * all-caps black-weight masthead over a thick paper-white rule, heavy uppercase
 * headlines, plain readable body text and one signal-yellow accent for links,
 * bylines and the one button that matters. Square corners everywhere, no shadows,
 * rules instead of boxes. A drawn crossed-tools emblem sits beside the masthead.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@700;800;900&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: warm charcoals, never pure black */
  --bb-coal: #1c1b19;       /* page background */
  --bb-coal-2: #252321;     /* sidebar boxes, table headers, code */
  --bb-coal-3: #302d2a;     /* hover, inputs */
  --bb-line: #3d3935;       /* hairlines between feed items */

  /* Text */
  --bb-paper: #f4f1ea;      /* headlines, body text, the thick rules */
  --bb-mute: #b3aca2;       /* leads, meta */
  --bb-faint: #7c766e;      /* captions, legal */

  /* The one accent: links, bylines, the primary button, the live dot */
  --bb-volt: #f6c836;
  --bb-volt-deep: #d9a914;
  --bb-volt-ink: #1c1b19;   /* text on volt */

  /* Drawn art only (glaze tiles, emblem shading). Never in chrome. */
  --bb-glaze-celadon: #8fb3a0;
  --bb-glaze-tenmoku: #6b3a22;
  --bb-glaze-shino: #e2b48c;
  --bb-glaze-cobalt: #3a5a9c;
  --bb-alert: #e5533d;      /* form errors only */

  /* Type */
  --bb-display: "Red Hat Display", "Arial Black", system-ui, sans-serif;
  --bb-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bb-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --bb-text-mast: clamp(56px, 11vw, 148px);  /* the masthead wordmark */
  --bb-text-hero: clamp(38px, 5.4vw, 68px);  /* lead story / page hero */
  --bb-text-h2: clamp(30px, 3.6vw, 44px);    /* section heads over a rule */
  --bb-text-h3: 23px;                        /* feed item titles */
  --bb-text-lead: 19px;
  --bb-text-body: 17px;
  --bb-text-small: 14px;
  --bb-text-micro: 12px;

  --bb-tracking-mast: -.035em;
  --bb-tracking-head: -.01em;
  --bb-leading-head: .98;

  /* Shape: square, flat, ruled */
  --bb-radius: 0;
  --bb-rule-thick: 4px solid var(--bb-paper);
  --bb-rule: 1px solid var(--bb-line);
  --bb-rule-volt: 4px solid var(--bb-volt);

  /* Space */
  --bb-section: clamp(56px, 8vw, 96px);
  --bb-gap: 32px;
  --bb-container: 1140px;
  --bb-narrow: 720px;
  --bb-sidebar: 300px;
}
