@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --void: #030405;
  --carbon: #0a0c0e;
  --graphite: #14181b;
  --chalk: #edf2f2;
  --ash: #7c858a;
  --line: rgb(237 242 242 / 0.14);
  --signal: #00e5ff;
  --signal-rgb: 0 229 255;
  --signal-ink: #030405;
  --gutter: clamp(20px, 3.2vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --vel: 0;
  --drive: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--void);
}

body {
  margin: 0;
  background: var(--void);
  color: var(--chalk);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-stretch: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--signal);
  color: var(--void);
}

:focus-visible {
  outline: 1px solid var(--signal);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--signal);
  color: var(--signal-ink);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateY(-160%);
}

.skip:focus {
  transform: translateY(0);
}

/* ---------- shared type ---------- */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ash);
  font-size: 0.58rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-head b {
  color: var(--signal);
  font-weight: 600;
}

.wrap {
  width: min(100% - var(--gutter) * 2, 1560px);
  margin-inline: auto;
}

.reveal {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-14px);
  transition:
    opacity 0.55s linear,
    clip-path 1.1s var(--ease),
    transform 1.1s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: none;
}

/* ---------- global chrome ---------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 1px;
  z-index: 90;
  background: rgb(237 242 242 / 0.08);
  pointer-events: none;
}

.scroll-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--signal);
  box-shadow: 0 0 10px rgb(var(--signal-rgb) / 0.7);
}

.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: calc(var(--gutter) * 0.55) var(--gutter);
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.55), transparent);
  pointer-events: none;
}

.masthead > * {
  pointer-events: auto;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.wordmark__name {
  position: relative;
  font-size: 0.84rem;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.3em;
}

.wordmark__name::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  background: var(--signal);
  vertical-align: 1px;
}

.wordmark__model {
  color: var(--ash);
  font-size: 0.66rem;
  font-weight: 600;
  font-stretch: 62%;
  letter-spacing: 0.24em;
}

.masthead__meta {
  margin: 0;
  color: var(--ash);
  font-size: 0.56rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.masthead__meta span {
  color: var(--signal);
}

/* ---------- the drive ---------- */

.drive {
  position: relative;
  height: 520vh;
  background: var(--void);
}

.drive__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

#film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.02 + var(--vel) * 0.008));
  transform-origin: center;
  filter: blur(calc(var(--vel) * 5px));
  will-change: transform, filter;
}

.grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgb(3 4 5 / 0.72), transparent 42%),
    linear-gradient(to right, rgb(3 4 5 / 0.5), transparent 44%);
  pointer-events: none;
}

.speed-veil {
  position: absolute;
  inset: -5%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 46px,
    rgb(255 255 255 / 0.05) 47px,
    transparent 49px
  );
  opacity: calc(var(--vel) * 0.9);
  mix-blend-mode: screen;
  filter: blur(1px);
  transform: translateX(calc(var(--vel) * -18px));
  pointer-events: none;
}

.intro {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) clamp(42px, 8vh, 92px);
  pointer-events: none;
}

.intro__kicker {
  margin: 0 0 18px;
  color: rgb(237 242 242 / 0.78);
  font-size: 0.58rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
}

.intro__kicker span {
  color: var(--signal);
}

.intro__title {
  margin: 0;
  overflow: hidden;
  font-size: clamp(4.6rem, 17vw, 21rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 0.76;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.intro__title span {
  display: block;
  transform: translateY(112%);
  text-shadow: 0 8px 60px rgb(0 0 0 / 0.35);
}

body.is-ready .intro__title span {
  transform: translateY(0);
  transition: transform 1.15s var(--ease) 0.08s;
}

body.is-ready .intro__kicker {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s linear 0.5s, transform 0.8s var(--ease) 0.5s;
}

.intro__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-top: clamp(20px, 3vh, 34px);
  padding-top: 18px;
  border-top: 1px solid rgb(237 242 242 / 0.22);
  opacity: 0;
  transition: opacity 0.8s linear;
}

body.is-ready .intro__foot {
  opacity: 1;
  transition-delay: 0.75s;
}

.intro__lede {
  margin: 0;
  max-width: 38ch;
  color: rgb(237 242 242 / 0.82);
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  line-height: 1.5;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--chalk);
  font-size: 0.56rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 64px;
  height: 1px;
  background: rgb(237 242 242 / 0.35);
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 22px;
  background: var(--signal);
  animation: cue 1.9s var(--ease) infinite;
}

@keyframes cue {
  0% {
    transform: translateX(-24px);
  }
  60%,
  100% {
    transform: translateX(66px);
  }
}

.chapter-word {
  position: absolute;
  top: clamp(96px, 17vh, 190px);
  left: var(--gutter);
  z-index: 6;
  display: grid;
  gap: 10px;
  max-width: min(70vw, 780px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s linear, transform 0.7s var(--ease);
  pointer-events: none;
}

body.is-driving .chapter-word {
  opacity: 1;
  transform: none;
}

.chapter-word__index {
  color: var(--signal);
  font-size: 0.58rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.24em;
}

.chapter-word__text {
  font-size: clamp(2.8rem, 8.4vw, 9.4rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 0.78;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-shadow: 0 6px 40px rgb(0 0 0 / 0.45);
}

.chapter-word__desc {
  max-width: 34ch;
  color: rgb(237 242 242 / 0.74);
  font-size: 0.76rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.chapter-word.is-swapping .chapter-word__text,
.chapter-word.is-swapping .chapter-word__desc {
  opacity: 0;
  transform: translateY(6px);
}

.chapter-word__text,
.chapter-word__desc {
  transition: opacity 0.22s linear, transform 0.3s var(--ease);
}

.hud {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(26px, 5vh, 54px);
  z-index: 7;
  display: grid;
  gap: 9px;
  opacity: 0;
  transition: opacity 0.4s linear;
  pointer-events: none;
}

body.is-driving .hud {
  opacity: 1;
}

.hud__speed {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.hud__speed span {
  font-size: clamp(3.4rem, 6.4vw, 6.2rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 0.72;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hud__speed small {
  color: var(--signal);
  font-size: 0.58rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.24em;
}

.hud__bar {
  width: clamp(190px, 24vw, 360px);
  height: 2px;
  background: rgb(237 242 242 / 0.2);
  overflow: hidden;
}

.hud__bar i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--signal);
  box-shadow: 0 0 12px rgb(var(--signal-rgb) / 0.9);
}

.hud__meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: clamp(190px, 24vw, 360px);
  color: var(--ash);
  font-size: 0.54rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hud__meta span:last-child {
  color: var(--chalk);
}

.rail {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  z-index: 7;
  display: flex;
  gap: 14px;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.4s linear;
}

body.is-driving .rail {
  opacity: 1;
}

.rail__track {
  position: relative;
  width: 1px;
  background: rgb(237 242 242 / 0.2);
}

.rail__track i {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0;
  background: var(--signal);
  box-shadow: 0 0 10px rgb(var(--signal-rgb) / 0.8);
}

.rail__items {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.rail__item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--ash);
  font-size: 0.54rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s linear;
}

.rail__item i {
  display: block;
  width: 12px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transition: width 0.35s var(--ease), background 0.35s linear, opacity 0.35s linear;
}

.rail__item:hover,
.rail__item.is-active {
  color: var(--chalk);
}

.rail__item.is-active i {
  width: 26px;
  background: var(--signal);
  opacity: 1;
}

.frame-count {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(26px, 5vh, 54px);
  z-index: 7;
  margin: 0;
  color: var(--ash);
  font-size: 0.54rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.18em;
  opacity: 0;
  transition: opacity 0.4s linear;
}

body.is-driving .frame-count {
  opacity: 1;
}

.frame-count span {
  color: var(--chalk);
  font-variant-numeric: tabular-nums;
}

.frame-count em {
  font-style: normal;
  color: var(--signal);
}

/* ---------- performance ---------- */

.stats {
  position: relative;
  padding: clamp(90px, 16vh, 180px) 0;
  border-bottom: 1px solid var(--line);
}

.statement {
  margin: clamp(38px, 7vh, 78px) 0 clamp(48px, 8vh, 90px);
  max-width: 12ch;
  font-size: clamp(3.3rem, 9vw, 9.6rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 0.8;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: clamp(24px, 3vw, 44px) clamp(16px, 2vw, 32px);
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 7.6rem);
  font-weight: 700;
  font-stretch: 62%;
  line-height: 0.76;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat__value em {
  font-style: normal;
  color: var(--signal);
  font-size: 0.18em;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat__label {
  margin: 18px 0 0;
  color: var(--ash);
  font-size: 0.58rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.22em;
}

.stats__note {
  margin: 18px 0 0;
  color: var(--ash);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-align: right;
}

/* ---------- design ---------- */

.design {
  padding: clamp(90px, 14vh, 160px) 0;
  background: var(--carbon);
  border-bottom: 1px solid var(--line);
}

.design__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
  margin-top: clamp(38px, 7vh, 76px);
}

.macro {
  margin: 0;
  position: relative;
}

.macro img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: contrast(1.05) saturate(0.92);
}

.macro--tall {
  grid-column: 1 / span 5;
  grid-row: 1 / span 2;
  aspect-ratio: 3 / 4;
}

.macro--wide {
  grid-column: 7 / span 4;
  margin-top: clamp(24px, 4vw, 52px);
  aspect-ratio: 4 / 3;
}

.macro--night {
  grid-column: 11 / span 2;
  margin-top: clamp(24px, 4vw, 52px);
  aspect-ratio: 1 / 2;
}

.macro figcaption {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  color: var(--ash);
  font-size: 0.54rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.macro figcaption span {
  color: var(--signal);
}

.design__copy {
  grid-column: 7 / span 6;
  padding-top: 4px;
}

.design__copy h2 {
  margin: 0 0 clamp(22px, 3vw, 32px);
  font-size: clamp(2.7rem, 5.6vw, 6rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 0.82;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.design__copy p {
  margin: 0 0 18px;
  max-width: 52ch;
  color: var(--ash);
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  line-height: 1.65;
}

.pull-quote {
  margin: clamp(56px, 10vh, 120px) 0 0;
  padding: 26px 0 0 24px;
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--signal);
  max-width: 20ch;
  font-size: clamp(1.7rem, 3.8vw, 4.2rem);
  font-weight: 700;
  font-stretch: 62%;
  line-height: 0.96;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

/* ---------- configure ---------- */

.configure {
  background: var(--void);
  border-bottom: 1px solid var(--line);
}

.configure__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 100vh;
}

.configure__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(88px, 13vh, 150px) var(--gutter) clamp(48px, 8vh, 90px);
}

.configure__panel .section-head {
  margin-bottom: clamp(28px, 6vh, 60px);
}

.paint-name {
  margin: 0 0 24px;
  font-size: clamp(3.8rem, 8.8vw, 9.6rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 0.78;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.paint-desc {
  margin: 0;
  max-width: 42ch;
  color: var(--ash);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.65;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4vh, 44px);
}

.swatch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--ash);
  font-size: 0.56rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
  transition: color 0.3s linear;
}

.swatch__chip {
  position: relative;
  width: 54px;
  height: 54px;
  background: var(--chip);
  border: 1px solid rgb(237 242 242 / 0.25);
  transition: transform 0.35s var(--ease), border-color 0.3s linear;
}

.swatch__chip::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid transparent;
  transition: border-color 0.3s linear;
}

.swatch:hover .swatch__chip {
  transform: translateY(-3px);
}

.swatch.is-active {
  color: var(--chalk);
}

.swatch.is-active .swatch__chip {
  transform: translateY(-4px);
  border-color: var(--signal);
}

.swatch.is-active .swatch__chip::after {
  border-color: rgb(var(--signal-rgb) / 0.4);
}

.configure__note {
  margin: clamp(34px, 6vh, 60px) 0 0;
  max-width: 40ch;
  color: var(--ash);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.configure__stage {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  background: #0b0d0f;
}

.configure__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s linear, filter 0.6s linear;
}

.configure__stage img.is-switching {
  opacity: 0.2;
  filter: blur(7px);
}

.configure__grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgb(3 4 5 / 0.72), transparent 34%),
    linear-gradient(to left, transparent 62%, rgb(3 4 5 / 0.22));
  pointer-events: none;
}

.configure__stage figcaption {
  position: absolute;
  inset: auto var(--gutter) 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgb(237 242 242 / 0.78);
  font-size: 0.56rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.configure__stage figcaption span {
  color: var(--signal);
}

.configure__stage figcaption b {
  font-weight: 600;
  color: var(--signal);
}

/* ---------- reserve ---------- */

.reserve {
  padding: clamp(100px, 16vh, 180px) 0;
  background: var(--carbon);
  border-bottom: 1px solid var(--line);
}

.reserve__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: start;
  margin-top: clamp(44px, 7vh, 80px);
}

.reserve__copy h2 {
  margin: 0 0 26px;
  font-size: clamp(3.4rem, 8vw, 8.8rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 0.8;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.reserve__copy > p {
  margin: 0 0 18px;
  max-width: 46ch;
  color: var(--ash);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.65;
}

.deposit {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: clamp(30px, 5vh, 48px) !important;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.deposit span {
  color: var(--chalk);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 700;
  font-stretch: 62%;
  line-height: 0.8;
  letter-spacing: -0.02em;
}

.deposit small {
  color: var(--signal);
  font-size: 0.56rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.2em;
}

.reserve__form {
  display: grid;
  gap: 26px;
}

.field label,
.field__label {
  display: block;
  margin-bottom: 8px;
  color: var(--ash);
  font-size: 0.56rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgb(237 242 242 / 0.24);
  border-radius: 0;
  color: var(--chalk);
  font: inherit;
  font-size: 1.15rem;
  transition: border-color 0.25s linear;
}

.field input:focus {
  outline: 0;
  border-bottom-color: var(--signal);
}

.field input[aria-invalid="true"] {
  border-bottom-color: #ff6b4a;
}

.field__static {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgb(237 242 242 / 0.24);
  color: var(--chalk);
  font-size: 1.15rem;
}

.field__error {
  margin: 7px 0 0;
  color: #ff6b4a;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.reserve__button {
  width: 100%;
  padding: 18px 20px;
  background: var(--signal);
  color: var(--signal-ink);
  font-size: 0.7rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: filter 0.25s linear, transform 0.2s var(--ease), opacity 0.2s linear;
}

.reserve__button:hover {
  filter: brightness(1.12);
}

.reserve__button:active {
  transform: translateY(1px);
}

.reserve__button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.reserve__fine {
  margin: 0;
  color: var(--ash);
  font-size: 0.64rem;
  letter-spacing: 0.03em;
}

.reserve__confirm {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--void);
  border: 1px solid var(--line);
}

.confirm__kicker {
  margin: 0;
  color: var(--signal);
  font-size: 0.56rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.22em;
}

.confirm__code {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  font-stretch: 62%;
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.confirm__copy {
  margin: 0;
  color: var(--ash);
  font-size: 0.86rem;
  line-height: 1.55;
}

.confirm__list {
  display: grid;
  gap: 0;
  margin: 6px 0 0;
}

.confirm__list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.confirm__list dt {
  color: var(--ash);
  font-size: 0.56rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.18em;
}

.confirm__list dd {
  margin: 0;
  color: var(--chalk);
  font-size: 0.82rem;
  text-align: right;
}

.confirm__reset {
  justify-self: start;
  margin-top: 6px;
  color: var(--signal);
  font-size: 0.58rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

/* ---------- footer ---------- */

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 36px var(--gutter) 46px;
  color: var(--ash);
  font-size: 0.54rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer p {
  margin: 0;
}

.footer span {
  color: var(--signal);
}

/* ---------- loader ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--void);
  transition: opacity 0.7s linear, visibility 0.7s linear;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  display: grid;
  gap: 14px;
  width: min(440px, 78vw);
}

.loader__kicker {
  margin: 0;
  color: var(--ash);
  font-size: 0.56rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.24em;
}

.loader__kicker span {
  color: var(--signal);
}

.loader__title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 0.8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.loader__bar {
  height: 1px;
  background: rgb(237 242 242 / 0.16);
  overflow: hidden;
}

.loader__bar i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--signal);
  box-shadow: 0 0 12px rgb(var(--signal-rgb) / 0.8);
  transition: width 0.18s linear;
}

.loader__meta {
  margin: 0;
  color: var(--ash);
  font-size: 0.56rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
}

.loader__meta span {
  color: var(--chalk);
}

.loader__meta em {
  font-style: normal;
  color: var(--signal);
}

.noscript {
  position: fixed;
  inset: auto 0 0;
  z-index: 110;
  margin: 0;
  padding: 18px var(--gutter);
  background: var(--signal);
  color: var(--signal-ink);
  font-size: 0.8rem;
}

/* ---------- motion blur on non-film sections ---------- */

main > section:not(.drive) {
  filter: blur(calc(var(--vel) * 2.4px));
  will-change: filter;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .design__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .macro--tall {
    grid-column: 1 / span 3;
    grid-row: auto;
    aspect-ratio: 3 / 4;
  }

  .design__copy {
    grid-column: 4 / span 3;
  }

  .macro--wide {
    grid-column: 1 / span 4;
    margin-top: 0;
  }

  .macro--night {
    grid-column: 5 / span 2;
    margin-top: 0;
  }

  .configure__grid {
    grid-template-columns: 1fr;
  }

  .configure__panel {
    min-height: 0;
    padding-top: clamp(88px, 12vh, 120px);
  }

  .configure__stage {
    min-height: 72vh;
  }

  .reserve__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 700px) {
  .masthead__meta {
    display: none;
  }

  .drive {
    height: 460vh;
  }

  .intro {
    padding-bottom: 34px;
  }

  .intro__title {
    font-size: 20.5vw;
  }

  .intro__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .chapter-word {
    top: 86px;
    max-width: 86vw;
  }

  .chapter-word__desc {
    display: none;
  }

  .hud {
    bottom: 24px;
  }

  .hud__bar,
  .hud__meta {
    width: 46vw;
  }

  .rail {
    right: 16px;
    gap: 10px;
  }

  .rail__items {
    gap: 22px;
  }

  .rail__item {
    font-size: 0.48rem;
    letter-spacing: 0.12em;
  }

  .rail__item i {
    width: 8px;
  }

  .rail__item.is-active i {
    width: 18px;
  }

  .frame-count {
    display: none;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .stat:first-child {
    border-top: 0;
  }

  .stats__note {
    text-align: left;
  }

  .design__grid {
    grid-template-columns: 1fr;
  }

  .macro--tall,
  .macro--wide,
  .macro--night,
  .design__copy {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 0;
  }

  .macro--tall {
    aspect-ratio: 4 / 5;
  }

  .macro--wide {
    aspect-ratio: 16 / 10;
  }

  .macro--night {
    aspect-ratio: 16 / 10;
  }

  .design__copy {
    padding: 8px 0;
  }

  .configure__stage {
    min-height: 62vh;
  }

  .swatch__chip {
    width: 46px;
    height: 46px;
  }

  .footer {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .chapter-word {
    top: 76px;
  }

  .chapter-word__desc {
    display: none;
  }

  .intro__title {
    font-size: 15vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  #film {
    filter: none;
    transform: scale(1.02);
  }

  .speed-veil {
    display: none;
  }

  main > section:not(.drive) {
    filter: none;
  }

  .reveal {
    opacity: 1;
    clip-path: none;
    transform: none;
  }

  .intro__title span {
    transform: none;
  }

  .intro__kicker,
  .intro__foot {
    opacity: 1;
    transform: none;
  }
}
