
:root {
  --night: #05070d;
  --navy: #0c1426;
  --navy-soft: #111b31;
  --indigo: #6557ff;
  --violet: #8a5cff;
  --gold: #f3b84b;
  --gold-bright: #ffd773;
  --warm-white: #f5f1e8;
  --muted: #8993a8;
  --line: rgba(143, 160, 194, 0.22);
  --hud-height: 64px;
  --header-height: 76px;
  --silk: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--night);
  scroll-behavior: auto;
}

body {
  background: var(--night);
  color: var(--warm-white);
  font-family: "Segoe UI", "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--gold);
  color: var(--night);
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: var(--night);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--indigo), var(--gold));
}

.scroll-spacer {
  height: 400vh;
}

.z-card {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  transform-origin: top center;
  will-change: transform, opacity;
}

.z-card[data-card="1"] { z-index: 10; }
.z-card[data-card="2"] { z-index: 20; transform: translateY(100%); }
.z-card[data-card="3"] { z-index: 30; transform: translateY(100%); }
.z-card[data-card="4"] { z-index: 40; transform: translateY(100%); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4.4vw, 68px);
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.84), rgba(5, 7, 13, 0));
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--warm-white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.brand strong {
  color: var(--gold);
  font-weight: 700;
}

.brand-core {
  position: relative;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 184, 75, 0.6);
  transform: rotate(45deg);
}

.brand-core::before,
.brand-core::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(101, 87, 255, 0.72);
}

.brand-core::after {
  inset: -5px;
  border-color: rgba(101, 87, 255, 0.18);
}

.brand-core span {
  width: 4px;
  height: 4px;
  background: var(--gold);
  box-shadow: 0 0 13px var(--gold);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.6vw, 56px);
}

.site-header nav button,
.site-header nav a {
  position: relative;
  color: rgba(245, 241, 232, 0.72);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.08em;
  transition: color 280ms ease;
}

.site-header nav button::before,
.site-header nav a::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  width: 2px;
  height: 14px;
  background: var(--gold);
  transform: translateY(-50%) scaleY(0.25);
  opacity: 0.45;
  transition: transform 280ms ease, opacity 280ms ease;
}

.site-header nav button:hover,
.site-header nav button.active,
.site-header nav a:hover {
  color: var(--warm-white);
}

.site-header nav button:hover::before,
.site-header nav button.active::before,
.site-header nav a:hover::before {
  transform: translateY(-50%) scaleY(1);
  opacity: 1;
}

.hero-card {
  background: #050812;
  display: flex;
  align-items: center;
}

.hero-image,
.feature-background {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-image {
  background-image:
    linear-gradient(90deg, rgba(5, 7, 13, 0.98) 0%, rgba(5, 7, 13, 0.85) 27%, rgba(5, 7, 13, 0.2) 58%, rgba(5, 7, 13, 0.03) 100%),
    url("images/hero-portal.webp");
  animation: hero-breathe 16s ease-in-out infinite alternate;
}

@keyframes hero-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

.technical-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(101, 87, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 87, 255, 0.34) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 62%);
}

.orbital-line {
  position: absolute;
  border: 1px solid rgba(101, 87, 255, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.orbital-one {
  width: 500px;
  height: 500px;
  right: 17%;
  top: 17%;
  animation: orbit 34s linear infinite;
}

.orbital-two {
  width: 690px;
  height: 290px;
  right: 7%;
  top: 35%;
  transform: rotate(-11deg);
  border-color: rgba(243, 184, 75, 0.2);
  animation: orbit-wide 42s linear infinite reverse;
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes orbit-wide {
  from { transform: rotate(-11deg); }
  to { transform: rotate(349deg); }
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(650px, 51vw);
  margin-left: clamp(30px, 4.6vw, 72px);
  padding-top: 24px;
}

.eyebrow,
.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.24em;
}

.eyebrow span {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 14px rgba(243, 184, 75, 0.85);
}

.hero-content h1 {
  margin-top: 20px;
  color: var(--warm-white);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(58px, 7.2vw, 112px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.48);
}

.hero-content h1 span,
.feature-copy h2 span {
  color: var(--gold);
}

.hero-copy {
  max-width: 460px;
  margin-top: 24px;
  color: #abb4c8;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.55;
}

.hero-actions,
.feature-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: transform 300ms var(--silk), background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

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

.button span:last-child {
  transition: transform 300ms var(--silk);
}

.button:hover span:last-child {
  transform: translateX(5px);
}

.button-gold {
  background: linear-gradient(135deg, var(--gold-bright), #d89627);
  color: #171005;
  box-shadow: 0 12px 38px rgba(243, 184, 75, 0.18);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.button-gold:hover {
  box-shadow: 0 13px 42px rgba(243, 184, 75, 0.34);
}

.button-ghost {
  border-color: rgba(116, 132, 169, 0.66);
  background: rgba(7, 12, 24, 0.48);
  color: #b8c3dc;
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  border-color: var(--indigo);
  background: rgba(101, 87, 255, 0.13);
  color: white;
}

.discord-mark {
  color: #9d95ff;
  font-size: 20px;
}

.launch-line {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
  color: #8f99af;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.launch-line strong {
  color: var(--gold-bright);
}

.launch-line i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--warm-white);
}

.diamond {
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 2px var(--night), inset 0 0 0 4px var(--gold);
}

.hero-coordinate {
  position: absolute;
  z-index: 5;
  top: 47%;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: rgba(245, 241, 232, 0.38);
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-align: right;
}

.hero-coordinate strong {
  margin-top: 5px;
  color: var(--gold);
  font-size: 8px;
}

.feature-card {
  background: #080b13;
}

.feature-background {
  background-image: url("images/labs.webp");
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.97) 0%, rgba(5, 7, 13, 0.75) 34%, rgba(5, 7, 13, 0.08) 68%),
    linear-gradient(0deg, rgba(5, 7, 13, 0.72) 0%, transparent 55%);
}

.crosshair {
  position: absolute;
  z-index: 2;
  background: rgba(245, 241, 232, 0.2);
}

.crosshair-v {
  top: 0;
  bottom: 0;
  left: 66%;
  width: 1px;
}

.crosshair-h {
  left: 0;
  right: 0;
  top: 44%;
  height: 1px;
}

.feature-node {
  position: absolute;
  z-index: 3;
  left: 66%;
  top: 44%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px rgba(243, 184, 75, 0.16), 0 0 36px rgba(243, 184, 75, 0.9);
  animation: node-pulse 2.5s ease-in-out infinite;
}

@keyframes node-pulse {
  50% { box-shadow: 0 0 0 15px rgba(243, 184, 75, 0.05), 0 0 48px rgba(243, 184, 75, 1); }
}

.feature-copy {
  position: absolute;
  z-index: 4;
  left: clamp(30px, 5vw, 76px);
  bottom: calc(var(--hud-height) + 9vh);
  width: min(560px, 48vw);
}

.feature-kicker {
  margin-top: 18px;
  color: #c7cede;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.2em;
}

.feature-copy h2 {
  margin-top: 8px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(72px, 9vw, 138px);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.feature-copy > p:not(.section-index):not(.feature-kicker) {
  max-width: 470px;
  margin-top: 18px;
  color: #abb4c8;
  font-size: 15px;
  line-height: 1.65;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(243, 184, 75, 0.5);
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  background: rgba(5, 7, 13, 0.52);
}

.telemetry {
  position: absolute;
  z-index: 4;
  left: calc(66% + 30px);
  top: calc(44% + 30px);
  width: min(295px, calc(34vw - 60px));
  padding: 22px;
  border: 1px solid rgba(197, 209, 234, 0.24);
  background: rgba(5, 7, 13, 0.76);
  backdrop-filter: blur(12px);
}

.telemetry > p {
  margin-bottom: 14px;
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
}

.telemetry div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(197, 209, 234, 0.12);
  font-family: "Consolas", monospace;
  font-size: 10px;
}

.telemetry div span {
  color: #7f899d;
}

.telemetry div strong {
  color: var(--warm-white);
  font-weight: 600;
}

.telemetry a {
  display: inline-block;
  margin-top: 17px;
  color: var(--gold-bright);
  font-size: 11px;
}

.projects-card {
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height);
  background: #f0eee8;
  color: #111521;
}

.projects-heading {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 24px clamp(26px, 4.6vw, 70px) 18px;
}

.dark-index {
  color: #6657da;
}

.projects-heading h2 {
  margin-top: 7px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(34px, 4.3vw, 66px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.projects-heading > p {
  color: #687084;
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.project-accordion {
  flex: 1;
  min-height: 0;
  display: flex;
  border-top: 1px solid rgba(17, 21, 33, 0.16);
}

.project-slice {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  overflow: hidden;
  border-right: 1px solid rgba(17, 21, 33, 0.16);
  text-align: left;
  transition: flex-grow 1s var(--silk);
}

.project-slice:last-child {
  border-right: 0;
}

.project-slice.active {
  flex-grow: 3.85;
}

.project-image,
.project-shade {
  position: absolute;
  inset: 0;
}

.project-image {
  background-image: var(--project-image);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.055);
  filter: saturate(0.9);
  transition: opacity 900ms var(--silk), transform 1.2s var(--silk);
}

.project-slice.active .project-image {
  opacity: 1;
  transform: scale(1);
}

.project-shade {
  background: linear-gradient(0deg, rgba(5, 7, 13, 0.9), rgba(5, 7, 13, 0.04) 70%);
  opacity: 0;
  transition: opacity 700ms ease;
}

.project-slice.active .project-shade {
  opacity: 1;
}

.project-idle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 calc(var(--hud-height) + 22px);
  color: #141824;
  transition: opacity 400ms ease;
}

.project-idle > span,
.project-idle i {
  font-family: "Consolas", monospace;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.14em;
}

.project-idle strong {
  writing-mode: vertical-rl;
  font-size: clamp(15px, 1.7vw, 23px);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-slice.active .project-idle {
  opacity: 0;
}

.project-reveal {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: calc(var(--hud-height) + 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--warm-white);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 850ms var(--silk), transform 850ms var(--silk);
}

.project-slice.active .project-reveal {
  opacity: 1;
  transform: translateY(0);
}

.project-reveal > strong {
  margin-top: 10px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.project-reveal small {
  margin-top: 3px;
  color: #c1c9d9;
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-description {
  max-width: 420px;
  margin-top: 13px;
  color: #c4ccdc;
  font-size: 13px;
  line-height: 1.55;
}

.project-link {
  margin-top: 13px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 650;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Consolas", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.status-gold { color: var(--gold-bright); }
.status-indigo { color: #a9a2ff; }
.status-blue { color: #78d7ff; }
.status-violet { color: #d5a8ff; }

.studio-card {
  display: grid;
  grid-template-columns: 46% 54%;
  padding-top: var(--header-height);
  padding-bottom: var(--hud-height);
  background: #070a12;
}

.studio-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px clamp(28px, 4.8vw, 72px);
  background:
    radial-gradient(circle at 20% 22%, rgba(101, 87, 255, 0.12), transparent 38%),
    #070a12;
}

.studio-copy h2 {
  max-width: 600px;
  margin-top: 18px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.studio-intro {
  max-width: 520px;
  margin-top: 18px;
  color: #a9b2c5;
  font-size: 14px;
  line-height: 1.65;
}

.studio-tabs {
  display: flex;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio-tabs button {
  position: relative;
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 16px 10px;
  border-right: 1px solid var(--line);
  color: #6e788d;
  text-align: left;
  transition: color 250ms ease, background 250ms ease;
}

.studio-tabs button:last-child {
  border-right: 0;
}

.studio-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transition: right 400ms var(--silk);
}

.studio-tabs button.active {
  color: var(--warm-white);
  background: rgba(243, 184, 75, 0.06);
}

.studio-tabs button.active::after {
  right: 0;
}

.studio-tabs span {
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 9px;
}

.studio-tabs strong {
  font-size: 11px;
  letter-spacing: 0.11em;
}

.studio-cta {
  align-self: flex-start;
  margin-top: 25px;
}

.studio-visual {
  position: relative;
  overflow: hidden;
}

.studio-image,
.studio-shade {
  position: absolute;
  inset: 0;
}

.studio-image {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 800ms var(--silk), transform 1.2s var(--silk);
}

.studio-image.active {
  opacity: 1;
  transform: scale(1);
}

.studio-shade {
  background:
    linear-gradient(90deg, #070a12 0%, rgba(7, 10, 18, 0.4) 30%, rgba(7, 10, 18, 0.02) 65%),
    linear-gradient(0deg, rgba(7, 10, 18, 0.65), transparent 50%);
}

.studio-metrics {
  position: absolute;
  right: 30px;
  top: 48%;
  width: min(300px, calc(100% - 60px));
  padding: 20px;
  border: 1px solid rgba(233, 239, 250, 0.24);
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(12px);
}

.studio-metrics > p {
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
}

.studio-metrics div {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(233, 239, 250, 0.14);
}

.studio-metrics div span {
  color: #79849a;
  font-family: "Consolas", monospace;
  font-size: 10px;
}

.studio-metrics div strong {
  color: var(--warm-white);
  font-size: 11px;
  letter-spacing: 0.09em;
}

.studio-caption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  color: rgba(245, 241, 232, 0.62);
  font-family: "Consolas", monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.hud {
  position: fixed;
  z-index: 2000;
  inset: auto 0 0;
  height: var(--hud-height);
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.5vw, 54px);
  padding: 0 clamp(20px, 4vw, 60px);
  border-top: 1px solid rgba(142, 158, 190, 0.25);
  background: rgba(5, 7, 13, 0.86);
  backdrop-filter: blur(16px);
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c7cfe0;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.19em;
}

.hud-brand span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(243, 184, 75, 0.55);
}

.hud-location {
  color: #69748a;
  font-family: "Consolas", monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.hud-progress {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.hud-track {
  position: relative;
  flex: 1;
  height: 2px;
  background: rgba(142, 158, 190, 0.27);
}

.hud-track i {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--indigo), var(--gold));
  box-shadow: 0 0 13px rgba(243, 184, 75, 0.38);
  transition: width 100ms linear;
}

.hud-progress strong {
  min-width: 42px;
  color: #93a0b8;
  font-family: "Consolas", monospace;
  font-size: 9px;
  font-weight: 500;
}

.hud-nav {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hud-nav button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(142, 158, 190, 0.3);
  color: #b8c2d5;
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease;
}

.hud-nav button:hover:not(:disabled) {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--night);
}

.hud-nav button:disabled {
  opacity: 0.25;
  cursor: default;
}

.hud-nav span {
  color: #929db1;
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
    --hud-height: 58px;
  }

  .site-header nav {
    gap: 26px;
  }

  .hero-content {
    width: min(620px, 70vw);
  }

  .hero-image {
    background-image:
      linear-gradient(90deg, rgba(5, 7, 13, 0.96), rgba(5, 7, 13, 0.76) 46%, rgba(5, 7, 13, 0.2) 100%),
      url("images/hero-portal.webp");
  }

  .crosshair-v,
  .feature-node {
    left: 58%;
  }

  .telemetry {
    left: calc(58% + 24px);
    width: calc(42% - 48px);
  }

  .project-accordion {
    flex-direction: column;
  }

  .project-slice {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 21, 33, 0.16);
  }

  .project-slice:last-child {
    border-bottom: 0;
  }

  .project-idle {
    flex-direction: row;
    padding: 0 24px;
  }

  .project-idle strong {
    writing-mode: horizontal-tb;
  }

  .project-slice.active {
    flex-grow: 3.25;
  }

  .project-reveal {
    bottom: 18px;
  }

  .studio-card {
    grid-template-columns: 1fr;
    grid-template-rows: 54% 46%;
  }

  .studio-copy {
    padding: 25px 26px 18px;
    justify-content: flex-start;
  }

  .studio-copy h2 {
    max-width: 730px;
    font-size: clamp(34px, 7vw, 58px);
  }

  .studio-intro {
    max-width: 700px;
  }

  .studio-tabs {
    margin-top: 19px;
  }

  .studio-cta {
    display: none;
  }

  .studio-metrics {
    top: 18px;
  }

  .hud-location {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0 18px;
  }

  .brand {
    font-size: 11px;
    letter-spacing: 0.15em;
  }

  .brand-core {
    width: 19px;
    height: 19px;
  }

  .site-header nav {
    gap: 0;
  }

  .site-header nav button {
    display: none;
  }

  .site-header nav a {
    padding: 9px 11px;
    border: 1px solid rgba(243, 184, 75, 0.45);
    color: var(--gold-bright);
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .site-header nav a::before {
    display: none;
  }

  .hero-image {
    background-position: 62% center;
    background-image:
      linear-gradient(90deg, rgba(5, 7, 13, 0.97) 0%, rgba(5, 7, 13, 0.78) 66%, rgba(5, 7, 13, 0.35)),
      url("images/hero-portal.webp");
  }

  .hero-content {
    width: auto;
    margin: 0 20px;
    padding-top: 8px;
  }

  .hero-content h1 {
    margin-top: 15px;
    font-size: clamp(52px, 16vw, 78px);
  }

  .hero-copy {
    max-width: 340px;
    margin-top: 18px;
    font-size: 13px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 310px;
    gap: 10px;
    margin-top: 20px;
  }

  .button {
    min-height: 47px;
    padding: 0 18px;
    font-size: 11px;
  }

  .launch-line {
    margin-top: 17px;
    font-size: 10px;
  }

  .hero-coordinate,
  .orbital-two {
    display: none;
  }

  .feature-background {
    background-position: 65% center;
  }

  .feature-overlay {
    background:
      linear-gradient(90deg, rgba(5, 7, 13, 0.96) 0%, rgba(5, 7, 13, 0.68) 65%, rgba(5, 7, 13, 0.28)),
      linear-gradient(0deg, rgba(5, 7, 13, 0.8), transparent 60%);
  }

  .feature-copy {
    left: 20px;
    right: 20px;
    bottom: calc(var(--hud-height) + 38px);
    width: auto;
  }

  .feature-copy h2 {
    font-size: clamp(64px, 20vw, 92px);
  }

  .feature-copy > p:not(.section-index):not(.feature-kicker) {
    max-width: 360px;
    font-size: 12px;
  }

  .feature-kicker {
    font-size: 8px;
  }

  .feature-actions {
    gap: 10px;
  }

  .date-pill {
    height: 47px;
    padding: 0 13px;
    font-size: 9px;
  }

  .telemetry,
  .crosshair,
  .feature-node {
    display: none;
  }

  .projects-heading {
    padding: 13px 20px 12px;
  }

  .projects-heading h2 {
    font-size: 34px;
  }

  .projects-heading > p {
    display: none;
  }

  .project-idle {
    padding: 0 18px;
  }

  .project-idle strong {
    font-size: 13px;
  }

  .project-reveal {
    left: 18px;
    right: 18px;
    bottom: 12px;
  }

  .project-reveal > strong {
    margin-top: 5px;
    font-size: 31px;
  }

  .project-description {
    display: none;
  }

  .studio-card {
    grid-template-rows: 61% 39%;
  }

  .studio-copy {
    padding: 18px 20px 12px;
  }

  .studio-copy h2 {
    margin-top: 11px;
    font-size: clamp(34px, 10vw, 47px);
  }

  .studio-intro {
    margin-top: 11px;
    font-size: 11px;
    line-height: 1.5;
  }

  .studio-tabs {
    margin-top: 14px;
  }

  .studio-tabs button {
    padding: 11px 6px;
    gap: 5px;
  }

  .studio-tabs span {
    display: none;
  }

  .studio-tabs strong {
    font-size: 8px;
  }

  .studio-metrics {
    top: 12px;
    right: 16px;
    width: 230px;
    padding: 14px;
  }

  .studio-metrics div {
    margin-top: 9px;
    padding-top: 9px;
  }

  .studio-caption {
    bottom: 11px;
    right: 16px;
  }

  .hud {
    gap: 12px;
    padding: 0 14px;
  }

  .hud-brand {
    font-size: 0;
  }

  .hud-progress strong {
    display: none;
  }

  .hud-nav {
    gap: 7px;
  }

  .hud-nav button {
    width: 30px;
    height: 30px;
  }
}

@media (max-height: 700px) and (min-width: 681px) {
  .hero-content h1 {
    font-size: clamp(52px, 10vh, 83px);
  }

  .hero-copy {
    margin-top: 15px;
  }

  .hero-actions,
  .launch-line {
    margin-top: 15px;
  }

  .feature-copy h2 {
    font-size: 84px;
  }

  .feature-copy > p:not(.section-index):not(.feature-kicker) {
    margin-top: 10px;
  }

  .studio-copy h2 {
    font-size: 48px;
  }

  .studio-intro {
    margin-top: 10px;
  }

  .studio-tabs {
    margin-top: 15px;
  }

  .studio-cta {
    margin-top: 15px;
  }
}

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

  .scroll-spacer {
    display: none;
  }

  .z-card {
    position: relative;
    min-height: 100vh;
    transform: none !important;
    opacity: 1 !important;
  }

  .hero-image,
  .orbital-line,
  .feature-node {
    animation: none !important;
  }

  .project-slice,
  .project-image,
  .project-reveal,
  .studio-image {
    transition: none !important;
  }
}
