/* ============================================================
   XPERTISE — SPACING, RADII, SHADOWS, LAYOUT, MOTION
   ============================================================ */

:root {
  /* ---- Spacing (4px base grid) ---- */
  --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 — controlled, engineering-precise ---- */
  --radius-xs:   3px;
  --radius-sm:   5px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  22px;
  --radius-pill: 999px;

  /* ---- Border widths ---- */
  --border-hairline: 1px; /* @kind other */
  --border-thick:    2px; /* @kind other */

  /* ---- Shadows — cool navy-tinted, soft and premium ---- */
  --shadow-xs:  0 1px 2px rgba(11, 37, 69, 0.06);
  --shadow-sm:  0 1px 3px rgba(11, 37, 69, 0.08), 0 1px 2px rgba(11, 37, 69, 0.05);
  --shadow-md:  0 4px 12px rgba(11, 37, 69, 0.08), 0 2px 4px rgba(11, 37, 69, 0.05);
  --shadow-lg:  0 12px 28px rgba(11, 37, 69, 0.12), 0 4px 8px rgba(11, 37, 69, 0.06);
  --shadow-xl:  0 24px 56px rgba(11, 37, 69, 0.16), 0 8px 16px rgba(11, 37, 69, 0.08);
  --shadow-focus: 0 0 0 3px rgba(91, 155, 213, 0.35);
  --shadow-focus-gold: 0 0 0 3px rgba(201, 168, 76, 0.32);
  --shadow-inner: inset 0 1px 2px rgba(11, 37, 69, 0.08);

  /* ---- Layout ---- */
  --container-sm:  640px;
  --container-md:  860px;
  --container-lg:  1100px;
  --container-xl:  1320px;
  --gutter:        var(--space-6);

  /* ---- Motion — restrained, precise, no bounce ---- */
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-in-out:   cubic-bezier(0.45, 0, 0.2, 1); /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-base:   220ms; /* @kind other */
  --dur-slow:   360ms; /* @kind other */

  /* ---- Z-index ---- */
  --z-base:    1; /* @kind other */
  --z-dropdown: 1000; /* @kind other */
  --z-sticky:  1100; /* @kind other */
  --z-overlay: 1200; /* @kind other */
  --z-modal:   1300; /* @kind other */
  --z-toast:   1400; /* @kind other */
}
