/* ============================================================
   SPACING, RADII, SHADOWS, MOTION — Flush Fasteners
   The brand is precision-engineered: tight, even, machined.
   Radii are small (hardware edges, not soft consumer UI).
   ============================================================ */

:root {
  /* ---- Spacing scale (4px base grid) ---- */
  --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:   3rem;     /* 48 */
  --space-8:   4rem;     /* 64 */
  --space-9:   6rem;     /* 96 */
  --space-10:  8rem;     /* 128 */

  /* ---- Radii — kept minimal & machined ---- */
  --radius-none: 0;
  --radius-xs:   2px;    /* default control radius */
  --radius-sm:   4px;
  --radius-md:   6px;    /* cards */
  --radius-lg:   10px;
  --radius-pill: 999px;  /* tags / pills only */

  /* ---- Borders ---- */
  --border-hairline: 1px; /* @kind spacing */
  --border-regular:  1.5px; /* @kind spacing */

  /* ---- Shadows — cool, low, restrained (no glow, no bevel) ---- */
  --shadow-xs: 0 1px 2px rgba(16, 22, 30, 0.06);
  --shadow-sm: 0 2px 6px rgba(16, 22, 30, 0.08);
  --shadow-md: 0 8px 24px rgba(16, 22, 30, 0.10);
  --shadow-lg: 0 18px 48px rgba(16, 22, 30, 0.14);
  --shadow-dark: 0 12px 40px rgba(0, 0, 0, 0.55);

  /* ---- Layout ---- */
  --container-max: 1200px; /* @kind spacing */
  --container-wide: 1440px; /* @kind spacing */
  --gutter: var(--space-5); /* @kind spacing */

  /* ---- Motion — quick, precise, no bounce ---- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast:      120ms; /* @kind other */
  --dur-base:      200ms; /* @kind other */
  --dur-slow:      380ms; /* @kind other */

  /* ---- Watermark (brand book §04: always 30%) ---- */
  --watermark-opacity: 0.30; /* @kind other */
}
