:root {
  --black: #080808;
  --dark: #101010;
  --white: #f3f1ec;
  --muted: #9b9a94;
  --line: rgba(243, 241, 236, 0.18);
  --accent: #d8ff3e;
  --serif: Georgia, "Times New Roman", serif;
  --display: "Barlow Condensed", sans-serif;
  --body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 28px 5vw;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.brand {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-link,
.brand-footer {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  height: auto;
  width: min(120px, 34vw);
  object-fit: contain;
}

.brand-link .brand-logo {
  transform: translateY(-10px);
}

.brand-footer .brand-logo {
  width: min(220px, 46vw);
}

.brand span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  gap: 35px;
  margin-left: auto;
  margin-right: 45px;
}

.main-nav a,
.header-cta,
.footer-links a {
  color: rgba(243, 241, 236, 0.72);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.header-cta {
  border-bottom: 1px solid var(--accent);
  color: var(--white);
  padding-bottom: 8px;
}

.header-cta span,
.text-link span,
.button span {
  color: var(--accent);
  margin-left: 10px;
}

.menu-toggle {
  background: none;
  border: 0;
  display: none;
}

.hero {
  align-items: flex-end;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  padding: 14vw 5vw 8vw;
  position: relative;
}

.hero-video,
.hero-overlay,
.noise {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.hero-video {
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 75%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 45%);
}

.noise {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
  opacity: 0.14;
  pointer-events: none;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.accent {
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.84;
}

h1 {
  font-size: clamp(5rem, 14vw, 13rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(4rem, 9vw, 9rem);
  letter-spacing: -0.03em;
}

h1 em,
h2 em {
  color: transparent;
  font-family: var(--serif);
  font-size: 0.88em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 1px var(--white);
}

.hero-description {
  color: rgba(243, 241, 236, 0.76);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 35px 0;
  max-width: 410px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border: 1px solid var(--white);
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 52px;
  padding: 0 23px;
  text-transform: uppercase;
  transition: 0.25s ease;
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #5a5a5a;
}

.button-primary span {
  color: #5a5a5a;
}

.button-primary,
.button-primary span {
  color: #5a5a5a !important;
}

.button:hover {
  transform: translateY(-3px);
}

.button-ghost {
  background: rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.play-icon {
  font-size: 0.55rem;
}

.hero-bottom {
  align-items: center;
  bottom: 42px;
  color: rgba(243, 241, 236, 0.55);
  display: flex;
  font-size: 0.6rem;
  gap: 14px;
  letter-spacing: 0.14em;
  position: absolute;
  right: 5vw;
  text-transform: uppercase;
}

.scroll-line {
  background: var(--accent);
  height: 1px;
  width: 65px;
}

.section {
  padding: 150px 5vw;
}

.section-label {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  padding-top: 14px;
  text-transform: uppercase;
}

.intro-grid,
.split-heading {
  display: grid;
  gap: 8vw;
  grid-template-columns: 1.2fr 0.8fr;
  margin-top: 85px;
}

.intro-copy {
  padding-top: 15px;
}

.large-copy {
  color: var(--white);
  font-size: clamp(1.4rem, 2.2vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 30px;
}

.intro-copy > p:not(.large-copy),
.stage-info p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.text-link {
  border-bottom: 1px solid var(--line);
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  margin-top: 35px;
  padding-bottom: 11px;
  text-transform: uppercase;
}

.feature-banner {
  height: 75vh;
  min-height: 500px;
  overflow: hidden;
  position: relative;
}

.feature-banner::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 35%);
  content: "";
  inset: 0;
  position: absolute;
}

.feature-banner-caption {
  bottom: 30px;
  display: flex;
  font-size: 0.62rem;
  justify-content: space-between;
  left: 5vw;
  letter-spacing: 0.14em;
  position: absolute;
  right: 5vw;
  text-transform: uppercase;
  z-index: 1;
}

.section-heading {
  margin: 85px 0 65px;
}

.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.35fr 1fr 1fr;
}

.feature-card {
  background: var(--dark);
}

.card-image {
  height: 310px;
  overflow: hidden;
}

.feature-card-large .card-image {
  height: 460px;
}

.card-image img,
.stage-image img,
.car-image img,
.gallery-grid img {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feature-card:hover img,
.stage-row:hover img,
.car-card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 25px;
}

.card-number,
.stage-number {
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.2rem;
}

.card-content h3 {
  font-size: 2rem;
  margin: 25px 0 12px;
}

.card-content p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.split-heading {
  align-items: end;
}

.split-heading > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 330px;
  padding-bottom: 8px;
}

.car-showcase {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 70px;
}

.car-card {
  background: var(--dark);
}

.car-image {
  height: 520px;
  overflow: hidden;
  position: relative;
}

.car-class {
  background: var(--accent);
  bottom: 20px;
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 9px 12px;
  position: absolute;
  right: 20px;
}

.car-details {
  align-items: end;
  display: flex;
  justify-content: space-between;
  padding: 25px;
}

.car-details h3 {
  font-size: 2.7rem;
  margin-top: 15px;
}

.car-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.car-stats span {
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.car-stats strong {
  color: var(--white);
  display: block;
  font-size: 0.75rem;
  margin-top: 3px;
}

.stages-intro {
  margin: 85px 0;
}

.stage-list {
  border-top: 1px solid var(--line);
}

.stage-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 30px;
  grid-template-columns: 50px 240px 1fr 30px;
  min-height: 180px;
  transition: background 0.25s ease;
}

.stage-row:hover {
  background: var(--dark);
}

.stage-image {
  height: 130px;
  overflow: hidden;
}

.stage-info span {
  color: var(--accent);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
}

.stage-info h3 {
  font-size: 2.1rem;
  margin: 12px 0;
}

.stage-arrow {
  color: var(--accent);
  font-size: 1.5rem;
}

.trailer {
  padding-top: 0;
}

.trailer-frame {
  height: 75vh;
  min-height: 500px;
  overflow: hidden;
  position: relative;
}

.trailer-frame::after {
  background: rgba(0, 0, 0, 0.18);
  content: "";
  inset: 0;
  position: absolute;
}

.trailer-overlay {
  background: radial-gradient(circle, transparent 5%, rgba(0, 0, 0, 0.65));
  inset: 0;
  position: absolute;
  z-index: 1;
}

.play-button {
  align-items: center;
  background: var(--accent);
  border: 0;
  border-radius: 50%;
  color: var(--black);
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  height: 100px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
  width: 100px;
  z-index: 2;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button span {
  margin-left: 4px;
}

.trailer-caption {
  bottom: 25px;
  display: flex;
  font-size: 0.62rem;
  justify-content: space-between;
  left: 25px;
  letter-spacing: 0.15em;
  position: absolute;
  right: 25px;
  z-index: 2;
}

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
}

.gallery-grid img {
  aspect-ratio: 1 / 1;
  filter: saturate(0.8);
}

.gallery-grid img:hover {
  filter: saturate(1.1);
  transform: scale(1.02);
}

.gallery-grid .gallery-wide {
  aspect-ratio: 2 / 1;
  grid-column: span 2;
}

.final-cta {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 80vh;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.final-cta-background {
  background:
    linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.7)),
    url("assets/images/hero.jpg") center / cover;
  inset: 0;
  position: absolute;
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: clamp(5rem, 13vw, 13rem);
  margin-bottom: 45px;
}

.final-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 35px 5vw;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.65rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

/* Technology section */
.technology-section {
  position: relative;
  padding: 9rem 5vw;
  background: #0b0c0e;
  color: #f4f4f0;
  overflow: hidden;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #e8a83e;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 950px;
  margin: 0 auto;
  letter-spacing: -0.03em;

  /* font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-align: center;
  text-transform: uppercase; */
}

.section-intro {
  max-width: 580px;
  margin: 1.75rem auto 0;
  color: #9b9da0;
  font-size: 1rem;
  line-height: 1.7;
}

/* Card layout */
.technology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
}

.technology-card {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #151619;
  overflow: hidden;
}

.technology-card--large,
.technology-card--wide {
  grid-column: span 2;
  min-height: 620px;
}

.technology-card__media,
.technology-card__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.technology-card__media::after,
.technology-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(8, 9, 10, 0.98) 0%,
      rgba(8, 9, 10, 0.45) 30%,
      rgba(8, 9, 10, 0.00) 40%
    );
}

.technology-card img,
.technology-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.technology-card:hover img,
.technology-card:hover video {
  transform: scale(1.04);
}

.technology-card__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 2.25rem;
}

.technology-card:not(.technology-card--large):not(.technology-card--wide)
  .technology-card__content {
  max-width: 520px;
}

.technology-card__number {
  display: block;
  margin-bottom: 1rem;
  color: #e8a83e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.technology-card h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.technology-card p {
  max-width: 560px;
  margin: 0;
  color: #b8b9ba;
  font-size: 0.98rem;
  line-height: 1.65;
}

.technology-card__link {
  display: inline-block;
  margin-top: 1.5rem;
  color: #f4f4f0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.technology-card__link span {
  display: inline-block;
  margin-left: 0.35rem;
  color: #e8a83e;
  transition: transform 0.25s ease;
}

.technology-card__link:hover span {
  transform: translate(3px, -3px);
}

/* Force-feedback specification list */
.technology-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.technology-card__specs li {
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #d4d5d2;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Footer */
.technology-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1400px;
  margin: 2rem auto 0;
}

.technology-footer p {
  margin: 0;
  color: #8f9193;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: #62d68b;
  box-shadow: 0 0 12px #62d68b;
}

.button {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  color: #f4f4f0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.button--outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.button--outline:hover {
  border-color: #e8a83e;
  background: #e8a83e;
  color: #101112;
}

/* Mobile layout */
@media (max-width: 760px) {
  .technology-section {
    padding: 5rem 1.25rem;
  }

  .technology-grid {
    grid-template-columns: 1fr;
  }

  .technology-card,
  .technology-card--large,
  .technology-card--wide {
    grid-column: auto;
    min-height: 500px;
  }

  .technology-card__content {
    padding: 1.5rem;
  }

  .technology-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .technology-footer .button {
    width: 100%;
    text-align: center;
  }

}



/* TABLET */
@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .main-nav {
    background: rgba(8, 8, 8, 0.96);
    border: 1px solid rgba(243, 241, 236, 0.14);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 0;
    left: 6vw;
    max-height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    padding: 14px 18px;
    position: absolute;
    right: 6vw;
    top: calc(100% + 12px);
    transform: translateY(-10px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      max-height 0.25s ease;
    pointer-events: none;
    z-index: 20;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.nav-open .main-nav {
    max-height: 260px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.nav-open .main-nav a {
    padding: 12px 0;
  }

  .menu-toggle span {
    background: var(--white);
    display: block;
    height: 1px;
    margin: 6px 0;
    width: 25px;
  }

  .header-cta {
    margin-left: auto;
    margin-right: 25px;
  }

  .intro-grid,
  .split-heading {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card-large {
    grid-column: span 2;
  }

  .car-showcase {
    grid-template-columns: 1fr;
  }

  .stage-row {
    grid-template-columns: 35px 180px 1fr 20px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .site-header {
    padding: 22px 6vw;
  }

  .header-cta {
    display: none;
  }

  .hero {
    align-items: flex-start;
    min-height: auto;
    padding: 76px 6vw 32px;
  }

  h1 {
    font-size: clamp(4.6rem, 10vw, 8rem);
    letter-spacing: -0.03em;
  }

  h2 {
    font-size: clamp(3.9rem, 18vw, 7rem);
  }

  .hero-description {
    font-size: 0.82rem;
    max-width: 300px;
  }

  .hero-bottom {
    bottom: 25px;
    left: 6vw;
    right: auto;
  }

  .section {
    padding: 90px 6vw;
  }

  .intro-grid,
  .split-heading {
    margin-top: 55px;
  }

  .feature-banner,
  .trailer-frame {
    height: 58vh;
    min-height: 390px;
  }

  .feature-grid {
    display: block;
  }

  .feature-card {
    margin-bottom: 18px;
  }

  .feature-card-large .card-image,
  .card-image {
    height: 280px;
  }

  .car-image {
    height: 350px;
  }

  .car-details {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }

  .car-stats {
    flex-direction: row;
    text-align: left;
  }

  .stage-row {
    gap: 15px;
    grid-template-columns: 25px 1fr 20px;
    padding: 20px 0;
  }

  .stage-image {
    height: 120px;
  }

  .stage-info {
    grid-column: 2;
    grid-row: 2;
  }

  .stage-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .stage-number {
    grid-row: 1 / span 2;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid .gallery-wide {
    grid-column: span 2;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }
}
