/* ============================================================
   KRONOS SCIENTIFICA — SPACING, RADIUS, SHADOW, MOTION
   8px base grid. Restrained radii. Soft, cool-tinted shadows.
   ============================================================ */

:root {
  /* ---- Spacing scale (8px grid, with half-steps) ---- */
  --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;

  /* ---- Radius (subtle, engineered — not pill-soft) ---- */
  --radius-xs:   3px;
  --radius-sm:   5px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   18px;
  --radius-2xl:  26px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* ---- Borders ---- */
  --border-width:   1px;
  --border-width-2: 2px;

  /* ---- Shadows (navy-tinted, soft, layered) ---- */
  --shadow-xs:  0 1px 2px rgba(37, 53, 81, 0.06);
  --shadow-sm:  0 1px 3px rgba(37, 53, 81, 0.08), 0 1px 2px rgba(37, 53, 81, 0.05);
  --shadow-md:  0 4px 12px rgba(37, 53, 81, 0.08), 0 2px 4px rgba(37, 53, 81, 0.05);
  --shadow-lg:  0 12px 28px rgba(37, 53, 81, 0.12), 0 4px 8px rgba(37, 53, 81, 0.06);
  --shadow-xl:  0 24px 56px rgba(37, 53, 81, 0.16), 0 8px 16px rgba(37, 53, 81, 0.08);
  --shadow-glow: 0 0 0 4px rgba(34, 213, 255, 0.22); /* cyan focus halo */
  --shadow-inner: inset 0 1px 2px rgba(37, 53, 81, 0.08);

  /* ---- Motion ---- */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);   /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);  /* @kind other */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* @kind other */
  --dur-fast:   120ms; /* @kind other */
  --dur-base:   200ms; /* @kind other */
  --dur-slow:   360ms; /* @kind other */

  /* ---- Layout ---- */
  --container-sm:  640px;
  --container-md:  860px;
  --container-lg:  1120px;
  --container-xl:  1320px;
  --gutter:        clamp(20px, 5vw, 80px); /* @kind spacing */
}
