:root {
  --black: #0b0d0e;
  --grey: #445055;
  --light-grey: #71858e;
  --white: #f1f3f4;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  background: var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: "bio-sans", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 400;
}

button,
a {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

h1,
h2,
.menu-button,
.site-menu a,
.begin-button {
  font-family: "manifold-extd-cf", "Arial Narrow", "Segoe UI", sans-serif;
  font-weight: 700;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(28px, 9.4vw, 184px);
  background: rgb(11 13 14 / 60%);
  backdrop-filter: blur(10px);
  transition: background-color 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-hero {
  background: transparent;
  backdrop-filter: none;
}

.brand {
  display: block;
  width: clamp(118px, 9vw, 156px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.menu-wrap {
  position: relative;
}

.menu-button {
  min-width: 48px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.site-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 190px;
  padding: 10px;
  border: 1px solid rgb(113 133 142 / 48%);
  border-radius: 8px;
  background: rgb(11 13 14 / 90%);
  box-shadow: 0 18px 44px rgb(0 0 0 / 28%);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.site-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-menu a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 4px;
  color: var(--white);
  text-align: left;
  text-decoration: none;
}

.site-menu a:hover {
  background: rgb(113 133 142 / 22%);
}

.scene,
.wade-section {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
}

.hero-scene {
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}

.hero-scene video {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scene h1 {
  max-width: 90vw;
  margin: 0;
  padding-top: 10vh;
  font-size: clamp(2rem, 3.7vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  text-align: center;
  text-shadow: 0 3px 24px rgb(0 0 0 / 58%);
}

.story-scene {
  display: grid;
  place-items: center;
  padding: 110px 24px 80px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.consultation {
  background-image: url("../images/consultation.png");
}

.craftsmanship {
  background-image: url("../images/craftsmanship.png");
}

.ride {
  background-image: url("../images/ride.png");
}

.story-panel {
  width: min(700px, 54vw);
  padding: clamp(32px, 3.6vw, 60px);
  border-radius: 10px;
  background: rgb(113 133 142 / 62%);
  box-shadow: 0 10px 32px rgb(0 0 0 / 11%);
  backdrop-filter: blur(4px);
}

.story-panel h2,
.wade-copy h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.8rem, 2.25vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.story-panel p,
.wade-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.12vw, 1.25rem);
  line-height: 1.58;
}

.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 620ms ease 180ms, transform 620ms ease 180ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-cue {
  position: absolute;
  bottom: 25px;
  left: 50%;
  width: 24px;
  height: 32px;
  transform: translateX(-50%);
  opacity: 0.72;
}

.scroll-cue span {
  position: absolute;
  top: 4px;
  left: 7px;
  width: 10px;
  height: 10px;
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  transform: rotate(45deg);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.4;
  }
  50% {
    transform: translateY(7px) rotate(45deg);
    opacity: 1;
  }
}

.wade-section {
  display: grid;
  place-items: center;
  padding: 120px clamp(28px, 8vw, 160px) 84px;
  background: var(--black);
}

.wade-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(58px, 7vw, 130px);
  width: min(1380px, 100%);
}

.wade-portrait {
  min-height: 68svh;
}

.wade-portrait img {
  display: block;
  width: 100%;
  height: 68svh;
  min-height: 560px;
  object-fit: contain;
}

.wade-copy p {
  max-width: 680px;
}

.begin-button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 58px;
  margin-top: 34px;
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  background: var(--grey);
  color: var(--white);
  font-size: clamp(1.1rem, 1.4vw, 1.45rem);
  text-decoration: none;
  transition: background-color 180ms ease;
}

.begin-button:hover {
  background: #526066;
}

footer {
  display: grid;
  gap: 8px;
  padding: 26px 24px 34px;
  background: var(--black);
  color: rgb(241 243 244 / 76%);
  text-align: center;
  font-size: 0.72rem;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  html {
    scroll-snap-type: none;
  }

  .site-header {
    height: 68px;
    padding-inline: 22px;
  }

  .scene,
  .wade-section {
    min-height: auto;
  }

  .hero-scene {
    min-height: 100svh;
  }

  .story-scene {
    min-height: 100svh;
    align-items: end;
    padding: 110px 20px 64px;
  }

  .story-panel {
    width: min(680px, 100%);
    padding: 28px;
    background: rgb(87 105 113 / 74%);
  }

  .wade-section {
    padding: 104px 24px 60px;
  }

  .wade-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    width: min(680px, 100%);
  }

  .wade-portrait {
    min-height: 0;
  }

  .wade-portrait img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 72svh;
  }
}

@media (max-width: 560px) {
  .brand {
    width: 118px;
  }

  .hero-scene h1 {
    padding-top: 20vh;
    font-size: clamp(2rem, 9.5vw, 3rem);
  }

  .story-scene {
    min-height: 0;
    padding-top: 34svh;
  }

  .consultation {
    background-position: 57% center;
  }

  .craftsmanship {
    background-position: 64% center;
  }

  .ride {
    background-position: 43% center;
  }

  .story-panel {
    padding: 24px 22px;
  }

  .story-panel p,
  .wade-copy p {
    font-size: 0.98rem;
    line-height: 1.52;
  }

  .scroll-cue {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
