/* ============================================================
   Craveva — Spacing, radii, shadows, motion
   4px base grid. Soft warm shadows tinted with brand brown.
   ============================================================ */

:root {
  /* ---- Spacing (4px grid) ---- */
  --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.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 */
  --space-24: 6rem;     /* 96 */
  --space-32: 8rem;     /* 128 */

  /* ---- Radii (soft, organic) ---- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-2xl: 36px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* ---- Shadows (warm, brown-tinted) ---- */
  --shadow-xs: 0 1px 2px rgba(53, 45, 38, 0.06);
  --shadow-sm: 0 2px 8px rgba(53, 45, 38, 0.08);
  --shadow-md: 0 8px 22px rgba(53, 45, 38, 0.10);
  --shadow-lg: 0 18px 44px rgba(53, 45, 38, 0.14);
  --shadow-xl: 0 30px 74px rgba(53, 45, 38, 0.18);
  --shadow-inset: inset 0 1px 2px rgba(53, 45, 38, 0.10);

  /* ---- Layout ---- */
  --container-sm: 640px;
  --container-md: 880px;
  --container-lg: 1120px;
  --container-xl: 1320px;
  --header-height: 76px;

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);     /* @kind other */
  --ease-in-out: cubic-bezier(0.45, 0, 0.2, 1);       /* @kind other */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);   /* @kind other */
  --dur-fast: 120ms;                                  /* @kind other */
  --dur-base: 200ms;                                  /* @kind other */
  --dur-slow: 360ms;                                  /* @kind other */
}
