/* ── Targa'micale · Spacing, radii, shadows, borders, motion ────────────────
   8px base grid. Restrained radii (charts/hardware feel), soft warm shadows
   tinted toward navy rather than pure black. */

:root {
  /* Spacing — 8px grid (with 4px half-step) */
  --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: 7rem;     /* 112 */

  /* Container widths */
  --container-sm:   640px;
  --container-md:   960px;
  --container-lg:   1200px;
  --container-xl:   1400px;
  --gutter:         var(--space-5);

  /* Radii — tight & deliberate (nautical hardware, not soft web cards) */
  --radius-xs:   3px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  /* Borders */
  --border-hairline: 1px; /* @kind spacing */
  --border-thin:     1.5px; /* @kind spacing */
  --border-thick:    2px; /* @kind spacing */

  /* Shadows — warm, navy-tinted, low spread */
  --shadow-xs:  0 1px 2px rgba(18, 42, 61, 0.08);
  --shadow-sm:  0 2px 6px rgba(18, 42, 61, 0.08);
  --shadow-md:  0 6px 18px rgba(18, 42, 61, 0.10);
  --shadow-lg:  0 16px 40px rgba(12, 28, 44, 0.16);
  --shadow-pin: 0 4px 10px rgba(12, 28, 44, 0.28);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6);

  /* Z-index ladder */
  --z-base:    0; /* @kind other */
  --z-raised:  10; /* @kind other */
  --z-sticky:  100; /* @kind other */
  --z-overlay: 1000; /* @kind other */
  --z-modal:   1100; /* @kind other */
  --z-toast:   1200; /* @kind other */

  /* Motion — quick, no bounce; confident and calm */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --ease-in:       cubic-bezier(0.4, 0, 1, 1); /* @kind other */
  --dur-fast:   120ms; /* @kind other */
  --dur-base:   200ms; /* @kind other */
  --dur-slow:   320ms; /* @kind other */
  --dur-slower: 520ms; /* @kind other */
}
