/* ============================================================
   EVRI Ingredients — Spacing, Radius, Shadow, Borders, Motion
   4px base grid. Soft, organic radii. Warm, low-contrast shadows.
   ============================================================ */
: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.5rem;   /* 24 */
  --space-6:   2rem;     /* 32 */
  --space-7:   2.5rem;   /* 40 */
  --space-8:   3rem;     /* 48 */
  --space-9:   4rem;     /* 64 */
  --space-10:  5rem;     /* 80 */
  --space-12:  6rem;     /* 96 */
  --space-16:  8rem;     /* 128 */

  /* Radius — generous organic curves */
  --radius-xs:   6px;
  --radius-sm:   14px;
  --radius-md:   22px;
  --radius-lg:   32px;
  --radius-xl:   48px;
  --radius-2xl:  72px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* Organic blob border-radius presets (8-value shorthand: h / v) */
  --blob-a: 60% 40% 30% 70% / 60% 30% 70% 40%; /* @kind radius */
  --blob-b: 40% 60% 70% 30% / 50% 60% 40% 50%; /* @kind radius */
  --blob-c: 55% 45% 38% 62% / 42% 62% 38% 58%; /* @kind radius */

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

  /* Shadows — warm-tinted, soft (low-contrast, natural) */
  --shadow-xs:  0 1px 2px rgba(34, 28, 14, 0.06);
  --shadow-sm:  0 2px 6px rgba(34, 28, 14, 0.07);
  --shadow-md:  0 8px 20px -6px rgba(27, 40, 24, 0.12);
  --shadow-lg:  0 18px 40px -12px rgba(17, 47, 32, 0.18);
  --shadow-xl:  0 32px 64px -20px rgba(11, 31, 22, 0.24);
  --shadow-inset: inset 0 1px 2px rgba(34, 28, 14, 0.06);

  /* Layout */
  --container-sm: 640px;
  --container-md: 820px;
  --container-lg: 1080px;
  --container-xl: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem); /* @kind spacing */

  /* Motion — calm, organic easing; no bounce */
  --ease-standard: cubic-bezier(0.32, 0.08, 0.24, 1); /* @kind other */
  --ease-out:      cubic-bezier(0.16, 0.84, 0.34, 1); /* @kind other */
  --ease-in:       cubic-bezier(0.5, 0, 0.84, 0.3); /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-base:   220ms; /* @kind other */
  --dur-slow:   380ms; /* @kind other */

  /* Z-index scale */
  --z-base: 1; /* @kind other */
  --z-sticky: 100; /* @kind other */
  --z-overlay: 1000; /* @kind other */
  --z-modal: 1100; /* @kind other */
  --z-toast: 1200; /* @kind other */
}
