:root {
  --track: #0e0e10;
  --carbon: #17171a;
  --carbon-2: #222226;
  --white: #f4f5f1;
  --paper: #eceee9;
  --yellow: #ffd400;
  --yellow-dark: #e7bf00;
  --red: #e11d2c;
  --steel: #a5a7ad;
  --line-dark: #2a2a2e;
  --line-light: #d8d9d4;
  --ink: #111114;
  --display: "Manrope", system-ui, sans-serif;
  --editorial: "Tenor Sans", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --max: 1280px;
  --gutter: clamp(24px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--track); }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--display); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
::selection { color: var(--track); background: var(--yellow); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--track); }
::-webkit-scrollbar-thumb { background: #5c5c61; border: 2px solid var(--track); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-150%); padding: 12px 18px; background: var(--yellow); color: var(--track); font-weight: 800; }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 78px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; color: white; background: linear-gradient(180deg, rgba(8,8,9,.88), rgba(8,8,9,0)); transition: background .25s ease, border-color .25s ease; }
.site-header.scrolled { height: 66px; background: rgba(14,14,16,.96); border-bottom: 1px solid rgba(255,255,255,.1); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; background: var(--yellow); color: var(--track); display: grid; place-items: center; transform: skewX(-10deg); }
.brand-mark span { font-size: 20px; font-weight: 900; transform: skewX(10deg); }
.brand-type { font-size: 18px; font-weight: 800; line-height: .9; letter-spacing: -.03em; }
.brand-type small { display: block; margin-top: 5px; font-size: 9px; font-weight: 600; letter-spacing: .16em; color: rgba(255,255,255,.62); }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); }
.desktop-nav a, .header-text-button { border: 0; padding: 11px 0; color: rgba(255,255,255,.82); background: none; font-size: 13px; font-weight: 700; text-decoration: none; letter-spacing: .02em; transition: color .2s ease; }
.desktop-nav a:hover, .header-text-button:hover { color: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.menu-button { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.25); background: transparent; color: white; }
.mobile-menu { position: fixed; z-index: 45; inset: 0; padding: 110px var(--gutter) 40px; background: var(--track); color: white; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a, .mobile-menu button { border: 0; border-bottom: 1px solid var(--line-dark); padding: 20px 0; color: white; background: none; text-align: left; text-decoration: none; font-size: clamp(25px, 8vw, 42px); font-weight: 700; letter-spacing: -.04em; }

.hero { position: relative; min-height: 900px; height: 100svh; max-height: 1080px; overflow: hidden; background: var(--track); color: white; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 130px; background: linear-gradient(0deg, rgba(14,14,16,.9), transparent); pointer-events: none; }
.hero-lines { position: absolute; inset: 0; pointer-events: none; overflow: hidden; opacity: .45; }
.hero-lines span { position: absolute; width: 2px; height: 130%; top: -15%; background: rgba(255,255,255,.13); transform: rotate(24deg); }
.hero-lines span:nth-child(1) { left: 15%; }
.hero-lines span:nth-child(2) { left: 49%; }
.hero-lines span:nth-child(3) { right: 12%; }
.hero-copy { position: absolute; z-index: 3; left: var(--gutter); top: 50%; width: min(600px, 47vw); transform: translateY(-54%); }
.hero h1 { margin: 0; max-width: 8.5ch; font-size: clamp(62px, 7.3vw, 112px); line-height: .88; letter-spacing: -.045em; text-transform: uppercase; }
.hero h1 em { color: var(--yellow); font-family: var(--editorial); font-weight: 400; font-style: normal; text-transform: none; letter-spacing: -.035em; }
.hero-copy > p { width: min(530px, 95%); margin: 30px 0 0; color: rgba(255,255,255,.67); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .035em; text-decoration: none; transition: transform .2s var(--ease), background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--track); background: var(--yellow); }
.button-primary:hover { background: #ffe34d; }
.button-ghost { color: white; background: transparent; border-color: rgba(255,255,255,.32); }
.button-ghost:hover { border-color: white; }
.hero-stage { position: absolute; z-index: 2; right: -3vw; top: 9%; width: min(60vw, 860px); height: 75%; background: var(--paper); clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 88%); transform: translate3d(8%, 0, 0); opacity: 0; animation: stageIn 1.1s .12s var(--ease) forwards; }
.hero-stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,0) 52%); }
.hero-stage img { position: absolute; z-index: 2; width: 91%; max-width: none; right: -1%; bottom: 1%; filter: drop-shadow(0 34px 28px rgba(0,0,0,.22)); transform: translate3d(6%, 7%, 0); opacity: 0; animation: bikeIn 1.15s .35s var(--ease) forwards; }
.hero-stage-label { position: absolute; z-index: 3; right: 5%; top: 5%; color: rgba(14,14,16,.48); font: 500 11px/1 var(--mono); letter-spacing: .16em; }
.hero-spec { position: absolute; z-index: 4; display: flex; flex-direction: column; padding: 14px 16px; color: white; background: var(--track); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.hero-spec strong { font: 600 17px/1 var(--mono); }
.hero-spec span { margin-top: 7px; color: rgba(255,255,255,.62); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.hero-spec-a { left: 10%; top: 18%; }
.hero-spec-b { right: 9%; bottom: 10%; background: var(--red); }
.hero-rail { position: absolute; z-index: 4; bottom: 0; left: 0; right: 0; height: 112px; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.hero-rail a { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-right: 1px solid rgba(255,255,255,.14); padding: 0 clamp(14px, 2vw, 28px); color: rgba(255,255,255,.66); text-decoration: none; transition: color .2s ease, background .2s ease; }
.hero-rail a:first-child { border-left: 1px solid rgba(255,255,255,.14); }
.hero-rail a:hover { color: white; background: rgba(255,255,255,.045); }
.hero-rail span { font-size: 13px; font-weight: 700; }
.hero-rail strong { color: var(--yellow); font: 600 clamp(18px, 1.9vw, 27px)/1 var(--mono); }
@keyframes stageIn { to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes bikeIn { to { opacity: 1; transform: translate3d(0,0,0); } }

.model-section, .comparison-section { padding: clamp(90px, 10vw, 150px) var(--gutter); background: var(--white); }
.section-heading { max-width: var(--max); margin: 0 auto 56px; }
.split-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: clamp(30px, 7vw, 110px); }
.section-heading h2, .fit-copy h2, .engineering-copy h2, .dealer-copy h2 { margin: 0; font-size: clamp(46px, 6vw, 88px); line-height: .96; letter-spacing: -.045em; }
.section-heading p { max-width: 560px; margin: 0; color: #5d5f64; font-size: 16px; line-height: 1.75; }
.filter-bar { max-width: var(--max); margin: 0 auto 26px; display: flex; gap: 8px; overflow-x: auto; }
.filter-button { min-height: 42px; flex: 0 0 auto; border: 1px solid var(--line-light); border-radius: 999px; padding: 0 17px; color: #57595e; background: transparent; font-size: 12px; font-weight: 750; }
.filter-button.active { color: white; background: var(--track); border-color: var(--track); }
.bike-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bike-card { min-height: 700px; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: opacity .2s ease, transform .4s var(--ease); }
.bike-card[hidden] { display: none; }
.bike-art { position: relative; min-height: 455px; flex: 1; display: grid; place-items: center; overflow: hidden; }
.bike-art::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; border: 1px solid rgba(15,15,17,.12); border-radius: 50%; }
.bike-card img { position: relative; z-index: 2; width: 90%; height: 410px; object-fit: contain; filter: drop-shadow(0 26px 20px rgba(0,0,0,.16)); transition: transform .55s var(--ease); }
.bike-card:hover img { transform: translateY(-9px) scale(1.025); }
.bike-size { position: absolute; z-index: 3; top: 25px; left: 27px; font: 600 15px/1 var(--mono); }
.bike-card-copy { min-height: 270px; padding: 27px 30px 30px; display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
.bike-card h3 { margin: 7px 0 0; font-size: clamp(25px, 2.5vw, 36px); line-height: 1; letter-spacing: -.04em; }
.bike-card p { max-width: 430px; margin: 13px 0 0; font-size: 14px; line-height: 1.65; opacity: .67; }
.category-label, .variant-label { display: block; font: 600 10px/1.2 var(--mono); letter-spacing: .11em; text-transform: uppercase; opacity: .62; }
.variant-block { margin-top: 8px; }
.variant-list { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.variant-list button { min-height: 31px; border: 1px solid currentColor; border-radius: 999px; padding: 0 11px; color: inherit; background: transparent; font: 600 10px/1 var(--mono); transition: color .2s ease, background .2s ease, border-color .2s ease; }
.variant-list button:hover, .variant-list button:focus-visible { color: var(--track); background: white; border-color: white; }
.bike-card-yellow .variant-list button:hover, .bike-card-yellow .variant-list button:focus-visible, .bike-card-light .variant-list button:hover, .bike-card-light .variant-list button:focus-visible { background: var(--track); border-color: var(--track); color: white; }
.card-facts { margin-top: 2px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; border-top: 1px solid rgba(15,15,17,.18); }
.card-facts > div { min-width: 0; padding: 9px 0 8px; border-bottom: 1px solid rgba(15,15,17,.18); }
.card-facts span { display: block; margin-bottom: 4px; color: inherit; opacity: .58; font: 600 9px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.card-facts strong { display: block; color: inherit; font: 600 10px/1.35 var(--mono); overflow-wrap: anywhere; }
.bike-card-dark .card-facts, .bike-card-red .card-facts { border-color: rgba(255,255,255,.18); }
.bike-card-dark .card-facts > div, .bike-card-red .card-facts > div { border-color: rgba(255,255,255,.18); }
 .card-catalog-note { margin: 0 !important; padding: 12px 0 0; display: grid; gap: 5px; border-top: 1px solid rgba(15,15,17,.18); }
.card-catalog-note strong { font: 700 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.card-catalog-note span { max-width: 430px; font-size: 11px; line-height: 1.45; opacity: .62; }
.bike-card-dark .card-catalog-note, .bike-card-red .card-catalog-note { border-color: rgba(255,255,255,.18); }

.product-detail-page { min-height: 100vh; padding-top: 84px; color: var(--ink); background: var(--paper); }
.product-detail-shell { max-width: var(--max); margin: 0 auto; }
.detail-breadcrumb { padding: 0 var(--gutter); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #77797e; font: 600 10px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.detail-breadcrumb a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.detail-breadcrumb strong { color: var(--ink); }
.product-detail-hero { margin-top: 28px; display: grid; grid-template-columns: .95fr 1.05fr; min-height: 620px; }
.product-detail-art { position: relative; min-height: 620px; display: grid; place-items: center; overflow: hidden; background: var(--yellow); }
.product-detail-art::before { content: ""; position: absolute; width: 64%; aspect-ratio: 1; border: 1px solid rgba(15,15,17,.18); border-radius: 50%; }
.product-detail-art img { position: relative; z-index: 1; width: 88%; max-height: 560px; object-fit: contain; filter: drop-shadow(0 30px 25px rgba(0,0,0,.18)); }
.product-detail-copy { padding: clamp(46px, 7vw, 92px) clamp(28px, 6vw, 86px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: var(--white); }
.detail-eyebrow, .detail-selector-label { display: block; color: #77797e; font: 600 10px/1.25 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.product-detail-copy h1 { max-width: 9ch; margin: 16px 0 24px; font-size: clamp(54px, 7vw, 102px); line-height: .9; letter-spacing: -.055em; }
.detail-secondary { margin-bottom: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; }
.detail-secondary span { color: #77797e; font: 600 10px/1.25 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.detail-secondary strong { font: 800 20px/1 var(--mono); }
.product-detail-copy > p { max-width: 540px; margin: 0 0 26px; color: #5f6166; font-size: 16px; line-height: 1.7; }
.detail-stage { margin-bottom: 32px; padding: 12px 15px; display: grid; gap: 6px; border-left: 3px solid var(--yellow); background: #f3f3ef; }
.detail-stage span { color: #77797e; font: 600 9px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.detail-stage strong { font: 700 13px/1.2 var(--mono); }
.detail-variant-picker { margin: 12px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.detail-variant-option { min-height: 38px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid var(--ink); color: var(--ink); background: transparent; text-decoration: none; font: 700 10px/1 var(--mono); }
.detail-variant-option:hover, .detail-variant-option:focus-visible, .detail-variant-option.active { color: white; border-color: var(--track); background: var(--track); }
.detail-back-link { margin-top: auto; color: var(--ink); border-bottom: 1px solid currentColor; text-decoration: none; font-size: 12px; font-weight: 800; }
.detail-s3-pro-xplay .product-detail-art { color: white; background: #25252a; }
.detail-s3-pro-xplay .product-detail-art::before { border-color: rgba(255,255,255,.2); }
.detail-s5-pro-cwin .product-detail-art { background: #dedfd9; }
.detail-k8-plus .product-detail-art { color: white; background: var(--red); }
.detail-k8-plus .product-detail-art::before { border-color: rgba(255,255,255,.22); }
.detail-catalog-section { padding: clamp(82px, 10vw, 140px) var(--gutter); background: var(--white); }
.detail-catalog-intro { max-width: var(--max); margin: 0 auto 54px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.detail-catalog-intro h2 { margin: 12px 0 0; font-size: clamp(44px, 6vw, 80px); line-height: .95; letter-spacing: -.05em; }
.detail-catalog-intro p { max-width: 520px; margin: 0; color: #606267; font-size: 14px; line-height: 1.7; }
.detail-spec-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px 70px; }
.detail-spec-block:first-child { grid-row: span 2; }
.detail-spec-block h2 { margin: 0; padding-bottom: 12px; color: #77797e; border-bottom: 1px solid var(--line-light); font: 600 10px/1.2 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.detail-specs { margin: 0; border-top: 0; }
.detail-spec-row { display: contents; }
.detail-specs > div { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr); gap: 22px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.detail-specs dt { color: #77797e; font: 600 10px/1.35 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.detail-specs dd { margin: 0; color: var(--ink); font: 500 12px/1.55 var(--mono); overflow-wrap: anywhere; }
.detail-family-nav { padding: clamp(72px, 9vw, 120px) var(--gutter); color: white; background: var(--track); }
.detail-family-nav > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.detail-family-nav h2 { margin-top: 14px; margin-bottom: 34px; font-size: clamp(38px, 5vw, 68px); line-height: .96; letter-spacing: -.05em; }
.detail-family-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.detail-family-link { min-width: 0; padding: 18px; display: grid; gap: 12px; border: 1px solid rgba(255,255,255,.22); color: white; text-decoration: none; }
.detail-family-link:hover, .detail-family-link:focus-visible, .detail-family-link.active { border-color: var(--yellow); background: rgba(255,212,0,.1); }
.detail-family-link strong { font: 800 13px/1 var(--mono); }
.detail-family-link span { color: rgba(255,255,255,.6); font: 500 10px/1.5 var(--mono); overflow-wrap: anywhere; }

.bike-link { align-self: flex-start; margin-top: auto; }
.bike-link { min-height: 44px; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 4px; display: inline-flex; align-items: center; gap: 9px; color: inherit; background: none; white-space: nowrap; font-size: 12px; font-weight: 800; }
.bike-card-yellow { background: var(--yellow); }
.bike-card-yellow .bike-card-copy { background: #f3cb00; }
.bike-card-dark { color: white; background: #25252a; }
.bike-card-dark .bike-art::before { border-color: rgba(255,255,255,.14); }
.bike-card-dark .bike-card-copy { background: #1b1b1f; }
.bike-card-light { background: #dedfd9; }
.bike-card-light .bike-card-copy { background: #d1d3cc; }
.bike-card-red { color: white; background: var(--red); }
.bike-card-red .bike-art::before { border-color: rgba(255,255,255,.2); }
.bike-card-red .bike-card-copy { background: #c81725; }

.fit-section { padding: clamp(90px, 11vw, 160px) var(--gutter); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(70px, 10vw, 160px); color: white; background: var(--track); }
.fit-copy { align-self: center; }
.fit-copy p { max-width: 570px; margin: 28px 0; color: rgba(255,255,255,.64); font-size: 16px; line-height: 1.75; }
.text-link { min-height: 46px; border: 0; border-bottom: 1px solid rgba(255,255,255,.5); padding: 0; display: inline-flex; align-items: center; gap: 10px; color: white; background: transparent; font-size: 13px; font-weight: 800; }
.fit-scale { position: relative; min-height: 530px; padding: 72px 56px 50px; display: flex; flex-direction: column; justify-content: space-between; background: #1d1d21; overflow: hidden; }
.fit-scale::after { content: "12 / 14 / 16"; position: absolute; right: -22px; bottom: 48px; color: rgba(255,255,255,.035); font: 800 clamp(70px, 8vw, 128px)/.8 var(--mono); writing-mode: vertical-rl; }
.fit-path { position: absolute; top: 96px; bottom: 98px; left: 88px; width: 2px; background: rgba(255,255,255,.16); }
.fit-path span { display: block; width: 100%; height: 68%; background: var(--yellow); }
.fit-stop { position: relative; z-index: 2; padding-left: 70px; display: grid; grid-template-columns: 110px 1fr; align-items: baseline; }
.fit-stop::before { content: ""; position: absolute; left: 26px; top: 50%; width: 14px; height: 14px; border: 4px solid #1d1d21; border-radius: 50%; background: var(--yellow); transform: translate(-50%, -50%); box-shadow: 0 0 0 1px var(--yellow); }
.fit-stop strong { font: 600 clamp(28px, 3vw, 44px)/1 var(--mono); }
.fit-stop span { color: rgba(255,255,255,.65); font-size: 14px; }
.fit-scale > p { position: relative; z-index: 2; margin: 12px 0 0; padding-left: 70px; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.55; }

.engineering-section { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 790px; background: var(--paper); }
.product-carousel { position: relative; min-width: 0; min-height: 790px; overflow: hidden; background: white; display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding: 34px 28px 24px; touch-action: pan-y; }
.carousel-viewport { position: relative; width: 100%; min-width: 0; min-height: 0; flex: 1 1 auto; overflow: hidden; }
.carousel-slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; pointer-events: none; }
.carousel-slide.active { opacity: 1; visibility: visible; pointer-events: auto; animation: carousel-fade-in .34s ease both; }
@keyframes carousel-fade-in { from { opacity: 0; } to { opacity: 1; } }
.carousel-slide img { width: 100%; height: 100%; max-width: calc(100% - 76px); max-height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; user-select: none; filter: drop-shadow(0 30px 24px rgba(0,0,0,.14)); }
.carousel-prev, .carousel-next { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; border: 1px solid rgba(17,17,20,.18); border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(255,255,255,.94); transform: translateY(-50%); transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.carousel-prev:hover, .carousel-next:hover { border-color: rgba(17,17,20,.35); background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.13); }
.carousel-prev { left: 18px; }
.carousel-next { right: 18px; }
.carousel-prev svg, .carousel-next svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.carousel-dots { position: relative; z-index: 3; min-height: 44px; padding: 12px 0 0; display: flex; align-items: center; justify-content: center; gap: 5px; }
.carousel-dot { position: relative; width: 30px; height: 30px; border: 0; padding: 0; background: transparent; }
.carousel-dot::before { content: ""; position: absolute; inset: 50% auto auto 50%; width: 8px; height: 8px; border: 2px solid #8d8f92; border-radius: 50%; background: transparent; transform: translate(-50%, -50%); transition: width .2s ease, border-color .2s ease, background .2s ease; }
.carousel-dot:hover::before { border-color: var(--ink); }
.carousel-dot.active::before { width: 22px; border-radius: 999px; border-color: var(--ink); background: var(--ink); }
.engineering-copy { padding: clamp(70px, 9vw, 140px) var(--gutter); align-self: center; }
.engineering-copy p { max-width: 610px; margin: 28px 0 42px; color: #5d5f64; line-height: 1.75; }
.engineering-list { border-top: 1px solid #c9cbc5; }
.engineering-list > div { padding: 22px 0; border-bottom: 1px solid #c9cbc5; display: grid; grid-template-columns: 44px 1fr; gap: 15px; align-items: start; }
.engineering-list svg { width: 26px; height: 26px; color: var(--red); stroke-width: 1.6; }
.engineering-list span { color: #66686c; font-size: 13px; line-height: 1.55; }
.engineering-list strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 15px; }

.comparison-section .section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.table-wrap { max-width: var(--max); margin: 0 auto; overflow-x: auto; border-top: 2px solid var(--track); border-bottom: 1px solid var(--track); }
table { width: 100%; min-width: 1480px; border-collapse: collapse; }
th, td { padding: 18px 16px; border-bottom: 1px solid var(--line-light); text-align: left; vertical-align: top; }
thead th { color: #67696d; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
tbody th { font-size: 16px; }
td { color: #55575c; font-size: 13px; }
td:nth-child(2) { color: var(--ink); font: 600 17px/1 var(--mono); }
td button { min-height: 44px; border: 0; border-bottom: 1px solid var(--ink); padding: 0; color: var(--ink); background: none; font-size: 12px; font-weight: 800; }
.prototype-note { max-width: var(--max); margin: 18px auto 0; color: #77797e; font-size: 11px; }

.dealer-section { min-height: 800px; display: grid; grid-template-columns: 1fr 1fr; color: white; background: #202024; }
.dealer-copy { padding: clamp(90px, 11vw, 160px) var(--gutter); align-self: center; }
.dealer-copy p { max-width: 520px; margin: 28px 0 36px; color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.75; }
.dealer-poster { position: relative; overflow: hidden; display: grid; place-items: center; background: var(--yellow); color: var(--track); }
.poster-word { position: absolute; top: 3%; left: -4%; font-size: clamp(150px, 20vw, 360px); font-weight: 900; line-height: .9; letter-spacing: -.09em; }
.dealer-poster img { position: relative; z-index: 2; width: 94%; margin-top: 12%; filter: drop-shadow(0 32px 26px rgba(0,0,0,.24)); transform: rotate(-2deg); }
.poster-tag { position: absolute; z-index: 3; right: 24px; bottom: 22px; font: 600 10px/1 var(--mono); letter-spacing: .13em; }

.site-footer { padding: 80px var(--gutter) 28px; color: white; background: var(--track); }
.footer-top { max-width: var(--max); margin: 0 auto 70px; padding-bottom: 55px; border-bottom: 1px solid var(--line-dark); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.footer-top p { max-width: 520px; margin: 0; color: rgba(255,255,255,.55); line-height: 1.65; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1.4fr; gap: 40px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-grid strong { margin-bottom: 8px; font-size: 12px; }
.footer-grid a, .footer-grid button, .footer-grid span { border: 0; padding: 0; color: rgba(255,255,255,.49); background: none; text-align: left; text-decoration: none; font-size: 12px; line-height: 1.45; }
.footer-grid a:hover, .footer-grid button:hover { color: var(--yellow); }
.footer-bottom { max-width: var(--max); margin: 60px auto 0; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 30px; color: rgba(255,255,255,.56); font: 400 10px/1.5 var(--mono); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

.product-dialog, .dealer-dialog { width: min(1050px, calc(100vw - 36px)); max-height: min(860px, calc(100svh - 36px)); padding: 0; border: 0; border-radius: 14px; color: var(--ink); background: var(--white); box-shadow: 0 36px 90px rgba(0,0,0,.5); overflow: auto; }
.product-dialog::backdrop, .dealer-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.dialog-close { position: sticky; z-index: 4; top: 16px; float: right; width: 44px; height: 44px; margin: 16px 16px -60px 0; border: 1px solid rgba(0,0,0,.15); display: grid; place-items: center; color: var(--ink); background: rgba(244,245,241,.88); }
.product-dialog-layout { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 660px; }
.dialog-art { min-height: 620px; display: grid; place-items: center; overflow: hidden; background: var(--yellow); }
.dialog-art img { width: 100%; max-height: 570px; object-fit: contain; filter: drop-shadow(0 30px 24px rgba(0,0,0,.2)); }
.dialog-copy { padding: 74px clamp(34px, 5vw, 70px) 55px; }
.dialog-category { margin-bottom: 27px; padding-bottom: 12px; border-bottom: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 18px; font: 500 10px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.dialog-category span, .dialog-variant-heading span { color: #74767b; }
.dialog-category strong { text-align: right; }
.dialog-variant-heading { margin-top: 23px; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.dialog-variant-heading span { font-size: 11px; }
.dialog-variant-heading strong { font: 700 13px/1.2 var(--mono); }
.dialog-stage { margin: 20px 0 0; padding: 12px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 20px; color: #74767b; font-size: 11px; }
.dialog-stage strong { color: var(--ink); font: 600 11px/1.35 var(--mono); text-align: right; }
.variant-picker { margin: 11px 0 24px; display: flex; flex-wrap: wrap; gap: 7px; }
.variant-option { min-height: 34px; border: 1px solid #c9cbc5; border-radius: 999px; padding: 0 12px; color: #55575c; background: transparent; font: 600 11px/1 var(--mono); }
.variant-option.active, .variant-option:hover, .variant-option:focus-visible { border-color: var(--track); color: white; background: var(--track); }
.dialog-size { display: inline-block; margin-bottom: 26px; font: 600 15px/1 var(--mono); }
.dialog-copy h2, .dealer-dialog h2 { margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: .95; letter-spacing: -.045em; }
.dialog-copy > p { color: #606267; line-height: 1.7; }
.dialog-spec-section { margin-top: 30px; }
.dialog-spec-section h3 { margin: 0; padding-bottom: 10px; color: #74767b; border-bottom: 1px solid var(--line-light); font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dialog-specs { margin: 0; border-top: 0; }
.dialog-specs div { padding: 13px 0; border-bottom: 1px solid var(--line-light); display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.dialog-specs dt { color: #74767b; font-size: 12px; }
.dialog-specs dd { max-width: 66%; margin: 0; text-align: right; font: 500 11px/1.45 var(--mono); overflow-wrap: anywhere; }
.availability-form label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 800; }
.input-action { display: flex; }
.input-action input { min-width: 0; height: 50px; flex: 1; border: 1px solid #c9cbc5; border-right: 0; border-radius: 0; padding: 0 14px; color: var(--ink); background: white; caret-color: var(--red); }
.input-action button { min-height: 50px; border: 0; padding: 0 17px; color: var(--track); background: var(--yellow); font-size: 12px; font-weight: 800; }
.form-message { min-height: 20px; margin: 9px 0 0; color: #a21220; font-size: 12px; }
.form-message.success { color: #137040; }
.dialog-note { margin-top: 18px; font-size: 10px; }
.dealer-dialog-inner { padding: clamp(55px, 7vw, 90px); }
.dealer-dialog-head { max-width: 750px; margin-bottom: 42px; }
.dealer-dialog-head p { max-width: 690px; color: #626469; line-height: 1.65; }
.dealer-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full, .dealer-form fieldset, .form-submit, .dealer-form > .form-message { grid-column: 1 / -1; }
.field label, .dealer-form legend { font-size: 12px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #c7c9c3; border-radius: 0; padding: 14px; color: var(--ink); background: white; caret-color: var(--red); }
.field input, .field select { height: 50px; }
.field textarea { resize: vertical; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); }
.dealer-form fieldset { margin: 0; padding: 0; border: 0; }
.choice-grid { margin-top: 9px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-grid label { position: relative; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { min-height: 48px; padding: 0 15px; border: 1px solid #c7c9c3; display: flex; align-items: center; font-size: 12px; font-weight: 700; }
.choice-grid input:checked + span { border-color: var(--track); color: white; background: var(--track); }
.choice-grid input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 3px; }
.form-submit { justify-self: start; }

@media (max-width: 1080px) {
  .hero { height: auto; min-height: 920px; padding-top: 120px; }
  .hero-copy { position: relative; top: auto; left: auto; width: auto; padding: 30px var(--gutter) 0; transform: none; }
  .hero h1 { max-width: 10ch; }
  .hero-stage { top: 390px; right: -7%; width: 76vw; height: 440px; }
  .hero-rail { height: 90px; }
  .bike-card { min-height: 640px; }
  .bike-art { min-height: 390px; }
  .bike-card img { height: 350px; }
  .engineering-section { grid-template-columns: 1fr; min-height: 0; }
  .product-carousel { min-height: clamp(500px, 66vw, 680px); padding: 24px 20px 16px; }
  .carousel-prev, .carousel-next { width: 40px; height: 40px; }
  .carousel-prev { left: 12px; }
  .carousel-next { right: 12px; }
  .dealer-section { min-height: 650px; }
}

@media (max-width: 800px) {
  .desktop-nav, .header-text-button { display: none; }
  .menu-button { display: grid; }
  .hero { min-height: 900px; }
  .hero-copy { padding-top: 8px; }
  .hero h1 { font-size: clamp(56px, 15vw, 82px); }
  .hero-copy > p { max-width: 590px; }
  .hero-stage { top: 470px; right: -15%; width: 100vw; height: 350px; }
  .hero-stage img { width: 84%; right: 5%; }
  .hero-spec-a { left: 16%; top: 12%; }
  .hero-spec-b { right: 8%; bottom: 8%; }
  .hero-rail { height: 78px; grid-template-columns: repeat(4, minmax(150px, 1fr)); overflow-x: auto; }
  .hero-rail a { padding: 0 17px; }
  .split-heading, .comparison-section .section-heading { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .bike-grid { grid-template-columns: 1fr; }
  .bike-card { min-height: 650px; }
  .bike-art { min-height: 400px; }
  .bike-card-copy { min-height: 260px; }
  .fit-section { grid-template-columns: 1fr; }
  .fit-scale { min-height: 500px; }
  .dealer-section { grid-template-columns: 1fr; }
  .dealer-poster { min-height: 600px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-dialog-layout { grid-template-columns: 1fr; }
  .product-detail-page { padding-top: 78px; }
  .product-detail-hero { grid-template-columns: 1fr; }
  .product-detail-art { min-height: 470px; }
  .product-detail-art img { max-height: 430px; }
  .detail-catalog-intro { grid-template-columns: 1fr; gap: 24px; }
  .detail-spec-grid { grid-template-columns: 1fr; gap: 42px; }
  .detail-spec-block:first-child { grid-row: auto; }
  .detail-family-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialog-art { min-height: 390px; }
  .dialog-art img { max-height: 370px; }
  .dialog-copy { padding-top: 55px; }
}

@media (max-width: 560px) {
  .site-header { height: 68px; }
  .brand-type { font-size: 16px; }
  .hero { min-height: 850px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { font-size: clamp(49px, 15.5vw, 68px); }
  .hero-copy > p { margin-top: 23px; font-size: 15px; }
  .hero-actions { margin-top: 26px; }
  .button { width: 100%; }
  .hero-stage { top: 475px; right: -25%; width: 125vw; height: 300px; }
  .hero-stage-label { display: none; }
  .hero-spec { padding: 10px 12px; }
  .hero-spec strong { font-size: 13px; }
  .hero-spec span { font-size: 8px; }
  .hero-spec-a { left: 22%; }
  .hero-spec-b { right: 18%; }
  .section-heading h2, .fit-copy h2, .engineering-copy h2, .dealer-copy h2 { font-size: 45px; }
  .model-section, .comparison-section { padding-block: 84px; }
  .bike-card { min-height: 590px; }
  .bike-art { min-height: 350px; }
  .bike-card img { width: 98%; height: 330px; }
  .bike-card-copy { min-height: 270px; padding: 24px; }
  .fit-section { padding-block: 85px; gap: 55px; }
  .fit-scale { min-height: 470px; padding: 56px 22px 42px; }
  .fit-path { top: 82px; bottom: 90px; left: 48px; }
  .fit-stop { padding-left: 55px; grid-template-columns: 92px 1fr; }
  .fit-stop::before { left: 26px; }
  .fit-scale > p { padding-left: 55px; }
  .product-carousel { min-height: 430px; padding: 18px 12px 12px; }
  .carousel-slide img { max-width: calc(100% - 48px); }
  .carousel-prev, .carousel-next { width: 38px; height: 38px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-dots { padding-top: 6px; }
  .dealer-poster { min-height: 430px; }
  .poster-word { font-size: 45vw; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .dealer-form { grid-template-columns: 1fr; }
  .field-full, .dealer-form fieldset, .form-submit, .dealer-form > .form-message { grid-column: 1; }
  .choice-grid { grid-template-columns: 1fr; }
  .product-dialog, .dealer-dialog { width: calc(100vw - 18px); max-height: calc(100svh - 18px); }
  .dialog-art { min-height: 310px; }
  .dialog-art img { max-height: 300px; }
  .dialog-copy, .dealer-dialog-inner { padding-inline: 24px; }
  .card-facts { column-gap: 13px; }
  .card-catalog-note span { font-size: 10px; }
  .product-detail-art { min-height: 360px; }
  .product-detail-art img { width: 94%; max-height: 330px; }
  .product-detail-copy { padding: 48px 24px 42px; }
  .product-detail-copy h1 { font-size: clamp(52px, 16vw, 78px); }
  .detail-catalog-section { padding-block: 82px; }
  .detail-specs > div { grid-template-columns: minmax(90px, .72fr) minmax(0, 1.28fr); gap: 14px; }
  .detail-specs dd { font-size: 10px; }
  .detail-family-links { grid-template-columns: 1fr; }
  .dialog-specs div { display: grid; grid-template-columns: minmax(82px, .72fr) minmax(0, 1.28fr); gap: 14px; }
  .dialog-specs dd { max-width: none; }
  .input-action { flex-direction: column; gap: 8px; }
  .input-action input { border-right: 1px solid #c9cbc5; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .hero { min-height: 1000px; }
  .hero-stage { top: 620px; right: -15%; width: 112vw; height: 300px; }
  .hero-stage img { width: 80%; right: 9%; }
  .hero-spec-a { left: 17%; }
  .hero-spec-b { right: 8%; }
}

/* The local preview shell does not expose native dialog methods, so keep the
   prototype usable there while native <dialog> remains the production path. */
body.dialog-open { overflow: hidden; }
body.dialog-open::before { content: ""; position: fixed; z-index: 90; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.dialog-fallback { position: fixed; z-index: 100; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.dialog-fallback .dialog-close { z-index: 104; }


/* Responsive overflow hardening: keep every review surface inside the viewport. */
.section-heading h2,
.section-heading p,
.comparison-section .section-heading > *,
.detail-catalog-intro > *,
.detail-spec-block,
.product-detail-copy {
  min-width: 0;
}

.section-heading h2,
.detail-catalog-intro h2,
.product-detail-copy h1 {
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .hero-stage {
    right: 0;
    width: calc(100% - 24px);
    transform: translate3d(0, 0, 0);
  }

  .hero-stage img {
    width: 80%;
    right: 9%;
    transform: translate3d(0, 0, 0);
  }

  .hero-rail {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .hero-rail a {
    min-height: 64px;
    padding: 11px 13px;
  }

  .hero-rail span {
    font-size: 10px;
    line-height: 1.2;
  }

  .hero-rail strong {
    font-size: 16px;
  }

  .filter-bar {
    flex-wrap: wrap;
    overflow: visible;
  }

  .filter-button {
    min-height: 38px;
    padding-inline: 13px;
  }

  .table-wrap {
    overflow: visible;
  }

  .table-wrap table {
    width: 100%;
    min-width: 0;
    display: block;
  }

  .table-wrap thead {
    display: none;
  }

  .table-wrap tbody {
    display: grid;
    gap: 10px;
  }

  .table-wrap tr {
    display: block;
    padding: 14px 15px 10px;
    border: 1px solid var(--line-light);
    background: #f5f6f2;
  }

  .table-wrap tbody th[scope="row"] {
    display: block;
    padding: 0 0 10px;
    border: 0;
    font-size: 14px;
  }

  .table-wrap td {
    display: grid;
    grid-template-columns: minmax(84px, .72fr) minmax(0, 1.28fr);
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(15, 15, 17, .12);
    color: #55575c;
    font: 500 11px/1.35 var(--mono);
    overflow-wrap: anywhere;
  }

  .table-wrap td::before {
    content: attr(data-label);
    color: #77797e;
    font: 600 9px/1.35 var(--mono);
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .table-wrap td:nth-child(2) {
    color: var(--ink);
    font-size: 14px;
  }

  .table-wrap td:last-child {
    display: block;
    padding-top: 12px;
    border-bottom: 0;
  }

  .table-wrap td:last-child::before {
    display: none;
  }

  .table-wrap td button {
    min-height: 38px;
    font-size: 11px;
  }
}

/* Keep the comparison table readable without forcing a desktop-wide horizontal scroll. */
@media (min-width: 561px) {
  .table-wrap { overflow-x: visible; }
  .table-wrap table { width: 100%; min-width: 0; table-layout: fixed; }
  .table-wrap th,
  .table-wrap td { padding-inline: 9px; overflow-wrap: anywhere; }
  .table-wrap thead th:nth-child(1) { width: 13%; }
  .table-wrap thead th:nth-child(2) { width: 10%; }
  .table-wrap thead th:nth-child(3) { width: 12%; }
  .table-wrap thead th:nth-child(4) { width: 14%; }
  .table-wrap thead th:nth-child(5) { width: 14%; }
  .table-wrap thead th:nth-child(6) { width: 8%; }
  .table-wrap thead th:nth-child(7) { width: 13%; }
  .table-wrap thead th:nth-child(8) { width: 8%; }
  .table-wrap thead th:nth-child(9) { width: 8%; }
  .table-wrap td button { white-space: normal; text-align: left; }
}

/* Product detail gallery: each item is a real, independently saved source crop. */
.product-detail-art {
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  padding: 28px 26px 22px;
}
.product-detail-art::before { z-index: -1; pointer-events: none; }
.detail-gallery-main {
  position: relative;
  z-index: 1;
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
}
.detail-gallery-main img {
  width: min(100%, 560px);
  max-width: 100%;
  max-height: 438px;
  object-fit: contain;
  filter: drop-shadow(0 30px 25px rgba(0,0,0,.18));
}
.detail-gallery-thumbs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}
.detail-gallery-thumb {
  width: 66px;
  height: 54px;
  padding: 4px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15,15,17,.24);
  background: rgba(255,255,255,.72);
  cursor: pointer;
}
.detail-gallery-thumb:hover,
.detail-gallery-thumb:focus-visible,
.detail-gallery-thumb.active {
  border-color: var(--track);
  outline: 2px solid var(--track);
  outline-offset: 1px;
}
.detail-gallery-thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  filter: none;
}
.detail-gallery-caption {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  color: rgba(15,15,17,.64);
  font: 500 10px/1.45 var(--mono);
  text-align: center;
}
.detail-s3-pro-xplay .detail-gallery-caption,
.detail-k8-plus .detail-gallery-caption { color: rgba(255,255,255,.72); }
.detail-s3-pro-xplay .detail-gallery-thumb,
.detail-k8-plus .detail-gallery-thumb { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.9); }

@media (max-width: 900px) {
  .detail-gallery-main img { max-height: 360px; }
}

@media (max-width: 560px) {
  .product-detail-art {
    min-height: 0;
    padding: 22px 16px 18px;
    gap: 11px;
  }
  .detail-gallery-main { min-height: 278px; }
  .detail-gallery-main img { width: 100%; max-height: 300px; }
  .detail-gallery-thumb { width: 56px; height: 46px; padding: 3px; }
  .detail-gallery-caption { font-size: 9px; }
}

/* Product-detail media band: supplied ride footage, factory imagery and range carousel. */
.detail-media-section { padding: clamp(72px, 9vw, 120px) 0 clamp(82px, 10vw, 140px); background: var(--paper); }
.detail-media-intro { max-width: var(--max); margin: 0 auto 46px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.detail-media-intro h2 { margin: 12px 0 0; font-size: clamp(40px, 5.4vw, 74px); line-height: .95; letter-spacing: -.05em; }
.detail-media-intro p { max-width: 520px; margin: 0; color: #606267; font-size: 14px; line-height: 1.7; }
.detail-media-intro > * { min-width: 0; }
.detail-media-grid { max-width: var(--max); margin: 0 auto 22px; padding: 0 var(--gutter); display: grid; grid-template-columns: .62fr 1.38fr; gap: 22px; align-items: stretch; }
.detail-media-grid figure { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.detail-media-grid figcaption { color: #77797e; font: 600 10px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.detail-media-video video { width: 100%; flex: 1 1 auto; min-height: 340px; max-height: 560px; object-fit: contain; display: block; background: var(--track); border: 1px solid var(--line-light); }
.detail-media-factory img { width: 100%; flex: 1 1 auto; min-height: 340px; max-height: 560px; object-fit: cover; display: block; border: 1px solid var(--line-light); }
.detail-media-engineering { margin-top: 40px; }
.detail-media-engineering .product-carousel { min-height: 620px; }

@media (max-width: 1080px) {
  .detail-media-engineering .product-carousel { min-height: clamp(460px, 62vw, 620px); }
}

@media (max-width: 800px) {
  .detail-media-intro { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .detail-media-grid { grid-template-columns: 1fr; gap: 26px; }
  .detail-media-factory img { min-height: 260px; max-height: 460px; }
  /* Stacked layout: a portrait clip must not stretch to a tablet-wide column,
     so cap the player by width and let the intrinsic ratio set the height. */
  .detail-media-video video { width: 100%; max-width: 380px; height: auto; min-height: 0; max-height: 70svh; }
}

@media (max-width: 560px) {
  .detail-media-intro h2 { font-size: 42px; }
  .detail-media-factory img { min-height: 220px; max-height: 380px; }
  .detail-media-engineering .product-carousel { min-height: 430px; }
}

/* Supplied product-pack band: real photography, studio views and ride footage. */
.detail-pack-section { padding: clamp(72px, 9vw, 120px) 0 clamp(82px, 10vw, 140px); color: white; background: var(--track); }
.detail-pack-intro { max-width: var(--max); margin: 0 auto 50px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.detail-pack-intro > * { min-width: 0; }
.detail-pack-intro h2 { margin: 12px 0 0; font-size: clamp(40px, 5.4vw, 74px); line-height: .95; letter-spacing: -.05em; }
.detail-pack-intro p { max-width: 540px; margin: 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.7; }
.detail-pack-block { max-width: var(--max); margin: 0 auto 46px; padding: 0 var(--gutter); }
.detail-pack-block:last-child { margin-bottom: 0; }
.detail-pack-block-heading { margin: 0 0 18px; padding-bottom: 12px; color: rgba(255,255,255,.55); border-bottom: 1px solid var(--line-dark); font: 600 10px/1.2 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.detail-pack-player { background: #000; border: 1px solid var(--line-dark); }
.detail-pack-player video { display: block; width: 100%; max-height: 620px; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.detail-pack-clips { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.detail-pack-clip { min-width: 0; padding: 0; display: grid; gap: 8px; border: 1px solid rgba(255,255,255,.22); color: white; background: transparent; text-align: left; transition: border-color .2s ease, background .2s ease; }
.detail-pack-clip img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.detail-pack-clip span { padding: 0 10px 10px; color: rgba(255,255,255,.7); font: 600 10px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.detail-pack-clip:hover, .detail-pack-clip:focus-visible, .detail-pack-clip.active { border-color: var(--yellow); background: rgba(255,212,0,.1); }
.detail-pack-colors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.detail-pack-color { margin: 0; display: grid; gap: 10px; }
.detail-pack-color img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #f4f5f1; border: 1px solid var(--line-dark); }
.detail-pack-color figcaption { color: rgba(255,255,255,.7); font: 600 10px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.detail-pack-views { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.detail-pack-view { margin: 0; display: grid; gap: 10px; }
.detail-pack-view img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #f4f5f1; border: 1px solid var(--line-dark); }
.detail-pack-view figcaption { color: rgba(255,255,255,.7); font: 600 10px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.detail-pack-reference { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.detail-pack-ref { margin: 0; display: grid; gap: 10px; }
.detail-pack-ref img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #f4f5f1; border: 1px solid var(--line-dark); }
.detail-pack-ref figcaption { color: rgba(255,255,255,.7); font: 600 10px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.detail-pack-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 34px; border-top: 1px solid var(--line-dark); }
.detail-pack-features > div { padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.detail-pack-features strong { display: block; margin-bottom: 6px; font-size: 15px; }
.detail-pack-features span { color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.6; }

@media (max-width: 1080px) {
  .detail-pack-views { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-pack-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .detail-pack-intro { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .detail-pack-colors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-pack-views { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-pack-clips { grid-template-columns: 1fr; }
  .detail-pack-player video { max-height: 62vw; }
}

@media (max-width: 560px) {
  .detail-pack-intro h2 { font-size: 42px; }
  .detail-pack-colors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-pack-features { grid-template-columns: 1fr; }
  .detail-pack-block { margin-bottom: 36px; }
}
