:root {
  --bg: #000;
  --fg: #fff;
  --grey: #8e9291;
  --dim: #3a3a3a;
  --muted: #9a9a9a;
  --line: #262626;
  --bone: #e9e8e4;
  --ink: #141414;
  --pad: clamp(20px, 6.2vw, 120px);
  --nav: clamp(16px, 3.3vw, 64px);
  --red: #e2554a;
  --ok: #8ea892;
}

@font-face {
  font-family: Montserrat;
  src: url("../fonts/montserrat-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
html, body { min-height: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
button, a { color: inherit; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
a { text-decoration: none; }
h1, h2 {
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.034em;
  line-height: 1.02;
}
.lab {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 400;
}
#gl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}
html.no-gl #gl { display: none; }
main { position: relative; z-index: 1; }

#loader {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #000;
  pointer-events: none;
}
#loader span {
  position: absolute;
  left: 0;
  top: 50%;
  height: 1px;
  width: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  animation: load 0.9s ease forwards;
}
#loader.is-done { opacity: 0; transition: opacity 0.45s ease; }
html.shot #loader { display: none; }
@keyframes load { to { transform: scaleX(1); } }

.idx {
  position: fixed;
  right: var(--nav);
  bottom: 28px;
  z-index: 8;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #777;
  pointer-events: none;
}
.idx.on-bone { color: #7c7c7c; }
.idx.is-hidden { opacity: 0; }

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--nav);
  opacity: 0;
  transition: opacity 0.8s ease;
}
.nav.is-in, html.shot .nav, html.reduced .nav, html.phone-hero .nav { opacity: 1; }
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; gap: clamp(16px, 2.4vw, 44px); }
.nav__links a {
  font-size: 15px;
  color: #ddd;
}
.nav__links a:hover, .nav__links a:focus-visible { color: #fff; }

.hero__sticky {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: transparent;
}
.hero__media {
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
}
.hero__media video,
.hero__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__still { display: none; }
html.shot .hero__still { display: block; }
html.shot .hero__media video { display: none; }
.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}
.hero__foot {
  position: absolute;
  left: var(--nav);
  right: var(--nav);
  bottom: 36px;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  pointer-events: none;
}
.hero__foot .lab:last-child { justify-self: end; }
.hero__rule {
  width: 1px;
  height: 70px;
  justify-self: center;
  background: linear-gradient(#fff, transparent);
}

.manifesto__pin {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12vh var(--pad);
  gap: 36px;
}
.manifesto h1 {
  font-size: clamp(32px, 4.2vw, 62px);
  max-width: none;
}
.manifesto .word { color: inherit; }
html.js:not(.reduced):not(.shot) .manifesto .word { color: var(--dim); }
html.js:not(.reduced):not(.shot) .manifesto .word.is-lit,
html.shot .manifesto .word.is-lit { color: #fff; }
html.shot .manifesto .word { color: var(--dim); }
html.reduced .manifesto .word { color: #fff; }

.nogps__pin {
  position: relative;
  min-height: 100vh;
}
.nogps__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.nogps__visual img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: 68% center;
  opacity: 1;
}
html.js:not(.reduced):not(.shot) .nogps__visual img { opacity: 0; }
.nogps__copy {
  position: relative;
  z-index: 2;
  width: min(840px, 66%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10vh var(--pad);
  background: linear-gradient(90deg, #000 0 42%, rgba(0, 0, 0, 0.72) 68%, transparent 100%);
}
.nogps h1 {
  font-size: clamp(34px, 3.9vw, 56px);
  margin: 22px 0 22px;
  max-width: none;
}
.lede {
  color: #b5b5b5;
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.55;
  max-width: 28em;
}
.steps {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px 16px;
  margin-top: 36px;
  align-items: center;
}
.step {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #6a6a6a;
}
.step.is-on { color: #fff; }
.step-arrow { color: #5a5a5a; font-size: 13px; }
html.reduced .step { color: #fff; }

.marker {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 1px solid #fff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  background: #fff;
  border-radius: 50%;
}
.marker.is-locked { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18); }
html.shot .marker, html.reduced .marker { display: none; }

.speeds { background: #050505; }
.speeds__pin {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 42vw);
  grid-template-rows: auto 1fr auto;
  padding: 64px clamp(28px, 4vw, 88px) 48px;
  gap: 8px 16px;
  align-items: center;
}
.speeds .lab { grid-column: 1; grid-row: 1; }
.speeds h1 {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  font-size: clamp(28px, 2.7vw, 44px);
  max-width: 18em;
  padding-bottom: 22px;
}
.table { grid-column: 1; grid-row: 3; align-self: end; }
.rings {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  min-height: 0;
}
.rings svg { width: min(100%, 74vh); height: auto; overflow: visible; }
.row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: clamp(14px, 1.15vw, 18px);
}
.row:last-child { border-bottom: 1px solid var(--line); }
.row span:first-child { color: #fff; }
.row.is-dim { color: #4c4c4c; }
.row.is-dim span:first-child { color: #6e6e6e; }
.row.is-on,
.row.is-on span:first-child { color: #fff; }
.ring-label { font-family: Inter, sans-serif; }
.pulse-s { animation: pulse 2.4s ease-in-out infinite; }
.pulse-p { animation: pulse 1s ease-in-out infinite; }
.pulse-m { animation: pulse 0.46s ease-in-out infinite; }
.pulse-r { animation: flick 0.12s steps(2, end) infinite; }
@keyframes pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@keyframes flick {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
html.shot .pulse-s, html.shot .pulse-p, html.shot .pulse-m, html.shot .pulse-r,
html.reduced .pulse-s, html.reduced .pulse-p, html.reduced .pulse-m, html.reduced .pulse-r {
  animation: none;
}

.fault { background: #000; }
.fault__sticky {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.fault__media {
  position: absolute;
  inset: 0;
  transform: scale(1.15);
  transform-origin: center center;
}
.fault__media img,
.fault__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fault__media img { display: none; }
html.shot .fault__media img { display: block; }
html.shot .fault__media video { display: none; }
html.shot .fault__media, html.reduced .fault__media { transform: none; }
.fault__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 40%, #000 96%);
  pointer-events: none;
}
.fault__shake { width: 100%; height: 100%; }
.fault.is-glitch .fault__shake { animation: glitch 0.42s steps(2, end); }
@keyframes glitch {
  0% { transform: translateX(0); }
  20% { transform: translateX(-14px); }
  45% { transform: translateX(10px); }
  70% { transform: translateX(-6px); }
  100% { transform: translateX(0); }
}
.fault__copy {
  position: absolute;
  left: var(--pad);
  bottom: 64px;
  z-index: 2;
  max-width: none;
}
.fault__copy .lab { margin-bottom: 18px; }
.fault h1 { font-size: clamp(32px, 4.6vw, 78px); line-height: 0.96; }
.fault .line { display: block; white-space: nowrap; }
.fault .line--dim { color: #8a8a8a; }
html.js:not(.shot):not(.reduced) .fault .line--dim {
  transform: translateY(115%);
  opacity: 0;
}
.readout {
  position: absolute;
  top: 88px;
  right: var(--pad);
  z-index: 2;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ok);
  line-height: 1.9;
  text-transform: uppercase;
}
.readout p { display: flex; gap: 8px; align-items: center; }
.readout i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
}
.readout i.m5 { background: var(--ok); }
.readout.is-hit i.m5 {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--red);
}
.readout .hold { color: #fff; letter-spacing: 0.16em; margin-top: 4px; }
.fault__aside {
  position: absolute;
  right: var(--pad);
  bottom: 78px;
  width: min(360px, 32vw);
  color: #c8c8c8;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.5;
  z-index: 2;
}

.air__in {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 72px var(--pad) 48px;
  gap: 22px;
}
.air h1 {
  font-size: clamp(30px, 3.5vw, 58px);
  max-width: 16em;
}
.tiles {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 14px;
  min-height: 320px;
}
.tile {
  position: relative;
  overflow: hidden;
  min-height: 140px;
  text-align: left;
  background: #111;
}
.tile img, .tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile video { opacity: 0; }
.tile.is-play video { opacity: 1; }
.tile span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.tile.is-on::after,
.tile:hover::after,
.tile:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 2px solid #fff;
  pointer-events: none;
}

.missions { background: var(--bone); color: var(--ink); }
.missions__in {
  position: relative;
  min-height: 100vh;
  padding: 56px var(--pad) 48px;
  display: flex;
  flex-direction: column;
}
.missions .lab { margin-bottom: 18px; color: #6d6d6d; }
.mission {
  flex: 1;
  display: grid;
  grid-template-columns: 64px min(480px, 38%) minmax(180px, 1fr);
  align-items: center;
  column-gap: 36px;
  border-top: 1px solid #c9c7c1;
  min-height: 0;
}
.mission:last-child { border-bottom: 1px solid #c9c7c1; }
.mission__n {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #8a8a8a;
}
.mission h2 { font-size: clamp(26px, 2.7vw, 44px); }
.mission p {
  color: #555;
  font-size: clamp(14px, 1.15vw, 18px);
  max-width: 34em;
}
.mission.is-hot p { visibility: hidden; }
.mission.is-later, .mission.is-later h2, .mission.is-later p { color: #a4a39d; }
html.js:not(.shot):not(.reduced) .mission { clip-path: inset(100% 0 0 0); }
.core { transform-box: fill-box; transform-origin: center; }
.card {
  position: absolute;
  left: 0;
  top: 0;
  width: min(440px, 34vw);
  aspect-ratio: 16 / 10;
  background: #222 center/cover no-repeat;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
}
.card.is-on { opacity: 1; }
html.shot .card {
  opacity: 1;
  width: min(340px, 26vw);
  right: 4%;
  top: 10%;
  left: auto;
  transform: rotate(-2deg);
}
@media (min-width: 1100px) {
  .mission h2, .mission p { white-space: nowrap; }
}

.contact { background: #000; }
.contact__pin {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.contact__media {
  position: absolute;
  inset: -8%;
  z-index: 0;
}
.contact__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}
.contact__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.25) 38%, rgba(0, 0, 0, 0.2) 62%, #000 100%);
  pointer-events: none;
}
.contact__cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--bone);
  transform: translateY(-100%);
  pointer-events: none;
}
html.js:not(.shot):not(.reduced) .contact__cover { transform: translateY(0); }
.contact__copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}
.contact__copy .lab { margin-bottom: 28px; }
.contact h1 { font-size: clamp(42px, 6vw, 96px); }
.mail {
  display: inline-block;
  margin-top: 28px;
  font-size: clamp(18px, 1.8vw, 30px);
  color: #ddd;
  will-change: transform;
}
.mail:hover, .mail:focus-visible { color: #fff; }
.contact__brand {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}
.contact__brand img {
  width: min(920px, 78vw);
  height: auto;
  margin: 0 auto 12px;
  opacity: 0.16;
}
.contact__brand .lab { color: #9a9a9a; }
.char { display: inline-block; }
html.js:not(.shot):not(.reduced) .contact .char {
  transform: translateY(110%);
  opacity: 0;
}

@media (max-width: 759px) {
  .br-d { display: none; }
  .lab { letter-spacing: 0.12em; font-size: 10px; }
  .steps { flex-wrap: nowrap; gap: 6px 8px; }
  .step { font-size: 10px; letter-spacing: 0.12em; }
  .fault h1 { font-size: 26px; }
  .fault .line { white-space: nowrap; }
  .nav__links a { font-size: 12px; }
  .nav__links { gap: 12px; }
  .nav__logo img { height: 16px; }
  .hero__rule { height: 48px; }
  .manifesto h1 { font-size: 32px; }
  .nogps__pin { display: flex; flex-direction: column; }
  .nogps__visual { position: relative; width: 100%; height: 42vh; inset: auto; }
  .nogps__copy {
    width: 100%;
    min-height: 0;
    background: #000;
    padding: 76px 20px 12px;
  }
  .nogps h1 { font-size: 34px; }
  .speeds__pin {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 64px 20px 28px;
  }
  .speeds h1 { font-size: 24px; padding-bottom: 8px; }
  .rings { height: 230px; }
  .rings svg { width: 230px; }
  .row { grid-template-columns: 104px 1fr; font-size: 13px; padding: 8px 0; }
  .fault__copy { bottom: 96px; left: 20px; right: 72px; }
  .fault__aside {
    display: block;
    left: 20px;
    right: auto;
    bottom: 24px;
    width: min(230px, 62vw);
    font-size: 13px;
  }
  .readout { top: 64px; right: 16px; font-size: 11px; }
  .air__in { padding: 64px 0 28px 20px; }
  .air .lab, .air h1 { padding-right: 20px; }
  .tiles {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-right: 20px;
    min-height: 0;
    flex: none;
    height: 52vh;
  }
  .tile { flex: 0 0 78%; scroll-snap-align: start; height: 100%; }
  .mission {
    grid-template-columns: 36px 1fr;
    align-content: center;
    padding: 10px 20px 10px 0;
  }
  .mission p { grid-column: 2; }
  .mission h2 { font-size: 28px; }
  .card { width: min(240px, 70vw); }
  .contact h1 { font-size: 40px; }
  .contact__brand img { width: 88vw; }
}

@media (prefers-reduced-motion: reduce) {
  .word, .char, .line--dim { color: #fff !important; transform: none !important; opacity: 1 !important; }
  .contact__cover { display: none !important; }
  .mission { clip-path: none !important; }
  .pulse-s, .pulse-p, .pulse-m, .pulse-r { animation: none !important; }
}

html.phone-hero .hero__sticky {
  height: auto;
  min-height: 0;
  overflow: hidden;
}
html.phone-hero .hero__media {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
html.phone-hero .hero__media video,
html.phone-hero .hero__still {
  object-fit: cover;
  object-position: center center;
}
html.phone-hero .hero__foot { display: none; }
html.phone-hero .manifesto__pin {
  justify-content: flex-start;
  padding-top: 28px;
}
html.phone-hero, html.phone-hero body { overflow-x: clip; }
html.phone-hero #mission-card { display: none; }
