:root {
  color-scheme: dark;
  --page: #11151b;
  --surface: #181e26;
  --surface-2: #202832;
  --line: #36414f;
  --text: #f1f4f7;
  --muted: #a8b1bc;
  --red: #dc3029;
  --blue: #156ed1;
  --cyan: #54c8e9;
  --raw: #a5a29d;
  --yellow: #f5bd16;
  --mono: "DejaVu Sans Mono", "SFMono-Regular", Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 28px 90px rgb(0 0 0 / 48%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-width: 300px;
  margin: 0;
  background:
    linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px),
    var(--page);
  background-size: 48px 48px;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: var(--cyan); text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 9px 13px; transform: translateY(-160%); background: #fff; color: #111; font-family: var(--mono); }
.skip-link:focus { transform: none; }
.scroll-meter { position: fixed; z-index: 80; inset: 0 0 auto; height: 3px; }
.scroll-meter span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--red), var(--blue), var(--cyan), var(--raw), var(--yellow)); }

.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgb(255 255 255 / 8%); background: rgb(17 21 27 / 88%); backdrop-filter: blur(16px); }
.topbar { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 24px; }
.prompt-brand { display: inline-flex; min-width: 0; align-items: stretch; color: #fff; font-family: var(--mono); font-size: .78rem; font-weight: 700; line-height: 34px; text-decoration: none; white-space: nowrap; }
.seg { display: inline-block; padding: 0 17px 0 16px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%); }
.seg:first-child { padding-left: 11px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
.seg + .seg { margin-left: -7px; }
.seg-mark { background: #8f241f; }
.seg-dir { background: #bd2924; }
.seg-mode { background: #175ba2; }
.nav-links { display: flex; gap: 24px; font-family: var(--mono); font-size: .74rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.hero { padding: clamp(70px, 10vw, 136px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(460px, 1.15fr); align-items: center; gap: clamp(50px, 9vw, 130px); }
.kicker { margin: 0 0 12px; color: var(--cyan); font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.kicker span { color: var(--yellow); }
h1, h2, h3 { font-family: var(--mono); }
h1 { margin: 0; font-size: clamp(3.3rem, 7.5vw, 7rem); line-height: .89; letter-spacing: -.075em; }
h1 span { color: var(--yellow); }
.lede { max-width: 640px; margin: 30px 0; color: #c8d0d8; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.button { display: inline-flex; align-items: center; gap: 16px; padding: 12px 17px; border: 1px solid var(--blue); border-radius: 4px; background: rgb(21 110 209 / 12%); color: var(--text); font-family: var(--mono); font-size: .78rem; font-weight: 700; text-decoration: none; }
.button:hover { border-color: var(--cyan); }

.year-stack { border-top: 1px solid var(--line); }
.year-stack div { position: relative; display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 16px; min-height: 72px; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); }
.year-stack div::before { position: absolute; top: 12px; bottom: 12px; left: 0; width: 7px; border-radius: 1px; background: var(--bike-color); content: ""; box-shadow: 0 0 24px color-mix(in srgb, var(--bike-color) 46%, transparent); }
.year-stack span, .year-stack strong, .year-stack small { font-family: var(--mono); }
.year-stack span { color: var(--bike-color); font-size: 1rem; font-weight: 700; }
.year-stack strong { font-size: .82rem; }
.year-stack small { color: var(--muted); font-size: .65rem; text-transform: uppercase; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(72px, 10vw, 124px); border-block: 1px solid var(--line); }
.facts div { padding: 22px clamp(12px, 2vw, 26px); }
.facts div + div { border-left: 1px solid var(--line); }
.facts span { display: block; color: var(--muted); font-family: var(--mono); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.facts strong { font-family: var(--mono); font-size: .95rem; }

.collection { padding-bottom: clamp(80px, 10vw, 130px); }
.era-heading { padding: clamp(88px, 12vw, 154px) 0 clamp(42px, 6vw, 74px); scroll-margin-top: 60px; }
.era-heading h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.065em; }
.era-heading > p:last-child { max-width: 740px; margin: 22px 0 0; color: var(--muted); font-size: 1.04rem; }

.bike { --accent: var(--raw); padding: clamp(52px, 7vw, 88px) 0; border-block: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); scroll-margin-top: 64px; background: linear-gradient(115deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 42%); }
.bike + .bike { border-top: 0; }
.bike-red { --accent: var(--red); }
.bike-blue { --accent: var(--blue); }
.bike-cyan { --accent: var(--cyan); }
.bike-raw { --accent: var(--raw); }
.bike-yellow { --accent: var(--yellow); }
.bike-grid { display: grid; grid-template-columns: minmax(250px, .33fr) minmax(0, 1fr); align-items: center; gap: clamp(38px, 7vw, 92px); }
.bike:nth-of-type(even) .bike-grid { grid-template-columns: minmax(0, 1fr) minmax(250px, .33fr); }
.bike:nth-of-type(even) .bike-copy { order: 2; }
.bike-copy { min-width: 0; }
.bike-index { margin: 0 0 30px; color: var(--muted); font-family: var(--mono); font-size: .67rem; }
.bike-year { margin: 0; color: var(--accent); font-family: var(--mono); font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 700; line-height: 1; }
.bike-copy h3 { margin: 8px 0 20px; font-size: clamp(1.7rem, 3.2vw, 3.1rem); line-height: .98; letter-spacing: -.055em; }
.bike-color { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; color: var(--muted); font-family: var(--mono); font-size: .7rem; text-transform: uppercase; }
.bike-color span { width: 30px; height: 7px; background: var(--accent); }
.bike-copy > p:last-of-type { max-width: 390px; margin: 0; color: var(--muted); }

figure { margin: 0; }
figure button { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.bike-photo { overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 36%, var(--line)); border-radius: 5px; background: #0d1116; box-shadow: var(--shadow); }
.bike-photo button { padding: clamp(10px, 1.4vw, 18px); }
.bike-photo img { display: block; width: 100%; height: auto; border-radius: 2px; }
.bike-photo figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: .67rem; }
.bike-photo figcaption span:first-child { color: var(--accent); font-weight: 700; }

.open-file { margin-top: 30px; padding: 15px 16px; border: 1px dashed color-mix(in srgb, var(--yellow) 55%, var(--line)); border-left: 4px solid var(--yellow); background: rgb(245 189 22 / 6%); }
.open-file span, .open-file strong, .open-file small { display: block; font-family: var(--mono); }
.open-file span { color: var(--yellow); font-size: .63rem; text-transform: uppercase; }
.open-file strong { margin-top: 3px; font-size: .84rem; }
.open-file small { margin-top: 4px; color: var(--muted); font-size: .68rem; }
.open-file a { display: inline-block; margin-top: 11px; color: var(--yellow); font-family: var(--mono); font-size: .7rem; font-weight: 700; text-decoration: none; }
.open-file a:hover { text-decoration: underline; }
.open-file.trust-file { border-color: color-mix(in srgb, #b848c3 55%, var(--line)); border-left-color: #b848c3; background: rgb(184 72 195 / 6%); }
.open-file.trust-file span, .open-file.trust-file a { color: #d36bdd; }

.soundwave-video { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(280px, 1.35fr); align-items: center; gap: clamp(36px, 7vw, 90px); margin-top: clamp(58px, 8vw, 96px); padding-top: clamp(48px, 7vw, 76px); border-top: 1px solid color-mix(in srgb, var(--yellow) 38%, var(--line)); }
.soundwave-video h4 { margin: 0; font-family: var(--mono); font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.05; letter-spacing: -.05em; }
.soundwave-video p:last-child { max-width: 440px; margin: 18px 0 0; color: var(--muted); }
.soundwave-video p a { color: var(--yellow); }
.video-frame { width: min(100%, 410px); justify-self: center; overflow: hidden; border: 1px solid color-mix(in srgb, var(--yellow) 42%, var(--line)); border-radius: 6px; background: #050607; box-shadow: var(--shadow); }
.video-frame iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; }

.site-footer { display: flex; min-height: 106px; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-family: var(--mono); font-size: .7rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

.lightbox { width: min(95vw, 1600px); max-width: none; max-height: 94vh; padding: 48px 12px 12px; border: 1px solid var(--line); border-radius: 6px; background: #080b0f; color: var(--text); box-shadow: 0 30px 100px #000; }
.lightbox::backdrop { background: rgb(0 0 0 / 88%); backdrop-filter: blur(5px); }
.lightbox img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(94vh - 90px); margin: auto; object-fit: contain; }
.lightbox p { margin: 9px 4px 0; color: var(--muted); font-family: var(--mono); font-size: .68rem; text-align: center; }
.lightbox-close { position: absolute; top: 10px; right: 12px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--text); font-family: var(--mono); cursor: pointer; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .facts div:nth-child(4) { border-top: 1px solid var(--line); }
  .bike-grid { grid-template-columns: 1fr; }
  .bike:nth-of-type(even) .bike-grid { grid-template-columns: 1fr; }
  .bike-copy { max-width: 620px; }
  .bike:nth-of-type(even) .bike-copy { order: initial; }
  .soundwave-video { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 24px, 1280px); }
  .site-header { position: relative; }
  .topbar { min-height: 60px; }
  .seg-mode { display: none; }
  .hero { padding-top: 50px; }
  .hero-grid { gap: 55px; }
  .year-stack div { grid-template-columns: 62px 1fr; padding-left: 21px; }
  .year-stack small { display: none; }
  .facts { margin-top: 66px; }
  .facts div { padding: 16px 10px; }
  .era-heading { padding-top: 86px; }
  .bike { padding-block: 44px; }
  .bike-index { margin-bottom: 22px; }
  .bike-photo figcaption { display: block; }
  .bike-photo figcaption span { display: block; }
  .site-footer { display: block; padding: 30px 0; }
  .site-footer span { display: block; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
