:root {
  --ink: #07110f;
  --paper: #e9f0e9;
  --acid: #c9ff38;
  --aqua: #55e4d4;
  --muted: #99aaa4;
  --line: rgba(233, 240, 233, .16);
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.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; left: 1rem; top: -5rem; z-index: 100; background: var(--acid); color: var(--ink); padding: .7rem 1rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.progress { position: fixed; z-index: 60; inset: 0 0 auto; height: 3px; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--aqua), var(--acid)); }

.site-header {
  position: absolute; z-index: 50; top: 0; left: 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--pad); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 900; letter-spacing: .09em; }
.brand-mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid currentColor; font-size: .85rem; transform: rotate(-5deg); }
.brand-word { font-size: .82rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1.3rem, 3vw, 3rem); }
.site-nav a { position: relative; color: var(--paper); text-decoration: none; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -.5rem; width: 100%; height: 2px; background: var(--acid); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.hero { min-height: 100svh; padding: clamp(8rem, 13vw, 10rem) var(--pad) 0; background: radial-gradient(circle at 76% 23%, rgba(85,228,212,.13), transparent 29%), var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, .85fr); align-items: center; gap: clamp(3rem, 6vw, 7rem); min-height: calc(100svh - 12rem); max-width: 1500px; margin: 0 auto; }
.eyebrow { margin: 0 0 1.4rem; color: var(--acid); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { color: var(--muted); margin-left: .8rem; }
h1, h2, h3 { margin: 0; line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
h1 { font-size: clamp(4rem, 8.5vw, 9rem); max-width: 9ch; }
h1 em, h2 em { color: var(--aqua); font-style: italic; font-weight: 400; }
.hero-lede { max-width: 38rem; margin: 2rem 0 0; color: #b9c7c2; font-size: clamp(1.05rem, 1.4vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; padding: .8rem 1.25rem; border: 1px solid transparent; text-decoration: none; font-size: .76rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--aqua); outline-offset: 4px; }
.button-primary { background: var(--acid); color: var(--ink); }
.button-ghost { border-color: rgba(233,240,233,.35); color: var(--paper); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 34rem); }
.photo-frame { position: relative; z-index: 2; aspect-ratio: 4 / 5; overflow: hidden; clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); background: var(--aqua); box-shadow: 0 2rem 6rem rgba(0,0,0,.45); }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,17,15,.06), transparent 50%, rgba(7,17,15,.5)); pointer-events: none; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; filter: saturate(.92) contrast(1.04); }
.photo-label { position: absolute; z-index: 3; color: #fff; font-size: .66rem; font-weight: 900; letter-spacing: .14em; }
.label-top { top: 1.4rem; right: 1.7rem; writing-mode: vertical-rl; }
.label-bottom { left: 1.6rem; bottom: 1.5rem; }
.orbit { position: absolute; z-index: 1; border: 1px solid rgba(85,228,212,.34); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 72%; aspect-ratio: 1; left: -17%; top: -8%; }
.orbit-two { width: 44%; aspect-ratio: 1; right: -17%; bottom: 3%; border-color: rgba(201,255,56,.38); }
.hero-rail { display: flex; align-items: center; gap: 1.5rem; width: calc(100% + 2 * var(--pad)); margin-left: calc(-1 * var(--pad)); padding: 1.1rem var(--pad); border-top: 1px solid var(--line); overflow: hidden; color: var(--muted); font-size: .75rem; font-weight: 900; letter-spacing: .18em; white-space: nowrap; }
.hero-rail i { flex: 1 0 4rem; height: 1px; background: var(--line); }

.section { padding: clamp(6rem, 11vw, 11rem) var(--pad); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; max-width: 1500px; margin: 0 auto 4rem; }
h2 { font-size: clamp(3rem, 7vw, 7.5rem); }
.disciplines { background: #dfe9e1; color: var(--ink); }
.disciplines .eyebrow { color: #2b6e65; }
.discipline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 1500px; margin: 0 auto; background: rgba(7,17,15,.18); border: 1px solid rgba(7,17,15,.18); }
.discipline-card { min-height: 35rem; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.5rem, 3vw, 2.5rem); background: #edf2ed; transition: background .25s ease, color .25s ease, transform .25s ease; }
.discipline-card:hover { z-index: 2; transform: translateY(-.5rem); }
.discipline-card.road:hover { background: var(--acid); }
.discipline-card.bike:hover { background: var(--aqua); }
.discipline-card.gravel:hover { background: var(--ink); color: var(--paper); }
.card-topline { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 900; letter-spacing: .15em; }
.discipline-card svg { width: 100%; overflow: visible; }
.discipline-card path { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; }
.discipline-card .ghost { opacity: .16; }
.discipline-card h3 { font-size: clamp(2.7rem, 4.6vw, 5.2rem); }
.discipline-card p { max-width: 28rem; margin: 1.25rem 0 0; color: #4b5c57; font-size: 1rem; }
.discipline-card.gravel:hover p { color: #b8c6c1; }

.mindset { position: relative; min-height: 65rem; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(3rem, 7vw, 8rem); overflow: hidden; }
.mindset-art { position: relative; min-height: 42rem; }
.huge-type { position: absolute; left: -5vw; top: 7rem; font-size: clamp(9rem, 22vw, 26rem); font-weight: 950; line-height: .7; letter-spacing: -.09em; color: transparent; -webkit-text-stroke: 1px rgba(233,240,233,.18); transform: rotate(-6deg); }
.wheel { position: absolute; border: 1px solid rgba(85,228,212,.36); border-radius: 50%; }
.wheel::before, .wheel::after { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: rgba(85,228,212,.19); }
.wheel::after { transform: rotate(90deg); }
.wheel-a { width: clamp(13rem, 24vw, 25rem); aspect-ratio: 1; left: 2%; bottom: 2rem; }
.wheel-b { width: clamp(10rem, 17vw, 18rem); aspect-ratio: 1; right: 3%; top: 2rem; border-color: rgba(201,255,56,.3); }
.route { position: absolute; inset: 11rem -4rem auto; width: calc(100% + 8rem); }
.route path { fill: none; stroke: var(--acid); stroke-width: 3; stroke-dasharray: 7 10; vector-effect: non-scaling-stroke; }
.mindset-copy { position: relative; z-index: 2; max-width: 42rem; }
.mindset-copy h2 { font-size: clamp(3rem, 5.7vw, 6rem); }
.mindset-copy > p:not(.eyebrow) { max-width: 38rem; margin: 2rem 0; color: #b2c1bc; font-size: clamp(1.06rem, 1.5vw, 1.25rem); }
.manifesto { display: grid; gap: 0; border-top: 1px solid var(--line); }
.manifesto span { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--paper); font-size: .77rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.next { position: relative; min-height: 80vh; display: grid; place-items: center; overflow: hidden; background: var(--acid); color: var(--ink); text-align: center; }
.next-inner { position: relative; z-index: 2; max-width: 80rem; }
.next .eyebrow { color: #31594f; }
.next h2 { font-size: clamp(3.5rem, 9.3vw, 9.5rem); }
.next h2 em { color: #0d6d64; }
.next p:not(.eyebrow) { margin: 2rem auto; max-width: 35rem; font-size: clamp(1.05rem, 1.4vw, 1.22rem); }
.button-light { background: var(--ink); color: var(--paper); }
.next-sun { position: absolute; width: min(64vw, 58rem); aspect-ratio: 1; border: 1px solid rgba(7,17,15,.2); border-radius: 50%; box-shadow: 0 0 0 3vw rgba(7,17,15,.025), 0 0 0 8vw rgba(7,17,15,.025), 0 0 0 14vw rgba(7,17,15,.025); }

.site-footer { min-height: 10rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem var(--pad); border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-brand { color: var(--paper); }
.footer-brand .brand-mark { width: 2.2rem; height: 2.2rem; }

.reveal { opacity: 0; transform: translateY(2rem); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 2rem; }
  .discipline-grid { grid-template-columns: 1fr; }
  .discipline-card { min-height: 25rem; }
  .discipline-card svg { max-width: 26rem; }
  .mindset { grid-template-columns: 1fr; min-height: auto; }
  .mindset-art { min-height: 28rem; }
}

@media (max-width: 720px) {
  :root { --pad: 1.25rem; }
  .site-header { position: absolute; padding-top: 1rem; padding-bottom: 1rem; }
  .brand-word { font-size: .72rem; }
  .brand, .menu-toggle { position: relative; z-index: 50; }
  .menu-toggle { display: block; position: relative; width: 3rem; height: 3rem; padding: 0; border: 1px solid var(--line); background: rgba(7,17,15,.9); color: var(--paper); }
  .menu-toggle span:not(.sr-only) { position: absolute; left: .85rem; top: calc(50% - 1px); width: 1.25rem; height: 2px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle span:first-child { transform: translateY(-4px); }
  .menu-toggle span:nth-child(2) { transform: translateY(4px); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: 40; display: grid; place-content: center; gap: 2rem; background: #07110f; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav a { font-size: clamp(2rem, 9vw, 3.2rem); letter-spacing: -.03em; text-align: center; }
  .hero { padding-top: 7rem; }
  .hero-grid { display: flex; flex-direction: column; min-height: auto; gap: 3rem; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(3.9rem, 18vw, 6.5rem); }
  .hero-visual { width: min(94%, 30rem); margin-bottom: 3rem; }
  .photo-frame { aspect-ratio: 4 / 5; }
  .hero-rail { gap: 1rem; }
  .section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .section-heading { display: block; margin-bottom: 2.5rem; }
  h2 { font-size: clamp(3rem, 15vw, 5.2rem); }
  .discipline-card { min-height: 27rem; }
  .discipline-card:hover { transform: none; }
  .mindset { gap: 2rem; }
  .mindset-art { min-height: 22rem; order: 2; }
  .mindset-copy { order: 1; }
  .huge-type { top: 5rem; }
  .route { top: 8rem; }
  .next { min-height: 75vh; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@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; }
}
