/* ============================================================
   Grounded Business Advisory — Spacing, Radius, Shadow, Layout
   Architectural rhythm: 4px base, generous whitespace,
   minimal corner radius, soft warm-tinted shadows.
   ============================================================ */

: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;
  --space-40: 160px;

  /* ---- Radii — restrained / architectural ---- */
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 14px;
  --radius-pill: 999px;

  /* ---- Borders ---- */
  --border-width: 1px;
  --border-width-thick: 2px;
  --rule-width: 1px;          /* hairline editorial rules */
  --accent-rule-width: 2px;   /* terracotta underline mark */

  /* ---- Shadows — soft, warm, low ---- */
  --shadow-xs: 0 1px 2px rgba(42, 32, 26, 0.06);
  --shadow-sm: 0 2px 8px rgba(42, 32, 26, 0.07);
  --shadow-md: 0 8px 24px rgba(42, 32, 26, 0.09);
  --shadow-lg: 0 20px 48px rgba(42, 32, 26, 0.12);
  --shadow-inset: inset 0 0 0 1px rgba(58, 43, 34, 0.06);

  /* ---- Layout ---- */
  --container-sm: 720px;
  --container-md: 960px;
  --container-lg: 1200px;
  --container-xl: 1320px;
  --gutter: var(--space-6);
  --section-y: var(--space-32); /* vertical rhythm between sections */

  /* ---- Motion — calm, no bounce ---- */
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --duration-fast: 140ms; /* @kind other */
  --duration-base: 220ms; /* @kind other */
  --duration-slow: 420ms; /* @kind other */

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