/* Tindeq design tokens — "cooled Oura": Norwegian granite and snow.
   Source of truth: the DESIGN SYSTEM block in Design-Prompts-Split.md.
   Scoped to .tq so nothing can leak into Elementor/WooCommerce pages,
   and nothing of theirs leaks in. Every ported page shares this one file. */

.tq {
  /* ---- Palette ------------------------------------------------------- */
  /* Design canvas 9 Nov 2026 ("surfaces to white"): the grey page grounds
     became white; dark panels, photos and the footer keep their colours.
     Were #EDEEEC and #F5F6F4. */
  --tq-snow:      #FFFFFF;  /* page canvas */
  --tq-snow-2:    #FFFFFF;  /* raised card surface */
  --tq-dusk:      #DDE0DC;  /* alternating section band */
  --tq-hairline:  #D7DAD6;  /* 1px borders — the only structure */
  --tq-ink:       #101312;  /* headlines, primary text        16.1:1 on snow */
  --tq-ink-2:     #3B403E;  /* body copy                       9.1:1 on snow */
  --tq-onyx:      #14171A;  /* dark surfaces: footer, filled buttons */
  --tq-paper:     #FFFFFF;  /* inverted text on dark only     18.0:1 on onyx */

  /* Helper text, metadata, micro-labels.
     The design system block specifies #868D89, but measured against the snow
     ground that is 2.92:1 — it fails WCAG AA even for large text, and it
     carries most of the small type on every page. The product design had
     already drifted to #5E6562 on its own (5.13:1, passes AA for body), so
     that is what the token is set to.
     #868D89 is fine on the dark surfaces it was presumably judged against
     (5.30:1 on onyx), so the token flips back to it inside .tq-footer and any
     element marked [data-tq-dark] — see base.css. Use var(--tq-mute) freely;
     the right value follows the ground. */
  --tq-mute:      #5E6562;  /* on light                        5.1:1 on snow */
  --tq-mute-dark: #868D89;  /* on onyx                         5.3:1 on onyx */

  /* One accent per audience. Never body text, never a full-bleed ground.
     Measured on snow: outdoor 3.03:1 (large/UI only — dots, rules, focus
     rings; never a sentence), clinic 5.46:1 (passes, but the rule stands). */
  --tq-outdoor:   #F0531C;  /* Climbing & Outdoor */
  --tq-outdoor-deep: #C8380A;  /* the same hue, dark enough to sit under white text: 5.2:1 */
  --tq-clinic:    #116B62;  /* Performance & Rehab */

  /* ---- Type ---------------------------------------------------------- */
  /* Design canvas 9-12 Nov 2026 (font trial): every text in the Neue
     Helvetica 55 Roman stack. No Neue Helvetica web font files exist yet, so
     this renders as Helvetica Neue on Apple devices and Helvetica/Arial
     elsewhere. Were Archivo, Instrument Serif and IBM Plex Mono. */
  --tq-sans:  "NeueHelvetica55Roman", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tq-serif: "NeueHelvetica55Roman", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tq-mono:  "NeueHelvetica55Roman", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --tq-track-display: -.03em;
  --tq-track-micro:    .18em;

  /* ---- Geometry ------------------------------------------------------ */
  --tq-max:      1280px;
  --tq-gutter:     80px;
  --tq-radius-pill: 9999px;
  --tq-radius:       8px;

  /* ---- Motion -------------------------------------------------------- */
  /* Values lifted verbatim from the design's DCLogic block so the ported
     page and the canvas behave identically. hoverGrow was a 58–66 slider;
     63% is the default the design shipped at. */
  --tq-hover-grow: 63%;
  --tq-dur:        700ms;
  --tq-ease:       cubic-bezier(.22, 1, .36, 1);

  /* ---- Hero image treatments (also from DCLogic) ---------------------- */
  --tq-f-rest:   blur(2px)   saturate(.9)  brightness(.9);
  --tq-f-focus:  blur(.6px)  contrast(1.06) saturate(1) brightness(.94);
  --tq-f-recede: blur(2.6px) saturate(.72) brightness(.74);
}
