:root {
  --navy: #071a2d;
  --navy-2: #0b263f;
  --ink: #08121d;
  --blue: #496ab4;
  --teal: #2ed9c3;
  --ice: #e9eef3;
  --white: #fff;
  --line: rgba(255, 255, 255, .22);
  --pad: clamp(22px, 4.5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
::selection { background: var(--teal); color: var(--ink); }

.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-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  background: var(--teal);
  color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.race-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(clamp(20px,4vw,72px),calc((100vw - 1440px)/2));
  transition: background .25s ease;
}
.race-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}
.race-header.is-scrolled {
  background: rgba(7, 26, 45, .94);
  backdrop-filter: blur(12px);
}

.team-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.team-brand-mark {
  width: 35px;
  height: 41px;
  flex: 0 0 auto;
  color: #d7c08d;
  background: currentColor;
  -webkit-mask: url("/assets/brand/kocsisdani-mark.svg") center / contain no-repeat;
  mask: url("/assets/brand/kocsisdani-mark.svg") center / contain no-repeat;
  font-size: 0;
}
.team-brand-name { color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .24em; }

.race-nav { display: grid; width: min(690px,58vw); grid-template-columns: repeat(6,minmax(0,1fr)); align-items: center; }
.race-nav a {
  position: relative;
  justify-self: center;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}
.race-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.race-nav a:hover::after, .race-nav a:focus-visible::after, .race-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.race-nav .nav-home {
  padding: 13px 20px;
  background: var(--teal);
  color: var(--ink);
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 88%);
}
.race-nav .nav-home::after { display: none; }
.menu-toggle { display: none; }

.cycle-hero {
  position: relative;
  min-height: 760px;
  height: min(920px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}
.hero-background,
.hero-background img,
.hero-shade,
.hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-background { z-index: -4; }
.hero-background img {
  object-fit: cover;
  object-position: 50% 49%;
  filter: saturate(.75) contrast(1.12) brightness(.58) hue-rotate(158deg);
  transform: scale(1.04);
}
.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 15, 28, .97) 0%, rgba(4, 15, 28, .76) 40%, rgba(4, 15, 28, .06) 78%),
    linear-gradient(0deg, var(--navy) 0%, transparent 24%),
    linear-gradient(120deg, rgba(73, 106, 180, .25), transparent 45%);
}
.hero-grid {
  z-index: -2;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}
.hero-grid::after {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(118deg, transparent 0 180px, rgba(46,217,195,.24) 181px 183px, transparent 184px 240px);
  content: "";
}

.hero-copy {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: var(--pad);
  width: min(670px, 52vw);
  transform: translateY(-46%);
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .32em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  display: inline-block;
  width: 44px;
  height: 3px;
  margin: 0 14px 3px 0;
  background: currentColor;
  content: "";
  clip-path: polygon(0 0, 100% 0, 88% 100%, 8% 72%);
}
.eyebrow--dark { color: var(--blue); }
.hero-copy h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(64px, 8.1vw, 144px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .76;
  text-transform: uppercase;
}
.hero-copy h1 span { display: block; white-space: nowrap; }
.hero-copy h1 span:last-child {
  color: transparent;
  -webkit-text-stroke: clamp(1px, .12vw, 2px) rgba(255,255,255,.84);
  transform: translateX(clamp(16px, 3vw, 54px));
}
.hero-quote {
  position: relative;
  margin: 0;
}
.hero-quote::before {
  position: absolute;
  top: -.34em;
  left: -.2em;
  color: rgba(46, 217, 195, .32);
  content: "“";
  font-family: Georgia, serif;
  font-size: clamp(100px, 13vw, 210px);
  line-height: 1;
  pointer-events: none;
}
.hero-quote-continuation {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.35vw, 20px);
  font-style: italic;
  line-height: 1.55;
}
.hero-quote cite {
  display: block;
  margin-top: 10px;
  color: var(--teal);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero-lead {
  max-width: 585px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.race-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(5% 0, 100% 0, 96% 80%, 88% 100%, 0 92%, 2% 15%);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.race-button:hover, .race-button:focus-visible { transform: translateY(-3px) skewX(-2deg); }
.race-button span { font-size: 20px; line-height: 1; }
.race-button--light { background: var(--white); color: var(--ink); }
.race-button--ghost { border-color: rgba(255,255,255,.4); background: rgba(7,26,45,.38); color: var(--white); }
.race-button--teal { background: var(--teal); color: var(--ink); }
.race-button--dark { background: var(--ink); color: var(--white); }

.hero-rider {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: auto;
  height: min(94%, 800px);
  aspect-ratio: 1;
  pointer-events: none;
  filter: drop-shadow(-30px 22px 36px rgba(0,0,0,.44));
  transform: translate3d(var(--rider-x, 0), var(--rider-y, 0), 0);
  transition: transform .18s ease-out;
}
.hero-rider img { width: 100%; height: 100%; object-fit: contain; }
.hero-route {
  position: absolute;
  z-index: 2;
  right: -1%;
  bottom: 16%;
  width: 59vw;
  opacity: .8;
  transform: rotate(-4deg);
}
.hero-route svg { width: 100%; overflow: visible; }
.hero-route path { fill: none; }
.route-shadow { stroke: rgba(0,0,0,.42); stroke-width: 13; }
.route-line {
  stroke: var(--teal);
  stroke-width: 3;
  stroke-dasharray: 10 13;
  animation: route-flow 8s linear infinite;
}
@keyframes route-flow { to { stroke-dashoffset: -230; } }

.hero-telemetry {
  position: absolute;
  z-index: 6;
  right: var(--pad);
  bottom: 26px;
  left: var(--pad);
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(24px, 4vw, 70px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: rgba(255,255,255,.65);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}
.hero-telemetry b { margin-right: 8px; color: var(--teal); }
.hero-index {
  position: absolute;
  z-index: 1;
  right: -18px;
  top: 110px;
  color: rgba(255,255,255,.28);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(54px, 7.2vw, 120px);
  letter-spacing: .02em;
  line-height: .78;
  text-align: right;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-index strong { color: rgba(46,217,195,.38); font-weight: inherit; }

.section-pad { padding: clamp(90px, 11vw, 170px) var(--pad); }
.manifesto {
  position: relative;
  background: var(--ice);
  color: var(--ink);
}
.manifesto::before {
  position: absolute;
  top: -54px;
  right: 0;
  left: 0;
  height: 56px;
  background: var(--ice);
  content: "";
  clip-path: polygon(0 100%, 0 74%, 14% 40%, 28% 70%, 43% 20%, 57% 58%, 72% 8%, 86% 45%, 100% 0, 100% 100%);
}
.section-heading { display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px 8vw; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2,
.ride-copy h2,
.team-heading h2,
.contact-inner h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(50px, 7vw, 116px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: .9;
  text-transform: uppercase;
}
.section-heading > p:last-child,
.team-heading > p:last-child,
.contact-inner > p {
  margin: 0;
  color: #52606d;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.72;
}
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: clamp(60px, 8vw, 110px); }
.principle {
  position: relative;
  min-height: 350px;
  padding: clamp(28px, 3vw, 48px);
  overflow: hidden;
  background: var(--white);
  clip-path: polygon(0 4%, 92% 0, 100% 9%, 96% 92%, 84% 100%, 3% 96%);
}
.principle:nth-child(2) { transform: translateY(26px); clip-path: polygon(6% 0, 100% 5%, 96% 94%, 80% 100%, 0 92%, 3% 12%); }
.principle:nth-child(3) { transform: translateY(-13px); clip-path: polygon(0 8%, 13% 0, 96% 4%, 100% 86%, 91% 100%, 4% 95%); }
.principle::before {
  position: absolute;
  inset: auto -15% -40% 20%;
  height: 80%;
  border: 1px solid rgba(73,106,180,.18);
  content: "";
  transform: rotate(-17deg);
}
.principle-number {
  color: var(--blue);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 72px;
  line-height: 1;
}
.principle h3 { margin: 68px 0 14px; font-size: 23px; text-transform: uppercase; }
.principle p { margin: 0; color: #677482; line-height: 1.65; }

.ride-section { display: grid; min-height: 780px; grid-template-columns: 1.08fr .92fr; background: var(--navy-2); }
.ride-visual { position: relative; min-height: 680px; overflow: hidden; clip-path: polygon(0 0, 100% 5%, 94% 88%, 100% 100%, 0 100%); }
.ride-visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,45,.06), rgba(7,26,45,.72)); content: ""; }
.ride-visual picture, .ride-visual img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ride-visual img { object-fit: cover; filter: saturate(.7) contrast(1.25) brightness(.62) hue-rotate(168deg); transform: scale(1.14); }
.ride-number {
  position: absolute;
  z-index: 2;
  right: 3%;
  bottom: -6%;
  color: rgba(255,255,255,.1);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: min(34vw, 490px);
  line-height: 1;
}
.ride-track { position: absolute; z-index: 3; right: 9%; bottom: 12%; left: 9%; display: flex; align-items: center; color: var(--white); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.ride-track::before { position: absolute; right: 0; left: 0; height: 2px; background: rgba(255,255,255,.44); content: ""; }
.ride-track span, .ride-track b { position: relative; z-index: 1; padding: 7px 9px; background: var(--navy); }
.ride-track b { margin-left: auto; background: var(--teal); color: var(--ink); }
.ride-track i { position: relative; z-index: 1; width: 9px; height: 9px; margin-left: 16%; background: var(--white); transform: rotate(45deg); }
.ride-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(64px, 7vw, 120px) var(--pad); }
.ride-copy h2 { max-width: 690px; font-size: clamp(52px, 6.2vw, 106px); }
.ride-copy > p:not(.eyebrow) { max-width: 650px; margin: 28px 0 36px; color: rgba(255,255,255,.66); font-size: 17px; line-height: 1.7; }
.ride-data { width: 100%; margin: 0 0 38px; border-top: 1px solid var(--line); }
.ride-data div { display: grid; grid-template-columns: 110px 1fr; padding: 15px 0; border-bottom: 1px solid var(--line); }
.ride-data dt { color: var(--teal); font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.ride-data dd { margin: 0; color: rgba(255,255,255,.8); font-size: 13px; font-weight: 700; text-transform: uppercase; }

.team-section { position: relative; background: #050d16; }
.team-section::before { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(45deg, transparent 48%, var(--teal) 49%, var(--teal) 51%, transparent 52%); background-size: 100px 100px; content: ""; }
.team-intro { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 25vw, 360px); gap: clamp(42px, 7vw, 110px); align-items: center; }
.team-heading { position: relative; z-index: 1; max-width: 760px; }
.team-heading h2 { max-width: 900px; }
.team-heading > p:last-child { max-width: 620px; margin-top: 24px; color: rgba(255,255,255,.58); }
.community-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(20px, 2.5vw, 34px);
  border: 1px solid rgba(46,217,195,.36);
  background: #e7ebf0;
  box-shadow: 18px 22px 0 rgba(46,217,195,.1), 0 28px 70px rgba(0,0,0,.28);
  clip-path: polygon(0 8%, 8% 0, 96% 3%, 100% 84%, 91% 100%, 3% 95%);
  transform: rotate(-1.2deg);
}
.community-logo::before { position: absolute; inset: 8px; border: 1px solid rgba(7,26,45,.12); content: ""; pointer-events: none; clip-path: inherit; }
.community-logo span { display: block; margin-bottom: 16px; color: #49616c; font-size: 8px; font-weight: 900; letter-spacing: .2em; text-align: center; }
.community-logo img { position: relative; width: 100%; height: auto; object-fit: contain; }
.community-status {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin-top: clamp(44px, 6vw, 82px);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(46,217,195,.36);
  background: linear-gradient(135deg, rgba(46,217,195,.13), rgba(73,106,180,.12));
  clip-path: polygon(0 7%, 4% 0, 97% 2%, 100% 84%, 95% 100%, 2% 96%);
}
.community-status span { display: block; margin-bottom: 16px; color: var(--teal); font-size: 9px; font-weight: 900; letter-spacing: .24em; }
.community-status strong { display: block; max-width: 850px; font-size: clamp(24px, 3vw, 42px); line-height: 1.18; }
.community-status p { max-width: 720px; margin: 18px 0 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.65; }
.community-values { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 28px; }
.community-values article {
  min-height: 280px;
  padding: clamp(28px, 3vw, 44px);
  border-top: 2px solid var(--teal);
  background: linear-gradient(160deg, rgba(73,106,180,.32), rgba(7,26,45,.88));
  clip-path: polygon(0 3%, 94% 0, 100% 11%, 96% 94%, 82% 100%, 3% 96%);
}
.community-values article:nth-child(2) { transform: translateY(18px); }
.community-values article > span { color: var(--teal); font-family: Impact, sans-serif; font-size: 52px; line-height: 1; opacity: .75; }
.community-values h3 { margin: 52px 0 13px; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.community-values p { margin: 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.65; }
.team-board { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; }
.team-board article {
  position: relative;
  aspect-ratio: .72;
  padding: 28px;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(160deg, rgba(73,106,180,.42), rgba(7,26,45,.9));
  clip-path: polygon(0 3%, 92% 0, 100% 9%, 95% 94%, 82% 100%, 3% 96%);
}
.team-board article:nth-child(even) { transform: translateY(24px); background: linear-gradient(160deg, rgba(46,217,195,.31), rgba(7,26,45,.9)); }
.team-board article::before {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 42%;
  aspect-ratio: 1;
  border: 2px solid rgba(255,255,255,.2);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}
.team-board span { font-size: 9px; font-weight: 900; letter-spacing: .25em; }
.team-board strong { position: absolute; right: 16px; bottom: 25px; color: rgba(255,255,255,.12); font-family: Impact, sans-serif; font-size: clamp(90px, 12vw, 190px); line-height: .8; }
.team-board p { position: absolute; bottom: 26px; left: 28px; z-index: 2; margin: 0; color: var(--teal); font-size: 10px; font-weight: 900; letter-spacing: .18em; }

.contact-section { position: relative; overflow: hidden; padding: clamp(90px, 10vw, 160px) var(--pad); background: var(--teal); color: var(--ink); }
.contact-line { position: absolute; top: 12px; left: -4%; width: 110%; color: rgba(8,18,29,.12); font-family: Impact, sans-serif; font-size: clamp(48px, 7vw, 120px); line-height: 1; white-space: nowrap; transform: rotate(-2deg); }
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px 8vw; align-items: end; }
.contact-inner .eyebrow { grid-column: 1 / -1; color: var(--ink); }
.contact-inner h2 { font-size: clamp(64px, 10vw, 160px); }
.contact-inner > p { color: rgba(8,18,29,.68); }
.contact-inner .race-button { grid-column: 2; justify-self: start; }

.race-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; padding: 46px var(--pad); background: var(--navy); }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-logo span {
  width: 38px;
  height: 44px;
  flex: 0 0 auto;
  color: #d7c08d;
  background: currentColor;
  -webkit-mask: url("/assets/brand/kocsisdani-mark.svg") center / contain no-repeat;
  mask: url("/assets/brand/kocsisdani-mark.svg") center / contain no-repeat;
  font-size: 0;
}
.footer-logo b { color: #fff; font-size: 11px; letter-spacing: .2em; }
.race-footer p { margin: 0; color: rgba(255,255,255,.58); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.race-footer > a:not(.footer-logo) { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.race-footer small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); color: rgba(255,255,255,.36); font-size: 10px; letter-spacing: .08em; }

.reveal { opacity: 0; transform: translateY(38px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .cycle-hero { min-height: 700px; height: 840px; }
  .hero-copy { width: 65vw; }
  .hero-rider { right: -4vw; width: auto; height: 90%; }
  .hero-index { display: none; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading .eyebrow { grid-column: auto; }
  .ride-section { min-height: 680px; }
  .team-board { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .team-board article { aspect-ratio: .95; }
  .team-intro { grid-template-columns: minmax(0, 1fr) minmax(230px, 280px); gap: 40px; }
  .contact-inner { grid-template-columns: 1fr 1fr; }
  .race-footer { grid-template-columns: 1fr auto; }
  .race-footer p { grid-column: 1 / -1; order: 3; }
}

@media (max-width: 760px) {
  .race-header { height: 68px; padding: 0 18px; }
  .team-brand { gap: 10px; }
  .team-brand-mark { width: 31px; height: 36px; }
  .team-brand-name { font-size: 9px; letter-spacing: .18em; }
  .menu-toggle {
    position: relative;
    z-index: 102;
    display: flex;
    width: 50px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    background: var(--teal);
    clip-path: polygon(10% 0, 100% 6%, 91% 90%, 73% 100%, 0 92%, 5% 14%);
  }
  .menu-toggle span:not(.sr-only) { width: 22px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .race-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 90px 12vw;
    background: rgba(7,26,45,.98);
    clip-path: polygon(0 0, 100% 0, 100% 92%, 82% 100%, 0 96%);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform .3s ease, opacity .3s ease;
  }
  .race-nav.is-open { opacity: 1; pointer-events: auto; transform: translateX(0); }
  .race-nav a { font-size: 22px; }
  .race-nav .nav-home { margin-top: 15px; font-size: 13px; }

  .cycle-hero { min-height: 700px; height: 100svh; max-height: 840px; }
  .hero-background img { object-position: 45% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,15,28,.98) 4%, rgba(4,15,28,.28) 72%), linear-gradient(90deg, rgba(4,15,28,.86), rgba(4,15,28,.04)); }
  .hero-copy { top: 31%; left: 20px; width: calc(100% - 40px); transform: none; }
  .hero-copy h1 { font-size: clamp(54px, 16vw, 82px); line-height: .82; }
  .hero-copy h1 span { white-space: normal; }
  .hero-copy h1 span:last-child { transform: translateX(12px); }
  .hero-lead { max-width: 92%; margin-top: 22px; font-size: 14px; line-height: 1.55; }
  .hero-quote-continuation { max-width: 94%; margin-top: 18px; font-size: 14px; line-height: 1.45; }
  .hero-quote cite { margin-top: 7px; font-size: 8px; }
  .hero-actions { margin-top: 22px; }
  .race-button { min-height: 48px; padding: 0 18px; gap: 18px; font-size: 10px; }
  .hero-rider { right: -19vw; bottom: -2vw; width: 117vw; height: auto; opacity: .77; }
  .hero-route { right: -25%; bottom: 22%; width: 120vw; }
  .hero-telemetry { right: 20px; bottom: 18px; left: 20px; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 7px; letter-spacing: .08em; }
  .hero-telemetry b { display: block; margin: 0 0 4px; }

  .section-pad { padding: 86px 20px; }
  .manifesto::before { top: -34px; height: 36px; }
  .section-heading h2, .ride-copy h2, .team-heading h2, .contact-inner h2 { font-size: clamp(46px, 14vw, 70px); }
  .section-heading > p:last-child { font-size: 16px; }
  .principles { grid-template-columns: 1fr; margin-top: 52px; }
  .principle { min-height: 270px; padding: 28px; }
  .principle:nth-child(2), .principle:nth-child(3) { transform: none; }
  .principle h3 { margin-top: 38px; }
  .ride-section { grid-template-columns: 1fr; }
  .ride-visual { min-height: 420px; clip-path: polygon(0 0, 100% 4%, 96% 88%, 100% 100%, 0 96%); }
  .ride-copy { padding: 72px 20px 90px; }
  .ride-data div { grid-template-columns: 90px 1fr; }
  .team-board { grid-template-columns: repeat(2, 1fr); margin-top: 50px; }
  .team-board article { aspect-ratio: .72; padding: 18px; }
  .team-board p { bottom: 18px; left: 18px; font-size: 8px; }
  .community-values { grid-template-columns: 1fr; gap: 10px; }
  .team-intro { grid-template-columns: 1fr; gap: 38px; }
  .community-logo { width: min(100%, 330px); justify-self: center; }
  .community-values article { min-height: 240px; }
  .community-values article:nth-child(2) { transform: none; }
  .community-values h3 { margin-top: 36px; }
  .contact-section { padding: 105px 20px 80px; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-inner .eyebrow { grid-column: auto; }
  .contact-inner .race-button { grid-column: auto; }
  .race-footer { grid-template-columns: 1fr; padding: 42px 20px; }
  .race-footer > a:not(.footer-logo) { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
