
/* ════════════════════════════════════════════════════════════════════
   1. RESET
   ════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; }
img, svg, video, picture { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul[class], ol[class] { list-style: none; }
a { color: inherit; }

/* ════════════════════════════════════════════════════════════════════
   2. TOKENS
   ════════════════════════════════════════════════════════════════════ */
:root {
  --bg:#FAFBFC; --bg-alt:#F2F3F5; --surface:#FFFFFF;
  --ink:#16191D; --ink-2:#1C2129;
  --text:#1C2026; --muted:#5C636E;
  --text-inv:#F4F5F7; --muted-inv:#9AA1AC;
  --line:rgba(22,25,29,.10); --line-strong:rgba(22,25,29,.18);
  --line-inv:rgba(244,245,247,.12); --line-inv-strong:rgba(244,245,247,.22);
  --cyan:#2BBAF3; --magenta:#EE24D9;
  --grad:linear-gradient(90deg,#2BBAF3 0%,#7F48B0 52%,#EE24D9 100%);
  --radius:12px; --radius-sm:8px; --radius-pill:999px;
  --container:1200px; --section-pad:120px; --section-pad-mobile:72px;
  --nav-h:80px; --nav-h-shrunk:64px;
  --font-display:'Rubik',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-body:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --ease-out:cubic-bezier(0.16,1,0.3,1); --ease-in-out:cubic-bezier(0.65,0,0.35,1);
}

/* JS toggles .is-scrolled on <html>; swapping --nav-h here means the nav
   height, drawer offset and anchor scroll-margins all shrink together. */
:root.is-scrolled { --nav-h: var(--nav-h-shrunk); }

/* ════════════════════════════════════════════════════════════════════
   3. BASE / TYPOGRAPHY
   ════════════════════════════════════════════════════════════════════ */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* word-split / reveal transforms must never cause a horizontal scrollbar */
}
body.menu-open { overflow: hidden; } /* scroll lock behind the mobile drawer */

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); }
h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { line-height: 1.65; }

::selection { background: rgba(43,186,243,.28); }

/* One shared focus treatment: visible, on-brand, never removed. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Highlighted headline word. LIGHT sections only — the gradient midpoint
   (#7F48B0) is ~2.9:1 against the ink background and fails contrast. */
.grad-word {
  /* Text-only gradient starts at purple: the cyan end of --grad fails
     3:1 large-text contrast on light backgrounds. */
  background: linear-gradient(90deg, #7F48B0 0%, #EE24D9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ════════════════════════════════════════════════════════════════════
   4. LAYOUT — container, section palettes, rhythm
   ════════════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}
@media (max-width: 640px) {
  .container { padding-inline: 20px; }
}

main > section { padding: var(--section-pad) 0; position: relative; }
@media (max-width: 820px) {
  main > section { padding: var(--section-pad-mobile) 0; }
}

/* Light / ink alternation. .ink remaps the shared component tokens so
   buttons, chips, cards and fields invert without extra classes. */
.light { background: var(--bg); color: var(--text); }
.light.alt { background: var(--bg-alt); }
.ink {
  --text: var(--text-inv);
  --muted: var(--muted-inv);
  --line: var(--line-inv);
  --line-strong: var(--line-inv-strong);
  --surface: var(--ink-2);
  background: var(--ink);
  color: var(--text);
}

/* Anchor landing position compensates for the fixed nav (shrunk height
   applies automatically via the --nav-h swap above). */
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ════════════════════════════════════════════════════════════════════
   5. EYEBROW + SECTION HEADINGS
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Long tracked-caps eyebrows wrap to 2-3 lines on phones: top-align the
     gradient tick and relax the tracking so the block reads intentional. */
  .eyebrow { align-items: flex-start !important; letter-spacing: .14em !important; }
  .eyebrow::before { margin-top: .5em; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 12.5px/1 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--grad); /* one of the few sanctioned gradient moments */
  flex: none;
}

.section-h {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-top: 18px;
}
.section-intro {
  max-width: 620px;
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════════════
   6. BUTTONS
   ════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: 600 15px/1.1 var(--font-body);
  letter-spacing: .01em;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .3s var(--ease-out),
    box-shadow .3s var(--ease-out),
    background-color .3s var(--ease-out),
    border-color .3s var(--ease-out),
    color .3s var(--ease-out);
}
.btn:active { transform: translateY(0); }

.btn-primary {
  background-image: var(--grad);
  color: #fff;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -10px rgba(238,36,217,.45);
}
/* Liquid sheen: a soft highlight sweeps across the CTA on hover. Clipped
   to the pill; transient (no base transition, so it re-arms each hover).
   Motion is removed by the global reduced-motion block. */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,.28) 50%, transparent 75%);
  transform: translateX(-130%);
  pointer-events: none;
}
.btn-primary:hover::before { transform: translateX(130%); transition: transform .7s var(--ease-out); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong); /* remapped inside .ink — inverts automatically */
  color: var(--text);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--text);
}

.btn-sm { padding: 13px 22px; font-size: 14px; }

/* Optional arrow affordance: <span class="btn-arrow" aria-hidden="true">→</span> */
.btn-arrow { display: inline-block; transition: transform .3s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ════════════════════════════════════════════════════════════════════
   7. CHIPS
   ════════════════════════════════════════════════════════════════════ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font: 500 13px/1.2 var(--font-body);
  color: var(--text);
  white-space: nowrap;
}
.chip-sku {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════════════
   8. CARDS
   ════════════════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform .45s var(--ease-out),
    box-shadow .45s var(--ease-out),
    border-color .45s var(--ease-out);
}
/* Lift + shadow on hover only. When GSAP tilt is active its inline
   transform wins over this rule — intentional; the shadow still applies. */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(22,25,29,.22);
  border-color: var(--line-strong);
}
.card-media {
  background: var(--bg-alt);   /* graceful placeholder while images resolve */
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { font-size: 14.5px; color: var(--muted); }

/* ════════════════════════════════════════════════════════════════════
   9. FORMS
   ════════════════════════════════════════════════════════════════════ */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font: 600 12px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font: 400 15px/1.4 var(--font-body);
  transition: border-color .25s var(--ease-out);
}
.field input, .field select {
  height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
}
.field textarea {
  min-height: 128px;
  padding: 16px 22px;
  border-radius: var(--radius);
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--text); }

/* ════════════════════════════════════════════════════════════════════
   10. REVEAL SYSTEM
   Hidden states are gated behind html.js so content is always visible
   without scripting. IO adds .is-visible once (one-shot).
   ════════════════════════════════════════════════════════════════════ */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
/* 80ms stagger steps, capped at the 8th child */
.js .reveal-stagger > :nth-child(2) { transition-delay: 80ms; }
.js .reveal-stagger > :nth-child(3) { transition-delay: 160ms; }
.js .reveal-stagger > :nth-child(4) { transition-delay: 240ms; }
.js .reveal-stagger > :nth-child(5) { transition-delay: 320ms; }
.js .reveal-stagger > :nth-child(6) { transition-delay: 400ms; }
.js .reveal-stagger > :nth-child(7) { transition-delay: 480ms; }
.js .reveal-stagger > :nth-child(n+8) { transition-delay: 560ms; }

/* ════════════════════════════════════════════════════════════════════
   11. WORD ANIMATION — .h-word (auto-split h2s) / .title-word (authored)
   .h-word spans are created by JS (with --i set), so they never exist
   without scripting. .title-word is authored by section builders, each
   with an explicit --i; the parent gets .title-in to run the entrance
   (add class .title-auto to have the skeleton apply .title-in on load).
   ════════════════════════════════════════════════════════════════════ */
.js .h-word,
.js .title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  transition: transform .75s var(--ease-out), opacity .6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .h-visible .h-word,
.js .title-in .title-word {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════════════════════════════════
   13. NAVBAR
   ════════════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);           /* shrinks via the :root.is-scrolled var swap */
  /* Liquid glass: a soft white tint + blur + saturation present even at
     rest, so the bar always reads as a premium glass layer over the hero.
     The inset top highlight is the glass sheen; the soft drop shadow gives
     it depth/layering. Deepens once scrolled (below). */
  background: rgba(250,251,252,.45);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(22,25,29,.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 8px 30px -26px rgba(22,25,29,.5);
  transition:
    height .35s var(--ease-out),
    background-color .35s var(--ease-out),
    -webkit-backdrop-filter .35s var(--ease-out),
    backdrop-filter .35s var(--ease-out),
    border-color .35s var(--ease-out),
    box-shadow .35s var(--ease-out);
}
:root.is-scrolled .site-nav {
  background: rgba(250,251,252,.72);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border-bottom-color: rgba(22,25,29,.09);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.65),
    0 12px 36px -24px rgba(22,25,29,.55);
}
/* Hook for a dark hero: add .on-dark to .site-nav (T4 / integrator) and
   the bar inverts until the frosted scrolled state takes over. */
:root:not(.is-scrolled) .site-nav.on-dark {
  --text: var(--text-inv);
  --muted: var(--muted-inv);
  --line: var(--line-inv);
  --line-strong: var(--line-inv-strong);
  color: var(--text);
  /* Over a dark hero at rest the light glass would wash out the light text —
     go fully transparent until the frosted scrolled state takes over. */
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* 2px gradient scroll-progress bar, scaled by JS */
.nav-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 19px/1 var(--font-display);
  letter-spacing: .08em;
  color: var(--text);
  text-decoration: none;
  flex: none;
}
.wordmark svg { color: var(--text); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font: 500 14.5px/1 var(--font-body);
  color: var(--muted);
  text-decoration: none;
  transition: color .25s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
/* Gradient underline — a sanctioned "small active state" */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 2px;
  height: 2px;
  border-radius: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .3s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after { transform: scaleX(1); }

/* Hamburger — hidden on desktop, 44px touch target on mobile */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  color: var(--text);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform .3s var(--ease-out), opacity .2s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════════════
   14. MOBILE NAV DRAWER (≤820px)
   Back to 820px after Fit & Sizing moved out of the primary nav (6 items
   again: Technology · Products · Support · FAQ · About · Contact). If a
   nav item is ever added/removed, re-check the horizontal fit width.
   Kept in sync with mqlMobileLive in struxa.js.
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    /* The panel surface is always light, so pin its palette back to the
       light tokens even under .site-nav.on-dark. */
    --text: #1C2026;
    --muted: #5C636E;
    --line: rgba(22,25,29,.10);
    --line-strong: rgba(22,25,29,.18);
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    margin-left: 0;
    max-height: calc(100dvh - var(--nav-h));
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 28px;
    background: rgba(250,251,252,.94);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--line);
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      transform .4s var(--ease-out),
      opacity .3s var(--ease-out),
      visibility 0s .3s;
  }
  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition:
      transform .45s var(--ease-out),
      opacity .3s var(--ease-out);
  }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a {
    display: block;
    padding: 15px 4px;
    font-size: 17px;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after { display: none; } /* underline is a hover affordance; no hover here */
  .nav-cta { margin-top: 18px; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════════
   15. SKIP LINK
   ════════════════════════════════════════════════════════════════════ */
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 2000;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--text-inv);
  font: 600 14px/1 var(--font-body);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus,
.skip-link:focus-visible { transform: none; }

/* ════════════════════════════════════════════════════════════════════
   16. FOOTER
   ════════════════════════════════════════════════════════════════════ */
.site-footer { padding: 80px 0 40px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-tagline {
  margin-top: 18px;
  max-width: 320px;
  font-size: 14.5px;
  color: var(--muted);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h3 {
  font: 600 11.5px/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; }
.footer-col li { list-style: none; }
.footer-col li::marker { content: ""; }
.footer-col a {
  font-size: 14.5px;
  color: var(--text);
  text-decoration: none;
  transition: color .25s var(--ease-out);
}
.footer-col a:hover { color: var(--muted); }
.footer-disclaimer {
  margin-top: 36px;
  max-width: 760px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}
.footer-legal {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  font-size: 12.5px;
  color: var(--muted);
}
.footer-legal a { color: var(--text); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .site-footer { padding: 60px 0 34px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; padding-bottom: 38px; }
  .footer-disclaimer { margin-top: 30px; }
  .footer-legal { margin-top: 26px; }
}

/* ════════════════════════════════════════════════════════════════════
   18. REDUCED MOTION — exhaustive; must stay last so it wins.
   Every reveal forced visible, every animation/transition removed,
   marquee halted. Mirrors the house pattern.
   ════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal,
  .js .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .js .h-word,
  .js .title-word {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn, .btn-arrow, .card, .nav-links a::after, .nav-toggle span, .skip-link {
    transition: none !important;
  }
  .btn:hover, .card:hover { transform: none !important; }
  .btn:hover .btn-arrow { transform: none !important; }
  .site-nav, .nav-menu, .nav-progress { transition: none !important; }
}


/* ==== hero ==== */

/* ═══ HERO — dark "orbit" stage (Cyrclo rings + Robotflow center) ═══
   Full-viewport ink stage: a faint dot grid, two counter-rotating rings of
   product tiles, and — at the center — the splint itself as a live 3D model
   (transparent canvas, slow auto-rotate, black lattice + white straps).
   Copy + CTA sit in the center column, Robotflow-style. Rings are built by
   the hero-rings module in struxa.js and are purely decorative; the splint
   and copy are real HTML. All orbit/spin motion is gated off under
   prefers-reduced-motion. Placeholder tile art = the existing splint renders;
   swap for per-model / per-colorway renders later (see the future task). */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);               /* light stage — matches the rest of the home page */
  isolation: isolate;
}
@supports not (height: 100svh) { #hero { min-height: 100vh; } }

/* Dot grid — faint, masked to fade out toward the center */
.hero-dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(22,25,29,.10) 1px, transparent 1.4px);
  background-size: 30px 30px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, transparent 10%, #000 62%);
  mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, transparent 10%, #000 62%);
}

/* ── Orbiting rings (JS-built; decorative) ── */
.hero-rings { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-ring {
  position: absolute; top: 50%; left: 50%; width: 0; height: 0;
  animation: heroSpin var(--dur, 90s) linear infinite;
  will-change: transform;
}
.hero-ring.ccw { animation-direction: reverse; }
.hero-tile-pos { position: absolute; top: 0; left: 0; width: 0; height: 0; }
.hero-tile {
  position: absolute; top: 0; left: 0;
  width: var(--sz, 88px); height: var(--sz, 88px);
  margin-top: calc(var(--sz, 88px) / -2);
  margin-left: calc(var(--sz, 88px) / -2);
  animation: heroSpin var(--dur, 90s) linear infinite reverse;  /* keeps tiles upright while orbiting */
  will-change: transform;
}
.hero-ring.ccw .hero-tile { animation-direction: normal; }
/* Transparent-PNG splints float freely (no card) with a soft shadow for depth */
.hero-tile img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(22,25,29,.22)); }
@keyframes heroSpin { to { transform: rotate(360deg); } }

/* Center vignette — keeps copy legible over any tile that orbits near it */
.hero-veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 50% 56% at 50% 50%, rgba(250,251,252,.80) 30%, rgba(250,251,252,0) 72%);
}

/* ── Center column: splint + copy (Robotflow layout) ── */
.hero-center {
  position: relative; z-index: 3;
  width: 100%; max-width: 760px;
  padding: calc(var(--nav-h) + 8px) 24px 40px;
  margin: 0 auto; text-align: center;
  color: var(--text);
}
.hero-stage {
  position: relative;
  width: min(340px, 60vw); aspect-ratio: 1 / 1;
  margin: 0 auto 2px;
  cursor: grab; touch-action: pan-y;
}
.hero-stage:active { cursor: grabbing; }
/* Soft gray halo seats the splint and lets the white straps read on the light stage */
.hero-stage::before {
  content: ""; position: absolute; inset: -16%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 47%, rgba(200,207,216,.55) 0%, rgba(222,227,233,.24) 42%, transparent 68%);
}
.hero-stage canvas { position: absolute; inset: 0; z-index: 1; width: 100% !important; height: 100% !important; }
.hero-stage-fallback {                 /* shown only if the 3D viewer can't run */
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: none;
}
.hero-stage.is-fallback .hero-stage-fallback { display: block; }

.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 5.6vw, 4.3rem);
  line-height: 1.02; letter-spacing: -0.03em;
  color: var(--text);
  margin-top: -14px;   /* gently overlap the splint's lower edge, Robotflow-style */
}
/* Copy sits above the 3D canvas (z-index:1) so it stays readable over the splint */
.hero-title, .hero-lead, .hero-actions { position: relative; z-index: 2; }
/* .grad-word "moves" uses the base purple→magenta gradient (cyan fails contrast on the light stage) */
.hero-lead {
  max-width: 40em; margin: 16px auto 0;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.6;
  color: var(--muted);
}
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; flex-wrap: wrap; margin-top: 26px;
}
.hero-price {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 15px/1 var(--font-body); color: var(--text);
  text-decoration: none;
}
.hero-price b { font-weight: 600; }
.hero-price-arrow { transition: transform .3s var(--ease-out); }
.hero-price:hover .hero-price-arrow { transform: translateX(4px); }

.hero-lead.reveal { transition-delay: .30s; }
.hero-actions.reveal { transition-delay: .44s; }

@media (max-width: 620px) {
  .hero-rings { display: none; }   /* rings crowd the splint on phones — clean splint + copy instead */
  .hero-stage { width: min(280px, 72vw); }
  .hero-center { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ring, .hero-ring .hero-tile { animation: none !important; }
}


/* ==== problem ==== */

/* ════════════════════════════════════════════════════════════════════
   T6 — PROBLEM → SOLUTION SECTION (scoped: .problem-)
   Light band: header → split row (pain-point stack | rack-focus video)
   → centered answer band → 3-up benefit card trio.
   All shared behavior (reveals, h2 split, card tilt, video nets) comes
   from the skeleton; only .problem- layout lives here. Gradient appears
   ONLY in the automatic eyebrow tick — no gradient text in this section.
   ════════════════════════════════════════════════════════════════════ */
.problem-head { max-width: 640px; }

/* ── SPLIT ROW — pain points (left) / rack-focus video (right) ──────────
   Stacks to one column at ≤900px. */
.problem-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(44px, 5.5vw, 64px);
}
@media (max-width: 900px) {
  .problem-split { grid-template-columns: 1fr; gap: 36px; }
}

/* Pain-point stack: large ghosted index numeral + bold lead word + one
   line of copy, divided by hairline separators. */
.problem-pains { display: block; }
.problem-pain {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2vw, 22px);
  padding: clamp(18px, 2.4vw, 24px) 0;
  border-top: 1px solid var(--line);
}
.problem-pain:last-child { padding-bottom: 0; }
.problem-pain-num {
  flex: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--line-strong); /* ghosted index — decorative */
}
.problem-pain-copy {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--muted);
}
.problem-pain-copy strong {
  color: var(--text);
  font-weight: 600;
}

/* Rack-focus video in a rounded, hairline-bordered 16:9 panel. */
.problem-media {
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-alt); /* graceful surface while the poster resolves */
  aspect-ratio: 16 / 9;
}
.problem-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── ANSWER BAND — the turn from problem to solution ──────────────────
   Centered, narrow measure, generous top margin. */
.problem-answer {
  max-width: 720px;
  margin: clamp(72px, 9vw, 120px) auto 0;
  text-align: center;
}
.problem-answer h3 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.problem-answer-body {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
}

/* ── BENEFIT CARD TRIO — 3-up, one column on mobile ───────────────────
   .card supplies surface/border/hover-lift plus the skeleton's GSAP
   tilt hook; only the grid lives here. */
.problem-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: clamp(40px, 5vw, 56px);
}
@media (min-width: 760px) {
  .problem-benefits { grid-template-columns: repeat(3, 1fr); }
}


/* ==== technology ==== */

/* ════════════════════════════════════════════════════════════════════
   T5 — TECHNOLOGY SECTION (scoped: .tech-)
   Dark ink band: StruxaMesh™ header → cinematic feature panel →
   3-up video card trio → manufacturing sub-panel band.
   All shared behavior (reveals, h2 split, card tilt, video nets)
   comes from the skeleton; only .tech- layout lives here.
   ════════════════════════════════════════════════════════════════════ */
#technology { overflow: hidden; } /* contains the corner lattice motif bleed */
#technology > .container { position: relative; z-index: 1; }

/* Faint rhombus-lattice motif, top-right corner of the band. Decorative
   only — masked to fade out, ≤0.04 opacity, no pointer events. */
.tech-lattice-bg {
  position: absolute;
  top: -60px;
  right: -80px;
  width: min(620px, 75vw);
  height: 560px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 2 54 28 28 54 2 28Z' fill='none' stroke='%23F4F5F7' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 56px;
  opacity: .04;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side at 65% 35%, #000 30%, transparent 95%);
  mask-image: radial-gradient(closest-side at 65% 35%, #000 30%, transparent 95%);
}

.tech-head { max-width: 720px; }

/* ── FEATURE PANEL — full-container cinematic fly-through ──────────────
   Gradient hairline via the 1px-padding wrapper trick (the sanctioned
   low-opacity gradient accent); inner panel clips the video. */
.tech-feature {
  margin-top: 56px;
  padding: 1px;
  border-radius: 19px;
  background: linear-gradient(135deg,
    rgba(43,186,243,.40) 0%,
    rgba(127,72,176,.30) 52%,
    rgba(238,36,217,.40) 100%);
}
/* Spec: feature panel rises 24px + fades (skeleton default is 22px).
   :not(.is-visible) keeps this from outliving the reveal at equal
   specificity; the reduced-motion block still wins via !important. */
.js .tech-feature.reveal:not(.is-visible) { transform: translateY(24px); }

.tech-feature-inner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink-2);
}
.tech-feature-media {
  aspect-ratio: 16 / 9;
  background: #12151A; /* graceful surface while the poster resolves */
}
.tech-feature-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Bottom scrim keeps the overlaid copy readable over any video frame. */
.tech-feature-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(10,12,15,.88) 0%,
    rgba(10,12,15,.46) 34%,
    rgba(10,12,15,0) 64%);
}
.tech-feature-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 36px 34px;
  max-width: 640px;
}
.tech-feature-copy h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  color: var(--text-inv);
}
.tech-feature-copy p {
  margin-top: 8px;
  font-size: 15.5px;
  max-width: 56ch;
  color: #C9CED6; /* lighter than --muted-inv: must clear 4.5:1 over the scrim */
}
@media (max-width: 719px) {
  /* Overlay would crowd a ~200px-tall video — stack the copy below it. */
  .tech-feature-scrim { display: none; }
  .tech-feature-copy {
    position: static;
    max-width: none;
    padding: 20px 22px 24px;
  }
}

/* ── CARD TRIO — video top (16:9), copy below ────────────────────────
   .card supplies surface/border/hover-lift and the skeleton's GSAP
   tilt hook; only the media ratio and dark placeholder change here. */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}
@media (min-width: 900px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}
.tech-card .card-media {
  aspect-ratio: 16 / 9;
  background: #12151A;
}
.tech-card .card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Deepen the hover shadow so the lift reads on the ink background. */
.tech-card:hover { box-shadow: 0 24px 48px -24px rgba(0,0,0,.55); }

/* ── STRUXAFORM BAND — distinct sub-panel on --ink-2 ────────────────── */
.tech-form {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 4.5vw, 56px);
  align-items: center;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(30px, 4.5vw, 60px);
}
.tech-form-copy h3 {
  margin-top: 16px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.015em;
}
.tech-form-body {
  margin-top: 14px;
  max-width: 54ch;
  font-size: 16.5px;
  color: var(--muted);
}
.tech-form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tech-form-media { align-self: stretch; }
.tech-form-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}
@media (max-width: 899px) {
  .tech-form { grid-template-columns: 1fr; }
  .tech-form-media img { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 820px) {
  .tech-feature { margin-top: 44px; }
  .tech-form { margin-top: 56px; }
}

/* ═══ EXPLORE THE SPLINT — relocated interactive 3D viewer ═══ */
.tech-explore { margin-top: clamp(72px, 9vw, 120px); }
.tech-explore-head { max-width: 640px; margin-bottom: 28px; }
.tech-explore-head h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.tech-explore-head p { color: var(--muted); margin: 0; }
.tech-explore-panel {
  /* Light lab-bench panel inside the ink band: restore the light-scheme
     vars so the relocated stage/swatch/caption components style
     themselves exactly as they did on the light hero. */
  --text: #1C2026; --muted: #5C636E; --surface: #FFFFFF;
  --line: rgba(22,25,29,.10); --line-strong: rgba(22,25,29,.18);
  background: #FAFBFC;
  border: 1px solid rgba(244,245,247,.14);
  border-radius: 24px;
  padding: clamp(18px, 3vw, 36px);
}


/* ── 3D stage ── */
.explore-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 32 / 26;
  min-height: 360px;
  max-height: min(62vh, 560px);
  border-radius: 22px;
  background: linear-gradient(180deg, #FAFBFC 0%, #EDEFF1 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y; /* horizontal touch-drag rotates; vertical still scrolls */
}

.explore-stage:active { cursor: grabbing; }


.explore-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .6s var(--ease-out);
}

.explore-stage canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  transition: opacity .6s var(--ease-out);
}

/* Cross-fade: canvas in, poster out, once the model is ready */
.explore-stage.is-3d canvas { opacity: 1; }

.explore-stage.is-3d .explore-poster { opacity: 0; }


.explore-fallback-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.explore-hint {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font: 500 12px/1 var(--font-body);
  color: rgba(28,32,38,.72);
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}

.explore-stage.is-3d .explore-hint { opacity: 1; }

.explore-stage .explore-hint.is-out { opacity: 0 !important; }


/* ── colorway swatches ── */
.explore-swatches {
  display: none; /* interactive control: only shown when scripting is live */
  margin-top: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.js .explore-swatches { display: flex; }

.explore-swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font: 500 13px/1.2 var(--font-body);
  color: var(--text);
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}

.explore-swatch:hover { transform: translateY(-1px); border-color: var(--text); }

.explore-swatch[aria-checked="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.explore-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(22,25,29,.18);
  flex: none;
}


.explore-caption {
  display: none; /* describes the interactive model: only shown when scripting is live */
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.js .explore-caption { display: block; }


/* The fallback path hides these via the hidden attribute — it must win
   over the .js display rules above. */
.explore-swatches[hidden],
.explore-caption[hidden],
.explore-hint[hidden] { display: none !important; }


/* ==== products ==== */

/* ════════════════════════════════════════════════════════════════════
   T7 — PRODUCTS SECTION (scoped: .products-)
   Light band: lineup header → three family groups (2-up / 3-up / wide)
   → reserved reviews placeholder band.
   All shared behavior (reveals, h2 split, card hover-lift + GSAP tilt)
   comes from the skeleton; only .products- layout lives here. No JS.
   Gradient budget: eyebrow tick + Buy buttons only (both from skeleton).
   Product renders are 16:9 or square on light backgrounds, so media uses
   object-fit:contain over a --bg-alt letterbox — the splint is never
   cropped and the square green renders sit cleanly.
   ════════════════════════════════════════════════════════════════════ */
#products > .container { position: relative; }

.products-head { max-width: 720px; }

/* ── FAMILY GROUP — slim header row + card grid ──────────────────────── */
.products-group { margin-top: 68px; }
.products-group:first-of-type { margin-top: 52px; }

.products-group-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.products-group-head h3 {
  flex: none;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
/* Hairline rule fills the space between the family name and the count. */
.products-rule {
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}
.products-count { flex: none; }

/* ── GRIDS ───────────────────────────────────────────────────────────
   Family 1: 2-up. Family 2: 3-up (2-up tablet, 1-up mobile). */
.products-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .products-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .products-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .products-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ── CARD ────────────────────────────────────────────────────────────
   .card supplies surface/border/radius/hover-lift + the skeleton's GSAP
   tilt hook. Flex column so the price/Buy footer pins to the bottom and
   cards in a row keep their footers aligned. */
.products-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.products-card .card-media {
  aspect-ratio: 4 / 3;
  background: #FFFFFF;
}
/* Studio photography fills the tile edge-to-edge (its own soft-gray set
   reads as the photo); white-background technical renders sit contained
   on white so the tile stays seamless. */
.products-card .card-media img {
  object-fit: cover;
}
.products-card.media-contain .card-media img {
  object-fit: contain;
  padding: 18px;
}
.products-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Name (h4) left, SKU chip pinned top-right of the content. */
.products-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.products-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.products-card-top .chip-sku {
  flex: none;
  margin-top: 2px;
}
.products-oneliner {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
}
.products-sizes {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.products-sizes a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color .25s var(--ease-out);
}
.products-sizes a:hover { text-decoration-color: var(--text); }

.products-footer {
  margin-top: auto;          /* pin to the bottom of the card */
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.products-price {
  font-weight: 500;          /* muted, medium weight */
  font-size: 14.5px;
  color: var(--muted);
}

/* ── FAMILY 3 — single WIDE card (image left 40% / content right) ────── */
.products-wide .card-media {
  aspect-ratio: 4 / 3;
  background: #FFFFFF;
}
@media (min-width: 720px) {
  .products-wide {
    display: grid;                          /* overrides the .products-card flex column */
    grid-template-columns: 40% 1fr;
    align-items: stretch;
  }
  .products-wide .card-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 340px;
  }
  .products-wide .card-body { padding: clamp(28px, 3.5vw, 44px); }
}

@media (max-width: 820px) {
  .products-group { margin-top: 56px; }
}

/* ════════════════════════════════════════════════════════════════════
   DEMO REVIEWS — scoped styles (.reviews-)
   Styles for the fabricated demo reviews sub-area that replaced the old
   reserved placeholder band. The markup carries the DEMO REVIEWS
   START/END markers plus a legal DO-NOT-SHIP comment; when the demo copy
   is removed before launch, delete this style block along with it.
   Stars use a warm gold (#F5A623) — the one sanctioned non-mono accent
   here, because gold reads unmistakably as "rating". Everything else
   stays on the house mono palette. No JS; reveals come from the skeleton.
   ════════════════════════════════════════════════════════════════════ */
.reviews {
  margin-top: 96px;
  padding-top: 72px;
  border-top: 1px solid var(--line);   /* hairline divider from the product grid */
}
.reviews-head { max-width: 720px; }

/* Visible "not real content" flag — deliberately obvious, never hidden.
   Dashed pill + amber dot so it can't be mistaken for a live UI badge. */
.reviews-sample-pill {
  margin-top: 22px;
  color: var(--muted);
  background: var(--bg-alt);
  border-style: dashed;
  gap: 9px;
}
.reviews-sample-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F5A623;
  flex: none;
}

/* ── AGGREGATE ROW ── */
.reviews-aggregate {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 30px;
}
.reviews-score {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.reviews-aggregate-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reviews-count {
  font-size: 13.5px;
  color: var(--muted);
}

/* ── STARS ──
   Per-card stars: single gold string (filled ★ / outline ☆).
   Aggregate: two layers — a muted track with a gold fill clipped to
   96% width (= 4.8 / 5) for the partial star. */
/* p.reviews-stars beats the skeleton's .card-body p (equal class count + a tag). */
.card-body p.reviews-stars,
.reviews-stars {
  color: #F5A623;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 2px;
}
.reviews-stars-agg {
  position: relative;
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}
.reviews-stars-track { color: var(--line-strong); }
.reviews-stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 96%;                 /* 4.8 of 5 stars */
  overflow: hidden;
  white-space: nowrap;
  color: #F5A623;
}

/* ── CARD GRID — 3-col desktop / 2-col tablet / 1-col mobile ── */
.reviews-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 44px;
}
@media (min-width: 700px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.reviews-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.reviews-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 12px;
}
.reviews-card-title {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
}
.reviews-card-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.reviews-card-foot {
  margin-top: auto;           /* pin attribution to the bottom of the card */
  padding-top: 6px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 10px;
}
.reviews-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.reviews-verified {
  padding: 4px 11px;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
}
.reviews-verified svg {
  width: 12px;
  height: 12px;
  color: var(--cyan);
  flex: none;
}
.reviews-demo-tag {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  padding: 3px 8px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-pill);
}

/* Screen-reader-only utility — the skeleton ships none; star ratings and
   the aggregate depend on it for their text equivalents. */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .reviews { margin-top: 72px; padding-top: 56px; }
}


/* ==== fit ==== */

/* ════════════════════════════════════════════════════════════════════
   T8 — FIT & SIZING (scoped: .fit-)
   Light-alt band: header → three numbered step cards → split row with
   a sizing-table placeholder (left) and a snap-on video (right).
   Reveals, h2 split and card tilt come from the skeleton; only .fit-
   layout lives here. Video is routed through STRUXA.registerVideo.
   ════════════════════════════════════════════════════════════════════ */
.fit-head { max-width: 640px; }

/* ── STEP CARDS — numbered 01/02/03, .card supplies surface + tilt ───── */
.fit-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 760px) {
  .fit-steps { grid-template-columns: repeat(3, 1fr); }
}
.fit-step-inner { padding: 28px 26px 30px; }
.fit-step-num {
  display: block;
  margin-bottom: 16px;
  font: 700 13px/1 var(--font-body);
  letter-spacing: .16em;
  /* Sanctioned small gradient accent — light section only. Starts at
     purple: the cyan end of --grad fails contrast on light backgrounds. */
  background: linear-gradient(90deg, #7F48B0 0%, #EE24D9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.fit-step-inner h3 { font-size: 1.15rem; }
.fit-step-inner p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ── SPLIT ROW — sizing-table placeholder | snap-on video ────────────── */
.fit-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 28px;
  align-items: stretch;
}
@media (min-width: 901px) {
  .fit-detail { grid-template-columns: 1fr 1fr; }
}

/* Sizing-table placeholder: dashed hairline, centered "coming soon" copy. */
.fit-table {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  min-height: 100%;
  padding: 44px 32px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
}
.fit-table h3 { font-size: 1.2rem; }
.fit-table p {
  max-width: 38ch;
  font-size: 14.5px;
  color: var(--muted);
}

/* Video panel: 16:9 rounded frame + muted caption below. */
.fit-video { margin: 0; }
.fit-video-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-alt); /* graceful surface while the poster resolves */
}
.fit-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fit-video figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}
@media (max-width: 820px) {
  .fit-steps { margin-top: 40px; }
}

/* ════════════════════════════════════════════════════════════════════
   INTERACTIVE SIZING TOOL (.fit-tool) — replaces the placeholder panel.
   Surface + hairline card matching .card; all data-driven from JS.
   ════════════════════════════════════════════════════════════════════ */
.fit-tool {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
}
.fit-tool h3 { font-size: 1.2rem; }
.fit-tool-instr {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
}

/* Input + unit toggle */
.fit-inputrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.fit-input {
  flex: 1 1 140px;
  min-width: 120px;
  height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font: 500 16px/1.4 var(--font-body);
  transition: border-color .25s var(--ease-out);
}
.fit-input:hover { border-color: var(--text); }
.fit-unit {
  display: inline-flex;
  flex: none;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
}
.fit-unit-btn {
  min-width: 46px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  font: 600 14px/1 var(--font-body);
  color: var(--muted);
  transition: color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.fit-unit-btn.is-active { color: #fff; background-image: var(--grad); }

/* Live result readout */
.fit-readout {
  min-height: 26px;
  margin-top: 18px;
  font-size: 16px;
  color: var(--text);
}
.fit-readout b { font-weight: 700; }
.fit-readout-note {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--muted);
}
.fit-readout-msg { display: block; font-size: 14.5px; color: var(--text); }
.fit-readout a { color: var(--cyan); text-decoration: underline; }

/* Size table (Size | mm | in) */
.fit-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.fit-sizes {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.fit-sizes th,
.fit-sizes td {
  text-align: left;
  padding: 10px 12px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.fit-sizes thead th {
  font: 600 11.5px/1.2 var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.fit-sizes tbody th {
  font-weight: 600;
  border-left: 3px solid transparent;
}
.fit-sizes tbody td { color: var(--muted); }
.fit-size-key {
  display: inline-block;
  margin-left: 4px;
  font-size: 11.5px;
  color: var(--muted);
}
.fit-sizes tbody tr.fit-row-active { background: rgba(43,186,243,.08); }
.fit-sizes tbody tr.fit-row-active th { border-left-color: var(--cyan); }
.fit-sizes tbody tr.fit-row-active th,
.fit-sizes tbody tr.fit-row-active td { color: var(--text); }

/* Notes + print action */
.fit-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.fit-note-demo { font-weight: 600; color: var(--text); }
.fit-actions { margin-top: 20px; }
.fit-print-help { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* ════════════════════════════════════════════════════════════════════
   PRINTABLE TO-SCALE SIZING CHART (.fit-print-guide)
   Hidden on screen; revealed only under @media print when the Print
   button adds body.fit-printing. Widths use mm so the ruler is to scale.
   ════════════════════════════════════════════════════════════════════ */
.fit-print-guide { display: none; }
.fit-pg-inner { color: #000; font-family: var(--font-body); }
.fit-pg-title { font-size: 20px; color: #000; }
.fit-pg-demo {
  margin-top: 4px;
  font: 700 12px/1.3 var(--font-body);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #000;
}
.fit-pg-block { margin-top: 16px; }
.fit-pg-block h3 { font-size: 13px; color: #000; }
.fit-pg-instr,
.fit-cal-label { margin-top: 4px; font-size: 11px; color: #000; }
/* Calibration bar — box-sizing:border-box (skeleton reset) makes 50mm the
   outer tick-to-tick width. Bracket shape via bottom + side borders. */
.fit-cal-bar {
  width: 50mm;
  height: 6mm;
  margin-top: 6px;
  border: 0.4mm solid #000;
  border-top: none;
}
.fit-pg-strip { margin-top: 6px; }
.fit-strip-svg { overflow: visible; }
.fit-zone { fill: #e4e4e4; stroke: #000; stroke-width: 0.2; }
.fit-zone-letter { font: 700 4px var(--font-body); fill: #000; }
.fit-axis { stroke: #000; stroke-width: 0.3; }
.fit-tick-major { stroke: #000; stroke-width: 0.35; }
.fit-tick-minor { stroke: #000; stroke-width: 0.18; }
.fit-tick-label { font: 400 2.6px var(--font-body); fill: #000; }
.fit-pg-table {
  width: 100%;
  margin-top: 6px;
  border-collapse: collapse;
  font-size: 11px;
  color: #000;
}
.fit-pg-table th,
.fit-pg-table td {
  text-align: left;
  padding: 3px 8px;
  border: 0.2mm solid #000;
}
.fit-pg-table thead th { background: #ededed; }
.fit-pg-footer { margin-top: 14px; font-size: 9.5px; color: #000; }

/* ── PRINT ISOLATION ─────────────────────────────────────────────────
   Normal print (Cmd+P without the button): guide stays hidden.
   body.fit-printing (set by the Print button): hide the whole site and
   show only the to-scale guide. print-color-adjust keeps ruler ticks. */
@page { margin: 12mm; }
@media print {
  .fit-print-guide { display: none; }
  body.fit-printing {
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body.fit-printing .site-nav,
  body.fit-printing .site-footer,
  body.fit-printing .skip-link,
  body.fit-printing #main > section:not(#fit) { display: none !important; }
  body.fit-printing #fit { padding: 0 !important; background: #fff !important; }
  body.fit-printing #fit > .container {
    max-width: none !important;
    padding: 0 !important;
  }
  body.fit-printing #fit > .container > *:not(.fit-print-guide) { display: none !important; }
  body.fit-printing .fit-print-guide {
    display: block !important;
    position: static !important;
    left: auto !important;
    color: #000;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body.fit-printing .fit-zone,
  body.fit-printing .fit-pg-table thead th {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}


/* ==== faq ==== */

/* ════════════════════════════════════════════════════════════════════
   T8 — FAQ (scoped: .faq-)
   Light band: header → seven native <details>/<summary> items.
   No JavaScript — open/close is native. Hairline dividers, question in
   Inter 600 with a rotating chevron, muted answer body. Focus ring and
   reveal/stagger entrance come from the skeleton.
   ════════════════════════════════════════════════════════════════════ */
.faq-head { max-width: 640px; }

.faq-list {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }

/* Summary = the question row. Native marker removed; chevron added. */
.faq-q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font: 600 16.5px/1.4 var(--font-body);
  letter-spacing: -0.005em;
  color: var(--text);
  cursor: pointer;
}
.faq-q::-webkit-details-marker { display: none; } /* Safari default triangle */
.faq-q::after {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  background-color: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq-item[open] .faq-q::after { transform: rotate(180deg); }
.faq-item[open] .faq-q { color: var(--text); }
.faq-q:hover { color: var(--text); }
.faq-q:hover::after { background-color: var(--text); }

.faq-a { padding: 0 4px 24px; }
.faq-a p {
  max-width: 68ch;
  font-size: 15px;
  color: var(--muted);
}
.faq-a p + p { margin-top: 12px; }
.faq-a ul {
  max-width: 68ch;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-a li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
/* Gradient tick marker — sanctioned small accent (light section). */
.faq-a li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, #7F48B0, #EE24D9);
}
.faq-a li b, .faq-a li strong { color: var(--text); font-weight: 600; }
.faq-a a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ==== about ==== */

/* ════════════════════════════════════════════════════════════════════
   T8 — ABOUT (scoped: .about-)
   Quiet ink strip (~60% of normal section padding) over a dimmed
   hand-closeup photo. The scrim is opaque enough (≥.82) that light text
   clears 4.5:1 over any frame of the image. Content is centered and
   capped at 680px. No JavaScript.
   ════════════════════════════════════════════════════════════════════ */
#about {
  padding: calc(var(--section-pad) * 0.6) 0;
  overflow: hidden; /* contains the background bleed */
}
@media (max-width: 820px) {
  #about { padding: calc(var(--section-pad-mobile) * 0.6) 0; }
}
/* House pattern (see technology.html): lift the content layer above the
   absolutely-positioned background instead of z-indexing the bg. */
#about > .container { position: relative; z-index: 1; }

/* Dimmed cover image sits above the base ink fill, below the content. */
.about-bg {
  position: absolute;
  inset: 0;
  background: url("Assets/web/hand-closeup.jpg") center / cover no-repeat;
}
.about-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 19, 23, .88); /* ≥.82 scrim — guarantees text contrast */
}

.about-inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.about-inner .eyebrow { justify-content: center; }
.about-inner h2 { margin-top: 16px; }
.about-body {
  margin-top: 18px;
  font-size: 17px;
  color: #C9CED6; /* brighter than --muted-inv: must clear 4.5:1 over the scrim */
}
.about-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}


/* ==== contact ==== */

.contact-head { margin-bottom: 44px; }
/* ════════════════════════════════════════════════════════════════════
   T8 — NEWSLETTER + CONTACT (scoped: .contact-)
   Light band, split into a newsletter sign-up (left) and a get-in-touch
   block (right); stacks ≤900px. The form is inert until wired — the
   handler only prevents the default submit and swaps in a success note.
   Field styling (pill input, btn) comes from the skeleton.
   ════════════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 901px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
  }
}
.contact-col h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.015em;
}
.contact-body {
  margin-top: 14px;
  max-width: 46ch;
  font-size: 16.5px;
  color: var(--muted);
}

/* Newsletter form: pill email input beside the submit; wraps on mobile. */
.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.contact-form .field { flex: 1 1 240px; }
.contact-form .btn { flex: none; }

.contact-success {
  margin-top: 24px;
  font: 500 16.5px/1.5 var(--font-body);
  color: var(--text);
}
.contact-success[hidden] { display: none; }

.contact-get a {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}



/* ==== multi-page nav/footer additions ==== */
.wordmark-logo { flex: none; width: 20px; height: auto; display: block; }
.site-footer .wordmark-logo { width: 22px; }
@media (min-width: 901px) { .footer-top { grid-template-columns: 1.2fr 3fr; } } /* desktop only, so the ≤900 stack wins */
.footer-brand { max-width: 320px; }
.footer-cols { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; }
.footer-addr { font-style: normal; font-size: 14.5px; line-height: 1.7; color: var(--text); }
@media (max-width: 900px) { .footer-cols { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 22px; } }
@media (max-width: 520px) {
  .site-footer { padding: 46px 0 28px; }
  .footer-cols { gap: 22px 16px; }          /* stays 2-up — no full-width single-column stacking */
  .footer-col h3 { margin-bottom: 12px; }
  .footer-col ul { gap: 9px; }
  .footer-tagline { margin-top: 14px; }
  .footer-brand { max-width: none; }
}
.nav-links a { white-space: nowrap; }
/* active nav link */
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
