/* S 1000 RR Archive. Asphalt, chalk, pit-board yellow for measured figures, kerb red for records and the M.
   Built by Nova Site. */
@font-face { font-family: Archivo; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Archivo; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Archivo; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Archivo; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-ext-italic.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --asphalt: #1E2022;
  --asphalt-2: #25282A;
  --carbon: #121314;
  --kerb-line: #34373A;
  --line: rgba(237, 235, 229, .12);
  --chalk: #EDEBE5;
  --fog: #9EA2A4;
  --fog-2: #7C8184;
  --board: #FFD21F;
  --kerb: #E8352B;
  --go: #3DDC84;
  --font: Archivo, system-ui, sans-serif;
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease-io); }
::view-transition-old(root) { animation-name: vt-out; }
::view-transition-new(root) { animation-name: vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateX(-3%); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateX(3%); filter: blur(4px); } }
.hdr { view-transition-name: hdr; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--asphalt); color: var(--chalk); font-family: var(--font); font-size: 1.0625rem; line-height: 1.62; font-stretch: 100%; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
button { font: inherit; color: inherit; }
::selection { background: var(--board); color: var(--carbon); }
:focus-visible { outline: 2px solid var(--board); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--board); color: var(--carbon); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
[hidden] { display: none !important; }

/* type scale (perfect fourth) */
.d1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-stretch: 112%; }
.d2 { font-size: clamp(2.1rem, 4.6vw, 4rem); font-stretch: 110%; }
.d3 { font-size: clamp(1.45rem, 2.4vw, 2rem); font-stretch: 105%; line-height: 1.08; }
.lede { font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.55; color: #D6D4CE; max-width: 58ch; }
.prose { max-width: 64ch; }
.prose p, .muted { color: #CFCDC7; }
.small { font-size: .9rem; color: var(--fog); line-height: 1.55; }
.fig { font-style: italic; font-weight: 900; font-stretch: 125%; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: .9; color: var(--board); }
.unconfirmed { display: inline-block; margin-left: .4em; padding: 1px 9px 2px; border: 1px dashed var(--fog); border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--fog); vertical-align: 2px; }

/* headline stretch: arrives condensed and opens out, like a bike pulling away */
.js [data-stretch] { font-stretch: 62%; opacity: 0; transition: font-stretch 1.1s var(--ease), opacity .5s ease, letter-spacing 1.1s var(--ease); letter-spacing: .02em; }
.js [data-stretch].in { opacity: 1; letter-spacing: -.01em; }
.js .d1[data-stretch].in { font-stretch: 112%; }
.js .d2[data-stretch].in { font-stretch: 110%; }
.js .d3[data-stretch].in { font-stretch: 105%; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .35s ease, border-color .35s ease, transform .4s var(--ease); border-bottom: 1px solid transparent; }
.hdr.is-solid { background: rgba(18, 19, 20, .82); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.hdr.is-away { transform: translateY(-100%); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.mark svg { width: 38px; height: 38px; flex: none; }
.mark__t { display: flex; flex-direction: column; line-height: 1.05; }
.mark__t b { font-weight: 900; font-style: italic; font-stretch: 125%; font-size: 1.05rem; letter-spacing: -.01em; }
.mark__t span { font-size: .78rem; color: var(--fog); font-stretch: 100%; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .95rem; color: #D6D4CE; border-radius: 999px; transition: color .2s ease, background .2s ease; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--carbon); background: var(--chalk); }
.shift { display: flex; gap: 4px; padding: 6px 8px; border-radius: 999px; background: var(--carbon); border: 1px solid var(--line); }
.shift i { width: 7px; height: 7px; border-radius: 50%; background: #2B2E31; transition: background .12s linear, box-shadow .12s linear; }
.shift i.on:nth-child(-n+4) { background: var(--go); box-shadow: 0 0 8px var(--go); }
.shift i.on:nth-child(n+5):nth-child(-n+7) { background: var(--board); box-shadow: 0 0 8px var(--board); }
.shift i.on:nth-child(n+8) { background: var(--kerb); box-shadow: 0 0 8px var(--kerb); }
.shift.flash i { animation: flash .22s steps(2) infinite; }
@keyframes flash { 50% { background: #2B2E31; box-shadow: none; } }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--carbon); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--chalk); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--carbon); padding: 110px var(--gut) 40px; display: flex; flex-direction: column; gap: 4px; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-io); visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu a { text-decoration: none; font-weight: 900; font-style: italic; font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.08; font-stretch: 62%; transition: font-stretch .7s var(--ease), color .2s; color: var(--fog); }
.menu.is-open a { font-stretch: 125%; color: var(--chalk); }
.menu a[aria-current="page"] { color: var(--board); }
.menu.is-open a:nth-child(2) { transition-delay: .05s; }
.menu.is-open a:nth-child(3) { transition-delay: .1s; }
.menu.is-open a:nth-child(4) { transition-delay: .15s; }
.menu.is-open a:nth-child(5) { transition-delay: .2s; }
.menu p { margin-top: auto; color: var(--fog); font-size: .95rem; }

/* ---------- start lights (first visit to the home page) ---------- */
.lights { display: none; }
.intro .lights { display: grid; position: fixed; inset: 0; z-index: 100; place-items: center; background: var(--carbon); animation: lights-away .7s var(--ease-io) 2.55s forwards; cursor: pointer; }
.lights__gantry { display: flex; gap: clamp(10px, 2.4vw, 22px); padding: clamp(14px, 2.4vw, 22px); border-radius: 18px; background: #0B0C0C; border: 1px solid #2A2D30; }
.lights__gantry i { width: clamp(38px, 8vw, 72px); aspect-ratio: 1; border-radius: 50%; background: #2A1414; box-shadow: inset 0 0 0 3px #1A0C0C; animation: light-on .01s linear forwards, light-out .01s linear 2.05s forwards; }
.lights__gantry i:nth-child(1) { animation-delay: .35s, 2.05s; }
.lights__gantry i:nth-child(2) { animation-delay: .7s, 2.05s; }
.lights__gantry i:nth-child(3) { animation-delay: 1.05s, 2.05s; }
.lights__gantry i:nth-child(4) { animation-delay: 1.4s, 2.05s; }
.lights__gantry i:nth-child(5) { animation-delay: 1.75s, 2.05s; }
.lights__cap { margin-top: 26px; text-align: center; font-weight: 700; font-stretch: 125%; font-style: italic; color: var(--fog); }
.lights__cap span { display: block; font-size: .8rem; font-weight: 500; font-style: normal; font-stretch: 100%; margin-top: 6px; opacity: .7; }
@keyframes light-on { to { background: var(--kerb); box-shadow: 0 0 34px rgba(232, 53, 43, .8), inset 0 0 0 3px #FF6A5E; } }
@keyframes light-out { to { background: #2A1414; box-shadow: inset 0 0 0 3px #1A0C0C; } }
@keyframes lights-away { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.intro.intro--skip .lights { animation: lights-away .5s var(--ease-io) forwards; }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; padding: 120px 0 clamp(40px, 6vw, 72px); }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; transform: scale(1.08); }
.js .hero__media img { animation: hero-in 2.6s var(--ease) both; animation-delay: var(--intro-delay, 0s); }
@keyframes hero-in { from { transform: scale(1.22); filter: brightness(.3) saturate(.4); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 19, 20, .94) 0%, rgba(18, 19, 20, .78) 34%, rgba(18, 19, 20, .2) 66%, rgba(18, 19, 20, .05) 100%), linear-gradient(0deg, rgba(30, 32, 34, 1) 0%, rgba(30, 32, 34, 0) 32%); }
@media (min-width: 961px) {
  .hero__media { left: 34%; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 19, 20, .7) 0, rgba(18, 19, 20, 0) 150px), linear-gradient(90deg, var(--asphalt) 0%, rgba(30, 32, 34, 0) 38%); }
  .hero__media img { object-position: 46% 30%; }
  .hero::before { background: linear-gradient(90deg, var(--asphalt) 0%, rgba(30, 32, 34, .9) 30%, rgba(30, 32, 34, 0) 58%), linear-gradient(0deg, var(--asphalt) 0%, rgba(30, 32, 34, 0) 30%); }
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 4vw, 40px); }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 52ch; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero__facts li { padding: 7px 14px; border-radius: 999px; background: rgba(18, 19, 20, .6); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__facts li:first-child { background: var(--board); color: var(--carbon); border-color: var(--board); }

/* the pit board: black slate, yellow block figures, as held over the wall at a TT signalling station */
.board { justify-self: start; position: relative; background: #0C0D0D; border: 3px solid #2E3134; border-radius: 10px; padding: clamp(14px, 2vw, 22px) clamp(18px, 2.6vw, 30px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); transform: rotate(-1.2deg); }
.board::before, .board::after { content: ""; position: absolute; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: #3A3E41; }
.board::before { left: 10px; }
.board::after { right: 10px; }
.board__name { font-weight: 900; font-stretch: 125%; font-size: clamp(1rem, 1.8vw, 1.4rem); letter-spacing: .14em; color: var(--chalk); }
.board__time { display: flex; font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(2.3rem, 11.6vw, 9.4rem); line-height: .96; color: var(--board); letter-spacing: -.03em; margin: 2px 0 4px; font-variant-numeric: tabular-nums; }
.board__speed { font-weight: 800; font-stretch: 125%; font-size: clamp(1rem, 1.8vw, 1.4rem); color: var(--chalk); letter-spacing: .06em; }
.board__speed b { color: var(--board); font-style: italic; }
.odo { display: inline-block; height: 1em; overflow: hidden; padding-right: .08em; margin-right: -.08em; }
.odo__col { display: block; transition: transform 1.6s var(--ease); transform: translateY(calc(var(--d) * -1em)); }
.js .odo-wait .odo__col { transform: translateY(0); transition: none; }
.intro { --intro-delay: 2.3s; }
.odo__col span { display: block; height: 1em; line-height: 1em; }
.odo__sep { display: inline-block; }

/* ---------- trackside ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--carbon); }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li { display: flex; align-items: baseline; gap: 12px; padding: 18px 34px; border-right: 1px solid var(--line); white-space: nowrap; color: #CFCDC7; font-size: .95rem; }
.ticker li b { font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 1.5rem; color: var(--board); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.sec--tight { padding-block: clamp(56px, 7vw, 96px); }
.sec--carbon { background: var(--carbon); }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.head .lede, .head .prose { margin: 0; }
.head--stack { grid-template-columns: minmax(0, 1fr); max-width: 860px; }

/* eras on the home page: a real sequence, so the years carry it */
.eras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.era { padding: 34px clamp(18px, 2.4vw, 34px) 10px 0; border-right: 1px solid var(--line); }
.era + .era { padding-left: clamp(18px, 2.4vw, 34px); }
.era:last-child { border-right: 0; }
.era__yr { font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(3.4rem, 6.6vw, 6rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--fog-2); letter-spacing: -.03em; transition: color .5s ease, -webkit-text-stroke-color .5s ease; }
.era:hover .era__yr { color: var(--chalk); -webkit-text-stroke-color: var(--chalk); }
.era h3 { margin: 22px 0 12px; }
.era p { color: #CFCDC7; }
.era__stat { margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--line); }
.era__stat .fig { font-size: clamp(2.2rem, 3.6vw, 3rem); display: block; }
.era__stat span:not(.fig) { color: var(--fog); font-size: .92rem; }

/* full-bleed photographs */
.plate { position: relative; overflow: hidden; margin: 0; }
.plate__img { height: clamp(380px, 78vh, 820px); overflow: hidden; }
.plate__img img { position: relative; top: -9%; width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.plate figcaption { position: absolute; left: var(--gut); bottom: 22px; max-width: min(560px, calc(100% - 2 * var(--gut))); padding: 12px 16px; border-radius: 10px; background: rgba(18, 19, 20, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .9rem; color: #D6D4CE; }
.photo { margin: 0; }
.photo img { border-radius: 14px; width: 100%; }
.photo figcaption { margin-top: 12px; font-size: .9rem; color: var(--fog); }
.js .wipe { clip-path: inset(0 0 100% 0 round 14px); transition: clip-path 1.2s var(--ease-io); }
.js .wipe.in { clip-path: inset(0 0 0 0 round 14px); }

/* ---------- units switch ---------- */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--carbon); border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem; cursor: pointer; color: var(--fog); transition: color .3s ease; }
.seg button[aria-pressed="true"] { color: var(--carbon); }
.seg__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--board); transition: transform .45s var(--ease), width .45s var(--ease); }
.units-scope .u-us { display: none; }
.units-scope[data-units="us"] .u-us { display: inline; }
.units-scope[data-units="us"] .u-eu { display: none; }
.units-note { margin: 14px 0 0; font-size: .9rem; color: var(--fog); }

/* ---------- S vs M comparison ---------- */
.cmp { border-top: 1px solid var(--line); }
.cmp table { width: 100%; border-collapse: collapse; }
.cmp caption { text-align: left; padding: 0 0 22px; color: var(--fog); font-size: .92rem; caption-side: bottom; padding-top: 22px; }
.cmp caption b { display: block; color: var(--chalk); font-size: 1rem; margin-bottom: 4px; }
.cmp thead th { text-align: left; padding: 26px 18px 18px 0; vertical-align: bottom; }
.cmp thead th:first-child { width: 26%; }
.bike { display: flex; flex-direction: column; gap: 6px; }
.bike b { font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(1.2rem, 2.2vw, 1.8rem); line-height: 1; }
.bike span { font-size: .85rem; color: var(--fog); font-weight: 500; }
.bike--m b { color: var(--kerb); }
.cmp tbody tr { border-top: 1px solid var(--line); transition: background .25s ease; }
.cmp tbody tr:hover { background: rgba(255, 255, 255, .025); }
.cmp tbody th { text-align: left; font-weight: 600; color: var(--fog); padding: 20px 18px 20px 0; vertical-align: top; font-size: .95rem; }
.cmp tbody td { padding: 18px 18px 18px 0; vertical-align: top; }
.val { font-weight: 800; font-stretch: 110%; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.25; font-variant-numeric: tabular-nums; }
.val small { display: block; font-weight: 500; font-stretch: 100%; font-size: .85rem; color: var(--fog); margin-top: 2px; }
.delta { display: inline-block; margin-top: 8px; padding: 2px 9px; border-radius: 6px; font-size: .8rem; font-weight: 700; font-stretch: 112%; background: rgba(232, 53, 43, .14); color: #FF7A70; }
.delta--same { background: rgba(255, 255, 255, .06); color: var(--fog); }
.flipping .val { animation: flip .5s var(--ease); }
@keyframes flip { 0% { transform: rotateX(0); opacity: 1; } 45% { transform: rotateX(90deg); opacity: 0; } 55% { transform: rotateX(-90deg); opacity: 0; } 100% { transform: rotateX(0); opacity: 1; } }

/* ---------- title wall ---------- */
.titles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.title { position: relative; padding: 30px 26px 26px; border-radius: 16px; background: var(--asphalt-2); border: 1px solid var(--line); overflow: hidden; }
.title::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: repeating-linear-gradient(90deg, var(--kerb) 0 22px, var(--chalk) 22px 44px); }
.title .fig { font-size: clamp(3rem, 5.4vw, 4.6rem); color: var(--chalk); display: block; margin-bottom: 18px; }
.title h3 { font-size: 1.1rem; font-weight: 700; font-stretch: 100%; line-height: 1.3; color: var(--fog); margin-bottom: 8px; }
.title p { font-weight: 800; font-stretch: 108%; font-size: 1.35rem; line-height: 1.2; margin: 0; }
.after { margin-top: 30px; max-width: 70ch; color: #CFCDC7; }

/* ---------- timeline with a filling rail ---------- */
.tl { position: relative; list-style: none; margin: 0; padding: 0 0 0 clamp(36px, 5vw, 64px); }
.tl > li { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 70px); }
.tl__body { max-width: 70ch; }
.tl::before, .tl__fill { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--kerb-line); }
.tl__fill { background: var(--board); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 12px rgba(255, 210, 31, .5); }
.tl > li { position: relative; padding-bottom: clamp(36px, 5vw, 56px); }
.tl > li:last-child { padding-bottom: 0; }
.tl > li::before { content: ""; position: absolute; left: calc(-1 * clamp(36px, 5vw, 64px) + 3px); top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--asphalt); border: 2px solid var(--kerb-line); transition: border-color .3s, background .3s; }
.tl > li.passed::before { border-color: var(--board); background: var(--board); }
.tl__when { display: block; font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; margin-bottom: 4px; }
.tl__tag { display: block; color: var(--fog); font-weight: 600; margin-bottom: 14px; }
.tl p { color: #CFCDC7; max-width: 62ch; }
.tl__stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 18px; }
.tl__stat .fig { white-space: nowrap; }
.tl__stat .fig { font-size: clamp(2rem, 3.2vw, 2.6rem); }
.tl__stat span:not(.fig) { color: var(--fog); font-size: .92rem; }

/* ---------- keep reading ---------- */
.more { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.more li { border-bottom: 1px solid var(--line); }
.more a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px) 48px; gap: 24px; align-items: center; padding: clamp(20px, 3vw, 34px) 0; text-decoration: none; }
.more__t { font-style: italic; font-weight: 900; font-size: clamp(2rem, 5.4vw, 4.6rem); line-height: 1; font-stretch: 80%; transition: font-stretch .6s var(--ease), color .3s; letter-spacing: -.02em; }
.more a:hover .more__t, .more a:focus-visible .more__t { font-stretch: 125%; color: var(--board); }
.more__d { color: var(--fog); font-size: .98rem; }
.more__go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.more__go svg { width: 18px; height: 18px; }
.more a:hover .more__go { background: var(--board); color: var(--carbon); transform: rotate(-45deg); border-color: var(--board); }
.peek { position: fixed; z-index: 40; left: 0; top: 0; width: 300px; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(-4deg); transition: opacity .3s ease, transform .4s var(--ease); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-2deg); }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- page hero ---------- */
.phero { padding: clamp(140px, 17vw, 200px) 0 clamp(50px, 7vw, 90px); position: relative; overflow: hidden; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 80px); align-items: end; }
.phero h1 { margin-bottom: 26px; }
.crumbs { display: flex; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; font-size: .9rem; color: var(--fog); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--fog-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--chalk); }
.phero__bg { position: absolute; right: -2vw; top: 60px; font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(9rem, 26vw, 24rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(237, 235, 229, .07); pointer-events: none; z-index: -1; letter-spacing: -.04em; white-space: nowrap; }
.phero--img { min-height: 92svh; display: grid; align-items: end; isolation: isolate; }
.phero--img .phero__media { position: absolute; inset: 0; z-index: -2; }
.phero--img .phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 19, 20, .75) 0, rgba(18, 19, 20, 0) 160px), linear-gradient(90deg, rgba(30, 32, 34, .85) 0%, rgba(30, 32, 34, .3) 55%, rgba(30, 32, 34, 0) 100%), linear-gradient(0deg, var(--asphalt) 2%, rgba(30, 32, 34, .4) 45%, rgba(18, 19, 20, .3) 100%); }

/* ---------- power chart ---------- */
.chart { position: relative; margin: 0; }
.chart__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 26px; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; font-size: .92rem; color: #CFCDC7; }
.legend li { display: flex; align-items: center; gap: 8px; }
.key { width: 22px; height: 3px; border-radius: 2px; background: var(--chalk); }
.key--m { background: var(--kerb); }
.key--hp4 { background: none; border-top: 3px dotted var(--board); height: 0; }
.chart svg { width: 100%; height: auto; overflow: visible; cursor: crosshair; touch-action: pan-y; }
.chart .grid line { stroke: var(--line); }
.chart .axis text { fill: var(--fog); font-size: 13px; font-family: var(--font); }
.chart .ln { fill: none; stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .ln--s { stroke: var(--chalk); }
.chart .ln--m { stroke: var(--kerb); filter: drop-shadow(0 0 6px rgba(232, 53, 43, .5)); }
.chart .pt { fill: var(--asphalt); stroke-width: 3; }
.chart .pt--s { stroke: var(--chalk); }
.chart .pt--m { stroke: var(--kerb); }
.chart .pt--hp4 { fill: var(--board); stroke: none; }
.chart .hp4 { stroke: var(--board); stroke-dasharray: 2 6; stroke-width: 2.5; stroke-linecap: round; }
.chart .end { font-family: var(--font); font-weight: 800; font-size: 15px; font-stretch: 112%; }
.chart .end--s { fill: var(--chalk); }
.chart .end--m { fill: var(--kerb); }
.chart .end--hp4 { fill: var(--board); }
.js .chart .ln { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 2.2s var(--ease-io); }
.js .chart.in .ln { stroke-dashoffset: 0; }
.js .chart .ln--m { transition-delay: .9s; }
.js .chart .pt, .js .chart .end, .js .chart .hp4 { opacity: 0; transition: opacity .5s ease 1.8s; }
.js .chart.in .pt, .js .chart.in .end, .js .chart.in .hp4 { opacity: 1; }
.xhair { opacity: 0; transition: opacity .15s; pointer-events: none; }
.xhair line { stroke: var(--board); stroke-dasharray: 3 4; }
.chart svg.is-hover .xhair { opacity: 1; }
.tip { position: absolute; z-index: 3; min-width: 200px; padding: 14px 16px; border-radius: 12px; background: var(--carbon); border: 1px solid var(--kerb-line); box-shadow: 0 20px 40px -20px #000; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; font-size: .9rem; }
.tip.is-on { opacity: 1; transform: none; }
.tip__yr { font-weight: 900; font-style: italic; font-stretch: 125%; font-size: 1.25rem; margin-bottom: 8px; }
.tip__row { display: flex; align-items: center; gap: 8px; }
.tip__row b { font-variant-numeric: tabular-nums; min-width: 34px; }
.tip__note { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--fog); }
.tableview { margin-top: 24px; }
.tableview summary { cursor: pointer; display: inline-flex; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; list-style: none; }
.tableview summary::-webkit-details-marker { display: none; }
.tableview summary:hover { border-color: var(--fog); }
.tableview[open] summary { background: var(--chalk); color: var(--carbon); }
.datatable { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .95rem; font-variant-numeric: tabular-nums; }
.datatable th, .datatable td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.datatable thead th { color: var(--fog); font-weight: 600; font-size: .88rem; }
.datatable tbody th { font-weight: 700; }
.datatable .r { text-align: right; }

/* ---------- history: sticky paddock board + eras ---------- */
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); }
.story__pin { position: sticky; top: 110px; align-self: start; }
.story__yr { display: flex; font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(4rem, 8.6vw, 8.2rem); line-height: .86; letter-spacing: -.04em; color: var(--board); height: .86em; overflow: hidden; }
.story__yr { position: relative; }
.story__yr span { display: block; padding-right: .08em; }
.story__name { margin: 18px 0 30px; font-weight: 800; font-stretch: 110%; font-size: 1.4rem; min-height: 1.4em; }
.rail { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rail a { display: flex; align-items: center; gap: 14px; padding: 6px 0; text-decoration: none; color: var(--fog-2); font-weight: 700; font-size: .95rem; transition: color .25s; }
.rail a::before { content: ""; width: 18px; height: 2px; background: currentColor; transition: width .35s var(--ease); }
.rail a.on { color: var(--chalk); }
.rail a.on::before { width: 46px; background: var(--board); }
.rail a:hover { color: var(--chalk); }
.eras-list { display: flex; flex-direction: column; gap: clamp(80px, 12vw, 160px); }
.chapter { scroll-margin-top: 110px; }
.chapter__yr { display: none; font-style: italic; font-weight: 900; font-stretch: 125%; color: var(--board); font-size: 3rem; line-height: 1; }
.chapter__kind { display: inline-block; margin-bottom: 18px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--fog); font-size: .88rem; font-weight: 600; }
.chapter h3 { margin-bottom: 20px; }
.chapter p { color: #CFCDC7; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 28px 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.specs div { padding: 16px 18px; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.specs dt { color: var(--fog); font-size: .85rem; margin-bottom: 6px; }
.specs dd { margin: 0; font-weight: 800; font-stretch: 108%; font-size: 1.05rem; line-height: 1.3; }
.chapter .photo { margin-top: 30px; }

/* ---------- ShiftCam instrument ---------- */
.inst { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding: clamp(22px, 3.4vw, 46px); border-radius: 24px; background: radial-gradient(120% 90% at 20% 0%, #26292C 0%, var(--carbon) 60%); border: 1px solid var(--line); }
.tach { position: relative; max-width: 520px; width: 100%; margin-inline: auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.tach svg { width: 100%; height: auto; overflow: visible; }
.tach .face { fill: #0E0F10; stroke: #2E3134; stroke-width: 2; }
.tach .tick { stroke: #6B7073; stroke-width: 2; }
.tach .tick--major { stroke: var(--chalk); stroke-width: 3.5; }
.tach .num { fill: var(--chalk); font-family: var(--font); font-weight: 800; font-size: 26px; font-stretch: 110%; text-anchor: middle; dominant-baseline: middle; }
.tach .arc-red { stroke: var(--kerb); stroke-width: 14; fill: none; }
.tach .arc-fill { stroke: var(--board); stroke-width: 8; fill: none; stroke-linecap: round; opacity: .9; }
.tach .sw { stroke: var(--board); stroke-width: 5; }
.tach .sw-t { fill: var(--board); font-family: var(--font); font-weight: 800; font-size: 13px; text-anchor: middle; }
.tach .needle { stroke: var(--kerb); stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(232, 53, 43, .7)); }
.tach .hub { fill: #1B1D1F; stroke: #3A3E41; stroke-width: 3; }
.tach .grab { cursor: grab; }
.tach.dragging .grab { cursor: grabbing; }
.tach__read { margin-top: -6px; text-align: center; pointer-events: none; }
.tach__read b { display: block; font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--chalk); }
.tach__read span { color: var(--fog); font-size: .9rem; }
.tach__lights { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #0B0C0C; border: 1px solid #2E3134; }
.tach__lights i { width: 11px; height: 11px; border-radius: 50%; background: #2B2E31; transition: background .08s, box-shadow .08s; }
.tach__lights i.on:nth-child(-n+3) { background: var(--go); box-shadow: 0 0 10px var(--go); }
.tach__lights i.on:nth-child(n+4):nth-child(-n+6) { background: var(--board); box-shadow: 0 0 10px var(--board); }
.tach__lights i.on:nth-child(n+7) { background: var(--kerb); box-shadow: 0 0 10px var(--kerb); }
.tach__lights.flash i { animation: flash .18s steps(2) infinite; }
.rpm-range { width: 100%; margin: 22px 0 6px; accent-color: var(--board); }
.inst__ctl { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 800; font-stretch: 110%; font-size: .98rem; text-decoration: none; transition: transform .25s var(--ease), background .25s, color .25s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--board { background: var(--board); color: var(--carbon); }
.btn--board:hover { transform: translateY(-2px); background: #FFE15C; }
.btn--line { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--chalk); }
.cam__state { min-height: 7.2em; margin-bottom: 22px; }
.cam__state b { display: block; font-weight: 900; font-stretch: 115%; font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; margin-bottom: 8px; transition: color .3s; }
.cam__state span { color: #CFCDC7; }
.cam[data-mode="full"] .cam__state b { color: var(--board); }
.camsvg { width: 100%; height: auto; }
.camsvg .shaft { fill: #3A3E41; }
.camsvg .sleeve { transition: transform .45s cubic-bezier(.5, 0, .2, 1.3); }
.camsvg .lobe { fill: #555A5E; transition: fill .3s; }
.cam[data-mode="part"] .lobe--part, .cam[data-mode="full"] .lobe--full { fill: var(--board); }
.cam[data-mode="full"] .sleeve { transform: translateX(56px); }
.camsvg .groove { fill: none; stroke: #1B1D1F; stroke-width: 3; }
.camsvg .pin { fill: var(--kerb); transition: transform .25s ease; }
.cam[data-mode="full"] .pin { transform: translateY(14px); }
.camsvg .valve { fill: #8C9194; }
.camsvg .lbl { fill: var(--fog); font-family: var(--font); font-size: 13px; font-weight: 600; }
.camsvg .lift { fill: none; stroke-width: 3; transition: stroke .3s, opacity .3s; }
.camsvg .lift--part { stroke: #6B7073; }
.camsvg .lift--full { stroke: #6B7073; }
.cam[data-mode="part"] .lift--part, .cam[data-mode="full"] .lift--full { stroke: var(--board); }
.camsvg .lift-area { opacity: 0; transition: opacity .3s; fill: rgba(255, 210, 31, .14); }
.cam[data-mode="part"] .lift-area--part, .cam[data-mode="full"] .lift-area--full { opacity: 1; }
.camsvg .ax { stroke: #4A4E51; stroke-width: 1.5; }
.cam__note { margin-top: 10px; font-size: .82rem; color: var(--fog-2); }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(40px, 6vw, 70px); }
.how h3 { font-size: 1.15rem; font-stretch: 105%; margin-bottom: 10px; }
.how p { color: #CFCDC7; font-size: 1rem; }
.how__n { display: block; font-style: italic; font-weight: 900; font-stretch: 125%; color: var(--board); font-size: 1.1rem; margin-bottom: 8px; }

/* definition rows */
.defs { margin: 0; border-top: 1px solid var(--line); }
.defs div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(16px, 4vw, 60px); padding: 26px 0; border-bottom: 1px solid var(--line); }
.defs dt { font-weight: 800; font-stretch: 108%; font-size: 1.2rem; line-height: 1.25; }
.defs dt small { display: block; margin-top: 6px; font-weight: 600; font-stretch: 100%; font-size: .85rem; color: var(--board); }
.defs dd { margin: 0; color: #CFCDC7; }

/* frame flex illustration */
.flex { width: 100%; max-width: 560px; }
.flex path { fill: none; stroke-linecap: round; }
.flex .spar { stroke: var(--chalk); stroke-width: 10; }
.flex .ghost { stroke: rgba(237, 235, 229, .14); stroke-width: 10; }
.flex .road { stroke: var(--kerb-line); stroke-width: 3; stroke-dasharray: 10 12; }

/* attitude instrument (six-axis sensor) */
.imu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.imu__box { position: relative; border-radius: 24px; background: var(--carbon); border: 1px solid var(--line); padding: 22px; touch-action: pan-y; }
.imu__box svg { width: 100%; height: auto; }
.imu .sky { fill: #2A2E33; }
.imu .ground { fill: #15171A; }
.imu .hz { stroke: var(--board); stroke-width: 3; }
.imu .pl { stroke: rgba(237, 235, 229, .4); stroke-width: 2; }
.imu .pl-t { fill: rgba(237, 235, 229, .5); font: 600 12px var(--font); }
.imu .ring { fill: none; stroke: #2E3134; stroke-width: 30; }
.imu .bezel { fill: none; stroke: #3A3E41; stroke-width: 2; }
.imu .ref { stroke: var(--kerb); stroke-width: 5; stroke-linecap: round; fill: none; }
.imu .tick { stroke: var(--fog); stroke-width: 2; }
.imu .tape-t { fill: var(--fog); font: 700 12px var(--font); text-anchor: middle; }
.imu__read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; text-align: center; }
.imu__read div { padding: 10px 6px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.imu__read b { display: block; font-style: italic; font-weight: 900; font-stretch: 120%; font-size: 1.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--board); }
.imu__read span { font-size: .82rem; color: var(--fog); }
.imu__hint { margin-top: 12px; font-size: .85rem; color: var(--fog-2); text-align: center; }

/* aero */
.aero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.flow { border-radius: 24px; background: var(--carbon); border: 1px solid var(--line); overflow: hidden; }
.flow svg { width: 100%; height: auto; }
.flow .stream { fill: none; stroke: rgba(237, 235, 229, .32); stroke-width: 1.6; stroke-dasharray: 26 18; animation: stream 1.4s linear infinite; }
.flow .stream:nth-child(2n) { animation-duration: 1.1s; }
.flow .stream:nth-child(3n) { animation-duration: 1.7s; }
.flow .wing { fill: var(--chalk); }
.flow .force { stroke: var(--board); stroke-width: 4; marker-end: url(#arrow); }
.flow .force-t { fill: var(--board); font: 800 15px var(--font); font-stretch: 112%; }
.flow .lbl { fill: var(--fog); font: 600 13px var(--font); }
@keyframes stream { to { stroke-dashoffset: -44; } }
.bars { display: flex; flex-direction: column; gap: 22px; }
.bars h3 { font-size: 1.1rem; font-stretch: 105%; margin-bottom: 4px; }
.bar { display: grid; grid-template-columns: 84px minmax(0, 1fr) 72px; gap: 12px; align-items: center; font-size: .92rem; }
.bar__yr { color: var(--fog); font-weight: 700; }
.bar__track { height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: var(--w); border-radius: 7px; background: var(--fog-2); transform-origin: left; }
.bar--now .bar__fill { background: var(--board); }
.bar--m .bar__fill { background: var(--kerb); }
.bar--m.bar--then .bar__fill { background: #7A2A25; }
.bar__v { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.js .bars .bar__fill { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .bars.in .bar__fill { transform: scaleX(1); }
.js .bars.in .bar:nth-child(3) .bar__fill { transition-delay: .2s; }
.js .bars.in .bar--now .bar__fill { transition-delay: .35s; }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stats div { background: var(--asphalt); padding: clamp(22px, 3vw, 36px) clamp(16px, 2vw, 28px); }
.stats .fig { font-size: clamp(2.4rem, 4.4vw, 3.8rem); display: block; margin-bottom: 10px; }
.stats span:not(.fig) { color: #CFCDC7; font-size: .95rem; }

/* results board: a timing screen */
.timing { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.timing caption { text-align: left; caption-side: top; padding-bottom: 16px; color: var(--fog); font-size: .92rem; }
.timing caption b { display: block; color: var(--chalk); font-size: 1rem; margin-bottom: 2px; }
.timing thead th { text-align: left; font-size: .85rem; font-weight: 600; color: var(--fog); padding: 12px 16px 12px 0; border-bottom: 1px solid var(--kerb-line); }
.timing tbody th, .timing tbody td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.timing tbody th { font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 1.35rem; line-height: 1.1; color: var(--chalk); width: 110px; }
.timing td { color: #D6D4CE; }
.timing td b { color: var(--chalk); font-weight: 800; }
.timing .r { text-align: right; }
.timing tr.is-record { background: linear-gradient(90deg, rgba(232, 53, 43, .16), rgba(232, 53, 43, 0) 70%); }
.timing tr.is-record th { color: var(--kerb); box-shadow: inset 6px 0 0 var(--kerb); padding-left: 16px; }
.rec { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 6px; background: var(--kerb); color: #fff; font-size: .75rem; font-weight: 800; font-style: normal; font-stretch: 110%; vertical-align: 2px; }
.timing tbody tr { transition: background .25s; }
.js .timing tbody tr { opacity: 0; transform: translateX(-16px); transition: opacity .5s ease, transform .6s var(--ease); }
.js .timing.in tbody tr { opacity: 1; transform: none; }
.js .timing.in tbody tr:nth-child(2) { transition-delay: .06s; }
.js .timing.in tbody tr:nth-child(3) { transition-delay: .12s; }
.js .timing.in tbody tr:nth-child(4) { transition-delay: .18s; }
.js .timing.in tbody tr:nth-child(5) { transition-delay: .24s; }
.js .timing.in tbody tr:nth-child(6) { transition-delay: .3s; }
.js .timing.in tbody tr:nth-child(7) { transition-delay: .36s; }

/* Toprak's seasons as race grids: one square per start */
.seasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.season { padding: 26px; border-radius: 18px; background: var(--carbon); border: 1px solid var(--line); }
.season__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.season__h b { font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 2.2rem; line-height: 1; }
.season__h span { color: var(--board); font-weight: 800; }
.dots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.dots i { aspect-ratio: 1; border-radius: 4px; background: #2B2E31; }
.dots i.w { background: var(--board); }
.dots i.p { background: var(--chalk); }
.js .dots i { transform: scale(0); transition: transform .4s var(--ease); transition-delay: calc(var(--i) * 28ms); }
.js .seasons.in .dots i { transform: scale(1); }
.season__n { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.season__n div b { display: block; font-weight: 900; font-style: italic; font-stretch: 120%; font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.season__n div span { color: var(--fog); font-size: .82rem; }
.dots-key { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: .88rem; color: var(--fog); }
.dots-key span { display: inline-flex; align-items: center; gap: 8px; }
.dots-key i { width: 12px; height: 12px; border-radius: 3px; background: #2B2E31; }
.dots-key i.w { background: var(--board); }
.dots-key i.p { background: var(--chalk); }

/* the Mountain Course */
.course { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 50px); align-items: center; padding: clamp(18px, 3vw, 40px); border-radius: 24px; background: var(--carbon); border: 1px solid var(--line); }
.course__map svg { width: 100%; height: auto; overflow: visible; }
.course .track-base { fill: none; stroke: #2E3236; stroke-width: 16; stroke-linejoin: round; }
.course .track { fill: none; stroke: #4A4F53; stroke-width: 3; stroke-linejoin: round; }
.course .track-done { fill: none; stroke: var(--board); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(255, 210, 31, .6)); }
.course .sf { stroke: var(--chalk); stroke-width: 4; }
.course .wp circle { fill: var(--carbon); stroke: #6B7073; stroke-width: 2; transition: fill .2s, stroke .2s; }
.course .wp text { fill: var(--fog); font: 600 14px var(--font); transition: fill .2s; }
.course .wp.is-passed circle { fill: var(--board); stroke: var(--board); }
.course .wp.is-passed text { fill: var(--chalk); }
.course .rider { fill: var(--kerb); stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 10px rgba(232, 53, 43, .9)); }
.clock { font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1; color: var(--board); font-variant-numeric: tabular-nums; margin: 8px 0 22px; letter-spacing: -.02em; }
.course__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.course__nums div { padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.course__nums b { display: block; font-weight: 900; font-style: italic; font-stretch: 120%; font-size: 1.7rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.course__nums span { color: var(--fog); font-size: .85rem; }
.course__note { margin-top: 18px; font-size: .85rem; color: var(--fog); }

/* endurance standings */
.standings { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.standing { display: grid; grid-template-columns: 170px minmax(0, 1fr) 60px; gap: 14px; align-items: center; }
.standing span { font-weight: 700; font-size: .95rem; }
.standing .bar__track { height: 22px; border-radius: 6px; }
.standing .bar__fill { border-radius: 6px; }
.standing--bmw .bar__fill { background: var(--board); }
.standing b { font-style: italic; font-weight: 900; font-stretch: 120%; font-size: 1.3rem; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
.foot { background: var(--carbon); padding: clamp(70px, 9vw, 120px) 0 36px; overflow: hidden; }
.foot__cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 80px); align-items: end; padding-bottom: clamp(50px, 7vw, 80px); border-bottom: 1px solid var(--line); }
.foot__cta h2 { margin-bottom: 20px; }
.foot__cta p { color: #CFCDC7; max-width: 52ch; }
.foot__legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 60px); padding: 40px 0; font-size: .9rem; color: var(--fog); }
.sources summary { cursor: pointer; display: inline-flex; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; color: var(--chalk); list-style: none; }
.sources summary::-webkit-details-marker { display: none; }
.sources[open] summary { background: var(--chalk); color: var(--carbon); }
.sources ol { margin: 22px 0 0; padding-left: 1.4em; columns: 2 320px; column-gap: 50px; font-size: .88rem; }
.sources li { margin-bottom: 8px; break-inside: avoid; }
.sources a { color: #CFCDC7; text-decoration-color: var(--fog-2); text-underline-offset: 3px; }
.sources a:hover { color: var(--board); }
.foot__word { font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(3.4rem, 13.4vw, 12.6rem); line-height: .8; letter-spacing: -.045em; color: transparent; -webkit-text-stroke: 1.5px #34373A; white-space: nowrap; margin: 30px 0 26px; transition: color .6s ease, -webkit-text-stroke-color .6s; }
.foot__word:hover { color: var(--board); -webkit-text-stroke-color: var(--board); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--fog); }
.foot__base a { text-decoration: none; }
.foot__base a:hover { color: var(--chalk); }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; align-items: center; padding: 140px 0 80px; }
.lost .fig { font-size: clamp(6rem, 22vw, 16rem); color: var(--kerb); }

/* parallax helper */
[data-parallax] { will-change: transform; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 10px 10px; font-size: .9rem; }
  .shift { display: none; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: block; }
  .shift { display: flex; }
  .head, .phero__grid, .inst, .imu, .aero, .course, .foot__cta, .story { grid-template-columns: minmax(0, 1fr); }
  .titles { grid-template-columns: minmax(0, 1fr); }
  .eras { grid-template-columns: minmax(0, 1fr); }
  .era, .era + .era { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .how { grid-template-columns: minmax(0, 1fr); }
  .more a { grid-template-columns: minmax(0, 1fr) 48px; }
  .more__d { grid-column: 1; grid-row: 2; }
  .more__go { grid-row: 1 / span 2; grid-column: 2; }
  .story__pin { position: sticky; top: 76px; z-index: 5; margin-inline: calc(-1 * var(--gut)); padding: 12px var(--gut); background: rgba(30, 32, 34, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
  .story__yr { font-size: 2.6rem; }
  .story__name { margin: 0; font-size: 1rem; }
  .rail { display: none; }
  .tl > li { grid-template-columns: minmax(0, 1fr); }
  .phero__bg { top: 90px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hdr__in { height: 66px; gap: 12px; }
  .mark__t span { display: none; }
  .shift { display: none; }
  .hero { align-items: end; padding-top: 100px; }
  .hero::before { background: linear-gradient(0deg, rgba(30, 32, 34, 1) 0%, rgba(30, 32, 34, .86) 45%, rgba(18, 19, 20, .2) 80%); }
  .hero__media img { object-position: 60% 20%; }
  .board { transform: rotate(-1.5deg); }
  .seasons { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .defs div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .foot__legal { grid-template-columns: minmax(0, 1fr); }
  .sources ol { columns: 1; }
  .standing { grid-template-columns: minmax(0, 1fr) 50px; }
  .standing > span:first-child { grid-column: 1 / -1; }
  .story__pin { top: 66px; }
  .bar { grid-template-columns: 74px minmax(0, 1fr) 64px; }
  /* tables become stacked rows */
  .cmp thead th:first-child { width: auto; }
  .cmp thead tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp thead th:first-child { display: none; }
  .cmp tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 14px 0; }
  .cmp tbody th { grid-column: 1 / -1; padding: 0 0 6px; }
  .cmp tbody td { padding: 0 14px 0 0; }
  .timing thead { display: none; }
  .timing tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .timing tbody th, .timing tbody td { border: 0; padding: 2px 0; }
  .timing tbody th { width: auto; font-size: 1.25rem; margin-bottom: 4px; }
  .timing tr.is-record th { padding-left: 12px; }
  .timing .r { text-align: left; }
  .datatable { font-size: .88rem; }
  .plate figcaption { position: static; margin: 0; max-width: none; border-radius: 0; background: var(--carbon); }
  .peek { display: none; }
}
@media (hover: none) { .peek { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .ticker__track { animation: none; }
  .ticker { overflow-x: auto; }
  .intro .lights { display: none; }
  @view-transition { navigation: none; }
}
