/* Hercules GmbH - site.css
   Palette from the logo: deep navy + brass gold. Machine renders are light steel-blue,
   so the page stays dark and quiet around them. Recurring motif: the three coloured
   identification stripes that mark a tread on the line (yellow / white / blue). */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-vf.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-vf.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-vf.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #0A1220;
  --bg2: #0D1729;
  --panel: #111D31;
  --panel2: #15233A;
  --line: rgba(150, 172, 204, .14);
  --line2: rgba(150, 172, 204, .26);
  --ink: #ECEFF4;
  --ink2: #C9D2DE;
  --muted: #8E9CB1;
  --gold: #D9A54A;
  --gold2: #F2C878;
  --gold-ink: #A87523;
  --steel: #7F9BB8;
  --s1: #E3B21B; --s2: #E9ECEF; --s3: #3F7FE0;           /* tread marking stripes */
  --paper: #EDEFF2; --paper2: #E2E6EB; --navy-ink: #0F1F33;
  --f-d: "Archivo", "Inter", system-ui, sans-serif;
  --f-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-m: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1280px;
  --pad: clamp(16px, 4vw, 56px);
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --navh: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--navh); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-b); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-d); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--f-m); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--navy-ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--navy-ink); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.35em; border-radius: 999px; background: var(--gold); color: #13100A;
  font: 600 .95rem/1 var(--f-b); text-decoration: none; border: 1px solid var(--gold); cursor: pointer; transition: background .25s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn:hover { background: var(--gold2); transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(217, 165, 74, .55); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .05); border-color: var(--ink2); box-shadow: none; }
.btn--sm { padding: .7em 1.1em; font-size: .86rem; }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--navh); display: flex; align-items: center; gap: 24px; padding: 0 var(--pad);
  transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(10, 18, 32, .94); border-bottom-color: var(--line); }
.nav__brand img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 26px; margin: 0 auto; }
.nav__links a { text-decoration: none; color: var(--ink2); font-size: .92rem; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover, .nav__links a.is-on { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-on::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang { display: flex; border: 1px solid var(--line2); border-radius: 999px; padding: 3px; }
.lang a { font: 600 .72rem/1 var(--f-m); padding: 6px 9px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.lang a.is-on { background: var(--panel2); color: var(--gold2); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); transition: transform .3s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.drawer { position: fixed; inset: var(--navh) 0 0 0; z-index: 49; background: rgba(10, 18, 32, .97); backdrop-filter: blur(10px); padding: 28px var(--pad); display: flex; flex-direction: column; gap: 28px; }
.drawer[hidden] { display: none; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font: 600 1.6rem/1.2 var(--f-d); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer__lang { display: flex; gap: 10px; }
.drawer__lang a { font: 600 .85rem var(--f-m); text-decoration: none; padding: 8px 12px; border: 1px solid var(--line2); border-radius: 999px; color: var(--muted); }
.drawer__lang a.is-on { color: var(--gold2); border-color: var(--gold); }
.drawer .btn { align-self: flex-start; }

/* ---------------------------------------------------------------- shared */
.section { padding: clamp(88px, 12vw, 160px) 0; position: relative; }
.eyebrow { font: 600 .74rem/1 var(--f-m); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.head h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); max-width: 16ch; }
.head .lede { margin-top: 24px; color: var(--ink2); font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 62ch; }
.head--center { text-align: center; }
.head--center h2, .head--center .lede { margin-left: auto; margin-right: auto; }
.head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.stripes { display: flex; gap: 6px; }
.stripes i { width: 48px; height: 3px; border-radius: 2px; }
.stripes i:nth-child(1) { background: var(--s1); } .stripes i:nth-child(2) { background: var(--s2); } .stripes i:nth-child(3) { background: var(--s3); }
.stripes--sm i { width: 26px; height: 2px; }
.ticks li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--line); color: var(--ink2); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 6px; border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: rotate(-45deg); }

/* render stage + hotspots */
.stage { position: relative; margin: 0; }
.stage img { width: 100%; height: auto; }
.stage__img { position: relative; }
.stage--frame { border: 1px solid var(--line); border-radius: var(--r); background:
  radial-gradient(60% 70% at 55% 45%, rgba(63, 98, 140, .22), transparent 70%),
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px, var(--bg2);
  background-blend-mode: normal; }
.stage--frame::before, .stage--frame::after { content: ""; position: absolute; width: 18px; height: 18px; border: 1.5px solid var(--gold); opacity: .8; pointer-events: none; }
.stage--frame::before { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.stage--frame::after { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }
.stage--frame { padding-bottom: 38px; }
.frame { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; color: var(--muted); font-size: .66rem; pointer-events: none; }
.hs { position: absolute; transform: translate(-50%, -50%); z-index: 3; }
.hs i { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217, 165, 74, .25), 0 0 18px rgba(242, 200, 120, .7); }
.hs i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(242, 200, 120, .7); animation: ping 2.4s var(--ease) infinite; }
.hs b { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 600 .72rem/1 var(--f-m); letter-spacing: .05em; text-transform: uppercase;
  padding: 8px 10px; border-radius: 6px; background: rgba(13, 23, 41, .94); border: 1px solid var(--line2); color: var(--ink); }
.hs b::before { content: ""; position: absolute; right: 100%; top: 50%; width: 10px; height: 1px; background: var(--gold); }
.hs--l b { left: auto; right: 22px; } .hs--l b::before { right: auto; left: 100%; }
.hs--t b, .hs--b b { left: 50%; top: auto; bottom: 26px; transform: translateX(-50%); }
.hs--b b { bottom: auto; top: 26px; }
.hs--t b::before, .hs--b b::before { right: auto; left: 50%; top: 100%; width: 1px; height: 12px; }
.hs--b b::before { top: auto; bottom: 100%; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(2.1); opacity: 0; } }

.pos { position: absolute; transform: translate(-50%, -50%); z-index: 3; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 700 .7rem/1 var(--f-m); color: var(--gold2); background: rgba(10, 18, 32, .85); border: 1.5px solid var(--gold); transition: background .25s, color .25s, transform .3s var(--ease), box-shadow .3s; }
.pos.is-on { background: var(--gold); color: #13100A; transform: translate(-50%, -50%) scale(1.2); box-shadow: 0 0 0 6px rgba(217, 165, 74, .2), 0 0 22px rgba(242, 200, 120, .6); }
.js .pos { opacity: 0; } .js .pos.is-in { opacity: 1; transition: opacity .5s var(--ease) var(--dl, 0s), background .25s, color .25s, transform .3s var(--ease), box-shadow .3s; }
.callouts { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 18px; padding: 14px 18px 42px; border-top: 1px solid var(--line); }
.callouts li { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; font-size: .86rem; color: var(--ink2); cursor: default; transition: color .2s; }
.callouts li b { color: var(--gold); min-width: 14px; }
.callouts li.is-on { color: var(--ink); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); grid-template-rows: 1fr auto;
  padding: calc(var(--navh) + 32px) var(--pad) 28px; gap: 16px 0; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg .grid { position: absolute; inset: 0; background: linear-gradient(rgba(150, 172, 204, .06) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(150, 172, 204, .06) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(70% 70% at 65% 45%, #000 20%, transparent 75%); }
.hero__bg .glow { position: absolute; width: 70vw; height: 70vw; right: -12vw; top: -8vw; background: radial-gradient(closest-side, rgba(63, 98, 140, .42), rgba(63, 98, 140, 0)); filter: blur(10px); }
.hero__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent, var(--bg)); }
.hero__copy { align-self: center; position: relative; z-index: 2; max-width: 640px; padding-bottom: 20px; }
.hero__h1 { font-size: clamp(2.3rem, 3.9vw, 4.1rem); line-height: 1.04; letter-spacing: -.03em; hyphens: manual; }
.hero__h1 .ln { display: block; }
.hero__h1 .ln--gold { color: var(--gold2); }
.hero .stripes { margin: 30px 0 26px; }
.hero__lede { color: var(--ink2); font-size: clamp(1.02rem, 1.25vw, 1.15rem); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__stage { align-self: center; margin-right: calc(var(--pad) * -1 - 6vw); margin-left: -14vw; z-index: 1; }
.hero__stage picture { display: block; will-change: transform; }
.stage__cap { position: absolute; left: 34%; bottom: 7%; color: var(--muted); font-size: .62rem; }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.flow__p { fill: none; stroke: url(#flowg); stroke-width: .45; vector-effect: non-scaling-stroke; stroke-width: 3px; stroke-linecap: round; stroke-dasharray: 8 92; animation: flow 3.2s linear infinite; filter: drop-shadow(0 0 4px rgba(242, 200, 120, .9)); }
@keyframes flow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); position: relative; z-index: 2; }
.facts li { padding: 20px 20px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.facts li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.facts b { font: 700 clamp(1.25rem, 2vw, 1.7rem)/1 var(--f-d); color: var(--ink); letter-spacing: -.02em; }
.facts span { color: var(--muted); font-size: .86rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 8px; writing-mode: horizontal-tb; display: none; writing-mode: vertical-rl; color: var(--muted); text-decoration: none; display: flex; align-items: center; gap: 12px; font-size: .62rem; }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------------------------------------------------------------- role */
.role__cols { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 0 28px; margin-top: 64px; align-items: stretch; }
.role__col { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 32px; }
.role__col h3 { color: var(--muted); margin-bottom: 18px; font-size: .74rem; }
.role__col li { display: grid; grid-template-columns: 36px 1fr; padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink2); }
.role__col li .mono { color: var(--steel); padding-top: .3em; }
.role__col--gain { background: linear-gradient(160deg, rgba(217, 165, 74, .12), rgba(217, 165, 74, .02) 60%), var(--panel); border-color: rgba(217, 165, 74, .32); }
.role__col--gain li { color: var(--ink); }
.role__col--gain li .mono { color: var(--gold); font-size: 1rem; padding-top: 0; }
.role__arrow { display: flex; align-items: center; justify-content: center; }
.role__arrow svg { width: 52px; height: 18px; overflow: visible; }
.role__arrow path { fill: none; stroke: var(--gold); stroke-width: 1.6; }

/* ---------------------------------------------------------------- orbit */
.orbit { position: relative; }
.orbit__pin { position: relative; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.orbit__cv, .orbit__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.orbit__fallback { display: none; }
.no-seq .orbit__fallback { display: block; }
.orbit__pin::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 18, 32, .92) 0%, rgba(10, 18, 32, .55) 32%, transparent 55%), linear-gradient(var(--bg), transparent 14%, transparent 86%, var(--bg)); }
.orbit__copy { position: relative; z-index: 2; width: 100%; display: grid; grid-template-rows: auto 1fr; gap: 40px; padding-top: var(--navh); }
.orbit__copy .head { max-width: 520px; }
.orbit__copy .head h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); }
.orbit__steps { position: relative; max-width: 440px; min-height: 170px; }
.ostep { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s var(--ease); }
.ostep.is-on { opacity: 1; transform: none; }
.ostep .mono { color: var(--muted); } .ostep .mono b { color: var(--gold2); }
.ostep h3 { font-size: 1.6rem; margin: 10px 0 8px; }
.ostep p:last-child { color: var(--ink2); }
.orbit__dial { position: absolute; right: var(--pad); bottom: 40px; z-index: 2; display: grid; grid-template-columns: auto auto; gap: 6px 14px; align-items: baseline; color: var(--muted); }
.orbit__dial b { font: 600 1.4rem/1 var(--f-m); color: var(--ink); letter-spacing: 0; }
.orbit__dial i { grid-column: 1 / -1; width: 220px; height: 2px; background: var(--line); position: relative; }
.orbit__dial em { position: absolute; left: 0; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); }

/* ---------------------------------------------------------------- line (horizontal pan) */
.line { padding: clamp(88px, 12vw, 150px) 0 0; position: relative; }
.line__pin { position: relative; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.line__viewport { position: relative; height: min(52svh, 560px); overflow: hidden; }
.line__stage { position: absolute; left: 0; top: 0; height: 100%; width: auto; aspect-ratio: 7098 / 796; will-change: transform; backface-visibility: hidden; }
.line__stage img { height: 100%; width: auto; max-width: none; }
.line__viewport::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px; opacity: .55; }
.line__viewport::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0, transparent 6%, transparent 94%, var(--bg)); }
.lhs { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold); background: rgba(10, 18, 32, .8); cursor: pointer; display: grid; place-items: center; z-index: 2; transition: background .3s, transform .3s var(--ease); }
.lhs span { font-size: .62rem; color: var(--gold2); letter-spacing: 0; }
.lhs.is-on { background: var(--gold); transform: translate(-50%, -50%) scale(1.15); box-shadow: 0 0 0 6px rgba(217, 165, 74, .22), 0 0 24px rgba(242, 200, 120, .6); }
.lhs.is-on span { color: #13100A; font-weight: 700; }
.line__hud { max-width: var(--wrap); width: 100%; margin: 26px auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr; gap: 14px; }
.line__zones { display: grid; grid-template-columns: 8% 18% 74%; color: var(--muted); font-size: .64rem; }
.line__zones span { border-left: 1px solid var(--line2); padding-left: 8px; }
.line__zones span.is-on { color: var(--gold2); border-color: var(--gold); }
.line__bar { height: 2px; background: var(--line); position: relative; border-radius: 2px; }
.line__bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--s1), var(--gold)); }
.line__cards { position: relative; min-height: 118px; }
.lcard { position: absolute; inset: 0 auto auto 0; max-width: 680px; opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s var(--ease); pointer-events: none; }
.lcard.is-on { opacity: 1; transform: none; pointer-events: auto; }
.lcard .mono { color: var(--muted); } .lcard .mono b { color: var(--gold2); }
.lcard h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); margin: 10px 0 8px; }
.lcard p:last-child { color: var(--ink2); }
.line__hint { color: var(--muted); font-size: .64rem; }
.line__hint .m { display: none; }

/* ---------------------------------------------------------------- services / pillars */
.svc { padding-bottom: 60px; }
.pillar { max-width: calc(var(--wrap) + 160px); margin: clamp(80px, 10vw, 140px) auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.pillar--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pillar--rev .pillar__text { order: 2; } .pillar--rev .pillar__stage { order: 1; }
.pillar__stage { position: sticky; top: calc(var(--navh) + 28px); }
.pillar__text h3 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); margin: 14px 0 18px; max-width: 14ch; }
.pillar__text > p { color: var(--ink2); margin-bottom: 26px; }
.tag { color: var(--gold); }
.tag::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--gold); margin-right: 10px; transform: rotate(45deg) translateY(-1px); }
.case { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; background: var(--panel); }
.case__h { color: var(--muted); margin-bottom: 14px; }
.case dl { margin: 0; display: grid; gap: 12px; }
.case dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.case dt { color: var(--steel); padding-top: .25em; }
.case dd { margin: 0; color: var(--ink); font-size: .96rem; }
.case dl div:last-child dt { color: var(--gold); }
.xs-wrap { max-width: calc(var(--wrap) + 160px); margin: clamp(56px, 7vw, 96px) auto 0; padding: 0 var(--pad); }
.xs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: center; border-top: 1px solid var(--line); padding-top: 44px; margin-top: 10px; }
.xs h4 { font-size: 1.5rem; margin-bottom: 8px; }
.xs__text > p { color: var(--muted); margin-bottom: 18px; }
.xs__legend li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); cursor: default; color: var(--ink2); transition: color .25s; font-size: .95rem; }
.xs__legend li i { width: 16px; height: 10px; border-radius: 2px; }
.xs__legend li.is-on { color: var(--ink); }
.xs__svg { width: 100%; height: auto; overflow: visible; }
.xs__svg polygon { stroke: rgba(10, 18, 32, .9); stroke-width: 1.2; transition: opacity .3s, filter .3s, transform .3s; cursor: pointer; }
.xs__svg.has-on polygon[data-l]:not(.is-on) { opacity: .25; }
.xs__svg polygon.is-on { filter: drop-shadow(0 0 10px rgba(242, 200, 120, .45)); }
.xs__hatch { pointer-events: none; }
.xs__dim path { stroke: var(--muted); fill: none; stroke-width: 1; }
.xs__dim text { fill: var(--muted); font: 10px var(--f-m); text-anchor: middle; }
[data-l="cap"] { --c: #7E9CC0; } [data-l="base"] { --c: #3E5B80; } [data-l="wing"] { --c: #A88347; } [data-l="cushion"] { --c: #B9C6D6; } [data-l="chimney"] { --c: #F2C46E; }
.xs__svg polygon[data-l] { fill: var(--c); }
.xs__legend li i { background: var(--c); }
.pillar--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.pillar--wide .pillar__stage { position: relative; top: 0; }
.pillar__stage--ds { grid-row: span 2; }
.pillar__stage--sk { grid-column: 1; }
.groups { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 16px; }
.groups li { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.groups li:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.groups .mono { color: var(--gold); }
.groups h4 { font-size: 1.2rem; margin: 10px 0 8px; }
.groups p { color: var(--ink2); font-size: .95rem; }
.pillar--wide .case { grid-column: 1 / -1; }
.pillar--wide .case dl { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar--wide .case dl div { grid-template-columns: 1fr; gap: 6px; }

/* ---------------------------------------------------------------- process (light) */
.section--light { background: var(--paper); color: var(--navy-ink); }
.section--light::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(15, 31, 51, .05) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(15, 31, 51, .05) 1px, transparent 1px) 0 0 / 32px 32px; pointer-events: none; }
.section--light .eyebrow { color: var(--gold-ink); }
.section--light .head .lede { color: #34465F; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 72px; }
.steps__rail { position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: rgba(15, 31, 51, .14); }
.steps__rail i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-ink), var(--gold)); }
.step { position: relative; padding: 0 22px 0 0; }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy-ink); color: var(--navy-ink); font-size: .74rem; font-weight: 700; position: relative; z-index: 1; margin-bottom: 26px; }
.step h3 { font-size: 1.28rem; margin-bottom: 10px; }
.step p { color: #34465F; font-size: .95rem; }
.step__r { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(15, 31, 51, .25); color: var(--navy-ink) !important; font-weight: 500; }
.step__r .mono { display: block; color: var(--gold-ink); margin-bottom: 6px; font-size: .64rem; }
.proc__note { margin-top: 56px; max-width: 70ch; padding: 20px 24px; border-left: 3px solid var(--gold); background: rgba(255, 255, 255, .6); color: #22344C; border-radius: 0 10px 10px 0; }

/* ---------------------------------------------------------------- scan */
.scan__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.scan .ticks { margin-top: 30px; }
.scan__stat { margin-top: 32px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.scan__stat b { font: 700 clamp(2.4rem, 4.4vw, 3.8rem)/1 var(--f-d); color: var(--gold2); letter-spacing: -.03em; }
.scan__stat span { color: var(--muted); max-width: 18ch; }
.scan__viz { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.scan__viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scan__hud { position: absolute; left: 16px; top: 14px; display: flex; gap: 18px; color: #7fc3e6; font-size: .64rem; }
.scan__hud b { color: var(--ink); }
#scancad { color: var(--muted); transition: color .4s; }
#scancad.is-on { color: var(--gold2); }

/* ---------------------------------------------------------------- regions */
.map { position: relative; margin: 64px auto 0; max-width: 1180px; }
.map img { width: 100%; height: auto; }
.hub { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(217, 165, 74, .2), 0 0 14px rgba(242, 200, 120, .8); transition: transform .35s var(--ease), opacity .35s; }
.hub::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(242, 200, 120, .6); animation: ping 3s var(--ease) infinite; animation-delay: calc(var(--d, 0) * 1s); }
.map.has-on .hub:not(.is-on) { opacity: .25; }
.hub.is-on { transform: scale(1.5); }
.hub--static { position: relative; display: inline-block; margin: 0 10px 0 0; vertical-align: middle; }
.map__legend { position: absolute; left: 0; bottom: 0; color: var(--muted); font-size: .64rem; }
.regions { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.regions li { padding: 24px 22px 8px 0; cursor: default; transition: color .3s; outline: none; }
.regions li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.regions .mono { color: var(--gold); }
.regions h3 { font-size: 1.3rem; margin: 10px 0 6px; }
.regions p { color: var(--muted); font-size: .92rem; }
.regions li.is-on h3 { color: var(--gold2); }

/* ---------------------------------------------------------------- why */
.why { background: linear-gradient(180deg, var(--bg), var(--bg2)); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 60px; border-top: 1px solid var(--line); }
.why__grid li { padding: 30px 30px 34px 0; border-bottom: 1px solid var(--line); }
.why__grid li:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.why__grid .mono { color: var(--gold); }
.why__grid h3 { font-size: 1.35rem; margin: 12px 0 8px; }
.why__grid p { color: var(--ink2); }

/* ---------------------------------------------------------------- faq */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq .head h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 600 1.12rem/1.35 var(--f-d); letter-spacing: -.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line2); position: relative; transition: transform .35s var(--ease), border-color .3s; }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--gold); transform: translate(-50%, -50%); }
.faq__list summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq__list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq__list details p { color: var(--ink2); padding: 0 50px 26px 0; max-width: 70ch; }

/* ---------------------------------------------------------------- contact */
.contact { background: radial-gradient(60% 80% at 80% 20%, rgba(63, 98, 140, .25), transparent 70%), var(--bg2); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.person { display: flex; gap: 20px; align-items: center; margin-top: 40px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); max-width: 520px; }
.person__img { width: 84px; height: 84px; border-radius: 12px; background: linear-gradient(150deg, #1a2c47, #0d1729); display: grid; place-items: center; flex: none; border: 1px solid var(--line2); }
.person__img img { width: 44px; height: auto; }
.person__role { color: var(--gold); }
.person__name { font: 700 1.4rem/1.2 var(--f-d); margin: 6px 0 2px; }
.person__title { color: var(--muted); font-size: .92rem; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact__data { margin: 36px 0 0; display: grid; gap: 14px; font-size: .74rem; text-transform: none; letter-spacing: .02em; }
.contact__data div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.contact__data dt { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact__data dd { margin: 0; color: var(--ink2); }
.contact__data a { text-decoration: none; } .contact__data a:hover { color: var(--gold2); }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.form h3 { color: var(--muted); font-size: .74rem; }
.form label:not(.chip) > span, .form legend { display: block; font-size: .82rem; color: var(--ink2); margin-bottom: 8px; padding: 0; }
.form input:not([type=checkbox]), .form textarea { width: 100%; background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; color: var(--ink); font: 400 1rem var(--f-b); padding: 13px 14px; transition: border-color .25s, box-shadow .25s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 165, 74, .18); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line2); font-size: .86rem; color: var(--ink2); cursor: pointer; transition: all .2s; }
.chip input:checked + span { background: rgba(217, 165, 74, .16); border-color: var(--gold); color: var(--gold2); }
.chip input:focus-visible + span { outline: 2px solid var(--gold2); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form__note { color: var(--muted); font-size: .8rem; }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr; gap: 32px; }
.footer__brand img { height: 38px; width: auto; }
.footer__brand p { color: var(--muted); margin: 18px 0; max-width: 34ch; font-size: .95rem; }
.footer h4 { color: var(--muted); margin-bottom: 14px; font-size: .7rem; }
.footer p { color: var(--ink2); font-size: .92rem; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--gold2); }
.footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem; }
.footer__models { color: #5f6e84; font-size: .78rem; margin-top: 14px; }

/* ---------------------------------------------------------------- reveal */
.js [data-rv] { opacity: 0; transform: translateY(26px); }
.js [data-rv].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--dl, 0s); }
.js .hs { opacity: 0; } .js .hs.is-in { opacity: 1; transition: opacity .6s var(--ease); transition-delay: var(--dl, 0s); }
.js .hs b { opacity: 0; transform: translate(-6px, -50%); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--dl, 0s) + .25s); }
.js .hs.is-in b { opacity: 1; transform: translate(0, -50%); }
.js .hs--l b { transform: translate(6px, -50%); }
.js .hs--t b, .js .hs--b b { transform: translate(-50%, 6px); }
.js .hs.is-in.hs--t b, .js .hs.is-in.hs--b b { transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav .btn--sm { display: none; }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding-top: calc(var(--navh) + 28px); }
  .hero__copy { max-width: 720px; }
  .hero__stage { margin: 0 calc(var(--pad) * -1) 0 -6vw; }
  .stage__cap { display: none; }
  .hero__scroll { display: none; }
  .pillar, .pillar--wide { grid-template-columns: 1fr; }
  .pillar--rev .pillar__text, .pillar--rev .pillar__stage { order: initial; }
  .pillar__stage { position: relative; top: 0; }
  .pillar .pillar__text { display: contents; }
  .pillar .tag { order: 1; } .pillar h3 { order: 2; } .pillar__text > p { order: 3; }
  .pillar .pillar__stage { order: 4; margin: 4px 0 8px; } .pillar .ticks { order: 5; } .pillar .case { order: 6; }
  .pillar .groups { order: 7; } .pillar--wide .case { order: 8; }
  .pillar__text h3 { margin: 0; }
  .pillar__stage--sk { grid-column: auto; }
  .xs { grid-template-columns: 1fr; }
  .scan__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .role__cols { grid-template-columns: 1fr; gap: 14px; }
  .role__arrow { height: 36px; } .role__arrow svg { transform: rotate(90deg); }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hs b { display: none; }
  .callouts { grid-template-columns: 1fr 1fr; }
  .pillar--rev { grid-template-columns: 1fr; }
  .hs i { width: 11px; height: 11px; }
  .steps { grid-template-columns: 1fr; gap: 30px; margin-top: 48px; }
  .steps__rail { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps__rail i { transform-origin: top; transform: scaleY(0); }
  .step { padding: 0 0 0 64px; }
  .step__n { position: absolute; left: 0; top: -6px; margin: 0; }
  .groups, .why__grid { grid-template-columns: 1fr; }
  .groups li, .why__grid li { padding-left: 0 !important; border-left: 0 !important; padding-right: 0; }
  .regions { grid-template-columns: 1fr 1fr; }
  .regions li { padding-left: 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .pillar--wide .case dl { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .line__pin { height: auto; padding: 24px 0 0; }
  .line__viewport { height: 46svh; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .line__viewport::-webkit-scrollbar { display: none; }
  .line__stage { position: relative; }
  .line__hint .d { display: none; } .line__hint .m { display: inline; }
  .line__zones { display: flex; gap: 16px; }
  .orbit__pin::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 18, 32, .85) 34%, transparent 58%, transparent 80%, var(--bg)); }
  .orbit__copy { align-self: start; padding-top: calc(var(--navh) + 8px); gap: 14px; }
  .orbit__copy .head .lede { display: none; }
  .orbit__steps { position: absolute; left: var(--pad); right: var(--pad); bottom: 70px; min-height: 150px; }
  .orbit__cv { top: 18%; height: 70%; }
  .orbit__dial { bottom: 24px; left: var(--pad); right: auto; }
  .line__cards { min-height: 200px; }
  .contact__data div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .lang a { padding: 6px 7px; }
  .nav__brand img { height: 28px; }
  .hero__h1 { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .hero .stripes { margin: 20px 0 18px; }
  .hero__lede { font-size: .98rem; }
  .hero__cta { margin-top: 24px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .eyebrow { letter-spacing: .12em; font-size: .68rem; }
  .regions { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .case dl div { grid-template-columns: 1fr; gap: 4px; }
  .faq__list details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-rv], .js .hs, .js .hs b { opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------------------- scroll sequences (journey, retrofit) */
.jrn, .rbd { position: relative; }
.seq__pin { position: relative; height: 100svh; overflow: hidden; }
.seq__cv, .seq__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seq__fallback { display: none; }
.no-seq .seq__fallback { display: block; }
.seq__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 18, 32, .92) 0%, rgba(10, 18, 32, .72) 26%, rgba(10, 18, 32, 0) 50%), linear-gradient(180deg, rgba(10, 18, 32, .55) 0%, transparent 22%, transparent 78%, rgba(10, 18, 32, .9) 100%); }
.seq__copy { position: relative; z-index: 2; height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; align-content: start; gap: 22px; padding-top: calc(var(--navh) + 18px); padding-bottom: 92px; }
.seq__copy .head { max-width: 500px; }
.seq__copy .head h2 { font-size: clamp(1.9rem, 3.1vw, 2.9rem); }
.seq__copy .head .lede { font-size: 1rem; }
.seq__steps { position: relative; max-width: 430px; min-height: 180px; }
.sstep { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(12px); transition: opacity .45s, transform .45s var(--ease); pointer-events: none; }
.sstep.is-on { opacity: 1; transform: none; }
.sstep .mono { color: var(--muted); font-size: .72rem; }
.sstep .mono b { color: var(--gold2); font-size: .9rem; margin-right: 4px; }
.sstep h3 { font-size: 1.45rem; margin: 8px 0 8px; }
.sstep p:last-child { color: var(--ink2); }
.lapse { font-style: normal; color: var(--bg); background: var(--gold2); padding: 1px 7px; border-radius: 99px; font-size: .62rem; margin-left: 8px; letter-spacing: .06em; }
.seq__note { color: var(--muted); font-size: .64rem; max-width: 430px; align-self: end; }
.seq__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; height: 2px; background: var(--line); z-index: 2; border-radius: 2px; }
.seq__bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--s1), var(--gold)); }
.seg { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line2); border-radius: 99px; background: rgba(13, 23, 41, .8); width: max-content; max-width: 100%; }
.seg button { font: 600 .78rem/1 var(--f-b); color: var(--ink2); background: none; border: 0; border-radius: 99px; padding: 10px 16px; cursor: pointer; transition: background .25s, color .25s; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button.is-on { background: var(--gold); color: #1A1306; }
.seg--sm button { padding: 8px 13px; font-size: .74rem; }
.jrn__map { position: absolute; right: var(--pad); bottom: 46px; width: min(520px, 42vw); z-index: 2; padding: 12px 14px 8px; border: 1px solid var(--line2); border-radius: 12px; background: rgba(10, 18, 32, .78); margin: 0; }
.jrn__map figcaption { color: var(--muted); font-size: .6rem; margin-bottom: 4px; }
.jrn__map svg { width: 100%; height: auto; display: block; overflow: visible; }
.m-floor { stroke: var(--line2); stroke-width: 1; }
.m-plat { fill: rgba(127, 155, 184, .45); }
.m-cool { fill: rgba(127, 155, 184, .12); stroke: rgba(127, 155, 184, .45); stroke-width: 1; }
.m-head { fill: rgba(217, 165, 74, .55); }
.m-ext { stroke: rgba(127, 155, 184, .5); stroke-width: 6; fill: none; stroke-linecap: round; }
.m-path { fill: none; stroke: rgba(201, 210, 222, .35); stroke-width: 1.6; stroke-linejoin: round; display: none; }
.m-path.is-on { display: inline; }
.m-done { fill: none; stroke: var(--gold2); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.m-dot { fill: var(--gold2); stroke: var(--bg); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(242, 200, 120, .8)); }
.rbd__ticks { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; height: 2px; z-index: 3; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.rbd__ticks li { position: absolute; top: -4px; width: 2px; height: 10px; background: var(--line2); }
.rbd__ticks li span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: .56rem; color: var(--muted); transition: color .3s; }
.rbd__ticks li.is-done { background: var(--gold); }
.rbd__ticks li.is-on span { color: var(--gold2); }

/* ---------------------------------------------------------------- tire build-up explorer */
.tire { max-width: calc(var(--wrap) + 160px); margin: clamp(56px, 7vw, 96px) auto 0; padding: 44px var(--pad) 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: center; border-top: 1px solid var(--line); }
.tire__text h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 8px 0 10px; }
.tire__text > p { color: var(--muted); margin-bottom: 18px; }
.tire__legend { margin: 18px 0 16px; }
.tire__legend li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink2); font-size: .9rem; }
.tire__legend li i { width: 16px; height: 10px; border-radius: 2px; background: var(--c); flex: none; }
.tire__legend li:not(.is-ext) { color: var(--muted); }
.tire__ctrl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tbtn { font: 600 .8rem/1 var(--f-b); color: var(--ink); background: var(--panel2); border: 1px solid var(--line2); border-radius: 99px; padding: 10px 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.tbtn:hover { border-color: var(--gold); }
.tbtn--play { background: var(--gold); color: #1A1306; border-color: var(--gold); min-width: 104px; }
.tire__step { flex-basis: 100%; color: var(--gold2); font-size: .74rem; margin-top: 10px; min-height: 2.6em; }
.tire__note { color: var(--muted); font-size: .72rem; margin-top: 14px; }
.tire__fig { position: relative; margin: 0; aspect-ratio: 640 / 330; }
.tire__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; transition: opacity .4s; pointer-events: none; }
.tire__svg.is-on { opacity: 1; pointer-events: auto; }
.t-axis { stroke: var(--line2); stroke-dasharray: 4 5; stroke-width: 1; }
.t-rim { fill: none; stroke: rgba(127, 155, 184, .55); stroke-width: 1.4; stroke-dasharray: 2 3; }
.t-ghost { fill: rgba(127, 155, 184, .05); stroke: rgba(127, 155, 184, .28); stroke-width: 1; stroke-dasharray: 3 4; }
.tp { fill: var(--c); stroke: rgba(10, 18, 32, .85); stroke-width: .6; stroke-linejoin: round; opacity: 0; transform: translate(var(--dx), var(--dy)); transition: transform .9s var(--ease), opacity .6s; }
.tp.is-in { opacity: 1; transform: none; }
.tire__legend [data-g="tread"] { --c: #E8B85A; } .tire__legend [data-g="sidewall"] { --c: #7FA7C9; } .tire__legend [data-g="apex"] { --c: #B7A6E0; }
.tire__legend [data-g="liner"] { --c: #6E8BA6; } .tire__legend [data-g="cord"] { --c: #4A5B72; } .tire__legend [data-g="core"] { --c: #A9B2BE; }
.tp--cap { --c: #F2C878; } .tp--base { --c: #C99238; } .tp--cushion { --c: #9C6F28; } .tp--wing { --c: #DDA850; } .tp--chimney { --c: #FFF1C8; }
.tp--sidewall { --c: #7FA7C9; } .tp--rimstrip { --c: #5D88AE; } .tp--shoulderpad { --c: #9DBFDB; }
.tp--apex { --c: #B7A6E0; } .tp--apex2 { --c: #9C88D2; }
.tp--liner { --c: #6E8BA6; } .tp--squeegee { --c: #8AA3BA; }
.tp--ply, .tp--chafer { --c: #4A5B72; } .tp--belt1, .tp--belt2, .tp--belt3, .tp--belt4 { --c: #3B4A5E; } .tp--capply, .tp--edgestrip { --c: #56677E; } .tp--wedge { --c: #6B5E52; }
.tp--core { --c: #A9B2BE; }
.tire__fig.hl .tp { opacity: .22; }
.tire__fig.hl .tp.is-in.is-hl { opacity: 1; }

@media (max-width: 1100px) {
  .tire { grid-template-columns: 1fr; }
  .jrn__map { width: min(460px, 60vw); }
}
@media (max-width: 900px) {
  .seq__shade { background: linear-gradient(180deg, rgba(10, 18, 32, .95) 0%, rgba(10, 18, 32, .82) 30%, transparent 52%, transparent 70%, rgba(10, 18, 32, .95) 100%); }
  .seq__copy { padding-top: calc(var(--navh) + 6px); gap: 12px; }
  .seq__copy .head .lede { display: none; }
  .seq__steps { position: absolute; left: var(--pad); right: var(--pad); bottom: 64px; min-height: 160px; max-width: none; }
  .seq__note { display: none; }
  .seq__cv { top: 14%; height: 64%; }
  .jrn__map { left: var(--pad); right: var(--pad); width: auto; bottom: auto; top: calc(var(--navh) + 128px); padding: 8px 10px 4px; }
  .jrn__map figcaption { display: none; }
  .seg button { padding: 9px 12px; font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tp { transition: none; }
}

/* ---------------------------------------------------------------- chapter films (orbit, journey, retrofit)
   pinned section: copy + chapter list on the left, 16:9 film on the right (text never covers the picture).
   Scrolling moves from chapter to chapter (no snapping); each chapter plays once as a short video. */
.cvs { position: relative; }
.cvs__pin { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--navh) + 14px) var(--pad) 26px; }
.cvs__grid { width: 100%; max-width: 1760px; margin: 0 auto; display: grid; grid-template-columns: minmax(300px, 30fr) minmax(0, 70fr); gap: clamp(24px, 3vw, 56px); align-items: center; }
.cvs__copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cvs__copy .head h2 { font-size: clamp(1.8rem, 2.7vw, 2.7rem); }
.cvs__copy .head .lede { font-size: .98rem; color: var(--ink2); }
.cvs__right { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cvs__stage { margin: 0; min-width: 0; justify-self: end; width: min(100%, calc((100svh - var(--navh) - 96px) * 16 / 9)); }
.cvs__right .cvs__stage { width: min(100%, calc((100svh - var(--navh) - 200px) * 16 / 9)); align-self: flex-end; }
.cvs__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2);
  background: #0A1220 center / cover no-repeat; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.cvs__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.cvs__v.is-on { opacity: 1; }
.cvs__hint { position: absolute; right: 16px; bottom: 14px; margin: 0; display: flex; align-items: center; gap: 10px; font-size: .68rem; color: var(--ink2);
  background: rgba(10, 18, 32, .72); border: 1px solid var(--line2); border-radius: 99px; padding: 7px 12px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.cvs__hint i { width: 8px; height: 8px; border-right: 2px solid var(--gold2); border-bottom: 2px solid var(--gold2); transform: rotate(45deg) translateY(-2px); animation: cvsbob 1.4s ease-in-out infinite; }
@keyframes cvsbob { 50% { transform: rotate(45deg) translate(2px, 0); } }
.cvs__frame.is-ended .cvs__hint { opacity: 1; transform: none; }
.cvs__prog { display: flex; gap: 4px; margin-top: 12px; }
.cvs__prog i { position: relative; flex: var(--d, 1) 1 0; height: 3px; border-radius: 2px; background: var(--line); cursor: pointer; transition: transform .15s; }
.cvs__prog i::before { content: ""; position: absolute; inset: -12px 0; }          /* click area ~27 px high (was clipped to 3 px) */
.cvs__prog i:hover { transform: scaleY(2); }
.cvs__prog i b { position: absolute; inset: 0; border-radius: inherit; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--s1), var(--gold)); }
.cvs__prog i.is-done b { transform: scaleX(1); }
.chaps { list-style: none; margin: 0; padding: 0; }
.chap__t { display: flex; gap: 12px; align-items: baseline; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); color: var(--muted);
  font: 600 .94rem/1.3 var(--f-b); padding: 8px 0; cursor: pointer; transition: color .25s; }
.chap__t:hover { color: var(--ink); }
.chap__t b { color: var(--muted); font-size: .7rem; min-width: 22px; transition: color .25s; }
.chap.is-done .chap__t b { color: var(--gold); }
.chap.is-on .chap__t { color: var(--ink); }
.chap.is-on .chap__t b { color: var(--gold2); }
.chap__tag { font-style: normal; color: var(--bg); background: var(--gold2); padding: 1px 7px; border-radius: 99px; font-size: .58rem; margin-left: 6px; letter-spacing: .05em; }
.chap__d { margin: 0 0 0 34px; max-height: 0; opacity: 0; overflow: hidden; color: var(--ink2); font-size: .9rem; transition: max-height .45s var(--ease), opacity .35s, margin .35s; }
.chap.is-on .chap__d { max-height: 10em; opacity: 1; margin-bottom: 10px; }
.chap.is-off { display: none; }
.chaps--dense .chap__t { padding: 5px 0; font-size: .86rem; }
.cvs__note { color: var(--muted); font-size: .62rem; margin: 0; }
.cvs .seg { margin: -2px 0 0; width: 100%; }
.cvs .seg button { flex: 1 1 auto; min-width: 0; padding: 10px 9px; font-size: .74rem; line-height: 1.2; white-space: normal; text-align: center; }
.cvs .jrn__map { position: relative; right: auto; bottom: auto; width: min(100%, 620px); align-self: flex-end; margin: 0; }
.cvs .orbit__dial { position: absolute; left: 16px; bottom: 14px; right: auto; display: flex; gap: 10px; align-items: baseline; background: rgba(10, 18, 32, .72);
  border: 1px solid var(--line2); border-radius: 99px; padding: 6px 12px; font-size: .64rem; color: var(--muted); }
.cvs .orbit__dial b { font-size: 1rem; }
@media (max-height: 860px) and (min-width: 901px) {
  .cvs__copy .head .lede { display: none; }
  .chaps--dense .chap__t { padding: 3px 0; font-size: .8rem; }
  .chap.is-on .chap__d { font-size: .84rem; }
}
@media (max-width: 900px) {
  .cvs__pin { padding: calc(var(--navh) + 8px) var(--pad) 16px; align-items: start; }
  .cvs__grid { grid-template-columns: 1fr; gap: 14px; }
  .cvs__copy { order: 2; gap: 10px; }
  .cvs__stage, .cvs__right { order: 1; width: 100%; }
  .cvs__right .cvs__stage { width: 100%; }
  .cvs__copy .head .lede { display: none; }
  .cvs__copy .head h2 { font-size: 1.5rem; }
  .cvs__copy .head .eyebrow { margin-bottom: 4px; }
  .chap:not(.is-on) { display: none; }
  .chap__t { border-top: 0; padding-top: 0; }
  .cvs .jrn__map { display: none; }
  .cvs__note { display: none; }
}

/* ---------------------------------------------------------------- profile -> tire, side by side */
.tire { display: block; }
.tire__head { max-width: 760px; margin-bottom: 26px; }
.tire__head h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 8px 0 10px; }
.tire__head > p { color: var(--muted); }
.tire__cols { display: grid; grid-template-columns: minmax(0, 5fr) 56px minmax(0, 6fr); gap: 18px; align-items: stretch; }
.tire__panel { margin: 0; padding: 20px 22px 18px; border: 1px solid var(--line2); border-radius: 16px; background: rgba(13, 23, 41, .55); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tire__panel.xs { display: flex; border-top: 1px solid var(--line2); margin-top: 0; padding-top: 20px; }
.tire__panel figcaption { display: flex; gap: 12px; align-items: baseline; }
.tire__panel figcaption b { color: var(--gold2); font-size: .8rem; }
.tire__panel figcaption strong { display: block; font-size: 1.12rem; color: var(--ink); margin-bottom: 2px; }
.tire__panel figcaption span { color: var(--muted); font-size: .88rem; }
.tire__panel .xs__svg { margin: auto 0; }
.tire__panel .xs__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.tire__panel .xs__legend li { border: 0; padding: 4px 0; font-size: .84rem; cursor: pointer; }
.tire__arrow { display: grid; place-items: center; }
.tire__arrow svg { width: 52px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tire__panel .tire__fig { aspect-ratio: 640 / 330; position: relative; margin: 0; }
.tire__panel .seg { align-self: flex-start; }
.tire__foot { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; margin-top: 18px; align-items: start; }
.tire__foot .tire__legend { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.tire__fig.hl .tp { opacity: .18; }
.tire__fig.hl .tp.is-in.is-hl { opacity: 1; filter: drop-shadow(0 0 6px rgba(242, 200, 120, .6)); }
/* the same colours for the compounds in the profile and in the tire */
[data-l="cap"] { --c: #F2C878; } [data-l="base"] { --c: #C99238; } [data-l="wing"] { --c: #DDA850; } [data-l="cushion"] { --c: #9C6F28; } [data-l="chimney"] { --c: #FFF1C8; }
@media (max-width: 900px) {
  .tire__cols { grid-template-columns: 1fr; }
  .tire__arrow svg { transform: rotate(90deg); }
  .tire__foot { grid-template-columns: 1fr; }
  .tire__foot .tire__legend { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .cvs__hint { right: 10px; bottom: 10px; padding: 6px 9px; }
  .cvs__hint span { display: none; }
  .cvs .orbit__dial { left: 10px; bottom: 10px; padding: 4px 9px; font-size: .56rem; }
  .cvs .orbit__dial b { font-size: .82rem; }
}
/* self-running films: replay button at the end instead of a scroll hint */
.cvs__pin { min-height: min(100svh, 1000px); }
button.cvs__hint { cursor: pointer; font: inherit; font-size: .7rem; color: var(--ink); }
button.cvs__hint i { width: auto; height: auto; border: 0; transform: none; animation: none; font-style: normal; color: var(--gold2); font-size: 1rem; line-height: 1; }
.cvs__frame.is-ended .cvs__hint { pointer-events: auto; }
button.cvs__hint:hover { border-color: var(--gold); }
@media (max-width: 900px) { button.cvs__hint span { display: inline; } }

/* ---------------------------------------------------------------- profile -> tire v2 (self-running) */
.tire__panel figcaption { flex-wrap: wrap; row-gap: 10px; }
.tire__panel figcaption .seg { margin-left: auto; }
.xs__labels path { fill: none; stroke: rgba(201, 210, 222, .35); stroke-width: 1; transition: stroke .3s; }
.xs__labels circle { fill: rgba(201, 210, 222, .55); transition: fill .3s; }
.xs__labels text { fill: var(--muted); font-size: 12px; letter-spacing: .02em; transition: fill .3s; }
.xs__labels g.is-on path { stroke: var(--gold2); }
.xs__labels g.is-on circle { fill: var(--gold2); }
.xs__labels g.is-on text { fill: var(--ink); }
.xs__labels g { cursor: pointer; }
.tire__now { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; min-height: 3.4em; padding-top: 4px; border-top: 1px solid var(--line); }
.tire__now > b { font-size: 1.7rem; color: var(--gold2); line-height: 1; }
.tire__now p { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.35; }
.tire__tag { display: inline-block; margin-left: 10px; font-style: normal; font-size: .62rem; letter-spacing: .06em; padding: 2px 8px; border-radius: 99px; vertical-align: 2px; }
.tire__tag.is-ext { background: var(--gold2); color: #1A1306; }
.tire__tag.is-cal { background: rgba(127, 155, 184, .25); color: var(--ink2); }
.tire__pp { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); background: var(--panel2); cursor: pointer; display: grid; place-items: center; }
.tire__pp i { width: 10px; height: 12px; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); }
.tire.is-paused .tire__pp i { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--gold); margin-left: 3px; }
.tire__dots { display: flex; gap: 6px; }
.tire__dots button { flex: 1; height: 16px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.tire__dots button i { display: block; height: 3px; border-radius: 2px; background: var(--line2); transition: background .3s; }
.tire__dots button.is-done i { background: rgba(217, 165, 74, .55); }
.tire__dots button.is-on i { background: var(--gold); }
.tp.is-new.is-in { animation: tpnew 1.2s var(--ease); }
@keyframes tpnew { 0% { filter: brightness(1.8) drop-shadow(0 0 8px rgba(242, 200, 120, .8)); } 100% { filter: none; } }
.tire.is-tread .tire__arrow svg { animation: arrowpulse 1.1s ease-in-out infinite; }
@keyframes arrowpulse { 50% { transform: translateX(6px); stroke: var(--gold2); } }
.tire__foot { grid-template-columns: 1fr; }
.tire__key { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; color: var(--ink2); font-size: .9rem; }
.tire__key .k { display: inline-flex; align-items: center; gap: 10px; }
.tire__key .k i { width: 28px; height: 10px; border-radius: 3px; }
.tire__key .k--ext i { background: linear-gradient(90deg, #F2C878, #C99238, #C7794A); }
.tire__key .k--cal i { background: linear-gradient(90deg, #4A5B72, #A9B2BE); }
/* extruded parts warm, calendered / wire cool - one message instead of a legend */
.tp--sidewall { --c: #C7794A; } .tp--rimstrip { --c: #A9643A; } .tp--shoulderpad { --c: #D98E5C; }
.tp--apex { --c: #E3C08A; } .tp--apex2 { --c: #D4AE72; }
.tp--liner { --c: #B98545; } .tp--squeegee { --c: #A57538; }
.tire__fig .tp { stroke: rgba(10, 18, 32, .9); }
@media (max-width: 900px) {
  .tire__panel figcaption .seg { margin-left: 0; }
  .xs__labels text { font-size: 15px; }
}
/* continuous films: the chapter caption comes in with every hold (top left), steps back once the film moves on */
.cvs__v { transition: opacity .6s ease; }
.cvs__frame.is-ended .cvs__hint { pointer-events: auto; }
.cvs__cap { position: absolute; left: 16px; top: 14px; z-index: 2; margin: 0; display: flex; align-items: baseline; gap: 10px; max-width: min(72%, 560px);
  padding: 9px 14px 9px 12px; border-radius: 10px; background: rgba(10, 18, 32, .86); border: 1px solid var(--line2);
  color: var(--ink); font-weight: 600; font-size: .92rem; line-height: 1.3;
  opacity: 0; transform: translateY(-8px); transition: opacity .5s ease, transform .6s var(--ease); pointer-events: none; }
.cvs__cap b { color: var(--gold2); font-size: .72rem; letter-spacing: .04em; }
.cvs__cap:empty, .cvs__cap b:empty { display: none; }
.cvs__cap.is-in.is-hold { opacity: 1; transform: none; }
.cvs__cap.is-in:not(.is-hold) { opacity: 0; transform: translateY(-4px); transition-duration: 1.2s; }
.cvs__pp { position: absolute; right: 14px; top: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  background: rgba(10, 18, 32, .6); border: 1px solid var(--line2); display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.cvs__frame:hover .cvs__pp, .cvs__pp:focus-visible, .cvs__pp.is-paused { opacity: 1; }
.cvs__pp i { width: 10px; height: 12px; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); box-sizing: border-box; }
.cvs__pp.is-paused i { width: 0; height: 0; border: 0; border-left: 11px solid var(--gold2); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (max-width: 900px) {
  .cvs__cap { display: none; }            /* phones: the active chapter text sits right under the film */
  .cvs__pp { opacity: 1; width: 30px; height: 30px; right: 10px; top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .cvs__pp { opacity: 1; } }
