:root {
  --ink: #111317;
  --paper: #f7f7f4;
  --muted: #777c82;
  --line: rgba(17, 19, 23, 0.16);
  --accent: #315579;
  --blue-dark: #203b58;
  --blue-pale: #e9eef2;
  --header-h: 82px;
  --gutter: clamp(22px, 5vw, 76px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--accent); color: white; }
.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: 20px; top: -100px; z-index: 100; background: var(--paper); color: var(--ink); padding: 12px 18px; }
.skip-link:focus { top: 20px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, height .35s ease;
}
.site-header.scrolled { height: 68px; color: var(--ink); background: rgba(247,247,244,.94); border-color: var(--line); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; width: clamp(132px, 14vw, 190px); }
.brand img { width: 100%; height: 58px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.site-header.scrolled .brand img { filter: brightness(0) saturate(100%) invert(29%) sepia(21%) saturate(1626%) hue-rotate(169deg) brightness(93%) contrast(88%); }
.nav-menu { display: flex; align-items: center; gap: 34px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav-menu a { position: relative; }
.nav-menu > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.nav-menu > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { border: 1px solid currentColor; padding: 12px 17px; transition: color .25s, background .25s; }
.nav-cta:hover { color: white; background: var(--accent); }
.nav-cta span { color: var(--accent); margin-left: 8px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: white; padding: 10px; }
.site-header.scrolled .menu-toggle { color: var(--blue-dark); }
.site-header.scrolled .menu-toggle[aria-expanded="true"] { color: white; }
.menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 1px; margin: 6px 0; background: currentColor; transition: transform .25s, opacity .25s; }

.hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: -4%; z-index: -3; background: url("assets/hero-hairpin-user.jpg") 52% center/cover no-repeat; transform: scale(1.035) translateY(var(--hero-shift, 0px)); animation: heroZoom 1.8s cubic-bezier(.2,.7,.2,1) both; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(20,31,40,.82) 0%, rgba(25,45,62,.58) 35%, rgba(17,25,30,.06) 70%, rgba(17,25,30,.14) 100%), linear-gradient(0deg, rgba(14,25,34,.48), transparent 40%); }
.hero-content { width: min(760px, 100%); padding: 0 var(--gutter) clamp(96px, 12vh, 140px); }
.eyebrow { margin: 0 0 24px; color: var(--accent); font-size: .73rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-eyebrow { color: white; animation: rise .8s .2s both; }
.hero h1, .section-heading h2, .manifesto h2, .rides h2, .newsletter h2, .final-cta h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .87;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(4rem, 9.4vw, 9rem); animation: rise .95s .32s both; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.82); }
.hero-copy { max-width: 410px; margin: 26px 0 0; font-size: clamp(1rem, 1.5vw, 1.28rem); color: rgba(255,255,255,.78); animation: rise .85s .48s both; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; animation: rise .85s .62s both; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 210px; padding: 16px 19px; font-size: .77rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: #3f6d98; }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: #fff; }
.text-link, .arrow-link { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.text-link span, .arrow-link span { color: var(--accent); margin-left: 7px; }
.hero-corner { position: absolute; right: var(--gutter); bottom: 40px; display: flex; gap: 18px; color: rgba(255,255,255,.55); font: 700 .68rem/1 monospace; letter-spacing: .16em; text-transform: uppercase; transform: rotate(-90deg) translateX(100%); transform-origin: right bottom; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 10px; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.scroll-cue span { width: 34px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.scroll-cue span::after { content:""; position:absolute; inset:0; background:white; animation: scan 2s infinite; }

.proof { padding: clamp(90px, 12vw, 170px) var(--gutter); display: grid; grid-template-columns: .8fr 1.7fr; gap: 8vw; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.proof-intro { display: flex; gap: 18px; align-items: flex-start; color: var(--muted); }
.proof-intro p { margin: 0; }
.section-number { color: var(--accent); font: 700 .68rem/1 monospace; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; }
.stat strong { display: block; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2.7rem, 5vw, 5.6rem); font-weight: 900; letter-spacing: -.03em; line-height: .85; white-space: nowrap; }
.stat span { display: block; margin-top: 18px; color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }

.manifesto { position: relative; padding: clamp(100px, 13vw, 190px) var(--gutter); min-height: 720px; display: grid; grid-template-columns: 1.7fr .7fr; gap: 8vw; align-items: center; overflow: hidden; color: var(--ink); background: #fff; }
.manifesto h2 { font-size: clamp(3.4rem, 7vw, 7.4rem); }
.manifesto h2 em, .newsletter h2 em, .final-cta h2 em { color: var(--accent); font-style: normal; }
.headline-punctuation { display: inline-block; margin-left: .06em; }
.manifesto-copy { align-self: end; padding-bottom: 40px; }
.manifesto-copy p { max-width: 420px; margin: 0 0 34px; color: #60656b; font-size: clamp(1rem, 1.5vw, 1.28rem); }
.arrow-link { display: inline-block; padding-bottom: 8px; border-bottom: 1px solid rgba(17,19,23,.35); }
.road-line { position: absolute; left: 55%; bottom: -200px; width: 520px; height: 520px; border: 1px solid rgba(49,85,121,.14); border-radius: 50%; transform: rotate(-25deg); pointer-events: none; }
.road-line span { position: absolute; inset: 44px; border: 1px dashed rgba(49,85,121,.38); border-radius: inherit; }

.forum-section { background: var(--blue-pale); color: var(--ink); padding: clamp(100px, 12vw, 170px) var(--gutter); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: end; margin-bottom: 84px; }
.section-heading .eyebrow { align-self: start; margin-top: 8px; }
.section-heading h2 { font-size: clamp(4rem, 7.7vw, 8rem); }
.topic-list { border-top: 1px solid rgba(10,10,9,.24); }
.topic { position: relative; display: grid; grid-template-columns: 8% 31% 1fr auto; gap: 28px; align-items: center; padding: 34px 0; border-bottom: 1px solid rgba(10,10,9,.24); overflow: hidden; }
.topic::before { content:""; position:absolute; inset:0; background:var(--blue-dark); transform: translateX(-101%); transition: transform .35s cubic-bezier(.2,.75,.2,1); }
.topic > * { position: relative; z-index: 1; }
.topic:hover::before { transform: translateX(0); }
.topic:hover { color: white; }
.topic-index { font: 700 .67rem/1 monospace; }
.topic h3 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2rem, 3.7vw, 4rem); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
.topic p { margin: 0; max-width: 460px; color: #6e6b65; transition: color .25s; }
.topic:hover p { color: rgba(255,255,255,.8); }
.topic-arrow { font-size: 1.3rem; }

.rides { min-height: 820px; display: grid; grid-template-columns: 1.15fr .85fr; background: var(--blue-dark); }
.rides-image { min-height: 680px; background: linear-gradient(90deg, transparent 65%, rgba(32,59,88,.3)), url("assets/hero-hairpin-user.jpg") 52% center/cover no-repeat; }
.rides-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 9vw, 130px) var(--gutter) clamp(70px, 9vw, 130px) clamp(50px, 7vw, 110px); }
.rides .eyebrow { color: white; }
.rides h2 { font-size: clamp(3.8rem, 6.6vw, 7rem); }
.rides-panel > p:not(.eyebrow) { max-width: 450px; margin: 28px 0 30px; color: #b8b5ae; font-size: 1.08rem; }
.rides ul { list-style: none; padding: 0; margin: 0 0 38px; border-top: 1px solid rgba(255,255,255,.2); }
.rides li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.2); color: #edf1f4; }
.rides li span { color: var(--accent); font: 700 .66rem/1.8 monospace; }

.newsletter { padding: clamp(100px, 12vw, 170px) var(--gutter); display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: center; background: var(--paper); color: var(--ink); }
.newsletter h2 { font-size: clamp(4rem, 7vw, 7.5rem); }
.newsletter-copy > p:not(.eyebrow) { max-width: 380px; margin: 28px 0 32px; color: #65615a; }
.newsletter-visual { position: relative; min-height: 430px; display: flex; align-items: flex-end; gap: clamp(18px,3vw,48px); padding: clamp(34px,6vw,82px); overflow: hidden; color: white; background: var(--blue-dark); }
.newsletter-visual::before { content: ""; position: absolute; right: -9%; top: -38%; width: 72%; aspect-ratio: 1; border: 2px solid rgba(255,255,255,.46); border-radius: 48% 52% 44% 56%; transform: rotate(23deg); }
.newsletter-visual::after { content: ""; position: absolute; right: 5%; top: -22%; width: 42%; aspect-ratio: 1; border: 1px dashed rgba(255,255,255,.35); border-radius: 53% 47% 58% 42%; transform: rotate(-18deg); }
.newsletter-visual > span { position: relative; z-index: 1; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(7rem, 16vw, 15rem); line-height: .7; letter-spacing: -.04em; }
.newsletter-visual p { position: relative; z-index: 1; margin: 0; font-size: clamp(1.35rem, 2.4vw, 2.5rem); line-height: .95; font-weight: 800; text-transform: uppercase; }
.newsletter-visual strong { color: #b9cce0; }
.newsletter-visual i { position: absolute; left: 0; bottom: 16px; width: 100%; height: 5px; background: linear-gradient(90deg, #fff 0 38%, #9eb5cc 38% 78%, #728da9 78%); }

.final-cta { position: relative; min-height: 680px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; padding: 100px var(--gutter); background: var(--blue-dark); }
.final-cta::before { content:""; position:absolute; width: 700px; height:700px; border:1px solid rgba(255,255,255,.07); border-radius:50%; }
.final-cta > .eyebrow { color: #c7d7e5; }
.final-cta h2 { z-index:1; font-size: clamp(4.3rem, 9vw, 9.5rem); }
.final-cta h2 em { color: #b9cce0; }
.circle-link { z-index:1; width: min(360px, 100%); margin-top: 46px; padding: 24px 28px; color: var(--blue-dark); background:white; box-shadow: 10px 10px 0 #9fb8cf; display:flex; align-items:center; justify-content:space-between; gap:24px; text-align:left; font-size:.86rem; font-weight:900; line-height:1.2; letter-spacing:.1em; text-transform:uppercase; transition:transform .3s ease, background .3s ease, box-shadow .3s ease; }
.circle-link:hover { transform: translate(-3px, -3px); background:#eef4f8; box-shadow: 14px 14px 0 #9fb8cf; }
.circle-link b { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; color: white; background: var(--blue-dark); font-size:1.2rem; transition: transform .3s ease; }
.circle-link:hover b { transform: translate(3px, -3px); }

footer { min-height: 150px; padding: 36px var(--gutter); border-top: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; color: #d0dbe4; background: var(--blue-dark); font-size: .75rem; }
.footer-brand { width: 150px; }
.footer-brand img { filter: brightness(0) invert(1) !important; }
footer p { margin: 0; text-align: center; }
.footer-links { display: flex; justify-content: flex-end; gap: 24px; }
.footer-links a:hover { color: var(--paper); }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.topic.reveal:nth-child(2) { transition-delay: .08s; }
.topic.reveal:nth-child(3) { transition-delay: .16s; }
.topic.reveal:nth-child(4) { transition-delay: .24s; }

@keyframes rise { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
@keyframes heroZoom { from { opacity:0; transform:scale(1.12) translateY(var(--hero-shift, 0px)); } to { opacity:1; transform:scale(1.035) translateY(var(--hero-shift, 0px)); } }
@keyframes scan { from { transform:translateX(-110%); } to { transform:translateX(110%); } }

@media (max-width: 920px) {
  :root { --header-h: 70px; }
  .menu-toggle { display: block; z-index: 2; }
  .nav-menu { position: fixed; inset: 0; color: white; background: var(--blue-dark); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; padding: var(--gutter); font-size: 1.5rem; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .nav-menu.open { transform: translateX(0); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-cta { margin-top: 12px; }
  .proof { grid-template-columns: 1fr; }
  .manifesto { grid-template-columns: 1fr; min-height: 660px; }
  .manifesto-copy { padding: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .topic { grid-template-columns: 8% 1fr auto; }
  .topic p { display: none; }
  .rides { grid-template-columns: 1fr; }
  .rides-image { min-height: 58vw; }
  .newsletter { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero { min-height: 760px; }
  .hero-media { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(24,42,58,.84), rgba(24,42,58,.18)), linear-gradient(0deg, rgba(20,37,51,.7), transparent 58%); }
  .hero-content { padding-bottom: 98px; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5.6rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-corner { display: none; }
  .stats { grid-template-columns: 1fr; gap: 46px; }
  .stat strong { font-size: 4rem; }
  .manifesto { padding-top: 110px; padding-bottom: 110px; }
  .manifesto h2 { font-size: clamp(3.1rem, 15vw, 5.2rem); }
  .section-heading { margin-bottom: 50px; }
  .section-heading h2, .newsletter h2 { font-size: clamp(3.3rem, 16vw, 5.5rem); }
  .topic { grid-template-columns: 36px 1fr auto; gap: 10px; padding: 25px 0; }
  .topic h3 { font-size: 2rem; }
  .rides { min-height: 0; }
  .rides-image { min-height: 82vw; background-position: 70% center; }
  .rides-panel { padding-left: var(--gutter); }
  .rides h2 { font-size: clamp(3.3rem, 15vw, 5rem); }
  .newsletter { gap: 56px; }
  .newsletter-visual { min-height: 330px; }
  .final-cta { min-height: 590px; }
  .final-cta h2 { font-size: clamp(3.8rem, 17vw, 6rem); }
  footer { grid-template-columns: 1fr; gap: 25px; align-items: start; }
  footer p { text-align: left; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
}

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