/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink: #D86ECC;
  --blue: #0070C0;
  --mid: #8B6FBF;
  --bg: #07070f;
  --bg2: #0d0d1a;
  --bg3: #111127;
  --text: #e8e8f0;
  --muted: #9090a8;
  --card: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== GRADIENT UTILITIES ===== */
.grad-text {
  background: linear-gradient(90deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-bar {
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
}

.grad-border {
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}

/* ===== STARS BACKGROUND ===== */
.stars-bg {
  position: relative;
  overflow: hidden;
}
.stars-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 8%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 55%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 70%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 92% 35%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 5% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 90%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 75%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 85%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 20% 60%, rgba(216,110,204,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 80% 45%, rgba(0,112,192,0.3) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.stars-bg > * { position: relative; z-index: 1; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4%;
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

body > nav.nav-scrolled {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  background: rgba(7,7,15,0.95);
  box-shadow: 0 10px 35px rgba(0,0,0,0.28);
}

.nav-logo img {
  height: 58px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

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

/* One colourful ribbon around the complete main navigation */
body > nav > .nav-links {
  gap: 0.5rem;
  padding: 0.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(rgba(13,13,26,0.94), rgba(13,13,26,0.94)) padding-box,
    linear-gradient(90deg, var(--pink), #916ce0, var(--blue), #26b7b4) border-box;
  box-shadow: 0 8px 28px rgba(0,0,0,0.28), 0 0 24px rgba(139,111,191,0.12);
}

body > nav > .nav-links > li {
  --nav-accent: 216, 110, 204;
}

body > nav > .nav-links > li:nth-child(2) { --nav-accent: 145, 108, 224; }
body > nav > .nav-links > li:nth-child(3) { --nav-accent: 56, 142, 224; }
body > nav > .nav-links > li:nth-child(4) { --nav-accent: 38, 183, 180; }
body > nav > .nav-links > li:nth-child(5) { --nav-accent: 216, 110, 204; }

body > nav > .nav-links > li > a,
body > nav > .nav-links > li > details > summary {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  background: transparent;
  transition: color 0.2s, background 0.2s, text-shadow 0.2s, transform 0.2s;
}

body > nav > .nav-links > li > a:hover,
body > nav > .nav-links > li > a.active,
body > nav > .nav-links > li:hover > details > summary,
body > nav > .nav-links > li > details[open] > summary {
  color: #fff;
  background: rgba(var(--nav-accent), 0.16);
  text-shadow: 0 0 12px rgba(var(--nav-accent), 0.55);
  transform: translateY(-1px);
}

body > nav > .nav-links > li > a.active {
  background: linear-gradient(135deg, rgba(var(--nav-accent), 0.25), rgba(0,112,192,0.1));
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown details {
  position: relative;
}

.nav-dropdown summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.nav-dropdown summary::-webkit-details-marker { display: none; }

.nav-dropdown summary::after {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
}

.nav-dropdown:hover summary,
.nav-dropdown details[open] summary {
  color: #fff;
  text-shadow: 0 0 16px rgba(216,110,204,0.45);
}

.nav-dropdown details[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 50%;
  min-width: 210px;
  padding: 0.45rem;
  list-style: none;
  background:
    linear-gradient(135deg, rgba(216,110,204,0.13), rgba(0,112,192,0.14)),
    rgba(13, 13, 26, 0.98);
  border: 1px solid rgba(166,123,211,0.38);
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.4), 0 0 22px rgba(0,112,192,0.1);
  transform: translateX(-50%);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 0.8rem;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 5px;
  white-space: nowrap;
  color: #e8d9f1;
  border-left: 2px solid transparent;
}

.nav-dropdown-menu a:hover {
  color: #fff;
  background: linear-gradient(90deg, rgba(216,110,204,0.2), rgba(0,112,192,0.14));
  border-left-color: var(--pink);
}

@media (hover: hover) and (min-width: 769px) {
  .nav-dropdown details:not([open]) .nav-dropdown-menu { display: none; }
  .nav-dropdown:hover .nav-dropdown-menu { display: block !important; }
}

.nav-cta {
  padding: 0.5rem 1.4rem;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* ===== INTERACTION LAYER ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 250;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), #916ce0, var(--blue), #26b7b4);
  box-shadow: 0 0 10px rgba(139,111,191,0.55);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.back-to-top {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(139,111,191,0.42);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, rgba(216,110,204,0.9), rgba(0,112,192,0.9));
  box-shadow: 0 10px 30px rgba(0,0,0,0.32);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s, box-shadow 0.22s;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  box-shadow: 0 12px 34px rgba(139,111,191,0.4);
  outline: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease var(--reveal-delay, 0ms),
    transform 0.6s cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms);
}

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

.interactive-card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease-out, border-color 0.25s;
}

.interactive-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(
    260px circle at var(--pointer-x) var(--pointer-y),
    rgba(139,111,191,0.15),
    transparent 68%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

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

.interactive-card:hover::before,
.interactive-card:focus-within::before { opacity: 1; }

.magnetic-button {
  will-change: transform;
  transition: transform 0.16s ease-out, opacity 0.2s, border-color 0.2s, box-shadow 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-item { opacity: 1; transform: none; }
}

/* ===== HERO ===== */
.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: 8rem 4% 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,112,192,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 20% 60%, rgba(216,110,204,0.10) 0%, transparent 60%),
    var(--bg);
}

.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    440px circle at var(--hero-x, 50%) var(--hero-y, 42%),
    rgba(111,95,204,0.11),
    transparent 70%
  );
  pointer-events: none;
}

.pillars-section {
  padding-top: 2.5rem;
}

.hero-inner {
  max-width: 780px;
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(100%, 520px);
  margin-inline: auto;
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out;
}

.orbit-console {
  position: relative;
  width: min(42vw, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(139,111,191,0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(98,77,174,0.13), transparent 56%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.025), transparent 72%);
  box-shadow: inset 0 0 80px rgba(68,119,221,0.06), 0 0 90px rgba(139,85,204,0.08);
  transform-style: preserve-3d;
}

.orbit-console::before,
.orbit-console::after {
  content: '';
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(139,111,191,0.18);
  border-radius: 50%;
  animation: console-spin 28s linear infinite;
}

.orbit-console::after {
  inset: 18%;
  border-style: solid;
  border-color: rgba(68,119,221,0.12);
  animation-direction: reverse;
  animation-duration: 20s;
}

.mission-emblem {
  position: absolute;
  inset: 4%;
  width: 92%;
  height: 92%;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,0.28));
  transform: translateZ(35px);
}

.orbit-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82%;
  height: 28%;
  border: 1px solid rgba(164,105,211,0.28);
  border-radius: 50%;
  transform-style: preserve-3d;
  pointer-events: none;
}

.orbit-halo-one {
  transform: translate(-50%,-50%) rotate(-18deg);
  animation: orbit-breathe 4.5s ease-in-out infinite;
}

.orbit-halo-two {
  width: 72%;
  height: 22%;
  border-color: rgba(68,119,221,0.3);
  transform: translate(-50%,-50%) rotate(28deg);
  animation: orbit-breathe 5.5s ease-in-out -1.4s infinite;
}

.orbit-halo-three {
  width: 55%;
  height: 16%;
  border-style: dashed;
  transform: translate(-50%,-50%) rotate(78deg);
  animation: orbit-breathe 6s ease-in-out -2.2s infinite;
}

.signal-ping {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CC55CC;
  box-shadow: 0 0 0 0 rgba(204,85,204,0.5);
  animation: signal-pulse 2.4s ease-out infinite;
}

.signal-ping-one { left: 23%; bottom: 23%; }
.signal-ping-two {
  top: 20%;
  right: 19%;
  background: #4477DD;
  animation-delay: -1.2s;
}

.orbit-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.72rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(238,236,248,0.86);
  background: rgba(11,10,25,0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transform: translateZ(58px);
  animation: chip-float 4s ease-in-out infinite;
}

.orbit-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7f72db;
  box-shadow: 0 0 10px currentColor;
}

.chip-satellite { top: 13%; left: -2%; }
.chip-methane { right: -2%; bottom: 25%; animation-delay: -1.3s; }
.chip-methane i { background: #CC55CC; }
.chip-analysis { bottom: 8%; left: 10%; animation-delay: -2.5s; }
.chip-analysis i { background: #4477DD; }

.hero-stage-hint {
  margin-top: 0.8rem;
  color: rgba(144,144,168,0.72);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes console-spin { to { transform: rotate(360deg); } }
@keyframes orbit-breathe {
  0%, 100% { opacity: 0.35; filter: brightness(0.9); }
  50% { opacity: 0.85; filter: brightness(1.35); }
}
@keyframes signal-pulse {
  0% { box-shadow: 0 0 0 0 rgba(204,85,204,0.48); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(204,85,204,0); }
}
@keyframes chip-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.hero h1 span {
  display: block;
}

.hero-sub {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-pills {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.pill {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
}

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

.btn-primary {
  padding: 0.85rem 2rem;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-secondary {
  padding: 0.85rem 2rem;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.35); transform: translateY(-1px); }

/* ===== SECTIONS ===== */
section {
  padding: 5rem 4%;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  color: var(--muted);
  max-width: 620px;
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* ===== PILLARS GRID ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.pillar-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: border-color 0.25s, transform 0.25s;
}
.pillar-card:hover {
  border-color: rgba(216,110,204,0.35);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  color: #65b6e8;
}

.pillar-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ===== PROCESS STEPS ===== */
.steps-section { background: var(--bg2); }

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}

.step {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--card-border);
  position: relative;
  transition: background 0.35s, border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.step:last-child { border-right: none; }

.step::after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.step.is-current {
  background: linear-gradient(180deg, rgba(139,111,191,0.11), rgba(0,112,192,0.04));
  box-shadow: inset 0 0 35px rgba(139,111,191,0.05);
}

.step.is-current::after { transform: scaleX(1); }

.step-num {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.step-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #8bbce8;
  transition: transform 0.35s, box-shadow 0.35s, color 0.35s;
}

.step-dot svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step.is-current .step-dot {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 26px rgba(139,111,191,0.3);
}
.step:nth-child(1) .step-dot { background: rgba(216,110,204,0.15); }
.step:nth-child(2) .step-dot { background: rgba(139,111,191,0.15); }
.step:nth-child(3) .step-dot { background: rgba(0,112,192,0.15); }
.step:nth-child(4) .step-dot { background: rgba(0,170,120,0.15); }

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.87rem;
  color: var(--muted);
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
  background: var(--bg3);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.problem-stat {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.problem-stat-label {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.problem-points { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
.problem-points li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
}
.problem-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
}
.problem-points li strong { color: var(--text); }

/* ===== OPERATORS SECTION ===== */
.operators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.operator-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.operator-icon { font-size: 1.5rem; }

/* ===== FEATURES TABLE ===== */
.features-section { background: var(--bg2); }

.features-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  font-size: 0.9rem;
}

.features-table th {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  border-bottom: 1px solid var(--card-border);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.features-table th:first-child { text-align: left; }
.features-table th.us { color: var(--text); }

.features-table td {
  padding: 0.9rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--muted);
}

.features-table td:first-child { text-align: left; color: var(--text); }
.features-table td.us {
  background: rgba(216,110,204,0.06);
  color: var(--text);
  font-weight: 600;
}

.check { color: #4ade80; }
.cross { color: #f87171; }
.partial { color: #fbbf24; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(216,110,204,0.12) 0%, rgba(0,112,192,0.12) 100%);
  text-align: center;
  border-top: 1px solid rgba(216,110,204,0.2);
  border-bottom: 1px solid rgba(0,112,192,0.2);
}

.cta-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg);
  border-top: 1px solid var(--card-border);
  padding: 2.5rem 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .footer-logo img { height: 32px; }

footer nav { position: static; background: transparent; backdrop-filter: none; border: none; padding: 0; }
footer .nav-links a { font-size: 0.82rem; }

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-link:hover {
  color: var(--text);
  border-color: rgba(216,110,204,0.35);
  transform: translateY(-2px);
}

.social-link svg { display: block; }

.footer-copy { font-size: 0.8rem; color: var(--muted); }

/* ===== TEAM PAGE ===== */
.page-hero {
  padding: 9rem 4% 4rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(216,110,204,0.1) 0%, transparent 60%),
    var(--bg);
  text-align: center;
}

.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 0.8rem; }
.page-hero p { color: var(--muted); max-width: 540px; margin: 0 auto; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-card:hover {
  border-color: rgba(216,110,204,0.3);
  transform: translateY(-4px);
}

.team-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1.2rem;
}

img.team-avatar {
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(255,255,255,0.1);
}

.team-avatar-frame {
  width: 140px;
  height: 140px;
  flex: 0 0 140px;
  margin: 0 auto 1.2rem;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
}

.team-avatar-frame img.team-avatar {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.subham-avatar {
  object-position: center 65% !important;
  transform: translate(7px, -24px) scale(1.5);
  transform-origin: center center;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(10, 102, 194, 0.15);
  border: 1px solid rgba(10, 102, 194, 0.35);
  color: #0A66C2;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  margin-top: auto;
  flex-shrink: 0;
}
.linkedin-link:hover {
  background: rgba(10, 102, 194, 0.3);
  border-color: rgba(10, 102, 194, 0.6);
  transform: translateY(-2px);
}
.linkedin-link svg { display: block; }

.team-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.team-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
}

.team-card a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.team-card a:hover { color: var(--text); }

/* ===== CAREERS PAGE ===== */
.careers-hero-label {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.careers-page-hero {
  padding-bottom: 2rem;
}

.careers-section {
  background: var(--bg);
  padding: 1.5rem 4% 6rem;
}

.careers-grid {
  max-width: 1000px;
  margin: 0 auto;
}

.careers-panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
}

.careers-panel h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.careers-panel p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.opportunities-panel {
  display: flex;
  flex-direction: column;
}

.opportunities-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.opportunity-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid rgba(139,111,191,0.25);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(216,110,204,0.07), rgba(0,112,192,0.06));
  transition: border-color 0.25s, transform 0.25s;
}

.opportunity-card:hover {
  border-color: rgba(216,110,204,0.48);
  transform: translateY(-3px);
}

.opportunity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.opportunity-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  background: rgba(139,111,191,0.12);
  border: 1px solid rgba(139,111,191,0.24);
  color: #cbb9e8;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: none;
}

.flag-icon {
  width: 21px;
  height: 14px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2);
}

.opportunity-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.opportunity-card p {
  margin-bottom: 1.25rem;
}

.opportunity-details {
  margin: 0 0 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.opportunity-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  color: #d8c8e9;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.opportunity-details summary::-webkit-details-marker { display: none; }

.opportunity-details summary::after {
  content: '+';
  color: #8aa9e6;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
}

.opportunity-details[open] summary::after { content: '\2212'; }

.opportunity-description {
  padding: 0.1rem 0 1rem;
}

.opportunity-description h3 {
  margin: 1rem 0 0.4rem;
  color: var(--text);
  font-size: 0.86rem;
}

.opportunity-description h3:first-child { margin-top: 0; }

.opportunity-description p,
.opportunity-description li {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.opportunity-description p { margin-bottom: 0.65rem; }

.opportunity-description ul {
  margin: 0 0 0.8rem 1.1rem;
}

.opportunity-description li { margin-bottom: 0.35rem; }

.opportunity-link {
  margin-top: auto;
  color: #e3b1df;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.opportunity-link:hover {
  color: #fff;
}

@media (max-width: 700px) {
  .opportunities-list { grid-template-columns: 1fr; }
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 960px;
  margin: 3rem auto 0;
  align-items: start;
}

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.contact-info h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.8rem; }
.contact-info p { color: var(--muted); margin-bottom: 2rem; font-size: 0.95rem; }

.contact-people { display: flex; flex-direction: column; gap: 1.2rem; }

.contact-person {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
}

.contact-person .name { font-weight: 600; margin-bottom: 0.15rem; }
.contact-person .role { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; }
.contact-person a {
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-person a:hover { opacity: 0.8; }

/* Contact form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
}

.contact-form h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pink);
}

.form-group select option { background: #1a1a2e; }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  padding: 0.9rem;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.88; }

/* ===== HAMBURGER BUTTON ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
nav.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-stage {
    width: min(100%, 440px);
    margin-top: 1rem;
  }

  .orbit-console { width: min(82vw, 420px); }
}

/* ===== MOBILE NAV + LAYOUT (≤768px) ===== */
@media (max-width: 768px) {
  /* Hamburger */
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }

  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(7, 7, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 6%;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: none;
  }
  body > nav > .nav-links {
    padding: 1.2rem 6%;
    border-width: 1px;
    border-radius: 0 0 18px 18px;
    background:
      linear-gradient(rgba(7,7,15,0.98), rgba(7,7,15,0.98)) padding-box,
      linear-gradient(90deg, var(--pink), #916ce0, var(--blue), #26b7b4) border-box;
  }
  nav.nav-open .nav-links { display: flex; }
  .nav-links a { font-size: 1rem; }
  .nav-dropdown summary { font-size: 1rem; }
  body > nav > .nav-links > li > a,
  body > nav > .nav-links > li > details > summary {
    width: 100%;
    justify-content: space-between;
    padding: 0.65rem 1rem;
  }
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 0.8rem;
    padding: 0.35rem 0 0.35rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 0;
    border-left: 1px solid rgba(255,255,255,0.12);
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  /* Sections */
  section { padding: 3.5rem 5%; }
  .hero { min-height: auto; padding: 7rem 5% 3rem; }
  .hero-stage { margin-top: 0; }
  .orbit-console { width: min(86vw, 360px); }
  .hero-stage-hint { display: none; }
  .orbit-chip { font-size: 0.62rem; padding: 0.42rem 0.58rem; }
  .chip-satellite { left: 0; }
  .chip-methane { right: 0; }
  .pillars-section { padding-top: 2rem; }

  /* Steps: single column */
  .steps-grid { grid-template-columns: 1fr; }
  .step {
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }
  .step:last-child { border-bottom: none; }

  /* Problem grid already 1-col at 768px via its own rule */

  /* Footer: stack */
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
  }
  footer nav { width: 100%; }
  footer .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    background: none;
    backdrop-filter: none;
    border: none;
    padding: 0;
  }
}

/* ===== SMALL PHONES (≤480px) ===== */
@media (max-width: 480px) {
  /* Nav logo slightly smaller to keep breathing room */
  .nav-logo img { height: 46px; }

  section { padding: 3rem 5%; }

  /* Hero */
  .hero { padding: 6rem 5% 3.5rem; }
  .hero-pills { gap: 0.5rem; }
  .pill { font-size: 0.72rem; padding: 0.35rem 0.75rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; width: 100%; }

  /* Grids: force single column */
  .pillars-grid { grid-template-columns: 1fr; }
  .operators-grid { grid-template-columns: 1fr 1fr; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }

  /* Page hero */
  .page-hero { padding: 7rem 5% 3rem; }
  .careers-page-hero { padding-bottom: 1.5rem; }
}

/* ===== 2026 CINEMATIC HOME EXPERIENCE ===== */
.home-page {
  --pink: #ff5fd1;
  --blue: #4f8cff;
  --cyan: #55e9e2;
  --acid: #a9ffdc;
  --bg: #05060a;
  --bg2: #090b12;
  --text: #f4f7fb;
  --muted: #8e98aa;
  background:
    radial-gradient(circle at 15% 5%, rgba(152, 71, 214, 0.08), transparent 24rem),
    #05060a;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page .problem-stat {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.space-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.75;
}

.home-page > section,
.home-page > footer,
.home-page > .signal-ticker {
  position: relative;
  z-index: 1;
}

.ambient-noise {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.home-page > nav {
  max-width: calc(100% - 32px);
  top: 16px;
  left: 16px;
  right: 16px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(7, 8, 13, 0.68);
}

.home-page > nav.nav-scrolled {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  background: rgba(7, 8, 13, 0.9);
}

.home-page > nav > .nav-links {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .nav-logo img { height: 46px; }
.home-page .nav-cta { border-radius: 8px; }

.home-page .hero {
  position: relative;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 0.8fr);
  gap: clamp(3rem, 7vw, 8rem);
  padding: 9.5rem max(5vw, calc((100vw - 1440px) / 2)) 7rem;
  background:
    linear-gradient(90deg, rgba(5,6,10,0.92) 0%, rgba(5,6,10,0.55) 48%, rgba(5,6,10,0.1) 100%),
    radial-gradient(circle at var(--hero-x, 72%) var(--hero-y, 42%), rgba(79,140,255,0.14), transparent 25rem);
  overflow: hidden;
}

.home-page .hero::before {
  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: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  opacity: 0.65;
}

.home-page .hero::after {
  inset: auto -10% -35% 30%;
  width: 75vw;
  height: 75vw;
  border: 1px solid rgba(85,233,226,0.08);
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 0 7vw rgba(85,233,226,0.018),
    0 0 0 14vw rgba(79,140,255,0.018);
  transform: none;
}

.mission-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2.25rem;
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(85,233,226,0.18);
  border-radius: 5px;
  background: rgba(85,233,226,0.04);
  color: #b8c7d9;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mission-status > span,
.console-live i,
.hero-stage-hint span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: live-pulse 1.8s ease-in-out infinite;
}

.mission-status b {
  margin-left: 0.7rem;
  color: #5e6878;
  font-weight: 500;
}

.home-page .hero-eyebrow {
  margin-bottom: 0.8rem;
  color: #8290a4;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-page .hero h1 {
  margin: 0 0 1.6rem;
  font-size: clamp(2.8rem, 4.3vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero-line {
  white-space: nowrap;
  opacity: 0;
  transform: translateY(55px);
  animation: line-arrive 0.9s cubic-bezier(.16,1,.3,1) forwards;
}

.hero-line:nth-child(2) { animation-delay: 0.11s; }
.hero-line:nth-child(3) { animation-delay: 0.22s; }

.hero-line-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,247,251,0.65);
}

.home-page .grad-text {
  background: linear-gradient(100deg, var(--pink) 5%, #9f7cff 46%, var(--cyan) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-page .hero-copy {
  max-width: 600px;
  margin-bottom: 1.8rem;
  color: #9ba6b7;
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  line-height: 1.75;
}

.home-page .hero-actions { margin-bottom: 2.5rem; }

.home-page .btn-primary,
.home-page .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-height: 52px;
  border-radius: 8px;
  font-size: 0.84rem;
}

.home-page .btn-primary {
  background: linear-gradient(110deg, #d65ace, #6d73e8 58%, #318cc6);
  box-shadow: 0 12px 36px rgba(156,80,210,0.22);
}

.home-page .btn-primary span,
.home-page .btn-secondary span { font-size: 1rem; }

.hero-proof {
  display: flex;
  gap: clamp(1.4rem, 3vw, 3rem);
  padding-top: 1.45rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-proof div { display: grid; gap: 0.15rem; }
.hero-proof strong { font-family: 'Space Grotesk'; font-size: 0.95rem; font-weight: 600; }
.hero-proof span { color: #687487; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }

.home-page .hero-stage { width: min(100%, 570px); }

.intel-console {
  position: relative;
  width: 100%;
  padding: 0.7rem;
  border: 1px solid rgba(118,150,195,0.23);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(18,23,35,0.82), rgba(7,9,14,0.92));
  box-shadow: 0 40px 100px rgba(0,0,0,0.48), inset 0 1px rgba(255,255,255,0.04);
  transform: rotateY(-5deg) rotateX(2deg);
  overflow: hidden;
}

.intel-console::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.035) 48%, transparent 65%);
  transform: translateX(-100%);
  animation: console-glint 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 5;
}

.console-topbar {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0.35rem 0.8rem;
  color: #68768a;
  font-family: monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.console-live { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--cyan); }
.console-live i { display: block; width: 5px; height: 5px; }

.scan-field {
  position: relative;
  min-height: clamp(320px, 36vw, 470px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 7px;
  background:
    radial-gradient(ellipse at 64% 55%, rgba(255,95,209,0.18), transparent 8%),
    radial-gradient(ellipse at 61% 52%, rgba(255,95,209,0.08), transparent 18%),
    linear-gradient(rgba(99,139,191,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,139,191,0.07) 1px, transparent 1px),
    linear-gradient(145deg, #0b111b, #070a10);
  background-size: auto, auto, 35px 35px, 35px 35px, auto;
  overflow: hidden;
}

.scan-field::after {
  content: '28°36′50″N  77°12′32″E';
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  color: rgba(159,179,207,0.4);
  font-family: monospace;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
}

.scan-line {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(85,233,226,0.85), transparent);
  box-shadow: 0 0 20px rgba(85,233,226,0.4);
  animation: field-scan 5s ease-in-out infinite;
}

.map-contour {
  position: absolute;
  border: 1px solid rgba(99,151,190,0.16);
  border-radius: 50% 42% 56% 38%;
  transform: rotate(-18deg);
}
.contour-one { inset: 8% 7% 18% 18%; }
.contour-two { inset: 20% 17% 28% 28%; border-style: dashed; }
.contour-three { inset: 32% 29% 38% 38%; }

.plume {
  position: absolute;
  left: 59%;
  top: 45%;
  width: 30%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse at left, rgba(255,95,209,0.6), rgba(160,87,227,0.18) 45%, transparent 74%);
  filter: blur(7px);
  transform: rotate(-22deg);
  animation: plume-drift 4s ease-in-out infinite alternate;
}
.plume-two { width: 22%; opacity: 0.6; transform: translate(25%, -70%) rotate(-15deg); animation-delay: -1.3s; }

.target-reticle {
  position: absolute;
  z-index: 3;
  left: 57%;
  top: 46%;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255,95,209,0.65);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(255,95,209,0.16);
  animation: reticle-breathe 2.2s ease-in-out infinite;
}
.target-reticle::before,
.target-reticle::after {
  content: '';
  position: absolute;
  background: rgba(255,95,209,0.65);
}
.target-reticle::before { left: 50%; top: -8px; width: 1px; height: 90px; }
.target-reticle::after { top: 50%; left: -8px; width: 90px; height: 1px; }
.target-reticle i { position: absolute; inset: 22px; border: 1px solid rgba(255,95,209,0.5); border-radius: 50%; }

.detection-card {
  position: absolute;
  z-index: 5;
  top: 12%;
  right: 6%;
  display: grid;
  gap: 0.25rem;
  min-width: 145px;
  padding: 0.8rem;
  border: 1px solid rgba(255,95,209,0.28);
  border-radius: 6px;
  background: rgba(10,9,17,0.76);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}
.detection-card small { color: var(--pink); font-size: 0.52rem; letter-spacing: 0.14em; }
.detection-card strong { font-family: monospace; font-size: 0.86rem; }
.detection-card span { color: #8995a8; font-size: 0.6rem; }

.satellite-track {
  position: absolute;
  inset: 12% -20%;
  border-top: 1px dashed rgba(85,233,226,0.26);
  border-radius: 50%;
  transform: rotate(-25deg);
}
.satellite-track span {
  position: absolute;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
  animation: satellite-pass 8s linear infinite;
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 0.7rem;
}
.console-metrics div { display: grid; gap: 0.15rem; padding: 0.55rem 0.7rem; border-right: 1px solid rgba(255,255,255,0.06); }
.console-metrics div:last-child { border-right: 0; }
.console-metrics small { color: #596779; font-size: 0.49rem; letter-spacing: 0.13em; }
.console-metrics strong { color: #dce6f1; font-family: 'Space Grotesk'; font-size: 0.85rem; }
.console-metrics em { color: #617084; font-size: 0.55rem; font-style: normal; font-weight: 400; }

.home-page .hero-stage-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.home-page .hero-stage-hint span { display: inline-block; }

.scroll-cue {
  position: absolute;
  left: max(5vw, calc((100vw - 1440px) / 2));
  bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #596679;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}
.scroll-cue i { width: 42px; height: 1px; background: linear-gradient(90deg, #67758a, transparent); }

.signal-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(8,10,16,0.9);
}
.signal-ticker > div {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  padding: 1rem 0;
  animation: ticker-move 28s linear infinite;
}
.signal-ticker span { color: #7a8799; font-size: 0.62rem; letter-spacing: 0.2em; }
.signal-ticker i { width: 4px; height: 4px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }

.home-page section:not(.hero) {
  padding: clamp(5rem, 9vw, 9rem) max(5vw, calc((100vw - 1400px) / 2));
}

.home-page .section-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cyan);
  font-size: 0.63rem;
}
.home-page .section-label::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.home-page .section-title {
  max-width: 850px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.home-page .section-desc {
  max-width: 600px;
  margin-top: 1.3rem;
  font-size: 1rem;
  line-height: 1.75;
}

.home-page .pillars-section { background: #07090e !important; }
.home-page .pillars-grid { grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 4rem; border-top: 1px solid rgba(255,255,255,0.08); }
.home-page .pillar-card {
  min-height: 300px;
  padding: 2rem 1.6rem;
  border: 0;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  background: transparent;
}
.home-page .pillar-card:last-child { border-right: 0; }
.home-page .pillar-card::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--pink), var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.home-page .pillar-card:hover::after { transform: scaleX(1); }
.home-page .pillar-icon { width: 52px; height: 52px; margin-bottom: 4rem; padding: 0.75rem; border: 1px solid rgba(85,233,226,0.2); border-radius: 50%; }
.home-page .pillar-card h3 { font-size: 1.05rem; }
.home-page .pillar-card p { line-height: 1.65; }

.home-page .steps-section { background: #05060a; }
.home-page .steps-grid { margin-top: 4rem; border-radius: 0; background: rgba(255,255,255,0.015); }
.home-page .step { min-height: 360px; padding: 2.5rem 2rem; }
.home-page .step-num { color: #4e5a6a; font-family: monospace; font-size: 0.65rem; }
.home-page .step-dot { margin-top: 4.5rem; }
.home-page .step h3 { font-family: 'Space Grotesk'; font-size: 1.45rem; }

.home-page .problem-section {
  background:
    linear-gradient(90deg, rgba(5,6,10,.97), rgba(5,6,10,.76)),
    radial-gradient(circle at 80% 50%, rgba(255,95,209,.12), transparent 30rem);
}
.problem-kicker { margin-bottom: 0.65rem; color: #647185; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.home-page .problem-stat { font-size: clamp(5rem, 10vw, 10rem); line-height: .9; letter-spacing: -.08em; }
.home-page .problem-points li { border-bottom-color: rgba(255,255,255,.08); }

.home-page .operators-section { background: #080a10; }
.home-page .operators-grid { grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); }
.home-page .operator-card {
  position: relative;
  align-items: flex-start;
  flex-direction: column;
  min-height: 260px;
  padding: 1.5rem;
  border: 0;
  border-radius: 0;
  background: #090b12;
}
.home-page .operator-index { color: #586576; font-family: monospace; font-size: .6rem; }
.home-page .operator-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-top: 2rem; border: 1px solid rgba(85,233,226,.2); border-radius: 50%; color: var(--cyan); font-size: 1.4rem; }
.home-page .operator-card strong { margin-top: auto; font-family: 'Space Grotesk'; font-size: 1rem; line-height: 1.35; }
.home-page .operator-card > i { position: absolute; right: 1.5rem; bottom: 1.5rem; color: #556274; font-style: normal; }

.home-page .features-section { background: #05060a; }
.feature-bento { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; margin-top: 4rem; }
.feature-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: 1.8rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(16,20,29,.92), rgba(7,9,14,.96));
}
.feature-panel-wide { grid-row: span 2; min-height: 876px; }
.feature-number { color: #536073; font-family: monospace; font-size: .62rem; }
.feature-panel > div:last-child { position: relative; z-index: 2; max-width: 480px; }
.feature-panel small { color: var(--cyan); font-size: .58rem; letter-spacing: .17em; }
.feature-panel h3 { margin: .55rem 0 .75rem; font-size: clamp(1.5rem, 2.5vw, 2.4rem); font-weight: 500; line-height: 1.05; }
.feature-panel p { color: var(--muted); font-size: .86rem; line-height: 1.7; }

.mini-orbit { position: absolute; top: 12%; left: 50%; width: min(32vw, 450px); aspect-ratio: 1; border: 1px solid rgba(85,233,226,.16); border-radius: 50%; transform: translateX(-50%); }
.mini-orbit::before, .mini-orbit::after { content: ''; position: absolute; border: 1px solid rgba(79,140,255,.12); border-radius: 50%; }
.mini-orbit::before { inset: 15%; }.mini-orbit::after { inset: 31%; }
.mini-orbit i { position: absolute; inset: 6%; border-top: 1px solid rgba(255,95,209,.5); border-radius: 50%; animation: console-spin 8s linear infinite; }
.mini-orbit i:nth-child(2) { inset: 20%; border-color: var(--cyan); animation-duration: 12s; animation-direction: reverse; }
.mini-orbit i:nth-child(3) { inset: 36%; border-color: rgba(255,255,255,.25); animation-duration: 5s; }
.mini-orbit b { position: absolute; inset: 43%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #b9ecff, #435ca9 45%, #111a38 75%); box-shadow: 0 0 45px rgba(79,140,255,.3); }

.confidence-ring { display: grid; place-items: center; align-self: center; width: 180px; aspect-ratio: 1; margin-top: 1rem; border-radius: 50%; background: conic-gradient(var(--cyan) 0 94.8%, rgba(255,255,255,.06) 94.8%); }
.confidence-ring::before { content: ''; position: absolute; width: 164px; aspect-ratio: 1; border-radius: 50%; background: #0a0d14; }
.confidence-ring strong { position: relative; z-index: 1; font-family: 'Space Grotesk'; font-size: 2rem; }.confidence-ring small { color: #7c899b; font-size: .7rem; }

.pulse-map { position: relative; align-self: center; width: 180px; height: 150px; margin-top: 1rem; background: linear-gradient(rgba(85,233,226,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(85,233,226,.07) 1px, transparent 1px); background-size: 24px 24px; transform: perspective(400px) rotateX(55deg); }
.pulse-map i { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; border: 1px solid var(--pink); border-radius: 50%; transform: translate(-50%,-50%); animation: map-pulse 2.4s ease-out infinite; }
.pulse-map i:nth-child(2) { animation-delay: .8s; }.pulse-map i:nth-child(3) { animation-delay: 1.6s; }

.home-page .cta-section { position: relative; padding-top: 10rem !important; padding-bottom: 10rem !important; background: radial-gradient(circle at 50% 100%, rgba(79,140,255,.18), transparent 42%), #080a10; overflow: hidden; }
.home-page .cta-section::before { content: ''; position: absolute; width: min(70vw,900px); aspect-ratio: 1; left: 50%; top: 45%; border: 1px solid rgba(85,233,226,.1); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 80px rgba(79,140,255,.02), 0 0 0 160px rgba(255,95,209,.015); }
.home-page .cta-section > * { position: relative; z-index: 2; }
.home-page .cta-section h2 { max-width: 900px; margin-left: auto; margin-right: auto; font-size: clamp(2.7rem, 6vw, 6rem); font-weight: 500; letter-spacing: -.06em; line-height: .98; }

@keyframes live-pulse { 50% { opacity: .35; transform: scale(.75); } }
@keyframes line-arrive { to { opacity: 1; transform: translateY(0); } }
@keyframes console-glint { 0%, 20% { transform: translateX(-110%); } 60%, 100% { transform: translateX(110%); } }
@keyframes field-scan { 0%, 100% { left: 2%; opacity: .2; } 50% { left: 98%; opacity: 1; } }
@keyframes plume-drift { to { transform: translate(8%, -12%) rotate(-18deg) scale(1.12); opacity: .75; } }
@keyframes reticle-breathe { 50% { transform: translate(-50%,-50%) scale(1.09); opacity: .7; } }
@keyframes satellite-pass { from { left: 5%; } to { left: 90%; } }
@keyframes ticker-move { to { transform: translateX(-50%); } }
@keyframes map-pulse { from { opacity: 1; transform: translate(-50%,-50%) scale(.2); } to { opacity: 0; transform: translate(-50%,-50%) scale(6); } }

@media (max-width: 1050px) {
  .home-page .hero { grid-template-columns: 1fr; padding-top: 9rem; }
  .home-page .hero-stage { width: min(100%, 650px); margin-top: 1rem; }
  .intel-console { transform: none; }
  .home-page .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .home-page .pillar-card:nth-child(2) { border-right: 0; }
  .home-page .pillar-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 768px) {
  .home-page > nav { max-width: calc(100% - 20px); top: 10px; left: 10px; right: 10px; }
  .home-page > nav > .nav-links { top: calc(100% + 8px); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(7,8,13,.97); }
  .home-page .hero { padding: 8rem 5% 5rem; }
  .home-page .hero h1 { font-size: clamp(2.7rem, 11.5vw, 4.1rem); }
  .home-page .hero-stage { display: grid; }
  .scan-field { min-height: 350px; }
  .scroll-cue { display: none; }
  .home-page section:not(.hero) { padding: 5rem 5%; }
  .home-page .steps-grid { grid-template-columns: 1fr; }
  .home-page .step { min-height: 280px; }
  .home-page .operators-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-bento { grid-template-columns: 1fr; }
  .feature-panel-wide { grid-row: auto; min-height: 650px; }
  .mini-orbit { width: min(70vw,380px); }
}

@media (max-width: 520px) {
  .mission-status b { display: none; }
  .home-page .hero h1 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .home-page .hero-actions { align-items: stretch; }
  .hero-proof { justify-content: space-between; gap: .75rem; }
  .hero-proof strong { font-size: .82rem; }.hero-proof span { font-size: .53rem; }
  .home-page .hero-stage { margin-top: 2rem; }
  .intel-console { padding: .45rem; }
  .scan-field { min-height: 300px; }
  .detection-card { top: 7%; right: 4%; min-width: 130px; }
  .console-metrics div { padding: .5rem .35rem; }
  .console-metrics strong { font-size: .7rem; }
  .home-page .pillars-grid { grid-template-columns: 1fr; }
  .home-page .pillar-card { min-height: 260px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .home-page .pillar-icon { margin-bottom: 2.5rem; }
  .home-page .operators-grid { grid-template-columns: 1fr; }
  .home-page .operator-card { min-height: 220px; }
  .feature-panel, .feature-panel-wide { min-height: 530px; }
  .confidence-ring { margin-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-line { opacity: 1; transform: none; animation: none; }
  .scan-line, .plume, .target-reticle, .satellite-track span,
  .intel-console::before, .signal-ticker > div, .mini-orbit i,
  .pulse-map i, .mission-status > span, .console-live i { animation: none !important; }
}

/* ===== CINEMATIC TEAM PAGE ===== */
.team-page {
  --pink: #ff5fd1;
  --blue: #4f8cff;
  --cyan: #55e9e2;
  --bg: #05060a;
  --bg2: #090b12;
  --text: #f4f7fb;
  --muted: #8e98aa;
  background: #05060a;
}

.team-page h1,
.team-page h2,
.team-page h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.team-page > section,
.team-page > footer {
  position: relative;
  z-index: 1;
}

.team-page > nav {
  max-width: calc(100% - 32px);
  top: 16px;
  left: 16px;
  right: 16px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(7,8,13,0.72);
}

.team-page > nav.nav-scrolled {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  background: rgba(7,8,13,0.92);
}

.team-page > nav > .nav-links {
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.team-page .nav-logo img { height: 46px; }
.team-page .nav-cta { border-radius: 8px; }

.team-hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 8.5rem max(5vw, calc((100vw - 1400px) / 2)) 4rem;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(5,6,10,.98), rgba(5,6,10,.6)),
    radial-gradient(circle at var(--hero-x, 78%) var(--hero-y, 44%), rgba(79,140,255,.15), transparent 26rem);
  overflow: hidden;
}

.team-hero::before {
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.team-hero-copy { position: relative; z-index: 2; }
.team-hero .mission-status { margin-bottom: 2.4rem; }
.team-hero .section-label { color: var(--cyan); }
.team-hero h1 {
  max-width: 850px;
  margin: .8rem 0 1.6rem;
  font-size: clamp(3rem, 5.2vw, 6rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .96;
}
.team-hero-copy > p:last-child {
  max-width: 650px;
  margin: 0;
  color: #9ba6b7;
  font-size: 1rem;
  line-height: 1.75;
}

.team-hero-orbit {
  position: relative;
  width: min(32vw, 410px);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid rgba(85,233,226,.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,140,255,.09), transparent 62%);
  box-shadow: 0 0 0 4vw rgba(79,140,255,.012), 0 0 90px rgba(79,140,255,.08);
}

.team-hero-orbit::before,
.team-hero-orbit::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.team-hero-orbit::before { inset: 13%; border-style: dashed; }
.team-hero-orbit::after { inset: 28%; }
.team-hero-orbit > img {
  position: absolute;
  inset: 17%;
  width: 66%;
  height: 66%;
  filter: drop-shadow(0 24px 34px rgba(0,0,0,.4));
}
.team-hero-orbit > small {
  position: absolute;
  left: 50%;
  bottom: 7%;
  color: #586679;
  font-family: monospace;
  font-size: .58rem;
  letter-spacing: .16em;
  transform: translateX(-50%);
  white-space: nowrap;
}
.crew-orbit {
  position: absolute;
  inset: -2%;
  border-top: 1px solid rgba(255,95,209,.5);
  border-radius: 50%;
  animation: console-spin 14s linear infinite;
}
.crew-orbit i {
  position: absolute;
  top: 8%;
  left: 21%;
  width: 9px;
  height: 9px;
  border: 2px solid #080a10;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 16px var(--pink);
}
.crew-orbit-two {
  inset: 10%;
  border-color: var(--cyan);
  animation-duration: 10s;
  animation-direction: reverse;
}
.crew-orbit-two i { top: 76%; left: 82%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.crew-orbit-three { inset: 25%; border-color: rgba(255,255,255,.25); animation-duration: 7s; }
.crew-orbit-three i { top: 42%; left: -2%; background: #8b78ef; box-shadow: 0 0 16px #8b78ef; }

.team-roster-section,
.advisor-section,
.team-mission {
  padding: clamp(3.5rem, 6vw, 5.5rem) max(5vw, calc((100vw - 1400px) / 2));
}

.team-roster-section {
  background:
    radial-gradient(circle at 0 30%, rgba(255,95,209,.05), transparent 25rem),
    #07090e;
}

.team-section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 440px);
  align-items: end;
  gap: 3rem;
  margin-bottom: 4rem;
}
.team-section-heading .section-label,
.advisor-heading .section-label,
.team-mission .section-label {
  color: var(--cyan);
}
.team-section-heading h2,
.advisor-heading h2,
.mission-heading h2 {
  margin-top: .7rem;
  font-size: clamp(2.2rem, 3.8vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1;
}
.team-section-heading > p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
}

.team-page .team-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: none;
  margin: 0;
  padding: 1px;
  background: rgba(255,255,255,.09);
}

.team-page .team-card {
  position: relative;
  align-items: flex-start;
  min-width: 0;
  min-height: 560px;
  padding: 0 1.35rem 1.35rem;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: linear-gradient(160deg, #0d1018, #080a10 70%);
  text-align: left;
}

.team-page .team-card::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.team-page .team-card:hover::after { transform: scaleX(1); }

.team-page .team-card > .team-avatar,
.team-page .team-avatar-frame {
  width: calc(100% + 2.7rem);
  height: 255px;
  flex: 0 0 255px;
  margin: 0 -1.35rem 1.3rem;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #11141d;
}
.team-page .team-card > img.team-avatar {
  object-fit: cover !important;
  border: 0;
}
.team-page .team-avatar-frame img.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-page .subham-avatar {
  object-position: center 38% !important;
  transform: none;
}
.team-page .team-card > img[alt="Vyom Aggarwal"] { object-position: 72% 14% !important; }
.team-page .team-card > img[alt="Utkarsh Gupta"] { object-position: center 12% !important; }

.team-page .team-card h3 {
  margin: 0 0 .25rem;
  font-size: 1.2rem;
  font-weight: 500;
}
.team-page .team-role {
  margin-bottom: 1rem;
  font-size: .68rem;
  letter-spacing: .14em;
}
.team-page .team-badges {
  justify-content: flex-start;
  margin-bottom: 1.1rem;
}
.team-page .badge {
  padding: .3rem .58rem;
  border-color: rgba(85,233,226,.13);
  border-radius: 4px;
  background: rgba(85,233,226,.04);
  color: #8fa1b6;
  font-size: .58rem;
}
.team-page .team-card > p:not(.team-role) {
  color: #818da0 !important;
  font-size: .82rem !important;
  line-height: 1.65;
}
.team-page .linkedin-link {
  width: 38px;
  height: 38px;
  margin-top: auto;
  border-color: rgba(85,233,226,.18);
  border-radius: 50%;
  background: rgba(85,233,226,.06);
  color: var(--cyan);
}

.advisor-section {
  display: grid;
  grid-template-columns: minmax(280px,.75fr) 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  background: #05060a;
}
.advisor-heading h2 { max-width: 600px; }
.advisor-wrap { max-width: 680px; }
.advisor-section .team-card {
  display: flex;
  align-items: center;
  width: min(100%, 390px);
  min-height: 0;
  margin: 0 auto;
  padding: 2.2rem 1.8rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  text-align: center;
}
.advisor-section .team-card > img.team-avatar {
  width: 150px;
  height: 150px;
  min-height: 150px;
  flex: 0 0 150px;
  margin: 0 auto 1.25rem;
  object-fit: cover !important;
  object-position: center !important;
  border: 2px solid rgba(255,255,255,.1);
  border-radius: 50%;
  scale: .9 !important;
}
.advisor-section .team-card h3 { align-self: center; margin-top: 0; }
.advisor-section .team-role { margin-bottom: .6rem; }
.advisor-section .team-card > p:not(.team-role) { margin-bottom: 0 !important; }

.team-mission {
  background:
    radial-gradient(circle at 80% 20%, rgba(79,140,255,.08), transparent 28rem),
    #080a10;
}
.mission-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 470px);
  gap: 1rem 4rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.mission-heading .section-label { grid-column: 1 / -1; }
.mission-heading > p:last-child { color: var(--muted); font-size: .9rem; line-height: 1.75; }
.mission-forces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  background: rgba(255,255,255,.08);
}
.team-page .mission-forces .pillar-card {
  min-height: 330px;
  padding: 1.8rem;
  border: 0;
  border-radius: 0;
  background: #0a0c13;
  text-align: left;
}
.force-number { color: #576476; font-family: monospace; font-size: .62rem; }
.team-page .mission-forces .pillar-icon {
  width: 52px;
  height: 52px;
  margin: 3.5rem 0 1.7rem;
  border: 1px solid rgba(85,233,226,.18);
  border-radius: 50%;
  font-family: 'Space Grotesk';
  font-size: 1.15rem;
}
.team-page .mission-forces h3 { font-size: 1.1rem; }

.team-page .team-cta {
  padding: 6rem 5%;
  background:
    radial-gradient(circle at 50% 100%, rgba(79,140,255,.18), transparent 40%),
    #06080d;
}
.team-page .team-cta h2 {
  font-family: 'Space Grotesk';
  font-size: clamp(2.7rem, 5vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -.06em;
}

@media (max-width: 1050px) {
  .team-hero { grid-template-columns: 1fr; min-height: auto; }
  .team-hero-orbit { width: min(55vw, 360px); }
  .team-page .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-page .team-card:last-child { grid-column: 1 / -1; }
  .advisor-section { grid-template-columns: 1fr; }
  .advisor-wrap { max-width: 760px; }
}

@media (max-width: 768px) {
  .team-page > nav { max-width: calc(100% - 20px); top: 10px; left: 10px; right: 10px; }
  .team-page > nav > .nav-links {
    top: calc(100% + 8px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    background: rgba(7,8,13,.97);
  }
  .team-hero { padding: 7.5rem 5% 3rem; }
  .team-hero h1 { font-size: clamp(3rem, 12vw, 4.8rem); }
  .team-roster-section, .advisor-section, .team-mission { padding: 3.5rem 5%; }
  .team-section-heading, .mission-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .mission-heading .section-label { grid-column: auto; }
  .team-page .team-grid { grid-template-columns: 1fr; }
  .team-page .team-card:last-child { grid-column: auto; }
  .team-page .team-card { min-height: 525px; }
  .advisor-section .team-card { min-height: 0; padding: 2rem 1.5rem; }
  .advisor-section .team-card > img.team-avatar {
    width: 145px;
    height: 145px;
    min-height: 145px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
  }
  .advisor-section .team-card h3 { margin-top: 0; }
  .mission-forces { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .team-hero h1 { font-size: clamp(2.7rem, 12.5vw, 3.7rem); }
  .team-hero-orbit { width: 84vw; }
  .team-page .team-card > .team-avatar,
  .team-page .team-avatar-frame { height: 240px; flex-basis: 240px; }
  .team-page .team-card { min-height: 510px; }
  .advisor-section .team-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .crew-orbit { animation: none !important; }
}

/* Core team: restore the original compact profile-card treatment */
.team-page .team-roster-section {
  padding: 1rem 4% 3.5rem;
  background: var(--bg);
}

.team-page .team-roster-section .team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 1.5rem auto 0;
  padding: 0;
  background: transparent;
}

.team-page .team-roster-section .team-card,
.team-page .team-roster-section .team-card:last-child {
  grid-column: auto;
  align-items: center;
  min-height: 0;
  padding: 2.5rem 2rem;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--card);
  text-align: center;
}

.team-page .team-roster-section .team-card::after {
  display: none;
}

.team-page .team-roster-section .team-card > .team-avatar,
.team-page .team-roster-section .team-avatar-frame {
  width: 140px;
  height: 140px;
  flex: 0 0 140px;
  margin: 0 auto 1.2rem;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.1);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
}

.team-page .team-roster-section .team-card > img.team-avatar {
  object-fit: cover !important;
}

.team-page .team-roster-section .subham-avatar {
  object-position: center 65% !important;
  transform: translate(7px, -24px) scale(1.5);
}

.team-page .team-roster-section .team-card > img[alt="Vyom Aggarwal"] {
  object-position: 78% 8% !important;
}

.team-page .team-roster-section .team-card > img[alt="Utkarsh Gupta"] {
  object-position: center 5% !important;
}

.team-page .team-roster-section .team-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.team-page .team-roster-section .team-role {
  font-size: .82rem;
  letter-spacing: .08em;
}

.team-page .team-roster-section .team-badges {
  justify-content: center;
}

.team-page .team-roster-section .badge {
  padding: .3rem .8rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: .75rem;
}

.team-page .team-roster-section .linkedin-link {
  margin: auto auto 0;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .team-page .team-roster-section .team-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}
