/*
 * Flood Bar: design tokens
 * A loud, honest independent-publisher style. Warm putty paper, a ruled masthead split into
 * columns by hairlines, and one big tomato-red flood block per page. Headlines are a heavy
 * grotesk sitting on paper-colored knockout bars, one bar per line, so they look cut out of
 * the red. Reading text is an italic-friendly book serif. Corners are square, rules are 1px ink,
 * and the only illustration is a framed geometric tile drawn in SVG.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;0,6..72,700;1,6..72,400&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --fb-paper: #edebe4;      /* the page */
  --fb-panel: #f7f5ef;      /* quote cards, form panels, table header */
  --fb-panel-2: #e2dfd5;    /* hover on panels, avatar fill, thumbnails */
  --fb-slate: #23242a;      /* the art tile, code blocks, the black button */
  --fb-slate-2: #34363e;    /* lines inside the art tile */

  /* Text */
  --fb-ink: #18171a;
  --fb-soft: #57534c;
  --fb-faint: #8e897f;

  /* The one accent: the flood block, knockout underlines, avatar rings, the active plan */
  --fb-tomato: #e14a2f;
  --fb-tomato-dark: #c23a22;
  --fb-tomato-soft: #f6d3c8;

  /* A pale mustard used only inside the art tile and small "new" stickers */
  --fb-mustard: #e9c25a;

  /* Lines */
  --fb-rule: #18171a;       /* masthead and section rules: ink, 1px */
  --fb-line: #cfcbc0;       /* quieter dividers inside cards and tables */

  /* Type */
  --fb-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --fb-serif: "Newsreader", "Iowan Old Style", Georgia, serif;

  --fb-text-mast: clamp(52px, 7.2vw, 96px);   /* serif wordmark in the masthead */
  --fb-text-hero: clamp(40px, 6.2vw, 76px);
  --fb-text-h2: clamp(32px, 4.4vw, 54px);
  --fb-text-h3: 24px;
  --fb-text-lead: 20px;
  --fb-text-body: 18px;
  --fb-text-small: 15px;
  --fb-text-micro: 12px;

  --fb-tracking-tight: -.025em;
  --fb-tracking-caps: .08em;
  --fb-leading-hero: 1.18;    /* room for the knockout bars to stack */
  --fb-leading-body: 1.6;

  /* Shape: square and ruled */
  --fb-radius: 0;
  --fb-radius-round: 999px;   /* avatars only */
  --fb-border: 1px solid var(--fb-rule);
  --fb-border-quiet: 1px solid var(--fb-line);
  --fb-underline: 6px;         /* thickness of the tomato underline on a key phrase */
  --fb-frame: 8px;             /* the paper mat around the art tile */
  --fb-shadow: none;           /* this style has no shadows */

  /* Space */
  --fb-space-1: 4px;
  --fb-space-2: 8px;
  --fb-space-3: 12px;
  --fb-space-4: 16px;
  --fb-space-5: 24px;
  --fb-space-6: 32px;
  --fb-space-7: 48px;
  --fb-space-8: 64px;
  --fb-space-9: 96px;

  --fb-gutter: 20px;           /* the paper margin around the flood block */
  --fb-container: 1240px;
  --fb-narrow: 720px;
}
