/* Home: the first-step hero, the starting XI (lines), shoe finder, grip ramp, technology lab, worn at work (films +
   photos), social wall, kit, team orders, service. The U-Power block at the end overrides the Sparco-era rules it shares. */

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.04); transition: transform 1.8s var(--ease-out), filter 1.2s var(--ease-out); filter: saturate(.85) brightness(.8); }
.hero.go .hero__media img { transform: none; filter: none; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 12, 20, .92) 0, rgba(10, 12, 20, .72) 34%, rgba(10, 12, 20, 0) 68%), linear-gradient(0deg, rgba(10, 12, 20, .85) 0, rgba(10, 12, 20, 0) 40%); }
.hero__inner { width: 100%; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 72px); display: grid; gap: 22px; justify-items: start; }
.hero h1 { max-width: 11ch; }
.hero .lede { color: #d0d5e0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 18px 0 0; padding-top: 22px; border-top: 1px solid var(--line-d); }
.hero__stats div { display: grid; gap: 4px; }
.hero__stats dt { font: 800 italic 34px/1 var(--display); color: #fff; order: 0; }
.hero__stats dd { margin: 0; font: 600 12.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); white-space: nowrap; } /* no reflow when the webfont swaps in */
/* the start gantry: five red lights come on one by one, then all go out */
.hero__lights { position: absolute; top: 28px; right: var(--gut); display: flex; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__lights i { width: 22px; height: 22px; border-radius: 50%; background: #2a0000; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .8); transition: background .12s, box-shadow .12s; }
.hero__lights i.on { background: radial-gradient(circle at 40% 35%, #ff6b5e, var(--red) 55%, #8a0000); box-shadow: 0 0 18px 4px rgba(225, 6, 0, .65), inset 0 -2px 3px rgba(0, 0, 0, .4); }
.hero__streak { position: absolute; left: 0; right: 0; top: 50%; height: 2px; z-index: -1; background: linear-gradient(90deg, transparent, var(--orange) 40%, #fff 50%, transparent 60%); transform: translateX(-100%); opacity: 0; }
.hero.go .hero__streak { animation: streak .9s var(--ease-out) forwards; }
@keyframes streak { 0% { transform: translateX(-100%); opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
@media (max-width: 47.99em) {
  .hero { min-height: 88svh; }
  .hero__media img { object-position: 50% 30%; }
  .hero::before { background: linear-gradient(0deg, rgba(10, 12, 20, .96) 0, rgba(10, 12, 20, .78) 45%, rgba(10, 12, 20, .1) 75%); }
  .hero__lights { top: 16px; gap: 6px; padding: 12px 10px; } .hero__lights i { width: 16px; height: 16px; }
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; } .hero__stats dt { font-size: 26px; }
  .rail-nav { display: none; }
}

/* ---------- the grid: family line-up as a starting grid, race direction to the right ---------- */
.grid-sec { background: radial-gradient(1200px 400px at 70% 0, #1a2140, transparent 70%), var(--ink); overflow: hidden; }
.lanes { display: flex; gap: 8px; }
.track { direction: rtl; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 8px 0 26px; }
.track::-webkit-scrollbar { display: none; }
.track__inner { direction: rtl; position: relative; display: grid; grid-template-rows: auto auto; grid-auto-flow: column; grid-auto-columns: clamp(150px, 13.2vw, 186px); column-gap: 22px; row-gap: 26px; width: max-content; padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); min-width: 100%; justify-content: end; }
.track__inner::after { content: ''; position: absolute; top: -8px; bottom: -8px; right: max(8px, calc((100vw - var(--wrap)) / 2 + 8px)); width: 16px; background: repeating-conic-gradient(#fff 0 25%, #111 0 50%) 0 0 / 8px 8px; opacity: .85; border-radius: 2px; }
.slot { direction: ltr; position: relative; display: grid; gap: 6px; padding: 14px 14px 12px; border-radius: 4px; color: #fff; transition: transform var(--dur) var(--ease); }
.slot:nth-child(even) { transform: translateX(calc(-50% - 11px)); } /* bottom lane sits half a slot behind */
.slot::before { content: ''; position: absolute; inset: 0; border: 3px solid rgba(255, 255, 255, .55); border-left: 0; border-radius: 0 4px 4px 0; -webkit-mask: linear-gradient(90deg, transparent 0 55%, #000 55%); mask: linear-gradient(90deg, transparent 0 55%, #000 55%); pointer-events: none; }
.slot:hover { transform: translateY(-4px); }
.slot:nth-child(even):hover { transform: translate(calc(-50% - 11px), -4px); }
.slot__pos { font: 900 italic 15px/1 var(--display); color: var(--orange); letter-spacing: .06em; }
.slot__img { position: relative; aspect-ratio: 2 / 1; }
.slot__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .55)); transition: opacity .45s var(--ease), transform .45s var(--ease-out); }
.slot__img img.out { opacity: 0; transform: translateX(14px); }
.slot:hover .slot__img img:not(.out) { transform: translateX(6px); }
.slot__name { font: 800 italic 25px/1 var(--display); text-transform: uppercase; }
.slot__meta { font-size: 12.5px; color: var(--muted-d); line-height: 1.35; }
.slot__meta b { color: #fff; font-weight: 600; }
.grid-sec .hint { color: var(--muted-d); font-size: 13.5px; display: flex; gap: 8px; align-items: center; }
.grid-sec .hint .icon { width: 16px; height: 16px; color: var(--orange); }
@media (max-width: 47.99em) {
  .track__inner { grid-template-rows: auto; grid-auto-columns: 58vw; column-gap: 12px; }
  .slot:nth-child(even), .slot:nth-child(even):hover { transform: none; }
}

/* ---------- pit wall: the finder, one dark console ---------- */
.pit { background: radial-gradient(1200px 500px at 70% 30%, #2a0d10, transparent 70%), var(--ink); }
.pit__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: 26px; }
.pit__head .lede { margin: 0; }
.scope__label { font: 700 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); }
.scope__none { color: var(--muted-d); font-size: 14px; padding: 18px 4px; }
.pit__console { border-radius: var(--r-lg); overflow: hidden; background: #0e1018; box-shadow: 0 0 0 1px var(--line-d), 0 40px 80px rgba(0, 0, 0, .45); }

/* the job rail */
.pit__jobs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-d); }
.pit__jobs::-webkit-scrollbar { display: none; }
.pit__jobs button { position: relative; flex: 1 0 auto; display: grid; justify-items: start; gap: 4px; padding: 16px 20px 14px; color: var(--muted-d); text-align: left; border-right: 1px solid var(--line-d); transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.pit__jobs button span { font: 800 italic 15px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.pit__jobs button small { font: 700 11px/1 var(--display); letter-spacing: .12em; color: rgba(255, 255, 255, .35); }
.pit__jobs button small::after { content: ' shoes'; }
.pit__jobs button:hover { color: #fff; background: rgba(255, 255, 255, .03); }
.pit__jobs button[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, rgba(226, 6, 19, .16), transparent); }
.pit__jobs button[aria-pressed="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--orange); box-shadow: 0 0 16px rgba(226, 6, 19, .8); }
.pit__jobs button[aria-pressed="true"] small { color: var(--orange); }

.pit__body { display: grid; grid-template-columns: 300px 1fr; }
/* hazards: icon tiles */
.pit__hazards { padding: 20px; border-right: 1px solid var(--line-d); display: grid; align-content: start; gap: 12px; }
.hz { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hz button { position: relative; display: grid; gap: 6px; justify-items: start; padding: 12px 12px 10px; border-radius: 12px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line-d); color: var(--muted-d); text-align: left; transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease), transform .15s var(--ease); }
.hz button:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.hz button:active { transform: scale(.97); }
.hz svg { width: 24px; height: 24px; }
.hz span { font: 700 13.5px/1.15 var(--body); }
.hz small { font: 700 10.5px/1 var(--display); letter-spacing: .14em; color: rgba(255, 255, 255, .32); }
.hz button::after { content: ''; position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .14); transition: all var(--dur) var(--ease); }
.hz button[aria-pressed="true"] { color: #fff; background: linear-gradient(160deg, rgba(226, 6, 19, .28), rgba(226, 6, 19, .06)); box-shadow: inset 0 0 0 1.5px rgba(226, 6, 19, .85); }
.hz button[aria-pressed="true"] svg { color: #ff4d57; filter: drop-shadow(0 0 8px rgba(226, 6, 19, .7)); }
.hz button[aria-pressed="true"] small { color: #ffb3b8; }
.hz button[aria-pressed="true"]::after { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.pit__why { color: var(--muted-d); font-size: 13.5px; line-height: 1.45; margin: 4px 2px 0; }

/* the stage: marking readout, the shoe, callouts, the class ladder */
.pit__stage { position: relative; min-height: 560px; overflow: hidden; isolation: isolate; --tx: 0; --ty: 0;
  background: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 100% 36px, linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 36px 100%, radial-gradient(520px 260px at 50% 58%, #1d2550, transparent 72%), #0b0d15; }
.pit__stage::before { content: ''; position: absolute; left: 0; right: 0; height: 120px; top: -120px; background: linear-gradient(180deg, transparent, rgba(226, 6, 19, .08), transparent); animation: scan 5.5s linear infinite; pointer-events: none; z-index: -1; }
@keyframes scan { to { transform: translateY(820px); } }
.pit__read { position: absolute; left: 24px; right: 24px; top: 20px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 3; pointer-events: none; }
.pit__class { display: flex; margin-top: 8px; font: 900 italic clamp(54px, 5.4vw, 84px)/.9 var(--display); letter-spacing: .01em; color: var(--orange); text-shadow: 0 0 28px rgba(226, 6, 19, .55); perspective: 400px; }
.pit__class span { display: inline-block; }
.pit__class span.flip { animation: flip .5s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes flip { from { transform: rotateX(-90deg) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.pit__codes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pit__codes span { font: 800 13px/1 var(--display); letter-spacing: .1em; color: #fff; padding: 6px 9px 5px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); animation: pop .35s var(--ease-out) both; animation-delay: calc(120ms + var(--i) * 50ms); }
@keyframes pop { from { transform: scale(.7); opacity: 0; } }
.pit__count { text-align: right; }
.pit__count b { display: block; margin-top: 8px; font: 900 italic clamp(48px, 4.6vw, 72px)/.9 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.pit__shoe { position: absolute; left: 50%; top: 53%; width: min(52%, 560px); transform: translate(-50%, -50%) perspective(900px) rotateY(calc(var(--tx) * 5deg)) rotateX(calc(var(--ty) * -3deg)); transition: transform .4s var(--ease-out); z-index: 4; }
.pit__shoe::after { content: ''; position: absolute; left: 12%; right: 8%; bottom: -2%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); z-index: -1; filter: blur(4px); }
.pit__shoe img { width: 100%; height: auto; filter: drop-shadow(0 26px 24px rgba(0, 0, 0, .6)); -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 97%); mask-image: linear-gradient(to bottom, #000 84%, transparent 97%); } /* hides the white floor shadow baked into the packshots */
.pit__shoe img.in { animation: shoeIn .55s var(--ease-out) both; }
.pit__shoe img.swap { opacity: 0; transform: translateX(-24px) scale(.97); transition: all .2s var(--ease); }
@keyframes shoeIn { from { opacity: 0; transform: translateX(28px) scale(.97); filter: blur(6px) drop-shadow(0 26px 24px rgba(0, 0, 0, .6)); } }
.pit__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.pit__lines path { fill: none; stroke: rgba(255, 90, 100, .75); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .6s var(--ease-out) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pit__callouts { position: absolute; inset: 0; z-index: 3; pointer-events: none; transition: opacity .2s; }
.pit__callouts.is-out { opacity: 0; }
.co { position: absolute; display: grid; gap: 2px; padding: 7px 10px; border-radius: 8px; background: rgba(12, 14, 22, .82); box-shadow: inset 0 0 0 1px rgba(255, 90, 100, .45); backdrop-filter: blur(6px); pointer-events: auto; animation: coIn .4s var(--ease-out) both; animation-delay: calc(200ms + var(--i) * 60ms); }
.co.is-right { text-align: right; }
.co b { font: 900 italic 18px/1 var(--display); color: #ff4d57; letter-spacing: .02em; }
.co span { font: 700 12px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.co em { font-style: normal; font-size: 12px; line-height: 1.35; color: var(--muted-d); max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.co:hover em { max-height: 80px; margin-top: 3px; }
@keyframes coIn { from { opacity: 0; transform: translateY(6px); } }
.co__dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(226, 6, 19, .3), 0 0 14px var(--orange); animation: pop .3s var(--ease-out) both .45s; }
.co__dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--orange); animation: ping 1.8s ease-out 1s infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.pit__ladder { position: absolute; left: 24px; right: 24px; bottom: 18px; z-index: 3; list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.pit__ladder li { padding: 10px 10px 8px; border-radius: 8px; background: rgba(255, 255, 255, .04); border-top: 3px solid rgba(255, 255, 255, .12); transition: all .3s var(--ease); }
.pit__ladder b { display: block; font: 900 italic 17px/1 var(--display); color: rgba(255, 255, 255, .42); }
.pit__ladder span { display: block; margin-top: 4px; font-size: 11px; line-height: 1.3; color: rgba(255, 255, 255, .32); }
.pit__ladder li.is-below { border-top-color: rgba(226, 6, 19, .5); }
.pit__ladder li.is-below b { color: rgba(255, 255, 255, .7); }
.pit__ladder li.is-on { background: linear-gradient(180deg, rgba(226, 6, 19, .22), rgba(226, 6, 19, .05)); border-top-color: var(--orange); box-shadow: 0 -6px 18px -8px rgba(226, 6, 19, .9); }
.pit__ladder li.is-on b { color: #fff; }
.pit__ladder li.is-on span { color: #ffc2c6; }

/* the results */
.pit__results { border-top: 1px solid var(--line-d); padding: 14px; }
.pit__picks { display: grid; grid-template-columns: repeat(4, 1fr) 150px; gap: 10px; }
.pp { position: relative; display: grid; gap: 4px; padding: 10px 12px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-d); color: #fff; transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.pp:hover { background: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.pp[aria-current="true"] { box-shadow: inset 0 0 0 1.5px var(--orange), 0 10px 30px -12px rgba(226, 6, 19, .7); }
.pp__img { display: grid; place-items: center; height: 84px; }
.pp__img img { max-width: 100%; max-height: 84px; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .5)); }
.pp__tag { justify-self: start; font: 800 10.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 4px 7px; border-radius: 5px; background: rgba(25, 179, 107, .16); color: #6be3a8; }
.pp__tag.is-up { background: rgba(255, 255, 255, .08); color: var(--muted-d); }
.pp b { font: 800 italic 17px/1 var(--display); text-transform: uppercase; }
.pp small { font-size: 12px; color: var(--muted-d); line-height: 1.35; }
.pp__price { font: 800 italic 18px/1 var(--display); margin-top: 2px; }
.pp--all { align-content: center; justify-items: start; background: var(--orange); box-shadow: none; }
.pp--all:hover { background: var(--orange-2); }
.pp--all b { font-size: 26px; }
.pp--all small { color: rgba(255, 255, 255, .85); }
.pp--all .icon { width: 22px; height: 22px; margin-top: 6px; }

@media (max-width: 63.99em) {
  .pit__head, .pit__body { grid-template-columns: 1fr; }
  .pit__hazards { border-right: 0; border-bottom: 1px solid var(--line-d); }
  .hz { grid-template-columns: repeat(5, 1fr); }
  .pit__picks { grid-template-columns: 1fr 1fr; }
  .pp--all { grid-column: 1 / -1; }
}
@media (max-width: 47.99em) {
  .hz { grid-template-columns: 1fr 1fr; }
  .pit__stage { min-height: 520px; }
  .pit__shoe { width: 82%; top: 47%; }
  .pit__read { left: 16px; right: 16px; }
  .pit__class { font-size: 48px; }
  .pit__count b { font-size: 44px; }
  .pit__ladder { left: 10px; right: 10px; bottom: 10px; gap: 3px; }
  .pit__ladder li { padding: 7px 5px 6px; }
  .pit__ladder b { font-size: 13px; }
  .pit__ladder span { display: none; }
}
/* narrow stage: callouts become a list under the shoe, dots stay on it */
.pit__stage.is-narrow .pit__callouts { display: flex; flex-wrap: wrap; align-content: flex-end; gap: 6px; padding: 0 12px 70px; }
.pit__stage.is-narrow .co { position: static; width: auto !important; padding: 5px 8px; }
.pit__stage.is-narrow .co em { display: none; }
@media (prefers-reduced-motion: reduce) { .pit__stage::before, .pit__shoe img, .co__dot::after { animation: none !important; } .pit__lines path { stroke-dashoffset: 0; animation: none; } }

/* ---------- liveries ---------- */
.liv { background: #fff; }
.liv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.livery { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; min-height: 520px; }
.livery__band { height: 14px; }
.livery--martini .livery__band { background: linear-gradient(90deg, #0d1b3d 0 58%, #41b6e6 58% 72%, #0d1b3d 72% 80%, #e4002b 80%); }
.livery--gulf .livery__band { background: linear-gradient(90deg, #69b3e7 0 74%, #ff7f00 74%); }
.livery--redbull .livery__band { background: linear-gradient(90deg, #1e2a4a 0 70%, #db0a40 70% 86%, #ffc906 86%); }
.livery__media { position: absolute; inset: 14px 0 0; z-index: -1; }
.livery__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.livery:hover .livery__media img { transform: scale(1.04); }
.livery__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 10, 18, .95) 0, rgba(8, 10, 18, .6) 42%, rgba(8, 10, 18, 0) 70%); }
.livery__body { align-self: end; padding: 22px; display: grid; gap: 12px; }
.livery__body h3 { font-size: clamp(30px, 2.6vw, 40px); }
.livery__models { display: flex; gap: 6px; margin: 2px 0 4px; }
.livery__models a { flex: 1; min-width: 0; background: rgba(255, 255, 255, .08); border-radius: 8px; padding: 6px; display: grid; gap: 4px; transition: background var(--dur) var(--ease); }
.livery__models a:hover { background: rgba(255, 255, 255, .16); }
.livery__models img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
.livery__models span { font: 700 12px/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 63.99em) { .liv__grid { grid-template-columns: 1fr; } .livery { min-height: 440px; } }

/* ---------- worn at work: photo rail with product tags ---------- */
.worn { background: var(--paper); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 420px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gut) 6px; scroll-padding: 0 var(--gut); }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 90em) { .rail { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); scroll-padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); } }
.shot { position: relative; scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); color: #fff; }
.shot--wide { grid-column: span 2; aspect-ratio: auto; }
.shot > img, .shot > button img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(0deg, rgba(8, 10, 18, .9), transparent); font-size: 14px; display: grid; gap: 8px; }
.shot figcaption b { font: 800 italic 20px/1 var(--display); text-transform: uppercase; }
.shot .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.shot .tags a { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 4px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 700 13px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.shot .tags a img { width: 36px; height: 22px; object-fit: contain; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; background: #fff; transition: all var(--dur) var(--ease); }
.rail-nav button:hover:not([disabled]) { border-color: var(--ink); }
.rail-nav button[disabled] { opacity: .35; }

/* ---------- the kit (workwear outfit) ---------- */
.kit { background: #fff; }
.kit__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.kit__stage { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: radial-gradient(60% 50% at 50% 45%, #eef0f6, #dfe3ec); overflow: hidden; }
.kit__piece { position: absolute; display: block; transition: transform .6s var(--ease-out), opacity .4s var(--ease); }
.kit__piece img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(10, 12, 20, .22)); }
.kit__piece--top { left: 8%; top: 5%; width: 50%; height: 48%; }
.kit__piece--mid { left: 50%; top: 10%; width: 36%; height: 38%; }
.kit__piece--bottom { left: 22%; top: 44%; width: 38%; height: 52%; }
.kit__piece--shoe { right: 4%; bottom: 6%; width: 44%; height: 26%; }
.kit__piece:hover { transform: translateY(-6px); }
.kit__stage.swap .kit__piece { opacity: 0; transform: translateY(10px); }
.kit__list { display: grid; gap: 8px; margin: 18px 0; }
.kit__row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 12px; border: 1.5px solid var(--line); }
.kit__row img { width: 56px; height: 56px; object-fit: contain; }
.kit__row b { font: 800 italic 17px/1 var(--display); text-transform: uppercase; display: block; }
.kit__row small { color: var(--muted); font-size: 13px; }
.kit__total { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.kit__total .price b { font-size: 30px; }
@media (max-width: 59.99em) { .kit__grid { grid-template-columns: 1fr; } }

/* ---------- crew teaser ---------- */
.crew-t { background: radial-gradient(900px 400px at 80% 20%, #1b2a8c, transparent 70%), var(--blue-ink); }
.crew-t__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.steps { display: grid; gap: 14px; margin: 26px 0 30px; padding: 0; list-style: none; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; counter-increment: s; color: #d6dae8; }
.steps li::before { content: counter(s); width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font: 900 italic 20px/1 var(--display); color: var(--orange); }
.steps b { color: #fff; display: block; font-size: 17px; }
.runs { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 16px; }
.runs__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.runs__head b { font: 800 italic 22px/1 var(--display); text-transform: uppercase; }
.runs__bars { display: grid; grid-template-columns: repeat(11, 1fr); gap: 6px; align-items: end; height: 170px; }
.runs__bars div { display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; }
.runs__bars i { align-self: end; display: block; border-radius: 4px 4px 1px 1px; background: linear-gradient(0deg, var(--blue-2), var(--orange)); height: 0; transition: height .9s var(--ease-out); position: relative; }
.runs__bars i::before { content: attr(data-n); position: absolute; top: -18px; left: 0; right: 0; text-align: center; font: 700 12px/1 var(--display); color: #fff; }
.runs__bars span { text-align: center; font: 700 12px/1 var(--display); color: var(--muted-d); }
.runs__roles { display: flex; flex-wrap: wrap; gap: 6px; }
.runs__roles span { font: 700 12.5px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.runs__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line-d); font-size: 14px; color: #d6dae8; }
.runs__foot b { color: #fff; font: 800 italic 22px/1 var(--display); }
@media (max-width: 59.99em) { .crew-t__grid { grid-template-columns: 1fr; } }

/* ---------- service ---------- */
.svc { background: var(--paper); padding: 48px 0; }
.svc__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.svc__item { background: #fff; border-radius: var(--r-lg); padding: 20px; display: grid; gap: 8px; align-content: start; }
.svc__item .icon { width: 28px; height: 28px; color: var(--blue); }
.svc__item b { font: 800 italic 20px/1.05 var(--display); text-transform: uppercase; }
.svc__item span { color: var(--muted); font-size: 14.5px; }
.svc__note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 59.99em) { .svc__grid { grid-template-columns: 1fr 1fr; } }

/* hero film: rolls in when the lights go out */
.hero__film { position: absolute; top: 0; left: 0; z-index: -2; width: 100%; height: calc(100% - 2px); /* 2 px smaller than the photo, so the decorative loop never becomes the LCP element */ object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease-out); pointer-events: none; }
.hero.rolling .hero__film { opacity: 1; }
.hero__play { gap: 8px; }
.film-card { position: relative; }
.film-card .play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(226, 6, 19, .92); color: var(--ink); display: grid; place-items: center; transition: transform var(--dur) var(--ease); }
.film-card:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.film-card .play .icon { width: 26px; height: 26px; margin-left: 3px; }

/* ---------- born in motorsport: the brand chapter (Sparco's own timeline over their racing footage) ---------- */
.moto { position: relative; min-height: min(100svh, 880px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; background: #05060b; }
.moto__film { position: absolute; inset: 0; z-index: -2; }
.moto__film video, .moto__film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.moto__film video { opacity: 0; transition: opacity 1s var(--ease); }
.moto__film video.playing { opacity: 1; }
.moto::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 6, 11, .96) 0, rgba(5, 6, 11, .55) 38%, rgba(5, 6, 11, .1) 70%), linear-gradient(90deg, rgba(5, 6, 11, .7), transparent 60%); }
.moto__inner { width: 100%; padding-top: 110px; padding-bottom: 28px; display: grid; gap: 18px; }
.moto__year { font: 900 italic clamp(64px, 12vw, 180px)/.8 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .85); letter-spacing: -.01em; }
.moto__line { font-size: clamp(34px, 5.4vw, 82px); max-width: 16ch; min-height: 2em; }
.moto__line span { display: inline-block; animation: lineIn .7s var(--ease-out) both; }
@keyframes lineIn { from { transform: translateX(-30px) skewX(-14deg); opacity: 0; filter: blur(4px); } }
.moto .lede { color: #cfd4e0; max-width: 56ch; }
.laps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line-d); margin-top: 8px; }
.lap-b { position: relative; text-align: left; padding: 16px 14px 18px 0; color: var(--muted-d); display: grid; gap: 6px; font-size: 13.5px; line-height: 1.35; cursor: pointer; }
.lap-b b { font: 900 italic 26px/1 var(--display); color: #fff; opacity: .55; transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease); }
.lap-b::before { content: ''; position: absolute; left: 0; right: 14px; top: -1px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.lap-b[aria-current="true"] b { opacity: 1; color: var(--orange); }
.lap-b[aria-current="true"]::before { animation: lapfill var(--lapdur, 3s) linear forwards; }
@keyframes lapfill { to { transform: scaleX(1); } }
.lap-b[aria-current="true"] span { color: #e8ebf2; }
.ticker { position: relative; overflow: hidden; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); background: rgba(5, 6, 11, .6); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker__track span { font: 900 italic clamp(24px, 3vw, 40px)/1 var(--display); text-transform: uppercase; padding: 14px 26px; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); white-space: nowrap; }
.ticker__track span:nth-child(3n+1) { color: #fff; -webkit-text-stroke: 0; }
.ticker__track span::after { content: '/'; margin-left: 26px; color: var(--orange); -webkit-text-stroke: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }
.moto:hover .ticker__track { animation-play-state: paused; }
@media (max-width: 47.99em) { .laps { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; scrollbar-width: none; } .moto__year { -webkit-text-stroke-width: 1.5px; } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } .lap-b[aria-current="true"]::before { animation: none; transform: scaleX(1); } }

/* ---------- social wall ---------- */
.social { background: #05060b; }
.follows { display: grid; gap: 12px; justify-items: end; max-width: 560px; }
.follow { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.follow__tw { margin: 0; font-size: 13.5px; color: var(--muted-d); text-align: right; }
.follow__tw .link { color: #fff; font-weight: 500; text-decoration-thickness: 1px; }
@media (max-width: 63.99em) { .follows { justify-items: start; } .follow { justify-content: flex-start; } .follow__tw { text-align: left; } }
.follow a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px; border-radius: 999px; border: 1.5px solid var(--line-d); color: #fff; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.follow a:hover { background: rgba(255, 255, 255, .08); border-color: #fff; transform: translateY(-2px); }
.follow a b { font: 800 italic 17px/1 var(--display); }
.follow a small { font-size: 12.5px; color: var(--muted-d); }
.follow .icon { width: 20px; height: 20px; }
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 17vw, 250px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gut) 4px; scroll-padding: 0 var(--gut); }
.reels::-webkit-scrollbar { display: none; }
@media (min-width: 90em) { .reels { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); scroll-padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); } }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); color: #fff; scroll-snap-align: start; transition: transform var(--dur) var(--ease); }
.reel:hover { transform: translateY(-4px); }
.reel > img, .reel > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel > video { opacity: 0; transition: opacity .6s var(--ease); }
.reel > video.playing { opacity: 1; }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 6, 11, .9) 0, transparent 45%), linear-gradient(180deg, rgba(5, 6, 11, .5), transparent 22%); }
.reel__top { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 1; display: flex; justify-content: space-between; align-items: center; font: 700 12.5px/1 var(--display); letter-spacing: .06em; }
.reel__top .icon { width: 18px; height: 18px; }
.reel__views { background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 6px 8px; border-radius: 999px; }
.reel p { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; margin: 0; font: 700 15px/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.foot__social { display: flex; gap: 6px; margin-top: 18px; }
.foot__social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); padding: 0; }
.foot__social a:hover { background: rgba(255, 255, 255, .14); }
.foot__social .icon { width: 19px; height: 19px; }

.livery__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease); }
.livery__media video.playing { opacity: 1; }
.kenburns img { animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, 1.5%); } }
@media (prefers-reduced-motion: reduce) { .kenburns img { animation: none; } }

/* shoppable clips: the livery-card product row on films and reels */
.seen { display: grid; gap: 10px; pointer-events: auto; }
.seen .livery__models { margin: 0; }
.seen .livery__models a { flex: 0 1 calc(33.333% - 4px); max-width: calc(33.333% - 4px); }
.seen .btn { justify-self: stretch; }
.film-card figcaption { pointer-events: none; z-index: 1; }
.film-card figcaption .seen { margin-top: 4px; }
.film-card--shop figcaption { padding-top: 90px; background: linear-gradient(0deg, rgba(8, 10, 18, .95) 0, rgba(8, 10, 18, .7) 55%, transparent); }
.reel--shop { grid-column: span 1; }
.reel--shop::after { background: linear-gradient(0deg, rgba(5, 6, 11, .96) 0, rgba(5, 6, 11, .7) 42%, transparent 70%), linear-gradient(180deg, rgba(5, 6, 11, .5), transparent 22%); }
.reel__open { position: absolute; inset: 0; z-index: 1; }
.reel--shop .reel__top { z-index: 2; pointer-events: none; }
.reel__shop { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: grid; gap: 8px; }
.reel__shop p { position: static; margin: 0; }
.reel__seen { justify-self: start; font: 800 10.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--orange); padding: 5px 7px; border-radius: 4px; }
.reel--shop .livery__models { gap: 5px; }
.reel--shop .livery__models a { padding: 4px; }
.reel--shop .livery__models span { font-size: 10.5px; }
.reel--shop .btn { min-height: 36px; font-size: 13px; padding: 0 10px; }
.film-card--shop .play { top: 30%; }
.reel__seen, .film-card .play { color: #fff; }

/* =================== U-Power =================== */

/* ---------- hero: the first step (the shoe lands, energy rings out of the Infinergy heel) ---------- */
.hero { align-items: center; background: radial-gradient(900px 520px at 72% 58%, rgba(226, 6, 19, .34), transparent 70%), radial-gradient(600px 300px at 72% 88%, rgba(226, 6, 19, .22), transparent 70%), linear-gradient(180deg, #0d0d0c, #161312); }
.hero::before { background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px); }
.hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero__copy { display: grid; gap: 22px; justify-items: start; }
.hero h1 { max-width: 10ch; }
.hero__shoe { position: relative; display: grid; justify-items: center; gap: 18px; padding-bottom: 8px; }
.step { position: relative; width: min(100%, 620px); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.step img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .65)); transform: translateY(-9%) rotate(-7deg); transform-origin: 18% 100%; opacity: 0; }
.step--left img { transform-origin: 82% 100%; transform: translateY(-9%) rotate(7deg); }
.hero.go .step img { animation: land 1s var(--ease-out) .05s forwards; }
.hero.still .step img { animation: none; transform: none; opacity: 1; }
@keyframes land { 0% { opacity: 0; transform: translateY(-9%) rotate(var(--r0, -7deg)); } 35% { opacity: 1; } 55% { transform: translateY(1.2%) rotate(0); } 72% { transform: translateY(-.6%) rotate(0); } 100% { opacity: 1; transform: none; } }
.step--left { --r0: 7deg; }
.step__wave { position: absolute; left: 30%; bottom: 3%; width: 46%; aspect-ratio: 4 / 1; border-radius: 50%; border: 2px solid var(--orange); box-shadow: 0 0 22px rgba(226, 6, 19, .55), inset 0 0 12px rgba(226, 6, 19, .4); transform: translateX(-50%) scale(.2); opacity: 0; pointer-events: none; }
.step--left .step__wave { left: 70%; }
.hero.go .step__wave { animation: ring 1.5s var(--ease-out) .5s forwards; }
.hero.go .step__wave:nth-child(2) { animation-delay: .66s; }
.hero.go .step__wave:nth-child(3) { animation-delay: .82s; }
.hero.still .step__wave { animation: none; }
@keyframes ring { 0% { opacity: .95; transform: translateX(-50%) scale(.2); } 100% { opacity: 0; transform: translateX(-50%) scale(2.4); } }
.step__tag { justify-self: start; margin-left: 8%; display: grid; gap: 4px; padding: 10px 16px 10px 14px; border-left: 3px solid var(--orange); background: rgba(255, 255, 255, .06); border-radius: 0 10px 10px 0; color: #fff; opacity: 0; transform: translateY(8px); transition: background var(--dur) var(--ease); }
.hero.go .step__tag { animation: tagIn .6s var(--ease-out) 1s forwards; }
.hero.still .step__tag { animation: none; opacity: 1; transform: none; }
@keyframes tagIn { to { opacity: 1; transform: none; } }
.step__tag:hover { background: rgba(255, 255, 255, .12); }
.step__tag b { font: 800 italic 20px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.step__tag span { font-size: 13.5px; color: var(--muted-d); }
.step__tag span b { font: inherit; color: #fff; font-weight: 600; text-transform: none; }
@media (max-width: 63.99em) {
  .hero { align-items: flex-end; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 96px; }
  .hero__shoe { order: -1; }
  .step { width: min(88%, 440px); }
}
@media (prefers-reduced-motion: reduce) { .step img, .step__tag { animation: none !important; transform: none; opacity: 1; } .step__wave { display: none; } }

/* ---------- the starting XI: lines on a pitch ---------- */
.xi { background: radial-gradient(1000px 420px at 30% 0, #2a0d10, transparent 70%), var(--ink); }
.xi__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.pitch { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-lg); overflow: hidden; background: repeating-linear-gradient(90deg, #13301c 0 10%, #173a22 10% 20%); box-shadow: inset 0 0 120px rgba(0, 0, 0, .55); }
.pitch__lines { position: absolute; inset: 4%; border: 2px solid rgba(255, 255, 255, .28); pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)) 0 50% / 100% 2px no-repeat; }
.pitch__lines::before { content: ''; position: absolute; left: 50%; top: 50%; width: 18%; aspect-ratio: 1; border: 2px solid rgba(255, 255, 255, .28); border-radius: 50%; transform: translate(-50%, -50%); }
.pitch__lines::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: -2px; height: 17%; border: 2px solid rgba(255, 255, 255, .28); }
.player { position: absolute; z-index: 1; width: 13%; display: grid; justify-items: center; gap: 3px; text-align: center; color: #fff; transform: translate(-50%, -50%); transition: transform var(--dur) var(--ease); }
.player:hover { transform: translate(-50%, -54%); }
.player__shirt { position: absolute; top: -6px; left: 6%; z-index: 1; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.player__shirt b { font: 900 italic 13px/1 var(--display); }
.player__shoe { display: block; width: 100%; aspect-ratio: 2 / 1; }
.player__shoe img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .6)); }
.player__name { font: 800 italic clamp(12px, 1.15vw, 16px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.player__meta { font-size: 11.5px; line-height: 1.2; color: #d6dcd4; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.player__meta b { font-weight: 600; color: #fff; }
.bench { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); border-radius: var(--r-lg); padding: 20px; }
.bench h3 { font-size: 15px; font-style: normal; letter-spacing: .14em; color: var(--muted-d); margin-bottom: 14px; }
.bench__list { display: flex; flex-wrap: wrap; gap: 8px; }
.bench__list i { font-style: normal; color: var(--muted-d); font-weight: 600; }
@media (max-width: 63.99em) { .xi__grid { grid-template-columns: 1fr; } }
@media (max-width: 47.99em) {
  .pitch { aspect-ratio: 3 / 4; }
  .player { width: 19%; }
  .player__meta { display: none; }
  .player__name { white-space: normal; font-size: 11px; max-width: 22vw; }
  .player__shirt { width: 20px; height: 20px; top: -4px; } .player__shirt b { font-size: 11px; }
}

/* ---------- grip, measured: the tilting ramp ---------- */
.grip { background: radial-gradient(900px 420px at 80% 60%, #2a0d10, transparent 70%), var(--ink); overflow: hidden; }
.grip__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.grip__grid > div:first-child { display: grid; gap: 18px; align-content: start; }
.grip__top { display: grid; gap: 6px; max-width: 420px; }
.grip__top .scope__label { margin-bottom: 4px; }
.grip__row { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; background: rgba(255, 255, 255, .04); color: #fff; text-align: left; transition: background var(--dur) var(--ease); }
.grip__row:hover { background: rgba(255, 255, 255, .1); }
.grip__row[aria-current="true"] { box-shadow: inset 3px 0 0 var(--orange); background: rgba(255, 255, 255, .1); }
.grip__row i { font: 900 italic 17px/1 var(--display); color: var(--orange); font-variant-numeric: tabular-nums; }
.grip__row b { font: 800 italic 16px/1 var(--display); text-transform: uppercase; }
.grip__row span { font: 600 13px/1 var(--display); color: var(--muted-d); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.ramp { position: relative; aspect-ratio: 16 / 11; display: grid; }
.ramp__deg { position: absolute; top: 0; right: 0; text-align: right; display: grid; gap: 6px; }
.ramp__deg b { font: 900 italic clamp(56px, 7vw, 104px)/.9 var(--display); color: var(--orange); text-shadow: 0 0 28px rgba(226, 6, 19, .45); font-variant-numeric: tabular-nums; }
.ramp__deg span { font-size: 13.5px; color: var(--muted-d); }
.ramp__board { position: absolute; left: 4%; right: 4%; bottom: 12%; height: 12px; border-radius: 3px; background: linear-gradient(180deg, #5b5f68, #2c2f36); box-shadow: 0 10px 24px rgba(0, 0, 0, .5); transform-origin: 0 50%; transform: rotate(var(--a, 0deg)); transition: transform 1.3s var(--ease-out); }
.ramp__board::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .2) 0 10px, transparent 10px 20px); }
.ramp__shoe { position: absolute; left: 44%; bottom: 100%; width: 46%; transform: translateX(-50%); }
.ramp__shoe img { width: 100%; height: auto; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .55)); }
.ramp__base { position: absolute; left: 0; right: 0; bottom: 12%; height: 2px; margin-bottom: -1px; background: linear-gradient(90deg, var(--orange), rgba(226, 6, 19, 0)); transform: translateY(6px); }
@media (max-width: 63.99em) { .grip__grid { grid-template-columns: 1fr; } .ramp { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .ramp__board { transition: none; } }

/* ---------- technology lab ---------- */
.lab { background: #fff; }
.techcard { scroll-snap-align: start; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 22px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: var(--paper); color: var(--text); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.techcard:hover { border-color: var(--orange); transform: translateY(-3px); }
.techcard__n { font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.techcard b { font: 800 italic 24px/1.05 var(--display); text-transform: uppercase; }
.techcard__text { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.techcard__shoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.techcard__shoes img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
#techRail { grid-auto-columns: clamp(250px, 24vw, 330px); }

/* ---------- worn at work: narrower photo rail, one product per photo ---------- */
.rail--2 { grid-auto-columns: clamp(230px, 22vw, 320px); }
.rail--2 .film-card { grid-column: span 2; aspect-ratio: auto; }
.seen1 { pointer-events: auto; display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; padding: 6px 10px 6px 6px; border-radius: 10px; background: rgba(255, 255, 255, .94); color: var(--ink); transition: background var(--dur) var(--ease); }
.seen1:hover { background: #fff; }
.seen1 img { width: 64px; height: 36px; object-fit: contain; }
.seen1 b { display: block; font: 800 italic 16px/1 var(--display); text-transform: uppercase; }
.seen1 small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 47.99em) { .rail--2 { grid-auto-columns: 64vw; } .rail--2 .film-card { grid-column: span 1; aspect-ratio: 4 / 5; } }
.crew-t { background: radial-gradient(900px 400px at 80% 20%, #4d0206, transparent 70%), var(--blue-ink); }

/* =================== brand chapter (assets/brand.js) =================== */
/* shared: a round red play button over films */
.star__media .play, .roots__film .play, .road__pic .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(226, 6, 19, .92); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 30px rgba(226, 6, 19, .45); transition: transform var(--dur) var(--ease); z-index: 2; }
.star__media .play .icon, .roots__film .play .icon, .road__pic .play .icon { width: 26px; height: 26px; margin-left: 3px; }
.star__media:hover .play, .roots__film:hover .play, .road__pic:hover .play { transform: translate(-50%, -50%) scale(1.1); }
.seen__label { justify-self: start; font: 800 10.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--orange); padding: 5px 7px; border-radius: 4px; }

/* ---------- 1. legend: full-bleed Ronaldinho film ---------- */
.legend { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #070707; }
.legend__film { position: absolute; inset: 0; z-index: -2; }
.legend__film img, .legend__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.legend__film video { opacity: 0; transition: opacity 1s var(--ease); }
.legend__film video.playing { opacity: 1; }
.legend::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 7, 7, .97) 0, rgba(7, 7, 7, .75) 34%, rgba(7, 7, 7, .1) 68%), linear-gradient(90deg, rgba(7, 7, 7, .75), transparent 62%); }
.legend__inner { width: 100%; padding-top: 140px; padding-bottom: clamp(36px, 5vw, 64px); display: grid; gap: 20px; }
.legend__title { font-size: clamp(52px, 8.4vw, 132px); line-height: .88; max-width: 12ch; }
.legend__brand { display: block; color: var(--orange); text-shadow: 0 0 60px rgba(226, 6, 19, .45); }
.legend .lede { color: #e2e2e2; max-width: 58ch; }
.legend .lede b { color: #fff; font-weight: 600; }
.legend__row { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: flex-end; justify-content: space-between; }
.legend__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.legend__cta .btn .icon { width: 18px; height: 18px; }
.legend .seen { width: min(100%, 440px); padding: 12px; border-radius: var(--r-lg); background: rgba(10, 10, 10, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line-d); }
.legend__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 10px 0 0; border-top: 1px solid var(--line-d); }
.legend__stats div { padding: 18px 18px 0 0; display: grid; gap: 6px; align-content: start; }
.legend__stats dt { font: 900 italic clamp(28px, 3vw, 44px)/1 var(--display); color: #fff; }
.legend__stats dd { margin: 0; font-size: 13.5px; line-height: 1.35; color: var(--muted-d); max-width: 26ch; }
@media (max-width: 63.99em) { .legend__stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 47.99em) { .legend { min-height: 100svh; } .legend__title { font-size: clamp(46px, 14vw, 72px); } .legend .seen { width: 100%; } }

/* ---------- 2. the U-Power team: shoppable ambassador films ---------- */
.stars { background: radial-gradient(1100px 480px at 20% 0, #3a0508, transparent 70%), #0b0b0b; }
.stars__rail { grid-auto-columns: clamp(290px, 27vw, 400px); align-items: stretch; }
.star { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: #161616; border: 1px solid var(--line-d); }
.star__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #000; color: #fff; text-align: left; }
.star__media > img, .star__media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.star__media > video { opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease-out); }
.star__media > video.playing { opacity: 1; }
.star__media:hover > img, .star__media:hover > video { transform: scale(1.04); }
.star__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0, rgba(0, 0, 0, .35) 38%, transparent 60%); }
.star__year { position: absolute; top: 12px; left: 12px; z-index: 2; font: 800 12px/1 var(--display); letter-spacing: .12em; padding: 6px 8px; border-radius: 4px; background: rgba(0, 0, 0, .6); }
.star__name { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: grid; gap: 6px; }
.star__name b { font: 900 italic clamp(30px, 2.6vw, 42px)/.92 var(--display); text-transform: uppercase; }
.star__name span { font-size: 14px; color: #e0e0e0; }
.star__body { padding: 16px; display: grid; gap: 10px; align-content: start; }
.star__spot { margin: 0; font: 800 italic 16px/1.1 var(--display); text-transform: uppercase; color: #fff; }
.star__spot small { display: block; margin-top: 4px; font: 400 12.5px/1.3 var(--body); text-transform: none; color: var(--muted-d); }
.star__reach { margin: 0; font: 700 13px/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.star__note { margin: 0; font-size: 13.5px; color: var(--muted-d); }
.star .seen .livery__models { gap: 6px; }
.stars__credit { margin: 14px 0 0; font-size: 12.5px; color: var(--muted-d); }

/* ---------- 3. roots: the founder and the rally car ---------- */
.roots { background: #0d0d0c; overflow: hidden; }
.roots__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.roots__media { position: relative; padding-bottom: 12%; }
.roots__film { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.roots__film > img, .roots__film > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.roots__film > video { opacity: 0; transition: opacity .8s var(--ease); }
.roots__film > video.playing { opacity: 1; }
.roots__tag { position: absolute; left: 14px; top: 14px; z-index: 2; font: 800 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--orange); padding: 7px 9px; border-radius: 4px; }
.roots__founder { position: absolute; right: -4%; bottom: 0; width: 34%; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); transform: rotate(2.5deg); }
.roots__founder img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; }
.roots__founder figcaption { padding: 10px 12px 12px; color: var(--ink); font-size: 12.5px; line-height: 1.3; }
.roots__founder figcaption b { display: block; font: 800 italic 17px/1 var(--display); text-transform: uppercase; }
.roots__quote { margin: 22px 0; padding: 0 0 0 20px; border-left: 3px solid var(--orange); }
.roots__quote p { margin: 0; font: 700 italic clamp(19px, 1.7vw, 24px)/1.3 var(--display); color: #fff; }
.roots__quote cite { display: block; margin-top: 10px; font: 400 13.5px/1 var(--body); color: var(--muted-d); font-style: normal; }
.roots__family { font-size: 14.5px; max-width: 52ch; }
.roots__family b { color: #fff; font-weight: 600; }
@media (max-width: 63.99em) { .roots__grid { grid-template-columns: 1fr; } .roots__founder { right: 2%; width: 38%; } }

/* ---------- 4. the road so far ---------- */
.road { background: #fff; }
.road__rail { list-style: none; margin: 0; grid-auto-columns: clamp(240px, 22vw, 320px); gap: 0; position: relative; }
.road__stop { position: relative; scroll-snap-align: start; display: grid; grid-template-rows: auto auto 1fr; gap: 12px; padding: 30px 22px 0 0; }
.road__stop::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.road__stop::after { content: ''; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(226, 6, 19, .14); }
.road__year { font: 900 italic clamp(38px, 3.4vw, 54px)/1 var(--display); color: var(--ink); }
.road__pic { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.road__pic img { width: 100%; height: 100%; object-fit: cover; }
.road__stop p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); }

/* rail arrows: dark variant, and swipe only on phones (the earlier phone rule loses to the later .rail-nav rule) */
.dark .rail-nav button { background: transparent; border-color: var(--line-d); color: #fff; }
.dark .rail-nav button:hover:not([disabled]) { border-color: #fff; }
@media (max-width: 47.99em) { .rail-nav { display: none; } }
