/* ============================================================
   PAMPLEMOUSSE — SPACING, RADII, BORDERS, SHADOWS, MOTION
   Structured, technical-diagram feel: crisp hairlines, small
   radii, restrained shadows. The brand reads as engraved print,
   not soft glassmorphism.
   ============================================================ */
:root {
  /* 4px base spacing scale */
  --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;

  /* Radii — small & architectural. Buttons/inputs are near-square. */
  --radius-none: 0;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;
  --radius-circle: 50%;

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

  /* Shadows — restrained, warm-black. Used sparingly. */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.35);
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.40);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.45);
  --shadow-lg: 0 20px 56px rgba(0,0,0,0.55);
  /* Grapefruit glow — the signature hover/active on red elements */
  --glow-accent: 0 0 0 1px var(--grapefruit-500), 0 0 18px rgba(255,92,77,0.45);
  --glow-accent-soft: 0 0 16px rgba(255,92,77,0.30);

  /* Focus ring */
  --ring: 0 0 0 2px var(--bg-canvas), 0 0 0 4px var(--focus-ring);

  /* Layout */
  --container-max: 1200px;   /* @kind other */
  --sidebar-w: 248px;        /* @kind other */
  --grid-cols: 12;           /* @kind other */

  /* Motion — quick, mechanical. 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: 180ms;   /* @kind other */
  --dur-slow: 300ms;   /* @kind other */
}
