/* Home: lights-out hero, the grid (line-up), pit wall (finder), liveries, worn at work, kit, crew, service. */

/* ---------- 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 ---------- */
.pit { background: var(--paper); }
.pit__grid { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 20px; align-items: stretch; }
.pit__panel { background: #fff; border-radius: var(--r-lg); padding: 24px; display: grid; gap: 22px; align-content: start; box-shadow: var(--shadow); }
.pit__panel h3 { font-size: 15px; font-style: normal; letter-spacing: .14em; color: var(--muted); }
.jobs { display: flex; flex-wrap: wrap; gap: 8px; }
.switches { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scope { position: relative; border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 30px); display: grid; grid-template-rows: auto 1fr auto; gap: 14px; overflow: hidden; isolation: isolate;
  background: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 100% 32px, linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 32px 100%, radial-gradient(700px 300px at 60% 55%, #1b2246, transparent 70%), var(--ink); }
.scope__read { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; justify-content: space-between; }
.scope__label { font: 700 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); }
.led { font: 700 clamp(30px, 3.4vw, 46px)/1 var(--display); letter-spacing: .06em; color: var(--orange); text-shadow: 0 0 18px rgba(254, 80, 0, .55); font-variant-numeric: tabular-nums; }
.led small { color: #fff; text-shadow: none; opacity: .9; font-size: .62em; letter-spacing: .08em; }
.scope__count { text-align: right; }
.scope__count b { display: block; font: 900 italic clamp(34px, 3.6vw, 52px)/1 var(--display); color: #fff; }
.scope__stage { position: relative; display: grid; place-items: center; min-height: 250px; }
.scope__shoe { position: relative; width: min(100%, 620px); }
.scope__shoe img { width: 100%; height: auto; filter: drop-shadow(0 24px 22px rgba(0, 0, 0, .6)); transition: opacity .35s var(--ease); }
.scope__shoe img.swap { opacity: 0; }
.scope__picks { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 10px; align-items: stretch; }
.pick { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; transition: background var(--dur) var(--ease); }
.pick:hover { background: rgba(255, 255, 255, .12); }
.pick img { width: 64px; height: 40px; object-fit: contain; }
.pick b { display: block; font: 800 italic 15px/1 var(--display); text-transform: uppercase; }
.pick small { font-size: 12.5px; color: var(--muted-d); }
.pick[aria-current="true"] { box-shadow: inset 0 0 0 1.5px var(--orange); }
.scope__all { align-self: center; white-space: nowrap; }
.scope__none { color: var(--muted-d); font-size: 14px; }
@media (max-width: 63.99em) { .pit__grid { grid-template-columns: 1fr; } .scope__picks { grid-template-columns: 1fr 1fr; } .scope__all { grid-column: 1 / -1; } }
@media (max-width: 47.99em) { .switches { grid-template-columns: 1fr 1fr; } .scope__stage { min-height: 170px; } .pin__tag { height: 20px; font-size: 11.5px; padding: 0 6px; } .pin__tip { width: 180px; } .scope__picks { grid-template-columns: 1fr; } }

/* ---------- 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(254, 80, 0, .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%; }
