/* ============================================================
   MEKORA — Spacing, radius, sizing  (industrial redesign)
   4px base grid. Sharp, near-square geometry — corners are a
   structural decision, not a soft one. Generous macro-whitespace.
   ============================================================ */
:root {
  --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 — softened for a warmer, modern feel (still controlled, not pill) */
  --radius-none: 0;
  --radius-xs: 4px;
  --radius-sm: 8px;     /* default control */
  --radius-md: 12px;
  --radius-lg: 16px;    /* default card */
  --radius-xl: 22px;
  --radius-2xl: 28px;
  --radius-pill: 999px;

  /* Layout */
  --container-max: 1280px; /* @kind spacing */
  --container-narrow: 820px; /* @kind spacing */
  --gutter: clamp(20px, 5vw, 72px); /* @kind spacing */

  /* Control heights */
  --control-sm: 36px;
  --control-md: 44px;   /* min hit target */
  --control-lg: 54px;
}
