/*
 * Yellow Disc: design tokens
 * Quiet Swiss minimalism with one loud shape. A pale gray page holds crisp white sheets,
 * set in a tight grotesk at regular weight with staggered, indented lines. A single flat
 * yellow disc sits behind the type and the text prints over it. Ruler ticks and a hairline
 * crosshair are the only ornaments.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: gray page, white sheets */
  --yd-mist: #ebebe8;        /* the page behind every sheet */
  --yd-mist-2: #e1e1dd;      /* hover on mist, quiet fills */
  --yd-sheet: #ffffff;       /* the white panels that hold content */
  --yd-line: #d6d6d1;        /* hairlines and borders */
  --yd-tick: #b1b1ab;        /* ruler ticks, crosshairs, faint marks */

  /* Text */
  --yd-ink: #1b1b19;
  --yd-soft: #67675f;
  --yd-faint: #9a9a92;

  /* The one accent: a flat, saturated yellow. Used as a shape, almost never as text */
  --yd-sun: #ffec00;
  --yd-sun-deep: #f2d600;    /* hover on yellow buttons */
  --yd-sun-soft: #fff8b0;    /* highlights, selected rows */

  /* Type */
  --yd-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --yd-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --yd-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --yd-text-hero: clamp(44px, 6.4vw, 84px);
  --yd-text-h2: clamp(32px, 4.2vw, 54px);
  --yd-text-h3: 24px;
  --yd-text-lead: 20px;
  --yd-text-body: 16px;
  --yd-text-small: 14px;
  --yd-text-micro: 12px;

  --yd-leading-hero: 1.08;
  --yd-tracking-hero: -.035em;
  --yd-tracking-h2: -.03em;
  --yd-indent: 1.1em;        /* how far every second headline line steps in */

  /* Shape: square sheets, round disc. No shadows, no radius on panels */
  --yd-radius: 0;
  --yd-radius-sm: 2px;
  --yd-radius-pill: 999px;
  --yd-border: 1px solid var(--yd-line);
  --yd-border-ink: 1px solid var(--yd-ink);
  --yd-shadow: none;

  /* Space */
  --yd-gutter: clamp(20px, 5vw, 56px);
  --yd-section: clamp(64px, 9vw, 120px);
  --yd-container: 1080px;
  --yd-narrow: 680px;

  /* Motion: slow, linear-ish glides. The disc can drift; nothing bounces */
  --yd-ease: cubic-bezier(.3, .7, .2, 1);
  --yd-slow: 900ms;
}
