/* ============================================================
   SPACING & LAYOUT — Mario Moschetta
   8px base rhythm. Generous editorial white space.
   ============================================================ */
:root {
  /* ---- Spacing scale (8px base) ---- */
  --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: 11rem;    /* 176 — section breathing room */

  /* ---- Layout widths ---- */
  --measure:      66ch;     /* ideal reading measure */
  --container:    1200px;   /* standard content container */
  --container-narrow: 760px;/* long-form reading column */
  --container-wide:   1440px;
  --gutter:       clamp(1.25rem, 5vw, 5rem); /* @kind spacing */

  /* ---- Section rhythm ---- */
  --section-y:    clamp(4rem, 8vw, 9rem); /* @kind spacing */

  /* ---- Radii — soft but architectural, not pill-soft ---- */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  28px;
  --radius-pill: 999px;
  --radius-card: var(--radius-lg);
}
