/* ============================================================================
   SUPPLAR — charcoal + white minimal
   ========================================================================= */

/* ─── DESIGN TOKENS ───────────────────────────────────────────────────────── */
:root {
  --bg:          #ffffff;
  --bg-soft:     #f5f5f4;   /* warm-neutral panel */
  --bg-stage:    #ffffff;   /* bike showcase canvas backdrop — pure white studio */
  --line:        #e7e6e3;
  --line-strong: #d6d5d1;

  --ink:         #111113;   /* near-black text */
  --ink-soft:    #56565c;   /* muted body */
  --ink-faint:   #8b8b90;   /* labels, meta */

  --accent:      #111113;   /* charcoal = the only "accent" */
  --accent-2:    #2b2b2e;

  --maxw: 1200px;
  --pad:  clamp(20px, 5vw, 56px);
  --radius: 14px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, canvas, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--ink); color: #fff; }

/* ─── TYPOGRAPHY ──────────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ─── LAYOUT ──────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(72px, 11vw, 150px); }
.section-soft { background: var(--bg-soft); }

.section-heading { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-heading h2 { margin-top: 14px; }
.section-sub { margin-top: 18px; color: var(--ink-soft); font-size: 1.06rem; max-width: 56ch; }

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.button-solid { background: var(--ink); color: #fff; }
.button-solid:hover { background: #2c2c30; transform: translateY(-2px);
  animation: btn-pulse 1.2s ease-out infinite; }
@keyframes btn-pulse {
  from { box-shadow: 0 0 0 0 rgba(194, 112, 44, 0.4); }
  to   { box-shadow: 0 0 0 14px rgba(194, 112, 44, 0); }
}
.button-ghost { border-color: var(--line-strong); color: var(--ink); }
.button-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.button-sm { padding: 10px 20px; font-size: 0.88rem; }
.button-block { width: 100%; justify-content: center; padding-block: 16px; }

/* ─── PAGE PROGRESS BAR ───────────────────────────────────────────────────── */
#page-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--copper), #e08a3c);
  box-shadow: 0 0 8px rgba(194, 112, 44, 0.45);
  z-index: 200; transition: width 0.1s linear;
}

/* ─── HEADER ──────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
/* symmetric 3-column header: logo left · nav dead-centre · actions right —
   so the nav is truly centred regardless of logo/button widths */
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.header-row > .brand { justify-self: start; grid-column: 1; }
.header-row > .site-nav { grid-column: 2; }
.header-row > .header-actions { justify-self: end; grid-column: 3; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 44px; height: 44px;
  object-fit: contain;
  display: block;
  background: none; border: 0; border-radius: 0;
}
.brand-name {
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: 0.16em; font-size: 1.02rem;
}
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-descriptor { font-family: var(--font-display); font-size: .55rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }

.site-nav { display: flex; gap: 30px; align-items: center; }
.site-nav a, .dropdown-toggle { line-height: 1; }
.site-nav a {
  font-size: 0.92rem; color: var(--ink-soft); font-weight: 500;
  position: relative; transition: color 0.2s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--copper); transition: width 0.28s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.menu-toggle { display: none; width: 40px; height: 40px; flex-direction: column;
  justify-content: center; gap: 5px; align-items: center; }
.menu-toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }

/* ============================================================================
   PINNED BIKE SHOWCASE
   ========================================================================= */
.showcase { position: relative; height: 500vh; background: var(--bg-stage); }
:root { --copper: #c2702c; }   /* current / copper accent */

/* ── one copper wire routed down the page ────────────────────────────────── */
main { position: relative; }
.wirepath { position: absolute; z-index: 5; pointer-events: none; width: 2px;
  left: max(18px, calc((100vw - var(--maxw)) / 2 - 44px)); top: 0; }
.wp-track, .wp-fill { position: absolute; left: 0; top: 0; width: 2px; }
.wp-track { background: var(--line); height: 100%; }
.wp-fill { background: linear-gradient(180deg, var(--copper), #e08a3c); height: 0;
  box-shadow: 0 0 8px rgba(194, 112, 44, 0.4); }
.wp-dot { position: absolute; left: 1px; top: 0; width: 10px; height: 10px;
  margin: -5px 0 0 -5px; border-radius: 50%; background: var(--copper);
  box-shadow: 0 0 12px 2px rgba(194, 112, 44, 0.55); }
.wp-node { position: absolute; left: 1px; width: 28px; height: 2px; }
.wp-node::before { content: ""; position: absolute; inset: 0;
  background: var(--line); transition: background 0.35s var(--ease); }
.wp-node::after { content: ""; position: absolute; right: -5px; top: -4px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--bg);
  border: 2px solid var(--line-strong);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease); }
.wp-node.lit::before { background: var(--copper); }
.wp-node.lit::after { border-color: var(--copper); background: var(--copper); }
@media (max-width: 960px) { .wirepath { display: none; } }

/* ── section visuals: shared stage + chips ───────────────────────────────── */
.visual-stage { display: grid; place-items: center; margin-top: 8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-top: 40px; }
.chip-row li { font-family: var(--font-display); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--ink-soft); padding: 11px 24px;
  border: 1px solid var(--line-strong); border-radius: 100px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
              transform 0.25s var(--ease); }
.chip-row li:hover { border-color: var(--copper); color: var(--ink);
  transform: translateY(-2px); }

/* ── winding visuals: chips switch between product drawings ──────────────── */
.vis { display: none; width: min(400px, 76vw); }
.vis.active { display: block; animation: vis-in 0.45s var(--ease); }
@keyframes vis-in { from { opacity: 0; transform: scale(0.97); } }
.chip-row li[data-vis] { cursor: pointer; }
.chip-row li.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-row li.active:hover { border-color: var(--ink); color: #fff; }

/* transformer */
.tx-core { fill: url(#steel); stroke: #111216; stroke-width: 3; stroke-linejoin: round; }
.tx-foot { fill: #25272a; stroke: #0e0f11; stroke-width: 3; }
.tx-lams path { stroke: rgba(255,255,255,.22); stroke-width: 2; }
.tx-bobbin { fill: #17181b; stroke: #050506; stroke-width: 3; }
.tx-flange { fill: #34363a; stroke: #090a0b; stroke-width: 2; }
.tx-coil { animation: st-pulse 2.2s ease-in-out infinite; }
.tx-coil path { stroke: url(#copper3d); stroke-width: 7; stroke-linecap: round; }
.tx-lead { stroke: #b85b2d; stroke-width: 6; stroke-linecap: round; }
.tx-bolt { fill: #bfc1c0; stroke: #292a2d; stroke-width: 2; }

/* solenoid */
#vis-solenoids > g,
#vis-pumps > g { filter: none !important; }
.sol-bracket { fill: #303236; stroke: #111214; stroke-width: 4; }
.sol-shell { fill: #33353a; stroke: #121316; stroke-width: 4; }
.sol-bobbin { fill: #191a1d; }
.sol-flange { fill: #4b4d51; stroke: #18191c; stroke-width: 3; }
.sol-coil path { stroke: #d9783f; stroke-width: 7; stroke-linecap: round; }
.sol-coil { opacity: 0.85; animation: st-pulse 2.4s ease-in-out infinite; }
.sol-guide { fill: #1f2023; stroke: #090a0b; stroke-width: 3; }
.sol-moving { animation: sol-slide 2.6s cubic-bezier(.45,.05,.55,.95) infinite alternate; }
.sol-plunger { fill: url(#sol-steel); stroke: #282a2d; stroke-width: 3; }
.sol-end { fill: #3a3c40; stroke: #151619; stroke-width: 4; }
.sol-lead { stroke: #a74c24; stroke-width: 5; stroke-linecap: round; }
@keyframes sol-slide { to { transform: translateX(-58px); } }

/* pump */
.pw-motor { fill: #37393d; stroke: #151619; stroke-width: 4; }
.pw-cap { fill: #222428; stroke: #111214; stroke-width: 4; }
.pw-fins path { stroke: #696c70; stroke-width: 5; }
.pw-neck { fill: #292b2e; stroke: #111214; stroke-width: 4; }
.pw-volute { fill: #3a3c40; stroke: #141518; stroke-width: 5; }
.pw-chamber { fill: #d8d8d3; stroke: #1c1d20; stroke-width: 8; }
.pw-coil path { stroke: #d9783f; stroke-width: 5; stroke-linecap: round; }
.pw-coil { animation: st-pulse 2.2s ease-in-out infinite; }
.pw-imp { transform-box: fill-box; transform-origin: center;
  animation: st-rot 3.4s linear infinite; }
.pw-imp path { fill: #c56530; stroke: #713417; stroke-width: 2; }
.pw-imp circle { fill: #26262a; }
.pw-hub-ring { fill: none; stroke: #202225; stroke-width: 6; }
.pw-base { fill: #27292c; stroke: #111214; stroke-width: 3; }
@media (prefers-reduced-motion: reduce) {
  .sol-moving, .pw-imp { animation: none; }
}

/* pick-up / pulsar coil */
.pk-core { fill: #8f9194; stroke: #1a1b1e; stroke-width: 3; }
.pk-bracket { fill: #303236; stroke: #111214; stroke-width: 3; }
.pk-hole { fill: var(--bg-stage); stroke: #111214; stroke-width: 3; }
.pk-flange { fill: #4b4d51; stroke: #18191c; stroke-width: 3; }
.pk-bobbin { fill: #191a1d; }
.pk-coil path { stroke: #d9783f; stroke-width: 6; stroke-linecap: round; fill: none; }
.pk-coil { opacity: 0.85; animation: st-pulse 2.3s ease-in-out infinite; }
.pk-lead { stroke: #a74c24; stroke-width: 5; stroke-linecap: round; fill: none; }
.pk-conn { fill: #1f2023; stroke: #090a0b; stroke-width: 3; }
.pk-pin { fill: var(--copper); }
.st-yoke { stroke: #1c1c1f; stroke-width: 20; }
.st-tooth { fill: #26262a; }
.st-coil line { stroke: var(--copper); stroke-width: 5.5; stroke-linecap: round; }
.st-coil { opacity: 0.8; animation: st-pulse 2.2s ease-in-out infinite; }
@keyframes st-pulse {
  0%, 100% { opacity: 0.8; filter: none; }
  50% { opacity: 1; filter: drop-shadow(0 0 7px rgba(226, 132, 60, 0.9)); }
}
.st-rotor { transform-box: fill-box; transform-origin: center;
  animation: st-rot 16s linear infinite; }
@keyframes st-rot { to { transform: rotate(360deg); } }
.st-rotor-body { fill: #ececea; stroke: #1c1c1f; stroke-width: 7; }
.st-hole { fill: #d2d1cd; }
.st-shaft { fill: #1c1c1f; }
.st-key { fill: #1c1c1f; }
@media (prefers-reduced-motion: reduce) { .st-rotor { animation: none; } }

/* ── ambient harness (harness section) ───────────────────────────────────── */
.amb-svg { width: min(880px, 100%); }
.amb-wire { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; fill: none; }
.amb-wire.t { stroke-width: 5; }
.amb-flow { stroke: var(--copper); stroke-linecap: round; fill: none; opacity: 0.9;
  stroke-dasharray: 2 17; animation: hx-dashflow 1.05s linear infinite;
  filter: drop-shadow(0 0 5px rgba(194, 112, 44, 0.6)); }
.amb-flow.t { stroke-width: 5; } .amb-flow.b { stroke-width: 4; }
.amb-node rect { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.amb-led { fill: var(--copper); animation: amb-blink 2.5s ease-in-out infinite; }
.harness-part { fill: #f7f7f5; stroke: #25262a; stroke-width: 4; }
.harness-dark { fill: #292b2f; stroke: #111214; stroke-width: 4; }
.harness-pin { fill: #d9783f; stroke: #743719; stroke-width: 2; }
.harness-label { fill: #77787b; font: 600 14px var(--font-display); letter-spacing: .1em; text-anchor: middle; }
.harness-signal { fill: none; stroke: var(--copper); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 15; animation: hx-dashflow 1.15s linear infinite; }
.harness-check { fill: none; stroke: #42a36b; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; animation: st-pulse 1.6s ease-in-out infinite; }
#harness-chips li { cursor: pointer; }
@keyframes amb-blink {
  0%, 20%, 100% { opacity: 0.15; }
  10% { opacity: 1; }
}

/* ── testing (dark interlude) ────────────────────────────────────────────── */
.lab-section { background: #0b0b0d; }
.lab-inner { text-align: center; }
.lab-eyebrow { color: #7a7a82; }
.lab-title { font-family: var(--font-display); font-weight: 600; color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.9rem); letter-spacing: -0.01em; margin-top: 14px; }
.lab-wire-wrap { margin-top: 44px; }
.lab-wire { width: min(100%, 900px); display: block; margin: 0 auto; }
.lw-track { stroke: #26262b; stroke-width: 4; stroke-linecap: round; }
.lw-flow { stroke: var(--copper); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 3 22; animation: lw-dash 1.05s linear infinite;
  filter: drop-shadow(0 0 8px rgba(226, 132, 60, 0.8)); }
@keyframes lw-dash { to { stroke-dashoffset: -50; } }
.lw-tick { opacity: 0; transition: opacity 0.5s var(--ease) 0.55s; }
.lab-wire-wrap.is-visible .lw-tick { opacity: 1; }
.lw-tick circle { fill: var(--copper); }
.lw-tick path { fill: none; stroke: #0b0b0d; stroke-width: 3.2;
  stroke-linecap: round; stroke-linejoin: round; }

/* ── process line ────────────────────────────────────────────────────────── */
.pline-wrap { overflow-x: auto; }
.pline { width: 100%; min-width: 680px; }
.pl-track { stroke: var(--line-strong); stroke-width: 3; stroke-linecap: round; }
.pl-flow { stroke: var(--copper); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 2 15; animation: hx-dashflow 1.05s linear infinite;
  filter: drop-shadow(0 0 4px rgba(194, 112, 44, 0.45)); }
.pl-node circle { fill: #fff; stroke: var(--ink); stroke-width: 2.4; }
.pl-node .pl-ic path, .pl-node .pl-ic rect, .pl-node .pl-ic circle {
  stroke: var(--ink); stroke-width: 2.2; fill: none;
  stroke-linecap: round; stroke-linejoin: round; }
.pl-node text { font-family: var(--font-display); font-size: 15px; font-weight: 600;
  fill: var(--ink-soft); text-anchor: middle; letter-spacing: 0.03em; }
.pline-wrap.is-visible .pl-node { animation: pl-pop 0.55s var(--ease) var(--d, 0s) both; }
.process-mobile { display: none; }
@keyframes pl-pop { from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; } }

/* ── harness → winding scroll animation ──────────────────────────────────── */
.hx-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(72% 72% at 50% 46%, #000 52%, transparent 100%);
          mask-image: radial-gradient(72% 72% at 50% 46%, #000 52%, transparent 100%);
}
.hx-art { position: absolute; left: 0; right: 0; top: 0; height: 78vh; z-index: 1;
  display: grid; place-items: center; }
.hx-art svg { width: min(92vw, 1180px); height: auto; max-height: 74vh; }

.hx-ghost { fill: none; stroke: var(--ink); opacity: .05; stroke-linecap: round; }
.hx-wire  { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.hx-trunk { stroke-width: 5; }
.hx-branch{ stroke-width: 3; stroke: #2b2b2e; }
.hx-flow  { fill: none; stroke: var(--copper); stroke-linecap: round;
  stroke-dasharray: 2 17; opacity: 0; animation: hx-dashflow 1.05s linear infinite;
  filter: drop-shadow(0 0 5px rgba(194, 112, 44, 0.6)); }
.hx-flow.hx-trunk { stroke-width: 5; } .hx-flow.hx-branch { stroke-width: 3; }
@keyframes hx-dashflow { to { stroke-dashoffset: -38; } }

.hx-node { opacity: 0; transform-box: fill-box; transform-origin: center; }
.hx-node rect { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.hx-node .pin { fill: var(--ink); }
.hx-node text { font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .06em; fill: var(--ink-faint); text-anchor: middle; }
.hx-ecu rect { fill: #111113; }
.hx-ecu .t { fill: #fff; font-size: 15px; letter-spacing: .12em; }
.hx-lbl { font-family: var(--font-display); font-size: 10.5px; font-weight: 500;
  letter-spacing: .14em; fill: var(--ink-faint); text-anchor: middle; opacity: 0; }

/* continuity check ticks */
.hx-tick { opacity: 0; }
.hx-tick circle { fill: var(--copper); }
.hx-tick path { fill: none; stroke: #fff; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; }

/* copper underline on the hero keywords */
.hx-u { text-decoration: underline; text-decoration-color: var(--copper);
  text-decoration-thickness: 3px; text-underline-offset: 7px; }

/* winding feeder marker */
.hx-feed { fill: var(--copper); opacity: 0; }

#hx-winding-scene { opacity: 0; }
.hx-ring { fill: none; stroke: var(--copper); stroke-width: 7; stroke-linecap: round; opacity: 0;
  filter: drop-shadow(0 0 4px rgba(194, 112, 44, 0.35)); }
.hx-lead { fill: none; stroke: var(--copper); stroke-width: 7; stroke-linecap: round; opacity: 0; }
.hx-turns { font-family: var(--font-display); font-weight: 700; fill: var(--ink); }
.hx-turns .n { font-size: 62px; letter-spacing: -.02em; }
.hx-turns .k { font-size: 14px; letter-spacing: .18em; fill: var(--ink-faint); }

.hx-hero { position: absolute; z-index: 10; left: var(--pad); top: 50%;
  transform: translateY(-50%); max-width: 30ch; }
.hero-brand-lockup { display: inline-flex; align-items: center; gap: 13px; margin-bottom: 22px;
  padding: 9px 14px 9px 9px; background: rgba(255,255,255,.76); border: 1px solid var(--line);
  border-radius: 13px; backdrop-filter: blur(8px); box-shadow: 0 10px 35px rgba(17,17,19,.06); }
.hero-brand-lockup img, .footer-lockup img { width: 48px; height: 48px; object-fit: contain; }
.hero-brand-lockup span { display: flex; flex-direction: column; gap: 2px; }
.hero-brand-lockup strong { font: 700 1rem var(--font-display); letter-spacing: .18em; }
.hero-brand-lockup small { color: var(--ink-faint); font: 500 .62rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.hx-card { position: absolute; z-index: 10; right: var(--pad);
  bottom: clamp(34px, 7vh, 70px); width: min(38ch, 40vw);
  background: rgba(255,255,255,.86); backdrop-filter: blur(3px);
  border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px;
  box-shadow: 0 18px 50px rgba(17,17,19,.07); opacity: 0;
  transition: opacity .45s var(--ease), transform .45s var(--ease); transform: translateY(10px); }
.hx-card.hx-left { left: var(--pad); right: auto; }
.hx-idx { font-family: var(--font-display); font-weight: 700; font-size: .84rem;
  letter-spacing: .04em; color: var(--copper); }
.hx-card h2 { font-family: var(--font-display); font-weight: 600; line-height: 1.12;
  font-size: clamp(1.4rem, 2.7vw, 1.9rem); margin: 8px 0; letter-spacing: -.01em; }
.hx-card p { color: var(--ink-soft); font-size: .98rem; }
.hx-card .button { margin-top: 14px; }

@media (max-width: 720px) {
  .hx-card { width: min(80vw, 34ch); }
  .hx-hero { max-width: 22ch; }
}
.showcase-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: var(--bg-stage);
}

#bike-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

/* very soft radial light behind the bike for depth */
.showcase-sticky::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 60% at 50% 48%, #ffffff 0%, #ffffff 72%, #f7f7f6 100%);
}

/* ── loader ── */
.loader {
  position: absolute; inset: 0; z-index: 30; background: var(--bg-stage);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; width: min(280px, 70vw); }
.loader-label { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-faint); }
.loader-bar { width: 100%; height: 2px; background: var(--line-strong); overflow: hidden; }
.loader-fill { height: 100%; width: 0; background: var(--ink); transition: width 0.25s linear; }
.loader-pct { font-family: var(--font-display); font-size: 0.85rem; color: var(--ink-soft); }

/* ── phases (overlay copy) ── */
.phase {
  position: absolute; inset: 0; z-index: 10;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s var(--ease);
}
.phase.is-active { opacity: 1; visibility: visible; }
.phase.is-active .button { pointer-events: auto; }

/* hero phase */
.phase-hero { transform: translateY(0); }
.phase-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(95deg,
    var(--bg-stage) 0%, rgba(255,255,255,0.92) 34%, rgba(255,255,255,0.55) 52%, rgba(255,255,255,0) 68%);
}
.phase-hero .eyebrow { margin-bottom: 18px; }
/* hero eyebrow + title each read on a single line (desktop) */
.hx-hero .eyebrow { white-space: nowrap; }
.hero-title { max-width: none; white-space: nowrap;
  font-size: clamp(2.3rem, 4.7vw, 3.7rem); }
.hero-lead { margin-top: 22px; max-width: 44ch; font-size: 1.12rem; color: var(--ink-soft); }
.hero-cue {
  margin-top: 46px; display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint);
}
.cue-line { width: 54px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.cue-line::after {
  content: ""; position: absolute; inset: 0; width: 40%; background: var(--ink);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(280%); } }

/* caption phases (side cards) */
.phase-caption { align-items: center; }
.phase-left  { justify-content: flex-start; }
.phase-right { justify-content: flex-end; }
.phase-left .caption-card  { transform: translateX(-24px); margin-left: var(--pad); }
.phase-right .caption-card { transform: translateX(24px);  margin-right: var(--pad); }
.phase-left.is-active .caption-card,
.phase-right.is-active .caption-card { transform: translateX(0); }

.caption-card {
  max-width: 360px; padding: 30px 32px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.6s var(--ease);
}
.caption-index {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: var(--ink); display: block; line-height: 1;
}
.caption-kicker { margin-top: 14px; font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.74rem; color: var(--ink-faint); }
.caption-title { margin-top: 8px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.caption-desc { margin-top: 14px; color: var(--ink-soft); font-size: 1rem; }

/* outro phase */
.phase-outro { align-items: center; justify-content: center; text-align: center; }
.phase-outro::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(62% 64% at 50% 50%,
    rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.86) 40%, rgba(255,255,255,0) 74%);
}
.phase-outro .eyebrow { margin-bottom: 18px; }
.outro-title { max-width: 18ch; margin-inline: auto; }
.phase-outro .button { margin-top: 32px; }

/* stage progress dots */
.stage-progress {
  position: absolute; right: clamp(16px, 3vw, 34px); top: 50%; transform: translateY(-50%);
  z-index: 20; width: 2px; height: 120px; background: var(--line-strong); border-radius: 2px; overflow: hidden;
}
.stage-progress-fill { width: 100%; height: 0; background: var(--ink); }

/* ============================================================================
   INTRO STATEMENT
   ========================================================================= */
.intro-grid { display: grid; gap: clamp(40px, 6vw, 72px); }
.intro-lead .eyebrow { margin-bottom: 16px; }
.intro-brand {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.brand-em { position: relative; white-space: nowrap; }
.brand-em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em;
  height: 0.09em; background: linear-gradient(90deg, var(--copper), #e08a3c);
  border-radius: 2px;
}
.intro-statement {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem); line-height: 1.24; letter-spacing: -0.02em;
  max-width: 30ch; color: var(--ink-soft);
}
.intro-statement em { font-style: normal; color: var(--ink); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  padding-top: 40px; border-top: 1px solid var(--line); }
.stat strong { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; display: block; }
.stat span { color: var(--ink-soft); font-size: 0.95rem; }

/* ─── BRAND RIBBON (scrolling wordmark strip) ─────────────────────────────── */
.brand-marquee {
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding-block: clamp(16px, 2.4vw, 26px);
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; width: max-content;
  will-change: transform; animation: marquee 34s linear infinite;
}
.mq-group {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 44px);
  padding-right: clamp(20px, 3vw, 44px); flex: none;
}
.brand-marquee:hover .marquee-track { animation-play-state: paused; }
.mq-name, .mq-word {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2.6rem); letter-spacing: 0.02em; line-height: 1;
}
.mq-word { color: var(--ink-faint); font-weight: 600; }
.mq-name { color: var(--ink); }
.mq-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(180deg, var(--copper), #e08a3c);
  box-shadow: 0 0 10px rgba(194, 112, 44, 0.5); flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================================
   CATEGORY (winding / harness) DETAIL
   ========================================================================= */
.cat-header { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px);
  align-items: start; margin-bottom: clamp(44px, 6vw, 76px); }
.cat-num {
  font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem); font-weight: 700;
  line-height: 0.8; color: var(--line-strong);
}
.cat-header h2 { margin-top: 12px; max-width: 18ch; }
.cat-intro { margin-top: 18px; color: var(--ink-soft); max-width: 58ch; font-size: 1.05rem; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
/* 3-up variant (QA / detail grids) — a class, so the mobile media queries below
   can still collapse it (an inline style could not be overridden) */
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--bg); padding: 32px 28px; display: flex; flex-direction: column;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.card:hover { background: var(--bg-soft); }
.card-icon { width: 44px; height: 44px; color: var(--ink); margin-bottom: 22px; }
.card-icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: 12px; }
.card > p { color: var(--ink-soft); font-size: 0.96rem; }
.card-list { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 9px; }
.card-list li { position: relative; padding-left: 18px; font-size: 0.9rem; color: var(--ink-soft); }
.card-list li::before { content: ""; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 1.5px; background: var(--ink); }

.capability-bar { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 30px clamp(20px, 3vw, 36px); background: var(--bg-soft); border-radius: var(--radius); }
.cap strong { font-family: var(--font-display); font-size: 1.06rem; display: block; }
.cap span { font-size: 0.86rem; color: var(--ink-faint); }

/* ============================================================================
   PRODUCT CARDS — cursor spotlight · self-drawing icons · staggered reveal
   ========================================================================= */
.card { position: relative; isolation: isolate; overflow: hidden; }

/* own the full transition (beats the generic .reveal rule) so the
   reveal fade AND the hover bg / hairline all animate smoothly */
.card.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease),
              background 0.35s var(--ease), box-shadow 0.4s var(--ease);
}

/* soft charcoal spotlight that tracks the cursor (--mx / --my set in JS) */
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
              rgba(17, 17, 19, 0.07), transparent 62%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.card:hover::before { opacity: 1; }

/* lift stays inside the rounded grid: bg shift + inset hairline, no outer shadow */
.card:hover { background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* icon nudges up on hover, and draws itself in when the card reveals */
.card-icon { transition: transform 0.45s var(--ease); }
.card:hover .card-icon { transform: translateY(-3px) scale(1.06); }
.card .card-icon svg :is(path, circle, rect, line, polyline) {
  stroke-dasharray: 240; stroke-dashoffset: 240;
  transition: stroke-dashoffset 1.1s var(--ease) 0.2s;
}
.card.is-visible .card-icon svg :is(path, circle, rect, line, polyline) {
  stroke-dashoffset: 0;
}

/* ============================================================================
   STRENGTHS
   ========================================================================= */
.strength-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px); }
.strength { padding-top: 26px; border-top: 1.5px solid var(--ink); }
.strength-num { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  color: var(--ink-faint); letter-spacing: 0.1em; }
.strength h3 { margin: 14px 0 12px; }
.strength p { color: var(--ink-soft); max-width: 48ch; }

/* ============================================================================
   PROCESS
   ========================================================================= */
.process-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 90px 1fr; gap: clamp(20px, 4vw, 48px);
  align-items: baseline; padding: clamp(26px, 4vw, 40px) 0; border-bottom: 1px solid var(--line); }
.process-num { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700; color: var(--ink); }
.process-step h3 { margin-bottom: 8px; }
.process-step p { color: var(--ink-soft); max-width: 60ch; }

/* ============================================================================
   INDUSTRIES
   ========================================================================= */
.industries-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.industries-grid h2 { margin-top: 14px; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.industry-tags li {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 500;
  padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 100px;
  color: var(--ink-soft); transition: all 0.25s var(--ease);
}
.industry-tags li:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================================================================
   CONTACT
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-copy h2 { margin-top: 14px; }
.contact-details { margin-top: 36px; display: flex; flex-direction: column; gap: 8px; }
.contact-details a { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500;
  width: fit-content; border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease); }
.contact-details a:hover { border-bottom-color: var(--ink); }
.contact-details p { color: var(--ink-faint); }

.enquiry-form { display: flex; flex-direction: column; gap: 16px;
  background: var(--bg-soft); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry-form label { display: flex; flex-direction: column; gap: 7px;
  font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 9px;
  padding: 12px 14px; font-size: 0.95rem; transition: border-color 0.2s var(--ease); resize: vertical;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus {
  outline: none; border-color: var(--ink); }
.enquiry-form input::placeholder, .enquiry-form textarea::placeholder { color: var(--ink-faint); }
.form-note { font-size: 0.82rem; color: var(--ink-faint); text-align: center; }

/* ============================================================================
   FOOTER
   ========================================================================= */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 80px) 36px; }
.footer-row { display: grid; grid-template-columns: 2fr 1fr auto; gap: 40px; align-items: start; }
.footer-brand .brand-name { font-size: 1.1rem; }
.footer-lockup { display: flex; align-items: center; gap: 13px; }
.footer-lockup > span { display: flex; flex-direction: column; gap: 4px; }
.footer-lockup small { color: var(--ink-faint); font: 600 .62rem var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.footer-brand p { margin-top: 14px; color: var(--ink-soft); max-width: 38ch; font-size: 0.95rem; }
.footer-wordmark {
  margin-top: clamp(40px, 6vw, 72px);
  margin-bottom: clamp(20px, 3vw, 34px);
  overflow: hidden;
}
.footer-wordmark span {
  display: block; width: 100%;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.8rem, 15vw, 14rem); line-height: 0.82;
  letter-spacing: 0; white-space: nowrap; text-align: center;
  color: transparent;
  background: linear-gradient(180deg, var(--ink) 40%, var(--line-strong) 130%);
  -webkit-background-clip: text; background-clip: text;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--ink-soft); font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: var(--ink); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-email { font-family: var(--font-display); font-weight: 500; }
.footer-phone { font-family: var(--font-display); font-weight: 500; color: var(--ink-soft);
  transition: color 0.2s var(--ease); }
.footer-phone:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: clamp(40px, 6vw, 64px); padding-top: 26px; border-top: 1px solid var(--line);
  color: var(--ink-faint); font-size: 0.85rem; }

/* ============================================================================
   REVEAL ANIMATION
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-bar { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .industries-grid { grid-template-columns: 1fr; }
  .footer-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --pad: clamp(18px, 5vw, 28px); }
  body { overflow-x: hidden; }
  .section { padding-block: clamp(72px, 18vw, 104px); }
  h1 { font-size: clamp(2.35rem, 11vw, 4rem); }
  h2 { font-size: clamp(1.85rem, 8vw, 2.8rem); }
  h3 { font-size: 1.08rem; }

  /* mobile: back to a simple two-part bar (logo left, hamburger right) —
     the centring grid is desktop-only */
  .header-row { height: 64px; display: flex; justify-content: space-between; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: .92rem; letter-spacing: .1em; }
  .brand-descriptor { display: none; }
  .site-nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 20px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all 0.3s var(--ease);
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .button-sm { display: none; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

  .showcase { height: 380vh; }
  .showcase-sticky { min-height: 100svh; height: 100svh; }
  .phase-hero { align-items: flex-start; }
  .phase-hero .container { padding-top: 13vh; }
  .phase-hero::before {
    background: linear-gradient(180deg,
      var(--bg-stage) 0%, rgba(255,255,255,0.92) 30%, rgba(255,255,255,0) 58%);
  }
  .hero-lead { font-size: 1rem; }
  .hx-hero { left: var(--pad); right: var(--pad); top: 20%; transform: none; max-width: none; }
  .hero-brand-lockup { margin-bottom: 15px; padding: 7px 11px 7px 7px; }
  .hero-brand-lockup img { width: 38px; height: 38px; }
  .hero-brand-lockup small { font-size: .55rem; }
  .hx-hero .hero-title { max-width: 12ch; white-space: normal; }
  .hx-hero .eyebrow { white-space: normal; }
  /* zoom the animation up on phones — the SVG must fill the widened frame
     (it was capped at 92vw, so the earlier 155% never actually took effect) */
  .hx-art { width: 182%; left: 50%; top: 55%; transform: translate(-50%, -50%); height: auto; }
  .hx-art svg { width: 100%; max-height: none; }
  .hx-card { left: 16px; right: 16px; bottom: 6vh; width: auto; max-width: none; }
  .hx-card.hx-left { left: 16px; right: 16px; }
  /* captions sit at the bottom on phones so the bike stays visible above */
  .phase-caption { align-items: flex-end; justify-content: center; }
  .caption-card { max-width: none; width: calc(100% - 32px); padding: 20px 22px;
    margin: 0 16px 6vh !important; transform: none !important; }
  .caption-index { font-size: 2rem; }
  .stage-progress { display: none; }

  .cat-header { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .cat-num { font-size: 3.4rem; }
  .cat-header h2 { margin-top: 8px; }
  .visual-stage { width: 100%; overflow: hidden; }
  .vis { width: min(360px, 94vw); }
  .amb-svg { width: 100%; max-width: 100%; margin-inline: 0; }
  .chip-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 28px; }
  .chip-row li { display: grid; place-items: center; min-height: 48px; padding: 10px 12px; font-size: .8rem; line-height: 1.2; text-align: center; }

  .card-grid { grid-template-columns: 1fr; }
  .capability-bar { grid-template-columns: 1fr 1fr; }
  .strength-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 22px; }
  .process-step { grid-template-columns: 56px 1fr; }
  .pline-wrap { display: none; }
  .process-mobile { display: grid; position: relative; gap: 0; margin-top: -10px; }
  .process-mobile::before { content: ""; position: absolute; left: 23px; top: 30px; bottom: 30px; width: 2px; background: var(--line-strong); }
  .process-mobile::after { content: ""; position: absolute; left: 22px; top: 30px; bottom: 30px; width: 4px; background: repeating-linear-gradient(to bottom, var(--copper) 0 4px, transparent 4px 15px); animation: lw-dash 1.05s linear infinite; }
  .process-mobile li { position: relative; z-index: 1; display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; min-height: 88px; align-content: center; }
  .process-mobile li span { grid-row: 1 / 3; width: 48px; height: 48px; display: grid; place-items: center; align-self: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--bg); color: var(--copper); font: 700 .72rem var(--font-display); }
  .process-mobile li strong { align-self: end; font: 600 1.05rem var(--font-display); }
  .process-mobile li small { align-self: start; margin-top: 4px; color: var(--ink-soft); font-size: .86rem; }
  .field-row { grid-template-columns: 1fr; }
  .enquiry-form { padding: 22px 18px; }
  .enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; min-width: 0; font-size: 16px; }
  .contact-details a, .footer-email { overflow-wrap: anywhere; }
  .footer-row { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
}

@media (max-width: 420px) {
  .hero-cue { display: none; }
  .caption-card { padding: 18px; margin-bottom: 4vh !important; }
  .caption-card h2 { font-size: 1.45rem; }
  .caption-card p { font-size: .9rem; }
  .capability-bar { grid-template-columns: 1fr; gap: 18px; }
  .stat-row { padding-top: 28px; }
  .process-step { grid-template-columns: 42px 1fr; gap: 12px; }
  .industry-tags { gap: 8px; }
  .industry-tags li { padding: 9px 13px; font-size: .8rem; }
  .chip-row { grid-template-columns: 1fr; }
  .amb-svg { width: 100%; margin-inline: 0; }
  .vis { width: min(330px, 96vw); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .rise-coil.rc-armed .rc-value { opacity: 1; }
  .marquee-track { animation: none; }
  .card.reveal { transition: none; }
  .card::before { display: none; }
  .card:hover .card-icon { transform: none; }
  .card .card-icon svg :is(path, circle, rect, line, polyline) {
    stroke-dashoffset: 0; transition: none;
  }
  .cue-line::after { animation: none; }
}

/* ============================================================================
   MULTI-PAGE ADDITIONS — nav dropdown, page hero, content components
   ========================================================================= */

/* ── nav: current link + Capabilities dropdown ───────────────────────────── */
.site-nav a.is-current { color: var(--ink); }
.site-nav a.is-current::after { width: 100%; }

.has-dropdown { position: relative; display: inline-flex; align-items: center; }
.dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.92rem; color: var(--ink-soft); font-weight: 500;
  font-family: var(--font-body); position: relative; transition: color 0.2s var(--ease);
}
.dropdown-toggle svg { width: 11px; height: 11px; transition: transform 0.25s var(--ease); }
.has-dropdown:hover .dropdown-toggle,
.has-dropdown.is-current .dropdown-toggle { color: var(--ink); }
.has-dropdown:hover .dropdown-toggle svg,
.has-dropdown.is-open .dropdown-toggle svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px);
  min-width: 232px; background: rgba(255,255,255,0.94); backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid var(--line); border-radius: 14px; padding: 8px;
  box-shadow: 0 20px 50px rgba(17,17,19,.10);
  opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.28s var(--ease); z-index: 120;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
/* invisible bridge across the gap so hover carries from the trigger into the
   menu without dropping (no click needed to keep it open) */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 16px; }
.dropdown a {
  display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 9px;
  color: var(--ink); font-size: 0.92rem; font-weight: 500; transition: background 0.2s var(--ease); }
.dropdown a small { color: var(--ink-faint); font-size: 0.72rem; font-weight: 400; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown a .dd-num { color: var(--copper); font: 700 0.7rem var(--font-display); letter-spacing: .08em; }

/* ── inner-page hero ─────────────────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden;
  padding-block: clamp(128px, 20vh, 210px) clamp(48px, 8vw, 96px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(90% 120% at 20% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(90% 120% at 20% 0%, #000 30%, transparent 80%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .cat-num { display: block; margin-bottom: 6px; }
.page-hero h1 { max-width: 20ch; margin-top: 12px;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.page-hero .page-lead { margin-top: 22px; max-width: 60ch; font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--ink-soft); }
.page-hero .u { text-decoration: underline; text-decoration-color: var(--copper);
  text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ── prose / two-column overview ─────────────────────────────────────────── */
.prose p { color: var(--ink-soft); font-size: 1.06rem; max-width: 64ch; }
.prose p + p { margin-top: 18px; }
.split-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: start; }
.split-aside { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; }
.aside-cell { background: var(--bg); padding: 26px 26px; }
.aside-cell strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; display: block; }
.aside-cell span { color: var(--ink-soft); font-size: 0.92rem; }

/* ── RISE values ─────────────────────────────────────────────────────────── */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--bg); padding: 30px 26px; transition: background 0.3s var(--ease); }
.value:hover { background: var(--bg-soft); }
.value b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--copper);
  line-height: 1; display: block; }
.value h3 { margin-top: 14px; }
.value p { margin-top: 8px; color: var(--ink-soft); font-size: 0.92rem; }

/* ── RISE — the wound coil (a copper coil winds as you scroll past the values) ─ */
.rise-coil { display: grid; grid-template-columns: clamp(92px, 13vw, 148px) 1fr;
  gap: clamp(26px, 5vw, 66px); align-items: center; max-width: 760px;
  margin-top: clamp(16px, 3vw, 34px); }
.rc-emblem { align-self: center; display: flex; }
.rc-svg { width: 100%; height: auto; overflow: visible; }
/* each turn: a faint back-ring + a bold copper front arc → depth */
.rc-turn { opacity: 0; }
.rc-turn ellipse { fill: none; stroke: var(--copper); stroke-width: 1.4; opacity: 0.32; }
.rc-front { fill: none; stroke: var(--copper); stroke-width: 2.4; stroke-linecap: round; }
.rc-feeder { fill: var(--copper); opacity: 0;
  filter: drop-shadow(0 0 6px rgba(194, 112, 44, 0.7)); }
/* the values, read beside the winding */
.rc-values { list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: clamp(22px, 4vw, 42px); }
.rc-value { display: grid; grid-template-columns: auto 1fr; gap: clamp(14px, 2vw, 24px);
  align-items: center; }
.rc-key { font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--line-strong);
  /* fixed width so every letter shares one column — the narrow "I" no longer
     pulls its text left of the others */
  width: 1.05em; text-align: center;
  transition: color 0.5s var(--ease); }
.rc-value.lit .rc-key { color: var(--copper); }
.rc-text h3 { font-size: clamp(1.02rem, 1.7vw, 1.28rem); }
.rc-text p { margin-top: 4px; color: var(--ink-soft);
  font-size: 0.93rem; line-height: 1.5; max-width: 44ch; }
/* dim until the winding reaches each value — armed by JS so no-JS stays readable */
.rise-coil.rc-armed .rc-value { opacity: 0.32; transition: opacity 0.6s var(--ease); }
.rise-coil.rc-armed .rc-value.lit { opacity: 1; }
@media (max-width: 620px) {
  .rise-coil { grid-template-columns: 72px 1fr; gap: 22px; }
  .rc-value { grid-template-columns: auto 1fr; gap: 14px; }
}

/* ── spec list (division capability points) ──────────────────────────────── */
/* one shared 2-col track (subgrid) so every row's description lines up on the
   same edge — the label column sizes to this list's longest label */
.spec-list { display: grid; grid-template-columns: max-content 1fr; column-gap: 28px;
  border-top: 1px solid var(--line); margin-top: 8px; }
.spec-list li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid;
  align-items: baseline; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.spec-list li b { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; min-width: 12ch; }
.spec-list li span { color: var(--ink-soft); font-size: 0.98rem; }

/* ── gauge scale (SWG range) ─────────────────────────────────────────────── */
.gauge { margin-top: 12px; }
.gauge-bar { height: 10px; border-radius: 100px;
  background: linear-gradient(90deg, #7e3514, var(--copper) 45%, #e9a862 100%); }
.gauge-marks { display: flex; justify-content: space-between; margin-top: 14px; }
.gauge-mark { text-align: center; }
.gauge-mark b { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; display: block; }
.gauge-mark span { color: var(--ink-faint); font-size: 0.82rem; }
.gauge-ends { display: flex; justify-content: space-between; margin-top: 10px;
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }

/* ── integrated manufacturing chain ──────────────────────────────────────── */
.chain { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.chain-step { flex: 1 1 150px; position: relative; padding: 22px 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.chain-step:hover { background: var(--bg-soft); transform: translateY(-3px); }
.chain-step b { font: 700 0.82rem var(--font-display); color: var(--copper); letter-spacing: .08em; }
.chain-step h3 { margin-top: 10px; font-size: 1.02rem; }

/* ── equipment / spec table ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec-table thead th { text-align: left; font: 600 0.72rem var(--font-display); letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint); padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.spec-table td { padding: 17px 22px; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-soft); vertical-align: top; }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--ink); font-weight: 500; font-family: var(--font-display); }
.spec-table .tag { display: inline-block; font: 600 0.66rem var(--font-display); letter-spacing: .08em;
  text-transform: uppercase; color: var(--copper); border: 1px solid var(--line-strong); border-radius: 100px; padding: 3px 9px; }

/* ── team / organization ─────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-member { background: var(--bg); padding: 26px 24px; transition: background 0.3s var(--ease); }
.team-member:hover { background: var(--bg-soft); }
.team-member .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font: 700 1rem var(--font-display); margin-bottom: 16px; }
.team-member strong { font-family: var(--font-display); font-size: 1.05rem; display: block; }
.team-member span { color: var(--ink-soft); font-size: 0.9rem; }

/* team traits — editorial top-rule cards (no named individuals) */
.trait-grid { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 44px); margin-top: clamp(30px, 4vw, 52px); }
.trait { padding-top: 22px; border-top: 1.5px solid var(--ink); }
.trait strong { font-family: var(--font-display); font-size: 1.1rem; display: block; margin-bottom: 9px; }
.trait p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; max-width: 40ch; }
@media (max-width: 760px) { .trait-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ── How We Work — numbered process steps, audit note, MD pull-quote ──────── */
.worksteps { counter-reset: step; margin-top: clamp(20px, 3vw, 34px); }
.worksteps li { padding-block: clamp(18px, 2.4vw, 26px); }
.worksteps li b { font-size: 1.08rem; }
.worksteps li b::before { counter-increment: step;
  content: counter(step, decimal-leading-zero); color: var(--copper);
  font-variant-numeric: tabular-nums; margin-right: 12px; }
.worksteps li span { font-size: 1rem; line-height: 1.62; }
.work-note { margin-top: clamp(30px, 4vw, 46px); padding-left: 16px;
  border-left: 2px solid var(--copper); font-family: var(--font-display);
  font-weight: 500; font-size: 1.02rem; color: var(--ink); }
.pullquote { margin: clamp(46px, 7vw, 88px) 0 0; max-width: 640px; }
.pullquote blockquote { margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem); line-height: 1.32; letter-spacing: -0.01em; color: var(--ink); }
/* matched pair of copper quotation marks — opens and closes the quote */
.pullquote blockquote::before { content: "\201C"; color: var(--copper); }
.pullquote blockquote::after { content: "\201D"; color: var(--copper); }
.pullquote figcaption { margin-top: 22px; }
.pullquote figcaption strong { font-family: var(--font-display); font-size: 1rem; display: block; }
.pullquote figcaption span { color: var(--ink-soft); font-size: 0.9rem; }

/* ── CTA band ────────────────────────────────────────────────────────────── */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.66); margin-top: 12px; max-width: 46ch; }
.cta-band .button-solid { background: #fff; color: var(--ink); }
.cta-band .button-solid:hover { background: var(--bg-soft); }
.cta-band .button-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.cta-band .button-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ── gallery / applications tiles ────────────────────────────────────────── */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tile { background: var(--bg); padding: 26px 24px; transition: background 0.3s var(--ease); }
.tile:hover { background: var(--bg-soft); }
.tile .tile-ic { width: 40px; height: 40px; color: var(--ink); margin-bottom: 16px; }
.tile .tile-ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile strong { font-family: var(--font-display); font-size: 1.02rem; display: block; }
.tile span { color: var(--ink-soft); font-size: 0.9rem; margin-top: 6px; display: block; }

/* ── confidentiality / note callout ──────────────────────────────────────── */
.note-callout { margin-top: 28px; padding: 20px 24px; border-left: 3px solid var(--copper);
  background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-soft);
  font-size: 0.95rem; max-width: 70ch; }

/* ── section header helper ───────────────────────────────────────────────── */
.sec-num { font: 700 0.82rem var(--font-display); letter-spacing: .1em; color: var(--copper); }

/* ── responsive for multi-page components ────────────────────────────────── */
@media (max-width: 980px) {
  .split-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .spec-list { grid-template-columns: 1fr; }
  .spec-list li { grid-template-columns: 1fr; gap: 4px; }
  .spec-list li b { min-width: 0; }
  /* dropdown becomes an inline stacked group inside the mobile menu */
  .has-dropdown { display: block; width: 100%; }
  .dropdown-toggle { width: 100%; justify-content: space-between; padding: 14px 0;
    border-bottom: 1px solid var(--line); }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; background: none; backdrop-filter: none; border: 0; box-shadow: none; padding: 4px 0 8px 14px; }
  .dropdown a { padding: 10px 0; }
}
@media (max-width: 460px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ── harness assembly board (formboard) ──────────────────────────────────── */
.formboard-wrap { margin-top: 8px; }
.formboard { width: 100%; height: auto; display: block; }
.hb-wire { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.hb-trunk { stroke-width: 9; }
.hb-core  { fill: none; stroke: #808187; stroke-width: 2; stroke-linecap: round; }
.hb-branch { fill: none; stroke: #35363c; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.hb-flow { fill: none; stroke: var(--copper); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 2 15; animation: hx-dashflow 1.1s linear infinite;
  filter: drop-shadow(0 0 4px rgba(194,112,44,.5)); }
.hb-housing { fill: #23242a; stroke: #0d0e10; stroke-width: 2; stroke-linejoin: round; }
.hb-housing-2 { fill: #34363c; }
.hb-face { fill: #3d3f46; }
.hb-boot { fill: #4a4c52; stroke: #17181b; stroke-width: 2; }
.hb-pin { fill: var(--copper); }
.hb-tie { fill: none; stroke: #8a8a90; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hb-ring { fill: none; stroke: var(--copper); stroke-width: 6; }
.hb-ring-h { fill: var(--bg); stroke: var(--copper); stroke-width: 3; }
.hb-lug { fill: none; stroke: var(--copper); stroke-width: 6; stroke-linecap: round; }
.hb-blade { fill: #cdcdc9; stroke: #56575b; stroke-width: 1.6; }
.hb-wrap line { stroke: #62636a; stroke-width: 2; stroke-linecap: round; }
.hb-node { fill: var(--bg); stroke: var(--ink); stroke-width: 2.4; }
.hb-leader { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.hb-label { fill: var(--ink-faint); font-family: var(--font-display); font-weight: 600;
  font-size: 13px; letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) { .hb-flow { animation: none; } }

/* ============================================================================
   3D PARALLAX TILT CARDS — rotate toward the cursor on mouse move
   ========================================================================= */
/* spaced, individually-bordered cards so they can tilt without clipping */
.card-grid, .value-grid, .tile-grid, .team-grid {
  gap: clamp(12px, 1.4vw, 18px);
  background: none; border: 0; border-radius: 0; overflow: visible;
}
.card, .value, .tile, .team-member {
  border: 1px solid var(--line); border-radius: var(--radius); will-change: transform;
  transform: perspective(950px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, 1));
  transition: box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.card { overflow: visible; }
/* smooth ease-back once the pointer leaves */
.card.tilt-return, .value.tilt-return, .tile.tilt-return, .team-member.tilt-return {
  transition: transform 0.6s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover, .value:hover, .tile:hover, .team-member:hover {
  box-shadow: 0 26px 52px rgba(17, 17, 19, 0.14); border-color: var(--line-strong);
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .card, .value, .tile, .team-member { transform: none; }
}
