/* ============================================================
   Leah E. Welker—Spacing, Radius, Layout Tokens
   8px soft grid with a couple of fractional steps for type rhythm.
   ============================================================ */

:root {
  /* ---------- Spacing scale ---------- */
  --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 */

  /* ---------- Section rhythm ---------- */
  --section-y:        clamp(3.5rem, calc(2rem + 7vw), 7rem); /* @kind spacing */
  --content-gap:      var(--space-5);

  /* ---------- Layout widths ---------- */
  --measure-prose:    66ch;     /* comfortable reading measure */
  --container-narrow: 720px;
  --container:        1080px;
  --container-wide:   1280px;
  --gutter:           clamp(1.25rem, calc(0.5rem + 3vw), 3rem); /* @kind spacing */

  /* ---------- Radii (soft, gentle—never sharp) ---------- */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  28px;
  --radius-pill: 999px;
  --radius-card: var(--radius-lg);

  /* ---------- Border widths ---------- */
  --border-thin:  1px;
  --border-base:  1.5px;
}
