@font-face {
  font-family: "Boldstrom";
  src:
    url("assets/fonts/boldstrom-d.woff2") format("woff2"),
    url("assets/fonts/boldstrom-d.otf") format("opentype");
  font-display: swap;
}

:root {
  --ink: #222444;
  --muted: #5f627b;
  --line: #dfe1ec;
  --paper: #f4f5f8;
  --paper-strong: #ffffff;
  --night: #222444;
  --night-soft: #181a35;
  --acid: #00d49c;
  --cyan: #514dff;
  --metal: #b7bbd1;
  --white: #f7f8ff;
  --max: 1160px;
  --edge: 1px solid rgba(34, 36, 68, 0.16);
  --label-size: 11px;
  --body-size: 17px;
  --module-pad: 28px;
  --ui-label-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(34, 36, 68, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(34, 36, 68, 0.028) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mx: 50%;
  --my: 20%;
  --dx: 0;
  --dy: 0;
}

::selection {
  color: var(--ink);
  background: var(--acid);
}

body.menu-open {
  overflow: hidden;
}

body.is-moving .hero::before {
  opacity: 0.72;
}

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

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

section[id] {
  scroll-margin-top: 120px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(100% - 32px, var(--max));
  margin: 16px auto 0;
  padding: 14px 18px;
  color: #f7f8ff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(34, 36, 68, 0.35);
  backdrop-filter: blur(18px);
  overflow: hidden;
  animation: headerArrive 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 42%, rgba(0, 212, 156, 0.16) 48%, transparent 56% 100%);
  transform: translateX(-130%);
  animation: signalSweep 8s ease-in-out 1.2s infinite;
  pointer-events: none;
}

.site-header.is-scrolled {
  background: rgba(34, 36, 68, 0.86);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: rgba(247, 255, 244, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.nav-cta,
.button,
.text-link {
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav a:hover,
.text-link:hover {
  color: var(--acid);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-cta,
.button.primary {
  color: #222444;
  background: var(--acid);
}

.nav-cta:hover,
.button.primary:hover {
  transform: translateY(-1px);
  background: #36e4ba;
}

.button.secondary {
  color: #f7f8ff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.button.secondary:hover {
  border-color: rgba(0, 212, 156, 0.75);
  color: var(--acid);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #f7f8ff;
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  color: #f7f8ff;
  background: var(--night);
  isolation: isolate;
}

.hero > * {
  transform-style: preserve-3d;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 32%, rgba(0, 212, 156, 0.2), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(81, 77, 255, 0.22), transparent 22%),
    linear-gradient(90deg, rgba(34, 36, 68, 0.98) 0%, rgba(34, 36, 68, 0.78) 38%, rgba(34, 36, 68, 0.16) 78%),
    linear-gradient(180deg, rgba(34, 36, 68, 0.14) 0%, rgba(34, 36, 68, 0.88) 100%),
    url("assets/hero-alien.png") center right / cover no-repeat;
  background:
    radial-gradient(circle at 72% 32%, rgba(0, 212, 156, 0.2), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(81, 77, 255, 0.22), transparent 22%),
    linear-gradient(90deg, rgba(34, 36, 68, 0.98) 0%, rgba(34, 36, 68, 0.78) 38%, rgba(34, 36, 68, 0.16) 78%),
    linear-gradient(180deg, rgba(34, 36, 68, 0.14) 0%, rgba(34, 36, 68, 0.88) 100%),
    image-set(url("assets/hero-alien.webp") type("image/webp"), url("assets/hero-alien.png") type("image/png"))
      center right / cover no-repeat;
  transform: scale(1.02);
  animation: slowDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(0, 212, 156, 0.28), transparent 22rem),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(0, 212, 156, 0.04) 0 1px, transparent 1px 13px);
  mix-blend-mode: screen;
  opacity: 0.48;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(34, 36, 68, 0), rgba(24, 26, 53, 0.88) 72%, rgba(24, 26, 53, 0.98));
  pointer-events: none;
}

.signal-field {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 212, 156, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(81, 77, 255, 0.13) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at 72% 34%, black 0%, transparent 56%);
  opacity: 0.38;
  animation: gridTravel 24s linear infinite, fieldPulse 7s ease-in-out infinite;
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  min-height: 94svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 128px 0 76px;
}

.hero-beam {
  position: absolute;
  z-index: 1;
  top: 5%;
  left: 48%;
  width: 58vw;
  height: 120vh;
  background: linear-gradient(120deg, transparent 0 39%, rgba(0, 212, 156, 0.16) 42%, rgba(81, 77, 255, 0.12) 48%, transparent 54%);
  filter: blur(0.5px);
  opacity: 0.68;
  transform: rotate(16deg);
  animation: beamPulse 9s ease-in-out infinite alternate, beamSlide 16s ease-in-out infinite;
  pointer-events: none;
  will-change: opacity, transform;
}

.hero-constellation {
  position: absolute;
  z-index: 1;
  top: 20%;
  right: 12%;
  width: min(34vw, 430px);
  height: min(34vw, 430px);
  pointer-events: none;
  transition: transform 240ms ease-out;
  will-change: transform;
}

body.is-moving .hero-constellation {
  transform: translate3d(calc(var(--dx) * -18px), calc(var(--dy) * -14px), 0);
}

.hero-constellation::before,
.hero-constellation::after {
  content: "";
  position: absolute;
  inset: 18% 12% 20% 6%;
  border-top: 1px solid rgba(0, 212, 156, 0.36);
  border-right: 1px solid rgba(247, 248, 255, 0.22);
  transform: skewY(-22deg) rotate(7deg);
  animation: constellationTrace 8.4s ease-in-out infinite;
}

.hero-constellation::after {
  inset: 38% 20% 10% 28%;
  border-color: rgba(81, 77, 255, 0.38);
  transform: skewY(18deg) rotate(-22deg);
  animation-name: constellationTraceAlt;
  animation-duration: 10.6s;
}

.hero-constellation span {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(0, 212, 156, 0.82);
  border-radius: 50%;
  background: rgba(247, 248, 255, 0.18);
  box-shadow: 0 0 24px rgba(0, 212, 156, 0.28);
  animation: nodePulse 3.8s ease-in-out infinite, nodeDriftOne 7.2s ease-in-out infinite;
}

.hero-constellation span:nth-child(1) {
  top: 16%;
  left: 8%;
}

.hero-constellation span:nth-child(2) {
  top: 42%;
  left: 40%;
  animation-delay: 0.4s, 0.2s;
  animation-name: nodePulse, nodeDriftTwo;
}

.hero-constellation span:nth-child(3) {
  top: 24%;
  right: 12%;
  animation-delay: 0.9s, 0.55s;
  animation-name: nodePulse, nodeDriftThree;
}

.hero-constellation span:nth-child(4) {
  right: 2%;
  bottom: 18%;
  animation-delay: 1.25s, 0.8s;
  animation-name: nodePulse, nodeDriftFour;
}

.hero-constellation span:nth-child(5) {
  left: 24%;
  bottom: 4%;
  animation-delay: 1.7s, 1.1s;
  animation-name: nodePulse, nodeDriftFive;
}

.orbit-system {
  position: absolute;
  z-index: 1;
  top: 18%;
  right: 7%;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.78;
  animation: orbitBreathe 8.5s ease-in-out infinite;
  transition: transform 260ms ease-out;
  will-change: transform;
}

body.is-moving .orbit-system {
  transform: translate3d(calc(var(--dx) * 22px), calc(var(--dy) * 16px), 0);
}

.orbit-system span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 212, 156, 0.28);
  border-radius: 50%;
  transform: rotate(-18deg) scaleY(0.62);
  animation: orbitOne 18s linear infinite;
}

.orbit-system span:nth-child(2) {
  inset: 15%;
  border-color: rgba(81, 77, 255, 0.34);
  transform: rotate(32deg) scaleY(0.48);
  animation: orbitTwo 22s linear infinite reverse;
}

.orbit-system span:nth-child(3) {
  inset: 34%;
  border-color: rgba(255, 255, 255, 0.16);
  transform: rotate(70deg) scaleY(0.72);
  animation: orbitThree 26s linear infinite;
}

.transmission-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  width: 100%;
  margin-bottom: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(247, 255, 244, 0.7);
  font-size: var(--label-size);
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--ui-label-font);
  position: relative;
  overflow: hidden;
  animation: contentRise 720ms cubic-bezier(0.2, 0.7, 0.2, 1) 120ms both;
}

.transmission-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 156, 0.18), transparent);
  transform: translateX(-120%);
  animation: signalSweep 6.8s ease-in-out 1s infinite;
  pointer-events: none;
}

.transmission-bar span {
  padding: 12px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.transmission-bar span:last-child {
  border-right: 0;
  color: var(--acid);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--acid);
  font-size: var(--label-size);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-family: var(--ui-label-font);
}

.eyebrow.dark {
  color: #008f6a;
}

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

h1 {
  font-family: "Boldstrom", Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(50px, 7.6vw, 112px);
  line-height: 0.82;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
}

h1 span {
  display: block;
  animation: titleRise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

h1 span:nth-child(2) {
  animation-delay: 90ms;
}

h1 span:nth-child(3) {
  animation-delay: 180ms;
}

h2 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

p {
  color: var(--muted);
  font-size: var(--body-size);
  line-height: 1.62;
}

.hero-copy {
  max-width: 640px;
  color: rgba(247, 255, 244, 0.82);
  font-size: 22px;
  text-wrap: balance;
  animation: contentRise 760ms cubic-bezier(0.2, 0.7, 0.2, 1) 260ms both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 34px;
  animation: contentRise 760ms cubic-bezier(0.2, 0.7, 0.2, 1) 360ms both;
}

.hero-proofline {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: min(100%, 860px);
  margin: 4px 0 4px;
  border-top: 1px solid rgba(247, 248, 255, 0.18);
  border-bottom: 1px solid rgba(247, 248, 255, 0.12);
  position: relative;
  overflow: hidden;
  animation: contentRise 760ms cubic-bezier(0.2, 0.7, 0.2, 1) 440ms both;
}

.hero-proofline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 18%, rgba(247, 248, 255, 0.13) 48%, transparent 78% 100%);
  transform: translateX(-115%);
  animation: signalSweep 7.8s ease-in-out 2.2s infinite;
  pointer-events: none;
}

.hero-proofline span {
  padding: 11px 18px 11px 0;
  margin-right: 18px;
  color: rgba(247, 248, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  border-right: 1px solid rgba(247, 248, 255, 0.13);
}

.hero-proofline span:last-child {
  border-right: 0;
}

.mission-console {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  width: 100%;
  max-width: none;
  margin-top: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(24, 26, 53, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(0, 212, 156, 0.08);
  animation:
    consoleArrive 900ms cubic-bezier(0.2, 0.7, 0.2, 1) 520ms both,
    consoleGlow 7s ease-in-out 1.5s infinite;
  will-change: box-shadow;
  overflow: hidden;
}

.mission-console::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  background:
    linear-gradient(105deg, transparent 0 37%, rgba(0, 212, 156, 0.16) 43%, rgba(81, 77, 255, 0.1) 47%, transparent 54% 100%),
    linear-gradient(180deg, transparent, rgba(247, 248, 255, 0.045), transparent);
  transform: translateX(-120%);
  animation: signalSweep 9.5s ease-in-out 1.8s infinite;
  pointer-events: none;
}

.mission-console > * {
  position: relative;
  z-index: 1;
}

.mission-status {
  position: relative;
  min-height: 150px;
}

.mission-status::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(0, 212, 156, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 0 14px rgba(81, 77, 255, 0.08);
  animation: dialBreathe 5.6s ease-in-out infinite;
}

.mission-status span {
  display: inline-flex;
  margin: var(--module-pad) var(--module-pad) 0;
  color: var(--acid);
  font-family: "Boldstrom", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: var(--label-size);
  font-weight: 900;
  text-transform: uppercase;
}

.mission-console p {
  margin: 0;
  max-width: 640px;
  padding: 10px var(--module-pad) var(--module-pad);
  color: rgba(247, 255, 244, 0.84);
  font-size: 16px;
}

.mission-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.mission-options button {
  position: relative;
  overflow: hidden;
  min-height: 72px;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--acid);
  background: transparent;
  font-size: var(--label-size);
  font-weight: 900;
  text-transform: uppercase;
  font-family: var(--ui-label-font);
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.mission-options button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(247, 248, 255, 0.16), transparent);
  transform: translateX(-120%);
  transition: transform 420ms ease;
  pointer-events: none;
}

.mission-options button:nth-child(2n + 1) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.mission-options button:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.mission-options button:hover,
.mission-options button.is-active {
  color: #222444;
  background: var(--acid);
  box-shadow: inset 0 0 0 1px rgba(34, 36, 68, 0.18);
}

.mission-options button:hover::after,
.mission-options button.is-active::after {
  transform: translateX(120%);
}

.signal-marquee {
  overflow: hidden;
  color: #222444;
  background: var(--acid);
  border-bottom: 1px solid #222444;
}

.signal-marquee-track {
  display: flex;
  width: max-content;
  min-width: max-content;
  animation: drift 30s linear infinite;
  will-change: transform;
}

.signal-marquee-group {
  display: flex;
  flex: 0 0 auto;
}

.signal-marquee span {
  flex: 0 0 auto;
  padding: 18px 34px;
  font-size: var(--label-size);
  font-weight: 950;
  text-transform: uppercase;
  font-family: var(--ui-label-font);
  border-right: 1px solid rgba(34, 36, 68, 0.25);
}

@keyframes slowDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.07) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes gridTravel {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 96px 96px;
  }
}

@keyframes headerArrive {
  from {
    opacity: 0;
    transform: translate3d(0, -18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes signalSweep {
  0%,
  42% {
    transform: translateX(-125%);
  }

  72%,
  100% {
    transform: translateX(125%);
  }
}

@keyframes fieldPulse {
  0%,
  100% {
    opacity: 0.34;
  }

  50% {
    opacity: 0.48;
  }
}

@keyframes beamSlide {
  0%,
  100% {
    filter: blur(0.5px) saturate(1);
  }

  50% {
    filter: blur(0.2px) saturate(1.35);
  }
}

@keyframes orbitOne {
  to {
    transform: rotate(342deg) scaleY(0.62);
  }
}

@keyframes orbitTwo {
  to {
    transform: rotate(392deg) scaleY(0.48);
  }
}

@keyframes orbitThree {
  to {
    transform: rotate(430deg) scaleY(0.72);
  }
}

@keyframes beamPulse {
  from {
    opacity: 0.36;
    transform: rotate(16deg) translate3d(-2%, -1%, 0);
  }

  to {
    opacity: 0.74;
    transform: rotate(16deg) translate3d(2%, 1%, 0);
  }
}

@keyframes constellationTrace {
  0%,
  100% {
    opacity: 0.36;
    clip-path: inset(0 0 0 0);
  }

  38% {
    opacity: 0.86;
    clip-path: inset(0 0 24% 0);
  }

  62% {
    opacity: 0.52;
    clip-path: inset(8% 0 0 18%);
  }
}

@keyframes constellationTraceAlt {
  0%,
  100% {
    opacity: 0.26;
    clip-path: inset(0 0 0 0);
  }

  42% {
    opacity: 0.72;
    clip-path: inset(20% 0 0 0);
  }

  68% {
    opacity: 0.44;
    clip-path: inset(0 26% 16% 0);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.48;
  }

  45% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes nodeDriftOne {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.92);
  }

  50% {
    transform: translate3d(10px, -14px, 0) scale(1.04);
  }
}

@keyframes nodeDriftTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.94);
  }

  50% {
    transform: translate3d(-12px, 8px, 0) scale(1.08);
  }
}

@keyframes nodeDriftThree {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.9);
  }

  50% {
    transform: translate3d(8px, 12px, 0) scale(1.05);
  }
}

@keyframes nodeDriftFour {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.88);
  }

  50% {
    transform: translate3d(-10px, -6px, 0) scale(1.08);
  }
}

@keyframes nodeDriftFive {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.92);
  }

  50% {
    transform: translate3d(12px, 10px, 0) scale(1.02);
  }
}

@keyframes orbitBreathe {
  0%,
  100% {
    opacity: 0.62;
  }

  50% {
    opacity: 0.9;
  }
}

@keyframes dialBreathe {
  0%,
  100% {
    box-shadow: inset 0 0 0 14px rgba(81, 77, 255, 0.08), 0 0 0 rgba(0, 212, 156, 0);
    transform: scale(0.96);
  }

  50% {
    box-shadow: inset 0 0 0 20px rgba(81, 77, 255, 0.12), 0 0 36px rgba(0, 212, 156, 0.18);
    transform: scale(1.04);
  }
}

@keyframes titleRise {
  from {
    opacity: 0;
    transform: translate3d(0, 38px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes contentRise {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes consoleArrive {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes consoleFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes consoleGlow {
  0%,
  100% {
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(0, 212, 156, 0.08);
  }

  50% {
    box-shadow: 0 38px 90px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(0, 212, 156, 0.2);
  }
}

@keyframes childRise {
  from {
    opacity: 0.18;
    transform: translate3d(0, 16px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -7px, 0);
  }
}

@keyframes panelSignal {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 32px 0, 0 32px, 0 0;
  }
}

@keyframes patternDrift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 220px 140px;
  }
}

@keyframes caseFloat {
  0%,
  100% {
    transform: rotate(0.6deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(0.28deg) translate3d(0, -8px, 0);
  }
}

@keyframes caseRevealFloat {
  0% {
    opacity: 0.18;
    transform: rotate(0.6deg) translate3d(0, 16px, 0);
  }

  8% {
    opacity: 1;
    transform: rotate(0.6deg) translate3d(0, 0, 0);
  }

  58% {
    opacity: 1;
    transform: rotate(0.28deg) translate3d(0, -8px, 0);
  }

  100% {
    opacity: 1;
    transform: rotate(0.6deg) translate3d(0, 0, 0);
  }
}

@keyframes evolutionField {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 0 0, 86px 0, 0 86px;
  }
}

@keyframes drift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333%);
  }
}

.studio-os {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: 0;
  width: 100%;
  margin: -56px 0 0;
  padding: 0 calc((100% - min(100% - 32px, var(--max))) / 2);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 212, 156, 0.18), transparent 24%),
    radial-gradient(circle at 92% 72%, rgba(81, 77, 255, 0.28), transparent 26%),
    var(--night-soft);
  border-top: 1px solid rgba(247, 248, 255, 0.12);
  border-bottom: 1px solid rgba(34, 36, 68, 0.12);
  box-shadow: 0 28px 90px rgba(34, 36, 68, 0.12);
}

.studio-os::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 248, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 248, 255, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, black, transparent 76%);
  opacity: 0.6;
  animation: gridTravel 28s linear infinite;
  pointer-events: none;
}

.studio-os-mark,
.studio-os-grid {
  position: relative;
  z-index: 1;
}

.studio-os-mark {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 38px;
  border-right: 1px solid rgba(247, 248, 255, 0.14);
}

.studio-os-mark span {
  color: var(--acid);
  font-family: "Boldstrom", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(54px, 8.2vw, 118px);
  font-weight: 900;
  line-height: 0.76;
  text-transform: uppercase;
}

.studio-os-mark p {
  max-width: 300px;
  margin: 0;
  color: rgba(247, 248, 255, 0.68);
  font-size: 15px;
  font-weight: 800;
}

.studio-os-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.studio-os-grid article {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border-right: 1px solid rgba(247, 248, 255, 0.13);
  background: rgba(255, 255, 255, 0.02);
  transition: background 220ms ease, transform 220ms ease;
  animation: softFloat 8s ease-in-out infinite;
}

.studio-os-grid article:last-child {
  border-right: 0;
}

.studio-os-grid article:nth-child(2) {
  animation-delay: 0.6s;
}

.studio-os-grid article:nth-child(3) {
  animation-delay: 1.2s;
}

.studio-os-grid article::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 30px;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(0, 212, 156, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(0, 212, 156, 0.28);
  animation: nodePulse 4.2s ease-in-out infinite;
}

.studio-os-grid article:hover {
  background: rgba(0, 212, 156, 0.1);
  transform: translateY(-4px);
}

.studio-os-grid span {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(247, 248, 255, 0.28);
  font-family: "Boldstrom", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 46px;
  line-height: 0.9;
}

.studio-os-grid h2 {
  max-width: 240px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(27px, 2.6vw, 36px);
  line-height: 0.98;
}

.studio-os-grid p {
  max-width: 250px;
  margin: 0;
  color: rgba(247, 248, 255, 0.68);
  font-size: 15px;
  line-height: 1.5;
}

.section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 118px 0;
}

.section + .section {
  border-top: 1px solid rgba(34, 36, 68, 0.08);
}

.reveal-ready .reveal {
  opacity: 0.18;
  transform: translate3d(0, 22px, 0);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-ready .reveal.is-visible .perception-panel,
.reveal-ready .reveal.is-visible .feature-row article,
.reveal-ready .reveal.is-visible .route-grid article,
.reveal-ready .reveal.is-visible .case-copy,
.reveal-ready .reveal.is-visible .case-media,
.reveal-ready .reveal.is-visible .timeline li,
.reveal-ready .reveal.is-visible .evolution-list span,
.reveal-ready .reveal.is-visible .contact-copy,
.reveal-ready .reveal.is-visible .contact-form label,
.reveal-ready .reveal.is-visible .contact-form button {
  animation: childRise 560ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.reveal-ready .reveal.is-visible .feature-row article:nth-child(2),
.reveal-ready .reveal.is-visible .route-grid article:nth-child(2),
.reveal-ready .reveal.is-visible .timeline li:nth-child(2),
.reveal-ready .reveal.is-visible .evolution-list span:nth-child(2),
.reveal-ready .reveal.is-visible .contact-form label:nth-child(2) {
  animation-delay: 80ms;
}

.reveal-ready .reveal.is-visible .feature-row article:nth-child(3),
.reveal-ready .reveal.is-visible .route-grid article:nth-child(3),
.reveal-ready .reveal.is-visible .timeline li:nth-child(3),
.reveal-ready .reveal.is-visible .evolution-list span:nth-child(3),
.reveal-ready .reveal.is-visible .contact-form label:nth-child(3) {
  animation-delay: 160ms;
}

.reveal-ready .reveal.is-visible .route-grid article:nth-child(4),
.reveal-ready .reveal.is-visible .timeline li:nth-child(4),
.reveal-ready .reveal.is-visible .evolution-list span:nth-child(4),
.reveal-ready .reveal.is-visible .contact-form label:nth-child(4) {
  animation-delay: 240ms;
}

.reveal-ready .reveal.is-visible .timeline li:nth-child(5),
.reveal-ready .reveal.is-visible .evolution-list span:nth-child(5),
.reveal-ready .reveal.is-visible .contact-form label:nth-child(5) {
  animation-delay: 320ms;
}

.reveal-ready .reveal.is-visible .perception-panel {
  animation:
    childRise 560ms cubic-bezier(0.2, 0.7, 0.2, 1) both,
    panelSignal 18s linear 700ms infinite;
}

.reveal-ready .reveal.is-visible .case-media {
  animation: caseRevealFloat 8.5s ease-in-out both infinite;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.perception-grid {
  grid-template-columns: 1fr 0.9fr;
}

.perception-panel {
  position: relative;
  padding: var(--module-pad);
  border: 1px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(34, 36, 68, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(34, 36, 68, 0.07) 1px, transparent 1px),
    rgba(255, 255, 255, 0.48);
  background-size: 32px 32px;
  box-shadow: 18px 18px 0 rgba(81, 77, 255, 0.08);
  animation: panelSignal 18s linear infinite;
}

.panel-code {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 6px 8px;
  color: #222444;
  background: var(--acid);
  font-size: var(--label-size);
  font-weight: 900;
  font-family: var(--ui-label-font);
  text-transform: uppercase;
}

.copy-column {
  padding-top: 10px;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding-top: 16px;
  border-top: var(--edge);
  color: #26302a;
  font-size: 17px;
}

.check-list strong {
  color: var(--ink);
}

.check-list span {
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.split-heading,
.routes-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 42px;
  max-width: none;
  align-items: end;
}

.split-heading .eyebrow,
.split-heading h2,
.routes-heading .eyebrow,
.routes-heading h2 {
  grid-column: 1;
}

.split-heading p:not(.eyebrow),
.routes-heading p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 2;
  margin-bottom: 10px;
}

.feature-row,
.route-grid {
  display: grid;
  gap: 16px;
}

.feature-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-row article,
.route-grid article {
  min-height: 230px;
  padding: var(--module-pad);
  border: var(--edge);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.64);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.feature-row article {
  position: relative;
  overflow: hidden;
}

.feature-row article::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  height: 2px;
  background: var(--acid);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 220ms ease;
}

.feature-row article:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 156, 0.72);
  box-shadow: 0 28px 70px rgba(34, 36, 68, 0.1);
}

.feature-row article:hover::after {
  transform: scaleX(1);
}

.feature-row p,
.route-grid p {
  font-size: 16px;
  line-height: 1.5;
}

.feature-index,
.route-mark {
  display: inline-block;
  margin-bottom: 30px;
  color: #008f6a;
  font-size: var(--label-size);
  font-weight: 900;
  font-family: var(--ui-label-font);
  text-transform: uppercase;
}

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

.route-grid article {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #ffffff;
  box-shadow: inset 0 -4px 0 rgba(0, 212, 156, 0);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.route-grid article:hover {
  transform: translateY(-6px);
  color: #f7f8ff;
  background: var(--night-soft);
  box-shadow: inset 0 -4px 0 var(--acid), 0 26px 70px rgba(34, 36, 68, 0.18);
}

.route-grid article:hover p,
.route-grid article:hover .route-mark {
  color: rgba(247, 255, 244, 0.7);
}

.route-mark {
  position: absolute;
  top: 22px;
  left: 24px;
  margin: 0;
  font-size: 48px;
  line-height: 0.9;
  color: rgba(16, 20, 17, 0.16);
}

.route-grid h3 {
  max-width: 220px;
}

.routes {
  border-top: 1px solid rgba(34, 36, 68, 0.08);
}

.brand-signal {
  position: relative;
  overflow: hidden;
  padding: 38px calc((100% - min(100% - 32px, var(--max))) / 2);
  color: #f7f8ff;
  background: var(--night);
}

.brand-signal::before {
  content: "";
  position: absolute;
  inset: -80px 0;
  background-image: url("assets/iso-alien-light.svg");
  background-size: 220px auto;
  background-repeat: repeat;
  opacity: 0.045;
  transform: rotate(-8deg) scale(1.08);
  animation: patternDrift 34s linear infinite;
}

.brand-signal-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.brand-signal-inner img {
  width: 78px;
  filter: drop-shadow(0 12px 30px rgba(0, 212, 156, 0.16));
}

.brand-signal-inner p {
  max-width: 820px;
  margin: 0;
  color: rgba(247, 248, 255, 0.9);
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.02;
}

.case-study {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: center;
}

.case-copy p {
  max-width: 560px;
}

.case-meta {
  display: grid;
  gap: 0;
  max-width: 560px;
  margin: 30px 0 20px;
  border-top: var(--edge);
  border-bottom: var(--edge);
}

.case-meta div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: var(--edge);
}

.case-meta div:last-child {
  border-bottom: 0;
}

.case-meta dt {
  color: #008f6a;
  font-size: var(--label-size);
  font-weight: 900;
  font-family: var(--ui-label-font);
  text-transform: uppercase;
}

.case-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: #008f6a;
  font-weight: 800;
  font-family: var(--ui-label-font);
  text-transform: uppercase;
  font-size: var(--label-size);
}

.case-media {
  position: relative;
  overflow: hidden;
  padding: 0 20px 20px;
  border: var(--edge);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(34, 36, 68, 0.04), rgba(255, 255, 255, 0) 32%),
    #ffffff;
  box-shadow: 0 36px 100px rgba(27, 38, 30, 0.18), -18px 18px 0 rgba(0, 212, 156, 0.12);
  transform: rotate(0.6deg);
  animation: caseFloat 8.5s ease-in-out infinite;
}

.case-media::before {
  content: "";
  position: absolute;
  inset: 42px 20px 20px;
  border: 1px solid rgba(0, 212, 156, 0.16);
  pointer-events: none;
}

.case-frame-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -20px 20px;
  padding: 13px 20px;
  color: rgba(247, 248, 255, 0.74);
  background: var(--night);
  font-family: var(--ui-label-font);
  font-size: var(--label-size);
  font-weight: 900;
  text-transform: uppercase;
}

.case-frame-bar span:last-child {
  color: var(--acid);
}

.case-label {
  position: absolute;
  top: 42px;
  left: 20px;
  padding: 8px 10px;
  color: #222444;
  background: var(--acid);
  font-size: var(--label-size);
  font-weight: 900;
  font-family: var(--ui-label-font);
  text-transform: uppercase;
}

.case-media picture,
.case-media img {
  display: block;
  width: 100%;
}

.case-media img {
  border-radius: 4px;
  filter: saturate(1.1) contrast(1.12);
  transform: translateZ(0);
}

.method {
  padding-top: 108px;
  padding-bottom: 82px;
  border-top: 1px solid rgba(34, 36, 68, 0.08);
}

.method .section-heading {
  margin-bottom: 42px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: var(--edge);
  border-bottom: var(--edge);
  background: rgba(255, 255, 255, 0.38);
}

.timeline li {
  position: relative;
  min-height: 176px;
  padding: 22px 20px 24px;
  border-right: var(--edge);
}

.timeline li:last-child {
  border-right: 0;
}

.timeline span {
  display: block;
  margin-bottom: 28px;
  color: #008f6a;
  font-size: var(--label-size);
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--ink);
}

.timeline p {
  max-width: 220px;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.45;
}

.evolution {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  width: 100%;
  max-width: none;
  padding: 118px calc((100% - min(100% - 32px, var(--max))) / 2);
  color: #f7f8ff;
  background: var(--night-soft);
}

.evolution::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 212, 156, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(247, 248, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 248, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 86px 86px, 86px 86px;
  opacity: 0.42;
  animation: evolutionField 24s linear infinite;
  pointer-events: none;
}

.evolution > * {
  position: relative;
  z-index: 1;
}

.evolution h2 {
  color: #f7f8ff;
}

.evolution-list {
  display: grid;
  gap: 10px;
}

.evolution-list span {
  padding: 18px 0;
  border-bottom: 1px solid rgba(247, 255, 244, 0.16);
  color: rgba(247, 255, 244, 0.86);
  font-size: var(--body-size);
  transition: color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.evolution-list span:hover {
  color: #f7f8ff;
  border-color: rgba(0, 212, 156, 0.6);
  transform: translateX(8px);
}

.manifesto {
  padding: 92px 16px;
  text-align: center;
  background: var(--acid);
}

.manifesto p {
  max-width: 980px;
  margin: 0 auto;
  color: #222444;
  font-family: var(--ui-label-font);
  font-size: clamp(38px, 6vw, 88px);
  font-weight: 900;
  line-height: 0.98;
  text-transform: none;
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.contact-direct {
  display: grid;
  gap: 10px;
  max-width: 410px;
  margin-top: 30px;
}

.contact-direct a {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border: var(--edge);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 900;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.contact-direct a:hover {
  border-color: rgba(0, 143, 106, 0.45);
  background: #ffffff;
  transform: translateY(-1px);
}

.contact-direct span {
  color: #008f6a;
  font-family: var(--ui-label-font);
  font-size: var(--label-size);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #26302a;
  font-size: 14px;
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.field-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd8d2;
  border-radius: 6px;
  padding: 14px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-form button {
  width: max-content;
  border: 0;
  cursor: pointer;
}

.form-note {
  grid-column: 1 / -1;
  max-width: 620px;
  margin: 0;
  color: rgba(34, 36, 68, 0.58);
  font-size: 13px;
  line-height: 1.45;
}

.form-status {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  padding: 14px 16px;
  color: #222444;
  background: rgba(0, 212, 156, 0.18);
  border: 1px solid rgba(0, 212, 156, 0.42);
  font-size: 14px;
  font-weight: 800;
}

.form-status.is-error {
  color: #3b1830;
  background: rgba(255, 220, 235, 0.85);
  border-color: rgba(180, 63, 120, 0.38);
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 74px calc((100% - min(100% - 32px, var(--max))) / 2) 34px;
  color: #f7f8ff;
  background:
    radial-gradient(circle at 88% 12%, rgba(81, 77, 255, 0.24), transparent 26%),
    linear-gradient(180deg, var(--night-soft), var(--night));
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 212, 156, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.18;
  animation: gridTravel 30s linear infinite;
  pointer-events: none;
}

.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.72fr);
  gap: 84px;
  align-items: start;
}

.footer-brand img {
  width: min(100%, 240px);
  margin-bottom: 30px;
}

.footer-brand p {
  max-width: 520px;
  margin: 0;
  color: rgba(247, 248, 255, 0.78);
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 800;
  line-height: 1.35;
  text-wrap: balance;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  padding-top: 8px;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  color: rgba(247, 248, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.footer-links span,
.footer-contact span,
.footer-bottom span:first-child {
  color: var(--acid);
  font-family: var(--ui-label-font);
  font-size: var(--label-size);
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--acid);
}

.footer-contact a {
  display: inline-flex;
  width: max-content;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--acid);
  color: #f7f8ff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 70px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(247, 248, 255, 0.56);
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .nav.is-open {
    position: fixed;
    inset: 76px 16px auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(34, 36, 68, 0.96);
  }

  .nav.is-open a {
    padding: 16px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .feature-row,
  .route-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-grid,
  .split-heading,
  .routes-heading,
  .case-study,
  .studio-os,
  .evolution,
  .contact,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .studio-os-mark {
    min-height: 240px;
    padding-right: max(16px, calc((100vw - var(--max)) / 2));
    border-right: 0;
    border-bottom: 1px solid rgba(247, 248, 255, 0.14);
  }

  .studio-os-grid {
    grid-template-columns: 1fr;
  }

  .studio-os-grid article {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid rgba(247, 248, 255, 0.13);
  }

  .studio-os-grid article:last-child {
    border-bottom: 0;
  }

  .footer-main {
    align-items: start;
    gap: 34px;
  }

  .split-heading p:not(.eyebrow),
  .routes-heading p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
  }

  .timeline li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  section[id] {
    scroll-margin-top: 84px;
  }

  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 10px 12px;
  }

  .brand img {
    width: 132px;
  }

  .hero-shell {
    width: calc(100% - 28px);
    padding-top: 112px;
  }

  .hero-beam {
    left: 20%;
    width: 110vw;
    opacity: 0.34;
  }

  .hero-constellation {
    top: 18%;
    right: -20%;
    width: 78vw;
    height: 78vw;
    opacity: 0.5;
  }

  .orbit-system {
    top: 16%;
    right: -34%;
    width: 92vw;
    opacity: 0.42;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(34, 36, 68, 0.94) 0%, rgba(34, 36, 68, 0.72) 52%, rgba(34, 36, 68, 0.88) 100%),
      url("assets/hero-alien.png") 62% center / cover no-repeat;
    background:
      linear-gradient(180deg, rgba(34, 36, 68, 0.94) 0%, rgba(34, 36, 68, 0.72) 52%, rgba(34, 36, 68, 0.88) 100%),
      image-set(url("assets/hero-alien.webp") type("image/webp"), url("assets/hero-alien.png") type("image/png"))
        62% center / cover no-repeat;
  }

  .transmission-bar {
    grid-template-columns: 1fr;
    margin-bottom: 30px;
  }

  .transmission-bar span {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .transmission-bar span:last-child {
    border-bottom: 0;
  }

  h1 {
    font-size: clamp(38px, 13.2vw, 54px);
    line-height: 0.82;
  }

  h2 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .hero-copy,
  p {
    font-size: 16px;
  }

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

  .hero-proofline {
    display: grid;
    width: 100%;
  }

  .hero-proofline span {
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(247, 248, 255, 0.12);
  }

  .hero-proofline span:last-child {
    border-bottom: 0;
  }

  .mission-console {
    grid-template-columns: 1fr;
  }

  .mission-options {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .button {
    width: 100%;
  }

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

  .feature-row,
  .route-grid,
  .timeline,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .check-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .brand-signal {
    padding: 30px 14px;
  }

  .studio-os-mark,
  .studio-os-grid article {
    min-height: 220px;
    padding: 28px 14px;
  }

  .studio-os-mark span {
    font-size: clamp(48px, 19vw, 76px);
  }

  .studio-os-grid span {
    top: 24px;
    right: 14px;
    font-size: 42px;
  }

  .studio-os-grid article::before {
    top: 28px;
    left: 14px;
  }

  .brand-signal-inner {
    grid-template-columns: 52px 1fr;
    gap: 16px;
  }

  .brand-signal-inner img {
    width: 52px;
  }

  .case-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .route-grid article {
    min-height: 230px;
  }

  .section {
    width: calc(100% - 28px);
    padding: 76px 0;
  }

  .feature-row article,
  .route-grid article {
    min-height: 0;
  }

  .evolution {
    padding: 76px 14px;
  }

  .case-media {
    padding: 0 10px 10px;
    box-shadow: 0 24px 70px rgba(27, 38, 30, 0.16);
    transform: none;
    animation: none;
  }

  .reveal-ready .reveal.is-visible .case-media {
    animation: childRise 560ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .case-frame-bar {
    margin: 0 -10px 12px;
    padding: 12px 10px;
  }

  .case-label {
    top: 38px;
    left: 10px;
  }

  .footer {
    padding: 52px 14px 30px;
  }

  .footer-main {
    gap: 36px;
  }

  .footer-brand img {
    width: 190px;
    margin-bottom: 20px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 46px;
  }
}

.portfolio-home {
  position: relative;
  overflow: hidden;
  padding: 118px calc((100% - min(100% - 32px, var(--max))) / 2);
  color: #f7f8ff;
  background:
    radial-gradient(circle at 86% 18%, rgba(0, 212, 156, 0.18), transparent 24%),
    radial-gradient(circle at 20% 80%, rgba(81, 77, 255, 0.22), transparent 24%),
    var(--night-soft);
}

.portfolio-home::before,
.portfolio-hero::before,
.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 248, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 248, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.5;
  pointer-events: none;
}

.portfolio-home-heading,
.portfolio-home-stats,
.portfolio-preview-grid,
.portfolio-home > .button {
  position: relative;
  z-index: 1;
}

.portfolio-home-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.45fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 36px;
}

.portfolio-home-heading .eyebrow,
.portfolio-home-heading h2 {
  grid-column: 1;
}

.portfolio-home-heading h2 {
  max-width: 860px;
  color: #f7f8ff;
}

.portfolio-home-heading p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 2;
  color: rgba(247, 248, 255, 0.72);
  margin-bottom: 10px;
}

.portfolio-home-stats,
.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid rgba(247, 248, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.portfolio-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
}

.portfolio-home-stats span,
.portfolio-stats span {
  display: grid;
  gap: 6px;
  min-height: 86px;
  align-content: center;
  padding: 16px;
  color: rgba(247, 248, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  border-right: 1px solid rgba(247, 248, 255, 0.13);
}

.portfolio-home-stats span:last-child,
.portfolio-stats span:last-child {
  border-right: 0;
}

.portfolio-home-stats strong,
.portfolio-stats strong {
  display: block;
  color: var(--acid);
  font-family: "Boldstrom", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.8;
}

.portfolio-preview-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portfolio-preview-grid {
  margin-bottom: 28px;
}

.portfolio-card {
  position: relative;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  color: #f7f8ff;
  background: var(--night);
  border: 1px solid rgba(247, 248, 255, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 156, 0.55);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.portfolio-card.is-large {
  grid-column: span 2;
}

.portfolio-card-media {
  position: absolute;
  inset: 0;
}

.portfolio-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 26, 53, 0.08), rgba(24, 26, 53, 0.9) 70%),
    linear-gradient(90deg, rgba(0, 212, 156, 0.2), transparent 38%);
}

.portfolio-card-media img,
.project-hero-media img,
.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card-media > span {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  color: var(--acid);
  font-size: var(--label-size);
  font-weight: 950;
  text-transform: uppercase;
}

.portfolio-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 430px;
  padding: 24px;
}

.portfolio-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(247, 248, 255, 0.68);
  font-size: var(--label-size);
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-card h3 {
  max-width: 420px;
  color: #f7f8ff;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 0.96;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portfolio-card p {
  max-width: 540px;
  color: rgba(247, 248, 255, 0.72);
  font-size: 15px;
  line-height: 1.48;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.portfolio-tags span {
  padding: 7px 9px;
  color: #222444;
  background: var(--acid);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.portfolio-page {
  background:
    linear-gradient(90deg, rgba(34, 36, 68, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(34, 36, 68, 0.028) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}

.portfolio-hero,
.project-hero {
  position: relative;
  overflow: hidden;
  padding: 166px calc((100% - min(100% - 32px, var(--max))) / 2) 86px;
  color: #f7f8ff;
  background:
    radial-gradient(circle at 76% 28%, rgba(0, 212, 156, 0.2), transparent 24%),
    radial-gradient(circle at 12% 80%, rgba(81, 77, 255, 0.2), transparent 28%),
    var(--night-soft);
}

.portfolio-hero-copy,
.portfolio-stats,
.project-hero-copy,
.project-hero-media {
  position: relative;
  z-index: 1;
}

.portfolio-hero-copy {
  max-width: 980px;
  margin-bottom: 42px;
}

.portfolio-hero h1,
.project-hero h1 {
  max-width: 1040px;
  color: #f7f8ff;
  font-family: "Boldstrom", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.82;
  text-transform: uppercase;
}

.project-hero h1 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 950;
  line-height: 0.92;
  text-transform: none;
}

.portfolio-hero p:not(.eyebrow),
.project-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(247, 248, 255, 0.78);
  font-size: 20px;
}

.portfolio-index {
  padding-top: 64px;
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.portfolio-filter button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(34, 36, 68, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.portfolio-filter button.is-active,
.portfolio-filter button:hover {
  color: var(--ink);
  background: var(--acid);
  border-color: rgba(0, 212, 156, 0.8);
}

.portfolio-index .portfolio-card {
  border-color: rgba(34, 36, 68, 0.12);
  box-shadow: 0 18px 60px rgba(34, 36, 68, 0.08);
}

.project-hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: end;
}

.project-hero .text-link {
  margin-bottom: 26px;
  color: var(--acid);
}

.project-hero-media {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(247, 248, 255, 0.18);
  box-shadow: -18px 18px 0 rgba(0, 212, 156, 0.12);
}

.project-brief {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 72px;
}

.project-facts {
  margin: 0;
  border-top: var(--edge);
}

.project-facts div {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: var(--edge);
}

.project-facts dt,
.project-copy-block h3 {
  color: #008f6a;
  font-size: var(--label-size);
  font-weight: 950;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.project-facts a {
  color: #008f6a;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-narrative h2 {
  max-width: 880px;
}

.project-copy-block {
  max-width: 760px;
  padding-top: 24px;
  margin-top: 22px;
  border-top: var(--edge);
}

.project-copy-block p {
  font-size: 18px;
}

.project-gallery div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-gallery img {
  aspect-ratio: 4 / 3;
  border: var(--edge);
  background: #fff;
}

.project-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.project-next {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.portfolio-grid.is-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-grid.is-compact .portfolio-card,
.portfolio-grid.is-compact .portfolio-card-body {
  min-height: 320px;
}

.portfolio-grid.is-compact .portfolio-card h3 {
  font-size: 24px;
}

@media (max-width: 980px) {
  .portfolio-home-heading,
  .project-hero,
  .project-brief,
  .project-next {
    grid-template-columns: 1fr;
  }

  .portfolio-home-heading p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
  }

  .portfolio-home-stats,
  .portfolio-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-home-stats span:nth-child(2n),
  .portfolio-stats span:nth-child(2n) {
    border-right: 0;
  }

  .portfolio-preview-grid,
  .portfolio-grid,
  .portfolio-grid.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card.is-large {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .portfolio-home,
  .portfolio-hero,
  .project-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .portfolio-hero,
  .project-hero {
    padding-top: 128px;
  }

  .portfolio-home-stats,
  .portfolio-stats,
  .portfolio-preview-grid,
  .portfolio-grid,
  .portfolio-grid.is-compact,
  .project-gallery div {
    grid-template-columns: 1fr;
  }

  .portfolio-home-stats span,
  .portfolio-stats span {
    border-right: 0;
    border-bottom: 1px solid rgba(247, 248, 255, 0.13);
  }

  .portfolio-card,
  .portfolio-card-body {
    min-height: 360px;
  }

  .project-hero-media {
    min-height: 320px;
    box-shadow: none;
  }
}
