/* ============================================================
   CAMEC · Spacing, radii, shadows, motion
   Calm, generous, structured — space communicates stability.
   ============================================================ */
:root {
  /* ---- Spacing scale (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;

  /* ---- Layout ---- */
  --container-max: 1200px;
  --container-narrow: 760px;
  --section-y: 96px;       /* vertical rhythm between sections */
  --gutter: 24px;

  /* ---- Radii (soft, confident — not playful) ---- */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-card: 16px;
  --radius-pill: 999px;

  /* ---- Shadows (soft, navy-tinted — quiet elevation, never harsh) ---- */
  --shadow-xs: 0 1px 2px rgba(10,31,58,0.06);
  --shadow-sm: 0 2px 6px rgba(10,31,58,0.07);
  --shadow-md: 0 6px 18px rgba(10,31,58,0.09);
  --shadow-lg: 0 16px 40px rgba(10,31,58,0.12);
  --shadow-xl: 0 30px 70px rgba(10,31,58,0.16);
  --shadow-brand: 0 12px 28px rgba(30,115,232,0.28);
  --shadow-focus: 0 0 0 4px var(--focus-ring);

  /* ---- Borders ---- */
  --border-width: 1px;          /* @kind other */
  --border-width-strong: 1.5px; /* @kind other */

  /* ---- Motion (measured, reassuring — 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: 140ms;   /* @kind other */
  --dur-base: 220ms;   /* @kind other */
  --dur-slow: 420ms;   /* @kind other */
}
