/* ============================================================
   EACBL · SPACING, RADIUS, ELEVATION, MOTION, LAYOUT
   Generous, grounded spacing. Rounded corners are a brand
   signature — soft, never sharp, never fully pill except on
   chips and avatars.
   ============================================================ */
: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-9:  4rem;      /* 64  */
  --space-10: 5rem;      /* 80  */
  --space-12: 7rem;      /* 112 */

  /* ---- Radius — soft & rounded (brand signature) ---------- */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;   /* default control radius            */
  --radius-lg:   18px;   /* cards                             */
  --radius-xl:   28px;   /* feature panels / hero cards       */
  --radius-2xl:  40px;
  --radius-pill: 999px;  /* chips, avatars, tags              */

  /* ---- Elevation — warm, soft, low-contrast shadows ------- */
  --shadow-xs:  0 1px 2px rgba(63, 48, 38, 0.06);
  --shadow-sm:  0 2px 6px rgba(63, 48, 38, 0.07),
                0 1px 2px rgba(63, 48, 38, 0.05);
  --shadow-md:  0 6px 18px rgba(63, 48, 38, 0.09),
                0 2px 5px rgba(63, 48, 38, 0.06);
  --shadow-lg:  0 16px 40px rgba(63, 48, 38, 0.12),
                0 4px 10px rgba(63, 48, 38, 0.07);
  --shadow-xl:  0 28px 64px rgba(63, 48, 38, 0.16),
                0 8px 18px rgba(63, 48, 38, 0.08);
  /* Inset for inputs / wells */
  --shadow-inset: inset 0 1px 2px rgba(63, 48, 38, 0.07);
  /* Warm focus glow */
  --shadow-focus: 0 0 0 3px rgba(224, 129, 15, 0.30);

  /* ---- Motion — calm, grounded, never bouncy --- @kind other -- */
  --ease-out:    cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.45, 0.05, 0.25, 1); /* @kind other */
  --ease-soft:   cubic-bezier(0.4, 0.0, 0.2, 1); /* @kind other */
  --dur-fast:   120ms; /* @kind other */
  --dur-base:   200ms; /* @kind other */
  --dur-slow:   360ms; /* @kind other */
  --dur-slower: 600ms; /* @kind other */

  /* ---- Layout ------------------------------ @kind spacing -- */
  --container-sm:  640px;
  --container-md:  860px;
  --container-lg:  1120px;
  --container-xl:  1320px;
  --gutter:        var(--space-5);

  /* ---- Z-index ------------------------------- @kind other -- */
  --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 */
}
