/* ============================================================
   CAPOEIRA — Spacing, radii, shadows, borders, motion, layout
   ============================================================ */
: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;

  /* ---------- Radii ---------- */
  /* Brand geometry is organic but UI stays calm & rounded-soft */
  --radius-none: 0;
  --radius-xs:  4px;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-2xl: 28px;
  --radius-pill: 999px;
  --radius-leaf: 60% 60% 60% 0; /* seed/leaf corner accent */

  /* ---------- Border widths ---------- */
  --border-width-hairline: 1px;    /* @kind spacing */
  --border-width-default:  1.5px;  /* @kind spacing */
  --border-width-strong:   2px;    /* @kind spacing */

  /* ---------- Shadows (warm-tinted, low & soft) ---------- */
  --shadow-xs:  0 1px 2px rgba(36, 30, 22, 0.06);
  --shadow-sm:  0 1px 3px rgba(36, 30, 22, 0.08), 0 1px 2px rgba(36, 30, 22, 0.06);
  --shadow-md:  0 4px 12px rgba(36, 30, 22, 0.08), 0 2px 4px rgba(36, 30, 22, 0.06);
  --shadow-lg:  0 12px 28px rgba(36, 30, 22, 0.12), 0 4px 8px rgba(36, 30, 22, 0.06);
  --shadow-xl:  0 24px 48px rgba(28, 23, 16, 0.18);
  --shadow-forest: 0 12px 28px rgba(0, 48, 31, 0.28);
  --shadow-inset: inset 0 1px 2px rgba(36, 30, 22, 0.08);

  /* ---------- Motion ---------- */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);     /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);  /* @kind other */
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --duration-fast:  120ms;    /* @kind other */
  --duration-base:  200ms;    /* @kind other */
  --duration-slow:  320ms;    /* @kind other */
  --duration-slower: 520ms;   /* @kind other */

  /* ---------- Layout ---------- */
  --container-sm: 640px;     /* @kind spacing */
  --container-md: 880px;     /* @kind spacing */
  --container-lg: 1120px;    /* @kind spacing */
  --container-xl: 1320px;    /* @kind spacing */
  --sidebar-width: 264px;    /* @kind spacing */
  --topbar-height: 60px;     /* @kind spacing */
  --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 */
}
