/* =============================================================================
   SECOND WIND - DESIGN TOKENS
   Palette sampled directly from the logo (assets/logo/wordmark-full.png):
   navy #26448e -> ocean #1a6393 -> teal #00a69c. No orange.

   Depth model (2026-08-27): the page sits on a tinted blue "paper", and
   product-bearing components sit on white --surface. That contrast is what
   gives the page weight without darkening the brand or the product photography.
   Stable core brand; each collection injects its own --accent at runtime.
   ============================================================================= */
:root {
  /* ---- Page surfaces (tinted, keyed to the logo's cool blue) ---- */
  --paper: #eef2f8;        /* page base - soft blue paper, not screen white */
  --paper-2: #dfe8f3;      /* section band */
  --paper-3: #c9d8e9;      /* deeper band / hairline fills */

  /* ---- Elevated surface: product cards, drawers, modals, header ----
     Kept pure white so garment photography stays clean and cards lift off
     the tinted page. Never use this as a page background. */
  --surface: #ffffff;

  /* ---- Ink (cool near-black drawn from the logo navy) ---- */
  --ink: #0f1a33;          /* headings/body + dark bands */
  --ink-2: #36455e;        /* secondary text (AA on every paper step) */
  --ink-3: #4d5a72;        /* muted / meta (AA on every paper step) */

  /* ---- Signature colours (sampled from the logo) ---- */
  --brand: #26448e;        /* logo navy - primary actions, kinetic type */
  --brand-deep: #1b3271;   /* AA text/button on paper, hover */
  --teal: #00a69c;         /* logo teal (the wave) - bright accent */
  --teal-deep: #00736c;    /* AA text/button on paper */
  --gold: #00a69c;         /* legacy token, repointed to logo teal */
  --gold-deep: #00736c;
  --breath: #1a6393;       /* logo mid-blue - the gradient's midpoint */
  --breath-deep: #124b73;

  /* ---- The logo gradient, as a reusable brand device ---- */
  --brand-grad: linear-gradient(120deg, #1b3271 0%, #26448e 38%, #1a6393 70%, #00a69c 100%);
  --brand-grad-soft: linear-gradient(120deg, #26448e 0%, #1a6393 55%, #00a69c 100%);

  /* ---- Per-collection accent (overridden inline on collection pages) ---- */
  --accent: var(--brand);
  --accent-deep: var(--brand-deep);
  --accent-soft: #d3e0f2;
  --accent-ink: #16264d;

  /* ---- Lines / semantic ---- */
  --line: rgba(15, 26, 51, 0.18);
  --line-2: rgba(15, 26, 51, 0.10);
  --danger: #a81f18;
  --success: #256b3b;
  --focus: #0f5f8f;

  /* ---- Typography ---- */
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  /* Fluid type scale */
  --fs-display: clamp(3rem, 8.5vw, 8.25rem);
  --fs-h1: clamp(2.15rem, 5vw, 4rem);
  --fs-h2: clamp(1.7rem, 3.4vw, 2.9rem);
  --fs-h3: clamp(1.3rem, 2.2vw, 1.85rem);
  --fs-lead: clamp(1.075rem, 1.5vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-kicker: 0.78rem;

  /* ---- Spacing (4/8 rhythm) ---- */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;
  --section-y: clamp(3rem, 6vw, 5.5rem);
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(1rem, 3vw, 2rem);

  /* ---- Radius (editorial: mostly crisp, selective softness) ---- */
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px; --r-pill: 999px;

  /* ---- Shadow (tinted to the page hue - no floaty SaaS blur) ---- */
  --shadow-1: 0 1px 2px rgba(15, 26, 51, 0.08), 0 2px 8px rgba(15, 26, 51, 0.07);
  --shadow-2: 0 10px 30px rgba(15, 26, 51, 0.14);
  --shadow-pop: 0 18px 50px rgba(15, 26, 51, 0.20);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
  --dur-1: 160ms; --dur-2: 240ms; --dur-3: 420ms; --dur-4: 700ms;

  /* ---- Layers ---- */
  --z-header: 100; --z-drawer: 400; --z-modal: 500; --z-toast: 600; --z-skip: 700;
}
