:root {
  --bg: #05070b;
  --bg-2: #070c12;
  --panel: #0a111a;
  --panel-2: #0d1722;
  --ink: #e9e2d2;
  --ink-2: #c5c0b4;
  --muted: #93a0ab;
  --gold: #c9a45c;
  --gold-bright: #e5c47c;
  --copper: #b56a43;
  --ice: #7fd4e6;
  --ice-dim: #2f6d7c;
  --line: rgba(201, 164, 92, .24);
  --line-cool: rgba(127, 212, 230, .22);
  --display: "Cinzel", Georgia, serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background-image:
    linear-gradient(rgba(127, 212, 230, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 212, 230, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  transition: opacity .45s ease;
}

body.blueprint::before {
  opacity: 1;
}

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

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

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

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--bg);
  font: 500 11px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.site-head {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}

.site-head.is-scrolled {
  border-color: var(--line);
  background: rgba(5, 7, 11, .82);
  backdrop-filter: blur(18px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--gold-bright);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.brand-text {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font: 500 10px/1 var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 9px 0;
  color: var(--muted);
  transition: color .2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-bright);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.head-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  color: var(--ice);
  font: 500 9px/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.head-status i,
.signal-value i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7a0;
  box-shadow: 0 0 12px #6ee7a0;
  animation: pulse 2.4s ease-in-out infinite;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 60;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(5, 7, 11, .5);
  color: var(--gold);
}

.menu-toggle span:not(.sr-only) {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform .3s ease, top .3s ease;
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:nth-child(2) {
  top: 24px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  padding: 124px var(--pad) 28px;
  overflow: hidden;
  background: var(--bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #020408 url("../station/gallifrey-poster.webp") 68% center / cover no-repeat;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  opacity: .86;
  filter: saturate(1.06) contrast(1.04);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, .99) 0%, rgba(5, 7, 11, .92) 26%, rgba(5, 7, 11, .48) 55%, rgba(5, 7, 11, .12) 72%, rgba(5, 7, 11, .7) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, .64) 0%, transparent 22%, transparent 58%, var(--bg) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, var(--max));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, .45fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}

.hero-copy {
  max-width: 790px;
  padding-bottom: 12px;
}

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--gold);
  font: 500 10px/1.3 var(--mono);
  letter-spacing: .24em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: .32em 0 .22em;
  font-family: var(--display);
  font-size: clamp(3.6rem, 9.5vw, 8.5rem);
  font-weight: 700;
  line-height: .82;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: var(--gold-bright);
  text-shadow: 0 0 60px rgba(201, 164, 92, .16);
}

.hero-sub {
  max-width: 530px;
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--gold);
  font: 500 10px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.btn span {
  font-size: 14px;
  line-height: 1;
}

.btn-solid {
  background: var(--gold);
  color: #0b0c0d;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--gold-bright);
  background: rgba(5, 7, 11, .28);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(201, 164, 92, .1);
  transform: translateY(-2px);
}

.hero-rail {
  display: grid;
  align-self: end;
  margin-bottom: 14px;
  padding-left: clamp(18px, 3vw, 30px);
  border-left: 1px solid var(--line);
  gap: 15px;
}

.rail-item {
  display: grid;
  gap: 3px;
}

.rail-label {
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
}

.rail-value {
  color: var(--ink-2);
  font-family: var(--display);
  font-size: .92rem;
  letter-spacing: .04em;
}

.hero-foot {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(40px, 8vh, 90px) auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 500 9px/1.4 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
}

.scroll-cue i {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: var(--gold);
  transform-origin: left;
  animation: scan 2.6s ease-in-out infinite;
}

.hero-foot-note {
  color: var(--muted);
}

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 12px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2.4rem;
  color: var(--gold);
  font: 500 9px/1 var(--mono);
  letter-spacing: .28em;
  text-transform: uppercase;
  animation: ticker 34s linear infinite;
}

.ticker-track span::before {
  content: "✦";
  margin-right: 2.4rem;
  color: var(--ice);
}

.section {
  position: relative;
  padding: clamp(78px, 11vw, 150px) var(--pad);
}

.section-head {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: start;
  margin-bottom: clamp(42px, 6vw, 78px);
}

.section-label {
  padding-top: 7px;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section h2,
.footer h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.6vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.65;
}

.manifesto {
  background:
    radial-gradient(circle at 78% 10%, rgba(127, 212, 230, .06), transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, #060b11 100%);
  border-bottom: 1px solid var(--line);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.manifesto-copy {
  display: grid;
  max-width: 720px;
  gap: 20px;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
}

.manifesto-copy p {
  margin: 0;
}

.manifesto-copy .lede {
  color: var(--ink);
  font-size: clamp(1.18rem, 1.9vw, 1.45rem);
  line-height: 1.55;
}

.lede::first-letter {
  float: left;
  padding: .08em .13em 0 0;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 4.1em;
  line-height: .78;
}

.station-card {
  position: relative;
  margin: 0;
  padding: 8px 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(201, 164, 92, .08), transparent 44%),
    var(--panel);
}

.station-card::before,
.station-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold);
  border-style: solid;
  pointer-events: none;
}

.station-card::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.station-card::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.station-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.station-card div:last-child {
  border-bottom: 0;
}

.station-card dt {
  color: var(--muted);
  font: 500 9px/1.3 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.station-card dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: .04em;
  text-align: right;
}

.signal-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ice);
}

.bays {
  background:
    linear-gradient(180deg, #060a10 0%, var(--bg) 28%, var(--bg) 100%);
}

.bay-group {
  margin-top: 48px;
}

.bay-group:first-of-type {
  margin-top: 34px;
}

.bay-group + .bay-group {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.bay-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.bay-group-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bay-group-head p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font: 400 .78rem/1.5 var(--mono);
  letter-spacing: .02em;
  text-align: right;
}

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

.bay {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .35s ease, box-shadow .35s ease;
}

.bay::before,
.bay::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 11px;
  height: 11px;
  border-color: var(--gold);
  border-style: solid;
  opacity: .65;
  pointer-events: none;
}

.bay::before {
  top: 8px;
  left: 8px;
  border-width: 1px 0 0 1px;
}

.bay::after {
  right: 8px;
  bottom: 8px;
  border-width: 0 1px 1px 0;
}

.bay:hover,
.bay:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
  transform: translateY(-6px);
}

.bay-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  background: #020408;
}

.bay-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.06) brightness(.78);
  transition: transform .8s cubic-bezier(.16, 1, .3, 1), filter .8s ease;
}

.bay:hover .bay-media img,
.bay:focus-visible .bay-media img {
  filter: saturate(1.04) contrast(1.06) brightness(.96);
  transform: scale(1.045);
}

.bay-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 7, 11, .82) 100%);
  pointer-events: none;
}

.bay-index,
.bay-status {
  position: absolute;
  top: 13px;
  z-index: 2;
  padding: 6px 8px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 11, .76);
  backdrop-filter: blur(6px);
  font: 500 8px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bay-index {
  left: 13px;
  color: var(--gold);
}

.bay-status {
  right: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ice);
}

.bay-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6ee7a0;
  box-shadow: 0 0 8px #6ee7a0;
}

.bay-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 20px 18px;
}

.bay h3 {
  margin: 0 0 9px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.bay p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.55;
}

.bay-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tag {
  padding: 5px 7px;
  border: 1px solid var(--line-cool);
  color: var(--ice);
  font: 500 8px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bay-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--gold);
  font: 500 9px/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bay-link span {
  color: var(--gold-bright);
  font-size: 13px;
}

.archive-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(48px, 7vw, 86px);
  margin-bottom: 16px;
}

.archive-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.archive-head a {
  color: var(--gold);
  font: 500 9px/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.archive-head a:hover,
.archive-head a:focus-visible {
  color: var(--gold-bright);
}

.archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
  border-top: 1px solid var(--line);
}

.archive a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, padding-left .25s ease;
}

.archive a:hover,
.archive a:focus-visible {
  padding-left: 8px;
  color: var(--gold-bright);
}

.archive strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.archive span {
  color: var(--muted);
  font: 500 8px/1.4 var(--mono);
  letter-spacing: .12em;
  text-align: right;
  text-transform: uppercase;
}

.dispatch {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 50%, rgba(127, 212, 230, .1), transparent 34%),
    radial-gradient(circle at 15% 20%, rgba(201, 164, 92, .07), transparent 30%),
    #060a10;
}

.dispatch-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  background: rgba(10, 17, 26, .72);
}

.dispatch-panel::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: repeating-conic-gradient(from 0deg, rgba(201, 164, 92, .075) 0deg .7deg, transparent .7deg 13deg);
  mask-image: radial-gradient(circle at 78% 50%, #000 0%, transparent 56%);
  pointer-events: none;
}

.dispatch-copy {
  position: relative;
  z-index: 1;
}

.dispatch h2 {
  margin: 18px 0 18px;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 600;
  line-height: .95;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.dispatch p:not(.section-label) {
  max-width: 620px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.02rem;
}

.signal {
  position: relative;
  z-index: 1;
  width: min(100%, 330px);
  aspect-ratio: 1;
  justify-self: center;
}

.signal-ring {
  position: absolute;
  border: 1px solid var(--line-cool);
  border-radius: 50%;
}

.signal-ring-1 {
  inset: 0;
  border-style: dashed;
  animation: spin 34s linear infinite;
}

.signal-ring-2 {
  inset: 14%;
  border-color: rgba(201, 164, 92, .3);
  animation: spin-reverse 26s linear infinite;
}

.signal-ring-3 {
  inset: 29%;
  border-color: rgba(127, 212, 230, .42);
  box-shadow: 0 0 34px rgba(127, 212, 230, .08), inset 0 0 34px rgba(127, 212, 230, .06);
}

.signal-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(5, 7, 11, .9);
  color: var(--gold-bright);
  box-shadow: 0 0 38px rgba(201, 164, 92, .16);
  transform: translate(-50%, -50%);
}

.signal-core svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.gateways {
  background:
    radial-gradient(circle at 12% 85%, rgba(201, 164, 92, .055), transparent 28%),
    var(--bg);
}

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

.gateway {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(201, 164, 92, .045), transparent 50%), var(--panel);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .3s ease, background .3s ease;
}

.gateway:hover,
.gateway:focus-visible {
  border-color: var(--gold);
  background: linear-gradient(145deg, rgba(201, 164, 92, .1), transparent 55%), var(--panel-2);
  transform: translateY(-4px);
}

.glyph {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold);
}

.glyph svg {
  width: 19px;
  height: 19px;
}

.gateway strong {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.gateway > span:not(.glyph) {
  color: var(--muted);
  font: 500 9px/1.4 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gateway em {
  margin-top: auto;
  color: var(--gold);
  font: 500 9px/1 var(--mono);
  font-style: normal;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gateway:hover em,
.gateway:focus-visible em {
  color: var(--gold-bright);
}

.footer {
  padding: clamp(54px, 8vw, 100px) var(--pad) 24px;
  border-top: 1px solid var(--line);
  background: #04060a;
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(40px, 6vw, 70px);
}

.footer h2 {
  margin-top: 18px;
  color: var(--gold-bright);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  color: var(--muted);
  font: 500 9px/1.8 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 500 8px/1.5 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-bottom a,
.blueprint-toggle {
  color: var(--gold);
  transition: color .2s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible,
.blueprint-toggle:hover,
.blueprint-toggle:focus-visible {
  color: var(--gold-bright);
}

.blueprint-toggle {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.blueprint-tag {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  padding: 8px 10px;
  border: 1px solid var(--line-cool);
  background: rgba(5, 7, 11, .88);
  color: var(--ice);
  font: 500 8px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}

body.blueprint .blueprint-tag {
  opacity: 1;
  transform: none;
}

body.blueprint {
  --line: rgba(127, 212, 230, .34);
  --line-cool: rgba(127, 212, 230, .42);
}

body.blueprint .hero-media video {
  opacity: .3;
  filter: grayscale(1) contrast(1.15);
}

body.blueprint .bay,
body.blueprint .station-card,
body.blueprint .dispatch-panel,
body.blueprint .gateway,
body.blueprint .archive a {
  border-color: rgba(127, 212, 230, .38);
}

body.blueprint .section-label {
  color: var(--ice);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

@keyframes scan {
  0%, 100% { transform: scaleX(.35); opacity: .5; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

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

@keyframes spin-reverse {
  to { transform: rotate(-360deg); }
}

@media (max-width: 1100px) {
  .bays-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(190px, .38fr);
  }

  .section-head {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .site-head {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .head-status {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: var(--pad);
    left: var(--pad);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid var(--line);
    background: rgba(5, 7, 11, .97);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: 104px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin-bottom: 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-foot {
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 36px;
  }

  .hero-foot-note:last-child {
    display: none;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-label {
    padding-top: 0;
  }

  .manifesto-grid,
  .dispatch-panel {
    grid-template-columns: 1fr;
  }

  .dispatch-panel::before {
    mask-image: radial-gradient(circle at 50% 78%, #000 0%, transparent 52%);
  }

  .signal {
    width: min(62vw, 280px);
  }

  .gateways-grid {
    grid-template-columns: 1fr;
  }

  .gateway {
    min-height: 190px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .brand-text {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 22px;
  }

  .hero-media video {
    object-position: 72% center;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(5, 7, 11, .98) 0%, rgba(5, 7, 11, .78) 58%, rgba(5, 7, 11, .42) 100%),
      linear-gradient(180deg, rgba(5, 7, 11, .66) 0%, transparent 24%, transparent 54%, var(--bg) 100%);
  }

  .hero h1 {
    font-size: clamp(2.85rem, 14vw, 5.2rem);
  }

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

  .btn {
    width: 100%;
  }

  .hero-rail {
    grid-template-columns: 1fr 1fr;
  }

  .bays-grid,
  .archive {
    grid-template-columns: 1fr;
  }

  .archive a {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .archive span {
    text-align: left;
  }

  .archive-head,
  .bay-group-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .bay-group-head p {
    text-align: left;
  }

  .station-card div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .station-card dd {
    text-align: left;
  }

  .footer-meta {
    display: grid;
    gap: 16px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

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

  .hero-media video {
    display: none;
  }

  .ticker-track {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
