:root {
  --fog: #ECEAE4;
  --pumice: #DDD8CD;
  --basalt: #1D201E;
  --lichen: #5C6355;
  --pine: #2F4034;
  --blaze: #C4532B;
  --blaze-dark: #A8441F;
  --snow: #F8F7F4;
  --line: #C9C4B8;

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Schibsted Grotesk", system-ui, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 5vw, 72px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-mask: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fog);
  color: var(--basalt);
  font: 400 1.0625rem/1.55 var(--f-body);
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blaze); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--basalt); color: var(--snow); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

.mono { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.eyebrow {
  font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lichen); margin-bottom: 18px;
}
.eyebrow--light { color: rgba(248, 247, 244, 0.72); }
.h2 {
  font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 72;
  font-size: clamp(2.25rem, 6vw, 4.75rem); line-height: 0.95; letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 2px;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--dark { background: var(--basalt); color: var(--snow); }
.btn--dark:hover { background: var(--pine); }
.btn--blaze { background: var(--blaze); color: #fff; }
.btn--blaze:hover { background: var(--blaze-dark); }
.btn--line { background: transparent; border: 1px solid var(--basalt); }
.btn--line:hover { background: var(--basalt); color: var(--snow); }
.btn--wide { width: 100%; }
.icon-btn {
  width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.75rem; line-height: 1;
  border-radius: 2px;
}
.icon-btn:hover { background: var(--pumice); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  color: var(--basalt);
  transition: background-color 300ms ease, color 300ms ease;
}
.nav.is-solid { background: rgba(236, 234, 228, 0.94); backdrop-filter: blur(8px); }
.nav.is-dark { color: var(--snow); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 85; font-size: 1.125rem; letter-spacing: 0.01em; }
.brand__mark { width: 34px; height: 17px; }
.nav__links { display: none; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 0.9375rem; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bag-btn {
  margin-left: auto; min-height: 40px; padding: 0 14px; border: 1px solid currentColor; background: transparent;
  border-radius: 2px; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 8px;
}
.bag-btn__count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--blaze); color: #fff;
  display: inline-grid; place-items: center; font-family: var(--f-mono); font-size: 0.6875rem;
}
.bag-btn__count.is-bump { animation: bump 360ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.3); } }
@media (min-width: 760px) {
  .nav__links { display: flex; }
  .bag-btn { margin-left: 8px; }
}

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  padding: calc(var(--nav-h) + 40px) var(--gutter) clamp(32px, 6vh, 72px);
  overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero__inner { max-width: 1400px; }
.hero__title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(4rem, 19vw, 17rem); line-height: 0.82; letter-spacing: -0.015em;
  margin: 0 0 28px;
}
.hero__line { display: block; font-variation-settings: "wdth" 62; }
.hero__line:nth-child(2) { font-variation-settings: "wdth" 110; }
.js .hero__line { opacity: 0; transform: translateY(0.25em); }
.hero.is-in .hero__line { opacity: 1; transform: none; transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), font-variation-settings 1400ms var(--ease-mask); }
.hero.is-in .hero__line:nth-child(2) { transition-delay: 120ms; }
.hero__lede { max-width: 30ch; font-size: clamp(1.0625rem, 1.6vw, 1.375rem); line-height: 1.4; margin-bottom: 28px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Route */
.route__intro { padding: clamp(80px, 14vh, 160px) var(--gutter) 48px; max-width: 900px; }
.route__intro p:last-child { max-width: 46ch; margin-top: 20px; color: var(--lichen); }

.stage {
  position: relative; height: 100svh; overflow: hidden; background: var(--basalt); color: var(--snow);
}
.stage__photos { position: absolute; inset: 0; }
.stage__photo {
  position: absolute; inset: -4% 0; width: 100%; height: 108%; object-fit: cover;
  opacity: 0; transition: opacity 900ms var(--ease-mask);
  will-change: transform, opacity;
}
.stage__photo.is-on { opacity: 1; }
.stage__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(29, 32, 30, 0.45), rgba(29, 32, 30, 0) 30%, rgba(29, 32, 30, 0) 55%, rgba(29, 32, 30, 0.6));
}

.hud {
  position: absolute; z-index: 3; top: calc(var(--nav-h) + 12px); left: var(--gutter); right: var(--gutter);
  display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.6875rem;
}
.hud__k { color: rgba(248, 247, 244, 0.6); margin-right: 4px; }
.hud__sky { color: rgba(248, 247, 244, 0.85); }

.stations { position: absolute; inset: 0; z-index: 2; }
.station { position: absolute; inset: 0; pointer-events: none; }
.station__img { display: none; }
.station__mark {
  position: absolute; left: var(--gutter); top: calc(var(--nav-h) + 52px);
  font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0; transition: opacity 400ms ease;
}
.station__title {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 76px);
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 13vw, 11rem); line-height: 0.85; letter-spacing: -0.01em;
  font-variation-settings: "wdth" var(--wdth, 90);
  clip-path: inset(0 0 100% 0); transform: translateY(0.15em);
  transition: clip-path 700ms var(--ease-mask), transform 700ms var(--ease-mask);
}
.station--false .station__title { color: var(--snow); }

.card {
  position: absolute; left: 12px; right: 12px; bottom: 128px;
  display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start;
  background: var(--snow); color: var(--basalt); padding: 12px; border-radius: 2px;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
}
.card__img { width: 96px; aspect-ratio: 1; object-fit: cover; background: var(--pumice); }
.card__why-k { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blaze-dark); }
.card__name { font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 80; font-size: 1.25rem; line-height: 1.05; margin: 4px 0 6px; }
.card__why { font-size: 0.8125rem; line-height: 1.4; color: var(--lichen); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.card__row .btn { min-height: 40px; padding: 0 14px; font-size: 0.8125rem; }

.station.is-on { pointer-events: none; }
.station.is-on .station__mark { opacity: 0.8; }
.station.is-on .station__title { clip-path: inset(0 0 -10% 0); transform: none; }
.station.is-on .card { opacity: 1; transform: none; pointer-events: auto; }

@media (min-width: 900px) {
  .card {
    left: auto; right: var(--gutter); bottom: auto; top: 50%; width: 360px;
    grid-template-columns: 1fr; padding: 16px;
    transform: translateY(calc(-50% + 20px));
  }
  .station.is-on .card { transform: translateY(-50%); }
  .card__img { width: 100%; aspect-ratio: 5 / 4; }
  .card__why { -webkit-line-clamp: unset; font-size: 0.875rem; }
  .card__name { font-size: 1.625rem; }
  .station__title { right: 440px; top: 34%; }
  .station__mark { top: calc(34% - 32px); }
}

/* Profile */
.profile { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 112px; padding: 0 var(--gutter) 34px; }
.profile__plot { position: relative; height: 100%; }
.profile__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.profile__line { fill: none; stroke: rgba(248, 247, 244, 0.5); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 2 4; }
.profile__line--done { stroke: var(--snow); stroke-width: 2.5; stroke-dasharray: none; }
.profile__area { fill: rgba(248, 247, 244, 0.1); }
.profile__grid line { stroke: rgba(248, 247, 244, 0.14); stroke-width: 1; vector-effect: non-scaling-stroke; }
.profile__ticks { position: absolute; inset: 0; }
.tick { position: absolute; bottom: 0; width: 0; border-left: 1px solid rgba(248, 247, 244, 0.35); }
.tick span {
  position: absolute; top: calc(100% + 8px); left: 0; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--f-mono); font-size: 0.5625rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(248, 247, 244, 0.6);
  transition: color 300ms ease;
}
.tick:first-child span { transform: none; }
.tick.is-passed { border-left-color: rgba(248, 247, 244, 0.7); }
.tick.is-passed span { color: var(--snow); }
.tick.is-hidden { opacity: 0; }
.profile__fog {
  position: absolute; top: -20px; bottom: 0; right: 0; left: 100%;
  background: linear-gradient(to right, rgba(29, 32, 30, 0), rgba(29, 32, 30, 0.55) 40px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(248, 247, 244, 0.6);
  pointer-events: none;
}
.profile__runner {
  position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: var(--blaze); box-shadow: 0 0 0 3px rgba(248, 247, 244, 0.9);
  will-change: transform;
}
.profile__note { position: absolute; right: var(--gutter); bottom: 4px; font-size: 0.5rem; color: rgba(248, 247, 244, 0.5); }
@media (max-width: 599px) {
  .tick span { font-size: 0; }
  .tick span::before { content: attr(data-short); font-size: 0.5625rem; }
  .profile__note { display: none; }
}
@media (min-width: 900px) {
  .profile { height: 172px; padding-bottom: 44px; }
  .tick span { font-size: 0.625rem; }
}

/* Static route (reduced motion or no GSAP) */
.stage.is-static { height: auto; background: var(--fog); color: var(--basalt); overflow: visible; }
.stage.is-static .stage__photos, .stage.is-static .stage__shade, .stage.is-static .hud { display: none; }
.stage.is-static .profile { position: relative; height: 150px; background: var(--basalt); padding-top: 24px; }
.stage.is-static .profile__runner, .stage.is-static .profile__fog { display: none; }
.stage.is-static .stations { position: static; display: grid; gap: 64px; padding: 56px var(--gutter) 24px; }
.stage.is-static .station { position: relative; display: grid; gap: 16px; pointer-events: auto; }
.stage.is-static .station__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.stage.is-static .station__mark, .stage.is-static .station__title,
.stage.is-static .card { position: static; opacity: 1; transform: none; clip-path: none; pointer-events: auto; }
.stage.is-static .station__title { font-size: clamp(2.5rem, 8vw, 5rem); color: var(--basalt); }
.stage.is-static .card { background: var(--pumice); width: auto; max-width: 520px; }

/* Collection */
.collection { padding: clamp(96px, 16vh, 180px) var(--gutter) 64px; }
.section-head { margin-bottom: 48px; }
.grid { display: grid; gap: 40px 20px; grid-template-columns: 1fr; }
.item { display: grid; gap: 12px; align-content: start; }
.item__media { position: relative; background: var(--pumice); overflow: hidden; aspect-ratio: 1; }
.item__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 400ms ease, transform 700ms var(--ease-out); }
.item__media img + img { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .item__media:hover img + img { opacity: 1; }
  .item__media:hover img:first-child { transform: scale(1.03); }
}
.item__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.item__name { font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 80; font-size: 1.375rem; line-height: 1.1; }
.item__price { font-family: var(--f-mono); font-size: 0.875rem; }
.item__meta { color: var(--lichen); font-size: 0.875rem; }
.item__where { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blaze-dark); }
.sizes-pick { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.sizes-pick legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sizes-pick label { position: relative; }
.sizes-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sizes-pick span {
  display: grid; place-items: center; min-width: 44px; height: 40px; padding: 0 10px;
  border: 1px solid var(--line); font-family: var(--f-mono); font-size: 0.75rem; border-radius: 2px;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.sizes-pick input:hover + span { border-color: var(--basalt); }
.sizes-pick input:checked + span { background: var(--basalt); color: var(--snow); border-color: var(--basalt); }
.sizes-pick input:focus-visible + span { outline: 2px solid var(--blaze); outline-offset: 2px; }
.item .btn { justify-self: start; }
.collection__note { margin-top: 48px; color: var(--lichen); max-width: 60ch; }

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .item--lead { grid-column: 1 / -1; }
  .item--lead .item__media { aspect-ratio: 16 / 10; }
}
@media (min-width: 1040px) {
  .grid { grid-template-columns: repeat(6, 1fr); gap: 56px 32px; }
  .item { grid-column: span 3; }
  .item .item__media { aspect-ratio: 3 / 2; }
  .item--lead { grid-column: 1 / span 3; grid-row: span 2; }
  .item--lead .item__media { aspect-ratio: 4 / 5; }
  .item--lead .item__name { font-size: 2rem; }
  .item:nth-child(4) { grid-column: 1 / span 2; }
  .item:nth-child(5) { grid-column: 3 / span 4; }
  .item:nth-child(4) .item__media { aspect-ratio: 1; }
  .item:nth-child(5) .item__media { aspect-ratio: 2 / 1; }
}

/* Details */
.details { display: grid; gap: 40px; padding: 64px var(--gutter) clamp(96px, 14vh, 160px); }
.details__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--pumice); }
.details__text > p:not(.eyebrow) { margin: 24px 0 32px; max-width: 48ch; color: var(--lichen); }
.specs { display: grid; border-top: 1px solid var(--line); margin-bottom: 32px; }
.specs div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; }
.specs dd { font-family: var(--f-mono); font-size: 0.75rem; color: var(--lichen); }
@media (min-width: 900px) {
  .details { grid-template-columns: 5fr 6fr; align-items: center; gap: 72px; }
  .specs div { grid-template-columns: 200px 1fr; align-items: baseline; }
}

/* Story */
.story { padding: clamp(96px, 16vh, 180px) var(--gutter); background: var(--pumice); }
.story__title {
  font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 70;
  font-size: clamp(2.5rem, 7.5vw, 6.5rem); line-height: 0.95; max-width: 15ch; text-wrap: balance;
}
.story__title em { font-style: normal; color: var(--blaze-dark); font-variation-settings: "wdth" 112; display: inline-block; }
.story__body { display: grid; gap: 20px; margin-top: 48px; max-width: 760px; margin-left: auto; color: var(--lichen); font-size: 1.125rem; }
@media (min-width: 900px) { .story__body { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* Drop */
.drop {
  display: grid; gap: 64px; padding: clamp(96px, 14vh, 160px) var(--gutter);
  background: var(--pine); color: var(--snow);
}
.count { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px clamp(16px, 4vw, 48px); }
.count span { display: block; font-size: clamp(2.5rem, 9vw, 6.5rem); line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.count small { display: block; margin-top: 10px; font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(248, 247, 244, 0.65); }
.count span.is-tick { animation: tick 420ms var(--ease-out); }
@keyframes tick { from { opacity: 0.2; transform: translateY(-0.12em); } }
.drop__date { margin-top: 28px; color: rgba(248, 247, 244, 0.65); }
.signup { max-width: 520px; }
.signup > p { margin: 18px 0 28px; color: rgba(248, 247, 244, 0.8); }
.signup label { display: block; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.signup__row { display: grid; gap: 10px; }
.signup input {
  min-height: 52px; padding: 0 16px; border: 1px solid rgba(248, 247, 244, 0.5); border-radius: 2px;
  background: transparent; color: var(--snow); font: inherit;
}
.signup input:focus { outline: 2px solid var(--snow); outline-offset: 0; border-color: var(--snow); }
.signup input[aria-invalid="true"] { border-color: #F1A386; }
.signup__msg { min-height: 1.5em; margin-top: 12px; font-size: 0.9375rem; }
.signup__msg.is-error { color: #F6B9A3; }
.signup__demo { margin-top: 16px; color: rgba(248, 247, 244, 0.55); font-size: 0.625rem; }
@media (min-width: 560px) { .signup__row { grid-template-columns: 1fr auto; } }
@media (min-width: 1000px) { .drop { grid-template-columns: 1.2fr 1fr; align-items: end; } }

/* Footer */
.foot { display: grid; gap: 16px; padding: 40px var(--gutter) 56px; background: var(--basalt); color: rgba(248, 247, 244, 0.75); font-size: 0.875rem; }
.foot strong { color: var(--snow); }
@media (min-width: 900px) { .foot { grid-template-columns: 1fr auto; align-items: end; } }

/* Bag */
.bag { position: fixed; inset: 0; z-index: 60; }
.bag[hidden] { display: none; }
.bag__scrim { position: absolute; inset: 0; background: rgba(29, 32, 30, 0.4); opacity: 0; transition: opacity 280ms ease; }
.bag__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 86svh;
  display: grid; grid-template-rows: auto 1fr auto; background: var(--fog);
  transform: translateY(100%); transition: transform 280ms var(--ease-out);
}
.bag.is-open .bag__scrim { opacity: 1; }
.bag.is-open .bag__panel { transform: none; }
@media (min-width: 700px) {
  .bag__panel { left: auto; top: 0; width: 420px; max-height: none; transform: translateX(100%); }
}
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.bag__head h2 { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-size: 1.5rem; }
.bag__list { overflow: auto; padding: 0 20px; }
.bag__line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bag__line img { width: 72px; height: 72px; object-fit: cover; background: var(--pumice); }
.bag__line-name { font-weight: 600; line-height: 1.2; }
.bag__line-meta { font-size: 0.8125rem; color: var(--lichen); }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.qty button { width: 32px; height: 32px; border: 1px solid var(--line); background: transparent; border-radius: 2px; }
.qty output { min-width: 24px; text-align: center; font-family: var(--f-mono); font-size: 0.8125rem; }
.bag__remove { border: 0; background: none; text-decoration: underline; font-size: 0.8125rem; color: var(--lichen); padding: 4px 0; min-height: 32px; }
.bag__line-price { font-family: var(--f-mono); font-size: 0.8125rem; text-align: right; }
.bag__empty { padding: 32px 20px; color: var(--lichen); }
.bag__foot { padding: 16px 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.bag__total { display: flex; justify-content: space-between; font-weight: 600; }
.bag__note { color: var(--lichen); font-size: 0.6875rem; }

/* Size guide */
.sizes { width: min(560px, calc(100% - 24px)); border: 0; padding: 20px; background: var(--fog); color: var(--basalt); border-radius: 2px; }
.sizes::backdrop { background: rgba(29, 32, 30, 0.45); }
.sizes__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sizes__head h2 { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-size: 1.5rem; }
.sizes > p { color: var(--lichen); font-size: 0.9375rem; }
.sizes__scroll { overflow-x: auto; margin: 16px 0; }
.sizes table { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: 0.8125rem; }
.sizes th, .sizes td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.sizes thead th { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lichen); }
.sizes__demo { color: var(--lichen); font-size: 0.6875rem; }
.sizes[open] { animation: pop 260ms var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .js .reveal, .js .hero__line { transform: none !important; transition: opacity 300ms ease !important; }
  .stage__photo, .station__title, .card, .bag__panel { transition-duration: 1ms !important; }
}

.item__msg { min-height: 1.2em; font-size: 0.6875rem; color: var(--blaze-dark); }
.bag__line select { font: inherit; font-size: 0.8125rem; background: transparent; border: 1px solid var(--line); border-radius: 2px; padding: 2px 4px; color: inherit; }
@media (max-width: 899px) {
  .station__mark { display: none; }
  .station__title { top: calc(var(--nav-h) + 64px); }
}

/* Hero over the photo: light type, shade only where the type sits */
.hero { color: var(--snow); isolation: isolate; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(29, 32, 30, 0.78), rgba(29, 32, 30, 0.35) 45%, rgba(29, 32, 30, 0) 70%);
}
.hero .eyebrow { color: rgba(248, 247, 244, 0.8); }
.hero .btn--dark { background: var(--snow); color: var(--basalt); }
.hero .btn--dark:hover { background: var(--pumice); }

/* Legibility over bright photos (backlit sun, snow) */
.stage__shade {
  background:
    linear-gradient(to bottom, rgba(29, 32, 30, 0.6), rgba(29, 32, 30, 0) 28%, rgba(29, 32, 30, 0) 58%, rgba(29, 32, 30, 0.7)),
    linear-gradient(to right, rgba(29, 32, 30, 0.45), rgba(29, 32, 30, 0) 55%);
}
.station__title, .hud, .station__mark { text-shadow: 0 1px 2px rgba(29, 32, 30, 0.35), 0 4px 28px rgba(29, 32, 30, 0.35); }
.hero .eyebrow, .hero__title { text-shadow: 0 1px 2px rgba(29, 32, 30, 0.4), 0 4px 28px rgba(29, 32, 30, 0.3); }

.item__media img + img { object-position: 50% 35%; }
.item:nth-child(3) .item__media img + img { object-position: 50% 72%; }

/* Colour choice: the second colourway shows the runner photo */
.colors-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 0; padding: 0; margin: 0; }
.colors-pick legend { float: left; margin-right: 6px; padding: 0; font-family: var(--f-mono); font-size: 0.6875rem; color: var(--lichen); }
.colors-pick label { position: relative; display: grid; place-items: center; width: 32px; height: 32px; }
.colors-pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.colors-pick span { width: 22px; height: 22px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(29, 32, 30, 0.2); transition: box-shadow 150ms ease; }
.colors-pick input:checked + span { box-shadow: inset 0 0 0 1px rgba(29, 32, 30, 0.2), 0 0 0 2px var(--fog), 0 0 0 3.5px var(--basalt); }
.colors-pick input:focus-visible + span { outline: 2px solid var(--blaze); outline-offset: 4px; }
.item__media.is-alt img + img { opacity: 1; }
.item__media.is-alt img:first-child { transform: none; }

/* Desktop: the product card sits above the elevation profile, never under its fog */
@media (min-width: 900px) {
  .card { top: auto; bottom: 196px; transform: translateY(20px); }
  .station.is-on .card { transform: none; }
  .card__img { aspect-ratio: auto; height: clamp(110px, calc(100svh - 560px), 288px); }
}
