:root {
  --bg: #eaf1f5;
  --text: #091522;
  --muted: rgba(9, 21, 34, 0.72);
  --line: rgba(7, 31, 55, 0.14);
  --navy: #192847;
  --ocean: #2d84b9;
  --seafoam: #a9d8e8;
  --ice: #f8fbfd;
  --shadow: 0 30px 80px rgba(9, 28, 48, 0.18);
  --gutter: clamp(1.25rem, 2vw, 2rem);
  --content: min(1180px, calc(100vw - 2 * var(--gutter)));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(169, 216, 232, 0.9), transparent 32%),
    linear-gradient(180deg, #f4fafc 0%, var(--bg) 34%, #f5f9fc 100%);
}

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

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

.site-shell {
  position: relative;
  overflow-x: clip;
}

.topbar,
.intro,
.engineering,
.layout-story,
.experience,
.business,
.preorder,
.footer {
  width: var(--content);
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(11, 26, 44, 0.6);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(7, 17, 29, 0.14);
}

.brand img {
  width: 108px;
}

.main-nav {
  display: flex;
  gap: 1.35rem;
  font-size: 0.92rem;
  color: rgba(244, 249, 252, 0.88);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(4, 15, 27, 0.25) 0%, rgba(4, 15, 27, 0.2) 20%, rgba(4, 15, 27, 0.62) 100%),
    linear-gradient(90deg, rgba(7, 16, 28, 0.68) 0%, rgba(7, 16, 28, 0.14) 56%, rgba(7, 16, 28, 0.28) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 8.5rem 0 3rem;
  color: white;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero h1 {
  max-width: 8.2em;
  margin: 1rem 0 0;
  font-family: "Avenir Next Condensed", "Avenir Next", sans-serif;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 31rem;
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.55;
  color: rgba(245, 251, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-solid {
  background: white;
  color: var(--navy);
}

.button-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3.8rem;
}

.hero-facts div,
.spec-band div,
.timeline div,
.process-list div {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-facts span,
.spec-band span,
.timeline span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 251, 255, 0.64);
}

.hero-facts strong,
.spec-band strong,
.timeline strong {
  font-size: 0.98rem;
  line-height: 1.4;
}

section {
  padding: 7.5rem 0;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.footer h2 {
  margin: 0.5rem 0 0;
  font-family: "Avenir Next Condensed", "Avenir Next", sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--ocean);
}

.intro-layout,
.layout-copy,
.experience-text,
.business-grid,
.process-list {
  display: grid;
  gap: 1.5rem;
}

.intro-layout {
  grid-template-columns: 1fr 1fr;
}

.intro-layout p,
.layout-copy p,
.experience-text p,
.business-column p,
.process-list p,
.footer-links p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.engineering-grid,
.layout-grid,
.experience-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.engineering-grid,
.layout-grid {
  grid-template-columns: 1.25fr 1fr;
}

.experience-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.engineering-image,
.layout-image,
.gallery figure,
.experience-video {
  margin: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.7;
}

.spec-band,
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.spec-band div,
.timeline div {
  border-top-color: var(--line);
}

.spec-band span,
.timeline span {
  color: rgba(9, 21, 34, 0.5);
}

.gallery {
  width: min(1280px, calc(100vw - 2 * var(--gutter)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1rem;
}

.gallery-primary {
  grid-row: span 2;
}

.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a1420;
}

.business-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.business-column {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.business-column h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-list div {
  border-top-color: var(--line);
}

.process-list span {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 2rem;
  font-family: "Avenir Next Condensed", "Avenir Next", sans-serif;
  color: var(--navy);
}

.footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
  justify-content: space-between;
  gap: 2rem;
  padding: 5rem clamp(1.25rem, 3vw, 2.5rem);
  margin-bottom: 4rem;
  align-items: end;
  border-radius: 1.75rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 20, 34, 0.3) 0%, rgba(7, 20, 34, 0.72) 100%),
    linear-gradient(90deg, rgba(8, 19, 31, 0.8) 0%, rgba(8, 19, 31, 0.36) 52%, rgba(8, 19, 31, 0.74) 100%),
    url("public/assets/m_95fa31bc.jpg");
  background-size: cover;
  background-position: center center;
  box-shadow: var(--shadow);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(105, 181, 214, 0.22), transparent 34%);
  pointer-events: none;
}

.footer-copy,
.footer-links {
  position: relative;
  z-index: 1;
}

.footer .section-kicker {
  color: rgba(210, 238, 248, 0.88);
}

.footer h2 {
  color: white;
  max-width: 12ch;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
}

.footer-links a {
  font-size: 1.15rem;
  color: white;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-links p {
  color: rgba(232, 244, 250, 0.82);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 980px) {
  .topbar {
    width: calc(100vw - 2rem);
    border-radius: 1.25rem;
  }

  .main-nav {
    display: none;
  }

  .hero-facts,
  .spec-band,
  .timeline,
  .process-list,
  .business-grid,
  .intro-layout,
  .engineering-grid,
  .layout-grid,
  .experience-grid,
  .gallery,
  .footer {
    grid-template-columns: 1fr;
  }

  .gallery-primary {
    grid-row: auto;
  }

  .hero-grid {
    padding-top: 7.5rem;
  }

  .hero h1 {
    max-width: 9em;
  }

  .footer {
    align-items: start;
    padding: 4rem 1.4rem 1.6rem;
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 0.75rem;
    padding: 0.7rem 0.9rem;
  }

  .brand img {
    width: 96px;
  }

  .hero-grid {
    padding-bottom: 2rem;
  }

  section {
    padding: 5.25rem 0;
  }

  .button {
    width: 100%;
  }

  .footer {
    gap: 1.25rem;
    padding: 3.5rem 1.1rem 1.4rem;
    margin-bottom: 2.5rem;
    background-position: center bottom;
  }

  .footer-links a {
    font-size: 1rem;
  }
}
