/* Next Tram showcase, v2.1: the site speaks the app's design language.
   Layout concept: a film-title sequence for a tram line. Full-bleed footage and photographs
   alternate with oversized type on a 12-column grid.
   From the app: its dark palette (bg #101114, surfaces, hairlines, text greys), its type
   (Roboto, the Android system face the app renders in, here as Roboto Flex for display sizes),
   heavy tabular countdowns, line badges, pill chips, punctuality chips, the green leave bar and
   the faint gradient monogram.
   From the site: tram yellow for the physical world (trams, stop displays, the walk band) and a
   dot-matrix face only on the stop-display ticker and loader. Green means the app's answer. */
:root {
  /* palette */
  --ink: #101114;          /* app background */
  --ink-2: #1a1b20;        /* app surface */
  --ink-3: #2e3037;        /* app hairline */
  --ink-4: #24262c;        /* app surface-2 */
  --paper: #f2f2f0;        /* app text */
  --mute: #a7a9b0;         /* app text-2 */
  --faint: #6f727b;        /* app text-3 */
  --signal: #ffd400;       /* tram yellow: trams, stop displays */
  --signal-ink: #101114;   /* text on yellow */
  --go: #3ecf8e;           /* app go: the answer, leave advice */
  --go-soft: #14382a;
  --alarm: #ff6b5f;        /* app now / late */
  --alarm-soft: #43201d;
  --early: #ffd84d;        /* app early */
  --early-soft: #3d3410;

  /* app palette (dark UI of the real app) */
  --app-bg: #101114;
  --app-surface: #1a1b20;
  --app-line: #2e3037;
  --app-text: #f2f2f0;
  --app-text-2: #a7a9b0;
  --app-go: #3ecf8e;
  --app-go-soft: #14382a;
  --tram-red: #d7262f;

  /* type */
  --f-display: 'Roboto Flex', Roboto, system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'Roboto Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --f-dot: 'Doto', 'Roboto Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.77, 0, .18, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 6px; }
::selection { background: var(--signal); color: var(--signal-ink); }

.wrap {
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.8vw, 28px); }
.grid12 > * { min-width: 0; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.dot { font-family: var(--f-dot); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
/* countdown numerals, the way the app sets them: heavy, tight, tabular */
.num { font-family: var(--f-display); font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
/* accent words: the same family, light and slanted, in the app's go green */
.serif { font-family: var(--f-display); font-weight: 400; font-style: normal; font-variation-settings: 'slnt' -10; letter-spacing: -0.045em; color: var(--go); }
.hl { color: var(--signal); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- type scale ---------- */
.label {
  margin: 0 0 1.6rem;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.label--light { color: var(--paper); }
.label--ink { color: var(--signal-ink); }
.h-xl, .h-lg, .h-md { margin: 0; font-weight: 700; text-wrap: balance; }
.h-xl { font-size: clamp(2.6rem, 7.6vw, 8.4rem); line-height: 0.9; letter-spacing: -0.055em; }
.h-lg { font-size: clamp(2.4rem, 5.4vw, 5.8rem); line-height: 0.93; letter-spacing: -0.05em; }
.h-md { font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.02; letter-spacing: -0.035em; }
.body-lg { font-size: clamp(1.05rem, 1.3vw, 1.28rem); line-height: 1.5; color: var(--mute); max-width: 33em; margin: 1.6rem 0 0; font-weight: 400; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: grid; place-items: center;
  animation: loader-out .8s var(--ease) 2s forwards; /* safety net without JS */
}
.loader.is-done { animation: loader-out .8s var(--ease) forwards; }
@keyframes loader-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.loader__board {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5em;
  width: calc(100vw - 2 * var(--gutter));
  font-size: clamp(1.5rem, 7.4vw, 8rem); line-height: 1;
  color: var(--signal);
  text-shadow: 0 0 .25em rgb(255 212 0 / .35);
}
.loader__line { background: var(--signal); color: var(--signal-ink); padding: .04em .22em; text-shadow: none; }
.loader__dest { overflow: hidden; white-space: nowrap; text-overflow: clip; }
.loader__min { min-width: 2.2ch; text-align: right; }
html.no-loader .loader { display: none; }

/* ---------- cursor, grain, progress ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--signal);
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--signal-ink); opacity: 0; transition: opacity .2s; }
.cursor.is-big .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0,0) } 25% { transform: translate(-4%,3%) } 50% { transform: translate(3%,-2%) } 75% { transform: translate(-2%,-4%) } }
.progress { position: fixed; z-index: 70; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; left: 0; right: 0; top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px max(var(--gutter), env(safe-area-inset-right, 0px)) 20px max(var(--gutter), env(safe-area-inset-left, 0px));
  transition: transform .5s var(--ease), background .4s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav:focus-within { transform: none; }
.nav.is-solid { background: linear-gradient(to bottom, rgb(16 17 20 / .8), rgb(16 17 20 / 0)); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.03em; font-size: 19px; }
.nav__mark { width: 30px; height: 30px; border-radius: 7px; flex: none; box-shadow: 0 0 0 1px var(--ink-3); }
.nav__live { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: pulse 1.6s ease-in-out infinite; }
.nav__city { color: var(--mute); }
@keyframes pulse { 50% { opacity: .25; } }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__links a { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; position: relative; padding-block: 6px; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links .nav__cta { background: var(--signal); color: var(--signal-ink); font-weight: 600; padding: 11px 18px; border-radius: 999px; transition: background .25s; }
.nav__links .nav__cta:hover { background: var(--paper); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 660px; overflow: hidden; background: var(--ink); }
.hero__reel { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.reel__clip { position: absolute; inset: 0; margin: 0; overflow: hidden; clip-path: inset(0 0 0 100%); z-index: 1; }
.reel__clip.is-active { clip-path: inset(0 0 0 0); z-index: 3; transition: clip-path 1.15s var(--ease); }
.reel__clip.is-prev { clip-path: inset(0 0 0 0); z-index: 2; }
.reel__clip video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.reel__clip.is-active video { animation: drift 9s linear forwards; }
@keyframes drift { from { transform: scale(1.14); } to { transform: scale(1.2); } }
.reel__wipe { position: absolute; top: 0; bottom: 0; left: 0; width: 9vw; transform: translateX(100vw); will-change: transform; background: var(--signal); z-index: 4; pointer-events: none; }
.reel__wipe.is-go { animation: wipe 1.15s var(--ease) forwards; }
@keyframes wipe { from { transform: translateX(100vw); } to { transform: translateX(-9vw); } }
.hero__shade {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background:
    linear-gradient(to top, rgb(16 17 20 / .82) 0%, rgb(16 17 20 / 0) 55%),
    linear-gradient(to bottom, rgb(16 17 20 / .5) 0%, rgb(16 17 20 / 0) 16%);
}
.hero__inner {
  position: relative; z-index: 6; height: 100%;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; row-gap: 20px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 96px);
  padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.hero__kicker { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.subs { align-self: center; justify-self: center; text-align: center; max-width: min(30em, 100%); text-shadow: 0 2px 24px rgb(0 0 0 / .55); }
.subs p { margin: 0; }
.subs__q { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(1rem, 1.6vw, 1.5rem); font-weight: 500; letter-spacing: -0.015em; }
.subs__a { margin-top: .5em !important; font-size: clamp(1.25rem, 2.4vw, 2.5rem); line-height: 1.15; font-weight: 500; letter-spacing: -0.03em; color: var(--signal); min-height: 2.3em; text-wrap: balance; }
.subs__wave { display: inline-flex; align-items: center; gap: 3px; height: 1em; flex: none; }
.subs__wave i { width: 3px; height: 100%; background: var(--signal); border-radius: 2px; animation: wave 1s ease-in-out infinite; }
.subs__wave i:nth-child(2) { animation-delay: -.2s } .subs__wave i:nth-child(3) { animation-delay: -.4s } .subs__wave i:nth-child(4) { animation-delay: -.6s } .subs__wave i:nth-child(5) { animation-delay: -.8s }
@keyframes wave { 0%, 100% { transform: scaleY(.25) } 50% { transform: scaleY(1) } }
.subs__timer { margin-top: 14px !important; display: inline-flex; align-items: baseline; gap: 10px; padding: 6px 14px; border-radius: 999px; background: rgb(16 17 20 / .55); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-shadow: none; }
.subs__timer b { font-size: 20px; color: var(--go); }

.hero__title {
  margin: 0;
  font-size: clamp(4.2rem, 16.2vw, 19.5rem);
  line-height: 0.82;
  letter-spacing: -0.068em;
  font-weight: 700;
  transform-origin: left bottom;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hero__title .word { display: inline-block; will-change: transform; }
.hero__title .serif { letter-spacing: -0.06em; padding-right: .04em; }
.hero__bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: end; }
.hero__lede { margin: 0; max-width: 30em; font-size: clamp(1rem, 1.2vw, 1.18rem); color: rgb(242 242 240 / .8); }

.chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.chapter { width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding: 10px 0; }
.chapter__n { font-family: var(--f-mono); font-size: 12px; color: var(--mute); padding-top: 2px; }
.chapter__t { font-size: 15px; font-weight: 600; opacity: .55; transition: opacity .3s; }
.chapter.is-active .chapter__t, .chapter:hover .chapter__t { opacity: 1; }
.chapter__p { grid-column: 1 / -1; height: 2px; background: rgb(242 242 240 / .22); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.chapter__p i { display: block; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }

/* ---------- ticker (stop display) ---------- */
.ticker { background: #000; overflow: hidden; padding-block: clamp(14px, 1.8vw, 24px); border-block: 1px solid var(--ink-3); }
.ticker__track { display: flex; width: max-content; gap: clamp(22px, 2.6vw, 40px); align-items: center; animation: marquee 40s linear infinite; color: var(--signal); text-shadow: 0 0 .3em rgb(255 212 0 / .4); }
.ticker__track span { font-size: clamp(1.5rem, 3.2vw, 3rem); line-height: 1; white-space: nowrap; }
.ticker__track em { font-style: normal; opacity: .65; }
.t-line { background: var(--signal); color: #000; padding: 0 .22em; margin-right: .25em; text-shadow: none; font-weight: 900; }
.ticker__track .t-sep { font-size: .7em; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 01 problem ---------- */
.problem { padding-block: clamp(72px, 8vw, 120px) clamp(96px, 14vw, 220px); }
.problem .label { grid-column: 1 / 4; }
.race { grid-column: 1 / -1; grid-row: 2; display: grid; margin-bottom: clamp(72px, 10vw, 160px); border-top: 1px solid var(--ink-3); }
.race__row { display: grid; grid-template-columns: minmax(110px, 2fr) minmax(0, 6fr) minmax(0, 3fr); align-items: baseline; gap: 16px; padding-block: .14em; border-bottom: 1px solid var(--ink-3); font-size: clamp(2.4rem, 8vw, 8.4rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1.02; color: var(--mute); }
.race__who { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; align-self: center; }
.race__s { text-align: right; }
.race__row--us { color: var(--paper); }
.race__row--us .race__s { color: var(--go); }
.race__row:first-child .race__n, .race__row:first-child .race__s { text-decoration: line-through; text-decoration-thickness: .045em; text-decoration-color: var(--alarm); }
.manifesto {
  grid-column: 1 / 11; grid-row: 3;
  margin: 0;
  font-size: clamp(2rem, 5vw, 5.4rem);
  line-height: 1.04; letter-spacing: -0.048em; font-weight: 500;
  text-wrap: pretty;
}
.manifesto .w { transition: opacity .2s; }
html.js .manifesto .w { opacity: .14; }
html.js .manifesto .w.is-lit { opacity: 1; }
.punch { grid-column: 1 / -1; grid-row: 4; margin-top: clamp(64px, 9vw, 140px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--ink-3); padding-top: 28px; }
.punch__lead { margin: 0; font-size: clamp(1.8rem, 3.4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1; font-weight: 500; max-width: 11ch; }
.punch__num { display: flex; align-items: baseline; gap: .12em; color: var(--paper); line-height: .8; }
.punch__num .num { font-size: clamp(9rem, 30vw, 30rem); }
.punch__unit { font-size: clamp(1.4rem, 3vw, 3rem); color: var(--paper); text-shadow: none; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- full-bleed photo ---------- */
.photo { position: relative; height: clamp(560px, 108svh, 1200px); overflow: hidden; display: flex; align-items: flex-end; }
.photo picture, .cta picture, .stops picture { position: absolute; inset: 0; }
.photo img, .cta img, .stops img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; max-width: none; object-fit: cover; will-change: transform; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(16 17 20 / .92) 0%, rgb(16 17 20 / .3) 45%, rgb(16 17 20 / 0) 70%), linear-gradient(to bottom, var(--ink) 0%, rgb(16 17 20 / 0) 14%); }
.photo__copy { position: relative; z-index: 2; padding-block: 0 clamp(48px, 7vw, 110px); }
.photo__copy .h-xl { max-width: 14ch; }

/* ---------- 03 bridge ---------- */
.bridge { padding-block: clamp(120px, 16vw, 260px) clamp(40px, 6vw, 96px); }
.bridge__intro { align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.bridge__intro .label { grid-column: 1 / -1; }
.bridge__intro .h-lg { grid-column: 1 / 7; }
.bridge__intro .body-lg { grid-column: 7 / 12; margin: 0; }

.stage { display: none; }
.bridge.has-stage .stage-wrap { height: 360vh; }
.bridge.has-stage .stage { display: block; position: sticky; top: 0; height: 100vh; overflow: hidden; }
.bridge.has-stage .bridge__track { display: none; }
.stage__words { position: absolute; inset: 0; pointer-events: none; }
.stage__words span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 23vw; font-weight: 800; letter-spacing: -0.07em; line-height: 1;
  /* the app's monogram: a faint gradient that fades in from the left */
  background: linear-gradient(90deg, transparent 0%, rgb(242 242 240 / .1) 70%); -webkit-background-clip: text; background-clip: text;
  color: transparent; padding: 0 .1em 0 .05em; opacity: 0;
}
.stage__words span:first-child { opacity: 1; }
.stage__copy { position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); bottom: 14vh; width: min(30vw, 420px); }
.stage__step { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; }
.stage__step:first-child { opacity: 1; }
.stage__step .mono { display: block; color: var(--signal); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.stage__step p { margin: 0; font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; }
.stage__obj { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); width: min(720px, 52vw); }
.sboard { background: #000; border: 1px solid var(--ink-3); border-radius: 26px; padding: 28px 30px; box-shadow: 0 60px 160px -40px rgb(255 212 0 / .2); }
.sboard__head { display: flex; justify-content: space-between; color: var(--signal); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid var(--ink-3); }
.sboard__rows { list-style: none; margin: 0; padding: 0; }
.sboard__rows li { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 10px; border-bottom: 1px solid var(--ink-2); font-size: clamp(1.1rem, 1.6vw, 1.6rem); font-weight: 500; letter-spacing: -0.02em; overflow: hidden; border-radius: 12px; }
.sboard__rows em { font-style: normal; color: var(--mute); font-size: .8em; }
.sboard__rows em i { font-style: normal; color: var(--alarm); }
.ssay { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 22px; opacity: 0; text-align: center; }
.ssay__line { margin: 0; font-size: clamp(1.3rem, 2vw, 2rem); letter-spacing: -0.03em; font-weight: 500; color: var(--paper); }
.stage__ticks { position: absolute; left: 50%; bottom: 6vh; transform: translateX(-50%); display: flex; gap: 8px; }
.stage__ticks i { width: 40px; height: 2px; background: var(--ink-3); transition: background .3s; }
.stage__ticks i.is-on { background: var(--signal); }

.bridge__track { display: grid; gap: 20px; }
.panel { display: grid; gap: 14px; padding: clamp(22px, 3vw, 40px); background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 24px; overflow: hidden; }
.panel p { margin: 0; color: var(--mute); }
.panel__n { font-size: 13px; color: var(--signal); letter-spacing: .08em; text-transform: uppercase; }
.panel__vis { position: relative; border-radius: 16px; background: var(--ink); border: 1px solid var(--ink-3); overflow: hidden; min-height: 280px; margin-top: 10px; }
.feed { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); }
.feed__scroll { position: absolute; left: 0; right: 0; top: 0; padding: 16px 18px; font-family: var(--f-mono); font-size: 12px; line-height: 1.9; color: var(--mute); animation: feed 22s linear infinite; white-space: nowrap; }
.feed__scroll .hl { color: var(--go); }
@keyframes feed { to { transform: translateY(-50%); } }
.strip { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px; }
.strip__row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; background: var(--ink-2); font-size: 15px; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), background .6s, color .6s; }
.panel.is-on .strip__row.is-out { opacity: .12; transform: translateX(-12px); }
.panel.is-on .strip__row.is-keep { background: var(--go-soft); box-shadow: inset 0 0 0 1.5px var(--go); transform: scale(1.03); }
.say { display: grid; place-items: center; align-content: center; gap: 22px; padding: 24px; }
.ring { position: relative; width: min(220px, 60vw); aspect-ratio: 1; max-width: 100%; }
.ring--lg { width: min(340px, 30vw); }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring__bg { stroke: var(--ink-3); }
.ring__fg { stroke: var(--go); stroke-linecap: round; }
.ring__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; }
.ring__label .num { font-size: clamp(2.8rem, 5vw, 5rem); color: var(--paper); line-height: 1; }
.ring__label small { color: var(--mute); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-family: var(--f-mono); }
.assistants { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.assistants li { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border: 1px solid var(--ink-3); border-radius: 999px; color: var(--paper); }

/* line badge, as in the app */
.badge {
  display: inline-grid; place-items: center; min-width: 2.3em; padding: 3px 7px;
  background: var(--line-bg, var(--tram-red)); color: var(--line-fg, #fff); border-radius: 7px;
  font-family: var(--f-display); font-weight: 750; font-style: normal; font-size: .85em; line-height: 1.25;
  font-variant-numeric: tabular-nums; letter-spacing: 0;
  transition: background-color .3s, color .3s;
}

/* Line colours, set per badge with data-line (JS keeps it in step when a line changes).
   Lines without an entry keep the app's default tram red.
   Berlin trams: VBB network colours (vbb-line-colors). */
[data-line="M1"]  { --line-bg: #63b9e9; }
[data-line="M10"] { --line-bg: #007b3d; }
[data-line="M13"] { --line-bg: #00a092; }
/* Leipzig trams (LVB): */

/* ---------- films ---------- */
.film { position: relative; padding-block: clamp(24px, 4vw, 64px); }
.film__frame { position: relative; width: 100%; height: min(100svh, 64vw); min-height: 480px; overflow: hidden; background: var(--ink-2); }
.film__frame video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.film__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(16 17 20 / .85), rgb(16 17 20 / 0) 55%); pointer-events: none; }
.film__caption { position: absolute; left: 0; right: 0; bottom: clamp(64px, 9vw, 150px); z-index: 2; margin-inline: auto; }
.film__caption .h-xl { max-width: 12ch; }
.film__caption .body-lg { color: rgb(242 242 240 / .82); }

/* ---------- 05 direction ---------- */
.direction { padding-block: clamp(120px, 16vw, 260px); }
.direction .grid12 { align-items: center; row-gap: 56px; }
.direction__text { grid-column: 1 / 6; }
.board { grid-column: 7 / 13; background: #000; border: 1px solid var(--ink-3); border-radius: 24px; padding: clamp(18px, 2.4vw, 32px); box-shadow: 0 60px 160px -50px rgb(255 212 0 / .22); }
.board__head { display: flex; justify-content: space-between; color: var(--signal); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid var(--ink-3); margin-bottom: 6px; }
.board__rows { list-style: none; margin: 0; padding: 0; }
.board__rows li {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em;
  max-height: 84px; padding-block: 13px; overflow: hidden;
  border-bottom: 1px solid var(--ink-2);
  transition: max-height .7s var(--ease), padding .7s var(--ease), opacity .5s;
}
.board__rows li span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board__rows small { color: var(--mute); font-weight: 400; font-size: .68em; letter-spacing: 0; }
.board__min { font-weight: 750; color: var(--paper); font-size: 1.25em; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.board__min::after { content: " min"; font-weight: 600; font-size: .55em; color: var(--mute); letter-spacing: 0; }
.board[data-view="mine"] .is-mine .board__min { color: var(--go); }
.board[data-view="mine"] .is-other { opacity: .15; }
.board[data-view="mine"] .is-other span:nth-child(2) { text-decoration: line-through; }
.board__note { margin: 14px 0 0; font-size: 11px; color: var(--mute); letter-spacing: .12em; text-transform: uppercase; }
/* the app's favourite chips */
.toggle { display: inline-flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.toggle__btn { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink-3); font-size: 15px; font-weight: 500; color: var(--mute); transition: background .3s, color .3s, border-color .3s; }
.toggle__btn:hover { border-color: var(--mute); }
.toggle__btn.is-on { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* ---------- 06 two stops over photo ---------- */
.stops { position: relative; overflow: hidden; padding-block: clamp(120px, 14vw, 220px); min-height: 100svh; display: flex; align-items: center; }
.stops::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgb(16 17 20 / .9) 0%, rgb(16 17 20 / .55) 45%, rgb(16 17 20 / .25) 100%), linear-gradient(to bottom, var(--ink) 0%, rgb(16 17 20 / 0) 18%, rgb(16 17 20 / 0) 82%, var(--ink) 100%); }
.stops__inner { position: relative; z-index: 2; align-items: center; row-gap: 56px; }
.stops__text { grid-column: 1 / 7; }
.stops__text .body-lg { color: rgb(242 242 240 / .8); }
.device { grid-column: 8 / 12; display: grid; justify-items: center; gap: 18px; }
.device__note { margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgb(242 242 240 / .7); }
.phone {
  width: min(360px, 100%);
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(145deg, #2a2a2e, #0f0f11 60%);
  box-shadow: 0 0 0 1px #34343a, 0 60px 140px -30px rgb(0 0 0 / .9), 0 30px 60px -20px rgb(0 0 0 / .8);
}
.app {
  border-radius: 39px; overflow: hidden; background: var(--app-bg); color: var(--app-text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 13px;
  padding: 18px 14px 16px; display: grid; gap: 10px;
}
.app__bar { display: flex; align-items: center; gap: 10px; padding: 4px 2px 2px; }
.app__bar b { display: block; font-size: 15px; }
.app__bar small { color: var(--app-text-2); font-size: 11px; }
.app__logo { width: 26px; height: 26px; border-radius: 7px; background: var(--app-text); position: relative; }
.app__logo::after { content: ""; position: absolute; inset: 9px 6px; background: var(--app-bg); border-radius: 2px; }
.app__chips { display: flex; gap: 6px; overflow: hidden; }
.app__chips span { flex: none; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--app-line); font-size: 12px; white-space: nowrap; }
.app__chips .on { background: var(--app-text); color: var(--app-bg); border-color: var(--app-text); font-weight: 600; }
.app__route { padding: 10px 12px; border: 1px solid var(--app-line); border-radius: 12px; font-weight: 600; font-size: 12px; }
.app__hero { position: relative; background: var(--app-surface); border: 1px solid var(--app-line); border-radius: 16px; overflow: hidden; padding: 14px 14px 0; }
.app__hero > small { color: var(--app-text-2); font-size: 10px; letter-spacing: .1em; font-weight: 600; }
.app__stop { display: block; font-size: 19px; margin-top: 2px; position: relative; z-index: 1; }
.app__line { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--app-text-2); position: relative; z-index: 1; }
.app__line .badge { font-size: 13px; }
.app__count { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; position: relative; z-index: 1; }
.app__count span { font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.app__count i { font-style: normal; font-size: 18px; font-weight: 600; }
.app__count em { font-style: normal; color: var(--app-text-2); font-size: 12px; margin-left: 4px; font-variant-numeric: tabular-nums; }
.app__ghost { position: absolute; right: 8px; top: 6px; font-size: 78px; font-weight: 800; color: var(--app-text); opacity: .06; letter-spacing: -0.04em; line-height: 1; }
.app__leave { display: flex; justify-content: space-between; align-items: center; margin: 14px -14px 0; padding: 12px 14px; background: var(--app-go-soft); color: var(--app-go); font-size: 14px; }
.app__leave small { font-size: 11px; }
.app__stops { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app__stopcard { display: grid; gap: 4px; padding: 10px; border: 1px solid var(--app-line); border-radius: 12px; background: var(--app-surface); transition: border-color .5s, box-shadow .5s; }
.app__stopcard small { color: var(--app-text-2); font-size: 10px; display: flex; justify-content: space-between; gap: 4px; }
.app__stopcard small u { text-decoration: none; color: var(--app-go); font-weight: 600; opacity: 0; transition: opacity .4s; }
.app__stopcard b { font-size: 13px; }
.app__stopcard span { display: flex; align-items: center; gap: 6px; }
.app__stopcard em { font-style: normal; font-weight: 700; font-size: 15px; }
.app__stopcard .badge { font-size: 11px; padding: 2px 6px; }
.app__stopcard.is-best { border-color: var(--app-go); box-shadow: inset 0 0 0 1px var(--app-go); }
.app__stopcard.is-best small u { opacity: 1; }

/* ---------- 07 walk (yellow) ---------- */
.walk { background: var(--signal); color: var(--signal-ink); padding-block: clamp(120px, 14vw, 220px); }
html.flood .walk { background: transparent; }
.walk__inner { align-items: center; row-gap: 56px; }
.walk__text { grid-column: 1 / 6; }
.walk .body-lg { color: rgb(16 17 20 / .72); }
.walk__ctl { grid-column: 7 / 13; }
.walk__label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.walk__num { display: flex; align-items: baseline; gap: .2em; line-height: .8; margin: 14px 0 18px; }
.walk__num .num { font-size: clamp(7rem, 17vw, 15rem); }
.walk__num small { font-size: clamp(1.2rem, 2vw, 1.8rem); text-transform: uppercase; letter-spacing: .1em; }
.walk input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
.walk input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: var(--signal-ink); border-radius: 2px; }
.walk input[type="range"]::-moz-range-track { height: 4px; background: var(--signal-ink); border-radius: 2px; }
.walk input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -15px; border-radius: 50%; background: var(--signal-ink); border: 6px solid var(--signal); box-shadow: 0 0 0 2px var(--signal-ink); transition: transform .2s; }
.walk input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--signal-ink); border: 6px solid var(--signal); box-shadow: 0 0 0 2px var(--signal-ink); }
.walk input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.walk input[type="range"]:focus-visible { outline-color: var(--signal-ink); }
.walk__scale { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }

/* the walk line: home on the left, trams as ticks on a minute scale */
.wline { position: relative; height: 104px; margin-top: 30px; --w: 4; --max: 18; }
.wline__track { position: absolute; left: 0; right: 0; top: 66px; height: 2px; background: rgb(16 17 20 / .25); }
.wline__track::before { content: ""; position: absolute; left: 0; top: -1px; height: 4px; width: calc(var(--w) / var(--max) * 100%); background: var(--signal-ink); transition: width .35s var(--ease-out); }
.wline__home { position: absolute; left: 0; top: 80px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.wline__walker { position: absolute; top: 58px; left: calc(var(--w) / var(--max) * 100%); width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--signal-ink); box-shadow: 0 0 0 4px var(--signal), 0 0 0 6px var(--signal-ink); transition: left .35s var(--ease-out); }
.wline__ticks { position: absolute; inset: 0; }
.tick { position: absolute; top: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: 4px; transition: opacity .35s; }
.tick .badge { font-size: 12px; }
.tick .mono { font-size: 10px; }
.tick::after { content: ""; width: 2px; height: 16px; background: var(--signal-ink); }
.tick.is-tight { opacity: .45; }
.tick.is-pick .badge { background: var(--signal-ink); color: var(--signal); }
/* the app's leave bar */
.walk__leave { display: flex; align-items: center; gap: 12px; margin: 26px 0 10px; padding: 16px 20px; border-radius: 16px; background: var(--ink); color: var(--go); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1; }
.walk__leave::before { content: "\1F6B6"; font-size: .9em; }
.walk__leave.is-now { background: var(--alarm); color: #fff; }
.walk__leave.is-now::before { content: "\1F3C3"; }
.walk__list { list-style: none; margin: 0; padding: 0; display: grid; }
.walk__list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid rgb(16 17 20 / .18); font-size: 15px; font-weight: 500; }
.walk__list .mono { font-size: 13px; opacity: .7; }
.walk__list .tag { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.walk__list li.is-tight { color: rgb(16 17 20 / .62); }
.walk__list li.is-tight > span:nth-child(2) { text-decoration: line-through; }

/* ---------- 08 delays ---------- */
.late { padding-block: clamp(140px, 22vw, 340px) clamp(96px, 12vw, 200px); background: var(--ink); position: relative; }
.late__title { max-width: 14ch; }
.eq { margin-top: clamp(48px, 7vw, 110px); display: grid; gap: clamp(20px, 3vw, 40px); }
.eq__old { position: relative; display: flex; flex-wrap: wrap; gap: .45em; font-size: clamp(1.4rem, 6.4vw, 6.4rem); color: var(--mute); letter-spacing: -0.04em; width: fit-content; max-width: 100%; }
.eq__old span { display: inline-block; }
.eq__delay { color: var(--alarm); }
.eq__old::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: .05em; background: var(--alarm); transform: scaleX(var(--strike, 1)); transform-origin: left; }
.eq__new { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }
.eq__new .mono { color: var(--mute); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; }
.eq__new b { display: inline-flex; align-items: center; gap: .3em; white-space: nowrap; font-size: clamp(1.8rem, 6.4vw, 7rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--go); background: var(--go-soft); padding: .22em .45em .26em; border-radius: .3em; }
.eq__new b::before { content: "\1F6B6"; font-size: .7em; }
.late__foot { margin-top: clamp(48px, 6vw, 90px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; border-top: 1px solid var(--ink-3); padding-top: 32px; }
.late__foot .body-lg { margin: 0; }
.punctual { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
/* the app's punctuality chips, colours included */
.punctual li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 8px; }
.punctual .p-early { background: var(--early-soft); color: var(--early); }
.punctual .p-ok { background: var(--go-soft); color: var(--go); }
.punctual .p-late { background: var(--alarm-soft); color: var(--alarm); }
.punctual .p-late2, .punctual .p-late3 { background: color-mix(in srgb, var(--alarm) 28%, var(--alarm-soft)); color: var(--alarm); }

/* ---------- 09 privacy ---------- */
.nos { padding-block: clamp(96px, 10vw, 160px) clamp(120px, 16vw, 260px); }
.nos__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-3); }
.nos__list li {
  font-size: clamp(3.4rem, 13vw, 14rem); line-height: .92; letter-spacing: -0.07em; font-weight: 700;
  border-bottom: 1px solid var(--ink-3); padding-block: .04em .1em;
  overflow: hidden;
}
.nos__no { color: var(--signal); }
.nos__body { margin-top: 36px; }

/* ---------- 10 watch ---------- */
.watch { padding-block: clamp(96px, 12vw, 200px); background: radial-gradient(ellipse at 72% 50%, #1b1806 0%, var(--ink) 58%); overflow: hidden; }
.watch__inner { align-items: center; row-gap: 56px; }
.watch__text { grid-column: 1 / 6; }
.watch__stage { grid-column: 6 / 13; position: relative; display: grid; place-items: center; min-height: 560px; }
.roadmap { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--ink-3); }
.roadmap li { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--ink-3); font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
.roadmap li b { font-weight: 500; letter-spacing: -0.02em; }
.roadmap li .mono { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.roadmap li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.roadmap .is-done::after { background: var(--go); }
.roadmap .is-soon::after { border: 2px solid var(--signal); }
.roadmap .is-soon .mono { color: var(--signal); }
.watch__glow { position: absolute; width: 80%; aspect-ratio: 1; max-width: 100%; border-radius: 50%; background: radial-gradient(circle, rgb(255 212 0 / .26), rgb(255 212 0 / 0) 65%); filter: blur(20px); }
.watch__body {
  position: relative; width: min(500px, 40vw); aspect-ratio: 1; max-width: 100%;
  border-radius: 50%; padding: 18px;
  background: conic-gradient(from 210deg, #3a3a40, #1a1a1d 25%, #45454c 50%, #141416 75%, #3a3a40);
  box-shadow: 0 60px 120px -30px rgb(0 0 0 / .9), inset 0 0 0 1px #4a4a50;
  will-change: transform;
}
.watch__face {
  position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: #000; color: #fff; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  display: grid; place-content: center; justify-items: center; gap: 1.6cqw; text-align: center;
  container-type: inline-size;
}
.watch__ghost { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44cqw; font-weight: 800; color: var(--line-bg, var(--tram-red)); opacity: .2; letter-spacing: -0.05em; line-height: 1; transform: translateY(-8%); }
.watch__face > *:not(.watch__ghost) { position: relative; }
.watch__dir { font-size: 4.8cqw; font-weight: 600; }
.watch__stop { font-size: 6.2cqw; }
.watch__line { display: flex; align-items: center; gap: 6px; font-size: 4.8cqw; color: #c9c9cc; }
.watch__line .badge { font-size: 4.6cqw; }
.watch__time { font-size: 18cqw; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.watch__leave { margin-top: 1cqw; padding: 2.4cqw 4.8cqw; border-radius: 999px; background: var(--app-go-soft); color: var(--app-go); font-size: 4.8cqw; font-weight: 600; }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: max(680px, 100svh); overflow: hidden; display: flex; align-items: center; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--ink) 0%, rgb(16 17 20 / .25) 25%, rgb(16 17 20 / .35) 60%, rgb(16 17 20 / .92) 100%); }
.cta__inner { position: relative; z-index: 2; padding-block: 120px; }
.cta__title { margin: 0; font-size: clamp(3.4rem, 11.4vw, 13rem); line-height: .86; letter-spacing: -0.068em; font-weight: 700; max-width: 10ch; text-wrap: balance; }
.cta__title .serif { letter-spacing: -0.06em; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; }
.btn { display: inline-flex; align-items: center; gap: 16px; padding: 24px 36px; border-radius: 999px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; transition: background .3s, color .3s, transform .4s var(--ease-out); will-change: transform; }
.btn--primary { background: var(--signal); color: var(--signal-ink); }
.btn--primary:hover { background: var(--paper); }
.btn--ghost { border: 1px solid rgb(242 242 240 / .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgb(16 17 20 / .3); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* ---------- footer ---------- */
.foot { padding-top: 40px; overflow: hidden; border-top: 1px solid var(--ink-3); }
.foot__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--mute); font-size: 14px; }
.foot__row p { margin: 0; max-width: 46em; }
.foot__row a:hover { color: var(--signal); }
.foot__word { margin: 40px 0 0; font-size: 21.5vw; font-weight: 700; letter-spacing: -0.075em; line-height: .74; white-space: nowrap; color: var(--signal); text-align: center; transform: translateY(.14em); padding-bottom: env(safe-area-inset-bottom, 0px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__live { display: none; }
}
@media (max-width: 900px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .grid12 > * { grid-column: 1 / -1 !important; }
  .hero__bottom { grid-template-columns: 1fr; gap: 18px; }
  .race, .manifesto, .punch { grid-row: auto; }
  .race__row { grid-template-columns: minmax(0, 1fr) auto; }
  .race__who { grid-column: 1 / -1; padding-top: 10px; }
  .bridge__intro .body-lg { margin-top: 20px; }
  .watch__stage { min-height: 0; padding-block: 20px; }
  .watch__body { width: min(420px, 84vw); }
  .film__frame { height: auto; aspect-ratio: 4 / 5; min-height: 0; }
  .film__caption { bottom: clamp(48px, 10vw, 90px); }
  .stops::after { background: linear-gradient(to bottom, var(--ink) 0%, rgb(16 17 20 / .6) 20%, rgb(16 17 20 / .7) 80%, var(--ink) 100%); }
  .device { justify-self: center; }
}
@media (max-width: 560px) {
  .hero { min-height: 680px; }
  .hero__inner { padding-top: calc(env(safe-area-inset-top, 0px) + 80px); row-gap: 14px; }
  .chapter__t { font-size: 13px; }
  .hero__lede { font-size: 15px; }
  .nav { padding-block: 14px; }
  .nav__links .nav__cta { padding: 9px 14px; }
  .board__rows li { grid-template-columns: 50px minmax(0, 1fr) auto; }
  .btn { padding: 19px 26px; font-size: 17px; }
  .sboard__rows li { grid-template-columns: 54px minmax(0, 1fr) auto; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .loader, .grain { display: none; }
  .ticker__track { animation: none; }
  html.js .manifesto .w { opacity: 1; }
}
