/* ════════════════════════════════════════════════════════════════════
   SPACING — Midnight Pop
   A generous, confident scale. 4px base; jumps widen as they climb so
   sections breathe. Use --space-* for gaps/padding, --measure-* for
   content widths.
   ════════════════════════════════════════════════════════════════════ */
:root {
  --space-0:   0;
  --space-1:   0.25rem;  /* 4 */
  --space-2:   0.5rem;   /* 8 */
  --space-3:   0.75rem;  /* 12 */
  --space-4:   1rem;     /* 16 */
  --space-5:   1.5rem;   /* 24 */
  --space-6:   2rem;     /* 32 */
  --space-7:   3rem;     /* 48 */
  --space-8:   4rem;     /* 64 */
  --space-9:   6rem;     /* 96 */
  --space-10:  8rem;     /* 128 */
  --space-11:  10rem;    /* 160 */
  --space-12:  14rem;    /* 224 — full section rhythm */

  /* ── Semantic ──────────────────────────────────────────────────────── */
  --gap-inline:    var(--space-3);
  --gap-stack:     var(--space-5);
  --pad-card:      var(--space-6);
  --pad-section-y: var(--space-10);
  --pad-page-x:    clamp(1.25rem, 5vw, 6rem);

  /* ── Content measures ──────────────────────────────────────────────── */
  --measure-prose: 64ch;   /* @kind other */ /* readable line length */
  --measure-narrow: 44ch;  /* @kind other */
  --max-page:      1240px;  /* @kind other */ /* primary content column */
  --max-wide:      1480px;  /* @kind other */ /* hero band */
}
