/* Televelo: suspension telemetry for downhill.
   Brand: the "Summit drop" canvas (Asphalt, Chalk, one Signal orange; Archivo Expanded, Geist, Geist Mono).
   House rules from the michaellietz design system: self-hosted fonts, no inline styles (strict CSP),
   motion only under html.fx, a pause switch, reduced motion respected. See DESIGN.md. */

@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --asphalt: #111418;   /* dark ground */
  --night: #0B0D10;     /* deepest fills */
  --panel: #15191E;     /* run cards */
  --graphite: #1B2027;  /* surfaces on dark */
  --line: #232930;      /* hairlines on dark */
  --line-2: #2E353D;    /* card borders on dark */
  --slate: #4E555D;     /* secondary text on light (6.6:1) */
  --steel: #7A828B;     /* outlines, large muted type on dark */
  --mute: #9AA1A9;      /* labels on dark (7.3:1) */
  --mist: #B9BEC4;      /* "tele", secondary text on dark */
  --fog: #D6D8DB;       /* chips on dark */
  --stone: #E4E2DA;     /* surfaces on light */
  --rule: #CFCCC1;      /* hairlines on light */
  --chalk: #F1F0EB;     /* light ground, text on dark (16:1) */
  --signal: #FF5A1F;    /* the data point, CTAs; never text on Chalk */
  --signal-deep: #B93A0A; /* orange text on Chalk (5.0:1) */
  --blue: #2F95F2;      /* shock channel */

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--asphalt); color: var(--chalk); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--asphalt); }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--signal); color: var(--asphalt); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Type roles ---------- */
.label { font-family: var(--mono); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); font-weight: 450; }
.mega { font-family: var(--display); font-weight: 860; font-stretch: 125%; letter-spacing: -.035em; line-height: .88; text-transform: uppercase; text-wrap: balance; }
.lead { max-width: 560px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--mist); }
.hl { color: var(--signal); }
.arrow { display: inline-block; transition: transform .25s var(--ease-out); }

/* ---------- Wordmark and mark ---------- */
.wordmark { font-family: var(--display); font-stretch: 115%; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.wordmark .t { font-weight: 350; color: var(--mist); }
.wordmark .v { font-weight: 820; }
.mark-line { fill: none; stroke: var(--chalk); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.mark-dot { fill: var(--signal); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .12s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn:active { transform: scale(.97); }
.btn-signal { background: var(--signal); color: var(--asphalt); }
.btn-signal:hover { background: #FF7240; color: var(--asphalt); }
.btn-ghost { border: 1px solid var(--steel); color: var(--chalk); font-weight: 600; }
.btn-ghost:hover { border-color: var(--chalk); }
.btn-dark { background: var(--asphalt); color: var(--chalk); }
.btn-dark:hover { background: #000; color: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 20; background: rgba(17, 20, 24, .92); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(10px)) { .masthead { background: rgba(17, 20, 24, .78); backdrop-filter: blur(12px) saturate(1.2); } }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 40px; height: 32px; }
.brand .wordmark { font-size: 24px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); font-size: 15px; font-weight: 500; }
.nav-links { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.nav-links a { text-decoration: none; color: var(--fog); padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s ease, color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--chalk); border-bottom-color: var(--signal); }
.tools { display: flex; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--fog); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.pill:hover { border-color: var(--steel); color: var(--chalk); }
.pill .glyph { font-size: 11px; letter-spacing: 0; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 960px) { .nav-links { display: none; } }
@media (max-width: 520px) {
  .masthead .wrap { min-height: 64px; gap: 8px; }
  .brand .wordmark { font-size: 20px; }
  .brand svg { width: 34px; height: 27px; }
  .motion-word { display: none; }
  .pill { padding: 0 12px; }
  .masthead .btn-sm { padding: 0 14px; }
  .nav .cta-long { display: none; }
}
@media (min-width: 521px) { .nav .cta-short { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 88px); display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.hero-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.chip-status { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px 10px 14px; }
.chip-status .label { font-size: 12px; letter-spacing: .16em; }
.chip-status strong { font-size: 14px; font-weight: 600; }
.led { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); flex: none; }
.hero h1 { font-size: clamp(56px, 11.5vw, 184px); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 32px; align-items: end; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 14px; color: var(--fog); text-transform: uppercase; }
.hero-trace { width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.hero-trace .axis { stroke: var(--line); stroke-dasharray: 4 8; }
.hero-trace .run { fill: none; stroke: var(--chalk); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.hero-trace .dot { fill: var(--signal); }
.hero-trace .halo { fill: var(--signal); opacity: .22; }
.hero-trace text { font-family: var(--mono); font-size: 15px; letter-spacing: 3px; fill: var(--mute); }
@media (max-width: 600px) { .hero-trace text { display: none; } }

/* ---------- Ticker ---------- */
.ticker { margin-top: clamp(48px, 6vw, 88px); background: var(--signal); color: var(--asphalt); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; }
.ticker-track span { display: flex; align-items: center; gap: .5em; padding-right: .5em; font-family: var(--display); font-size: clamp(28px, 4vw, 56px); line-height: 1; font-weight: 840; font-stretch: 125%; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.ticker-track i { display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--asphalt); }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(80px, 11vw, 176px); }
.statement p { max-width: 1180px; font-family: var(--display); font-size: clamp(30px, 4.8vw, 76px); line-height: 1.04; font-weight: 760; font-stretch: 112%; letter-spacing: -.025em; text-wrap: balance; }
.statement .dim { color: var(--steel); }

/* ---------- Ride / Tune ---------- */
.paths { padding-bottom: clamp(80px, 9vw, 140px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 16px; }
.card { border: 1px solid var(--line-2); transition: border-color .25s ease, transform .25s var(--ease-out); }
.path { text-decoration: none; background: var(--graphite); border-radius: 24px; padding: clamp(24px, 3vw, 40px); min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.path .head { display: flex; flex-direction: column; gap: 16px; }
.path .mega { font-size: clamp(40px, 5vw, 76px); line-height: .92; }
.path .body { max-width: 440px; font-size: 18px; color: var(--mist); }
.path .more { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.trace { width: 100%; height: auto; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.trace path { vector-effect: non-scaling-stroke; }
.trace .a { stroke: var(--chalk); stroke-width: 2.5; }
.trace .ghost { stroke: var(--slate); stroke-width: 2.5; }
.trace .b { stroke: var(--signal); stroke-width: 3; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: var(--signal); transform: translateY(-4px); }
  .card:hover .arrow { transform: translateX(6px); }
}

/* ---------- Run log ---------- */
.runs { padding-bottom: clamp(80px, 9vw, 140px); display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; border-bottom: 1px solid var(--line-2); padding-bottom: 24px; }
.section-head h2 { font-size: clamp(44px, 7vw, 112px); line-height: .9; }
.section-head p { max-width: 380px; color: var(--mist); }
.compare { background: var(--graphite); border-radius: 24px; padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.compare-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.compare-title { font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; font-stretch: 118%; letter-spacing: -.02em; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fog); }
.legend li { display: flex; align-items: center; gap: 8px; }
.swatch { width: 18px; height: 3px; border-radius: 2px; background: var(--chalk); }
.swatch.b { background: var(--signal); }
.compare-plot { display: flex; flex-direction: column; gap: 8px; }
.compare-plot svg { width: 100%; height: clamp(150px, 22vw, 300px); overflow: visible; }
.compare-axis { display: flex; justify-content: space-between; }
.no-js .js-only { display: none; }
.compare .grid line { stroke: var(--line-2); stroke-dasharray: 2 6; }
.compare .a, .compare .b { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.compare .a { stroke: var(--chalk); stroke-width: 2; }
.compare .b { stroke: var(--signal); stroke-width: 2.5; }
.compare .axis-label { font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px; fill: var(--mute); }
.note { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--mute); }
.run-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.run { width: 100%; background: var(--panel); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 18px; color: var(--chalk); font: inherit; text-align: left; cursor: pointer; }
.run-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--mute); text-transform: uppercase; }
.run-meta .run-name { font-family: var(--sans); font-size: 20px; font-weight: 700; letter-spacing: -.01em; text-transform: none; color: var(--chalk); }
.run-meta:last-child { align-items: center; }
.run .trace .a { stroke-width: 1.75; transition: stroke .2s ease; }
.run-pick { flex: none; display: inline-flex; align-items: center; gap: 8px; }
.run-pick i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--steel); transition: background-color .2s ease, border-color .2s ease; }
.run[data-slot="a"] { border-color: var(--chalk); }
.run[data-slot="a"] .run-pick i { background: var(--chalk); border-color: var(--chalk); }
.run[data-slot="b"] { border-color: var(--signal); }
.run[data-slot="b"] .run-pick i { background: var(--signal); border-color: var(--signal); }
.run[data-slot="b"] .trace .a { stroke: var(--signal); }
.no-js .run { cursor: default; }
.no-js .run-pick { display: none; }

/* ---------- The pod (light chapter) ---------- */
.pod { background: var(--chalk); color: var(--asphalt); }
.pod a:hover { color: #000; }
.pod .wrap { padding-block: clamp(72px, 9vw, 140px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pod-figure { margin: 0; background: var(--stone); border-radius: 28px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pod-figure svg { width: 86%; height: auto; }
.pod-text { font-family: var(--display); font-size: 30px; font-weight: 800; font-stretch: 115%; letter-spacing: -.5px; fill: #59616B; }
.pod-copy { display: flex; flex-direction: column; gap: 28px; }
.pod .label { color: var(--slate); }
.pod h2 { font-size: clamp(44px, 6vw, 96px); line-height: .9; }
.pod p { max-width: 520px; font-size: 18px; color: var(--slate); }
.specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.specs div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); }
.specs div:nth-child(even) { padding: 16px 0 16px 16px; }
.specs dt { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--slate); text-transform: uppercase; }
.specs dd { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
@media (max-width: 420px) { .specs { grid-template-columns: 1fr; } .specs div:nth-child(even) { padding: 16px 0; } }

/* ---------- Test riders ---------- */
.riders { padding-block: clamp(72px, 9vw, 140px); }
.riders-card { border: 1px solid var(--line-2); background: var(--graphite); border-radius: 28px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px; align-items: center; }
.riders-card .head { display: flex; flex-direction: column; gap: 18px; }
.riders-card .mega { font-size: clamp(44px, 6.6vw, 112px); }
.riders-card p { max-width: 520px; color: var(--mist); font-size: 18px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--line-2); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 17px; color: var(--fog); }
.steps li::before { content: "0" counter(step); font-family: var(--mono); font-size: 14px; color: var(--signal); padding-top: 2px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer .wrap { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 32px; display: flex; flex-direction: column; gap: clamp(48px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 40px; }
.notify { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.notify h2 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; font-weight: 800; font-stretch: 118%; letter-spacing: -.02em; }
.notify p { color: var(--mist); max-width: 420px; }
.footer nav { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer nav a { text-decoration: none; color: var(--fog); }
.footer nav a:hover { color: var(--chalk); text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 4px; }
.footer nav .label { font-size: 12px; letter-spacing: .2em; margin-bottom: 4px; }
.big-mark { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.big-mark svg { width: clamp(64px, 13vw, 200px); height: auto; flex-shrink: 0; overflow: visible; }
.big-mark .mark-line { stroke-width: 8; }
.big-mark .wordmark { font-size: clamp(52px, 13vw, 216px); line-height: .85; letter-spacing: -.04em; }
.big-mark .wordmark .v { font-weight: 840; }
.fineprint { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--mute); text-transform: uppercase; }
.fineprint a { color: var(--mute); text-decoration: none; }
.fineprint a:hover { color: var(--chalk); }
.fineprint .links { display: flex; flex-wrap: wrap; gap: 20px; }
.byml { display: inline-flex; align-items: center; gap: 8px; }
.byml svg { width: 34px; height: auto; }
.byml .wm-ink { fill: var(--mute); transition: fill .2s ease; }
.byml .wm-cut { fill: var(--asphalt); }
.byml .wm-bar { fill: #D92E20; } /* Michael's own red: the ML/ sign-off keeps it in every project */
.byml:hover .wm-ink { fill: var(--chalk); }

/* ---------- Prose pages (imprint, privacy, 404) ---------- */
.prose-page { padding-block: clamp(48px, 7vw, 112px); }
.prose-page header { display: flex; flex-direction: column; gap: 18px; padding-bottom: 32px; border-bottom: 1px solid var(--line-2); margin-bottom: 40px; }
.prose-page h1 { font-size: clamp(48px, 8vw, 128px); }
.prose-page header p { color: var(--mist); max-width: 640px; font-size: 19px; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 40px; }
.prose section { display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; font-stretch: 118%; letter-spacing: -.02em; line-height: 1.1; }
.prose p, .prose li, .prose dd { color: var(--fog); }
.prose a { color: var(--chalk); text-decoration-color: var(--signal); text-underline-offset: 3px; }
.prose code { font-family: var(--mono); font-size: .9em; color: var(--chalk); }
.prose dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; }
.prose dt { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); padding-top: 4px; }
.prose dd { margin: 0; }
.lost { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-block: 64px; }
.lost h1 { font-size: clamp(64px, 13vw, 200px); }
.lost p { color: var(--mist); max-width: 520px; font-size: 19px; }

/* ---------- Motion (only under html.fx; the page is complete without it) ---------- */
@keyframes tv-draw { to { stroke-dashoffset: 0; } }
@keyframes tv-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes tv-halo { 0%, 100% { opacity: .22; transform: scale(1); } 50% { opacity: .05; transform: scale(1.7); } }
@keyframes tv-blink { 50% { opacity: .3; } }
@keyframes tv-marquee { to { transform: translateX(-50%); } }
@keyframes tv-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes tv-line { from { transform: translateY(105%); } to { transform: none; } }

.fx .hero-trace .run { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tv-draw 2.4s var(--ease-io) .35s forwards; }
.fx .hero-trace .dot { transform-box: fill-box; transform-origin: center; opacity: 0; animation: tv-pop .5s cubic-bezier(.3, 1.6, .5, 1) 2.6s forwards; }
.fx .hero-trace .halo { transform-box: fill-box; transform-origin: center; animation: tv-halo 1.8s ease-in-out 3.1s infinite; }
.fx .led { animation: tv-blink 1.6s ease-in-out infinite; }
.fx .ticker-track { animation: tv-marquee 40s linear infinite; }
.fx .h-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.fx .h-line > span { display: block; animation: tv-line .9s var(--ease-out) both; }
.fx .h-line:nth-child(2) > span { animation-delay: .09s; }
.fx [data-fx] { opacity: 0; }
.fx [data-fx].in { animation: tv-rise .8s var(--ease-out) both; }
.fx [data-fx-delay="1"].in { animation-delay: .08s; }
.fx [data-fx-delay="2"].in { animation-delay: .16s; }
.fx [data-fx-delay="3"].in { animation-delay: .24s; }
.fx .compare-plot svg path { transition: opacity .25s ease; }
.fx .compare-plot.swap svg path { opacity: 0; }
.fx .led-halo { transform-box: fill-box; transform-origin: center; animation: tv-halo 1.8s ease-in-out infinite; }
html.paused .led-halo { animation-play-state: paused; }
/* Paused: everything is shown in its final state and loops stop */
html.paused .ticker-track, html.paused .led, html.paused .hero-trace .halo { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .arrow, .pill, .nav-links a { transition: none; }
}

/* ---------- Print ---------- */
@media print {
  body { background: #fff; color: #000; }
  .masthead, .ticker, .actions, .skip, .compare, .run-pick { display: none !important; }
  .pod, .path, .run, .riders-card, .compare { background: #fff; color: #000; }
}

/* ---------- Phones: display type scales with the viewport so long German words fit ---------- */
@media (max-width: 520px) {
  .hero h1 { font-size: 12.2vw; }
  .section-head h2, .pod h2, .riders-card .mega, .prose-page h1 { font-size: 10vw; }
  .path .mega { font-size: 7.8vw; }
  .lost h1 { font-size: 12vw; }
  .statement p { font-size: 8vw; }
}
