/* CAMIX — Spacing, radii, shadows, motion, layout */
: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: 3rem;      /* 48 */
  --space-10: 4rem;     /* 64 */
  --space-12: 5rem;     /* 80 */
  --space-16: 7.5rem;   /* 120 — section rhythm */

  /* ---- Radii ---- */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;    /* cards */
  --radius-xl: 28px;    /* big feature cards / images */
  --radius-pill: 999px; /* buttons, badges, chips */

  /* ---- Shadows (dark UI: soft ambient + accent glow) ---- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 0 1px rgba(134, 37, 254, 0.35), 0 12px 40px rgba(134, 37, 254, 0.25);
  --shadow-glow-soft: 0 10px 50px -12px rgba(134, 37, 254, 0.4);

  /* ---- Motion ---- */
  --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: 200ms; /* @kind other */
  --dur-slow: 360ms; /* @kind other */

  /* ---- Layout ---- */
  --container: 1240px; /* @kind other */
  --container-narrow: 880px; /* @kind other */
  --gutter: clamp(1.25rem, 4vw, 3rem); /* @kind spacing */
  --header-h: 72px; /* @kind spacing */

  /* ---- Background grid cell ---- */
  --grid-size: 64px; /* @kind spacing */
}
