@font-face {
  font-family: "Overpass";
  src: url("fonts/overpass-var.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --ink: #0b0e14;
  --surface: #111722;
  --surface-2: #171e2b;
  --text: #f2f5fa;
  --muted: #a9b4c3;
  --line: #283141;
  --azure: #5d8ff9;
  --violet: #8058eb;
  --shell: min(1220px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Overpass", sans-serif;
  font-weight: 430;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--text);
  color: var(--ink);
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: var(--shell);
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  background: rgba(11, 14, 20, .9);
  box-shadow: 50vw 0 0 rgba(11, 14, 20, .9), -50vw 0 0 rgba(11, 14, 20, .9);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-block;
}

.brand img {
  width: 188px;
  height: auto;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  color: #d9dfea;
  font-size: 14px;
}

.site-header nav a {
  text-decoration: none;
}

.site-header nav a:focus-visible,
.site-header nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 112px 24px 0;
  isolation: isolate;
  place-items: start center;
  text-align: center;
}

.ambient {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  will-change: transform;
}

.ambient-hero {
  inset: -58px -24px auto;
  height: min(1020px, calc(100svh + 116px));
  background-image: url("img/hero-scan.webp");
  background-position: center center;
  background-size: cover;
  opacity: .32;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 66%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 66%, transparent 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 970px;
  padding-inline: clamp(0px, 3vw, 44px);
  background: radial-gradient(ellipse at center, rgba(11, 14, 20, .82) 0%, rgba(11, 14, 20, .48) 54%, transparent 78%);
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(52px, 6.3vw, 92px);
  line-height: .91;
}

.hero-copy > p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.button-primary {
  background: var(--azure);
  color: #08101e;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #78a2ff;
}

.button-secondary {
  border-color: #3a4557;
  background: rgba(17, 23, 34, .75);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #637089;
}

.hero-visual {
  width: min(1220px, calc(100vw - 32px));
  margin: 28px auto 0;
  align-self: end;
}

.hero-visual picture {
  display: block;
}

.hero-visual img {
  width: 100%;
  max-height: 52svh;
  object-fit: contain;
}

.platform {
  padding-top: clamp(110px, 14vw, 190px);
}

.platform-intro,
.section-heading,
.contact,
.site-footer {
  width: var(--shell);
  margin-inline: auto;
}

.platform-intro h2,
.section-heading h2,
.ownership h2,
.contact h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(42px, 5.7vw, 78px);
}

.platform-intro {
  padding-bottom: clamp(70px, 9vw, 130px);
}

.story {
  display: grid;
  width: min(1480px, 100%);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr);
  border-block: 1px solid var(--line);
}

.story-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background: #0d1118;
}

.story-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
}

.story-frame:first-child {
  opacity: 1;
}

.js .story-frame {
  transition: opacity 280ms ease-out;
}

.story-frame picture,
.story-frame img {
  width: 100%;
  height: 100%;
}

.story-frame img {
  height: 100%;
  object-fit: contain;
}

.story-steps {
  margin: 0;
  padding: 0 clamp(32px, 4vw, 64px);
  list-style: none;
}

.story-step {
  display: flex;
  min-height: 64vh;
  justify-content: center;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
}

.story-step:last-child {
  border-bottom: 0;
}

.story-step h3 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(34px, 3.3vw, 52px);
}

.story-step p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
}

.mobile-frame {
  display: none;
}

.ecosystem {
  position: relative;
  overflow: hidden;
  padding: clamp(130px, 16vw, 220px) 0;
  isolation: isolate;
}

.ambient-survey,
.ambient-deployment {
  left: calc((100% - 100vw) / 2);
  width: 100vw;
  background-image: url("img/facility-survey.webp");
  background-position: center center;
  background-size: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 78%, transparent 100%);
}

.ambient-survey {
  top: clamp(20px, 5vw, 76px);
  height: clamp(300px, 28vw, 410px);
  opacity: .27;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 58%, transparent 100%);
}

.section-heading {
  display: grid;
  margin-bottom: clamp(80px, 10vw, 140px);
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  align-items: end;
  gap: 64px;
}

.section-heading,
.ecosystem-row,
.ownership > :not(.ambient),
.contact-copy {
  position: relative;
  z-index: 1;
}

.section-heading p {
  max-width: 490px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.ecosystem-row {
  display: grid;
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(62px, 7vw, 100px) 0;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  border-top: 1px solid var(--line);
}

.ecosystem-row.row-reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(270px, .72fr);
}

.row-reverse .row-copy {
  order: 2;
}

.row-copy h3 {
  margin-bottom: 22px;
  font-size: clamp(32px, 4vw, 54px);
}

.row-copy p,
.editorial-note {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.row-image {
  overflow: hidden;
  background: var(--surface);
}

.row-image img {
  width: 100%;
  height: auto;
}

.ecosystem-text-row {
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.editorial-note {
  padding-left: 28px;
  border-left: 2px solid var(--violet);
  color: #ced5e0;
}

.ownership {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(120px, 14vw, 190px) 0;
  isolation: isolate;
}

.ownership-lead,
.deployment-options,
.partner-note {
  width: var(--shell);
  margin-inline: auto;
}

.ambient-deployment {
  top: -40px;
  height: min(800px, 72vw);
  background-position: center 58%;
  opacity: .23;
}

.ownership-lead {
  display: grid;
  margin-bottom: 72px;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 48px;
}

.ownership-lead p {
  max-width: 480px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 20px;
}

.deployment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.deployment-options article {
  min-height: 240px;
  padding: 38px clamp(24px, 3vw, 42px) 44px 0;
}

.deployment-options article + article {
  padding-left: clamp(24px, 3vw, 42px);
  border-left: 1px solid var(--line);
}

.deployment-options h3,
.partner-note h3 {
  margin-bottom: 20px;
  font-size: 27px;
}

.deployment-options p,
.partner-note p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
}

.partner-note {
  display: grid;
  padding-top: 70px;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

.contact {
  padding: clamp(130px, 15vw, 210px) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact h2 {
  margin-inline: auto;
}

.contact-copy > p {
  max-width: 620px;
  margin: 28px auto 34px;
  color: var(--muted);
  font-size: 19px;
}

.contact-copy .button {
  display: flex;
  width: max-content;
  margin: 0 auto;
}

.contact-copy .email {
  display: block;
  width: max-content;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-underline-offset: 4px;
}

[data-scroll-fade] {
  will-change: opacity;
}

[data-scroll-fade]:focus-within {
  opacity: 1 !important;
}

.site-footer {
  display: grid;
  padding: 36px 0 44px;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--line);
  color: #7f8999;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.footer-brand img {
  width: 156px;
  height: auto;
  opacity: .78;
}

.footer-scope {
  grid-column: 1 / -1;
  max-width: 640px;
}

.notfound {
  position: relative;
  display: grid;
  min-height: calc(100svh - 118px);
  overflow: hidden;
  padding: 140px 24px 96px;
  isolation: isolate;
  place-items: center;
  text-align: center;
}

.notfound h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 9vw, 96px);
  line-height: .95;
}

.notfound-copy p {
  max-width: 460px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  text-wrap: balance;
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .site-header {
    min-height: 112px;
    padding: 19px 0 14px;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .brand img {
    width: 158px;
  }

  .site-header nav {
    width: 100%;
    justify-content: center;
    gap: 26px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 142px 16px 0;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 76px);
  }

  .hero-visual {
    width: 100%;
    margin-top: 30px;
  }

  .ambient-hero {
    inset-inline: -16px;
    opacity: .28;
    background-position: 58% center;
  }

  .ambient-survey {
    top: 44px;
    height: 360px;
    opacity: .25;
    background-position: 54% center;
  }

  .ambient-deployment {
    top: 0;
    height: 660px;
    opacity: .21;
    background-position: 52% center;
  }

  .story {
    display: block;
    width: var(--shell);
    border: 0;
  }

  .story-stage {
    display: none;
  }

  .story-steps {
    padding: 0;
  }

  .story-step {
    min-height: 0;
    padding: 0 0 72px;
    border: 0;
  }

  .mobile-frame {
    display: block;
    margin-bottom: 26px;
    background: var(--surface);
  }

  .mobile-frame img {
    width: 100%;
  }

  .section-heading,
  .ecosystem-row,
  .ecosystem-row.row-reverse,
  .ecosystem-text-row,
  .ownership-lead,
  .partner-note {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 28px;
  }

  .ecosystem-row,
  .ecosystem-row.row-reverse {
    gap: 40px;
  }

  .row-reverse .row-copy {
    order: 0;
  }

  .editorial-note {
    max-width: 560px;
  }

  .ownership-lead {
    gap: 24px;
  }

  .deployment-options {
    grid-template-columns: 1fr;
  }

  .deployment-options article {
    min-height: 0;
    padding: 30px 0;
  }

  .deployment-options article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .partner-note {
    gap: 4px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .footer-brand {
    margin: 0 auto;
  }
}

.no-js .story {
  display: block;
  width: var(--shell);
  border: 0;
}

.no-js .story-stage {
  display: none;
}

.no-js .story-steps {
  padding: 0;
}

.no-js .story-step {
  min-height: 0;
  padding: 0 0 72px;
  border: 0;
}

.no-js .mobile-frame {
  display: block;
  margin-bottom: 26px;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 48px;
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .platform-intro h2,
  .section-heading h2,
  .ownership h2,
  .contact h2 {
    font-size: 40px;
  }

  .contact-copy .button {
    width: 100%;
  }
}

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

  .story-frame {
    transition: none !important;
  }

  .ambient {
    transform: none !important;
    will-change: auto;
  }

  [data-scroll-fade] {
    opacity: 1 !important;
    will-change: auto;
  }

  .story {
    display: block;
    width: var(--shell);
    border: 0;
  }

  .story-stage {
    display: none;
  }

  .story-steps {
    padding: 0;
  }

  .story-step {
    min-height: 0;
    padding: 0 0 72px;
    border: 0;
  }

  .mobile-frame {
    display: block;
    margin-bottom: 26px;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #c7ced8;
    --line: #596477;
  }
}
