:root {
  color-scheme: dark;
  --ink: #000;
  --white: #f5f4ef;
  --silver: #bababc;
  --red: #ed1638;
  --rail: #333336;
  --gutter: clamp(20px, 5.3vw, 110px);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--white); }
.shell { width: min(calc(100% - 2 * var(--gutter)), 1520px); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.top, nav, .foot, .stations, .photo-bar, .controls { display: flex; align-items: center; }
.top, .foot, .photo-bar { justify-content: space-between; }
.top { min-height: 75px; }
.logo { width: 165px; height: auto; }
nav { gap: clamp(1rem,3vw,3rem); font-size: .94rem; }
nav a, .foot a { padding-block: 10px; }
nav a:hover, .foot a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero { isolation: isolate; position: relative; border-block: 1px solid var(--rail); overflow: hidden; }
.race-photo { position: absolute; z-index: -2; inset: 0 0 0 29%; clip-path: polygon(17% 0,100% 0,100% 100%,0 100%); background: #171719; }
.race-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; }
.race-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#000d,transparent 28%),linear-gradient(90deg,#0006,transparent 36%); }
.cover { position: relative; padding-block: clamp(50px,5vw,85px) 28px; }
.cover-copy { width: 43%; }
.motto { font: italic 700 clamp(1rem,1.4vw,1.25rem)/1.3 "Bahnschrift",Arial,sans-serif; margin: 0 0 17px; }
h1 { width: max-content; font-size: clamp(3.5rem,6.9vw,7.7rem); letter-spacing: -.075em; line-height: 1.04; font-weight: 950; transform: skew(-8deg); transform-origin: left bottom; margin: 0 0 26px; text-shadow: 0 2px 16px #0002; }
.stop { color: var(--red); }
.lede { max-width: min(32vw,27em); line-height: 1.85; font-size: 1rem; color: #d3d3d3; margin: 0; }
.photo-bar { position: relative; gap: 14px; padding: 14px 0 23px; }
.flag { width: 54px; height: 18px; transform: skew(-12deg); background: repeating-conic-gradient(#eee 0% 25%,transparent 0% 50%) 0 0/18px 18px; }
.stations { gap: 14px; padding: 3px 4px 3px 15px; background: #080808e8; }
.series { font-size: .88rem; font-weight: bold; white-space: nowrap; }
.static-place { padding: 8px 12px; font-size: .9rem; }
.controls { gap: 3px; }
[hidden] { display: none !important; }
.controls button { cursor: pointer; color: #d0d0d0; border: 0; background: transparent; padding: 11px 14px; font: inherit; font-size: .9rem; }
.controls button[aria-pressed="true"] { background: #bd112c; color: white; font-weight: bold; }
.controls button:hover { box-shadow: inset 0 -2px var(--red); }
.services { padding-block: 36px 47px; }
h2 { margin: 0 0 20px; font-size: clamp(1.55rem,2.3vw,2.25rem); line-height: 1.2; }
.entries { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px,2.3vw,34px); }
.entry { display: grid; grid-template-columns: 39% 1fr; align-items: stretch; background: #151517; }
.thumb { overflow: hidden; min-height: 185px; clip-path: polygon(0 0,100% 0,86% 100%,0 100%); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.helmet img { object-position: 50% 40%; }
.entry-copy { padding: 23px clamp(12px,1.5vw,28px) 23px 10px; align-self: center; }
.entry h3 { margin: 0; font-size: clamp(1.15rem,1.6vw,1.7rem); line-height: 1.28; }
.entry h3 span { display: block; font: italic 800 clamp(1.25rem,2vw,2.3rem)/1.1 "Bahnschrift Condensed","Arial Narrow",sans-serif; letter-spacing: -.035em; margin-bottom: 3px; }
.entry p { margin: 11px 0 19px; color: var(--silver); font-size: 1rem; line-height: 1.6; }
.entry strong { display: inline-block; border-bottom: 2px solid var(--red); padding-bottom: 4px; font-size: .92rem; }
.entry:hover strong { border-bottom-color: white; }
footer { border-top: 1px solid var(--rail); }
.foot { padding-block: 13px; color: var(--silver); font-size: .9rem; gap: 10px; flex-wrap: wrap; }
@media (min-width:761px) { .entry { height: clamp(195px,14.8vw,245px); } }
@media (max-width:980px) { .entry { grid-template-columns: 35% 1fr; } }
@media (max-width:760px) {
  .top { min-height: 62px; } .logo { width: 127px; }
  .race-photo { position: relative; inset: auto; height: clamp(225px,57vw,425px); clip-path: polygon(0 0,100% 0,100% 87%,0 100%); }
  .race-photo img { object-position: 50% 43%; } .race-photo::after { background: linear-gradient(0deg,#0005,transparent 40%); }
  .cover { padding: 18px 0 22px; } .cover-copy { width: 100%; }
  .motto { margin-bottom: 12px; } h1 { font-size: clamp(3rem,9vw,4.7rem); line-height: 1.07; margin-bottom: 14px; }
  h1 br { display: none; } .lede { max-width: 36em; }
  .photo-bar { padding: 0 0 20px; } .flag { display: none; }
  .stations { width: 100%; justify-content: space-between; background: #151517; gap: 2px; padding-left: 10px; }
  .controls button { padding: 10px clamp(7px,2vw,13px); }
  .services { padding-block: 28px 32px; } .entries { grid-template-columns: 1fr; gap: 14px; }
  .entry { grid-template-columns: 38% 1fr; } .thumb { min-height: 162px; height: 100%; max-height: 204px; }
  .entry-copy { padding-block: 16px; } .entry p { margin: 8px 0 12px; }
}
@media (max-width:480px) { h1 br { display: initial; } }
