/* ============================================================
   E.S. WAGNER — SPACING, RADII, SHADOWS, LAYOUT
   Industrial / heavy-civil feel: tight radii, hard structural
   shadows, generous section rhythm.
   ============================================================ */

: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 — sharp, engineered. Nothing pill-soft except chips. */
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-pill: 999px;

  /* Shadows — restrained, slightly hard-edged */
  --shadow-xs: 0 1px 2px rgba(17, 22, 28, 0.08);
  --shadow-sm: 0 2px 6px rgba(17, 22, 28, 0.10);
  --shadow-md: 0 6px 16px rgba(17, 22, 28, 0.12);
  --shadow-lg: 0 16px 40px rgba(17, 22, 28, 0.18);
  --shadow-card: 0 1px 3px rgba(17, 22, 28, 0.10), 0 6px 18px rgba(17, 22, 28, 0.06);

  /* Borders */
  --border-width: 1px;          /* @kind spacing */
  --border-width-thick: 2px;    /* @kind spacing */
  --rule-accent: 4px;   /* @kind spacing */   /* the heavy red accent rule used under headings */

  /* Layout */
  --container-max: 1240px;     /* @kind spacing */
  --container-narrow: 800px;   /* @kind spacing */
  --gutter: clamp(20px, 4vw, 56px);    /* @kind spacing */
  --section-y: clamp(56px, 7vw, 112px); /* @kind spacing */

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

  /* Z-index */
  --z-nav: 100;        /* @kind other */
  --z-dropdown: 200;   /* @kind other */
  --z-overlay: 900;    /* @kind other */
  --z-modal: 1000;     /* @kind other */
  --z-toast: 1100;     /* @kind other */
}
