/* ============================================================
   SPACING, RADII, ELEVATION, MOTION — Modl & Coll.
   Generous white space; quiet, soft elevation; calm motion.
   ============================================================ */
:root {
  /* ---- Spacing scale (4px 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: 2.5rem;    /* 40 */
  --space-8: 3.5rem;    /* 56 */
  --space-9: 4.5rem;    /* 72 */
  --space-10: 6rem;     /* 96 — section rhythm                */
  --space-11: 8rem;     /* 128                                */

  /* ---- Layout --------------------------------------------- */
  --container-max: 1200px;
  --container-prose: 68ch;     /* comfortable reading measure  */
  --gutter: clamp(1.25rem, 4vw, 3rem);   /* @kind spacing */
  --section-y: clamp(4rem, 8vw, 7.5rem); /* @kind spacing */

  /* ---- Radii — soft, never bubbly ------------------------- */
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* ---- Borders -------------------------------------------- */
  --border-width: 1px;
  --border-width-strong: 1.5px;
  --rule-accent-width: 2px;   /* brass underline rules         */

  /* ---- Elevation — soft, warm-tinted, low-contrast -------- */
  --shadow-xs: 0 1px 2px rgba(20, 32, 46, 0.06);
  --shadow-sm: 0 1px 3px rgba(20, 32, 46, 0.07), 0 1px 2px rgba(20, 32, 46, 0.05);
  --shadow-md: 0 4px 14px rgba(20, 32, 46, 0.08), 0 2px 4px rgba(20, 32, 46, 0.05);
  --shadow-lg: 0 14px 40px rgba(20, 32, 46, 0.10), 0 4px 12px rgba(20, 32, 46, 0.06);
  --shadow-xl: 0 28px 70px rgba(15, 25, 35, 0.16), 0 10px 24px rgba(15, 25, 35, 0.08);
  --shadow-focus: 0 0 0 3px rgba(138, 109, 52, 0.30);  /* brass focus halo */

  /* ---- Motion — calm, considered, never bouncy ------------ */
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);  /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);           /* @kind other */
  --ease-in-out: cubic-bezier(0.45, 0, 0.25, 1);       /* @kind other */
  --dur-fast: 120ms;   /* @kind other */
  --dur-base: 200ms;   /* @kind other */
  --dur-slow: 360ms;   /* @kind other */
  --dur-reveal: 600ms; /* @kind other */

  /* ---- Focus ring ----------------------------------------- */
  --focus-width: 2px;   /* @kind spacing */
  --focus-offset: 2px;  /* @kind spacing */
}
