@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter-VariableFont.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter-Italic-VariableFont.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #010108;
  --bg-2: #04030f;
  --ink: #080b1b;
  --panel: rgba(8, 11, 27, 0.72);
  --panel-strong: rgba(5, 7, 20, 0.9);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(120, 150, 255, 0.16);
  --line-mid: rgba(99, 140, 255, 0.36);
  --line-strong: rgba(147, 184, 255, 0.64);
  --text: #eef1ff;
  --soft: #c4ccea;
  --muted: #828bad;
  --faint: rgba(130, 139, 173, 0.56);
  --core: #93b8ff;
  --cyan: #4f86ff;
  --cyan-bright: #8fb6ff;
  --violet: #7b3fe4;
  --violet-bright: #b15cff;
  --magenta: #c44dff;
  --success: #5be0c0;
  --grad: linear-gradient(120deg, #93b8ff 0%, #4f86ff 32%, #7b3fe4 68%, #c44dff 100%);
  --shadow-lg: 0 22px 70px rgba(0, 0, 0, 0.64);
  --shadow-panel: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(120, 150, 255, 0.08);
  --radius: 8px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-mid: 280ms;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  /* clip (not hidden) prevents horizontal scroll without creating a
     scroll container, so position: sticky on .sticky-stage keeps working */
  overflow-x: clip;
  /* hide the native scrollbar; scroll feedback is given by .scroll-progress */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 80% 50% at 85% 8%, rgba(123, 63, 228, 0.13) 0%, transparent 58%),
    radial-gradient(ellipse 80% 45% at 15% 18%, rgba(79, 134, 255, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, #02020b 0%, var(--bg) 48rem, #02020b 100%);
  color: var(--text);
  font-family: var(--font);
  font-optical-sizing: auto;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.is-intro-active {
  overflow: hidden;
}

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 850ms var(--ease), visibility 850ms var(--ease);
}

.intro-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 9rem 9rem;
  mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 82%, transparent 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.55) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, rgba(147,184,255,0.5) 0 1px, transparent 1px),
    radial-gradient(circle at 35% 70%, rgba(196,77,255,0.42) 0 1px, transparent 1px);
  background-size: 18rem 18rem, 24rem 24rem, 30rem 30rem;
}

main {
  position: relative;
  overflow: visible;
}

main > section {
  position: relative;
  z-index: 2;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(143, 182, 255, 0.28);
  color: #fff;
}

/* Hide the native scrollbar (Chrome/Safari/Edge). Scroll feedback is the
   top .scroll-progress bar. */
::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

:focus-visible {
  outline: 2px solid var(--core);
  outline-offset: 4px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(79, 134, 255, 0.5);
}

.ambient-glow {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 24rem;
  height: 24rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  filter: blur(28px);
  background: radial-gradient(circle, rgba(79,134,255,0.18), rgba(177,92,255,0.08) 44%, transparent 70%);
  transition: opacity var(--t-mid) var(--ease);
}

body.has-pointer .ambient-glow {
  opacity: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3.25rem);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(1, 1, 8, 0.86) 0%, rgba(1, 1, 8, 0) 100%);
  transition: background var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), padding var(--t-mid) var(--ease);
}

body.is-scrolled .site-header {
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  border-color: rgba(120, 150, 255, 0.14);
  background: rgba(1, 1, 8, 0.82);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.brand {
  width: 11rem;
  min-width: 8rem;
}

.brand img {
  width: 100%;
  filter: drop-shadow(0 0 20px rgba(79, 134, 255, 0.22));
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0;
  transition: color var(--t-fast) var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.28rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--grad);
  transition: transform var(--t-mid) var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta,
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.78rem 1.2rem;
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  overflow: hidden;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 720;
  text-transform: uppercase;
  background: rgba(79, 134, 255, 0.08);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.nav-cta::before,
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  transition: transform 620ms var(--ease);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 0 34px rgba(79, 134, 255, 0.22);
}

.nav-cta:hover::before,
.btn:hover::before {
  transform: translateX(120%);
}

.btn-primary {
  border: 0;
  background: var(--grad);
  box-shadow: 0 0 34px rgba(79, 134, 255, 0.24);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.055);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}

.menu-toggle span {
  display: block;
  width: 1.05rem;
  height: 1px;
  background: var(--text);
  transition: transform var(--t-mid) var(--ease);
}

.menu-toggle span + span {
  margin-top: 0.32rem;
}

body.is-menu-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

body.is-menu-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: start;
  padding: clamp(8.8rem, 17vh, 12rem) clamp(1.2rem, 6vw, 5rem) 6rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.92;
  transform: scale(1.02);
}

.hero-img-reveal {
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    circle at var(--hx, 50%) var(--hy, 50%),
    black 0,
    black var(--inner-r, 0px),
    transparent var(--outer-r, 0px)
  );
  mask-image: radial-gradient(
    circle at var(--hx, 50%) var(--hy, 50%),
    black 0,
    black var(--inner-r, 0px),
    transparent var(--outer-r, 0px)
  );
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1,1,8,0.95) 0%, rgba(1,1,8,0.6) 48%, rgba(1,1,8,0.2) 100%),
    linear-gradient(180deg, rgba(1,1,8,0.66) 0%, rgba(1,1,8,0.16) 42%, rgba(1,1,8,0.95) 100%);
}

.hero-grid {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  opacity: 0.32;
  background:
    linear-gradient(rgba(147,184,255,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,184,255,0.18) 1px, transparent 1px);
  background-size: 4.8rem 4.8rem;
  transform: perspective(540px) rotateX(66deg);
  transform-origin: bottom;
}

.hero-content {
  width: min(100%, 82rem);
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(3.4rem, 6.35vw, 7.2rem);
}

.hero-logo,
.mission-console {
  display: none;
}

.eyebrow,
.panel-kicker,
.card-index {
  display: block;
  margin: 0 0 0.75rem;
  color: var(--core);
  font-size: 0.74rem;
  font-weight: 760;
  text-transform: uppercase;
}

.hero-logo {
  width: min(35rem, 84vw);
  margin-bottom: 2.2rem;
  filter: drop-shadow(0 0 26px rgba(79, 134, 255, 0.32));
}

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

h1,
.phase h2 {
  margin-bottom: 1rem;
  font-size: 4.8rem;
  line-height: 0.96;
  font-weight: 230;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1rem;
  font-size: 3.1rem;
  line-height: 1.04;
  font-weight: 260;
  text-transform: uppercase;
}

h2 strong,
.phase strong {
  color: var(--core);
  font-weight: 760;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 760;
}

p {
  color: var(--soft);
}

.hero-lede {
  width: min(100%, 48rem);
  margin-bottom: 2rem;
  font-size: clamp(1.12rem, 1.22vw, 1.24rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.mission-console {
  position: absolute;
  right: clamp(1.2rem, 6vw, 5rem);
  bottom: 5rem;
  width: min(20rem, 34vw);
  min-width: 16rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 5, 18, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-panel);
}

.console-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.console-row span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.console-row strong {
  font-size: 0.88rem;
  color: var(--text);
}

.console-orbit {
  position: relative;
  height: 8rem;
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(79,134,255,0.18), transparent 66%);
}

.console-orbit span {
  position: absolute;
  inset: 22% 12%;
  border: 1px solid rgba(143, 182, 255, 0.34);
  border-radius: 50%;
  transform: rotate(var(--r, 0deg));
}

.console-orbit span:nth-child(2) {
  --r: 58deg;
  border-color: rgba(177, 92, 255, 0.36);
}

.console-orbit span:nth-child(3) {
  --r: -58deg;
}

.section {
  position: relative;
  z-index: 2;
  padding: 6.5rem clamp(1.2rem, 6vw, 5rem);
}

.technology {
  padding-top: 0;
}

.technology::before {
  content: "";
  position: absolute;
  top: -12rem;
  left: 0;
  right: 0;
  z-index: 1;
  height: 18rem;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(1,1,8,0) 0%, rgba(1,1,8,0.8) 52%, rgba(1,1,8,0.98) 100%),
    radial-gradient(ellipse at 66% 70%, rgba(79,134,255,0.08), transparent 48%);
}

.section-heading {
  width: min(100%, var(--max));
  margin: 0 auto 3rem;
}

.section-heading p {
  width: min(100%, 46rem);
  font-size: 1rem;
}

.capabilities,
.why,
.projects,
.team {
  padding-left: 0;
  padding-right: 0;
}

.capabilities > .section-heading,
.why-layout,
.projects .project-card,
.team > .section-heading,
.team-grid,
.trust-band {
  width: 100%;
  max-width: none;
  padding-left: clamp(1.2rem, 6vw, 5rem);
  padding-right: clamp(1.2rem, 6vw, 5rem);
}

.tech-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card,
.why-stack article,
.team-card,
.contact-form,
.modes-panel,
.capability-shell,
.project-card,
.trust-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.032)),
    var(--panel);
  box-shadow: var(--shadow-panel);
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.feature-card:hover,
.why-stack article:hover,
.team-card:hover,
.contact-form:hover,
.project-card:hover {
  border-color: var(--line-mid);
  box-shadow: var(--shadow-lg), 0 0 32px rgba(79, 134, 255, 0.16);
}

[data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
}

[data-tilt]:hover {
  --lift: -4px;
}

.feature-card {
  min-height: 100%;
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.feature-card div {
  padding: 1.1rem;
}

.feature-card p,
.why-stack p,
.team-card p,
.project-copy p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.modes-panel,
.capability-shell,
.project-card,
.trust-band {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.why-layout,
.project-card,
.trust-band {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.modes-panel {
  position: relative;
  width: 100vw;
  margin: clamp(-43rem, -72vh, -34rem) calc(50% - 50vw) 0;
  padding: clamp(3.2rem, 6vw, 5.5rem) clamp(1.2rem, 6vw, 5rem) clamp(2.4rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(19rem, 0.56fr);
  grid-template-areas:
    "copy intro"
    "scene intro";
  gap: clamp(0.5rem, 2.4vw, 2rem);
  align-items: start;
  text-align: left;
  isolation: isolate;
  overflow: visible;
  border: 0;
  border-radius: 0;
  --system-x: 45.65%;
  --system-y: 39.77%;
  --baseline-w: 29%;
  --baseline-r: -22.17deg;
  --sat-a-x: 31.76%;
  --sat-a-y: 45.43%;
  --sat-b-x: 59.55%;
  --sat-b-y: 34.11%;
  --sat-a-r: -22.17deg;
  --sat-b-r: -22.17deg;
  --sat-a-scale: 1;
  --sat-b-scale: 1;
  --earth-r: 0deg;
  --earth-s: 1;
}

.modes-panel::before {
  content: "";
  position: absolute;
  inset: -46% -18% -20%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(147,184,255,0.055) 18.06%, transparent 18.42% 62%, rgba(196,77,255,0.06) 62.06%, transparent 62.42%),
    radial-gradient(ellipse at 52% 38%, rgba(196,77,255,0.13), transparent 48%),
    radial-gradient(ellipse at 24% 58%, rgba(79,134,255,0.13), transparent 54%),
    radial-gradient(ellipse at 75% 45%, rgba(1,1,8,0.42), transparent 58%);
  mask-image: radial-gradient(ellipse at 50% 50%, black 0%, rgba(0,0,0,0.92) 46%, rgba(0,0,0,0.42) 68%, transparent 88%);
}

.modes-intro {
  position: relative;
  z-index: 10;
  grid-area: intro;
  justify-self: end;
  width: min(46rem, calc(100vw - 10rem));
  margin: 0;
  padding-top: 0;
  text-align: right;
  transform: translateY(clamp(-1.45rem, -2.1vw, -0.55rem));
}

.modes-intro h2 {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2vw, 2.35rem);
  line-height: 1.08;
}

.modes-intro .eyebrow {
  margin: 0 0 0.65rem auto;
}

.modes-intro h2 span {
  display: block;
  white-space: nowrap;
}

.modes-intro h2 span:nth-child(1),
.modes-intro h2 span:nth-child(2),
.modes-intro h2 span:nth-child(3) {
  background: linear-gradient(115deg, rgba(238,241,255,0.96), rgba(147,184,255,0.9) 46%, rgba(196,77,255,0.74));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modes-intro h2 span:nth-child(2) {
  background-image: linear-gradient(115deg, rgba(238,241,255,0.9), rgba(147,184,255,0.98) 36%, rgba(79,134,255,0.92) 64%, rgba(196,77,255,0.68));
}

.modes-intro h2 span:nth-child(3) {
  background-image: linear-gradient(115deg, rgba(238,241,255,0.92), rgba(147,184,255,0.82) 30%, rgba(196,77,255,0.78) 100%);
}

.modes-copy {
  position: relative;
  z-index: 10;
  grid-area: copy;
  width: min(100%, 34rem);
  margin: 0;
  padding-top: clamp(0.1rem, 1vw, 0.6rem);
}

.modes-copy h3 {
  margin-bottom: 0.8rem;
  font-size: 2.4rem;
  font-weight: 280;
  line-height: 1.08;
  text-transform: uppercase;
}

.modes-copy p:not(.eyebrow) {
  color: var(--soft);
  font-size: 1rem;
}

.mode-cycle {
  position: relative;
  margin-top: 1.2rem;
  min-height: 2.8rem;
  padding: 0.75rem 2.6rem 0.75rem 1rem;
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(79,134,255,0.18), rgba(196,77,255,0.11));
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 760;
  text-transform: uppercase;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.mode-cycle::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: transform var(--t-fast) var(--ease);
}

.mode-cycle:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 0 26px rgba(79,134,255,0.18);
}

.mode-cycle:hover::after {
  transform: translate(3px, -50%) rotate(45deg);
}

.mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.mode-tabs button {
  min-height: 2.1rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(147,184,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 720;
  text-transform: uppercase;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.mode-tabs button:hover,
.mode-tabs button.is-active {
  color: var(--text);
  border-color: var(--line-mid);
  background: rgba(79,134,255,0.11);
}

.mode-orbital-scene {
  position: relative;
  grid-area: scene;
  z-index: 1;
  min-height: clamp(29rem, 48vw, 42rem);
  margin-top: clamp(-7.6rem, -8vw, -4.2rem);
  margin-right: clamp(-5.5rem, -5vw, -2rem);
  overflow: visible;
  isolation: isolate;
  background: transparent;
}

.mode-orbital-scene::before,
.mode-orbital-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.mode-orbital-scene::before {
  inset: -18% -10% -10%;
  z-index: 2;
  background:
    linear-gradient(rgba(147,184,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,184,255,0.04) 1px, transparent 1px);
  background-size: 4.6rem 4.6rem;
  transform: perspective(520px) rotateX(67deg) translateY(18%);
  transform-origin: bottom;
  opacity: 0.22;
  mask-image: radial-gradient(ellipse at 42% 58%, black 0%, rgba(0,0,0,0.72) 42%, transparent 78%);
}

.mode-orbital-scene::after {
  display: none;
}

.mode-camera-tag {
  display: none;
}

.mode-camera-tag::before {
  content: "";
}

.mode-earth {
  position: absolute;
  left: -8.36%;
  top: 45.55%;
  z-index: 1;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 64% 30%, rgba(147,184,255,0.28), transparent 18%),
    radial-gradient(circle at 42% 38%, rgba(79,134,255,0.32), transparent 20%),
    radial-gradient(circle at 62% 54%, rgba(196,77,255,0.2), transparent 24%),
    linear-gradient(145deg, #02040d 0%, #071026 42%, #100728 100%);
  box-shadow:
    inset -2rem 2rem 5rem rgba(147,184,255,0.16),
    0 0 0 1px rgba(147,184,255,0.18),
    0 0 70px rgba(79,134,255,0.28);
  transform: rotate(var(--earth-r)) scale(var(--earth-s));
  transition: box-shadow 700ms var(--ease), transform 700ms var(--ease);
}

.mode-earth::before {
  content: "";
  position: absolute;
  inset: -2%;
  border-radius: 50%;
  border-top: 2px solid rgba(147,184,255,0.8);
  border-right: 1px solid rgba(196,77,255,0.34);
  filter: blur(0.2px);
}

.mode-earth::after {
  content: "";
  position: absolute;
  inset: 18% 10% 46% 28%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(147,184,255,0.45) 0 1px, transparent 1.5px);
  background-size: 1.1rem 0.8rem, 1.7rem 1.1rem;
  opacity: 0.32;
  transform: rotate(-20deg);
}

.mode-orbit-svg {
  position: absolute;
  inset: 0;
  z-index: 7;
  overflow: visible;
  pointer-events: none;
}

.mode-orbit-main,
.mode-orbit-shadow {
  fill: none;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
}

.mode-orbit-shadow {
  stroke: rgba(147,184,255,0.2);
  stroke-width: 3.2;
  filter: blur(7px);
  opacity: 0.7;
}

.mode-orbit-main {
  stroke: url(#modeOrbitStroke);
  stroke-width: 1.45;
  opacity: 0.98;
  filter: drop-shadow(0 0 10px rgba(79,134,255,0.38));
}

.mode-earth-com-line {
  stroke: url(#modeRadialStroke);
  stroke-width: 1.05;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
  opacity: 0.34;
  transition: opacity 700ms var(--ease);
}

.mode-focus-dot {
  fill: var(--core);
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 8px rgba(147,184,255,0.8));
}

.mode-focus-dot {
  fill: rgba(147,184,255,0.72);
  stroke: rgba(238,241,255,0.72);
  stroke-width: 0.22;
}

.mode-focus-label {
  position: absolute;
  left: 24.2%;
  top: 79%;
  z-index: 13;
  color: rgba(196,204,234,0.62);
  font-size: 0.54rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(1,2,10,0.95);
  pointer-events: none;
}

.mode-tether-layer {
  position: absolute;
  inset: 0;
  z-index: 13;
  overflow: visible;
  pointer-events: none;
}

.mode-tether-svg {
  stroke: rgba(238,241,255,0.94);
  stroke-width: 1.45;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 7px rgba(147,184,255,0.64));
  transition: x1 780ms var(--ease), y1 780ms var(--ease), x2 780ms var(--ease), y2 780ms var(--ease);
}

.mode-reference {
  position: absolute;
  left: var(--system-x);
  top: var(--system-y);
  z-index: 6;
  width: 14rem;
  height: 1px;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(147,184,255,0.7), transparent);
  opacity: 0.08;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), background 700ms var(--ease);
}

.mode-axis-label {
  position: absolute;
  z-index: 14;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 720;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 1px 14px rgba(1,2,10,0.95);
  transition: opacity 500ms var(--ease), color 500ms var(--ease), transform 500ms var(--ease);
}

.mode-axis-label-along {
  left: 68%;
  top: 35%;
}

.mode-axis-label-cross {
  left: 46%;
  top: 21%;
}

.mode-axis-label-radial {
  left: 32%;
  top: 67%;
}

.mode-axis-label-orbit {
  left: 52%;
  top: 46.5%;
  opacity: 0.72;
  color: rgba(147,184,255,0.7);
}

.mode-reference-along {
  transform: rotate(-22.17deg);
}

.mode-reference-cross {
  width: 11rem;
  transform: rotate(77deg);
  background: linear-gradient(90deg, rgba(196,77,255,0.7), transparent);
}

.mode-reference-radial {
  width: 13rem;
  transform: rotate(-57.96deg);
  background: linear-gradient(90deg, rgba(147,184,255,0.72), transparent);
}

.modes-panel[data-mode="along"] .mode-reference-along,
.modes-panel[data-mode="cross"] .mode-reference-cross,
.modes-panel[data-mode="radial"] .mode-reference-radial {
  opacity: 0.32;
}

.modes-panel[data-mode="along"] .mode-axis-label-along,
.modes-panel[data-mode="cross"] .mode-axis-label-cross,
.modes-panel[data-mode="radial"] .mode-axis-label-radial {
  opacity: 1;
  color: var(--core);
}

.mode-com {
  position: absolute;
  left: var(--system-x);
  top: var(--system-y);
  z-index: 14;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 18px rgba(147,184,255,0.9), 0 0 34px rgba(196,77,255,0.32);
  transform: translate(-50%, -50%);
}

.mode-com::after {
  content: "";
  position: absolute;
  inset: -0.55rem;
  border: 1px solid rgba(147,184,255,0.24);
  border-radius: 50%;
}

.mode-satellite {
  position: absolute;
  z-index: 12;
  left: var(--sat-a-x);
  top: var(--sat-a-y);
  width: 2.2rem;
  height: 1.4rem;
  border: 1px solid rgba(147,184,255,0.45);
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(238,241,255,0.78), rgba(79,134,255,0.18));
  box-shadow: 0 0 20px rgba(79,134,255,0.32);
  transform: translate(-50%, -50%) rotate(var(--sat-a-r)) scale(var(--sat-a-scale));
  transform-style: preserve-3d;
  transition: left 780ms var(--ease), top 780ms var(--ease), transform 780ms var(--ease), box-shadow 780ms var(--ease), opacity 780ms var(--ease), filter 780ms var(--ease);
  will-change: left, top, transform;
}

.mode-satellite-b {
  left: var(--sat-b-x);
  top: var(--sat-b-y);
  transform: translate(-50%, -50%) rotate(var(--sat-b-r)) scale(var(--sat-b-scale));
}

.mode-satellite::before,
.mode-satellite::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.6rem;
  height: 0.55rem;
  border: 1px solid rgba(147,184,255,0.28);
  background: repeating-linear-gradient(90deg, rgba(79,134,255,0.3) 0 4px, rgba(5,8,22,0.82) 4px 7px);
  transform: translateY(-50%);
}

.mode-satellite::before {
  right: calc(100% + 0.14rem);
}

.mode-satellite::after {
  left: calc(100% + 0.14rem);
}

.mode-satellite span {
  position: absolute;
  left: 50%;
  bottom: -0.7rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--core);
  box-shadow: 0 0 18px rgba(147,184,255,0.8);
  transform: translateX(-50%);
}

.mode-satellite span::after {
  content: "";
  position: absolute;
  inset: -0.65rem;
  border: 1px solid rgba(147,184,255,0.28);
  border-radius: 50%;
  animation: pulse 2.6s var(--ease) infinite;
}

.modes-panel[data-mode="cross"] {
  --baseline-w: 30%;
  --baseline-r: 77deg;
  --sat-a-x: 41.5%;
  --sat-a-y: 21.17%;
  --sat-b-x: 49.81%;
  --sat-b-y: 58.37%;
  --sat-a-r: -10deg;
  --sat-b-r: 12deg;
  --sat-a-scale: 1;
  --sat-b-scale: 1;
  --earth-r: -4deg;
  --earth-s: 1;
}

.modes-panel[data-mode="cross"] .mode-earth {
  box-shadow:
    inset -2rem 2rem 5rem rgba(147,184,255,0.18),
    0 0 0 1px rgba(147,184,255,0.2),
    0 0 82px rgba(196,77,255,0.22);
}

.modes-panel[data-mode="cross"] .mode-satellite {
  box-shadow: 0 0 24px rgba(196,77,255,0.28);
}

.modes-panel[data-mode="radial"] {
  --baseline-w: 23%;
  --baseline-r: -57.96deg;
  --sat-a-x: 38.23%;
  --sat-a-y: 51.64%;
  --sat-b-x: 53.08%;
  --sat-b-y: 27.9%;
  --sat-a-r: -22.17deg;
  --sat-b-r: -22.17deg;
  --sat-a-scale: 1;
  --sat-b-scale: 1;
  --earth-r: 3deg;
  --earth-s: 1;
}

.modes-panel[data-mode="radial"] .mode-earth {
  box-shadow:
    inset -2rem 2rem 5rem rgba(147,184,255,0.2),
    0 0 0 1px rgba(147,184,255,0.22),
    0 0 90px rgba(79,134,255,0.26);
}

.modes-panel[data-mode="radial"] .mode-earth-com-line {
  opacity: 0.78;
}

.mode-geometry {
  position: absolute;
  inset: -4% -1% -14% -18%;
  z-index: 5;
  width: 120%;
  height: 118%;
  overflow: visible;
  pointer-events: none;
}

.mode-earth-disk {
  fill: url(#modeEarthFill);
  opacity: 0.9;
  filter: drop-shadow(0 0 82px rgba(79,134,255,0.26));
}

.mode-earth-atmosphere {
  fill: none;
  stroke: rgba(147,184,255,0.24);
  stroke-width: 1.45;
  filter: drop-shadow(0 0 12px rgba(147,184,255,0.26));
}

.mode-earth-lights {
  fill: url(#modeEarthLights);
  opacity: 0.26;
  mask-image: linear-gradient(90deg, transparent 0%, black 20%, black 72%, transparent 100%);
}

.mode-reference-svg {
  stroke: rgba(147,184,255,0.48);
  stroke-width: 1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.24;
}

.mode-orbit-back,
.mode-orbit-touch {
  fill: none;
  stroke: url(#modeOrbitStroke);
  stroke-width: 2.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 15px rgba(147,184,255,0.42));
}

.mode-orbit-back {
  opacity: 0.56;
}

.mode-orbit-touch {
  stroke-width: 2.55;
  opacity: 0.88;
  filter: drop-shadow(0 0 18px rgba(147,184,255,0.52));
}

.mode-com-svg {
  fill: var(--text);
  stroke: rgba(147,184,255,0.65);
  stroke-width: 2;
  filter: url(#modeBlueGlow);
}

.mode-tether-svg {
  stroke-width: 2.15;
  opacity: 0.98;
}

.mode-satellite-svg {
  filter: drop-shadow(0 0 12px rgba(79,134,255,0.34));
}

.mode-satellite-body {
  fill: rgba(205,218,255,0.78);
  stroke: rgba(147,184,255,0.55);
  stroke-width: 1.2;
}

.mode-solar-panel {
  fill: rgba(12, 25, 64, 0.9);
  stroke: rgba(147,184,255,0.46);
  stroke-width: 1;
}

.mode-solar-panel.left,
.mode-solar-panel.right {
  stroke-dasharray: 6 3;
}

.mode-satellite-sensor {
  fill: var(--core);
  filter: drop-shadow(0 0 8px rgba(147,184,255,0.7));
}

.scrollytelling {
  position: relative;
  height: 600vh;
  /* pull the stage up so the ODRADEK animation begins overlapping the lower
     part of the hero Earth, removing the dark gap (continuity) */
  margin: clamp(-26vh, -20vw, -14vh) calc(clamp(1.2rem, 6vw, 5rem) * -1) 0;
  background: transparent;
}

.sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  transition: opacity 180ms linear;
  will-change: opacity;
  /* soften the stage's top edge so it dissolves into the hero Earth above
     instead of starting on a hard horizontal seam (smoother raccordo) */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 9%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 9%);
}

.stage-video,
.stage-fallback,
.stage-scrim {
  position: absolute;
  inset: 0;
}

.stage-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--bg);
  opacity: 1;
  transition: opacity 700ms var(--ease);
}

.stage-video.is-ready {
  opacity: 1;
}

.stage-fallback {
  display: none;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(79,134,255,0.18) 0%, transparent 60%),
    url("../images/backgrounds/Main_Background.png") center / cover no-repeat,
    var(--bg);
}

body.video-failed .stage-fallback {
  display: block;
}

body.video-failed .stage-video {
  display: none;
}

.stage-scrim {
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 20%, rgba(147,184,255,0.11) 20.08%, transparent 20.45% 54%, rgba(196,77,255,0.1) 54.08%, transparent 54.48%),
    repeating-linear-gradient(112deg, transparent 0 8rem, rgba(79,134,255,0.055) 8.04rem, transparent 8.12rem),
    radial-gradient(ellipse 90% 70% at 50% 50%, transparent 40%, rgba(1,1,8,0.52) 100%),
    linear-gradient(180deg, rgba(1,1,8,0.64) 0%, rgba(1,1,8,0.08) 36%, rgba(1,1,8,0.2) 70%, rgba(1,1,8,0.88) 100%);
}

.phase-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  transition: opacity var(--t-mid) var(--ease);
}

.phase {
  position: absolute;
  left: 0;
  right: 0;
  padding: 0 clamp(1.25rem, 7vw, 8rem);
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}

.phase.pos-center {
  top: 50%;
  transform: translateY(-50%);
}

.phase.pos-lower {
  bottom: 16vh;
}

.phase-intro.pos-center {
  /* keep the intro high (near the Earth) but clear of the fixed header so
     the "ODRADEK Orbit" heading is never clipped */
  top: 30%;
}

.phase-limits .phase-inner {
  max-width: 44rem;
}

.phase-new-class .phase-inner {
  max-width: 42rem;
}

.phase-coherent .phase-inner {
  max-width: 48rem;
}

.phase.pos-discover {
  top: 22vh;
}

.phase-discover .phase-inner {
  max-width: 44rem;
}

.phase-inner {
  max-width: 48rem;
}

.phase.align-right .phase-inner {
  margin-left: auto;
  text-align: right;
}

.phase h2 {
  text-shadow: 0 2px 40px rgba(1,2,10,0.92);
}

.phase-lede {
  max-width: 38rem;
  font-size: clamp(1.12rem, 1.2vw, 1.24rem);
  line-height: 1.62;
  text-shadow: 0 1px 20px rgba(1,2,10,0.9);
}

.phase.align-right .phase-lede {
  margin-left: auto;
}

/* editorial limits list — accent keyword + description, hairline-separated,
   no bullet dots (cleaner, more "website" than a bulleted list) */
.limit-list {
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 0;
  max-width: 44rem;
}

.limit-list li {
  display: grid;
  grid-template-columns: minmax(6.5rem, 8rem) 1fr;
  gap: 0.3rem 1.5rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(147, 184, 255, 0.14);
}

.limit-list li:last-child {
  border-bottom: 1px solid rgba(147, 184, 255, 0.14);
}

.limit-key {
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--core);
  text-shadow: 0 0 18px rgba(79, 134, 255, 0.45);
}

.limit-desc {
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.5;
  text-shadow: 0 1px 16px rgba(1, 2, 10, 0.9);
}

@media (max-width: 740px) {
  .limit-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.adv-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem 3rem;
  max-width: 46rem;
}

.adv-value {
  display: block;
  font-size: 2.8rem;
  font-weight: 220;
  line-height: 1.12;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.adv-desc {
  display: block;
  margin-top: 0.8rem;
  color: var(--soft);
  max-width: 22ch;
}

.component-glow {
  position: absolute;
  z-index: 6;
  width: 22vmin;
  height: 22vmin;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  background: radial-gradient(circle, rgba(147,184,255,0.52) 0%, rgba(79,134,255,0.42) 22%, rgba(123,63,228,0.34) 48%, rgba(196,77,255,0) 78%);
  filter: blur(7px);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 450ms var(--ease), transform 450ms var(--ease);
}

.component-glow.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hotspot-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms var(--ease);
}

.hotspot-layer.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hotspot-layer.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

.hotspot {
  position: absolute;
  width: 19px;
  height: 19px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.hotspot-dot {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
  border: 1.5px solid var(--core);
  border-radius: 50%;
  background: rgba(79,134,255,0.28);
}

.hotspot-dot::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(147,184,255,0.55);
  border-radius: 50%;
  animation: pulse 2.2s var(--ease) infinite;
}

@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}

@keyframes flowDash {
  to { stroke-dashoffset: -88; }
}

@keyframes flowDashReverse {
  to { stroke-dashoffset: 76; }
}

@keyframes flowPulse {
  0%, 100% { opacity: 0.38; transform: scale(0.92); transform-box: fill-box; transform-origin: center; }
  48% { opacity: 0.9; transform: scale(1.16); transform-box: fill-box; transform-origin: center; }
}

.hotspot-label {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 720;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(1,2,10,0.95), 0 0 16px rgba(1,2,10,0.8);
}

.hotspot:hover .hotspot-label,
.hotspot.is-selected .hotspot-label {
  color: var(--core);
}

.hotspot.is-selected .hotspot-dot {
  background: var(--core);
  box-shadow: 0 0 22px rgba(79, 134, 255, 0.36);
}

.component-info {
  position: absolute;
  top: 7rem;
  left: clamp(1.25rem, 7vw, 8rem);
  z-index: 30;
  max-width: 32rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}

.component-info.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.component-info .ci-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 230;
  line-height: 1.04;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(1,2,10,0.92);
}

.component-info .ci-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.78rem;
  margin-top: 1.25rem;
}

.component-info .ci-highlight {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  width: min(100%, 24rem);
  min-width: 0;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(147,184,255,0.18);
  text-shadow: 0 1px 18px rgba(1,2,10,0.9);
}

.component-info .ci-highlight b {
  flex: none;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 300;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.component-info .ci-highlight span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.component-info .ci-close {
  margin-top: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  text-transform: uppercase;
}

.component-info .ci-close:hover {
  color: var(--text);
}

.component-info .ci-close::before {
  content: "x";
  font-size: 1rem;
}

.capability-shell {
  width: 100%;
  margin: 0;
  padding-left: clamp(1.2rem, 6vw, 5rem);
  padding-right: clamp(1.2rem, 6vw, 5rem);
  overflow: visible;
  border-color: transparent;
}

.capability-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 0 1.4rem;
  border-bottom: 1px solid rgba(147,184,255,0.08);
}

.capability-tab {
  min-height: 2.5rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
  text-transform: uppercase;
}

.capability-tab:hover,
.capability-tab.is-active {
  border-color: var(--line-mid);
  background: rgba(79,134,255,0.1);
  color: var(--text);
}

.capability-panel {
  position: relative;
  display: none;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.2rem;
  min-height: 35rem;
  padding: 0.9rem 0 0;
  align-items: start;
}

.capability-panel.is-active {
  display: grid;
}

.panel-copy {
  position: relative;
  z-index: 3;
  padding: 1rem 0 2rem;
}

.panel-copy h3 {
  font-size: 2rem;
  font-weight: 290;
  text-transform: uppercase;
}

.capability-options,
.mini-grid {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.capability-option,
.mini-grid div {
  width: 100%;
  text-align: left;
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 1px solid rgba(147,184,255,0.22);
  background: transparent;
  color: inherit;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.capability-option {
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}

.capability-option:hover,
.capability-option:focus-visible,
.capability-option.is-active {
  border-left-color: rgba(147,184,255,0.78);
  background: linear-gradient(90deg, rgba(79,134,255,0.12), transparent 72%);
}

.capability-option.is-active {
  transform: translateX(4px);
}

.capability-option strong,
.capability-option span,
.mini-grid strong,
.mini-grid span {
  display: block;
}

.capability-option span,
.mini-grid span {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.panel-visual {
  position: absolute;
  inset: 0 0 0 31%;
  z-index: 1;
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.panel-visual::before,
.panel-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.panel-visual::before {
  background:
    linear-gradient(90deg, rgba(1,1,8,0.96) 0%, rgba(1,1,8,0.7) 24%, rgba(1,1,8,0.16) 58%, rgba(1,1,8,0.04) 100%),
    linear-gradient(180deg, rgba(1,1,8,0.68) 0%, transparent 18%, transparent 72%, rgba(1,1,8,0.84) 100%);
}

.panel-visual::after {
  background: radial-gradient(ellipse at 62% 54%, transparent 0%, transparent 54%, rgba(1,1,8,0.86) 100%);
}

.panel-visual > img {
  width: 100%;
  height: 100%;
  min-height: 35rem;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  filter: saturate(1.03) contrast(1.04);
  mask-image:
    linear-gradient(90deg, transparent 0%, black 18%, black 86%, transparent 100%),
    linear-gradient(180deg, transparent 0%, black 12%, black 68%, transparent 100%);
  mask-composite: intersect;
  transition: transform 700ms var(--ease), opacity 700ms var(--ease);
}

.capability-panel.is-active .panel-visual > img {
  transform: scale(1.025);
}

.usecase-row {
  position: absolute;
  left: 40%;
  right: 0;
  bottom: 1.2rem;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.usecase-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(1,1,8,0.58);
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 650;
  backdrop-filter: blur(12px);
}

.usecase-row img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.flow-continuum {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  contain: paint;
  margin: 0 calc(50% - 50vw);
  padding: 0 clamp(1.2rem, 6vw, 5rem);
  /* No own atmosphere — the parent .tail-continuum provides one continuous
     glow for the whole lower page, so there is no tonal onset at section
     boundaries (same seamless feel as operational-modes -> capabilities). */
  background: transparent;
  --flow-progress: 0;
}

.flow-continuum > .section {
  position: relative;
  z-index: 2;
  padding-left: 0;
  padding-right: 0;
}

.flow-field {
  position: absolute;
  inset: -10rem 0 -12rem;
  z-index: 0;
  width: 100%;
  height: calc(100% + 22rem);
  overflow: hidden;
  pointer-events: none;
  opacity: 0.95;
  /* dissolve the flow lines toward every edge so nothing hard-cuts at the
     viewport margins — the field feels embedded rather than clipped */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}

.flow-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* whisper-faint trajectory the tethered pair travels along (minimal) */
.flow-path-primary {
  stroke: url(#flowStrokePrimary);
  stroke-width: 1;
  stroke-dasharray: 2 13;
  opacity: 0.4;
}

/* the tether cable: a light luminous line joining the two endpoints (the
   product's defining element — the deployable tether) */
.tether-cable {
  stroke: url(#tetherGrad);
  stroke-width: 0.9;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  opacity: 0.72;
  filter: drop-shadow(0 0 3px rgba(143, 182, 255, 0.35));
}

/* the two endpoints — glowing points in distinct colours, matching the
   orbital satellites (lead = blue, trail = violet), slightly larger */
.tether-sat-lead {
  fill: #eef4ff;
  filter: drop-shadow(0 0 5px rgba(143, 182, 255, 0.9)) drop-shadow(0 0 13px rgba(79, 134, 255, 0.45));
}

.tether-sat-trail {
  fill: #f4ecff;
  filter: drop-shadow(0 0 5px rgba(177, 92, 255, 0.85)) drop-shadow(0 0 13px rgba(123, 63, 228, 0.45));
}

.tail-continuum {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  contain: paint;
  /* Extend the painted area ~12rem up into the capabilities section (margin
     and padding cancel out, so no layout shift). The top stays transparent,
     so the capabilities -> why boundary has no tonal onset; the glows live
     lower and are mirrored left/right so neither margin shows an edge. */
  margin: -12rem calc(50% - 50vw) 0;
  padding-top: 12rem;
  background:
    radial-gradient(ellipse 64% 36% at 24% 20%, rgba(79,134,255,0.05), transparent 58%),
    radial-gradient(ellipse 64% 36% at 76% 20%, rgba(123,63,228,0.045), transparent 58%),
    radial-gradient(ellipse 86% 42% at 50% 54%, rgba(79,134,255,0.038), transparent 62%),
    linear-gradient(180deg, rgba(1,1,8,0) 0%, rgba(1,1,8,0) 72%, rgba(1,1,8,0.5) 89%, var(--bg) 100%);
  --tail-flow-progress: 0;
}

.tail-continuum > .flow-continuum,
.tail-continuum > .contact {
  position: relative;
  z-index: 2;
}

.tail-flow-field {
  position: absolute;
  inset: -8rem 0 -10rem;
  z-index: 1;
  width: 100%;
  height: calc(100% + 18rem);
  overflow: hidden;
  pointer-events: none;
  opacity: 0.92;
  transform: translate3d(0, calc(var(--tail-flow-progress) * -3.2rem), 0);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}

.tail-flow-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.tail-flow-primary {
  stroke: url(#tailFlowPrimary);
  stroke-width: 1.5;
  stroke-dasharray: 46 24;
  animation: flowDash 30s linear infinite;
}

.tail-flow-secondary {
  stroke: url(#tailFlowSecondary);
  stroke-width: 1.1;
  stroke-dasharray: 26 26;
  opacity: 0.82;
  animation: flowDashReverse 36s linear infinite;
}

.tail-flow-tertiary {
  stroke: rgba(147,184,255,0.16);
  stroke-width: 0.9;
  stroke-dasharray: 2 18;
  opacity: 0.74;
}

.tail-flow-nodes circle {
  fill: rgba(147,184,255,0.66);
  stroke: rgba(143,182,255,0.3);
  stroke-width: 1;
  animation: flowPulse 6s var(--ease) infinite;
}

.tail-flow-nodes circle:nth-child(2) {
  animation-delay: 1.4s;
}

.tail-flow-nodes circle:nth-child(3) {
  animation-delay: 2.8s;
}

.tail-flow-tracer {
  filter: drop-shadow(0 0 14px rgba(143,182,255,0.55)) drop-shadow(0 0 26px rgba(123,63,228,0.22));
  transition: transform 80ms linear;
}

.tail-flow-tracer-halo {
  fill: rgba(79,134,255,0.07);
  stroke: rgba(147,184,255,0.38);
  stroke-width: 1;
}

.tail-flow-tracer-core {
  fill: rgba(238,241,255,0.94);
  stroke: rgba(143,182,255,0.5);
  stroke-width: 1.2;
}

.tail-flow-tracer-mark {
  fill: none;
  stroke: rgba(147,184,255,0.58);
  stroke-width: 1;
  stroke-linecap: round;
}

/* ── Orbital points (LEO) ─────────────────────────────────────────────
   Round glowing dots tracing tilted elliptical orbits — a non-distorted
   layer (the flow-field SVG uses preserveAspectRatio:none and would warp
   dots into streaks). Minimal, brand palette, continuous down the page. */
.orbit-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.orbit-system {
  position: absolute;
  width: 0;
  height: 0;
}

/* The orbital plane rotates with scroll progress (var set by the scroll JS),
   so the system reacts to the user while the dots keep orbiting on their own. */
.orbit-system-a {
  top: 18%;
  left: 62%;
  transform: rotate(calc(-20deg + var(--tail-flow-progress, 0) * 120deg)) scaleY(0.5);
}

.orbit-system-b {
  top: 64%;
  left: 19%;
  transform: rotate(calc(14deg + var(--tail-flow-progress, 0) * -90deg)) scaleY(0.46);
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(147, 184, 255, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(79, 134, 255, 0.05);
}

/* concentric inner ring for a richer "orbital system" read */
.orbit-ring::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(147, 184, 255, 0.07);
  border-radius: 50%;
}

.orbit-system-a .orbit-ring {
  width: 70vmin;
  height: 70vmin;
  margin: -35vmin 0 0 -35vmin;
  /* feature orbit behind "Why Our Solution": a touch more present */
  border-color: rgba(147, 184, 255, 0.22);
  background: radial-gradient(circle, rgba(79, 134, 255, 0.05) 0%, transparent 64%);
}

.orbit-system-b .orbit-ring {
  width: 60vmin;
  height: 60vmin;
  margin: -30vmin 0 0 -30vmin;
  border-color: rgba(177, 92, 255, 0.12);
}

.orbit-sat {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  margin: -2.5px;
  border-radius: 50%;
  background: radial-gradient(circle, #f2f5ff 0%, #93b8ff 56%, transparent 76%);
  box-shadow: 0 0 9px 1px rgba(143, 182, 255, 0.7), 0 0 20px 3px rgba(79, 134, 255, 0.3);
}

.orbit-system-a .s1 { animation: orbitA 24s linear infinite; }
.orbit-system-a .s2 { animation: orbitA 24s linear infinite; animation-delay: -13s; }
.orbit-system-b .s1 { animation: orbitB 31s linear infinite; }
.orbit-system-b .s2 {
  animation: orbitB 31s linear infinite;
  animation-delay: -18s;
  background: radial-gradient(circle, #f4f0ff 0%, #b15cff 56%, transparent 76%);
  box-shadow: 0 0 9px 1px rgba(177, 92, 255, 0.62), 0 0 20px 3px rgba(123, 63, 228, 0.3);
}

@keyframes orbitA {
  from { transform: rotate(0deg) translateX(35vmin) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(35vmin) rotate(-360deg); }
}

@keyframes orbitB {
  from { transform: rotate(0deg) translateX(30vmin) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(30vmin) rotate(-360deg); }
}

/* Two more orbital systems so the whole lower page shares one coherent
   motif (replacing the old stretched flow-line SVGs). */
.orbit-system-c {
  top: 41%;
  left: 80%;
  transform: rotate(calc(22deg + var(--tail-flow-progress, 0) * 80deg)) scaleY(0.44);
}

.orbit-system-d {
  top: 87%;
  left: 44%;
  transform: rotate(calc(-12deg + var(--tail-flow-progress, 0) * 70deg)) scaleY(0.42);
}

.orbit-system-c .orbit-ring {
  width: 50vmin;
  height: 50vmin;
  margin: -25vmin 0 0 -25vmin;
}

.orbit-system-d .orbit-ring {
  width: 56vmin;
  height: 56vmin;
  margin: -28vmin 0 0 -28vmin;
  border-color: rgba(177, 92, 255, 0.11);
}

.orbit-system-c .s1 { animation: orbitC 27s linear infinite; }
.orbit-system-c .s2 { animation: orbitC 27s linear infinite; animation-delay: -15s; }
.orbit-system-d .s1 { animation: orbitD 33s linear infinite; }
.orbit-system-d .s2 {
  animation: orbitD 33s linear infinite;
  animation-delay: -19s;
  background: radial-gradient(circle, #f4f0ff 0%, #b15cff 56%, transparent 76%);
  box-shadow: 0 0 9px 1px rgba(177, 92, 255, 0.62), 0 0 20px 3px rgba(123, 63, 228, 0.3);
}

@keyframes orbitC {
  from { transform: rotate(0deg) translateX(25vmin) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(25vmin) rotate(-360deg); }
}

@keyframes orbitD {
  from { transform: rotate(0deg) translateX(28vmin) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(28vmin) rotate(-360deg); }
}

/* The old tail-flow line SVG stays retired (preserveAspectRatio:none warped
   it ~3x and looked grainy). The .flow-field is rebuilt crisp (uniform-scale
   slice + CSS glow) and re-enabled as the flowing-lines backdrop behind the
   lower sections. */
.tail-flow-field {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .orbit-sat,
  .trust-group::after,
  .team-orbit-dot { animation: none !important; }
}

.why {
  overflow: hidden;
  padding-bottom: 4rem;
}

.why::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9rem;
  z-index: 0;
  height: 18rem;
  pointer-events: none;
  /* faint violet glow only — the dark linear band was creating a visible
     rectangular seam behind the last "why" card */
  background:
    radial-gradient(ellipse 70% 100% at 72% 40%, rgba(123,63,228,0.05), transparent 58%);
  mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 78%, transparent 100%);
}

.why-layout {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.76fr);
  gap: 2rem;
  align-items: start;
}

.why-layout .section-heading {
  margin: 0;
}

.why-stack {
  display: grid;
  gap: 0.9rem;
}

.why-stack article {
  padding: 1.2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.why-stack article:hover,
.project-card:hover {
  border-color: transparent;
  box-shadow: none;
}

.why-stack span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  color: var(--core);
  font-size: 0.72rem;
  font-weight: 780;
}

.projects {
  margin-top: -5rem;
  padding-top: 4.5rem;
  overflow: hidden;
}

.projects::before {
  display: none;
}

.projects::after {
  display: none;
}

.project-card {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(24rem, 1.04fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding-top: 1rem;
  padding-bottom: 1rem;
  align-items: center;
}

.project-copy {
  padding: 0;
}

.project-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  line-height: 0.9;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-identity {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, 0.74fr) minmax(18rem, 1fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center;
  min-height: 28rem;
  overflow: visible;
  background: transparent;
}

.project-identity::before,
.project-identity::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.project-identity::before {
  display: none;
}

.project-identity::after {
  display: none;
}

.project-badge,
.project-logos a {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.project-badge img {
  width: min(100%, 25rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(147,184,255,0.22));
  transition: transform var(--t-mid) var(--ease), filter var(--t-mid) var(--ease);
}

.project-badge:hover img,
.project-badge:focus-visible img {
  transform: scale(1.025);
  filter: drop-shadow(0 0 38px rgba(147,184,255,0.32));
}

.project-logos {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(9rem, 1fr));
  gap: 1.1rem 1.6rem;
  align-items: center;
}

.project-logos a {
  min-height: 5.6rem;
  padding: 0.7rem 0;
  border: 0;
  opacity: 0.82;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.project-logos a:hover,
.project-logos a:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(147,184,255,0.28);
}

.project-logos img {
  max-width: min(100%, 13rem);
  max-height: 4.1rem;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(147,184,255,0.12));
}

.team-grid {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(12rem, 17.5rem));
  justify-content: center;
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
}

.team-card {
  position: relative;
  /* overflow visible so the orbiting dot can ride the card's edge */
  overflow: visible;
  min-height: 100%;
  padding: 0.45rem 0.45rem 0;
}

.team-photo {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
}

.team-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  object-position: center top;
  display: block;
  background:
    radial-gradient(ellipse at 50% 72%, rgba(79,134,255,0.18), transparent 58%),
    rgba(255,255,255,0.025);
  /* per-card framing zoom (default none); keeps the hover zoom consistent */
  transform: scale(var(--photo-scale, 1));
  transform-origin: center top;
  /* blue-leaning duotone at rest, blooms to full colour on hover */
  filter: grayscale(0.82) contrast(1.04) brightness(1.02);
  transition: filter 0.5s var(--ease), transform 0.6s var(--ease);
}

/* Riccardo's source photo is framed wider than the others — zoom in a touch
   so the crop matches the head-and-shoulders framing of the rest */
.team-card:nth-child(3) {
  --photo-scale: 1.13;
}

.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(158deg, rgba(79,134,255,0.34), rgba(123,63,228,0.2) 58%, transparent);
  mix-blend-mode: color;
  opacity: 0.72;
  transition: opacity 0.5s var(--ease);
}

.team-card:hover .team-photo img {
  filter: grayscale(0) contrast(1.02) brightness(1.02);
  transform: scale(calc(var(--photo-scale, 1) * 1.045));
}

.team-card:hover .team-photo::after {
  opacity: 0;
}

.team-meta {
  padding: 0.9rem 0.6rem 1rem;
}

.team-meta h3 {
  margin-bottom: 0;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.team-card .team-role {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--core);
}

/* the orbiting satellite dot — rides the card border on hover */
.team-orbit-dot {
  position: absolute;
  z-index: 5;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #f2f5ff 0%, #93b8ff 56%, transparent 80%);
  box-shadow: 0 0 8px 1px rgba(143, 182, 255, 0.85), 0 0 18px 3px rgba(79, 134, 255, 0.4);
  offset-path: border-box;
  offset-distance: 0%;
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
}

.team-card:hover .team-orbit-dot {
  opacity: 1;
  animation: teamOrbit 10s linear infinite;
}

@keyframes teamOrbit {
  to { offset-distance: 100%; }
}

.team {
  overflow: hidden;
  padding-bottom: 3.4rem;
}

.team::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6rem;
  z-index: -1;
  height: 24rem;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(1,1,8,0) 0%, rgba(79,134,255,0.022) 45%, rgba(196,77,255,0.025) 72%, rgba(1,1,8,0) 100%),
    radial-gradient(ellipse at 50% 62%, rgba(147,184,255,0.052), transparent 58%);
  opacity: 0.72;
}

.team-link {
  display: inline-flex;
  margin-top: 0.7rem;
  color: var(--core);
  font-size: 0.76rem;
  font-weight: 740;
  text-transform: uppercase;
  opacity: 0.78;
  transition: opacity var(--t-fast) var(--ease);
}

.team-link:hover {
  opacity: 1;
}

.trust-band {
  position: relative;
  width: 100%;
  margin: clamp(3.1rem, 5vw, 4.8rem) 0 0;
  padding-top: clamp(1rem, 2vw, 1.8rem);
  scroll-margin-top: 6rem;
  display: grid;
  gap: 2rem;
  overflow: visible;
}

.trust-band::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -4.5rem;
  z-index: -1;
  width: 120vw;
  height: calc(100% + 8rem);
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(1,1,8,0) 0%, rgba(79,134,255,0.016) 24%, rgba(123,63,228,0.02) 58%, rgba(1,1,8,0) 100%),
    radial-gradient(ellipse 50% 50% at 22% 32%, rgba(79,134,255,0.04), transparent 50%),
    radial-gradient(ellipse 50% 50% at 78% 32%, rgba(123,63,228,0.04), transparent 50%);
  transform: translateX(-50%);
  mask-image: linear-gradient(180deg, transparent 0%, black 16%, black 82%, transparent 100%);
}

.trust-heading {
  width: min(100%, 42rem);
}

.trust-heading h3 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 280;
  text-transform: uppercase;
}

.trust-groups {
  display: grid;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(10rem, 0.62fr) minmax(10rem, 0.55fr) minmax(24rem, 1.7fr);
  gap: clamp(1rem, 2.8vw, 2.6rem);
  align-items: stretch;
  min-height: 0;
}

.trust-group {
  position: relative;
  /* no inner fill/padding — logos sit directly on the page background */
  padding: 0;
  border-left: 0;
  /* title row + a flexible row that vertically centres the logos, so columns
     with few logos (e.g. Funded Projects) stay balanced, not top-heavy */
  display: grid;
  grid-template-rows: auto 1fr;
}

/* Animated vertical separators between the four trust columns: a faint line
   with a luminous point that rises and falls (same glow language as the
   orbital satellites). Only in the single-row 4-column layout. */
.trust-group:not(:first-child)::before {
  content: "";
  position: absolute;
  left: calc(clamp(1rem, 2.8vw, 2.6rem) * -0.5);
  top: 50%;
  height: 66%;
  width: 1px;
  transform: translateY(-50%);
  pointer-events: none;
  /* short, centred, soft-ended — a delicate separator, not a full border */
  background: linear-gradient(180deg, transparent 0%, rgba(147,184,255,0.1) 24%, rgba(147,184,255,0.1) 76%, transparent 100%);
}

.trust-group:not(:first-child)::after {
  content: "";
  position: absolute;
  left: calc(clamp(1rem, 2.8vw, 2.6rem) * -0.5);
  top: 50%;
  margin: -2px 0 0 -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #f2f5ff 0%, #93b8ff 58%, transparent 80%);
  box-shadow: 0 0 6px 1px rgba(143,182,255,0.6), 0 0 12px 1px rgba(79,134,255,0.25);
  animation: dividerRise 7s ease-in-out infinite alternate;
}

.trust-group:nth-child(3)::after { animation-delay: -2.4s; }
.trust-group:nth-child(4)::after { animation-delay: -4.8s; }

@keyframes dividerRise {
  from { transform: translateY(-3.4rem); }
  to   { transform: translateY(3.4rem); }
}

.trust-group h4 {
  margin: 0 0 1.5rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 760;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0 20px rgba(79,134,255,0.45);
}

.trust-logos {
  display: grid;
  gap: 1.6rem;
  align-content: center;
  justify-items: center;
}

.trust-logos-compact {
  grid-template-columns: repeat(4, minmax(6.5rem, 1fr));
  gap: 1.1rem 1.3rem;
}

.trust-logos a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 4.6rem;
  object-fit: contain;
  border-radius: var(--radius);
  opacity: 0.72;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), filter var(--t-fast) var(--ease);
}

.trust-logos a::after {
  content: "";
  position: absolute;
  inset: -0.4rem;
  border: 1px solid rgba(147,184,255,0);
  border-radius: var(--radius);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.trust-logos a:hover,
.trust-logos a:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.trust-logos a:hover::after,
.trust-logos a:focus-visible::after {
  border-color: rgba(147,184,255,0.18);
  background: rgba(79,134,255,0.035);
  box-shadow: 0 0 30px rgba(79,134,255,0.12);
}

.trust-logos img {
  max-width: min(100%, 13.5rem);
  max-height: 5rem;
  object-fit: contain;
  filter: grayscale(1) brightness(1.35) contrast(0.9);
}

.trust-logos-compact img {
  max-width: min(100%, 10.5rem);
  max-height: 3.8rem;
}

.contact {
  overflow: hidden;
  padding-top: 4.5rem;
}

.contact::before {
  display: none;
}

.contact-layout {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 0.72fr);
  gap: 2rem;
  align-items: start;
}

.contact-layout .section-heading {
  margin: 0;
}

.contact-info,
.social-row {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.4rem;
  color: var(--soft);
}

.contact-info a,
.social-row a {
  color: var(--core);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
}

.social-row a {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  font-size: 0.78rem;
  font-weight: 740;
  text-transform: uppercase;
}

.contact-form {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 650;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.045);
  color: var(--text);
  padding: 0.9rem 0.95rem;
  outline: 0;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(79,134,255,0.12);
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  text-transform: none !important;
  font-weight: 500 !important;
}

.check-row input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: var(--cyan);
}

.form-status {
  min-height: 1.2rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.form-status.is-ok  { color: var(--success); }
.form-status.is-err { color: #ff6b6b; }

.site-footer {
  padding: 2rem clamp(1.2rem, 6vw, 5rem) 3rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto minmax(0, 58rem);
  gap: 1.5rem;
  align-items: center;
  background: rgba(1, 1, 8, 0.88);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer img {
  width: 10rem;
  margin-bottom: 0.6rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.funding-note {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.7rem 0.9rem;
  min-width: 0;
  max-width: 100%;
  text-align: right;
}

.funding-note > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.funding-logos {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  min-width: 0;
  max-width: 100%;
}

.funding-logos img {
  width: auto;
  height: 1.95rem;
  max-width: 100%;
  margin: 0;
  object-fit: contain;
  border-radius: 3px;
  background: transparent;
}

.funding-logos img:first-child {
  flex: 0 0 auto;
  height: 2.05rem;
}

.funding-logos img:last-child {
  width: clamp(12rem, 18vw, 18rem);
  height: auto;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a:hover {
  color: var(--text);
}

.section-observe {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

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

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
  }

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

  body.is-menu-open .site-nav {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.2rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(1,1,8,0.94);
    backdrop-filter: blur(18px);
  }

  .mission-console {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 42rem);
    margin-top: 2rem;
  }

  .hero {
    align-items: center;
  }

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

  .modes-panel,
  .why-layout,
  .project-card,
  .trust-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .modes-panel {
    grid-template-areas:
      "copy"
      "scene"
      "intro";
  }

  .modes-intro {
    justify-self: start;
    padding-top: 0;
    text-align: left;
    transform: none;
  }

  .modes-intro h2 {
    width: auto;
    max-width: 34rem;
    margin-left: 0;
  }

  .modes-intro h2 span {
    white-space: normal;
  }

  .capability-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .panel-visual {
    position: relative;
    inset: auto;
    min-height: 26rem;
    margin-top: 1rem;
  }

  .panel-visual::before {
    background:
      linear-gradient(180deg, rgba(1,1,8,0.3) 0%, transparent 35%, rgba(1,1,8,0.82) 100%),
      linear-gradient(90deg, rgba(1,1,8,0.82) 0%, transparent 30%, transparent 70%, rgba(1,1,8,0.82) 100%);
  }

  .panel-visual > img {
    min-height: 26rem;
  }

  .usecase-row {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    justify-content: flex-start;
    margin-top: -4.2rem;
    padding: 0 1rem 1rem;
  }

  .project-identity {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-badge img {
    width: min(100%, 22rem);
  }

  .trust-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.4rem;
  }

  .trust-group:nth-child(odd) {
    border-left-color: transparent;
  }

  /* vertical separators only make sense in the single-row 4-column layout */
  .trust-group::before,
  .trust-group::after {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .funding-note {
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 740px) {
  h1,
  .phase h2 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .panel-copy h3,
  .component-info .ci-title {
    font-size: 1.75rem;
  }

  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .technology {
    padding-top: 0;
  }

  .hero {
    min-height: 92svh;
    padding-top: 7.5rem;
  }

  .brand {
    width: 9.5rem;
    min-width: 0;
  }

  .hero-content h1 {
    width: auto;
    white-space: normal;
    font-size: clamp(2.25rem, 10vw, 2.7rem);
    line-height: 1.08;
  }

  .tech-grid,
  .team-grid,
  .adv-grid {
    grid-template-columns: 1fr;
  }

  .modes-panel {
    margin: clamp(-10rem, -18vh, -6rem) calc(50% - 50vw) 0;
    gap: 1rem;
    --baseline-w: 29%;
  }

  .modes-panel[data-mode="cross"] {
    --baseline-w: 30%;
  }

  .modes-panel[data-mode="radial"] {
    --baseline-w: 23%;
  }

  .modes-copy {
    order: -1;
  }

  .modes-intro {
    margin-bottom: 0;
  }

  .modes-copy h3 {
    font-size: 2rem;
  }

  .mode-orbital-scene {
    min-height: 22rem;
    perspective: 760px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 52%, rgba(0,0,0,0.82) 72%, transparent 96%);
  }

  .mode-tabs {
    width: 100%;
  }

  .capability-panel {
    padding: 0.75rem 0 0;
  }

  .panel-visual,
  .panel-visual > img {
    min-height: 21rem;
  }

  .scrollytelling {
    height: 520vh;
  }

  .phase {
    padding: 0 1.25rem;
  }

  .phase.align-right .phase-inner {
    margin-left: 0;
    text-align: left;
  }

  .phase.align-right .phase-lede {
    margin-left: 0;
  }

  .component-info {
    top: 5rem;
    left: 1.25rem;
    right: 1.25rem;
    max-width: none;
  }

  .component-info .ci-metrics {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .component-info .ci-highlight {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
  }

  .hotspot-label {
    font-size: 0.72rem;
  }

  .team-card {
    width: min(100%, 19rem);
    justify-self: center;
  }

  .project-copy h2 {
    font-size: 2.5rem;
  }

  .project-logos {
    grid-template-columns: 1fr;
  }

  .trust-groups {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .trust-group,
  .trust-group:nth-child(odd) {
    padding: 0;
    border-left: 0;
    border-top: 0;
  }

  .trust-group:first-child {
    border-top: 0;
  }

  .trust-group h4 {
    margin-top: 1.4rem;
  }

  .trust-logos-compact {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.4rem;
  }

  .funding-logos {
    width: 100%;
  }

  .funding-logos img {
    height: 1.7rem;
  }

  .funding-logos img:first-child {
    height: 1.85rem;
  }

  .funding-logos img:last-child {
    width: min(100%, 18rem);
    max-width: calc(100vw - 8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .section-observe {
    opacity: 1;
    transform: none;
  }

  .ambient-glow {
    display: none;
  }
}
