@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Montserrat:wght@500;600;700&display=swap');

:root {
  --ink: #131313;
  --muted: #666;
  --paper: #f5f5f2;
  --accent: #ba1f25;
  --line: #deded9;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: 'Manrope', sans-serif;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
select {
  font: inherit;
}
.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;
}

.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  height: 88px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: white;
  background: linear-gradient(180deg, rgb(0 0 0 / 62%), transparent);
  transition: 250ms ease;
}
.site-header.is-scrolled {
  height: 72px;
  color: var(--ink);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled .brand img {
  filter: invert(1);
}
.brand img {
  width: 174px;
  height: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
}
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.site-nav a:hover {
  opacity: 0.65;
}
.header-cta {
  justify-self: end;
  padding: 12px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
}

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  color: white;
  overflow: hidden;
  display: flex;
  align-items: end;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 68%) 0%, rgb(0 0 0 / 15%) 62%),
    linear-gradient(0deg, rgb(0 0 0 / 48%), transparent 48%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 88vw);
  margin: 0 0 clamp(110px, 16vh, 180px) clamp(24px, 7vw, 110px);
}
.eyebrow {
  margin: 0 0 18px;
  color: rgb(255 255 255 / 76%);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow.dark {
  color: var(--accent);
}
h1,
h2,
h3 {
  font-family: 'Montserrat', sans-serif;
}
h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.hero-lede {
  max-width: 610px;
  margin: 28px 0 34px;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 180ms ease;
}
.button-light {
  color: var(--ink);
  background: white;
}
.button-light:hover {
  background: #e9e9e6;
}
.button-ghost {
  color: white;
  border-color: rgb(255 255 255 / 70%);
  background: rgb(255 255 255 / 5%);
}
.button-ghost:hover {
  background: rgb(255 255 255 / 15%);
}
.button-dark {
  width: 100%;
  color: white;
  background: var(--ink);
}
.button-dark:hover {
  background: var(--accent);
}
.hero-note {
  position: absolute;
  z-index: 1;
  right: clamp(24px, 7vw, 110px);
  bottom: 44px;
  font-size: 13px;
}
.hero-note strong {
  margin-left: 8px;
  font-size: 16px;
}

.section-pad {
  padding: clamp(80px, 10vw, 150px) clamp(24px, 7vw, 110px);
}
.intro {
  max-width: 1500px;
  margin: auto;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(40px, 9vw, 140px);
  align-items: start;
}
.intro h2,
.section-heading h2,
.test-drive h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.intro-grid p {
  margin: 8px 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}
.text-link {
  display: inline-flex;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid;
  font-weight: 700;
  text-decoration: none;
}

.models {
  background: var(--paper);
}
.section-heading {
  max-width: var(--max);
  margin: 0 auto 54px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.model-tabs {
  display: flex;
  padding: 5px;
  background: #e7e7e2;
  border-radius: 999px;
}
.tab {
  min-width: 65px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #555;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.tab.is-active {
  color: white;
  background: var(--ink);
}
.model-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.model-card {
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid #e8e8e4;
  transition:
    transform 250ms ease,
    box-shadow 250ms ease;
}
.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 60px rgb(0 0 0 / 10%);
}
.model-card[hidden] {
  display: none;
}
.model-card > img {
  width: 100%;
  height: 245px;
  object-fit: contain;
  padding: 26px 20px 8px;
  background: linear-gradient(150deg, #fafafa, #eeeeea);
}
.model-kind {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  padding: 5px 9px;
  color: white;
  background: var(--accent);
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.model-card-body {
  padding: 24px;
}
.model-card h3 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.price {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}
.model-card ul {
  min-height: 80px;
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.model-card a {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.price-disclaimer {
  max-width: var(--max);
  margin: 28px auto 0;
  color: #777;
  font-size: 11px;
  line-height: 1.6;
}

.technology {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #111;
  color: white;
}
.technology-media {
  min-height: 560px;
}
.technology-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.technology-copy {
  padding: clamp(70px, 9vw, 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.technology h2 {
  margin: 0 0 28px;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.technology-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 35px;
  color: #aaa;
  font-size: 17px;
  line-height: 1.8;
}
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 40px;
}
.stat-row div {
  padding-top: 18px;
  border-top: 1px solid #444;
}
.stat-row strong,
.stat-row span {
  display: block;
}
.stat-row strong {
  font:
    600 clamp(24px, 2.3vw, 36px) 'Montserrat',
    sans-serif;
}
.stat-row span {
  margin-top: 7px;
  color: #888;
  font-size: 11px;
}
.technology .button {
  align-self: flex-start;
}

.test-drive {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(55px, 9vw, 130px);
}
.test-drive-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.assistant-callout {
  margin-top: 34px;
  padding: 18px;
  display: flex;
  gap: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.assistant-callout span {
  color: var(--accent);
  font-size: 22px;
}
.assistant-callout p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}
.test-drive-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: clamp(26px, 4vw, 52px);
  background: var(--paper);
}
.test-drive-form label {
  display: grid;
  gap: 8px;
  color: #444;
  font-size: 12px;
  font-weight: 700;
}
.test-drive-form input,
.test-drive-form select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #d2d2cd;
  border-radius: 0;
  background: white;
  color: var(--ink);
  outline: none;
}
.test-drive-form input:focus,
.test-drive-form select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.consent,
.test-drive-form .button,
.form-status {
  grid-column: 1 / -1;
}
.test-drive-form .consent {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.consent input {
  width: 18px;
  height: 18px;
}
.form-status {
  min-height: 20px;
  margin: 0;
  color: #26733d;
  font-size: 13px;
}

footer {
  color: white;
  background: #111;
}
.footer-main {
  padding: 70px clamp(24px, 7vw, 110px);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
}
.footer-main p {
  color: #999;
}
.footer-main a {
  color: white;
  font-size: 13px;
  font-weight: 700;
}
.footer-base {
  padding: 20px clamp(24px, 7vw, 110px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #333;
  color: #777;
  font-size: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
  }
  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
  }
  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    padding: 30px 24px 42px;
    display: none;
    flex-direction: column;
    align-items: start;
    gap: 24px;
    color: var(--ink);
    background: white;
    box-shadow: 0 22px 40px rgb(0 0 0 / 14%);
  }
  .site-nav.is-open {
    display: flex;
  }
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .technology {
    grid-template-columns: 1fr;
  }
  .technology-media {
    min-height: 460px;
  }
  .test-drive {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 72px;
    padding: 0 20px;
  }
  .brand img {
    width: 132px;
  }
  .hero {
    min-height: 780px;
  }
  .hero-copy {
    margin: 0 20px 135px;
  }
  h1 {
    font-size: 48px;
  }
  .hero-note {
    left: 20px;
    right: auto;
    bottom: 45px;
  }
  .hero-note strong {
    display: block;
    margin: 5px 0 0;
  }
  .section-pad {
    padding: 75px 20px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .intro h2,
  .section-heading h2,
  .test-drive h2 {
    font-size: 40px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .model-tabs {
    width: 100%;
    overflow-x: auto;
  }
  .tab {
    flex: 1;
    min-width: 60px;
  }
  .model-grid {
    grid-template-columns: 1fr;
  }
  .technology-copy {
    padding: 70px 20px;
  }
  .technology-media {
    min-height: 340px;
  }
  .stat-row {
    grid-template-columns: 1fr;
  }
  .test-drive-form {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }
  .test-drive-form label {
    grid-column: 1;
  }
  .footer-main,
  .footer-base {
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-base {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
