/* —— PULSAR Platform: unified dark hero + in-page navigation —— */
.platform-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: clamp(20px, 4vw, 28px);
  max-width: 52rem;
}

.platform-quick-nav a {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(244, 245, 247, 0.88);
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.platform-quick-nav a:hover {
  border-color: rgba(78, 205, 196, 0.55);
  color: var(--teal);
  background: rgba(78, 205, 196, 0.08);
}

.platform-scroll-hint {
  margin-top: clamp(28px, 5vw, 40px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.platform-hero-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
  min-height: calc(100vh - var(--nav-h) - 170px);
  min-height: calc(100dvh - var(--nav-h) - 170px);
}

.platform-hero-head__visual {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 75% 60% at 18% 18%, rgba(91, 159, 212, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 55% at 86% 82%, rgba(78, 205, 196, 0.14) 0%, transparent 62%),
    rgba(13, 19, 36, 0.78);
  min-height: clamp(260px, 34vw, 420px);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Platform hero: graph emergence → dynamic twin → RCA */
.platform-hero-viz {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  font-family: var(--mono);
}

.platform-hero-viz__stage {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  aspect-ratio: 680 / 340;
  min-height: clamp(180px, 26vw, 300px);
  background: rgba(7, 10, 18, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.platform-hero-viz__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.platform-hero-viz__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 16px);
  padding: 12px clamp(12px, 1.6vw, 16px);
  background: rgba(10, 14, 24, 0.65);
}

.platform-hero-viz__status {
  min-width: 0;
  flex: 1 1 auto;
}

.platform-hero-viz__phase {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 245, 247, 0.88);
  transition: color 0.35s ease;
}

.platform-hero-viz__phase.is-alert {
  color: #ef8354;
}

.platform-hero-viz__phase.is-good {
  color: var(--teal);
}

.platform-hero-viz__phase-sub {
  margin: 3px 0 0;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  color: rgba(244, 245, 247, 0.45);
  transition: color 0.35s ease;
}

.platform-hero-viz__phase-sub.is-alert {
  color: rgba(239, 131, 84, 0.78);
}

.platform-hero-viz__progress {
  flex: 1 1 80px;
  max-width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1px;
  overflow: hidden;
}

.platform-hero-viz__progress-fill {
  height: 100%;
  width: 0;
  background: var(--teal);
  border-radius: 1px;
  transition: width 0.12s linear, background 0.4s ease;
}

.platform-hero-viz__progress-fill.is-alert {
  background: var(--orange);
}

.platform-hero-viz__progress-fill.is-good {
  background: var(--teal);
}

.platform-hero-viz__replay {
  flex-shrink: 0;
  font-family: inherit;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 245, 247, 0.55);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  padding: 6px 11px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.platform-hero-viz__replay:hover {
  color: rgba(244, 245, 247, 0.92);
  border-color: rgba(78, 205, 196, 0.45);
  background: rgba(78, 205, 196, 0.08);
}

.platform-scroll-hint--end {
  max-width: var(--max);
  margin: 0 auto 0;
  padding: 12px clamp(12px, 2vw, 18px) 0;
}

.platform-scroll-hint a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(91, 159, 212, 0.95);
}

@media (max-width: 920px) {
  .platform-hero-head {
    grid-template-columns: 1fr;
    min-height: calc(100vh - var(--nav-h) - 190px);
    min-height: calc(100dvh - var(--nav-h) - 190px);
  }
}

@media (max-width: 480px) {
  .platform-hero-viz__replay {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.62rem;
  }

  .hero-copy__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy__actions .btn {
    width: 100%;
    min-height: 44px;
  }
}

.platform-scroll-hint__label {
  opacity: 0.92;
}

.platform-scroll-hint__arrow {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.9;
  animation: platform-scroll-chevron 1.2s ease-in-out infinite;
}

@keyframes platform-scroll-chevron {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

#platform-how,
#platform-capability-briefs {
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

/* Platform page: capability cards (reuse home-cap-card + persona tags) */
.persona-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  line-height: 1.3;
}

.persona-tag__emoji {
  font-size: 0.95rem;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}

.platform-cap-briefs__footer {
  margin-top: 26px;
  margin-bottom: 0;
}

/* Full-viewport hero with canvas backdrop — used by hero.html only */

.page-hero .bg-mesh {
  z-index: -1;
}

.page-hero .wrap {
  background: transparent;
}

.hero-canvas-page {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.hero-canvas-page.is-reduced {
  opacity: 0.35;
}

.hero-stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hero-stage__main {
  flex: 1;
  display: grid;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px) clamp(18px, 3vw, 28px);
  padding-top: calc(var(--nav-h) + clamp(32px, 8vh, 96px));
  padding-bottom: clamp(48px, 10vh, 120px);
  width: 100%;
}

.hero-copy {
  max-width: min(34rem, 100%);
  position: relative;
}

.hero-copy__eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0;
  animation: hero-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 5.5vw, 3.65rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  color: var(--text);
  opacity: 0;
  animation: hero-fade-up 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}

.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(105deg, var(--accent) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy__lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 36ch;
  opacity: 0;
  animation: hero-fade-up 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.hero-copy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  opacity: 0;
  animation: hero-fade-up 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.48s forwards;
}

.hero-copy__micro {
  margin-top: 1.75rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--dim);
  opacity: 0;
  animation: hero-fade-up 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.58s forwards;
}

.hero-copy__micro kbd {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-family: inherit;
  font-size: 0.62rem;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy__eyebrow,
  .hero-copy h1,
  .hero-copy__lede,
  .hero-copy__actions,
  .hero-copy__micro {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Dark canvas behind hero — override root text tokens (placed last for cascade) */
.page-hero .hero-copy h1 {
  color: #f4f5f7;
}

.page-hero .hero-copy__lede {
  color: rgba(244, 245, 247, 0.78);
}

.page-hero .hero-copy__micro {
  color: rgba(244, 245, 247, 0.5);
}

.page-hero .hero-copy__micro kbd {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(244, 245, 247, 0.9);
}

/* index.html: first fold full viewport; below-the-fold bands use their own surfaces */
.home-intro-fullscreen {
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}

/* Home: dark hero + full-bleed interactive 3D (canvas); copy passes pointer through except CTAs */
.home-hero {
  position: relative;
  z-index: 1;
}

.home-hero--dark {
  min-height: 100vh;
  min-height: 100dvh;
  background: #0d1324;
  overflow: hidden;
  isolation: isolate;
}

.home-hero__canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  pointer-events: auto;
}

.home-hero__neural-canvas {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  touch-action: none;
  cursor: grab;
}

.home-hero__neural-canvas:active {
  cursor: grabbing;
}

/* Dark left vignette — keeps copy readable; fades out before the open graph area (no milky overlay). */
.home-hero__copy-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    102deg,
    rgba(13, 19, 36, 0.88) 0%,
    rgba(13, 19, 36, 0.72) 28%,
    rgba(13, 19, 36, 0.34) 48%,
    rgba(13, 19, 36, 0.06) 62%,
    transparent 72%
  );
}

/* Captures wheel / touch on the copy column so the page scrolls; 3D stays interactive on the open right side. */
.home-hero__interact-shield {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(58%, 560px);
  z-index: 1.5;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

@media (max-width: 719px) {
  .home-hero__interact-shield {
    width: 100%;
    height: 52%;
    bottom: auto;
  }

  .home-hero__copy-shade {
    background: linear-gradient(
      180deg,
      rgba(13, 19, 36, 0.96) 0%,
      rgba(13, 19, 36, 0.84) 34%,
      rgba(13, 19, 36, 0.38) 52%,
      rgba(13, 19, 36, 0.06) 66%,
      transparent 78%
    );
  }
}

.home-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(28px, 5vh, 56px)) clamp(20px, 4vw, 52px) clamp(40px, 7vh, 72px);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.home-hero__content .hero-copy__actions,
.home-hero__content .hero-copy__actions a {
  pointer-events: auto;
}

.home-hero .hero-copy {
  max-width: min(52rem, 100%);
}

.home-hero--dark .btn--ghost {
  color: rgba(244, 245, 247, 0.88);
  border-color: rgba(255, 255, 255, 0.28);
}

.home-hero--dark .btn--ghost:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__canvas-wrap {
    background: #0d1324;
  }
}

#site-continue {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

#home-hero-visual {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

/* ── Home index: page chrome matches dark hero (no light strip under sticky nav) ── */
.page-home .bg-mesh {
  display: none;
}

body.page-hero.page-home {
  background-color: #0d1324;
}

html:has(body.page-hero.page-home) {
  background-color: #0d1324;
}

/* ── Home: scroll story (OEM / suppliers → SDV → twin → outcomes) ── */
.home-hero-flow {
  position: relative;
  z-index: 1;
}

.home-hero-flow__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 55% at 20% -10%, rgba(78, 205, 196, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 95% 25%, rgba(91, 159, 212, 0.07) 0%, transparent 48%),
    radial-gradient(ellipse 50% 40% at 40% 90%, rgba(239, 131, 84, 0.06) 0%, transparent 52%),
    #0d1324;
}

/* Inside .band--dark (e.g. PULSAR Platform): one continuous night-blue surface — no seam */
.band--dark .home-hero-flow {
  background: transparent;
}

.band--dark .home-hero-flow__ambient {
  background: transparent;
}

.band--dark .platform-scroll-hint {
  border-top: none;
  margin-top: clamp(12px, 2.5vw, 22px);
  padding-top: 0;
}

.home-hero-flow__deck .flow-out.flow-out--link {
  position: relative;
  text-decoration: none;
  color: rgba(234, 247, 255, 0.95);
  border-color: rgba(120, 192, 255, 0.36);
  background:
    linear-gradient(145deg, rgba(51, 109, 184, 0.36) 0%, rgba(38, 79, 140, 0.22) 100%),
    rgba(14, 28, 52, 0.58);
  box-shadow:
    0 0 0 1px rgba(150, 208, 255, 0.12) inset,
    0 6px 16px rgba(22, 66, 122, 0.26);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.home-hero-flow__deck .flow-out.flow-out--link:hover,
.home-hero-flow__deck .flow-out.flow-out--link:focus-visible {
  transform: translateY(-1px);
  color: #f7fcff;
  border-color: rgba(132, 217, 255, 0.76);
  background:
    linear-gradient(145deg, rgba(76, 142, 221, 0.44) 0%, rgba(55, 100, 168, 0.26) 100%),
    rgba(15, 34, 64, 0.72);
  box-shadow:
    0 0 0 1px rgba(168, 234, 255, 0.28) inset,
    0 8px 20px rgba(45, 128, 222, 0.32),
    0 0 14px rgba(95, 194, 255, 0.22);
}

.home-hero-flow__deck .flow-out.flow-out--link:focus-visible {
  outline: 2px solid rgba(153, 224, 255, 0.8);
  outline-offset: 2px;
}

.platform-interactive-hint {
  margin: 12px 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(169, 220, 255, 0.84);
}

/* Platform page: nav stays pinned; full-bleed dark shell (no light seam behind header) */
body.page-platform {
  background: linear-gradient(168deg, var(--surface-night-edge) 0%, var(--surface-night) 38%, var(--surface-night-mid) 100%);
  color: #f4f5f7;
}

body.page-platform .bg-mesh {
  background:
    radial-gradient(ellipse 76% 52% at 88% 6%, rgba(91, 159, 212, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 58% 46% at 12% 88%, rgba(78, 205, 196, 0.09) 0%, transparent 48%),
    radial-gradient(ellipse 46% 38% at 50% 50%, rgba(239, 131, 84, 0.06) 0%, transparent 55%),
    linear-gradient(168deg, var(--surface-night-edge) 0%, var(--surface-night) 42%, var(--surface-night-mid) 100%);
}

body.page-platform .wrap {
  padding-top: var(--nav-h);
  background: transparent;
}

body.page-platform .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}

/* Glass pill aligned with hero pages — reads as one header with the fold */
.page-platform .site-header__inner {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(78, 205, 196, 0.12) 0%, transparent 40%, rgba(239, 131, 84, 0.08) 100%),
    rgba(21, 34, 56, 0.38);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 40px rgba(0, 0, 0, 0.22);
}

.page-platform .site-header__inner::after {
  display: block;
  opacity: 0.85;
  left: 8%;
  right: 8%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(78, 205, 196, 0.35) 25%,
    var(--teal) 48%,
    var(--orange) 70%,
    rgba(239, 131, 84, 0.45) 90%,
    transparent 100%
  );
}

.page-platform .site-header__inner::before {
  display: none;
}

/* Nav + logo: same light-on-dark treatment as homepage hero */
body.page-platform .logo {
  color: #f4f5f7;
}

body.page-platform .logo:hover {
  color: var(--teal);
}

body.page-platform .nav-list a {
  color: rgba(244, 245, 247, 0.84);
}

body.page-platform .nav-list a:hover {
  color: #f4f5f7;
  background: rgba(78, 205, 196, 0.16);
}

body.page-platform .nav-list a.is-active {
  color: #f4f5f7;
  background: rgba(78, 205, 196, 0.22);
  box-shadow: inset 0 0 0 1px rgba(78, 205, 196, 0.38);
}

body.page-platform .nav-dd-toggle {
  color: rgba(244, 245, 247, 0.84);
}

body.page-platform .nav-dd-toggle:hover {
  color: #f4f5f7;
  background: rgba(78, 205, 196, 0.16);
}

body.page-platform .nav-item--dropdown:has(.nav-dropdown a.is-active) > .nav-dd-toggle,
body.page-platform .nav-item--dropdown:has(.nav-mega__all.is-active) > .nav-dd-toggle {
  color: #f4f5f7;
  background: rgba(78, 205, 196, 0.22);
  box-shadow: inset 0 0 0 1px rgba(78, 205, 196, 0.38);
}

body.page-platform .nav-dropdown {
  background: rgba(14, 16, 22, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45);
}

body.page-platform .nav-dropdown__list a {
  color: rgba(244, 245, 247, 0.88);
}

body.page-platform .nav-dropdown__list a:hover {
  color: #fff;
  background: rgba(78, 205, 196, 0.18);
}

body.page-platform .nav-dropdown__list a.is-active {
  color: var(--teal);
  background: rgba(78, 205, 196, 0.18);
  box-shadow: inset 0 0 0 1px rgba(78, 205, 196, 0.32);
}

body.page-platform .nav-mega__label {
  color: var(--teal);
}

body.page-platform .nav-mega__all {
  color: #f4f5f7;
  border-color: rgba(78, 205, 196, 0.35);
}

body.page-platform .nav-mega__all:hover {
  background: rgba(78, 205, 196, 0.14);
}

body.page-platform .nav-toggle {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #f4f5f7;
}

@media (max-width: 900px) {
  body.page-platform .nav-list {
    background: rgba(10, 11, 15, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
  }

  body.page-platform .nav-list a {
    color: rgba(244, 245, 247, 0.92);
  }

  body.page-platform .nav-list a:hover {
    color: #fff;
    background: rgba(78, 205, 196, 0.18);
  }
}

.home-hero-flow__visual-intro {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 5vh, 44px) clamp(20px, 4vw, 52px) clamp(8px, 1.5vh, 16px);
  text-align: center;
}

.home-hero-flow__visual-intro-inner {
  max-width: min(36rem, 100%);
  margin: 0 auto;
}

.home-hero-flow__visual-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 245, 247, 0.55);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.home-hero-flow__visual-hint {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: rgba(244, 245, 247, 0.45);
}

.hero-copy--home .hero-copy__headline-home {
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  line-height: 1.08;
  margin-bottom: 1.35rem;
  color: #f8f9fb;
  text-shadow:
    0 2px 28px rgba(13, 19, 36, 0.92),
    0 1px 2px rgba(13, 19, 36, 0.88);
}

.hero-copy--home .hero-copy__headline-home em {
  background: linear-gradient(102deg, #72f0e9 0%, #58d4cc 42%, #7ebef0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 14px rgba(78, 205, 196, 0.42));
}

.hero-copy--home .hero-copy__lede--home {
  max-width: min(42rem, 100%);
  color: rgba(248, 249, 251, 0.88);
  text-shadow:
    0 1px 22px rgba(13, 19, 36, 0.9),
    0 1px 2px rgba(13, 19, 36, 0.82);
}

.home-hero-flow__scroller {
  position: relative;
  z-index: 1;
  min-height: 500vh;
}

.home-hero-flow__sticky {
  position: sticky;
  top: calc(var(--nav-h) + 6px);
  min-height: calc(100vh - var(--nav-h) - 16px);
  min-height: calc(100dvh - var(--nav-h) - 16px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(14px, 2.2vh, 22px) clamp(10px, 2.5vw, 24px) 10px;
  box-sizing: border-box;
}

.home-hero-flow__step-nav {
  position: absolute;
  top: clamp(10px, 2vh, 18px);
  right: clamp(10px, 2.5vw, 20px);
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.home-hero-flow__step-nav.is-active {
  opacity: 1;
  pointer-events: auto;
}

.home-hero-flow__step-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(78, 205, 196, 0.42);
  background: rgba(13, 19, 36, 0.82);
  color: rgba(244, 245, 247, 0.92);
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 6px 18px rgba(0, 0, 0, 0.28);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.home-hero-flow__step-btn:hover:not(:disabled),
.home-hero-flow__step-btn:focus-visible:not(:disabled) {
  border-color: rgba(78, 205, 196, 0.72);
  background: rgba(21, 34, 56, 0.94);
  color: var(--teal);
  transform: translateY(-1px);
}

.home-hero-flow__step-btn:focus-visible {
  outline: 2px solid rgba(78, 205, 196, 0.75);
  outline-offset: 2px;
}

.home-hero-flow__step-btn:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

.home-hero-flow__deck {
  width: 100%;
  max-width: min(900px, 96vw);
  margin: 0 auto;
}

.home-hero-flow__stage {
  --home-hero-frame: 0;
  width: 100%;
  margin: 0 auto;
  transition: opacity 0.35s ease;
}

.home-hero-flow__viz {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(4px, 1vw, 9px);
}

.home-hero-flow__slide {
  margin: clamp(6px, 1.2vw, 12px) 0 0;
  padding: 0 4px;
  text-align: center;
  font-size: clamp(0.78rem, 2vw, 0.92rem);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(244, 245, 247, 0.78);
  min-height: 2.15em;
  transition: color 0.35s ease;
}

.home-hero-flow__viz [data-reveal-at] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s ease,
    border-color 0.5s ease,
    box-shadow 0.5s ease;
  pointer-events: none;
}

.home-hero-flow__viz [data-reveal-at].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
}

/* Scope: expand + fade (avoid display:none pop). Frame/border still scrubs via --home-hero-frame. */
.home-hero-flow__viz .flow-pulsar-scope[data-reveal-at] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-height: 0;
  margin-top: 0;
  padding-block: 0;
  padding-inline: clamp(10px, 2vw, 14px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px);
  filter: none;
  pointer-events: none;
  transition:
    max-height 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.06s,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    gap 0.45s ease;
}

.home-hero-flow__viz .flow-pulsar-scope[data-reveal-at].is-visible {
  max-height: min(420px, 48vh);
  opacity: 1;
  transform: translateY(0);
  margin-top: 6px;
  padding: clamp(12px, 2.2vw, 16px) clamp(10px, 2vw, 14px) clamp(14px, 2.5vw, 18px);
  gap: clamp(8px, 1.5vw, 12px);
  pointer-events: auto;
}

/* Inside scope: staggered reveal, no blur */
.home-hero-flow__viz .flow-pulsar-scope [data-reveal-at] {
  filter: none;
  transition:
    opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero-flow__viz .flow-pulsar-scope .flow-arrows--to-agents[data-reveal-at] {
  transition-delay: 0.08s;
}

.home-hero-flow__viz .flow-pulsar-scope .flow-tier-label--out[data-reveal-at] {
  transition-delay: 0.18s;
}

.home-hero-flow__viz .flow-pulsar-scope .flow-out-grid .flow-out[data-reveal-at]:nth-child(1) {
  transition-delay: 0.26s;
}
.home-hero-flow__viz .flow-pulsar-scope .flow-out-grid .flow-out[data-reveal-at]:nth-child(2) {
  transition-delay: 0.32s;
}
.home-hero-flow__viz .flow-pulsar-scope .flow-out-grid .flow-out[data-reveal-at]:nth-child(3) {
  transition-delay: 0.38s;
}
.home-hero-flow__viz .flow-pulsar-scope .flow-out-grid .flow-out[data-reveal-at]:nth-child(4) {
  transition-delay: 0.44s;
}
.home-hero-flow__viz .flow-pulsar-scope .flow-out-grid .flow-out[data-reveal-at]:nth-child(5) {
  transition-delay: 0.5s;
}

.home-hero-flow__viz .flow-pulsar-scope .flow-arrows--to-agents[data-reveal-at] .flow-arrow {
  transform-origin: top center;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.33, 1.24, 0.52, 1);
}

.home-hero-flow__viz .flow-pulsar-scope .flow-arrows--to-agents[data-reveal-at]:not(.is-visible) .flow-arrow {
  transform: scaleY(0.12) translateY(-8px);
  opacity: 0.35;
}

.home-hero-flow__viz .flow-pulsar-scope .flow-arrows--to-agents[data-reveal-at].is-visible .flow-arrow {
  transform: scaleY(1) translateY(0);
  opacity: 1;
}

.home-hero-flow__viz .flow-pulsar-scope .flow-arrows--to-agents[data-reveal-at].is-visible .flow-arrow:nth-child(1) {
  transition-delay: 0.12s;
}
.home-hero-flow__viz .flow-pulsar-scope .flow-arrows--to-agents[data-reveal-at].is-visible .flow-arrow:nth-child(2) {
  transition-delay: 0.2s;
}
.home-hero-flow__viz .flow-pulsar-scope .flow-arrows--to-agents[data-reveal-at].is-visible .flow-arrow:nth-child(3) {
  transition-delay: 0.28s;
}

.flow-integration-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(7px, 1.4vw, 12px);
  max-height: 0;
  padding: 0 clamp(10px, 2vw, 18px);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(78, 205, 196, 0);
  background: linear-gradient(165deg, rgba(21, 34, 56, 0) 0%, rgba(7, 8, 11, 0) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transition:
    max-height 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s ease,
    background 0.55s ease;
}

.home-hero-flow__viz .flow-integration-shell.is-visible {
  max-height: min(780px, 80vh);
  padding: clamp(10px, 1.8vw, 16px) clamp(10px, 2vw, 18px);
  border-color: rgba(78, 205, 196, 0.28);
  background: linear-gradient(165deg, rgba(21, 34, 56, 0.55) 0%, rgba(7, 8, 11, 0.72) 100%);
}

.flow-cycle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(5px, 1.2vw, 10px);
  width: 100%;
}

.flow-cycle-disc {
  position: relative;
  width: min(228px, min(34vw, 280px));
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 28%;
  border: 2px solid rgba(78, 205, 196, 0.38);
  background:
    radial-gradient(circle at 35% 25%, rgba(91, 159, 212, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 65% 75%, rgba(78, 205, 196, 0.07) 0%, transparent 50%),
    rgba(7, 8, 11, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-radius 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.55s ease,
    box-shadow 0.55s ease,
    background 0.55s ease;
}

.home-hero-flow__stage--twin-era .flow-cycle-disc {
  border-radius: 50%;
  border-color: rgba(78, 205, 196, 0.52);
  box-shadow:
    0 0 0 1px rgba(78, 205, 196, 0.12) inset,
    0 0 44px rgba(78, 205, 196, 0.14);
}

/* Softer ramp into agents beat: slightly richer halo once scope / agents are in play */
.home-hero-flow__stage[data-scroll-step="18"] .flow-cycle-disc,
.home-hero-flow__stage[data-scroll-step="19"] .flow-cycle-disc,
.home-hero-flow__stage[data-scroll-step="20"] .flow-cycle-disc {
  box-shadow:
    0 0 0 1px rgba(78, 205, 196, 0.14) inset,
    0 0 52px rgba(78, 205, 196, 0.2),
    0 0 88px rgba(91, 159, 212, 0.09);
  transition:
    border-radius 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.7s ease,
    box-shadow 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.65s ease;
}

.flow-cycle-ring-glow {
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: conic-gradient(
    from 200deg,
    transparent 0deg,
    rgba(78, 205, 196, 0.14) 55deg,
    transparent 110deg,
    rgba(91, 159, 212, 0.1) 200deg,
    transparent 290deg,
    rgba(78, 205, 196, 0.1) 340deg,
    transparent 360deg
  );
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
  z-index: 0;
}

.home-hero-flow__stage--twin-era .flow-cycle-ring-glow {
  opacity: 1;
  animation: flow-cycle-sweep 14s linear infinite;
}

@keyframes flow-cycle-sweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-flow__stage--twin-era .flow-cycle-ring-glow {
    animation: none;
    opacity: 0.55;
  }
}

/* Dependency knot inside the twin disc (SD system parts + links) */
.flow-cycle-twin-graph {
  position: absolute;
  inset: 7%;
  z-index: 1;
  opacity: 0;
  transform: scale(0.94);
  pointer-events: none;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero-flow__stage--twin-era .flow-cycle-twin-graph {
  opacity: 1;
  transform: scale(1);
}

.flow-cycle-twin-graph__canvas {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: top;
}

.flow-cycle-orbit-dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.home-hero-flow__viz .flow-cycle-orbit-dots[data-reveal-at] {
  filter: none;
  transition:
    opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

.flow-cycle-orbit-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(91, 159, 212, 0.55);
  transform: rotate(calc(var(--i) * 72deg)) translateY(calc(-1 * var(--orbit-ray, 102px)));
}

.flow-cycle-pains {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.flow-pain--on-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  --ring-r: min(118px, 32vw);
  transform: translate(-50%, -50%) rotate(var(--ring-angle, 0deg)) translateY(calc(-1 * var(--ring-r)))
    rotate(calc(-1 * var(--ring-angle, 0deg)));
  white-space: normal;
  max-width: 6.8rem;
  text-align: center;
  line-height: 1.15;
}

/* Reveal rule resets transform:none — restore polar placement for ring pains */
.home-hero-flow__viz .flow-pain--on-ring[data-reveal-at].is-visible {
  transform: translate(-50%, -50%) rotate(var(--ring-angle, 0deg)) translateY(calc(-1 * var(--ring-r, 124px)))
    rotate(calc(-1 * var(--ring-angle, 0deg)));
  filter: none;
}

.flow-cycle-center {
  position: relative;
  z-index: 4;
  width: 82%;
  min-height: 3.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.flow-cycle-hubtext,
.flow-cycle-understanding {
  transition: opacity 0.45s ease;
}

.flow-cycle-hubtext {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flow-cycle-hubtext__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.flow-cycle-hubtext__sub {
  font-size: clamp(0.72rem, 1.9vw, 0.86rem);
  line-height: 1.32;
  color: rgba(244, 245, 247, 0.76);
}

.flow-cycle-understanding {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
}

/* Hub + ring pains fade together when PULSAR lands (step ≥ 6) */
.home-hero-flow__stage--integration-retired .home-hero-flow__viz .flow-cycle-hubtext.is-visible,
.home-hero-flow__stage--integration-retired .home-hero-flow__viz .flow-pain--on-ring.is-visible {
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    filter 0.45s ease,
    transform 0.45s ease;
}

.home-hero-flow__stage--integration-retired .home-hero-flow__viz .flow-cycle-hubtext.is-visible {
  transform: none;
  filter: none;
}

.home-hero-flow__stage--integration-retired .home-hero-flow__viz .flow-pain--on-ring.is-visible {
  filter: blur(4px);
  transform: translate(-50%, -50%) rotate(var(--ring-angle, 0deg)) translateY(calc(-1 * var(--ring-r, 124px)))
    rotate(calc(-1 * var(--ring-angle, 0deg))) scale(0.92);
}

/* PULSAR beat: ensure hub stays hidden if still in DOM */
.home-hero-flow__stage--twin-era .home-hero-flow__viz .flow-cycle-hubtext.is-visible {
  opacity: 0;
  pointer-events: none;
  transform: none;
  filter: none;
}

.home-hero-flow__stage--twin-era .flow-cycle-understanding {
  opacity: 1;
  pointer-events: auto;
}

.flow-cycle-understanding__brand {
  font-family: var(--mono);
  font-size: clamp(0.85rem, 2.4vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--teal);
}

.flow-cycle-understanding__tag {
  font-size: clamp(0.78rem, 2.1vw, 0.88rem);
  color: rgba(244, 245, 247, 0.9);
  line-height: 1.3;
  max-width: 12rem;
}

.flow-signals--cycle {
  width: 100%;
  max-width: min(36rem, 100%);
}

.flow-pulsar-scope {
  position: relative;
  flex-direction: column;
  align-items: stretch;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  isolation: isolate;
  /* Fallback when color-mix unsupported: glow still scrubs with --home-hero-frame */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 calc(6px + 34px * var(--home-hero-frame, 0)) rgba(78, 205, 196, calc(0.05 + 0.15 * var(--home-hero-frame, 0)));
}

@supports (color-mix(in srgb, red, blue)) {
  .flow-pulsar-scope {
    border-color: color-mix(
      in srgb,
      rgba(255, 255, 255, 0.14) calc(100% * (1 - var(--home-hero-frame, 0))),
      rgba(78, 205, 196, 0.58) calc(100% * var(--home-hero-frame, 0))
    );
    background: color-mix(
      in srgb,
      rgba(0, 0, 0, 0.24) calc(100% * (1 - var(--home-hero-frame, 0))),
      rgba(78, 205, 196, 0.085) calc(100% * var(--home-hero-frame, 0))
    );
    box-shadow:
      0 0 0 1px
        color-mix(
          in srgb,
          rgba(255, 255, 255, 0.05) calc(100% * (1 - var(--home-hero-frame, 0))),
          rgba(78, 205, 196, 0.22) calc(100% * var(--home-hero-frame, 0))
        )
        inset,
      0 0 calc(6px + 34px * var(--home-hero-frame, 0)) rgba(78, 205, 196, calc(0.04 + 0.14 * var(--home-hero-frame, 0)));
  }
}

.flow-arrows--to-agents {
  margin: 4px 0 2px;
}

.flow-outputs--under-twin {
  margin-top: 0;
}

.flow-pulsar-platform-banner {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(255, 255, 255, calc(0.06 + 0.06 * var(--home-hero-frame, 0)));
  text-align: center;
  opacity: var(--home-hero-frame, 0);
  transform: translateY(calc(10px * (1 - var(--home-hero-frame, 0))));
  /* No blur or transition: values track scroll each frame (blur caused jank). */
  pointer-events: none;
}

/* Cap over the whole integration shell so Platform reads as framing twin + map + agents */
.flow-pulsar-platform-banner--shell {
  margin-top: 0;
  margin-bottom: clamp(5px, 1.2vw, 10px);
  padding-top: 0;
  padding-bottom: clamp(6px, 1.4vw, 11px);
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-color: rgba(255, 255, 255, calc(0.07 + 0.09 * var(--home-hero-frame, 0)));
  max-width: min(40rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.flow-pulsar-platform-banner__title {
  display: block;
  font-family: var(--mono);
  font-size: clamp(0.72rem, 2vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.flow-pulsar-platform-banner__sub {
  display: block;
  margin-top: 6px;
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  color: rgba(244, 245, 247, 0.72);
}

.flow-pain-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  min-height: 2em;
}

.flow-pain {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.5);
  color: #fecaca;
  background: rgba(185, 28, 28, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2) inset,
    0 0 24px rgba(220, 38, 38, 0.12);
}

.home-hero-flow__deck .flow-pain {
  font-size: 0.7rem;
  padding: 8px 14px;
}

.home-hero-flow__deck .flow-pain--on-ring {
  font-size: 0.58rem;
  padding: 6px 9px;
  letter-spacing: 0.035em;
  max-width: 7.4rem;
}

/* Non-ring pains (if any) fade with twin-era */
.home-hero-flow__stage--twin-era .home-hero-flow__viz .flow-pain.is-visible:not(.flow-pain--on-ring) {
  opacity: 0;
  transform: translateY(-10px) scale(0.92);
  filter: blur(4px);
  pointer-events: none;
}

.flow-sdv-plate.is-visible {
  border-color: rgba(78, 205, 196, 0.5);
  box-shadow:
    0 0 36px rgba(78, 205, 196, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.home-hero-flow__stage--twin-era .flow-sdv-plate.is-visible {
  border-color: rgba(78, 205, 196, 0.35);
  box-shadow:
    0 0 28px rgba(78, 205, 196, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.flow-tier-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 245, 247, 0.45);
  margin-bottom: 8px;
  display: block;
  text-align: center;
  transition: color 0.5s ease, opacity 0.5s ease;
}

.home-hero-flow__deck .flow-tier-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.flow-tier-label--out {
  margin-top: 4px;
  margin-bottom: 10px;
}

.flow-tier-labels-row {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 6px;
  text-align: center;
}

.flow-tier-label--sources-head {
  margin-bottom: 0;
}

.home-hero-flow__viz .flow-tier-labels-row [data-reveal-at] {
  display: none;
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: none;
}

.home-hero-flow__viz .flow-tier-labels-row [data-reveal-at].is-visible {
  display: inline;
  pointer-events: auto;
}

.flow-tier--sources {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(5px, 1.1vw, 9px);
  width: 100%;
  max-width: min(28rem, 100%);
}

@media (min-width: 720px) {
  .flow-tier--sources {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: clamp(10px, 1.8vw, 22px);
    row-gap: clamp(4px, 0.9vw, 8px);
    align-items: start;
    max-width: none;
  }

  .flow-tier--sources > .flow-tier-labels-row {
    grid-column: 1 / -1;
  }

  .flow-tier--sources > .flow-chips--domains {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .flow-tier--sources > .flow-chips--subsystems {
    grid-column: 1;
    grid-row: 3;
    justify-content: flex-start;
  }

  .flow-tier--sources > .flow-supplier-chain {
    grid-column: 2;
    grid-row: 2 / 5;
    align-self: start;
    margin-top: 0;
  }

  .flow-tier--sources > .flow-ai-chain {
    grid-column: 3;
    grid-row: 2 / 5;
    align-self: start;
    margin-top: 0;
  }
}

.flow-supplier-chain {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 0 2px 14px;
  border-left: 2px solid rgba(91, 159, 212, 0.32);
  margin-top: 2px;
}

.flow-chips--suppliers-more {
  justify-content: center;
}

.flow-tier--sources .flow-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.flow-chip {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 245, 247, 0.88);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
}

.home-hero-flow__deck .flow-chip {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 8px 13px;
  border-radius: 11px;
}

.flow-chip--oem {
  border-color: rgba(91, 159, 212, 0.35);
  background: rgba(91, 159, 212, 0.1);
}

.flow-chip--box {
  border-color: rgba(244, 245, 247, 0.2);
  background: rgba(0, 0, 0, 0.25);
}

.flow-chip--ai {
  border-color: rgba(255, 140, 60, 0.45);
  background: rgba(255, 100, 20, 0.1);
  color: rgba(255, 180, 100, 0.95);
}

/* AI chain: 3rd column, mirrors flow-supplier-chain structure */
.flow-ai-chain {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 0 2px 14px;
  border-left: 2px solid rgba(255, 140, 60, 0.32);
  margin-top: 2px;
}

.flow-chips--ai-more {
  justify-content: center;
}

/* AI arrow tint */
.flow-arrow--ai {
  background: linear-gradient(180deg, rgba(255, 140, 60, 0.9), rgba(255, 140, 60, 0.2));
}
.flow-arrow--ai::after {
  border-top-color: rgba(255, 140, 60, 0.9);
}

/* Pain labels styled as red/problem pills */
.flow-pain--problem.is-visible {
  border-color: rgba(230, 70, 60, 0.55);
  background: rgba(200, 40, 30, 0.18);
  color: rgba(255, 140, 130, 0.95);
}

/* Push ring pains further out to avoid center overlap */
.flow-pain--on-ring {
  --ring-r: min(145px, 38vw);
}

.flow-arrows-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 36px);
}

.flow-arrows {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 5vw, 44px);
  transition: opacity 0.6s ease;
}

.flow-arrow {
  width: 3px;
  height: clamp(22px, 4.5vw, 34px);
  background: linear-gradient(180deg, var(--teal), rgba(78, 205, 196, 0.2));
  border-radius: 2px;
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--teal);
  opacity: 0.85;
}

.flow-arrow--out {
  transform: rotate(180deg);
}

.flow-sdv-plate {
  text-align: center;
  padding: clamp(14px, 3vw, 20px) clamp(16px, 4vw, 24px);
  border-radius: 16px;
  border: 1px solid rgba(78, 205, 196, 0.22);
  background: linear-gradient(145deg, rgba(78, 205, 196, 0.1) 0%, rgba(21, 34, 56, 0.45) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: border-color 0.6s ease, box-shadow 0.6s ease, transform 0.6s ease;
}

.home-hero-flow__deck .flow-sdv-plate {
  padding: clamp(18px, 3.5vw, 26px) clamp(20px, 4vw, 28px);
  border-radius: 18px;
}

.flow-sdv-plate__label {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.home-hero-flow__deck .flow-sdv-plate__label {
  font-size: 0.82rem;
}

.flow-sdv-plate__sub {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: rgba(244, 245, 247, 0.72);
  line-height: 1.4;
}

.home-hero-flow__deck .flow-sdv-plate__sub {
  font-size: 0.95rem;
  margin-top: 8px;
}

.flow-signals {
  text-align: center;
}

.flow-signals__label {
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(239, 131, 84, 0.85);
}

.home-hero-flow__deck .flow-signals__label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.flow-signals__streams {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.flow-signals__streams span {
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(239, 131, 84, 0.6), transparent);
  animation: flow-stream 1.8s ease-in-out infinite;
}

.flow-signals__streams span:nth-child(2) {
  animation-delay: 0.25s;
}

.flow-signals__streams span:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes flow-stream {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.flow-out-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.flow-out {
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(78, 205, 196, 0.25);
  color: rgba(244, 245, 247, 0.9);
  background: rgba(78, 205, 196, 0.08);
  transition: transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.home-hero-flow__deck .flow-out {
  font-size: 0.66rem;
  padding: 10px 14px;
}

.home-hero-flow__deck .flow-tier-label--out {
  font-size: 0.72rem;
}

@media (max-width: 719px) {
  .home-hero-flow__deck {
    max-width: min(520px, 100%);
  }

  .home-hero-flow__sticky {
    justify-content: center;
    gap: clamp(10px, 2.5vh, 20px);
    padding-bottom: clamp(12px, 2vh, 18px);
  }

  .home-hero-flow__slide {
    font-size: clamp(0.82rem, 3.4vw, 0.92rem);
    line-height: 1.45;
    padding-inline: clamp(8px, 3vw, 16px);
  }

  .home-hero-flow__step-btn {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 44px;
    min-height: 44px;
  }

  .home-hero-flow__scroller {
    min-height: 420vh;
  }

  .platform-scroll-hint__label {
    font-size: 0.72rem;
  }

  .home-hero-flow__deck .flow-chip {
    font-size: 0.64rem;
    padding: 9px 12px;
    min-height: 36px;
  }

  .home-hero-flow__deck .flow-tier-label {
    font-size: 0.64rem;
  }
}

@media (max-height: 800px) {
  .home-hero-flow__sticky {
    padding-top: 4px;
    padding-bottom: 6px;
  }

  .home-hero-flow__viz {
    gap: 3px;
  }

  .flow-cycle-disc {
    width: min(208px, min(38vw, 240px));
  }

  .flow-cycle-center {
    min-height: 3.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-cycle-twin-graph__canvas {
    display: none;
  }

  .home-hero-flow__stage--twin-era .flow-cycle-twin-graph {
    transition: none;
    background: radial-gradient(
      circle at 50% 45%,
      rgba(78, 205, 196, 0.14) 0%,
      rgba(91, 159, 212, 0.06) 42%,
      transparent 68%
    );
  }

  .flow-signals__streams span {
    animation: none;
  }

  .home-hero-flow__viz [data-reveal-at] {
    transition: none !important;
  }

  .home-hero-flow__viz [data-reveal-at]:not(.is-visible) {
    filter: none;
    transform: none;
  }

  .home-hero-flow__viz .flow-pulsar-scope[data-reveal-at] {
    transition: none !important;
    max-height: none !important;
    transform: none !important;
    opacity: 1 !important;
    gap: clamp(6px, 1.2vw, 10px);
  }

  .home-hero-flow__viz .flow-pulsar-scope[data-reveal-at]:not(.is-visible) {
    display: none;
    margin: 0;
    padding: 0;
  }

  .home-hero-flow__viz .flow-pulsar-scope[data-reveal-at].is-visible {
    display: flex;
    margin-top: 6px;
    padding: clamp(12px, 2.2vw, 16px) clamp(10px, 2vw, 14px) clamp(14px, 2.5vw, 18px);
  }

  .home-hero-flow__viz .flow-pulsar-scope .flow-arrows--to-agents[data-reveal-at] .flow-arrow {
    transform: none !important;
    opacity: 1 !important;
  }

  .flow-chip,
  .flow-tier--sources .flow-chips {
    transition: none !important;
  }
}

/* Home: industries fold — same depth as hero, glass cards echo sticky nav */
.page-home .home-industries-band {
  --band-bg: var(--surface-night);
  background:
    radial-gradient(ellipse 78% 55% at 92% 0%, rgba(91, 159, 212, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 62% 50% at 8% 100%, rgba(78, 205, 196, 0.1) 0%, transparent 52%),
    radial-gradient(ellipse 48% 38% at 48% 42%, rgba(239, 131, 84, 0.07) 0%, transparent 58%),
    linear-gradient(168deg, var(--surface-night-edge) 0%, var(--surface-night) 45%, var(--surface-night-mid) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .home-industries-band .home-industry-card {
  background:
    linear-gradient(145deg, rgba(78, 205, 196, 0.09) 0%, transparent 42%, rgba(239, 131, 84, 0.06) 100%),
    rgba(255, 255, 255, 0.042);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
}

.page-home .home-industries-band .home-industry-card:hover {
  border-color: rgba(78, 205, 196, 0.5);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 22px 56px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(78, 205, 196, 0.14);
}

.page-home .home-industries-band .home-industry-card__visual {
  background: linear-gradient(180deg, #182642 0%, #121e33 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .home-industries-band .home-industry-card__visual::before {
  opacity: 0.95;
}

/* Home + hero: nav blends into dark fold — low-contrast glass, no heavy slab */
body.page-hero.page-home .site-header {
  background: transparent;
}

body.page-hero.page-home .site-header__inner {
  background: rgba(7, 8, 11, 0.18);
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 10px 36px rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(120%) blur(12px);
  -webkit-backdrop-filter: saturate(120%) blur(12px);
}

body.page-hero.page-home .site-header__inner::after {
  opacity: 0.28;
  left: 12%;
  right: 12%;
}

body.page-hero.page-home .nav-list a {
  color: rgba(244, 245, 247, 0.78);
}

body.page-hero.page-home .nav-list a:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(78, 205, 196, 0.12);
}

body.page-hero.page-home .nav-toggle {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(244, 245, 247, 0.9);
}

