/* ============================================================
   JIM MATTICE — SPACING, RADIUS, SHADOW, MOTION
   Grounded, architectural. Modest radii, crisp single-layer
   shadows. Nothing floaty or playful.
   ============================================================ */
:root {
  /* spacing — 4px base */
  --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;

  /* radius — restrained, architectural */
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* borders */
  --border-width: 1px;
  --border-width-strong: 2px;

  /* shadows — crisp, low, cool-tinted */
  --shadow-xs: 0 1px 2px rgba(22,36,47,0.08);
  --shadow-sm: 0 1px 3px rgba(22,36,47,0.10), 0 1px 2px rgba(22,36,47,0.06);
  --shadow-md: 0 4px 12px rgba(22,36,47,0.10), 0 2px 4px rgba(22,36,47,0.06);
  --shadow-lg: 0 12px 28px rgba(22,36,47,0.14), 0 4px 8px rgba(22,36,47,0.06);
  --shadow-xl: 0 24px 56px rgba(22,36,47,0.18);
  --shadow-focus: 0 0 0 3px var(--focus-ring);

  /* layout */
  --container-max: 1200px;
  --container-narrow: 760px;
  --gutter: var(--space-6);

  /* motion — quick, decisive, no bounce */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);     /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);  /* @kind other */
  --dur-fast: 120ms;   /* @kind other */
  --dur-base: 200ms;   /* @kind other */
  --dur-slow: 320ms;   /* @kind other */
}
