/* TAKT. The system comes first: every later value reads these tokens. */

/* ---------- tokens ---------- */
:root {
  /* asphalt: mat, plate, raised, card, line, muted text, text */
  --a0: #0b0c0b; --a1: #131513; --a2: #1a1d1a; --a3: #232723; --a4: #353b35; --a-mute: #9ca39b; --a-text: #eff2ea;
  /* chalk */
  --k0: #e6e9e1; --k1: #eff1ea; --k2: #f7f8f3; --k3: #dadfd4; --k-line: #c9cec2; --k-mute: #596058; --k-text: #131513;
  /* foam, the brand's lime (the CHARGE colourway): material, highlight, shadow, a deeper ink for small text on chalk, text on foam */
  --f: #d0ff14; --f-hi: #f1ff9a; --f-lo: #7fbf00; --f-ink: #4a6400; --on-f: #131513;
  /* the shoe: one photo cut into five stacking layers, per colourway */
  --sh-all: url("/media/shoe/charge.webp"); --sh-up: url("/media/shoe/charge-up.webp"); --sh-foamT: url("/media/shoe/charge-foamT.webp");
  --sh-plate: url("/media/shoe/charge-plate.webp"); --sh-foamB: url("/media/shoe/charge-foamB.webp"); --sh-sole: url("/media/shoe/charge-sole.webp");
  --bad-ink: #a8201a;
  /* frame and layout */
  --g: 12px; --r-win: 24px; --pad: 64px; --max: 1280px; --nav-h: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);   /* the foam's rebound: nothing else overshoots */
  /* fallbacks with a width axis or a condensed cut, so the first paint is close to the webfont */
  --sans: "Archivo", "Bahnschrift", "Avenir Next", "Roboto", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='1.9' intercept='-.45'/%3E%3CfeFuncG type='linear' slope='1.9' intercept='-.45'/%3E%3CfeFuncB type='linear' slope='1.9' intercept='-.45'/%3E%3CfeFuncA type='table' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  --fiber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .05' numOctaves='4' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .32 0 0 0 0 .28 0 0 0 .28 -.1'/%3E%3C/filter%3E%3Crect width='900' height='900' filter='url(%23f)'/%3E%3C/svg%3E");
  color-scheme: dark;
}
@media (max-width: 767px) { :root { --g: 8px; --r-win: 16px; --pad: 16px; --nav-h: 56px; } }
@media (min-width: 768px) and (max-width: 1023px) { :root { --pad: 32px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--a0); scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: var(--g) 0; background: var(--a0); color: var(--a-text); font: 400 16px/24px var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
p, li { text-wrap: pretty; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
section[id], [id].anchor { scroll-margin-top: 96px; }
::selection { background: var(--f); color: var(--on-f); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 100; left: 50%; top: 24px; padding: 12px 20px; border-radius: 999px; background-color: var(--a-text); color: var(--a1); font-weight: 600; text-decoration: none; transform: translate(-50%, -200%); transition: transform .3s var(--ease); }
.skip:focus { transform: translate(-50%, 0); }
:focus-visible { outline: 2px solid var(--focus, var(--a-text)); outline-offset: 3px; border-radius: 8px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- surfaces ---------- */
.dark { --bg: var(--a1); --fg: var(--a-text); --mute: var(--a-mute); --line: var(--a4); --accent: var(--f); --raised: var(--a2); --card: var(--a3); --focus: var(--a-text); background-color: var(--bg); color: var(--fg); }
.chalk { --bg: var(--k0); --fg: var(--k-text); --mute: var(--k-mute); --line: var(--k-line); --accent: var(--f-ink); --raised: var(--k1); --card: var(--k2); --focus: var(--k-text); background-color: var(--bg); color: var(--fg); color-scheme: light; }
.foam { --fg: var(--on-f); --mute: var(--on-f); --line: rgb(19 21 19 / .2); --accent: var(--on-f); --focus: var(--on-f); color: var(--fg); }
.carbon { --bg: #0f1110; --fg: var(--a-text); --mute: var(--a-mute); --line: #2c312d; --accent: var(--f); --raised: #171a18; --card: #1d211e; --focus: var(--a-text); color: var(--fg);
  background-color: #0f1110;
  background-image:
    radial-gradient(70% 60% at 72% 38%, rgb(255 255 255 / .07), rgb(255 255 255 / 0) 70%),
    repeating-linear-gradient(45deg, rgb(255 255 255 / .03) 0 5px, rgb(255 255 255 / 0) 5px 10px),
    repeating-linear-gradient(-45deg, rgb(0 0 0 / .45) 0 5px, rgb(0 0 0 / 0) 5px 10px); }
.mute { color: var(--mute); }
.accent { color: var(--accent); }

/* ---------- materials ---------- */
/* foam is never a flat fill: grain in soft light over two gradients over the colour */
.mat-foam {
  background-color: var(--f);
  background-image: var(--noise),
    radial-gradient(120% 130% at 14% 0%, var(--f-hi) 0%, rgb(255 255 255 / 0) 58%),
    radial-gradient(110% 120% at 100% 100%, var(--f-lo) 0%, rgb(0 0 0 / 0) 62%);
  background-size: 220px 220px, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat;
  background-blend-mode: soft-light, normal, normal;
}
/* on phones the tall foam plates skip the blended grain (costly to paint); the fixed grain overlay carries the texture */
@media (max-width: 767px) { .tagline, .sy-stage .st-burst { --noise: none; } }
/* tyvek, for the race bib */
.mat-tyvek { background-color: #f3f4ef; background-image: var(--fiber), linear-gradient(170deg, #fbfbf8, #e9ebe4); color: var(--k-text); }

/* ---------- frame and plates ---------- */
.frame { position: fixed; inset: var(--g); z-index: 60; border-radius: var(--r-win); pointer-events: none;
  box-shadow: 0 0 0 calc(var(--g) + 64px) var(--a0), inset 0 0 0 1px rgb(239 242 234 / .06); }
.grain { position: fixed; inset: 0; z-index: 61; pointer-events: none; background: var(--noise) 0 0 / 220px 220px; opacity: .055; }
.plate { position: relative; margin: 0 var(--g); border-radius: var(--r-win); overflow: clip; }
main > * + *, main + footer { margin-top: var(--g); }
/* sections far down the page skip style, layout and paint until they come near (four inline shoes are not free) */
.wear, .inside, .reserve, .faq, .foot, .article { content-visibility: auto; contain-intrinsic-block-size: auto 1100px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: 128px; }
@media (max-width: 767px) { .sec { padding-block: 80px; } }

/* ---------- type: one class per named style ---------- */
.display, .heading-1, .heading-2 { font-stretch: 62.5%; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; }
.display { font-size: 60px; line-height: 60px; }
.heading-1 { font-size: 48px; line-height: 48px; }
.heading-2 { font-size: 36px; line-height: 40px; }
.heading-3 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.body-1 { font-size: 18px; line-height: 28px; }
.body-3 { font-size: 16px; line-height: 24px; }
.caption-1 { font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.caption-2 { font-size: 14px; line-height: 20px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 500; }
@media (min-width: 768px) {
  .display { font-size: 96px; line-height: 96px; }
  .heading-1 { font-size: 72px; line-height: 72px; }
  .heading-2 { font-size: 48px; line-height: 48px; }
  .heading-3 { font-size: 30px; line-height: 36px; }
}
@media (min-width: 1280px) { .display { font-size: 128px; line-height: 128px; } }
/* italic display type leans out of its box: keep the lean inside masks */
.ln { display: block; overflow: hidden; padding: .06em .08em 0; margin: -.06em -.08em 0; transform-origin: 50% 100%; }
.ln > span { display: block; }
/* phones show the headline at first paint: it is the first thing read */
@media (max-width: 767px) { .js:not(.rm):not(.intro-done) .hero-h .pre { opacity: 1; } }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--mute); }
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background-color: var(--accent); }

/* ---------- icons ---------- */
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- controls: buttons and the swipe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 24px; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; line-height: 20px; }
.btn-foam { color: var(--on-f); --sw-bg: var(--a1); --sw-fg: var(--f); }
.btn-line { box-shadow: inset 0 0 0 1.5px currentColor; color: var(--fg); --sw-bg: var(--fg); --sw-fg: var(--bg); }
.btn .ic { transition: transform .5s var(--ease); }
:where(.btn, .nav-links a, .menu-btn, .st-tab, .pause, .rc-arrow, .orbit) { position: relative; --sw-bg: var(--a-text); --sw-fg: var(--a1); }
:is(.btn, .nav-links a, .menu-btn, .st-tab, .pause, .rc-arrow, .orbit) {
  isolation: isolate; overflow: hidden;
  transition-property: transform, color, background-color, box-shadow, opacity;
  transition-duration: .5s, .35s, .3s, .3s, .3s; transition-timing-function: var(--ease);
}
:is(.btn, .nav-links a, .menu-btn, .st-tab, .pause, .rc-arrow, .orbit)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background-color: var(--sw-bg);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .55s var(--ease), opacity .3s var(--ease);
}
@media (hover: hover) {
  :is(.btn, .nav-links a, .menu-btn, .st-tab, .pause, .rc-arrow, .orbit):hover::before { transform: scaleX(1); transform-origin: 0 50%; }
  :is(.btn, .nav-links a, .menu-btn, .st-tab, .pause, .rc-arrow, .orbit):hover { color: var(--sw-fg); }
  .btn:hover .ic { transform: translateX(3px); }
}
:is(.btn, .nav-links a, .menu-btn, .st-tab, .pause, .rc-arrow, .orbit):focus-visible::before { transform: scaleX(1); transform-origin: 0 50%; }
:is(.btn, .nav-links a, .menu-btn, .st-tab, .pause, .rc-arrow, .orbit):focus-visible { color: var(--sw-fg); }
:is(.btn, .menu-btn, .pause, .rc-arrow):active { transform: scale(.97); transition-duration: .2s; }
.rm :is(.btn, .nav-links a, .menu-btn, .st-tab, .pause, .rc-arrow, .orbit)::before { transform: none; opacity: 0; }
.rm :is(.btn, .nav-links a, .menu-btn, .st-tab, .pause, .rc-arrow, .orbit):focus-visible::before { opacity: 1; }
@media (hover: hover) { .rm :is(.btn, .nav-links a, .menu-btn, .st-tab, .pause, .rc-arrow, .orbit):hover::before { opacity: 1; } }
@media (hover: none) {
  :is(.btn, .rc-arrow):active::before { transform: scaleX(1); transform-origin: 0 50%; transition-duration: .3s; }
}
/* a link at the end of a block: the underline swipe */
.more { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--accent); font-weight: 600; text-decoration: none; }
.more::after { content: ""; position: absolute; left: 0; right: 28px; bottom: 8px; height: 1.5px; background-color: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .55s var(--ease); }
.more .ic { transition: transform .5s var(--ease); }
@media (hover: hover) { .more:hover::after { transform: scaleX(1); transform-origin: 0 50%; } .more:hover .ic { transform: translateX(3px); } }
.more:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }
.pause { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background-color: rgb(239 242 234 / .1); color: var(--fg); cursor: pointer; }
.pause .i-play, .pause[aria-pressed="true"] .i-pause { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }
kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; border-radius: 6px; box-shadow: inset 0 0 0 1px currentColor; font: inherit; }

/* ---------- the shoe (shared by every instance): a photo in five stacking layers on a 1000 x 450 canvas ---------- */
.shoe { position: relative; display: block; width: 100%; aspect-ratio: 1000 / 450; isolation: isolate; }
.shoe :is(.l, .l-mid, .l-up > i) { position: absolute; inset: 0; display: block; background-position: center; background-size: 100% 100%; background-repeat: no-repeat; }
.shoe .l-sole { background-image: var(--sh-sole); } .shoe .l-foamB { background-image: var(--sh-foamB); } .shoe .l-plate { background-image: var(--sh-plate); }
.shoe .l-foamT { background-image: var(--sh-foamT); } .shoe .l-up > i { background-image: var(--sh-up); }
.shoe-flat { background: var(--sh-all) center / 100% 100% no-repeat; }
/* the foam squashes about the ground line (y 440 of 450) */
.l-mid, .l-foamT, .l-foamB, .l-plate { transform-origin: 0 97.78%; }

/* ---------- the load: hide only what will animate, and only when it will ---------- */
.js:not(.rm):not(.intro-done) .pre { opacity: 0; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 70; top: calc(var(--g) + 12px); left: 50%; transform: translateX(-50%); width: max-content; display: flex; align-items: center; gap: 24px;
  height: var(--nav-h); padding: 8px 8px 8px 24px; border-radius: 999px; background-color: rgb(19 21 19 / .84);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgb(239 242 234 / .08), 0 12px 32px rgb(0 0 0 / .28); color: var(--a-text); --focus: var(--a-text); }
.logo { display: flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; }
.logo svg { width: 26px; height: 20px; fill: var(--f); }
.logo b { font-stretch: 62.5%; font-weight: 800; font-style: italic; font-size: 24px; line-height: 24px; letter-spacing: .02em; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: none; color: var(--a-mute); }
.nav-links a[aria-current="page"] { color: var(--a-text); box-shadow: inset 0 0 0 1px var(--a4); }
.menu-btn { display: none; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background-color: var(--a3); cursor: pointer; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.75px; border-radius: 2px; background-color: currentColor; transition: transform .5s var(--ease); }
.menu-btn i:first-child { transform: translateY(-4px); } .menu-btn i:last-child { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] i:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }
.menu { position: fixed; inset: var(--g); z-index: 69; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 64px) 24px 32px;
  border-radius: var(--r-win); background-color: rgb(19 21 19 / .96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); color: var(--a-text); --focus: var(--a-text);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.menu.open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.menu ul { display: grid; gap: 4px; }
.menu li { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu.open li { opacity: 1; transform: none; }
.menu.open li:nth-child(2) { transition-delay: 60ms; } .menu.open li:nth-child(3) { transition-delay: 120ms; } .menu.open li:nth-child(4) { transition-delay: 180ms; }
.menu.open li:nth-child(5) { transition-delay: 240ms; } .menu.open li:nth-child(6) { transition-delay: 300ms; } .menu.open li:nth-child(7) { transition-delay: 360ms; }
.menu a:not(.btn) { display: flex; align-items: center; min-height: 48px; text-decoration: none; }
.rm .menu li { transform: none; transition: opacity .3s var(--ease); }
@media (max-width: 1023px) {
  .nav { left: calc(var(--g) + 8px); right: calc(var(--g) + 8px); width: auto; transform: none; justify-content: space-between; gap: 8px; padding-left: 16px; }
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav-end { display: flex; align-items: center; gap: 8px; }
}
@media (min-width: 1024px) { .menu { display: none; } .nav-end { display: contents; } }

/* ---------- reveals ---------- */
.js:not(.rm) .rv { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js:not(.rm) .rv.in { opacity: 1; transform: none; }

/* ---------- hero and the stride stage (landing page) ---------- */
.stride { position: relative; }
.stage { --focus: var(--a-text); height: calc(100svh - 2 * var(--g)); min-height: 600px; isolation: isolate; }
/* the photograph fills the plate and melts into it at the foot, so closing in on the shoe never shows an edge.
   object-position is the front shoe: its sole keeps its height at any crop, and a narrow window keeps the whole shoe */
.st-photo { position: absolute; inset: 0; z-index: 0; transform-origin: 0 0; will-change: transform, opacity, filter; }
.st-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 89%; }
@media (min-aspect-ratio: 5/4) { .st-photo img { object-position: 60% 89%; } }   /* room for the headline beside the runner */
.st-photo::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(0deg, var(--a1) 0%, rgb(19 21 19 / 0) 16%), linear-gradient(90deg, rgb(11 12 11 / .62) 0%, rgb(11 12 11 / 0) 56%); }
/* three things in the sky, clear of the runner at any window shape: the shoe's name, the line, the offer */
.st-hero { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding: calc(var(--nav-h) + 56px) var(--pad) 0; }
.hero-h { margin-top: 16px; font-size: clamp(52px, min(7vw, 13vh), 128px); line-height: .9; }
.hero-h .ln { white-space: nowrap; }   /* fixed lines: a late webfont can't reflow the headline and push the page */
.cta-row { display: flex; align-items: center; gap: 24px; }
.price { display: grid; }
.price b { font-size: 24px; line-height: 32px; font-weight: 600; }
.price span { color: var(--mute); }
.st-spec { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 32px; text-align: left; }
.st-spec dt { order: 2; color: var(--mute); }
.st-spec div { display: flex; flex-direction: column; }
.st-spec dd { font-family: var(--mono); font-size: 20px; line-height: 28px; font-weight: 500; }
/* the live shoe: script lays it over the photograph's shoe, then it runs the stride */
.st-rig { display: none; }
.pin .stage .st-rig { display: block; position: absolute; z-index: 2; left: 0; top: 0; width: 46%; opacity: 0; transform-origin: 0 0; will-change: transform, opacity; }
.st-shadow { position: absolute; z-index: 1; left: 0; top: 0; display: none; width: 100px; height: 36px; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .6), rgb(0 0 0 / 0)); transform-origin: 50% 50%; pointer-events: none; }
.st-streaks { position: absolute; right: 90%; top: 36%; width: 26%; height: 34%; display: grid; align-content: space-between; pointer-events: none; }
.st-streaks i { display: block; height: 3px; border-radius: 3px; background-color: var(--f); transform: scaleX(0); transform-origin: 100% 50%; }
.st-streaks i:nth-child(2) { margin-left: 22%; } .st-streaks i:nth-child(3) { margin-left: 8%; } .st-streaks i:nth-child(4) { margin-left: 34%; }
.st-ground, .st-beats, .st-clock, .st-rail, .st-burst { display: none; }

/* pinned: desktop with room and motion. The shoe stays on the right, where the photograph has it; the words sit left */
.pin .stride { height: calc((1 + var(--total, 3)) * 100vh); }
.pin .stage { position: sticky; top: var(--g); height: calc(100vh - 2 * var(--g)); }
.pin .st-ground, .pin .st-beats, .pin .st-clock, .pin .st-rail, .pin .st-burst { display: block; }
.pin .stage .st-shadow, .sy-stage .st-shadow { display: block; }
.st-ground { position: absolute; z-index: 1; left: var(--pad); right: var(--pad); top: 78%; height: 2px; background-color: var(--a-text); transform: scaleX(0); transform-origin: 50% 50%; }
.st-ground::after { content: ""; position: absolute; left: 36%; right: 0; top: 2px; height: 22vh; background: radial-gradient(50% 100% at 50% 0%, rgb(239 242 234 / .05), rgb(239 242 234 / 0)); }
.st-beats { position: absolute; z-index: 3; left: var(--pad); top: 56%; width: min(34vw, 460px); height: 0; }
.st-beats li { position: absolute; left: 0; right: 0; top: 0; transform: translateY(-50%); opacity: 0; }
.st-beats .heading-1 { margin: 16px 0; }
.st-beats p:last-child { color: var(--mute); }
.st-clock { position: absolute; z-index: 3; left: var(--pad); top: calc(var(--nav-h) + 72px); opacity: 0; }
.st-clock .num { display: block; font-size: 96px; line-height: 96px; letter-spacing: -.04em; }
.st-clock .num small { font-size: 30px; letter-spacing: 0; color: var(--mute); }
.st-rail { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 32px; }
.st-tabs { display: flex; gap: 8px; margin-bottom: 16px; opacity: 0; visibility: hidden; }
.st-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 999px; background-color: transparent; color: var(--a-mute); font-size: 14px; line-height: 20px; font-weight: 500; cursor: pointer; }
.st-tab .num { font-size: 12px; }
.st-tab[aria-current="step"] { color: var(--a-text); box-shadow: inset 0 0 0 1px var(--a4); }
.st-line { height: 2px; border-radius: 2px; background-color: rgb(239 242 234 / .22); overflow: hidden; }
.st-line i { display: block; height: 100%; background-color: var(--f); transform: scaleX(0); transform-origin: 0 50%; }
.st-hint { display: none; align-items: center; gap: 8px; margin-left: auto; color: var(--a-mute); }
.kb .st-hint { display: flex; }
.st-burst { position: absolute; inset: 0; z-index: 4; clip-path: circle(0 at 50% 50%); }
.st-burst-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: var(--pad); }
.st-burst .display { font-family: var(--mono); font-style: normal; font-stretch: 100%; text-transform: none; letter-spacing: -.05em; }
@media (min-width: 1280px) { .st-burst .display { font-size: 200px; line-height: 180px; } }
@media (min-width: 1024px) and (max-height: 760px) { .st-hero { gap: 24px; padding-top: calc(var(--nav-h) + 40px); } .st-clock .num { font-size: 72px; line-height: 72px; } }

/* hero on phones: the photograph on top, then the words and the offer, all in the first screen */
@media (max-width: 767px) {
  .stage { height: auto; min-height: 0; }
  .st-photo { position: relative; inset: auto; height: clamp(280px, 44svh, 360px); }
  .st-photo::after { background-image: linear-gradient(0deg, var(--a1) 0%, rgb(19 21 19 / 0) 30%); }
  .st-hero { position: relative; inset: auto; display: block; padding: 20px var(--pad) 32px; }
  .hero-h { margin-top: 12px; font-size: 13.2vw; }
  .cta-row { width: 100%; justify-content: space-between; }
  .stage .cta-row { margin-top: 24px; }
  .st-spec dd { font-size: 18px; }
}

/* ---------- the stride as stories: phones, tablets, reduced motion ---------- */
.stories { padding-block: 96px; }
.pin .stories { display: none; }
.sy-head { display: grid; gap: 16px; max-width: 640px; margin-bottom: 48px; }
.sy-card { position: relative; border-radius: 16px; background-color: var(--a2); box-shadow: inset 0 0 0 1px rgb(239 242 234 / .06); overflow: hidden; }
.sy-top { position: absolute; z-index: 5; left: 16px; right: 16px; top: 16px; display: flex; align-items: center; gap: 12px; }
.pager { flex: 1; display: flex; gap: 6px; }
.pager button { position: relative; flex: 1; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
.pager button::before, .pager button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.pager button::before { background-color: rgb(239 242 234 / .2); }
.pager button::after { background-color: var(--a-text); transform: scaleX(0); transform-origin: 0 50%; }
.pager button.seen::after { transform: scaleX(1); }
@keyframes seg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pager button[aria-current="true"]::after { animation: seg 5.5s linear forwards; }
.sy-hold .pager button[aria-current="true"]::after { animation-play-state: paused; }
.rm .pager button[aria-current="true"]::after { animation: none; transform: scaleX(1); }
.sy-stage { position: relative; height: clamp(260px, 56vw, 420px); overflow: hidden; isolation: isolate; }
.sy-stage .st-rig { display: block; position: absolute; left: 0; top: 0; width: min(72%, 560px); margin: 0; }
.sy-stage .st-shadow { display: block; }
.sy-stage .st-streaks { display: grid; }
.sy-ground { position: absolute; z-index: 1; left: 16px; right: 16px; top: 78%; height: 2px; background-color: var(--a-text); }
.sy-clock { position: absolute; z-index: 3; right: 16px; top: 64px; text-align: right; }
.sy-clock .num { font-size: 36px; line-height: 40px; letter-spacing: -.03em; }
.sy-clock .num small { font-size: 16px; color: var(--mute); letter-spacing: 0; }
.sy-stage .st-burst { display: block; }
.sy-stage .st-burst .display { font-size: 60px; line-height: 60px; }
.sy-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-top: 1px solid var(--a4); }
.sy-track::-webkit-scrollbar { display: none; }
.sy-track li { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; padding: 24px 16px 32px; }
.sy-track .heading-2 { margin: 12px 0; }
.sy-track p:last-child { color: var(--mute); max-width: 52ch; }
@media (min-width: 768px) { .sy-track li { padding: 32px; } .sy-top { left: 24px; right: 24px; } .sy-clock { right: 32px; top: 72px; } .sy-clock .num { font-size: 48px; line-height: 48px; } }

/* ---------- the promise, and a reel of four clips ---------- */
.tagline { padding-block: 128px; }
.tagline .display { max-width: 9.5em; }
.tl-l { display: block; }
.tl .w { opacity: .28; transition: opacity .6s var(--ease), color .6s var(--ease); }
.tl .w.on { opacity: 1; }
.tl-l + .tl-l .w.on, .rm .tl-l + .tl-l { color: var(--f); }               /* the answer lights up in foam */
.rm .tl .w { opacity: 1; transition: none; }
.tl-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-top: 48px; }
.tl-note { max-width: 46ch; font-weight: 500; }
.reel-pause { flex: none; }
/* four clips of footage. Script plays them only while the reel is on screen and not paused; under reduced motion
   they stay on their first frame */
.reel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.clip { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background-color: var(--raised); isolation: isolate; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.rm .reel-pause { display: none; }
.clip::after { content: ""; position: absolute; inset: 50% 0 0; background-image: linear-gradient(0deg, rgb(11 12 11 / .6), rgb(11 12 11 / 0)); }
.clip-tag { position: absolute; z-index: 1; left: 16px; bottom: 14px; }
@media (max-width: 767px) {
  .tagline { padding-block: 80px; }
  .tl-row { margin-top: 32px; }
  .reel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 32px calc(-1 * var(--pad)) 0; padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
  .reel::-webkit-scrollbar { display: none; }
  .clip { flex: 0 0 72%; scroll-snap-align: start; }
}

/* ---------- colourways on a depth carousel, then the shoe on a person ---------- */
/* script moves --d (a shoe's place: 0 the middle, 1 and -1 its neighbours) and --far (0 to 1, how far from the middle).
   Without script the first shoe sits in the middle with the others beside it */
.cs { position: relative; display: grid; justify-items: center; text-align: center; }
.cs-stage { position: relative; width: 100%; height: clamp(280px, 38vw, 480px); perspective: 1400px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.cs-stage:active { cursor: grabbing; }
.cs-item { --d: 0; --far: 0; position: absolute; left: 50%; top: 50%; width: min(50%, 620px); aspect-ratio: 1325 / 955; will-change: transform, filter, opacity;
  opacity: var(--o, calc(1 - .3 * var(--far))); filter: blur(calc(var(--far) * 6px));
  transform: translate(-50%, -50%) translateX(calc(var(--d) * 62%)) translateY(calc(var(--far) * -8%)) rotateY(calc(var(--d) * -28deg)) rotate(calc(var(--d) * 5deg)) scale(calc(1 - .46 * var(--far))); }
.cs-item:nth-child(2) { --d: 1; --far: 1; } .cs-item:nth-child(3) { --d: -1; --far: 1; }
.cs-item::before { content: ""; position: absolute; inset: 0 -4% -4%; border-radius: 50%; background: radial-gradient(closest-side, var(--tint), transparent); opacity: .8; }
.cs-item::after { content: ""; position: absolute; left: 14%; right: 10%; bottom: -1%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgb(19 21 19 / .32), rgb(19 21 19 / 0)); }
.cs-item img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
/* the name rolls over as the shoes change */
.cs-name { position: relative; width: 100%; height: 1em; margin-top: 8px; overflow: hidden; font-size: clamp(64px, 12vw, 168px); line-height: 1; }
.cs-name span { position: absolute; inset: 0; transform: translateY(calc(var(--d, 0) * 105%)); will-change: transform; }
.cs-name span:nth-child(2) { --d: 1; } .cs-name span:nth-child(3) { --d: -1; }
.cs-cap { margin-top: 8px; color: var(--mute); }
.cs > .btn { margin-top: 24px; }
/* the three names, outlined; the one in the middle is filled */
.cs-list { position: absolute; z-index: 3; left: 0; top: 0; display: grid; justify-items: start; }
.cs-pick { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-stretch: 62.5%; font-weight: 800; font-style: italic; font-size: 32px; line-height: 36px; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px var(--fg); transition: color .4s var(--ease); }
.cs-pick[aria-current="true"] { color: var(--fg); }
@media (hover: hover) { .cs-pick:not([aria-current]):hover { color: rgb(19 21 19 / .2); } }
.cs > .rc-arrow { position: absolute; z-index: 3; top: 0; right: 0; }
.cs > .rc-arrow[data-dir="-1"] { right: 56px; }
@media (min-width: 768px) { .cs-stage { margin-top: 32px; } }   /* the names and arrows sit above the far shoes */
/* a close look at the mesh, pinned to the photograph's corner */
.lens { position: absolute; right: -28px; top: -44px; width: 34%; aspect-ratio: 3 / 4; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 8px var(--bg), 0 24px 40px rgb(19 21 19 / .2); }
.lens-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 6px 14px; border-radius: 999px; background-color: rgb(239 241 234 / .88); color: var(--k-text); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.wear-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; margin-top: 96px; }
.wear-copy { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto 1fr; gap: 24px 32px; }
/* the calm voice, with one loud phrase */
.statement { font-size: 36px; line-height: 40px; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
.statement em { font-stretch: 62.5%; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0; font-size: 1.14em; }
@media (min-width: 768px) { .statement { font-size: 60px; line-height: 60px; } }
.orbit { align-self: start; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; color: var(--fg); --sw-bg: var(--fg); --sw-fg: var(--bg); }
.orbit .ic { width: 28px; height: 28px; transition: transform .5s var(--ease); }
@media (hover: hover) { .orbit:hover .ic { transform: translate(3px, -3px); } }
.orbit:active { transform: scale(.96); }
.wear-copy > p, .wear-copy > .st-spec { grid-column: 1 / -1; }
.wear-copy > p { max-width: 40ch; }
.wear-copy > .st-spec { justify-content: start; }
/* the shoe reaches across the gap and over the photograph's edge */
.wear-shoe { grid-column: 1 / -1; align-self: end; z-index: 2; width: calc(100% + 120px); margin-bottom: 8px; }
.wear-shoe::after { content: ""; position: absolute; z-index: -1; left: 3%; right: 1%; bottom: -4%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgb(19 21 19 / .34), rgb(19 21 19 / 0)); }
.wear-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; background-color: #8f867d; }
.wear-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
@media (max-width: 1023px) { .wear-grid { gap: 32px; } .wear-shoe { width: calc(100% + 72px); } }
@media (max-width: 767px) {
  /* phones: the shoe fills the row with its neighbours peeking in; the arrows flank the name */
  .cs { grid-template-columns: 48px 1fr 48px; align-items: center; }
  .cs > * { grid-column: 1 / -1; }
  .cs-list { display: none; }
  .cs-stage { height: 260px; }
  .cs-item { width: 84%; }
  .cs-name { grid-area: 2 / 2; margin-top: 0; }
  .cs > .rc-arrow { position: relative; right: auto; grid-area: 2 / 3; }
  .cs > .rc-arrow[data-dir="-1"] { right: auto; grid-area: 2 / 1; }
  .lens { right: 12px; top: -36px; width: 30%; box-shadow: 0 0 0 6px var(--bg), 0 16px 28px rgb(19 21 19 / .2); }
  .wear-grid { grid-template-columns: 1fr; gap: 0; margin-top: 88px; }
  .wear-copy { grid-template-rows: none; }
  .orbit { width: 56px; height: 56px; }
  .wear-shoe { display: none; }                     /* the carousel above and the photograph below already show it */
  .wear-copy { margin-bottom: 56px; }
}

/* ---------- inside: the exploded shoe ---------- */
.inside-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.inside-copy .heading-1 { margin: 16px 0 24px; }
.layers { display: grid; margin-top: 40px; border-top: 1px solid var(--line); }
.layer { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.layer input, .cw input, .sizes input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }   /* the label is the target; the radio fills it */
.layer .num { grid-row: 1 / span 2; color: var(--mute); font-size: 12px; line-height: 28px; }
.layer .title-1 { color: var(--mute); transition: color .3s var(--ease); }
.layer-d { grid-column: 2; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--ease), opacity .4s var(--ease); }
.layer-d > span { overflow: hidden; color: var(--mute); }
.layer:has(input:checked) .title-1 { color: var(--fg); }
.layer:has(input:checked) .num { color: var(--accent); }
.layer:has(input:checked) .layer-d { grid-template-rows: 1fr; opacity: 1; }
.layer:has(input:checked)::before { content: ""; position: absolute; left: -16px; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background-color: var(--f); }
.layer:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 8px; }
@media (hover: hover) { .layer:hover .title-1 { color: var(--fg); } }
.rm .layer-d { transition: none; }
.inside-art { position: relative; }
/* the exploded view: five real parts on one canvas; closed, each has travelled towards the plate */
:root { --ex-up: url("/media/shoe/charge-ex-up.webp"); --ex-foamT: url("/media/shoe/charge-ex-foamT.webp"); --ex-plate: url("/media/shoe/charge-ex-plate.webp"); --ex-foamB: url("/media/shoe/charge-ex-foamB.webp"); --ex-sole: url("/media/shoe/charge-ex-sole.webp"); }
.exv { position: relative; aspect-ratio: 1066 / 1019; max-width: 600px; margin-inline: auto; }
.exv .l { position: absolute; inset: 0; background: center / 100% 100% no-repeat; transform: translate(var(--sx, 0%), var(--cy, 0%)); transition: transform .9s var(--spring), opacity .4s var(--ease); cursor: pointer; }
.exv .l-up { background-image: var(--ex-up); --cy: 27.4%; transition-delay: .2s; }
.exv .l-foamT { background-image: var(--ex-foamT); --cy: 11.1%; transition-delay: .1s; }
.exv .l-plate { background-image: var(--ex-plate); filter: brightness(1.7); }   /* dark parts on a dark plate need a lift */
.exv .l-foamB { background-image: var(--ex-foamB); --cy: -13.2%; transition-delay: .05s; }
.exv .l-sole { background-image: var(--ex-sole); --cy: -25.3%; transition-delay: .15s; filter: brightness(2.2); }
.inside.open .exv .l, .rm .inside .exv .l { --cy: 0%; transition-delay: 0s; }
.inside:has(.layer input:checked) .exv .l { opacity: .5; }
.inside:has(#ly-up:checked) .l-up, .inside:has(#ly-foamT:checked) .l-foamT, .inside:has(#ly-plate:checked) .l-plate,
.inside:has(#ly-foamB:checked) .l-foamB, .inside:has(#ly-sole:checked) .l-sole { opacity: 1 !important; --sx: 2.8%; }
.inside:not(.open) .exv .l { opacity: 1 !important; --sx: 0% !important; }
.rm .inside .exv .l { transition: opacity .3s var(--ease); }
.inside-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin-top: 24px; color: var(--mute); }
.inside-cap .more { white-space: nowrap; }
@media (max-width: 1023px) { .inside-grid { grid-template-columns: 1fr; gap: 40px; } .inside-art { order: -1; } }

/* ---------- race day ---------- */
.race-pin { display: flex; flex-direction: column; justify-content: center; gap: 48px; padding-block: 112px 96px; }
.race-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.race-head .heading-1 { margin-top: 16px; max-width: 12em; }
.race-arrows { display: flex; gap: 8px; }
.rc-arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--fg); background: none; color: var(--fg); cursor: pointer; --sw-bg: var(--fg); --sw-fg: var(--bg); }
.rc-arrow:disabled { opacity: .3; cursor: default; }
.race-view { position: relative; }
.race-track { display: flex; padding-inline: var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--pad); }
.race-track::-webkit-scrollbar { display: none; }
.km { flex: 0 0 min(80vw, 400px); scroll-snap-align: start; padding: 0 40px 0 24px; border-left: 1px solid var(--line); }
.km:last-child { flex-basis: min(80vw, 460px); }
.km .display { color: var(--fg); }
.km .display small { font-size: .3em; letter-spacing: 0; color: var(--mute); margin-left: .1em; }
.km .heading-3 { margin: 24px 0 8px; }
.km p:last-child { color: var(--mute); max-width: 34ch; }
.lane { position: relative; height: 40px; margin-inline: var(--pad); }
.lane::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background-image: linear-gradient(90deg, var(--fg) 0 18px, rgb(0 0 0 / 0) 18px 30px); background-size: 30px 2px; opacity: .3; }
.lane-run { position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; box-shadow: 0 0 0 6px rgb(19 21 19 / .08); }
.lane-run::after { content: attr(data-km); position: absolute; left: 0; bottom: 28px; transform: translateX(calc(var(--p, 0) * -100% + 10px - var(--p, 0) * 20px)); white-space: nowrap; font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; }
.pin .race { height: calc(100vh + var(--travel, 0px)); }
.pin .race-pin { position: sticky; top: var(--g); height: calc(100vh - 2 * var(--g)); padding-block: 96px 48px; }
.pin .race-track { overflow: visible; will-change: transform; }
.pin .race-arrows { display: none; }
@media (max-width: 767px) { .race-head { flex-direction: column; align-items: flex-start; } .km { padding: 0 24px 0 16px; } }

/* ---------- reserve: the shoe on a stand, the bib that is the form ---------- */
.reserve-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: start; }
.rs-head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; margin-bottom: 24px; }
.rs-head .heading-1 { margin-top: 16px; }
.rs-stand { position: sticky; top: 112px; display: grid; gap: 24px; padding: 24px; border-radius: 16px; background-color: var(--a2); box-shadow: inset 0 1px 0 rgb(239 242 234 / .06), 0 1px 0 rgb(0 0 0 / .4); }
.rs-floor { position: relative; display: grid; place-items: center; min-height: 360px; padding: 72px 24px 48px; border-radius: 12px; background: radial-gradient(70% 60% at 50% 72%, rgb(239 242 234 / .07), rgb(239 242 234 / 0)), var(--a1); overflow: hidden; }
.rs-name { position: absolute; left: 24px; top: 20px; display: grid; }
/* the colourway belongs to this section: its shoe, its button and its bib follow it, the rest of the site stays lime */
#reserve { --sh-34: url("/media/shoe/charge-34.webp"); }
/* a colourway belongs to Reserve and to the carousel's button; the rest of the site stays lime */
:is(#reserve, .cs)[data-cw="flare"] { --f: #ff3d4a; --f-hi: #ff9a8f; --f-lo: #c4102a; --f-ink: #b8122b; --sh-34: url("/media/shoe/flare-34.webp"); }
:is(#reserve, .cs)[data-cw="arc"] { --f: #3b83ff; --f-hi: #9cc0ff; --f-lo: #1749d0; --f-ink: #1d56d6; --sh-34: url("/media/shoe/arc-34.webp"); }
/* the shoe floats at three quarters and leans towards the pointer */
.rs-floor { perspective: 1100px; }
.rs-shoe { position: relative; z-index: 1; width: min(100%, 540px); aspect-ratio: 1325 / 955; background: var(--sh-34) center / contain no-repeat; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .6s var(--ease); will-change: transform; }
.rs-floor::after { content: ""; position: absolute; left: 20%; right: 16%; bottom: 7%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .7), rgb(0 0 0 / 0)); transform: translateX(var(--shx, 0px)); transition: transform .6s var(--ease); }
/* colours as product cards */
.cw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 0; padding: 0; margin: 0; }
.cw legend { padding: 0; margin-bottom: 12px; }
.cw label { position: relative; display: grid; gap: 8px; align-content: start; padding: 8px 8px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--a4); cursor: pointer; transition: box-shadow .3s var(--ease), background-color .3s var(--ease); }
.cw label:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--a-text); background-color: var(--a3); }
.cw label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) { .cw label:hover { background-color: var(--a3); } .cw label:hover .cw-thumb img { transform: translateY(-3px) rotate(-4deg); } }
.cw-thumb { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 6px; background-color: var(--tint); }
.cw-thumb img { width: 90%; height: auto; transition: transform .6s var(--spring); }
.cw-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-inline: 4px; }
.cw-meta .num { font-size: 14px; color: var(--a-mute); }
.cw small { display: block; padding-inline: 4px; color: var(--a-mute); font-size: 12px; line-height: 16px; }
.bib { position: relative; padding: 40px 32px 32px; border-radius: 16px; box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 24px 48px rgb(0 0 0 / .35), 0 2px 6px rgb(0 0 0 / .25); --fg: var(--k-text); --mute: var(--k-mute); --line: #cfd3c8; --focus: var(--k-text); --accent: var(--f-ink); }
.bib-pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background-color: var(--a1); box-shadow: inset 0 2px 3px rgb(0 0 0 / .6), 0 1px 0 rgb(255 255 255 / .8); }
.bib-pin:nth-of-type(1) { left: 16px; top: 16px; } .bib-pin:nth-of-type(2) { right: 16px; top: 16px; }
.bib-pin:nth-of-type(3) { left: 16px; bottom: 16px; } .bib-pin:nth-of-type(4) { right: 16px; bottom: 16px; }
.bib-band { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--k-text); }
.bib-band i { flex: 1; max-width: 120px; height: 12px; border-radius: 2px; }
.bib-no { display: flex; align-items: baseline; justify-content: center; gap: 12px; padding: 24px 0 16px; overflow: hidden; }
.bib-no output { display: block; font-stretch: 62.5%; font-weight: 800; font-style: italic; font-size: 144px; line-height: 128px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bib-no .caption-1 { color: var(--mute); }
.bib fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.bib legend, .bib .lbl { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0; margin-bottom: 12px; }
.bib .more { min-height: 40px; color: var(--accent); font-size: 14px; line-height: 20px; }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sizes label { position: relative; display: grid; place-items: center; min-height: 44px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 14px; line-height: 20px; font-weight: 500; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.sizes label:has(input:checked) { background-color: var(--k-text); color: var(--k1); box-shadow: none; }
.sizes label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) { .sizes label:hover { box-shadow: inset 0 0 0 1.5px var(--k-text); } }
.field { display: grid; gap: 8px; margin-bottom: 24px; }
.field input { width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 12px; background-color: rgb(255 255 255 / .7); box-shadow: inset 0 0 0 1px var(--line); color: var(--k-text); font-size: 16px; }
.field input::placeholder { color: #7a8178; }
.field input:focus-visible { outline: 2px solid var(--k-text); outline-offset: 2px; }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--bad-ink); }
.err { color: var(--bad-ink); font-size: 14px; line-height: 20px; font-weight: 500; }
.bib .btn { width: 100%; }
.bib .btn-foam { --sw-bg: var(--k-text); --sw-fg: var(--f); }
.bib-fine { margin-top: 16px; text-align: center; color: var(--mute); }
.bib-tear { margin: 24px -32px 0; border-top: 2px dashed #c3c8bd; }
.stamp { position: absolute; z-index: 2; left: 50%; top: 168px; padding: 8px 20px; border: 4px solid var(--bad-ink); border-radius: 8px; color: var(--bad-ink); font-stretch: 62.5%; font-weight: 800; font-style: italic; font-size: 48px; line-height: 48px; text-transform: uppercase; letter-spacing: .02em;
  opacity: 0; transform: translateX(-50%) rotate(-8deg) scale(1.4); pointer-events: none; mix-blend-mode: multiply; }
.bib.done .stamp { opacity: .9; transform: translateX(-50%) rotate(-8deg) scale(1); transition: transform .45s var(--spring), opacity .2s var(--ease); }
.done-msg { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background-color: var(--k-text); color: var(--k1); font-size: 14px; line-height: 20px; }
.risk { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.risk li { display: flex; gap: 12px; padding: 16px; border-radius: 12px; background-color: var(--a1); }
.risk .ic { color: var(--f); margin-top: 2px; }
.risk b { display: block; font-weight: 600; }
.risk span { color: var(--a-mute); font-size: 14px; line-height: 20px; }
@media (max-width: 1023px) {
  .reserve-grid, .rs-head { grid-template-columns: 1fr; }
  .rs-head { gap: 16px; }
  .rs-stand { position: relative; top: auto; }
}
@media (max-width: 767px) {
  .rs-stand { padding: 8px; gap: 16px; }
  .rs-floor { min-height: 240px; padding: 64px 8px 32px; }
  .cw small, .cw-meta .num { display: none; }
  .cw-meta { justify-content: center; }
  .rs-shoe { width: min(100%, 320px); }
  .risk { grid-template-columns: 1fr; }
  .bib { padding: 40px 20px 24px; }
  .bib-tear { margin-inline: -20px; }
  .bib-no output { font-size: 120px; line-height: 104px; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-head { position: sticky; top: 112px; display: grid; gap: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 16px 0; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 32px; height: 32px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), background-color .3s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.75px; margin: -.875px 0 0 -6px; border-radius: 2px; background-color: currentColor; transition: transform .5s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open]:not(.closing) .pm { transform: rotate(180deg); background-color: var(--fg); color: var(--bg); }
details[open]:not(.closing) .pm::after { transform: rotate(0deg); }
.faq-a { padding: 0 64px 24px 0; color: var(--mute); }
.faq-a a { color: var(--fg); }
@media (hover: hover) { .faq-list summary:hover .pm { background-color: var(--card); } }
@media (max-width: 1023px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } .faq-head { position: static; } .faq-a { padding-right: 0; } }

/* ---------- footer ---------- */
.foot { padding-top: 96px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.foot-top .heading-1 { max-width: 10em; }
.foot-cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; padding-block: 48px; }
.foot-cols h2 { margin-bottom: 12px; color: var(--mute); }
.foot-cols a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
@media (hover: hover) { .foot-cols a:hover { color: var(--f); } }
.foot-fine { color: var(--mute); max-width: 44ch; }
.foot-mark { margin: 0 0 -.17em; padding: 0 var(--pad); font-stretch: 62.5%; font-weight: 800; font-style: italic; font-size: 33vw; line-height: .8; letter-spacing: -.02em; color: var(--a2); user-select: none; white-space: nowrap; overflow: hidden; }
@media (max-width: 767px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > div:first-child { grid-column: 1 / -1; } .foot { padding-top: 64px; } }

/* ---------- the bar under the thumb (phones) ---------- */
.dock { position: fixed; z-index: 66; left: calc(var(--g) + 8px); right: calc(var(--g) + 8px); bottom: calc(var(--g) + 8px); display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px; border-radius: 999px; background-color: rgb(19 21 19 / .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgb(239 242 234 / .08), 0 12px 32px rgb(0 0 0 / .35); transform: translateY(160%); transition: transform .5s var(--ease); }
.dock.on { transform: none; }
.dock span { font-size: 14px; line-height: 20px; font-weight: 500; }
@media (max-width: 767px) { .dock { display: flex; } }
.rm .dock { transition: none; }

/* ---------- inner pages ---------- */
.pg-hero { padding: calc(var(--nav-h) + 96px) 0 96px; }
.pg-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.pg-hero .heading-1 { margin: 16px 0 24px; }
.pg-hero .body-1 { max-width: 48ch; }
.pg-hero .cta-row { margin-top: 32px; }
.article { padding-block: 112px; }
.art-sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding-block: 48px; border-top: 1px solid var(--line); }
.art-sec > h2 { position: sticky; top: 112px; align-self: start; }
.art-sec .body-1 + .body-1 { margin-top: 16px; }
.art-sec .body-1 { max-width: 62ch; }
.updated { margin-top: 48px; color: var(--mute); }
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.spec-list > div { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec-list > div:nth-child(odd) { padding-right: 24px; }
.spec-list dt { color: var(--mute); }
.spec-list dd { font-size: 20px; line-height: 28px; font-weight: 600; }
.tbl-wrap { overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl thead th { font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody th { font-weight: 600; }
.tbl tr.hit > * { background-color: var(--f); color: var(--on-f); }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.steps li { display: grid; gap: 12px; padding: 24px; border-radius: 16px; background-color: var(--raised); }
.steps .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--on-f); font-family: var(--mono); font-weight: 500; }
.pg-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pg-card { display: grid; gap: 12px; align-content: start; min-height: 220px; padding: 32px; border-radius: 16px; background-color: var(--raised); text-decoration: none; box-shadow: inset 0 0 0 1px rgb(239 242 234 / .06); transition: transform .5s var(--ease), background-color .3s var(--ease); }
.pg-card .more { margin-top: auto; }
@media (hover: hover) { .pg-card:hover { transform: translateY(-4px); background-color: var(--a3); } }
.pg-card:active { transform: scale(.98); }
.spec-fig { min-width: 0; }
.spec-art { position: relative; aspect-ratio: 1440 / 470; }
.spec-art .shoe { position: absolute; left: 15.28%; top: 2.13%; width: 69.44%; }
.spec-art .dim { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dim path { fill: none; stroke: var(--a-mute); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.dim .dash { stroke-dasharray: 6 8; opacity: .6; }
.dim text { fill: var(--a-text); font: 500 34px var(--mono); }
.dim .sub { fill: var(--a-mute); font-size: 24px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 767px) { .dim text { font-size: 54px; } .dim .sub { display: none; } }
.conv { display: grid; gap: 24px; padding: 32px; border-radius: 16px; background-color: var(--a2); box-shadow: inset 0 1px 0 rgb(239 242 234 / .06); }
.conv label { display: grid; gap: 8px; }
.conv-row { display: flex; align-items: center; gap: 12px; }
.conv input[type="range"] { flex: 1; height: 40px; accent-color: var(--f); }
.conv output { min-width: 5ch; font-family: var(--mono); font-size: 20px; line-height: 28px; }
.conv-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.conv-out div { display: grid; gap: 4px; padding: 16px; border-radius: 12px; background-color: var(--a1); }
.conv-out b { font-family: var(--mono); font-size: 30px; line-height: 36px; font-weight: 500; }
.conv-out span { color: var(--a-mute); }
.conv-note { color: var(--a-mute); }
@media (max-width: 1023px) { .pg-hero-grid, .art-sec { grid-template-columns: 1fr; } .art-sec { gap: 24px; } .art-sec > h2 { position: static; } }
@media (max-width: 767px) { .pg-hero { padding: calc(var(--nav-h) + 64px) 0 64px; } .spec-list, .steps, .pg-cards { grid-template-columns: 1fr; } .spec-list > div:nth-child(odd) { padding-right: 0; } .article { padding-block: 80px; } .conv { padding: 20px; } .conv-out b { font-size: 24px; line-height: 32px; } }

/* ---------- 404 ---------- */
.lost { display: grid; place-items: center; min-height: calc(100svh - 2 * var(--g)); padding: calc(var(--nav-h) + 64px) var(--pad) 64px; text-align: center; }
.lost .bib { width: min(100%, 420px); margin: 0 auto 48px; padding-bottom: 88px; transform: rotate(-3deg); }
.lost .bib-no output { font-size: 160px; line-height: 140px; }
.lost .stamp { top: auto; left: auto; right: 28px; bottom: 28px; opacity: .9; transform: rotate(-8deg); }
.lost .heading-1 { margin-bottom: 16px; }
.lost p { color: var(--mute); margin-bottom: 32px; }
