/* ── Homepage cinematic hero ── */
.consult-home-cinematic {
  gap: 0;
}
/* Match partners-page ambient: quieter navy field behind content */
body:has(#platform.active-view) .global-map-bg,
body:has(#platform.active-view) .traffic-lanes,
body:has(#platform.active-view) .supply-chain-network {
  opacity: 0.18;
}
body:has(#platform.active-view) .ambient { opacity: 0.22; }
body:has(#platform.active-view) .global-map-bg {
  filter: saturate(0.28) brightness(0.48);
}
body:has(#platform.active-view) {
  background:
    radial-gradient(circle at 50% 18%, rgba(94, 234, 212, 0.05), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(147, 197, 253, 0.06), transparent 24%),
    linear-gradient(180deg, #050a14 0%, #070e1a 46%, #050912 100%);
}
body:has(#platform.active-view) .topbar {
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  margin-top: 0;
}
body:has(#platform.active-view) .shell {
  margin-top: 0;
}
.home-hero {
  position: relative;
  width: 100vw;
  margin: 0 0 0 calc(50% - 50vw);
  height: 100svh;
  min-height: 100svh;
  max-height: none;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #050a14;
  isolation: isolate;
}
.home-hero--orbit,
.home-hero--pillars {
  align-items: center;
}
.home-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 10, 20, 0.58) 0%, rgba(5, 10, 20, 0.28) 34%, rgba(5, 10, 20, 0.04) 58%, transparent 72%),
    linear-gradient(180deg, rgba(5, 10, 20, 0.12) 0%, transparent 24%, transparent 78%, rgba(5, 10, 20, 0.22) 100%);
}
.home-hero-content {
  position: relative;
  z-index: 4;
  width: min(calc(100% - 48px), 560px);
  margin: 0 auto 0 max(24px, calc((100vw - var(--max)) / 2 + 8px));
  padding: 132px 0 72px;
  color: var(--text);
}
.home-hero-kicker {
  color: rgba(186, 214, 255, 0.88);
}
.home-hero-content h1 {
  max-width: min(36rem, 640px);
  margin: 14px 0 18px;
  font-size: clamp(2.15rem, 3.4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.home-hero-line {
  display: inline;
}
@media (min-width: 821px) {
  .home-hero {
    background: transparent;
  }
  .home-hero-line {
    display: block;
  }
  .home-hero-content {
    padding-bottom: 56px;
    width: min(calc(100% - 48px), 480px);
  }
}
.home-hero-copy {
  margin: 0;
  max-width: 42ch;
  color: rgba(210, 228, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.65;
}
.home-hero-actions { margin-top: 28px; }
.home-principles {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}
.home-principle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(140, 180, 255, 0.2);
  background: rgba(8, 16, 30, 0.48);
  color: rgba(226, 236, 250, 0.9);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color .28s ease, background .28s ease, box-shadow .28s ease;
}
.home-principle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.8);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
}
.home-principle.is-active,
.home-principle:hover,
.home-principle:focus-visible {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(20, 42, 74, 0.55);
  outline: none;
}
.home-principle.is-active .home-principle-dot {
  background: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.16), 0 0 12px rgba(212, 140, 78, 0.35);
}
.home-principle-note {
  margin: 12px 0 0;
  max-width: 46ch;
  color: rgba(186, 204, 226, 0.82);
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 2.8em;
}
.home-hero-constellation-link {
  margin-top: 18px;
  display: inline-flex;
}

.home-text-link {
  padding: 0;
  border: 0;
  background: none;
  color: #93bbfc;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-text-link:hover,
.home-text-link:focus-visible {
  color: #c5d9ff;
  outline: none;
}

.home-constellation {
  margin: 0 0 22px;
  padding: 28px 30px 30px;
  border-radius: 22px;
}
.home-constellation-intro {
  margin: 0 0 22px;
  max-width: 62ch;
  color: rgba(210, 228, 255, 0.82);
}
.home-constellation-shell {
  --domain-active: 0;
  display: grid;
  gap: 22px;
}
.home-constellation-track {
  position: relative;
  height: 2px;
  margin: 0 18px;
  border-radius: 99px;
  background: rgba(80, 110, 150, 0.28);
}
.home-constellation-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc((var(--domain-active, 0) / 4) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, #3b82f6, #2dd4bf);
  transition: width 420ms cubic-bezier(.22,.7,.28,1);
}
.home-constellation-nodes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.home-domain-node {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(140, 180, 255, 0.14);
  background: rgba(8, 16, 30, 0.35);
  color: rgba(210, 228, 255, 0.86);
  cursor: pointer;
  text-align: left;
  transition: border-color .28s ease, background .28s ease, box-shadow .28s ease;
}
.home-domain-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(140, 180, 255, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(186, 214, 255, 0.9);
}
.home-domain-label {
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 600;
}
.home-domain-node.is-active,
.home-domain-node:hover,
.home-domain-node:focus-visible {
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(24, 48, 84, 0.42);
  outline: none;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.12);
}
.home-domain-node.is-active .home-domain-mark {
  border-color: rgba(45, 212, 191, 0.7);
  background: rgba(59, 130, 246, 0.22);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}
.home-domain-panel {
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(140, 180, 255, 0.16);
  background: rgba(6, 12, 24, 0.42);
  min-height: 108px;
}
.home-domain-panel h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.home-domain-panel p {
  margin: 0;
  color: rgba(210, 228, 255, 0.86);
  line-height: 1.55;
  max-width: 70ch;
}

@media (max-width: 1100px) {
  .home-hero-content {
    width: min(calc(100% - 40px), 520px);
    margin-left: 20px;
    padding-top: 116px;
    padding-bottom: 64px;
  }
  .home-hero-content h1 { max-width: min(30rem, 540px); }
  .home-hero-scrim {
    background:
      linear-gradient(90deg, rgba(7, 11, 20, 0.64) 0%, rgba(7, 11, 20, 0.28) 40%, transparent 68%),
      linear-gradient(180deg, rgba(7, 11, 20, 0.12) 0%, transparent 30%, transparent 70%, rgba(7, 11, 20, 0.22) 100%);
  }
}

@media (max-width: 820px) {
  .home-hero--orbit,
  .home-hero--pillars {
    height: auto;
    min-height: 100svh;
    max-height: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }
  .home-hero-content {
    width: min(100% - 32px, 640px);
    margin: 0 auto;
    padding: 108px 0 28px;
    order: 1;
  }
  .home-hero-content h1 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }
  .home-hero-scrim {
    background:
      linear-gradient(180deg, rgba(5, 10, 20, 0.42) 0%, rgba(5, 10, 20, 0.12) 40%, rgba(5, 10, 20, 0.42) 100%);
  }
  .home-constellation-nodes {
    grid-template-columns: 1fr;
  }
  .home-constellation-track {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-constellation-fill {
    transition: none;
  }
}
