/* ============================================================
   Anton Scaffolding — Spacing, radius, borders, shadows, layout
   Sturdy, grid-like rhythm. Restrained corner radii (this is
   steel and structure, not soft consumer software) and crisp,
   functional shadows.
   ============================================================ */

: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:  7.5rem;   /* 120 */

  /* Radii — tight and structural */
  --radius-none: 0;
  --radius-xs:  2px;
  --radius-sm:  4px;
  --radius-md:  6px;
  --radius-lg:  10px;
  --radius-xl:  16px;
  --radius-pill: 999px;
  --radius-card: var(--radius-lg);
  --radius-control: var(--radius-sm);

  /* Border widths */
  --border-width: 1px;
  --border-width-2: 2px;
  --border-width-heavy: 3px;   /* hi-vis accent rules / active tabs */

  /* Shadows — functional, low-spread, cool */
  --shadow-xs: 0 1px 2px rgba(18,20,25,0.06);
  --shadow-sm: 0 1px 3px rgba(18,20,25,0.10), 0 1px 2px rgba(18,20,25,0.06);
  --shadow-md: 0 4px 10px rgba(18,20,25,0.10), 0 2px 4px rgba(18,20,25,0.06);
  --shadow-lg: 0 12px 28px rgba(18,20,25,0.14), 0 4px 8px rgba(18,20,25,0.08);
  --shadow-xl: 0 24px 56px rgba(18,20,25,0.20);
  --shadow-focus: 0 0 0 3px rgba(237,237,18,0.5);  /* lemon focus ring */
  --shadow-inset: inset 0 1px 2px rgba(18,20,25,0.08);

  /* Layout */
  --container-sm: 640px;
  --container-md: 880px;
  --container-lg: 1120px;
  --container-xl: 1320px;
  --gutter: var(--space-5);
  --header-height: 76px;

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

  /* Z-index */
  --z-base: 0; /* @kind other */
  --z-sticky: 100; /* @kind other */
  --z-header: 200; /* @kind other */
  --z-overlay: 900; /* @kind other */
  --z-modal: 1000; /* @kind other */
  --z-toast: 1100; /* @kind other */
}
