/* MODU-WALL — Spacing, radius, shadow, layout tokens
   Base unit = 4px. Squared, panel-like geometry (echoes the modular-wall product):
   radii stay small; shadows are cool navy-tinted and restrained. */

:root {
  /* Spacing scale (4px base) */
  --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: 6rem;     /* 96 */

  /* Radius — small & squared to match the modular panel geometry */
  --radius-none: 0;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* Borders */
  --border-w:  1px;
  --border-w2: 2px;
  --border-w-accent: 3px;  /* gold underline / active markers */

  /* Shadows — cool, navy-tinted, restrained */
  --shadow-xs: 0 1px 2px color-mix(in srgb, var(--navy-900) 8%, transparent);
  --shadow-sm: 0 1px 3px color-mix(in srgb, var(--navy-900) 10%, transparent),
               0 1px 2px color-mix(in srgb, var(--navy-900) 6%, transparent);
  --shadow-md: 0 4px 12px color-mix(in srgb, var(--navy-900) 12%, transparent);
  --shadow-lg: 0 12px 28px color-mix(in srgb, var(--navy-900) 16%, transparent);
  --shadow-xl: 0 24px 48px color-mix(in srgb, var(--navy-900) 20%, transparent);
  --shadow-focus: var(--ring);

  /* Layout */
  --container-max: 1200px; /* @kind other */
  --container-wide: 1360px; /* @kind other */
  --gutter: clamp(1rem, 4vw, 3rem); /* @kind other */
  --header-h: 76px; /* @kind other */

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur-med: 200ms; /* @kind other */
  --dur-slow: 320ms; /* @kind other */
}
