/* ============================================================
   Strike Wedge — Spacing, radius, shadow, motion tokens
   ============================================================ */

:root {
  /* ---- Spacing scale (4px base) ---- */
  --space-1: 0.25rem;   /* 4  */
  --space-2: 0.5rem;    /* 8  */
  --space-3: 0.75rem;   /* 12 */
  --space-4: 1rem;      /* 16 */
  --space-5: 1.25rem;   /* 20 */
  --space-6: 1.5rem;    /* 24 */
  --space-8: 2rem;      /* 32 */
  --space-10: 2.5rem;   /* 40 */
  --space-12: 3rem;     /* 48 */
  --space-16: 4rem;     /* 64 */
  --space-20: 5rem;     /* 80 */

  /* ---- Layout widths ---- */
  --width-page: 72rem;   /* 1152 — site container */
  --width-prose: 38rem;  /* 608 — readable column */
  --gutter: clamp(1.25rem, 4vw, 3rem); /* @kind spacing */

  /* ---- Radii ----
     Web: card 14, input 10. App: tiles big & soft (28), cards 18–22,
     pills/chips fully round. ----------------------------------------- */
  --radius-input: 0.625rem;  /* 10 — web inputs/buttons */
  --radius-card: 0.875rem;   /* 14 — web cards */
  --radius-sm: 0.75rem;      /* 12 */
  --radius-md: 1.125rem;     /* 18 — app shot cards */
  --radius-lg: 1.375rem;     /* 22 — app hero cards */
  --radius-xl: 1.75rem;      /* 28 — app stat tiles */
  --radius-pill: 999px;      /* capsules, chips, badges */

  /* ---- Shadows ----
     The brand is flat. Elevation comes from contrast (white card on beige,
     translucent black HUD on imagery) and 1px borders, not heavy drop
     shadows. Use these sparingly. ----------------------------------- */
  --shadow-none: none;
  --shadow-sm: 0 1px 2px rgba(11,46,32,0.06);
  --shadow-card: 0 8px 28px rgba(11,46,32,0.10);
  --shadow-hud: 0 4px 18px rgba(0,0,0,0.45);   /* labels over imagery */

  /* ---- Borders ---- */
  --border-hairline: 1px;
  --border-emphasis: 2px;

  /* ---- Motion ----
     Brand motion is calm and functional: short color/opacity transitions,
     a tiny arrow nudge on hover, ease-in-out HUD value swaps. No bounce. */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast: 0.15s; /* @kind other */
  --dur-base: 0.25s; /* @kind other */
}
