/* NITRAS concept · home: hero, categories, glove finder, norms (The Standard Monday), films, social wall, story, team supply.
   The social wall, film card and 'seen in' blocks are kept from the U-Power concept; everything else is NITRAS's own. */

/* ---------- kept from the U-Power concept: product mini-tiles, film cards, social wall ---------- */
.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; }
.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 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; }
.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; }
/* ---------- 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 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; }
.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 16px/1 var(--display); text-transform: uppercase; }
.seen1 small { font-size: 12.5px; color: var(--muted); }
.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; }

/* ---------- hero ---------- */
.nxhero { position: relative; min-height: min(90svh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.nxhero__img { position: absolute; inset: 0; z-index: -2; }
.nxhero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.nxhero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 5, 5, .9) 0, rgba(5, 5, 5, .55) 45%, rgba(5, 5, 5, .1) 75%), linear-gradient(0deg, rgba(5, 5, 5, .7), transparent 45%); }
.nxhero__inner { width: 100%; padding-top: 140px; padding-bottom: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: end; }
.hero__copy { display: grid; gap: 20px; justify-items: start; }
.nxhero h1 { font-size: clamp(64px, 10vw, 150px); line-height: .86; }
.nxhero .lede { color: #d9d9d9; max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
#heroStats:empty { min-height: 72px; }
@media (max-width: 47.99em) { #heroStats:empty { min-height: 127px; } } /* the four numbers wrap to two rows on phones */
.hero__stats { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 6px 0 0; padding-top: 20px; border-top: 1px solid var(--line-d); }
.hero__stats div { display: grid; gap: 2px; }
.hero__stats dt { font: 800 34px/1 var(--display); }
.hero__stats dd { margin: 0; font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.hpick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transition: transform var(--dur) var(--ease); }
.hpick:hover { transform: translateY(-4px); }
.hpick img { width: 100%; height: auto; max-height: 220px; object-fit: contain; }
.hpick small { display: block; font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.hpick b { display: block; margin: 8px 0 6px; font: 800 26px/1 var(--display); text-transform: uppercase; }
.hpick__code { display: inline-block; font: 800 13px/1 var(--display); letter-spacing: .08em; padding: 5px 8px; border-radius: 5px; background: var(--ink); color: #fff; }
.hpick__price { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
.hpick__price b { display: inline; font: 800 20px/1 var(--display); color: var(--ink); margin: 0; }

/* ---------- categories ---------- */
.cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.cat { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.cat--big { grid-column: span 2; grid-row: span 2; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s var(--ease-out); }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 5, 5, .78), transparent 60%); }
.cat span { position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 4px; }
.cat b { font: 800 clamp(20px, 2vw, 28px)/1 var(--display); text-transform: uppercase; }
.cat--big b { font-size: clamp(30px, 3.4vw, 48px); }
.cat small { font: 700 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #ddd; }

/* ---------- glove finder ---------- */
.finder { background: radial-gradient(1100px 500px at 70% 20%, #2a0b06, transparent 70%), var(--ink); }
.gf { border-radius: var(--r-lg); overflow: hidden; background: #0d0d0d; box-shadow: 0 0 0 1px var(--line-d), 0 40px 80px rgba(0, 0, 0, .45); }
.gf__jobs { display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-d); }
.gf__jobs::-webkit-scrollbar { display: none; }
.gf__jobs button { position: relative; flex: 1 0 auto; padding: 16px 18px 14px; font: 800 15px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--muted-d); border-right: 1px solid var(--line-d); white-space: nowrap; transition: color var(--dur), background var(--dur); }
.gf__jobs button:hover { color: #fff; }
.gf__jobs button[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, rgba(229, 39, 19, .18), transparent); }
.gf__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(229, 39, 19, .8); }
.gf__body { display: grid; grid-template-columns: 320px 1fr; }
.gf__controls { padding: 20px; border-right: 1px solid var(--line-d); display: grid; align-content: start; gap: 10px; }
.gf__label { font: 700 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); margin: 6px 0 0; }
.gf__cut { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.gf__cut button { height: 46px; border-radius: 8px; font: 800 18px/1 var(--display); color: var(--muted-d); box-shadow: inset 0 0 0 1px var(--line-d); transition: all var(--dur) var(--ease); }
.gf__cut button[aria-pressed="true"] { background: var(--orange); color: #fff; box-shadow: none; }
.gf__hint { font-size: 13px; color: var(--muted-d); margin: 0; min-height: 34px; }
.gf__hz { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gf__hz button { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 10px 11px 9px; border-radius: 10px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line-d); color: var(--muted-d); transition: all var(--dur) var(--ease); }
.gf__hz button span { font: 600 13.5px/1.15 var(--body); }
.gf__hz button small { font: 700 10.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .32); }
.gf__hz button:hover { color: #fff; }
.gf__hz button[aria-pressed="true"] { color: #fff; background: linear-gradient(160deg, rgba(229, 39, 19, .28), rgba(229, 39, 19, .06)); box-shadow: inset 0 0 0 1.5px rgba(229, 39, 19, .85); }
.gf__hz button[aria-pressed="true"] small { color: #ffb4a8; }
.gf__stage { position: relative; padding: 22px 24px; display: grid; grid-template-rows: auto 1fr; gap: 10px; min-height: 520px; background: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 100% 36px, linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 36px 100%, radial-gradient(520px 260px at 40% 60%, #2b1511, transparent 72%), #0a0a0a; }
.gf__read { display: flex; justify-content: space-between; align-items: flex-start; }
.gf__code { display: flex; gap: 2px; margin-top: 8px; font: 800 clamp(48px, 5vw, 76px)/.9 var(--display); letter-spacing: .04em; color: var(--orange); text-shadow: 0 0 24px rgba(229, 39, 19, .5); }
.gf__code span { display: inline-block; animation: flipIn .45s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms); }
.gf__code span.x { color: rgba(255, 255, 255, .22); text-shadow: none; }
@keyframes flipIn { from { transform: rotateX(-90deg) translateY(8px); opacity: 0; } }
.gf__extra { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.gf__extra span { font: 800 12.5px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px 5px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.gf__count { text-align: right; }
.gf__count b { display: block; margin-top: 8px; font: 800 clamp(48px, 4.6vw, 72px)/.9 var(--display); }
.gf__pick { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: center; }
.gf__glove { display: grid; place-items: center; }
.gf__glove img { width: 100%; max-width: 380px; max-height: 360px; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6)); animation: gIn .5s var(--ease-out) both; }
@keyframes gIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.gf__info { display: grid; gap: 8px; align-content: center; }
.gf__name { font: 800 clamp(28px, 2.6vw, 40px)/1 var(--display); text-transform: uppercase; color: #fff; }
.gf__type { color: var(--muted-d); font-size: 14px; }
.meter { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 12px 0 6px; }
.meter__col { display: grid; justify-items: center; gap: 6px; text-align: center; }
.meter__track { display: flex; flex-direction: column-reverse; gap: 3px; width: 100%; max-width: 46px; height: 110px; }
.meter__track i { flex: 1; border-radius: 3px; background: rgba(255, 255, 255, .07); transition: background .3s var(--ease); }
.meter__track i.on { background: #fff; }
.meter__col.is-needed .meter__track i.on { background: #fff; }
.meter__track i.need { box-shadow: 0 0 0 2px var(--orange); }
.meter__col.is-met .meter__track i.need { background: var(--orange); }
.meter__col b { font: 800 22px/1 var(--display); color: #fff; }
.meter__col span { font: 700 10.5px/1.15 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.gf__buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; color: var(--muted-d); font-size: 14px; }
.gf__buy b { font: 800 24px/1 var(--display); color: #fff; }
.gf__none { color: var(--muted-d); align-self: center; }
.gf__results { border-top: 1px solid var(--line-d); padding: 14px; display: grid; gap: 10px; }
.gf__sort { display: flex; gap: 6px; }
.gf__sort button { padding: 8px 12px; border-radius: 999px; font: 700 12.5px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-d); box-shadow: inset 0 0 0 1px var(--line-d); }
.gf__sort button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: none; }
.gf__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gf__list::-webkit-scrollbar { display: none; }
.gl { display: grid; gap: 4px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-d); color: #fff; transition: all var(--dur) var(--ease); }
.gl:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.gl.is-on { box-shadow: inset 0 0 0 1.5px var(--orange); }
.gl img { width: 100%; height: 80px; object-fit: contain; }
.gl b { font: 800 14.5px/1.05 var(--display); text-transform: uppercase; }
.gl__code { font: 700 12px/1 var(--display); letter-spacing: .08em; color: var(--muted-d); }
.gl__per { font-size: 12.5px; color: var(--muted-d); }
.gl__per b { font: 800 16px/1 var(--display); color: #fff; }
.gl--all { background: var(--orange); box-shadow: none; align-content: center; }
.gl--all b { font-size: 24px; }

/* ---------- rails ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 18%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }

/* ---------- norms ---------- */
.norms__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.norm { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.norm__code { justify-self: start; font: 800 15px/1 var(--display); letter-spacing: .08em; padding: 7px 10px 6px; border-radius: 6px; background: var(--ink); color: #fff; }
.norm h3 { font-size: 24px; }
.norm p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.norm__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.norm__foot .link { font: 700 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; }
.norm__foot .link .icon { width: 16px; height: 16px; }
.norm__play { display: inline-flex; align-items: center; gap: 6px; font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-radius: 999px; background: var(--ink); color: #fff; }
.norm__play .icon { width: 14px; height: 14px; }

/* ---------- N of the month ---------- */
.nom__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.nom__img { border-radius: var(--r-lg); overflow: hidden; }
.nom__img img { width: 100%; height: auto; }
.nom__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }

/* ---------- films ---------- */
.films__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 30%); gap: 12px; overflow-x: auto; scrollbar-width: none; }
.films__rail .shot { aspect-ratio: 4 / 5; }


/* ---------- service ---------- */
.svc { padding: 48px 0; background: #fff; border-top: 1px solid var(--line); }
.svc__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc__item { display: grid; gap: 6px; }
.svc__item .icon { width: 26px; height: 26px; color: var(--orange); }
.svc__item b { font: 800 18px/1.1 var(--display); text-transform: uppercase; }
.svc__item span { font-size: 14px; color: var(--muted); }
.svc__note { margin: 18px 0 0; font-size: 12.5px; color: var(--muted); }

@media (max-width: 63.99em) {
  .nxhero__inner, .gf__body, .gf__pick, .nom__grid, .supply__grid { grid-template-columns: 1fr; }
  .gf__controls { border-right: 0; border-bottom: 1px solid var(--line-d); }
  .cats__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .norms__grid, .svc__grid { grid-template-columns: 1fr 1fr; }
  .rail { grid-auto-columns: minmax(220px, 44%); }
}
@media (max-width: 47.99em) {
  .nxhero__pick { display: none; }
  .gf__hz { grid-template-columns: 1fr 1fr; }
  .gf__stage { min-height: 0; padding: 16px; }
  .meter__track { height: 80px; }
  .norms__grid, .svc__grid, .nom__cards { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 72%; }
  .films__rail { grid-auto-columns: 78%; }
}

/* ---------- story (brand.js) ---------- */
.story { background: radial-gradient(1000px 500px at 20% 0, #2a0b06, transparent 70%), var(--ink); }
.story__head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; align-items: end; margin-bottom: 30px; }
.story__head .lede { margin: 0; }
.road { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; counter-reset: stop; }
.road::-webkit-scrollbar { display: none; }
.road__stop { position: relative; display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid rgba(255, 255, 255, .18); }
.road__stop::before { content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.road__img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #111; }
.road__img img { width: 100%; height: 100%; object-fit: cover; }
.road__year { font: 800 34px/1 var(--display); color: var(--orange); }
.road__stop h3 { font-size: 20px; }
.road__stop p { margin: 0; font-size: 14px; color: var(--muted-d); line-height: 1.45; }
.story__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; margin-top: 40px; }
.lab, .logi { border-radius: var(--r-lg); overflow: hidden; background: #111; display: grid; }
.lab { grid-template-columns: 1fr 1fr; }
.lab__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.lab__imgs div { aspect-ratio: 1; overflow: hidden; }
.lab__imgs img { width: 100%; height: 100%; object-fit: cover; }
.lab__body, .logi__body { padding: 22px; display: grid; gap: 12px; align-content: start; }
.lab__body h3, .logi__body h3 { font-size: clamp(24px, 2.2vw, 32px); }
.lab__body p { margin: 0; color: var(--muted-d); font-size: 14.5px; }
.lab__tests { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lab__tests li { font: 700 12px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 7px 9px 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-d); }
.logi__img { aspect-ratio: 16 / 9; overflow: hidden; }
.logi__img img { width: 100%; height: 100%; object-fit: cover; }
.logi__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 0; }
.logi__stats dt { font: 800 30px/1 var(--display); }
.logi__stats dd { margin: 4px 0 0; font: 700 11.5px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.value { display: grid; gap: 6px; padding: 18px; border-radius: var(--r-lg); background: #111; border-left: 3px solid var(--orange); }
.value b { font: 800 24px/1 var(--display); text-transform: uppercase; }
.value span { font-size: 14px; color: var(--muted-d); }
.green { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin-top: 40px; padding: 20px; border-radius: var(--r-lg); background: #0f140f; box-shadow: inset 0 0 0 1px rgba(80, 180, 90, .25); }
.green__badge img { width: 120px; height: auto; }
.green h3 { font-size: clamp(24px, 2.4vw, 34px); margin: 8px 0; }
.green p { margin: 0; color: var(--muted-d); }
.green__img { width: 280px; border-radius: 12px; overflow: hidden; }
.green__img img { width: 100%; height: auto; }
@media (max-width: 63.99em) {
  .story__head, .story__grid, .lab { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .green { grid-template-columns: auto 1fr; }
  .green__img { display: none; }
}

/* ---------- campaign ---------- */
.campaign { background: #000; }
.campaign__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.camp { display: grid; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: #0c0c0c; box-shadow: inset 0 0 0 1px var(--line-d); }
.camp__film { position: relative; aspect-ratio: 1920 / 804; background: #000; overflow: hidden; }
.camp__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.camp__film video.playing { opacity: 1; }
.camp__film .play { position: absolute; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform var(--dur) var(--ease); }
.camp__film:hover .play { transform: scale(1.08); }
.camp__film .play .icon { width: 22px; height: 22px; margin-left: 3px; }
.camp__body { display: grid; gap: 10px; padding: 20px; }
.camp__body h3 { font-size: clamp(28px, 3vw, 44px); }
.camp__body p { margin: 0; color: var(--muted-d); }
.camp__buy { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: #fff; color: var(--ink); transition: transform var(--dur) var(--ease); }
.camp__buy:hover { transform: translateY(-2px); }
.camp__buy img { width: 96px; height: 64px; object-fit: contain; }
.camp__buy b { display: block; font: 800 18px/1 var(--display); text-transform: uppercase; }
.camp__buy small { font-size: 13px; color: var(--muted); }
.camp__buy small b { display: inline; font-size: 15px; }
/* ---------- story films ---------- */
.story__film { position: relative; aspect-ratio: 1920 / 804; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 30px; background: #111; }
.story__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.story__film video.playing { opacity: 1; }
.story__film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 5, 5, .7), transparent 50%); pointer-events: none; }
.story__films { position: absolute; left: 20px; bottom: 20px; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.lab__vid { position: relative; background: #000; }
.lab__vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.lab__vid video.playing { opacity: 1; }
.lab__play { position: absolute; left: 8px; bottom: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; background: #fff; color: var(--ink); font: 700 12px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.lab__play .icon { width: 12px; height: 12px; }
.logi__img { position: relative; }
.logi__img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.logi__img video.playing { opacity: 1; }
@media (max-width: 63.99em) { .campaign__grid { grid-template-columns: 1fr; } .story__film { aspect-ratio: 16 / 10; } }

/* ================= motion (motion.js drives the variables; all of it is off under reduced motion) ================= */
/* ---------- hero: slash wipe in, the claim by character, depth on scroll, a light on the pointer ---------- */
.nxhero__img img { transform: translate3d(0, calc(var(--sy, 0) * .3px), 0) scale(calc(1.04 + var(--sy, 0) * .00012)); will-change: transform; }
.nxhero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px 380px at var(--mx, 72%) var(--my, 38%), rgba(229, 39, 19, .2), transparent 70%); mix-blend-mode: screen; }
.nxhero__inner { opacity: var(--fade, 1); translate: 0 calc(var(--sy, 0) * -.22px); }
/* the photo paints on the first frame (it is the LCP); a dark panel wipes off it and the photo settles, CSS only */
.nxhero__img::after { content: ''; position: absolute; inset: 0; background: var(--ink); animation: hero-wipe 1.2s .05s var(--ease-io) both; }
.nxhero__img img { animation: hero-settle 2.6s var(--ease-out) both; }
@keyframes hero-wipe { from { clip-path: polygon(0 0, 140% 0, 120% 100%, 0 100%); } to { clip-path: polygon(140% 0, 140% 0, 120% 100%, 120% 100%); } }
@keyframes hero-settle { from { scale: 1.18; } }
.nxhero h1.split .wi { transition-duration: 1.1s; transition-delay: calc(.3s + var(--i, 0) * 38ms); }
.nxhero.go h1.split .wi { transform: none; }
html.nx-js .nxhero:not(.go) .hero__copy > :not(h1) { opacity: 0; translate: 0 26px; animation: hero-failsafe 0s 2.5s forwards; }
html.nx-js .nxhero:not(.go) h1 { opacity: 0; animation: hero-failsafe 0s 2.5s forwards; }
@keyframes hero-failsafe { to { opacity: 1; translate: none; } }
.nxhero.go .hero__copy > :not(h1) { opacity: 1; translate: none; transition: opacity .9s var(--ease-out), translate 1s var(--ease-out); }
.nxhero.go .hero__copy > .kicker { transition-delay: .2s; }
.nxhero.go .hero__copy > .lede { transition-delay: .6s; }
.nxhero.go .hero__copy > .hero__cta { transition-delay: .72s; }
.nxhero.go .hero__copy > .hero__by { transition-delay: .8s; }
.nxhero.go .hero__copy > .hero__stats { transition-delay: .9s; }
.hpick { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out), opacity 1s var(--ease-out) .8s, translate 1.2s var(--ease-out) .8s, rotate 1.2s var(--ease-out) .8s; }
.hpick:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); transition-duration: .15s, 1s, 1.2s, 1.2s; }
html.nx-js .nxhero:not(.go) .hpick { opacity: 0; translate: 80px 30px; rotate: 4deg; }
.nxhero.go .hpick { opacity: 1; translate: none; rotate: none; }
.hpick__glove { display: block; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-9px) rotate(-1.5deg); } }

/* ---------- ticker: a red band across the seam between the hero and the range ---------- */
.ticker { position: relative; z-index: 3; height: 120px; margin: -60px 0; overflow: hidden; pointer-events: none; }
.ticker__band { position: absolute; left: -3%; right: -3%; top: 50%; translate: 0 -50%; rotate: -1.6deg; background: var(--orange); padding: 14px 0; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.ticker .marquee__track { align-items: center; }
.ticker span { padding: 0 24px; font: 900 clamp(26px, 3vw, 44px)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; color: #fff; white-space: nowrap; transform: skewX(var(--lean, 0deg)); transition: transform .4s var(--ease-out); }
.ticker span.o { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.ticker i { width: 30px; height: 18px; background: repeating-linear-gradient(115deg, var(--ink) 0 5px, transparent 5px 10px); }

/* ---------- categories: a slash sweeps the tile; the kids tile is type on moving slashes ---------- */
.cat::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(229, 39, 19, .5) 38% 45%, transparent 45%); transform: translateX(-110%); transition: transform .8s var(--ease-out); }
.cat:hover::before { transform: translateX(110%); }
.cat span { transition: translate .5s var(--ease-out); }
.cat:hover span { translate: 6px 0; }
.cat--type { background: var(--orange); }
.cat--type::after { display: none; }
.cat__slashes { position: absolute; inset: -40px; z-index: -1; background: repeating-linear-gradient(115deg, rgba(5, 5, 5, .16) 0 14px, transparent 14px 34px); animation: slashes 3.2s linear infinite; }
.cat--type:hover .cat__slashes { animation-duration: 1s; }
@keyframes slashes { to { transform: translateX(37.5px); } }

/* ---------- glove finder: the stage scans, the meter fills segment by segment, the glove leans ---------- */
.gf__stage { overflow: hidden; }
.gf__stage::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 26%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(229, 39, 19, .12) 70%, rgba(255, 110, 90, .75) 98%, transparent); opacity: 0; transform: translateY(-100%); }
.gf__stage.scan::after { animation: scan-y 1s var(--ease-io); }
@keyframes scan-y { 0% { opacity: 1; transform: translateY(-100%); } 100% { opacity: 1; transform: translateY(420%); } }
.meter__track i.on { animation: seg .45s var(--ease-out) backwards; animation-delay: calc(var(--c, 0) * 70ms + var(--k, 0) * 50ms); transform-origin: 50% 100%; }
@keyframes seg { from { transform: scaleY(.1); opacity: 0; } }
.gf__glove { animation: float 7s ease-in-out infinite; }
.gf__glove img { translate: calc(var(--gx, 0) * -22px) calc(var(--gy, 0) * -14px); rotate: calc(var(--gx, 0) * -5deg); transition: translate .7s var(--ease-out), rotate .7s var(--ease-out); }
.gf__info { animation: gIn .5s .08s var(--ease-out) backwards; }
.gl { animation: gl-in .6s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes gl-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- norms: a shield draws itself around each card ---------- */
.norm { position: relative; overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.norm:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(10, 12, 20, .06), 0 18px 40px rgba(10, 12, 20, .12); }
.norm__shield { position: absolute; top: 14px; right: 14px; width: 38px; height: 44px; fill: transparent; stroke: var(--orange); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) calc(var(--d, 0s) + .25s), fill .4s var(--ease), transform .5s var(--ease-out); }
.norm.in .norm__shield { stroke-dashoffset: 0; }
.norm:hover .norm__shield { fill: rgba(229, 39, 19, .14); transform: rotate(-8deg) scale(1.08); }

/* ---------- campaign and films: the play buttons breathe ---------- */
.camp__film .play::after, .film-card .play::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); animation: ring 2.6s var(--ease-out) infinite; pointer-events: none; }
@keyframes ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.camp__film video, .camp__film img { transition: scale 1.2s var(--ease-out), opacity .6s var(--ease); }
.camp:hover .camp__film video { scale: 1.04; }
.film-card img, .film-card video { transition: scale 1s var(--ease-out), opacity .6s var(--ease); }
.film-card:hover img, .film-card:hover video { scale: 1.06; }


/* ---------- story: the film grows to full bleed, the road pins and runs sideways, the grid drives ---------- */
.story { overflow-x: clip; }
.story__film { width: 100vw; margin-left: calc(50% - 50vw); height: clamp(320px, 42vw, 78vh); aspect-ratio: auto; border-radius: 0; clip-path: inset(0 var(--clip, 0px) round var(--fr, 0px)); }
.story__films { left: 0; right: 0; bottom: 22px; max-width: var(--wrap); margin: 0 auto; padding: 0 calc(var(--gut) + 20px); }
.road-pin { position: relative; }
.road__rule { display: none; }
.road-pin.is-pinned .road-pin__stick { position: sticky; top: max(calc(var(--head-h) + 16px), calc(50vh - 250px)); }
.road-pin.is-pinned .road__rule { display: block; height: 2px; margin-bottom: 22px; background: rgba(255, 255, 255, .1); }
.road__rule i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px var(--orange); }
.road-pin.is-pinned .road { display: flex; width: max-content; gap: 24px; overflow: visible; padding-bottom: 0; will-change: transform; }
.road-pin.is-pinned .road__stop { flex: none; width: 340px; opacity: .3; transition: opacity .6s var(--ease), translate .9s var(--ease-out) var(--d, 0s), border-color .6s var(--ease); }
.road-pin.is-pinned .road__stop.on { opacity: 1; border-top-color: var(--orange); }
.road__stop::before { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.road__stop.on::before { transform: scale(1.6); }
.road-pin.is-pinned .road__year { font-size: 48px; }
.gridsim { display: grid; gap: 8px; margin: 8px 0 0; }
.gridsim canvas { display: block; width: 100%; border-radius: 8px; background: #0b0b0b; }
.gridsim figcaption { font: 700 11.5px/1.25 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
.gridsim figcaption span { opacity: .6; }
.value { position: relative; border-left: 0; }
.value::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: var(--orange); transform: scaleY(0); transform-origin: 50% 0; transition: transform 1s var(--ease-out) calc(var(--d, 0s) + .25s); }
.value.in::before { transform: none; }
.lab__tests li { display: inline-flex; align-items: center; gap: 7px; }
.lab__tests li::before { content: ''; width: 9px; height: 5px; margin-top: -3px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg) scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) calc(var(--d, 0s) + .35s); }
.lab__tests li.in::before { transform: rotate(-45deg) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .nxhero__img, .nxhero__img img, .nxhero__inner, .hpick, .hero__copy > * { clip-path: none !important; scale: none !important; translate: none !important; opacity: 1 !important; transform: none !important; }
  .nxhero h1.split .wi { transform: none !important; }
  .norm__shield { stroke-dashoffset: 0 !important; }
  .value::before, .lab__tests li::before { transform: none !important; }
  .lab__tests li::before { transform: rotate(-45deg) !important; }
  .story__film { transform: none !important; }
}

/* ---------- performance: sections well below the fold are not laid out or painted until they come near. The story
   is left out on purpose: its pinned road and the grid canvas measure themselves on load. ---------- */
.cats, .finder, .rail-sec, .norms, .campaign, .films, .social, .supply, .svc { content-visibility: auto; contain-intrinsic-size: auto 1000px; }


/* ---------- hero video: the poster paints first (LCP); the montage fades in over it once playing ---------- */
.nxhero__img picture, .nxhero__img picture img { display: block; width: 100%; height: 100%; }
.nxhero__img picture img, .nxhero__img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nxhero__img video { opacity: 0; transition: opacity .9s var(--ease); transform: translate3d(0, calc(var(--sy, 0) * .3px), 0) scale(calc(1.04 + var(--sy, 0) * .00012)); }
.nxhero__img video.playing { opacity: 1; }

/* ---------- proof: numbers, audits and partners ---------- */
.proof { background: #fff; }
.proof__nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; }
.proof__nums div { display: grid; gap: 6px; padding: 18px 18px 16px; border-radius: var(--r-lg); background: var(--paper); border-top: 3px solid var(--orange); }
.proof__nums dt { font: 900 clamp(34px, 3.6vw, 52px)/.9 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.proof__nums dd { margin: 0; font: 700 12px/1.25 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.proof__badges { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.proof__badges li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.proof__badges img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.proof__badges i { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(229, 39, 19, .08); color: var(--orange); box-shadow: inset 0 0 0 1.5px rgba(229, 39, 19, .25); }
.proof__badges i .icon { width: 24px; height: 24px; stroke-width: 1.7; }
.proof__badges li:hover i { background: var(--orange); color: #fff; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.proof__badges b { display: block; font: 800 15px/1.05 var(--display); text-transform: uppercase; }
.proof__badges small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.3; color: var(--muted); }
.proof__partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.proof__partners figure { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.proof__partners img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease-out); }
.proof__partners figure:hover img { scale: 1.04; }
@media (max-width: 63.99em) { .proof__nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof__nums div:last-child:nth-child(odd) { grid-column: 1 / -1; } .proof__badges { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof__partners { grid-template-columns: 1fr; } }

/* ---------- team: portrait interviews that play here with sound ---------- */
.team__rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 19vw, 280px); gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gut) 6px; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); }
.team__rail::-webkit-scrollbar { display: none; }
@media (min-width: 90em) { .team__rail { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); scroll-padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); } }
.tm { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: #111; scroll-snap-align: start; }
.tm video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tm::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 5, 5, .8), transparent 38%); pointer-events: none; transition: opacity .4s var(--ease); }
.tm__play { position: absolute; left: 50%; top: 44%; z-index: 1; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.tm__play .icon { width: 24px; height: 24px; margin-left: 3px; }
.tm__play::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); animation: ring 2.6s var(--ease-out) infinite; pointer-events: none; }
.tm:hover .tm__play { transform: scale(1.08); }
.tm figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: grid; gap: 3px; color: #fff; pointer-events: none; transition: opacity .4s var(--ease); }
.tm figcaption b { font: 800 20px/1 var(--display); text-transform: uppercase; }
.tm figcaption span { font-size: 13px; color: #ddd; }
.tm.on::after, .tm.on figcaption, .tm.on .tm__play { opacity: 0; pointer-events: none; }

/* ---------- the road: rolling clips, and the Shanghai route ---------- */
.road__img--vid { position: relative; background: #111; }
.road__img--vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.road__img--vid video.playing { opacity: 1; }
.road__img--map { display: grid; place-items: center; background: radial-gradient(90% 90% at 60% 40%, #1c1c1c, #0d0d0d); }
.route { width: 100%; height: 100%; }
.route__dots circle { fill: rgba(255, 255, 255, .1); }
.route__arc { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(229, 39, 19, .6)); }
.road__stop.in .route__arc, .road__stop.on .route__arc { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-io) .2s; }
.route__run { fill: #fff; filter: drop-shadow(0 0 6px #fff); }
.route__pin { fill: var(--orange); stroke: #fff; stroke-width: 2; }
.route text { fill: #fff; font: 800 15px var(--display); letter-spacing: .06em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .route__arc { stroke-dashoffset: 0; } .route__run { display: none; } }
/* phones: the claim and copy sit over the moving footage, full width; shade the lower two thirds more */
@media (max-width: 47.99em) { .nxhero::before { background: linear-gradient(0deg, rgba(5, 5, 5, .92) 0, rgba(5, 5, 5, .8) 45%, rgba(5, 5, 5, .35) 78%, rgba(5, 5, 5, .25) 100%); } }

/* hero: the spec line sits under the buttons, white on the footage */
.hero__by { color: #fff; opacity: .7; margin: 4px 0 0; }

/* ---------- team supply, picked live (AutoStore) ---------- */
.as { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr) minmax(0, 340px); gap: 14px; align-items: stretch; }
.as__side, .as__note { display: grid; gap: 18px; align-content: start; padding: 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.as__ctl { display: grid; gap: 10px; }
.as__ctl label, .as__lbl { display: flex; justify-content: space-between; align-items: baseline; font: 700 12.5px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.as__ctl output { font: 900 30px/1 var(--display); letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.as input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--orange) var(--p, 7%), #e2e2e2 var(--p, 7%)); cursor: pointer; }
.as input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); transition: transform .25s cubic-bezier(.3, 1.5, .5, 1); }
.as input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); }
.as input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.2); }
.as__seg { display: flex; flex-wrap: wrap; gap: 6px; }
.as__seg button { flex: 1 1 auto; min-height: 38px; padding: 0 12px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--line); font: 700 13.5px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.as__seg button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.as__gloves { display: grid; gap: 6px; }
.as__gloves button { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 10px 6px 6px; border-radius: 10px; text-align: left; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
.as__gloves button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--orange); background: rgba(229, 39, 19, .04); }
.as__gloves img { width: 52px; height: 40px; object-fit: contain; }
.as__gloves b { display: block; font: 800 14.5px/1.05 var(--display); text-transform: uppercase; }
.as__gloves small { font-size: 12px; color: var(--muted); }
.as__stage { position: relative; min-height: 440px; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 90% at 40% 30%, #161616, #070707); }
.as__stage canvas { position: absolute; inset: 44px 14px 34px; width: calc(100% - 28px); height: calc(100% - 78px); }
.as__status { position: absolute; left: 14px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 13px; }
.as__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: blink 1s steps(2) infinite; }
.as__status b { font: 800 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.as__status span { color: var(--muted-d); }
.as__status.ready { background: #1f7a45; }
.as__status.ready i { background: #fff; animation: none; }
.as__status.ready span { color: #d9f3e3; }
@keyframes blink { 50% { opacity: .2; } }
.as__tag { position: absolute; right: 14px; bottom: 10px; font: 700 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.as__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.as__head b { font: 800 20px/1 var(--display); text-transform: uppercase; }
.as__head span { font: 700 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.as__lines { width: 100%; border-collapse: collapse; font-size: 14px; }
.as__lines th { padding: 0 0 6px; text-align: left; font: 700 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.as__lines td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.as__lines td:nth-child(3) { font-variant-numeric: tabular-nums; }
.as__lines td b { display: block; font: 800 18px/1 var(--display); }
.as__lines td small { font-size: 11.5px; color: var(--muted); }
.as__lines tr { transition: background .4s var(--ease); }
.as__lines tr.is-done { background: linear-gradient(90deg, rgba(31, 122, 69, .08), transparent); }
.as__tick { display: block; width: 20px; height: 20px; margin-left: auto; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); position: relative; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.as__tick::after { content: ''; position: absolute; left: 6px; top: 5px; width: 7px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
tr.is-done .as__tick { background: #1f7a45; box-shadow: none; }
tr.is-done .as__tick::after { transform: rotate(-45deg) scale(1); }
.as__tot { display: grid; gap: 10px; margin: 0; }
.as__tot div { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; }
.as__tot dt { font: 900 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.as__tot dd { margin: 0; font-size: 13px; color: var(--muted); }
.as__cta { display: grid; gap: 8px; }
.as__cta .btn { width: 100%; }
@media (max-width: 79.99em) { .as { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); } .as__note { grid-column: 1 / -1; } }
@media (max-width: 63.99em) { .as { grid-template-columns: 1fr; } .as__stage { min-height: 320px; } }
@media (prefers-reduced-motion: reduce) { .as__status i { animation: none; } }

.as__go { display: none; margin-left: 4px; padding: 5px 10px; border-radius: 99px; background: var(--orange); color: #fff; font: 800 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.as__status.idle .as__go { display: inline-block; }
.as__status.idle i { background: rgba(255, 255, 255, .5); animation: none; }
