/* ===========================================================
   SPACE EDGE — stylesheet
   Brand: Navy #01416F · Jade #009795
   Fonts: Montserrat (Google)
   =========================================================== */

:root {
  /* Brand */
  --color-navy: #01416F;
  --color-jade: #009795;
  --color-jade-soft: #4DBABA;

  /* Layered backgrounds (dark-first) */
  --color-bg-deep: #051624;
  --color-bg-section: #07223A;
  --color-bg-card: #0B304C;

  /* Text + borders */
  --color-text-primary: #FFFFFF;
  --color-text-muted: #B7C7D6;
  --color-text-ghost: #8FA4B5;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.16);

  /* Type */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --max-w: 1472px;
  --pad-x: 20px;

  /* Easing */
  --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-expo:  cubic-bezier(0.19, 1, 0.22, 1);

  /* Duration */
  --dur-reveal: 0.9s;
  --dur-interact: 0.2s;

  /* State */
  --color-state-success: #1F7A5C;
  --color-state-warning: #94793D;
  --color-state-danger:  #9B3B3B;
}

@media (min-width: 768px)  { :root { --pad-x: 32px; } }
@media (min-width: 960px)  { :root { --pad-x: 40px; } }
@media (min-width: 1200px) { :root { --pad-x: 56px; } }
@media (min-width: 1600px) { :root { --pad-x: 64px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ───── SKIP LINK ───── */
.skip-link {
  position: fixed;
  top: -999px;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--color-jade);
  color: var(--color-bg-deep);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  border-radius: 2px;
  text-decoration: none;
  opacity: 0;
}
.skip-link:focus {
  top: 1rem;
  opacity: 1;
}

/* ───── FOCUS RINGS ───── */
:focus-visible {
  outline: 2px solid var(--color-jade);
  outline-offset: 2px;
}
input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--color-jade);
}

body {
  background: var(--color-bg-deep);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.333;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(0, 151, 149, 0.3); color: var(--color-text-primary); }

/* ───── NAV ───── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 0 var(--pad-x);
  background: rgba(5, 22, 36, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.nav.nav-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-left {
  display: flex;
  align-items: center;
  height: 100%;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.nav-logo img { display: block; height: 45px; width: auto; }
.nav-links { display: flex; gap: 0; list-style: none; height: 100%; }
.nav-cta {
  padding: 0.55rem 1.5rem;
  font-size: 13px;
}
.nav-links li {
  display: flex;
  align-items: center;
  height: 100%;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s cubic-bezier(0, 0.81, 0.36, 0.87);
}
.nav-links li:hover,
.nav-links li:has(.active) {
  border-bottom-color: var(--color-text-primary);
}
.nav-links a {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--color-text-primary);
  padding: 0 clamp(0.75rem, 2vw, 1.25rem);
  height: 100%;
  display: flex;
  align-items: center;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  width: 36px;
  height: 36px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: all 0.2s;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { border-color: var(--color-jade); color: var(--color-jade); }
.nav-toggle .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 3px auto;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open .bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-inner { height: 64px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--pad-x));
    right: calc(-1 * var(--pad-x));
    background: rgba(5, 22, 36, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1.5rem var(--pad-x);
    gap: 0;
    height: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li {
    height: auto;
    border-bottom: none;
  }
  .nav-links a {
    font-size: 16px;
    padding: 0.75rem 0;
    height: auto;
  }
}

/* ───── HERO (globe-orbit background, two-column) ───── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 9rem var(--pad-x) 5rem;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.75;
  filter: contrast(1.1) saturate(0.9);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 22, 36, 0.92) 0%, rgba(5, 22, 36, 0.72) 45%, rgba(5, 22, 36, 0.38) 100%),
    linear-gradient(180deg, transparent 55%, rgba(5, 22, 36, 1) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-sub strong {
  color: var(--color-text-primary);
  font-weight: 400;
}
.hero-data-string {
  margin-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  opacity: 0.85;
}
.hero-frame {
  position: relative;
}
.hero-frame-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0, 151, 149, 0.3);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.corner {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.corner.tl { top: -6px; left: -6px; border-top: 2px solid var(--color-jade); border-left: 2px solid var(--color-jade); }
.corner.tr { top: -6px; right: -6px; border-top: 2px solid var(--color-jade); border-right: 2px solid var(--color-jade); }
.corner.bl { bottom: -6px; left: -6px; border-bottom: 2px solid var(--color-jade); border-left: 2px solid var(--color-jade); }
.corner.br { bottom: -6px; right: -6px; border-bottom: 2px solid var(--color-jade); border-right: 2px solid var(--color-jade); }
.frame-data {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.frame-data .label { color: var(--color-text-primary); opacity: 0.9; }
.frame-data .live { color: var(--color-jade); display: inline-flex; align-items: center; gap: 0.5rem; }
.frame-data .live .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-jade);
  box-shadow: 0 0 0 0 rgba(0, 151, 149, 0.7);
  animation: pulse 1.8s infinite;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-jade);
  margin-bottom: 1.75rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -2.5px;
  margin-bottom: 2rem;
  color: var(--color-text-primary);
}
.hero-headline em {
  font-style: normal;
  color: var(--color-jade);
}
.hero-sub {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.4;
  letter-spacing: -0.2px;
  margin-bottom: 2.5rem;
}
/* Hero bottom-left text block */
.hero-bottom-text {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  pointer-events: auto;
}
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
  max-width: 58%;
}
.hero-tagline em {
  font-style: normal;
  font-weight: 400;
  color: var(--color-jade);
}
.hero-bottom-sub {
  font-size: clamp(1.5rem, 2.5vw, 28px);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 58%;
}
.hero-bottom-sub strong {
  color: var(--color-text-primary);
  font-weight: 400;
}
@media (max-width: 720px) {
  .hero-bottom-text { display: none; }
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  text-transform: none;
  letter-spacing: normal;
  border-radius: 2px;
  border: 1px solid #fff;
  background: #fff;
  color: var(--color-bg-deep);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn:hover { background: var(--color-bg-deep); color: #fff; border-color: #fff; }
.btn.btn-ghost {
  background: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-border-strong);
}
.btn.btn-ghost:hover {
  border-color: var(--color-jade);
  color: var(--color-jade);
  background: transparent;
}

/* Live signal tag */
.signal-tag {
  position: absolute;
  bottom: 9rem;
  right: var(--pad-x);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(5, 22, 36, 0.7);
  border: 1px solid var(--color-jade);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--color-text-primary);
  text-transform: uppercase;
}
.signal-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-jade);
  box-shadow: 0 0 0 0 rgba(0, 151, 149, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 151, 149, 0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(0, 151, 149, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 151, 149, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .pulse,
  .signal-tag .dot,
  .frame-data .live .pulse {
    animation: none;
  }
}

/* Hero footer band */
.hero-band {
  position: absolute;
  bottom: 2rem;
  left: var(--pad-x);
  right: var(--pad-x);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}
.hero-band .sep { color: var(--color-jade); }

@media (max-width: 720px) {
  .hero { min-height: 100vh; padding-top: 4rem; }
  .hero-headline { font-size: 2.5rem; line-height: 1.05; letter-spacing: -1.5px; }
  .signal-tag { bottom: 11rem; right: 1rem; font-size: 0.625rem; padding: 0.5rem 0.75rem; }
  .hero-band { font-size: 0.625rem; gap: 0.75rem; }
}

/* ───── HERO ROTATING SQUARES (3D cube) ───── */
:root {
  --sq-size: 200px;
  --sq-translate-z: 100px;
  --sq-gap: 8px;
  --sq-duration: 1s;
}

.hero-squares {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.sq-pause {
  position: absolute;
  top: -2rem;
  right: var(--pad-x);
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text-ghost);
  font-size: 0.625rem;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0.6;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  z-index: 4;
}
.sq-pause:hover,
.sq-pause:focus-visible { opacity: 1; border-color: var(--color-jade); }

.square-value {
  display: flex;
  flex-direction: column;
  gap: var(--sq-gap);
  pointer-events: auto;
}

/* Each wrapper holds one cube */
.square-value .square-wrapper {
  min-height: var(--sq-size);
}

/* The cube block — preserve-3d and pulled back to center */
.square-value .square-block {
  transform-style: preserve-3d;
  transform: translateZ(calc(-1 * var(--sq-translate-z))) rotateY(var(--rotate, 0deg));
  transition: transform var(--sq-duration) ease;
  height: var(--sq-size);
  width: var(--sq-size);
  position: relative;
  display: flex;
  justify-content: center;
}

/* Each face of the cube */
.square-value .square-block > div {
  position: absolute;
  height: var(--sq-size);
  width: var(--sq-size);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  backface-visibility: hidden;
}

/* Position faces around the Y axis */
.square-value .square-block > div:nth-child(1) { transform: rotateY(0deg)    translateZ(var(--sq-translate-z)); }
.square-value .square-block > div:nth-child(2) { transform: rotateY(90deg)   translateZ(var(--sq-translate-z)); }
.square-value .square-block > div:nth-child(3) { transform: rotateY(180deg)  translateZ(var(--sq-translate-z)); }
.square-value .square-block > div:nth-child(4) { transform: rotateY(-90deg)  translateZ(var(--sq-translate-z)); }

/* Visibility — only render 2 adjacent faces at a time */
.square-value .square-block > div:nth-child(1),
.square-value .square-block > div:nth-child(4) { visibility: visible; }
.square-value .square-block > div:nth-child(2),
.square-value .square-block > div:nth-child(3) { visibility: hidden; }

.square-value .square-block.rotate-once > div:nth-child(1),
.square-value .square-block.rotate-once > div:nth-child(2) { visibility: visible; }
.square-value .square-block.rotate-once > div:nth-child(3),
.square-value .square-block.rotate-once > div:nth-child(4) { visibility: hidden; }

.square-value .square-block.rotate-twice > div:nth-child(2),
.square-value .square-block.rotate-twice > div:nth-child(3) { visibility: visible; }
.square-value .square-block.rotate-twice > div:nth-child(1),
.square-value .square-block.rotate-twice > div:nth-child(4) { visibility: hidden; }

.square-value .square-block.rotate-thrice > div:nth-child(3),
.square-value .square-block.rotate-thrice > div:nth-child(4) { visibility: visible; }
.square-value .square-block.rotate-thrice > div:nth-child(1),
.square-value .square-block.rotate-thrice > div:nth-child(2) { visibility: hidden; }

/* Image faces */
.square-value .square-block > div[data-type="picture"] {
  background-color: transparent;
  padding: 0;
}
.square-value .square-block > div[data-type="picture"] img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

/* Stat faces — jade background */
.square-value .square-block > div[data-type="text"] {
  background-color: var(--color-jade);
  padding: 16px 12px;
}

.sq-title {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: #fff;
  margin: 0;
}
.sq-title::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: #fff;
  margin-right: 8px;
  vertical-align: middle;
}
.sq-num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 48px;
  font-weight: 400;
  letter-spacing: -1px;
  color: #fff;
  margin: 0;
}

/* Character slide animation */
.sq-num .char-wrap { display: inline-block; overflow: hidden; }
.sq-num .char {
  display: inline-block;
  transition: transform 0.3s ease;
  transform: translateY(50px);
}
.show .sq-num .char { transform: translateY(0); }
.hide .sq-num .char { transform: translateY(-50px); }

@media (prefers-reduced-motion: reduce) {
  .square-value .square-block { transition: none; }
  .sq-num .char { transition: none; }
}

@media (max-width: 900px) {
  :root { --sq-size: 160px; --sq-translate-z: 80px; }
  .sq-num { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (max-width: 720px) {
  .hero-squares { display: none; }
}

/* ───── SUBPAGE HERO ───── */
.hero--sub {
  min-height: 60vh;
  align-items: flex-end;
  padding-bottom: 4rem;
}
.hero--sub .hero-image {
  opacity: 1;
  background-position: center 70%;
  filter: contrast(1.15) saturate(1.1);
}
.hero--sub .hero-overlay {
  background:
    linear-gradient(105deg, rgba(5, 22, 36, 0.88) 0%, rgba(5, 22, 36, 0.55) 45%, rgba(5, 22, 36, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 22, 36, 0.3) 0%, transparent 30%, transparent 55%, rgba(5, 22, 36, 0.95) 100%);
}
.hero--sub .hero-headline em {
  color: inherit;
}
.hero--sub .hero-sub {
  margin-bottom: 0;
  max-width: 60ch;
}

/* ───── PAGE LEAD (sub-pages) ───── */
.page-lead {
  padding: calc(5rem + 88px) var(--pad-x) 3rem;
  max-width: calc(var(--max-w) + 2 * var(--pad-x));
  margin: 0 auto;
}
.page-lead-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-jade);
  margin-bottom: 1.5rem;
}
.page-lead-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 44px);
  line-height: 1.09;
  letter-spacing: -1px;
  max-width: 22ch;
  margin-bottom: 1.5rem;
}
.page-lead-headline em { font-style: normal; }
.page-lead-body {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.375;
}

/* ───── TAGLINE BAND ───── */
.tagline-band {
  position: relative;
  overflow: hidden;
  padding: 3rem var(--pad-x) 2rem;
  text-align: center;
}
.tagline-wrap {
  font-size: clamp(1.5rem, 4vw, 44px);
  max-width: 28ch;
  margin: 0 auto;
}
.tagline-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: inherit;
  letter-spacing: -1px;
  line-height: 1.09;
  color: var(--color-text-primary);
}
.tagline-band h2 em { font-style: normal; }
.tagline-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.375;
  margin: 1.5rem 0 0;
  text-align: center;
}
.tagline-sub strong {
  color: var(--color-text-primary);
  font-weight: 400;
}

/* ───── STATS ───── */
.stats {
  position: relative;
  overflow: hidden;
  padding: 2rem var(--pad-x) 4rem;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 4rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 44px);
  color: var(--color-text-primary);
  line-height: 1.09;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.286;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stats-inner--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* ───── APPROACH (3-up) ───── */
.section {
  position: relative;
  padding: 4rem var(--pad-x) 5rem;
}
.section-inner { max-width: var(--max-w); margin: 0 auto; position: relative; overflow: visible; text-align: center; }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-jade);
  margin-bottom: 1.5rem;
}
.section-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.875rem, 4.4vw, 44px);
  line-height: 1.09;
  letter-spacing: -1px;
  max-width: 24ch;
  margin: 0 auto 1.25rem;
}
.section-headline em { font-style: normal; }
.section-sub {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.375;
  margin: 0 auto 4rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.approach-card {
  background: var(--color-bg-card);
  border: 1px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-interact) var(--ease-out-cubic);
}
.approach-card:hover {
  border-color: rgba(0, 151, 149, 0.3);
}
.approach-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
}
.approach-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--color-bg-card) 100%);
  pointer-events: none;
  z-index: 1;
}
.approach-card-image::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(5, 22, 36, 0.78);
  padding: 0.4rem 0.65rem;
  color: var(--color-text-primary);
  border-left: 2px solid var(--color-jade);
}
.approach-card-body {
  padding: 1.75rem 1.75rem 2rem;
}
.approach-card-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--color-jade);
  margin-bottom: 1rem;
}
.approach-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.333;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}
.approach-card .sub {
  font-size: 14px;
  color: var(--color-jade-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.approach-card p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.375;
}
.approach-card-image:not([data-label])::after { display: none; }
@media (max-width: 900px) {
  .approach-grid { grid-template-columns: 1fr; }
}

/* ───── APPROACH ROWS (sensor modalities) ───── */
.approach-rows {
  max-width: calc(var(--max-w) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x) 5rem;
}
.approach-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
}
.approach-row:last-child {
  border-bottom: 1px solid var(--color-border);
}
.approach-row-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-jade);
  padding-top: 0.25rem;
}
.approach-row-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.333;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}
.approach-row-content p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.375;
  max-width: 60ch;
}
@media (max-width: 720px) {
  .approach-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ───── TIMELINE ───── */
.timeline {
  position: relative;
  padding-left: 80px;
  max-width: 680px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--color-border);
}
.timeline-item {
  position: relative;
  padding-bottom: 4rem;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-marker {
  position: absolute;
  left: -80px;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--color-jade);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--color-jade);
  background: var(--color-bg-deep);
  z-index: 1;
}
.timeline-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.333;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}
.timeline-content .sub {
  font-size: 14px;
  color: var(--color-jade-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.timeline-content p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.375;
}
@media (max-width: 600px) {
  .timeline { padding-left: 60px; }
  .timeline::before { left: 19px; }
  .timeline-marker {
    left: -60px;
    width: 40px;
    height: 40px;
    font-size: 12px;
  }
}

/* ───── PAGE FEATURE IMAGE (sub-page) ───── */
.page-feature {
  max-width: calc(var(--max-w) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x) 6rem;
}
.feature-image {
  width: 100%;
  aspect-ratio: 16 / 8;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  position: relative;
}
.feature-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(5, 22, 36, 0.78);
  border-left: 2px solid var(--color-jade);
  padding: 0.5rem 0.75rem;
  color: var(--color-text-primary);
}

/* ───── TABBED SECTION (Celonis-style accordion) ───── */
.tabbed-section {
  max-width: calc(var(--max-w) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x) 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.tabbed-nav {
  display: flex;
  flex-direction: column;
}
.tabbed-tab {
  background: none;
  border: none;
  text-align: left;
  padding: 1.5rem 0;
  cursor: pointer;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.tabbed-tab:first-child { border-top: 1px solid var(--color-border); }
.tabbed-tab-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: var(--color-text-ghost);
  transition: color 0.3s ease;
}
.tabbed-tab.active .tabbed-tab-text {
  color: var(--color-text-primary);
}
/* Progress bar track */
.tabbed-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  overflow: hidden;
}
.tabbed-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-jade);
  transform: scaleX(0);
  transform-origin: left;
}
.tabbed-tab.active .tabbed-progress-bar {
  animation: tabProgress 10s linear forwards;
}
@keyframes tabProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
/* Content panels */
.tabbed-panels {
  position: relative;
  min-height: 200px;
}
.tabbed-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.tabbed-panel.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.tabbed-panel p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--color-text-primary);
  line-height: 1.4;
  letter-spacing: -0.2px;
  max-width: 60ch;
}
.tabbed-panel p + p {
  margin-top: 1.5rem;
}
/* Mobile: stack vertically */
@media (max-width: 720px) {
  .tabbed-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ───── METHOD (6-up numbered) ───── */
.method-grid {
  max-width: calc(var(--max-w) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x) 6rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.method-card {
  background: var(--color-bg-card);
  border: 1px solid transparent;
  padding: 2.25rem 2rem;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  transition: border-color 0.3s, box-shadow 0.4s var(--ease-out-cubic);
}
.method-card:hover {
  border-color: rgba(0, 151, 149, 0.3);
}
.method-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.375rem;
  color: var(--color-jade);
  line-height: 1;
  letter-spacing: -0.01em;
}
.method-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.333;
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
}
.method-card p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.375;
}
@media (max-width: 720px) {
  .method-grid { grid-template-columns: 1fr; }
}

/* ───── COVERAGE HERO IMAGE ───── */
.coverage-hero {
  max-width: calc(var(--max-w) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x) 4rem;
}
.coverage-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--color-border);
  display: block;
}

/* ───── COVERAGE ───── */
.coverage-grid {
  position: relative;
  max-width: calc(var(--max-w) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x) 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.coverage-card {
  background: var(--color-bg-card);
  border: 1px solid transparent;
  border-top: 2px solid var(--color-jade);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  transition: border-color var(--dur-interact) var(--ease-out-cubic);
}
.coverage-card:hover {
  border-color: rgba(0, 151, 149, 0.3);
}
.coverage-card .metal {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--color-jade);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.coverage-card .pct {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}
.coverage-card .facilities {
  font-size: 16px;
  color: var(--color-text-muted);
}

.coverage-regions {
  max-width: calc(var(--max-w) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 2rem var(--pad-x) 6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.region {
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}
.region h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-jade);
  margin-bottom: 0.75rem;
}
.region p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.375;
}
@media (max-width: 720px) {
  .coverage-grid, .coverage-regions { grid-template-columns: 1fr; }
}

/* ───── TEAM ───── */
.team-grid-wrap {
  max-width: calc(var(--max-w) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x) 5rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 3rem;
}
.team-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-card-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
  display: block;
  margin-bottom: 1.5rem;
  filter: grayscale(0.15);
  transition: filter var(--dur-interact) var(--ease-out-cubic),
              border-color var(--dur-interact) var(--ease-out-cubic);
}
.team-card:hover .team-card-photo {
  filter: grayscale(0);
  border-color: var(--color-jade);
}
.team-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 0.25rem;
  letter-spacing: -0.5px;
}
.team-card .role {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-jade);
  margin-bottom: 1rem;
}
.team-card p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.375;
  max-width: 44ch;
}
.team-meta-wrap {
  max-width: calc(var(--max-w) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x) 6rem;
}
.team-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.333;
  border-top: 1px solid var(--color-border);
  padding-top: 2.5rem;
}
.team-meta .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-jade);
  margin-bottom: 0.35rem;
}
@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; gap: 3rem; }
  .team-meta { grid-template-columns: repeat(2, 1fr); }
}

/* ───── CONTACT ───── */
.contact-grid {
  max-width: calc(var(--max-w) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x) 6rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 18px;
  transition: border-color 0.3s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-jade);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button[type="submit"] {
  align-self: flex-start;
  margin-top: 0.5rem;
}
.contact-form button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.contact-image-wrap {
  position: relative;
  margin-bottom: 2rem;
}
.contact-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  border: 1px solid var(--color-border);
  display: block;
}
.contact-image-wrap .feature-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
}
.contact-info img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  border: 1px solid var(--color-border);
  margin-bottom: 2rem;
  display: block;
}
.contact-info h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-jade);
  margin-bottom: 0.75rem;
}
.contact-info address {
  font-style: normal;
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.375;
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ───── FORM FEEDBACK ───── */
.form-status {
  padding: 1rem 1.25rem;
  border-radius: 2px;
  font-size: 0.875rem;
  line-height: 1.5;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(31, 122, 92, 0.12);
  border: 1px solid var(--color-state-success);
  color: var(--color-jade-soft);
}
.form-status.error {
  display: block;
  background: rgba(155, 59, 59, 0.12);
  border: 1px solid var(--color-state-danger);
  color: #f5a6ae;
}

/* ───── CTA BAND ───── */
.cta-band {
  padding: 4rem var(--pad-x);
  border-top: 1px solid var(--color-border);
}
.cta-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.cta-band-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-jade);
  margin-bottom: 0.75rem;
}
.cta-band-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 44px);
  letter-spacing: -1px;
  line-height: 1.09;
}
.cta-band-headline em {
  font-style: normal;
}
/* cta-band is always centred/stacked — no mobile override needed */

/* ───── FOOTER ───── */
footer {
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
  padding: 4rem var(--pad-x) 3rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}
.footer-brand {
  flex-shrink: 0;
}
.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 1.25rem;
  opacity: 0.7;
}
.footer-desc {
  font-size: 14px;
  color: var(--color-text-ghost);
  line-height: 1.5;
}
.footer-cols {
  display: flex;
  gap: 5rem;
}
.footer-col-label {
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-jade);
  margin-bottom: 1.25rem;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col-links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--dur-interact) var(--ease-out-cubic);
}
.footer-col-links a:hover {
  color: var(--color-jade);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.risk-disclaimer {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--color-text-ghost);
  text-transform: uppercase;
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 14px;
  color: var(--color-text-ghost);
}
@media (max-width: 720px) {
  .footer-top {
    flex-direction: column;
    gap: 2.5rem;
  }
  .footer-cols {
    flex-direction: column;
    gap: 2rem;
  }
}

/* ───── LINKEDIN BADGE ───── */
.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--color-jade);
  color: var(--color-bg-deep) !important;
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-display);
  border-radius: 2px;
  margin-left: 0.6rem;
  vertical-align: middle;
  transition: background 0.2s;
  text-decoration: none;
}
.linkedin-link:hover { background: var(--color-jade-soft); }

/* ───── PRIVACY MODAL ───── */
.modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem;
  overflow-y: auto;
}
.modal.open { display: flex; }
.modal-card {
  background: var(--color-bg-section);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  max-width: 680px;
  width: 100%;
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
  margin: auto;
}
.modal-close {
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  width: 30px; height: 30px;
  border-radius: 2px; cursor: pointer;
  font-size: 1.1rem; line-height: 1;
  transition: all 0.2s;
}
.modal-close:hover { border-color: var(--color-jade); color: var(--color-jade); }
.modal-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.modal-card h2 em { font-style: normal; color: var(--color-jade); }
.modal-card .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-jade);
  margin-bottom: 1.25rem;
}
.modal-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-text-primary);
  margin: 1.25rem 0 0.5rem;
}
.modal-card p, .modal-card li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}
.modal-card ul { padding-left: 1.1rem; margin-bottom: 0.6rem; }
.modal-card li { margin-bottom: 0.25rem; }
.modal-card strong { color: var(--color-text-primary); font-weight: 400; }
.modal-card hr { border: none; border-top: 1px solid var(--color-border); margin: 1.75rem 0; }

/* ───── LEGAL PAGE (standalone) ───── */
.legal {
  max-width: calc(800px + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x) 6rem;
}
.legal section { padding: 2rem 0; border-top: 1px solid var(--color-border); }
.legal section:first-child { border-top: none; }
.legal h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.legal h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}
.legal p, .legal li {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.45rem; }
.legal strong { color: var(--color-text-primary); font-weight: 400; }

.big-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6em;
  color: var(--color-jade);
  letter-spacing: -0.02em;
  display: inline-block;
  line-height: 1;
  vertical-align: -0.05em;
  padding: 0 0.05em;
}

.page-section { scroll-margin-top: 80px; }
section.divider { border-top: 1px solid var(--color-border); background: var(--color-bg-deep); }

/* ───── UTILITY ───── */
.mt-section { margin-top: 4rem; }
.mb-eyebrow { margin-bottom: 1rem; }

/* ───── hCAPTCHA ───── */
.h-captcha {
  margin-top: 0.25rem;
}

/* ───── CONSTELLATION CANVAS ───── */
#constellationCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ───── GRADIENT ORB ───── */
.gradient-orb {
  position: absolute;
  width: 800px;
  height: 800px;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 151, 149, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 60%, rgba(1, 65, 111, 0.12) 0%, transparent 50%);
  filter: blur(80px);
  animation: orbMorph 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes orbMorph {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }
  33% {
    transform: translate(-45%, -55%) scale(1.1) rotate(5deg);
    opacity: 0.8;
  }
  66% {
    transform: translate(-55%, -45%) scale(0.95) rotate(-3deg);
    opacity: 0.9;
  }
}


/* ───── REDUCED MOTION (premium effects) ───── */
@media (prefers-reduced-motion: reduce) {
  .gradient-orb { animation: none; }
  #constellationCanvas { opacity: 0.5; }
}

/* ───── ANIMATE ON VIEW ───── */
.aov {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-reveal) var(--ease-out-quint),
              transform var(--dur-reveal) var(--ease-out-quint);
}
.aov-in {
  opacity: 1;
  transform: translateY(0);
}
.aov-stagger .aov:nth-child(1) { transition-delay: 0ms; }
.aov-stagger .aov:nth-child(2) { transition-delay: 80ms; }
.aov-stagger .aov:nth-child(3) { transition-delay: 80ms; }
.aov-stagger .aov:nth-child(4) { transition-delay: 160ms; }

/* ───── REDUCED MOTION ───── */
@media (prefers-reduced-motion: reduce) {
  .aov {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav-links li {
    transition: none;
  }
}
