/* Story layer tokens (5b "notes in the margins"): the only values the story page adds on top of
   tokens.css and app-tokens.css. Story and app-window rules use these names, never raw values. */
:root{
  /* Type. Families come from tokens.css; the display weight is the heaviest the site ships. */
  --story-weight-display:700;
  --story-h1-size:clamp(46px,5.6vw,92px);--story-h1-leading:.92;--story-h1-tracking:-.055em;
  --story-title-size:clamp(26px,2.3vw,36px);--story-title-leading:1.02;--story-title-tracking:-.04em;
  --story-finale-size:clamp(48px,6vw,96px);
  --story-section-size:clamp(36px,4.4vw,64px);--story-section-small:clamp(28px,2.8vw,40px);
  --story-body-size:15.5px;--story-hero-body-size:18px;--story-body-leading:1.55;
  --story-tease-size:14px;--story-kicker-size:13px;--story-point-size:14.5px;

  /* Layout */
  --story-gutter:32px;--story-gutter-narrow:16px;
  --story-note-gap:12px;--story-content-max:1180px;--story-hero-max:980px;
  --story-header-height:62px;

  /* Shape */
  --story-radius-pill:999px;--story-radius-card:12px;--story-radius-window:14px;--story-radius-plan:18px;

  /* Depth: shadow colours, darkest last */
  --story-shadow-soft:#0007;--story-shadow:#0008;--story-shadow-toast:#0009;--story-shadow-deep:#000a;--story-shadow-deeper:#000b;
  --story-swatch-edge:#ffffff1a;

  /* Motion */
  --story-motion-theme:.5s;--story-motion-lead:.25s;--story-motion-layout:.7s cubic-bezier(.65,0,.25,1);
  /* The board's window moves: the whole stack .9s, each window slot 1s (pane sizes keep the .7s above). */
  --story-motion-stack:.9s cubic-bezier(.65,0,.25,1);--story-motion-slot:1s cubic-bezier(.65,0,.25,1);

  /* macOS window buttons */
  --lights-close:#ff5f57;--lights-min:#febc2e;--lights-max:#28c840;
}
