/*
  Design tokens. Mirrors the "Stuller" file in Paper.
  Change a value here and it changes everywhere.

  Mood: "Darkroom". Proof paper, enlarger ink, one safelight red.
*/

:root {
  /* Color */
  --color-paper: #f2f0eb;      /* page ground */
  --color-ink: #17141a;        /* text, rules */
  --color-ink-soft: #6a666d;   /* captions, secondary text */
  --color-line: #d6d2ca;       /* hairlines */
  --color-safelight: #bf1e2e;  /* brand red (Ink-Stained Amazon logo). One moment per screen. */
  --color-blush: #ffe1dd;      /* highlighter strip behind typed labels */
  --color-film: #6b45d6;       /* film violet. Rare edge accent. */
  --color-white: #ffffff;

  /* Type families */
  --font-display: "Antonio", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "Courier Prime", "Courier New", Courier, monospace;

  /* Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;

  /*
    Fluid type: each value runs from its phone size (at 390px wide)
    to its desktop size (at 1440px wide).
  */
  --text-xs: 13px;
  --text-sm: 15px;
  --text-body: clamp(18px, 16.9px + 0.29vw, 21px);
  --text-lede: clamp(18px, 16.9px + 0.29vw, 21px);
  --text-quote-sm: clamp(17px, 16px + 0.2vw, 19px);
  --text-wordmark: clamp(22px, 19px + 0.76vw, 30px);
  --text-room: clamp(44px, 39.5px + 1.14vw, 56px);
  --text-h2-hero: clamp(26px, 19.3px + 1.71vw, 44px);
  --text-h1-hero: clamp(37px, 24px + 3.33vw, 72px);
  --text-h1-about: clamp(48px, 39px + 2.29vw, 72px);
  --text-h1-contact: clamp(48px, 42px + 1.52vw, 64px);
  --text-footer-quote: clamp(34px, 25.8px + 2.1vw, 56px);
  --text-form: clamp(22px, 20.6px + 0.38vw, 24px);

  /* Tracking */
  --tracking-tight: -0.02em;
  --tracking-snug: -0.01em;
  --tracking-display: 0.02em;
  --tracking-wide: 0.08em;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 144px;

  /* Layout */
  --page-max: 1440px;
  --gutter: clamp(20px, 5.5vw, 80px);
  --measure: 38em; /* comfortable reading width */

  /* Breakpoints (for reference; media queries can't use variables) */
  /* sm 640px, md 960px, lg 1280px */
}
