:root {
  --bg: #050c16;
  --bg-deep: #030911;
  --surface: rgba(10, 18, 32, 0.72);
  --surface-strong: rgba(9, 16, 29, 0.92);
  --surface-soft: rgba(18, 34, 56, 0.6);
  --line: rgba(125, 211, 252, 0.16);
  --line-strong: rgba(125, 211, 252, 0.3);
  --text: #edf4ff;
  --muted: #97abc5;
  --cyan: #67e8f9;
  --cyan-strong: #0ea5e9;
  --lime: #bef264;
  --orange: #fb923c;
  --violet: #7c3aed;
  --shadow-lg: 0 36px 80px rgba(1, 7, 18, 0.55);
  --shadow-md: 0 20px 44px rgba(1, 7, 18, 0.32);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(103, 232, 249, 0.15), transparent 22%),
    radial-gradient(circle at 86% 16%, rgba(59, 130, 246, 0.16), transparent 26%),
    radial-gradient(circle at 50% 82%, rgba(190, 242, 100, 0.08), transparent 22%),
    linear-gradient(180deg, #040a14 0%, #09101d 34%, #050c16 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 88%);
  pointer-events: none;
  opacity: 0.36;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(103, 232, 249, 0.6);
  outline-offset: 3px;
}

.ambient {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(92px);
  pointer-events: none;
  opacity: 0.18;
  z-index: -1;
}

.ambient--one {
  top: -12rem;
  left: -10rem;
  background: rgba(14, 165, 233, 0.65);
  animation: float 20s ease-in-out infinite;
}

.ambient--two {
  right: -14rem;
  bottom: -14rem;
  background: rgba(190, 242, 100, 0.2);
  animation: float 24s ease-in-out infinite reverse;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12) 0.8px, transparent 0.9px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.1) 0.7px, transparent 0.9px),
    radial-gradient(circle at 40% 75%, rgba(255, 255, 255, 0.08) 0.8px, transparent 1px);
  background-size: 180px 180px, 220px 220px, 160px 160px;
  mix-blend-mode: screen;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 5rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(4, 10, 18, 0.72);
  border-bottom: 1px solid rgba(125, 211, 252, 0.08);
}

.header-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 0.95rem;
  background: linear-gradient(160deg, rgba(8, 19, 35, 0.96), rgba(20, 49, 78, 0.9));
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.22), 0 14px 36px rgba(14, 165, 233, 0.18);
}

.brand-mark__tile,
.brand-mark__tile--accent {
  position: absolute;
  width: 0.95rem;
  height: 1.2rem;
  border-radius: 0.35rem;
  top: 0.72rem;
  left: 0.62rem;
  background: linear-gradient(180deg, var(--cyan), var(--cyan-strong));
}

.brand-mark__tile--accent {
  left: 1.52rem;
  top: 1.08rem;
  background: linear-gradient(180deg, var(--lime), #84cc16);
}

.brand-mark__check {
  position: absolute;
  width: 1rem;
  height: 0.55rem;
  left: 1rem;
  top: 1.42rem;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(-45deg);
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
}

.brand-copy strong {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.74rem;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.05rem;
}

.header-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 0.9rem 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.24);
  background:
    linear-gradient(135deg, rgba(103, 232, 249, 0.16), rgba(14, 165, 233, 0.08) 58%, rgba(255, 255, 255, 0.04)),
    rgba(9, 17, 30, 0.84);
  color: #edf7ff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow:
    0 12px 28px rgba(3, 11, 24, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.header-link::after {
  content: "\2197";
  display: inline-grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  margin-left: 0.55rem;
  border-radius: 50%;
  background: rgba(103, 232, 249, 0.12);
  color: var(--cyan);
  font-size: 0.74rem;
  line-height: 1;
}

.header-link:hover {
  transform: translateY(-1px);
  border-color: rgba(103, 232, 249, 0.4);
  color: #ffffff;
  box-shadow:
    0 16px 32px rgba(3, 11, 24, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(9, 17, 30, 0.76);
  color: var(--muted);
  font-size: 0.84rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.header-status__dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--lime), #65a30d);
  box-shadow: 0 0 18px rgba(190, 242, 100, 0.8);
  animation: pulse 2.5s ease-in-out infinite;
}

.hero {
  padding-top: 4.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(103, 232, 249, 0), rgba(103, 232, 249, 0.88));
}

.eyebrow--soft {
  color: #9fe5f5;
}

.hero-badges {
  margin: 1.3rem 0 1.6rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-badges span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.62rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  background: rgba(7, 15, 26, 0.66);
  color: #d8e8f8;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
}

.hero h1,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.25rem);
  line-height: 1.02;
  max-width: 12ch;
}

.hero-lead {
  margin: 1.5rem 0 0;
  max-width: 62ch;
  color: #d4e3f6;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-support,
.section-heading p,
.phase-card p,
.detail-card p,
.summary-card p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.78;
}

.hero-support {
  max-width: 60ch;
  margin: 1rem 0 0;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0.98rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button--primary {
  color: #04111d;
  background: linear-gradient(135deg, var(--cyan), #d1fae5);
  box-shadow: 0 22px 42px rgba(103, 232, 249, 0.2);
}

.button--primary:hover {
  box-shadow: 0 28px 50px rgba(103, 232, 249, 0.28);
}

.hero-footnote {
  margin-top: 1.25rem;
  color: rgba(151, 171, 197, 0.88);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  transform: perspective(1200px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 220ms ease;
}

.hero-mesh {
  position: absolute;
  inset: -10% -6% auto auto;
  width: min(100%, 46rem);
  opacity: 0.72;
  pointer-events: none;
  animation: drift 24s linear infinite;
}

.command-deck,
.systems-board,
.detail-card,
.phase-card,
.status-console,
.contact-panel {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.92), rgba(7, 13, 24, 0.82));
  border: 1px solid rgba(125, 211, 252, 0.14);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.command-deck::before,
.systems-board::before,
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.08), transparent 35%, rgba(190, 242, 100, 0.05));
  pointer-events: none;
}

.command-deck {
  padding: 1.2rem;
  isolation: isolate;
}

.deck-topline {
  display: flex;
  gap: 0.45rem;
  padding: 0.4rem 0.2rem 1rem;
}

.deck-topline span {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.deck-summary {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr;
  gap: 1rem;
}

.deck-summary--simple {
  grid-template-columns: 1fr;
}

.summary-card {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(9, 16, 29, 0.72);
  border: 1px solid rgba(125, 211, 252, 0.13);
  min-height: 9.8rem;
}

.summary-card--wide {
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(10, 16, 28, 0.14)),
    rgba(9, 16, 29, 0.76);
}

.summary-card__label,
.signal-card__heading,
.status-console__eyebrow,
.detail-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--cyan);
}

.summary-card strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 1.28rem;
}

.summary-card p {
  margin: 0.65rem 0 0;
  font-size: 0.93rem;
}

.deck-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.nexus-card,
.signal-card,
.device-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(125, 211, 252, 0.13);
  background: rgba(8, 14, 25, 0.82);
}

.nexus-card {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
}

.nexus-core {
  position: relative;
  min-height: 20rem;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(14, 165, 233, 0.16), rgba(7, 12, 21, 0.16) 45%, rgba(7, 12, 21, 0.95) 70%);
  overflow: hidden;
}

.nexus-core::before,
.nexus-core::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.18);
  animation: rotate 18s linear infinite;
}

.nexus-core::after {
  inset: 20%;
  border-style: dashed;
  animation-duration: 24s;
  animation-direction: reverse;
}

.nexus-ring {
  position: absolute;
  inset: auto;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.18);
}

.nexus-ring--one {
  width: 7rem;
  height: 7rem;
  box-shadow: 0 0 28px rgba(103, 232, 249, 0.2);
}

.nexus-ring--two {
  width: 12rem;
  height: 12rem;
  border-style: dashed;
  animation: rotate 24s linear infinite;
}

.nexus-ring--three {
  width: 16rem;
  height: 16rem;
  animation: rotate 34s linear infinite reverse;
}

.nexus-center {
  position: relative;
  width: 9.35rem;
  height: 9.35rem;
  padding: 1rem 0.95rem;
  border-radius: 50%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.2rem;
  text-align: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(180deg, rgba(17, 31, 52, 0.95), rgba(7, 14, 25, 0.95));
  border: 1px solid rgba(125, 211, 252, 0.22);
  box-shadow: 0 0 0 14px rgba(14, 165, 233, 0.05), 0 0 50px rgba(103, 232, 249, 0.18);
}

.nexus-center small {
  display: block;
  max-width: 5.8rem;
  margin: 0 auto;
  color: #9fe5f5;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nexus-center strong {
  display: block;
  max-width: 5.9rem;
  margin: 0.15rem auto 0;
  font-size: 0.94rem;
  line-height: 1.08;
  text-wrap: balance;
}

.nexus-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.nexus-tags span,
.signal-lanes span,
.device-pill-row span,
.signal-timeline__node {
  padding: 0.68rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #d7e8fa;
  background: rgba(13, 23, 40, 0.76);
  border: 1px solid rgba(125, 211, 252, 0.12);
}

.nexus-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  text-align: center;
}

.side-stack {
  display: grid;
  gap: 1rem;
}

.signal-card,
.device-card {
  padding: 1.05rem;
}

.signal-lanes {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.signal-lanes span {
  position: relative;
  overflow: hidden;
}

.signal-lanes span::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.26), transparent);
  animation: sweep 3.8s ease-in-out infinite;
}

.device-frame {
  width: min(100%, 18rem);
  margin: 0 auto;
  padding: 1rem 0.75rem 0.85rem;
  border-radius: 2.3rem;
  background: linear-gradient(180deg, rgba(17, 25, 39, 0.98), rgba(7, 11, 20, 0.98));
  border: 1px solid rgba(125, 211, 252, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 16px 36px rgba(1, 7, 18, 0.38);
}

.device-notch {
  width: 34%;
  height: 0.4rem;
  margin: 0 auto 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.device-screen {
  padding: 1rem;
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at top, rgba(251, 146, 60, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(23, 45, 60, 0.96), rgba(11, 18, 31, 0.96));
  border: 1px solid rgba(125, 211, 252, 0.16);
}

.device-label {
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.device-screen h2 {
  margin: 0.55rem 0 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.36rem;
}

.device-pill-row {
  margin: 0.85rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.device-step {
  padding: 0.9rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(125, 211, 252, 0.11);
  background: rgba(7, 13, 24, 0.62);
}

.device-step + .device-step {
  margin-top: 0.72rem;
}

.device-step strong,
.systems-node strong,
.detail-card h3,
.status-console h3 {
  display: block;
}

.device-step span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.deck-footer {
  margin-top: 1rem;
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(125, 211, 252, 0.13);
  background: rgba(8, 14, 25, 0.82);
}

.pulse-line {
  position: relative;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.18);
}

.pulse-line + .pulse-line {
  margin-top: 0.65rem;
}

.pulse-line::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20%;
  width: 36%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.95), rgba(190, 242, 100, 0.85), transparent);
  animation: pulseLine 3.6s ease-in-out infinite;
}

.pulse-line--two::after {
  animation-delay: 1.3s;
}

.pulse-metrics {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pulse-metrics span {
  color: #ccddf2;
  font-size: 0.83rem;
  font-weight: 700;
}

.section-heading {
  max-width: 54rem;
}

.section-heading h2 {
  margin-top: 0.95rem;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  line-height: 1.06;
}

.section-heading p {
  margin-top: 1rem;
}

.intrigue-layout {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 1.35rem;
  align-items: stretch;
}

.systems-board {
  padding: 1.35rem;
  min-height: 34rem;
}

.systems-board__map {
  position: absolute;
  inset: auto 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  pointer-events: none;
}

.systems-board__header {
  position: relative;
  display: grid;
  gap: 0.25rem;
  z-index: 1;
}

.systems-board__header span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.systems-board__header strong {
  font-size: 1.4rem;
}

.systems-grid {
  position: relative;
  z-index: 1;
  margin-top: 1.6rem;
  min-height: 25rem;
}

.systems-node {
  position: absolute;
  width: min(100%, 15rem);
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(9, 16, 29, 0.84);
  border: 1px solid rgba(125, 211, 252, 0.14);
  box-shadow: var(--shadow-md);
}

.systems-node small {
  display: block;
  color: #9fe5f5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.systems-node strong {
  margin-top: 0.45rem;
  line-height: 1.4;
}

.systems-node--a {
  top: 2%;
  left: 2%;
}

.systems-node--b {
  top: 12%;
  right: 4%;
}

.systems-node--c {
  bottom: 6%;
  left: calc(50% - 7.5rem);
}

.systems-streams {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.systems-streams span {
  position: absolute;
  display: block;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.8), rgba(190, 242, 100, 0.2), transparent);
  border-radius: 999px;
  opacity: 0.55;
}

.systems-streams span:nth-child(1) {
  top: 34%;
  left: 14%;
  width: 62%;
  height: 2px;
  transform: rotate(10deg);
  animation: driftX 6s ease-in-out infinite;
}

.systems-streams span:nth-child(2) {
  top: 54%;
  left: 24%;
  width: 48%;
  height: 2px;
  transform: rotate(-28deg);
  animation: driftX 7s ease-in-out infinite reverse;
}

.systems-streams span:nth-child(3) {
  top: 24%;
  left: 40%;
  width: 34%;
  height: 2px;
  transform: rotate(66deg);
  animation: driftX 5s ease-in-out infinite;
}

.intrigue-stack {
  display: grid;
  gap: 1rem;
}

.detail-card {
  padding: 1.35rem;
}

.detail-card h3 {
  margin: 0.7rem 0 0;
  font-size: 1.32rem;
  line-height: 1.25;
}

.detail-card p {
  margin: 0.75rem 0 0;
}

.status-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.phase-card,
.status-console {
  padding: 1.3rem;
}

.phase-card {
  min-height: 16rem;
}

.phase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: #e6f0ff;
  font-weight: 800;
}

.phase-head i {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--cyan), var(--lime));
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.7);
  flex: 0 0 auto;
}

.phase-card p {
  margin: 0.85rem 0 0;
  font-size: 0.96rem;
}

.phase-track {
  margin-top: 1.3rem;
  height: 0.72rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.16);
}

.phase-track span {
  display: block;
  height: 100%;
  width: var(--fill, 80%);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.9), rgba(59, 130, 246, 0.86), rgba(190, 242, 100, 0.72));
  box-shadow: 0 0 24px rgba(103, 232, 249, 0.16);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.5rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 1rem 1.3rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(103, 232, 249, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(8, 16, 28, 0.82);
  border: 1px solid rgba(125, 211, 252, 0.18);
  color: #eaf5ff;
  font-size: 1.08rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-email:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 232, 249, 0.32);
  box-shadow: 0 26px 48px rgba(1, 7, 18, 0.4);
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(125, 211, 252, 0.1);
  color: rgba(151, 171, 197, 0.78);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(2rem, -1.5rem, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.82;
  }
}

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-1rem, 1rem, 0);
  }
}

@keyframes driftX {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes pulseLine {
  0% {
    left: -24%;
  }
  100% {
    left: 104%;
  }
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(-12%);
    opacity: 0.2;
  }
  50% {
    transform: translateX(120%);
    opacity: 0.7;
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .intrigue-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .contact-email {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 4rem 0;
  }

  .header-shell,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 3.8rem;
  }

  .hero-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    max-width: 11ch;
  }

  .deck-summary,
  .deck-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .systems-board {
    min-height: 29rem;
  }

  .systems-grid {
    min-height: 22rem;
  }

  .systems-node {
    width: calc(50% - 0.6rem);
  }

  .systems-node--a {
    top: 3%;
    left: 3%;
  }

  .systems-node--b {
    top: 3%;
    right: 3%;
  }

  .systems-node--c {
    bottom: 8%;
    left: calc(50% - 7.5rem);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

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

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.6rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .systems-board,
  .command-deck,
  .detail-card,
  .phase-card,
  .status-console,
  .contact-panel {
    border-radius: 24px;
  }

  .systems-board {
    min-height: auto;
  }

  .systems-grid {
    display: grid;
    min-height: auto;
    gap: 0.85rem;
  }

  .systems-node {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .device-frame {
    width: 100%;
  }

  .contact-email {
    font-size: 1rem;
    word-break: break-word;
    text-align: center;
  }
}



