/* ==========================================================================
   NOVIX DESIGN SYSTEM — TOKENS
   One source of truth. In WordPress these become Elementor Global Colors /
   Global Fonts, or theme.json presets for a block theme.
   ========================================================================== */
:root {
  /* ---- Colour: Midnight (dark surfaces) ---- */
  --ink-1000: #04060d;
  --ink-950: #070a16;   /* primary midnight */
  --ink-900: #0b1024;
  --ink-850: #10173a;
  --ink-800: #18214a;   /* raised navy */
  --line-dark: rgba(214, 222, 255, 0.12);
  --line-dark-strong: rgba(214, 222, 255, 0.24);

  /* ---- Colour: Electric (single accent family, used sparingly) ---- */
  --blue: #2f66ff;      /* electric blue — actions, active states */
  --blue-hover: #4a7bff;
  --blue-soft: #8fb0ff;
  --cyan: #45c4f0;      /* lifted from the Novix logo — reserved for marks */

  /* ---- Colour: Silver & neutrals (light surfaces) ---- */
  --white: #ffffff;
  --paper: #f4f4f6;     /* light section background */
  --mist: #dfe0e9;      /* matches product-photography backdrop */
  --studio: #eceef3;    /* tile behind vial cut-outs */
  --studio-deep: #d6d9e3;
  --silver-300: #c9ccd6;
  --silver-500: #8b90a1;
  --silver-700: #555b70;
  --line-light: rgba(10, 16, 36, 0.12);
  --line-light-strong: rgba(10, 16, 36, 0.28);

  /* ---- Text ---- */
  --text-on-dark: #eef0f7;
  --text-on-dark-muted: #9ca3bd;
  --text-on-light: #0a1024;
  --text-on-light-muted: #5a6078;

  /* ---- Type ---- */
  --font-sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* fluid scale (min @ 375px → max @ 1440px) */
  --fs-mega: clamp(3.4rem, 1.2rem + 9.4vw, 10.5rem);
  --fs-display: clamp(2.6rem, 1.3rem + 5.6vw, 6.4rem);
  --fs-h1: clamp(2.1rem, 1.3rem + 3.3vw, 4.4rem);
  --fs-h2: clamp(1.7rem, 1.25rem + 1.9vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --fs-lead: clamp(1.06rem, 1rem + 0.3vw, 1.3rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.72rem;   /* mono labels */

  --lh-tight: 0.92;
  --lh-snug: 1.12;
  --lh-body: 1.55;
  --track-tight: -0.045em;
  --track-snug: -0.025em;
  --track-mono: 0.08em;

  /* ---- Space (4px base) ---- */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 144px;
  --section-y: clamp(80px, 6vw + 48px, 168px);
  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1440px;

  /* ---- Shape & depth ---- */
  --radius-0: 0;
  --radius-1: 3px;
  --radius-pill: 999px;
  --shadow-float: 0 30px 60px -30px rgba(4, 6, 13, 0.45);
  --shadow-panel: -40px 0 80px -40px rgba(4, 6, 13, 0.55);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms;
  --t-med: 420ms;
  --t-slow: 900ms;

  /* ---- Layers ---- */
  --z-header: 50; --z-drawer: 80; --z-overlay: 90; --z-gate: 100; --z-toast: 110;
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 1ms; --t-med: 1ms; --t-slow: 1ms; }
}
