/* Leaf space scale — a 4px base with a deliberate jump at the section level.
   Layout gutters and section rhythm are fluid; component padding is fixed. */
:root{
  --space-0:0;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-8:32px;
  --space-10:40px;
  --space-12:48px;
  --space-16:64px;
  --space-20:80px;
  --space-24:96px;
  --space-32:128px;

  --space-section:clamp(64px,7vw,144px);
  --space-section-tight:clamp(40px,4.5vw,88px);
  --space-section-loose:clamp(88px,10vw,168px); /* work and other media-led bands */
  --gutter:clamp(1rem,5.5vw,14rem); /* @kind spacing */
  /* Round 11: the overlay header's bar height (layout round 3's formula),
     the single source for everything that assumes it — the bar itself,
     the floating header's negative margin, and the hero clearances in
     components.css. The header adds a 1px hairline below this. */
  --header-h:clamp(64px,calc(52px + 3.05vw),169px); /* @kind spacing */

  --measure-prose:64ch;
  --measure-lead:40ch;
  --container-text:980px;
  --grid-columns:12; /* @kind other */
  --grid-gap:clamp(16px,1.8vw,28px);
}
