
:root { --header-h: 74px; }
.header { background: #171815; color: var(--c-white); border-bottom-color: #41413a; }
.header__inner { max-width: none; height: var(--header-h); }
.header .brand__slash { color: var(--c-gold); }
.header .brand__sub { border-color: #57574e; font-size: 10px; }
.header .nav__link { font-size: 12px; }
.header .nav__link::after { background: var(--c-gold); }
.header :focus-visible { outline-color: var(--c-gold); }
.header__join { font-size: 12px; }
.menu-toggle[aria-expanded="true"] { color: var(--c-gold); }


.race-story { position: relative; background: #171815; --journey-progress: 0; }
.race-stage { position: relative; isolation: isolate; }
.race-scene,
.race-scene.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 85svh;
  margin: 0;
  max-width: none;
  overflow: hidden;
  isolation: isolate;
  padding: 100px var(--page-gutter) 115px;
  background: #171815;
  color: var(--c-white);
  --scene-progress: 0;
  --scene-reveal: 1;
}
.scene-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.race-scene .scene-image,
.race-scene .hero__car {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
  filter: none;
  transition: none;
  z-index: auto;
}
.race-scene--grid .scene-media { left: 12%; }
.race-scene--grid .scene-image { object-position: 58% 50%; }
.scene-shade { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.race-scene--grid .scene-shade {
  background: linear-gradient(90deg, #171815 0%, rgb(23 24 21 / 94%) 15%, rgb(23 24 21 / 76%) 34%, rgb(23 24 21 / 20%) 65%, transparent 85%), linear-gradient(0deg, rgb(12 13 11 / 92%), transparent 34%, transparent 80%, rgb(12 13 11 / 35%));
}
.scene-copy { position: relative; z-index: 2; width: min(100%, 690px); }
.scene-eyebrow { display: flex; align-items: center; gap: 10px; font: 500 11px/1.6 var(--ff-data); letter-spacing: .045em; margin-bottom: 26px; }
.scene-eyebrow .signal { background: var(--c-gold); flex-shrink: 0; }
.race-scene.hero h1 { font-size: clamp(76px, min(9.5vw, 15svh), 156px); line-height: .85; font-weight: 900; white-space: normal; letter-spacing: -.035em; }
.race-scene.hero h1 > span { color: #f2ca67; }
.race-scene .hero__description,
.scene-description { max-width: 390px; margin-top: 26px; font-size: 15px; line-height: 1.8; }
.race-scene .hero__actions { gap: 22px; margin-top: 27px; flex-wrap: wrap; }
.race-scene .hero__actions .button { font-size: 13px; }
.race-scene .hero__secondary { font-size: 13px; }
.race-scene .hero__secondary:hover { color: #f2ca67; }
.scene-watermark { position: absolute; z-index: -1; pointer-events: none; white-space: nowrap; font: italic 900 clamp(150px, 23vw, 420px)/.8 var(--ff-display); letter-spacing: -.035em; }
.race-scene--grid .scene-watermark { right: -2%; bottom: 34px; font-size: clamp(100px, 15vw, 290px); color: rgb(255 253 247 / 7%); }
.scene-caption { position: absolute; inset: auto var(--page-gutter) 28px; display: flex; align-items: end; justify-content: space-between; gap: 22px; z-index: 2; font: 400 11px/1.7 var(--ff-data); }
.scene-caption > span { letter-spacing: .04em; }
.scene-caption p { text-align: right; }
.race-scene :focus-visible { outline-color: var(--c-gold); }


.race-scene--crew { background: #eee8d9; color: #27271f; }
.race-scene--crew .scene-watermark { top: 9%; left: -1%; color: #ddd6c6; }
.race-scene--crew .scene-copy { width: 47%; }
.race-scene--crew h2 { font-size: clamp(68px, min(8vw, 12svh), 132px); line-height: .89; font-weight: 900; }
.race-scene--crew .scene-eyebrow { color: #8f281c; }
.race-scene--crew em { color: #a52217; }
.race-scene--crew .inline-link { margin-top: 20px; font-size: 14px; }
.race-scene--crew :focus-visible { outline-color: #a52217; }
.crew-orbit { position: absolute; width: min(48vw, 69svh); aspect-ratio: 1; right: 4.2%; top: 50%; translate: 0 -50%; border: 1px solid #b5a68a; border-radius: 50%; }
.crew-orbit::before { content: ""; position: absolute; inset: -22px; border: 1px solid #d1c5ad; border-radius: 50%; }
.crew-portal { position: absolute; inset: 20px; overflow: hidden; border-radius: 50%; background: #a52217; }
.crew-portal .scene-image { object-position: 54% center; }
.orbit-label { position: absolute; top: -40px; left: 10%; font: 500 10px/1.6 var(--ff-data); letter-spacing: .09em; background: #eee8d9; padding: 0 12px; }
.orbit-number { position: absolute; right: 0; bottom: 0; color: #a52217; font: italic 900 clamp(82px, 10vw, 160px)/.8 var(--ff-display); }

.race-scene--launch { background: #661b13; }
.race-scene--launch .scene-image { object-position: 65% center; }
.race-scene--launch .scene-shade { background: linear-gradient(90deg, rgb(65 12 8 / 97%) 0%, rgb(89 17 11 / 88%) 32%, rgb(98 20 11 / 48%) 67%, rgb(40 9 7 / 28%)), linear-gradient(0deg, rgb(38 8 5 / 90%), transparent 45%); }
.race-scene--launch h2 { font-size: clamp(72px, min(9.8vw, 13.6svh), 158px); line-height: .86; font-weight: 900; }
.race-scene--launch h2 em { color: #f2ca67; }
.race-scene--launch .scene-copy { width: min(72%, 860px); }
.race-scene--launch .button { margin-top: 27px; }
.launch-rings { position: absolute; z-index: -1; width: min(75vw, 105svh); aspect-ratio: 1; right: -12%; top: 50%; translate: 0 -50%; pointer-events: none; }
.launch-rings i { position: absolute; inset: 0; border: 1px solid rgb(246 218 135 / 36%); border-radius: 50%; }
.launch-rings i:nth-child(2) { inset: 12%; }
.launch-rings i:nth-child(3) { inset: 24%; border-width: 2px; }


.story-toolbar { position: relative; z-index: 10; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px var(--page-gutter); background: #171815; color: var(--c-white); font: 500 10px/1.6 var(--ff-data); }
.story-toolbar > div { display: flex; gap: 16px; align-items: center; }
.story-motion, .story-skip { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 8px 12px; border: 1px solid #67675d; font: 500 11px/1.4 var(--ff-body); }
.story-motion { display: none; }
.js .story-motion { display: inline-flex; }
.story-skip { border-color: transparent; }
.story-motion:hover, .story-skip:hover { background: #35362e; }
.story-toolbar :focus-visible, .story-nav :focus-visible { outline-color: var(--c-gold); outline-offset: 2px; }
.story-nav { display: none; }

@media (min-width: 900px) and (min-height: 650px) {
  .race-story.is-cinematic { height: 380svh; }
  .is-cinematic .race-stage { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden; }
  .is-cinematic .race-scene { position: absolute; inset: 0; min-height: 0; opacity: 1; padding-top: 80px; padding-bottom: 136px; clip-path: circle(calc(var(--scene-reveal, 1) * 150%) at 70% 50%); pointer-events: none; }
  .is-cinematic .race-scene[data-scene="0"] { z-index: 1; }
  .is-cinematic .race-scene[data-scene="1"] { z-index: 2; }
  .is-cinematic .race-scene[data-scene="2"] { z-index: 3; }
  .is-cinematic .race-scene.is-active { pointer-events: auto; }
  .is-cinematic .scene-image { transform: scale(calc(1 + var(--scene-progress, 0) * .16)); }
  .is-cinematic .scene-copy { transform: translateY(calc(var(--scene-progress, 0) * -18px)); }
  .is-cinematic .crew-portal { transform: scale(calc(1 + var(--scene-progress, 0) * .08)) rotate(calc(var(--scene-progress, 0) * -5deg)); }
  .is-cinematic .launch-rings { transform: scale(calc(1 + var(--scene-progress, 0) * .12)); }
  .is-cinematic .story-toolbar { position: absolute; inset: 0 0 auto; background: rgb(23 24 21 / 96%); min-height: 56px; padding-block: 4px; }
  .is-cinematic .scene-caption { bottom: 85px; }
  .is-cinematic .story-nav { position: absolute; inset: auto 0 0; z-index: 10; display: flex; align-items: center; gap: 28px; min-height: 64px; padding: 8px var(--page-gutter); background: #171815; color: var(--c-white); }
  .story-step { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; border: 0; color: #c2c2b6; font-size: 12px; font-weight: 700; }
  .story-step > span { font: 500 10px/1 var(--ff-data); }
  .story-step.is-active, .story-step[aria-current="step"], .story-step:hover { color: #f2ca67; }
  .story-step.is-active { box-shadow: inset 0 -2px var(--c-gold); }
  .story-nav__hint { margin-left: auto; font: 400 10px/1.5 var(--ff-data); letter-spacing: .05em; }
  .story-nav__hint > span { margin-left: 14px; }
  .story-progress { position: absolute; inset: 0 0 auto; height: 2px; background: #4a4b42; overflow: hidden; }
  .story-progress > span { display: block; width: 100%; height: 100%; background: var(--c-gold); transform: scaleX(var(--journey-progress, 0)); transform-origin: left; }
}
.race-story:not(.is-cinematic) .race-scene { clip-path: none; opacity: 1; }
.race-story:not(.is-cinematic) .scene-image,
.race-story:not(.is-cinematic) .scene-copy,
.race-story:not(.is-cinematic) .crew-portal,
.race-story:not(.is-cinematic) .launch-rings { transform: none; }


.team { background: #eee8d9; }
.calendar { background: #1b1c18; }
.projects { background: #f3eee2; }
.resources { background: #e6dfcf; }
.section-marker, .eyebrow, .join__top { font-size: 11px; }
.team__intro p, .section-heading p, .resources__intro > p { font-size: 16px; line-height: 1.8; }
.lane p, .event__body p, .project__info p:not(.eyebrow), .resource p, .join__copy > p:nth-child(2) { font-size: 14px; line-height: 1.8; }
.section-heading .demo-note, .demo-note, .resources__intro .resource-count { font-size: 11px; }
.event__round > span, .event__type, .project__serial, .project__art-label, .project__info .eyebrow, .resource .eyebrow, .resource__index { font-size: 11px; }
.event__date, .event__date span { font-size: 12px; }
.filter, .button, .inline-link, .search-label { font-size: 13px; }
.filter { color: #d4d3c7; border-color: #717167; }
.filter.is-active, .filter[aria-pressed="true"] { color: var(--c-ink); }
.search-box input { font-size: 16px; }
.join__copy small { font-size: 11px; }
.footer > p { font-size: 14px; }
.footer > p > span, .footer > small { font-size: 11px; }
.footer > .inline-link { font-size: 13px; }
.footer .brand__sub { font-size: 10px; }
.dialog > .eyebrow { font-size: 11px; }
.dialog > p:not(.eyebrow) { font-size: 14px; }

@media (min-width: 900px) and (min-height: 650px) and (max-height: 760px) {
  .is-cinematic .race-scene--launch h2 { font-size: clamp(60px, min(8.6vw, 11.6svh), 110px); }
  .is-cinematic .scene-eyebrow { margin-bottom: 16px; }
  .is-cinematic .hero__description, .is-cinematic .scene-description { margin-top: 18px; font-size: 14px; }
  .is-cinematic .hero__actions, .is-cinematic .race-scene--launch .button { margin-top: 18px; }
  .is-cinematic .race-scene--crew .inline-link { margin-top: 10px; }
}
@media (max-width: 899px) {
  .story-toolbar { flex-wrap: wrap; gap: 0 12px; padding-block: 10px; }
  .story-toolbar > div { margin-left: auto; }
  .race-scene, .race-scene.hero { min-height: 85svh; padding-top: 65px; padding-bottom: 105px; }
  .race-scene.hero h1 { font-size: clamp(74px, 12vw, 120px); }
  .scene-copy { width: 65%; }
  .race-scene--crew h2 { font-size: clamp(61px, 8.6vw, 90px); }
  .race-scene--crew .scene-copy { width: 53%; }
  .crew-orbit { right: -8%; width: 53vw; }
  .race-scene--launch h2 { font-size: clamp(68px, 11vw, 112px); }
  .scene-eyebrow { font-size: 10px; }
}
@media (max-width: 800px) {
  .js .header .nav { inset-block-start: var(--header-h); background: #171815; color: var(--c-white); border-color: #57574e; }
  .header .brand__sub { display: none; }
  .header .nav__link { font-size: 12px; }
}
@media (max-width: 600px) {
  .header__join { font-size: 11px; }
  .story-toolbar { padding-block: 10px; gap: 5px; }
  .story-toolbar > span { width: 100%; font-size: 10px; }
  .story-toolbar > div { width: 100%; margin: 0; justify-content: space-between; gap: 8px; }
  .story-motion, .story-skip { font-size: 11px; }
  .story-skip { margin-left: auto; }
  .race-scene, .race-scene.hero { min-height: 85svh; padding: 44px var(--page-gutter) 355px; align-items: flex-start; }
  .race-scene .scene-copy, .race-scene--crew .scene-copy, .race-scene--launch .scene-copy { width: 100%; }
  .race-scene.hero h1 { font-size: clamp(68px, 19.5vw, 112px); }
  .scene-eyebrow { margin-bottom: 23px; font-size: 10px; }
  .race-scene .hero__description, .scene-description { font-size: 14px; margin-top: 22px; }
  .race-scene .hero__actions { gap: 10px 20px; margin-top: 22px; }
  .race-scene .hero__actions .button { min-height: 50px; padding-inline: 17px; font-size: 12px; }
  .race-scene .hero__secondary { font-size: 12px; }
  .race-scene--grid .scene-media { inset: auto 0 0; height: 355px; }
  .race-scene--grid .scene-image { object-position: 53% center; }
  .race-scene--grid .scene-shade { background: linear-gradient(0deg, rgb(12 13 11 / 95%), transparent 130px, transparent 250px, #171815 355px); }
  .race-scene--grid .scene-watermark { font-size: 22vw; bottom: 86px; }
  .scene-caption { inset-inline: var(--page-gutter); bottom: 22px; gap: 15px; font-size: 10px; align-items: start; }
  .scene-caption p { max-width: 51%; }
  .race-scene--crew { padding-bottom: calc(84vw + 122px); }
  .race-scene--crew h2 { font-size: clamp(62px, 16.5vw, 94px); }
  .race-scene--crew .scene-watermark { top: 22px; font-size: 30vw; }
  .crew-orbit { width: 76vw; top: auto; bottom: 94px; right: 10%; translate: none; }
  .crew-orbit::before { inset: -14px; }
  .crew-portal { inset: 12px; }
  .orbit-label { top: -30px; left: 2%; font-size: 9px; letter-spacing: .025em; padding-inline: 7px; }
  .orbit-number { font-size: 90px; right: -5px; bottom: -7px; }
  .race-scene--launch { padding-bottom: 345px; }
  .race-scene--launch h2 { font-size: clamp(60px, 16vw, 92px); }
  .race-scene--launch .scene-media { top: auto; height: 390px; }
  .race-scene--launch .scene-shade { background: linear-gradient(0deg, rgb(43 8 5 / 94%), rgb(92 20 12 / 20%) 145px, #661b13 390px); }
  .launch-rings { width: 105vw; top: auto; bottom: 0; right: -27%; translate: none; }
  .section-marker, .join__top { font-size: 10px; }
  .event__type { font-size: 10px; }
  .event__round > span { font-size: 10px; }
  .event { grid-template-columns: 40px minmax(0, 1fr) 44px; }
  .event__body h3 { font-size: 28px; }
  .event__date span { font-size: 11px; }
  .section-heading .demo-note { font-size: 11px; }
  .filter { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .race-story .scene-image, .race-story .hero__car, .race-story .scene-copy, .race-story .crew-portal, .race-story .launch-rings { transform: none !important; }
  .race-story *, .race-story *::before, .race-story *::after { animation: none !important; transition: none !important; }
}
