:root {
  --ink: #111510;
  --paper: #f4f3ec;
  --paper-soft: #e5e4da;
  --lime: #c7ff00;
  --red: #d41124;
  --steel: #45606f;
  --night: #182018;
  --muted: #707468;
  --line: rgba(17, 21, 16, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Arial,
    "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  gap: 20px;
  background: var(--night);
  color: var(--lime);
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

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

.loader__mark {
  font-family: Georgia, serif;
  font-size: clamp(80px, 18vw, 210px);
  font-weight: 900;
  line-height: 0.8;
}

.loader__bar {
  width: min(320px, 70vw);
  height: 4px;
  overflow: hidden;
  border: 1px solid rgba(199, 255, 0, 0.45);
}

.loader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--lime);
  animation: loadBar 1.1s ease both;
}

.loader p {
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 16px;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand {
  display: inline-grid;
  gap: 2px;
  width: max-content;
  font-family: Georgia, serif;
  line-height: 0.82;
  text-transform: uppercase;
}

.brand span {
  font-size: 14px;
  font-weight: 900;
}

.brand strong {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
}

.header-center {
  padding-top: 4px;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: 0.02em;
  transform: skew(-10deg);
}

.quick-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-nav > a,
.store-link,
.menu-toggle,
.cta {
  min-height: 52px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(244, 243, 236, 0.82);
  color: var(--ink);
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.quick-nav > a {
  display: grid;
  place-items: center;
  padding: 0 14px;
}

.store-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: var(--lime) !important;
}

.store-link svg,
.cta svg,
.scroll-cue svg {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

.menu-toggle {
  position: relative;
  width: 54px;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease;
}

.menu-toggle span:first-child {
  top: 21px;
}

.menu-toggle span:last-child {
  top: 29px;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(24, 32, 24, 0.96);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.menu-open .menu-panel {
  opacity: 1;
  visibility: visible;
}

.menu-panel__inner {
  display: grid;
  width: min(980px, 88vw);
  gap: 8px;
}

.menu-panel a {
  border-bottom: 1px solid rgba(244, 243, 236, 0.2);
  padding: 12px 0;
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: clamp(42px, 8vw, 92px);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}

.section-light,
.section-dark {
  position: relative;
  min-height: 100vh;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--night);
  color: var(--paper);
}

.contour {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 30% 20%, transparent 0 18%, var(--line) 18.3% 18.7%, transparent 19% 100%),
    radial-gradient(ellipse at 74% 34%, transparent 0 15%, var(--line) 15.3% 15.7%, transparent 16% 100%),
    radial-gradient(ellipse at 12% 88%, transparent 0 21%, var(--line) 21.2% 21.7%, transparent 22% 100%);
  background-size: 500px 340px, 640px 480px, 760px 520px;
}

.hero {
  display: grid;
  place-items: center;
  height: 100vh;
  overflow: hidden;
}

.hero__title {
  position: absolute;
  inset: 12vh 4vw auto 4vw;
  z-index: 1;
  display: grid;
  justify-items: center;
  color: var(--ink);
  font-family: Georgia, serif;
  font-weight: 900;
  line-height: 0.78;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.hero__title span {
  display: block;
  font-size: clamp(74px, 16vw, 230px);
}

.hero__media {
  position: relative;
  z-index: 2;
  width: min(610px, 72vw);
  aspect-ratio: 0.92;
  margin-top: 36px;
  overflow: hidden;
  border-radius: 0 0 48% 48%;
  box-shadow: 0 22px 80px rgba(17, 21, 16, 0.18);
  transform-style: preserve-3d;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  filter: saturate(0.88) contrast(1.07);
}

.visor-strip {
  position: absolute;
  top: 26%;
  left: -8%;
  right: -8%;
  padding: 13px 20px;
  background: var(--lime);
  color: var(--ink);
  font-size: clamp(18px, 3.5vw, 44px);
  font-weight: 1000;
  text-align: center;
  transform: rotate(-5deg);
  mix-blend-mode: multiply;
}

.next-card {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 5;
  display: grid;
  width: 128px;
  min-height: 178px;
  gap: 8px;
  align-content: center;
  padding: 12px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(244, 243, 236, 0.84);
  text-transform: uppercase;
}

.next-card small {
  position: absolute;
  top: -18px;
  left: 0;
  font-size: 9px;
  font-weight: 900;
}

.next-card strong {
  font-size: 18px;
  line-height: 1;
}

.next-card span {
  font-size: 11px;
  line-height: 1.4;
}

.next-card svg {
  width: 34px;
  height: 34px;
  margin: 0 auto;
}

.hero__meta {
  position: absolute;
  right: 18px;
  bottom: 24px;
  z-index: 4;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 480px;
}

.hero__meta span,
.chip-row span {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(244, 243, 236, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  transform: translateX(-50%);
}

.ticker {
  position: absolute;
  top: 96px;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  overflow: hidden;
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: clamp(52px, 10vw, 140px);
  font-weight: 900;
  line-height: 0.85;
  white-space: nowrap;
  opacity: 0.9;
}

.ticker span {
  animation: ticker 24s linear infinite;
}

.manifesto {
  overflow: hidden;
  padding: 22vh 5vw 10vh;
}

.manifesto__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr minmax(260px, 0.9fr) minmax(240px, 0.55fr);
  gap: 24px;
  align-items: end;
  min-height: 70vh;
}

.quote-block p {
  margin: 0;
  max-width: 700px;
  font-size: clamp(34px, 5vw, 74px);
  font-weight: 900;
  line-height: 0.95;
}

.quote-block strong {
  color: var(--lime);
  font-family: Georgia, serif;
}

.quote-block span {
  display: block;
  margin-top: 24px;
  color: rgba(244, 243, 236, 0.64);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.photo-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #283228;
}

.photo-card--large {
  aspect-ratio: 0.78;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.14) contrast(1.08);
}

.photo-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 8px 10px;
  background: var(--lime);
  color: var(--ink);
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}

.stat-stack {
  display: grid;
  gap: 10px;
}

.stat-stack article,
.timeline-card,
.fleet-card {
  border: 1px solid rgba(244, 243, 236, 0.2);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(244, 243, 236, 0.06);
}

.stat-stack small,
.timeline-card small,
.fleet-card small,
.section-kicker {
  color: var(--lime);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stat-stack strong {
  display: block;
  margin: 5px 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.9;
}

.stat-stack span {
  color: rgba(244, 243, 236, 0.64);
  font-size: 13px;
  line-height: 1.5;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 82vh;
}

.split {
  position: relative;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: min(8vw, 90px) 5vw;
  color: var(--paper);
  isolation: isolate;
}

.split::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(17, 21, 16, 0.42), rgba(17, 21, 16, 0.78)),
    url("./assets/wei-noa-drive.jpg") center / cover;
  transition: transform 0.7s ease;
}

.split--off::before {
  background:
    linear-gradient(rgba(17, 21, 16, 0.38), rgba(17, 21, 16, 0.82)),
    url("./assets/wei-brazil.jpg") center / cover;
}

.split:hover::before {
  transform: scale(1.08);
}

.split span,
.split strong {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(70px, 13vw, 190px);
  font-weight: 900;
  line-height: 0.78;
}

.split span {
  color: var(--lime);
}

.split p {
  max-width: 360px;
  margin: 24px 0 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.split svg {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  stroke: var(--lime);
  stroke-width: 2.5;
}

.lab {
  overflow: hidden;
  padding: 100px 5vw 70px;
}

.mega-heading,
.fleet__title {
  margin: 10px 0 34px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: clamp(62px, 14vw, 180px);
  font-weight: 900;
  line-height: 0.78;
  text-transform: uppercase;
}

.lab__layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 30px;
  align-items: center;
}

.lab-copy p,
.fleet__intro {
  margin: 0;
  max-width: 560px;
  color: #30362d;
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.15;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.machine-stage {
  position: relative;
  min-height: 360px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(69, 96, 111, 0.18), transparent 45%),
    var(--paper-soft);
}

.car {
  position: absolute;
  filter: drop-shadow(0 32px 36px rgba(17, 21, 16, 0.22));
}

.car--one {
  right: 5%;
  bottom: 20%;
  width: min(560px, 78%);
}

.car--two {
  left: -6%;
  bottom: 7%;
  width: min(440px, 58%);
}

.speed-lines {
  position: absolute;
  inset: 10%;
  background: repeating-linear-gradient(
    -12deg,
    transparent 0 18px,
    rgba(17, 21, 16, 0.08) 18px 20px
  );
  mix-blend-mode: multiply;
}

.global {
  padding: 90px 5vw;
}

.global__headline {
  margin-bottom: 40px;
  font-family: Georgia, serif;
  font-weight: 900;
  line-height: 0.8;
}

.global__headline span,
.global__headline strong {
  display: block;
  font-size: clamp(70px, 16vw, 210px);
}

.global__headline span {
  color: var(--lime);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.timeline-card {
  min-height: 270px;
  display: grid;
  align-content: space-between;
  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.timeline-card:hover {
  transform: translateY(-8px);
  background: rgba(199, 255, 0, 0.08);
}

.timeline-card h3 {
  margin: 30px 0 0;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1;
}

.timeline-card p {
  margin: 20px 0 0;
  color: rgba(244, 243, 236, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.fleet {
  padding: 90px 5vw 110px;
  overflow: hidden;
}

.fleet__intro {
  margin-bottom: 34px;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fleet-card {
  min-height: 360px;
  display: grid;
  align-content: end;
  color: var(--ink);
  background: #e0dfd4;
  border-color: rgba(17, 21, 16, 0.14);
  overflow: hidden;
}

.fleet-card img {
  align-self: center;
  width: 110%;
  max-width: none;
  margin: 0 0 30px -5%;
  transition: transform 0.45s ease;
}

.fleet-card:hover img {
  transform: translateX(16px) scale(1.05);
}

.fleet-card small {
  color: var(--red);
}

.fleet-card strong {
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.signature {
  display: grid;
  place-items: center;
  min-height: 85vh;
  overflow: hidden;
  text-align: center;
}

.signature__stroke {
  position: absolute;
  color: transparent;
  -webkit-text-stroke: 5px var(--lime);
  font-family: Georgia, serif;
  font-size: clamp(190px, 42vw, 620px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.8;
  opacity: 0.9;
  transform: rotate(-12deg);
}

.signature p {
  position: relative;
  z-index: 1;
  width: min(980px, 90vw);
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(42px, 8vw, 110px);
  font-weight: 900;
  line-height: 0.92;
}

.cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 0 18px;
  background: var(--lime);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 5vw;
  background: #0d110d;
  color: var(--paper);
}

.site-footer strong {
  color: var(--lime);
}

.site-footer p {
  max-width: 720px;
  margin: 8px 0 0;
  color: rgba(244, 243, 236, 0.68);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer a {
  align-self: start;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.12em;
}

.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

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

@keyframes loadBar {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (max-width: 980px) {
  .quick-nav > a:not(.store-link) {
    display: none;
  }

  .manifesto__grid,
  .lab__layout,
  .timeline,
  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .photo-card--large {
    aspect-ratio: 1.45;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .split {
    min-height: 56vh;
  }

  .machine-stage {
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px;
    grid-template-columns: 1fr auto;
  }

  .header-center {
    display: none;
  }

  .brand strong {
    font-size: 22px;
  }

  .store-link {
    display: none !important;
  }

  .hero__title {
    top: 14vh;
  }

  .hero__media {
    width: 92vw;
    aspect-ratio: 0.82;
    border-radius: 0 0 40% 40%;
  }

  .next-card {
    width: 104px;
    min-height: 148px;
  }

  .hero__meta {
    right: 12px;
    left: 128px;
    bottom: 18px;
  }

  .hero__meta span {
    font-size: 10px;
    padding: 6px 8px;
  }

  .scroll-cue {
    display: none;
  }

  .manifesto,
  .lab,
  .global,
  .fleet {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ticker {
    top: 78px;
  }

  .menu-panel a {
    font-size: clamp(36px, 12vw, 68px);
  }

  .site-footer {
    display: grid;
  }
}

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