/* ==========================================================================
   Virtuant AI — homepage
   Scene-by-scene styles, in the order the visitor meets them.
   ========================================================================== */

/* ============================================================== 01 hero == */

.hero-stage {
  position: relative;
  height: 118svh;
  min-height: 700px;
}

.hero {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 22%, rgba(59, 116, 255, .18), transparent 58%),
    radial-gradient(80% 70% at 8% 84%, rgba(122, 75, 240, .14), transparent 62%),
    var(--ink-950);
}

.hero__field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .85;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 3, 11, .78) 0%, transparent 22%),
    linear-gradient(0deg, var(--ink-900) 0%, transparent 26%);
}

.hero__inner {
  position: relative;
  width: 100%;
  align-self: center;
  padding-top: clamp(4rem, 9vh, 7rem);
}

/* The mark sits behind the headline rather than competing for width with it. */
.hero__copy {
  position: relative;
  z-index: 1;
  max-width: min(100%, 62rem);
}

.hero__title {
  margin: 1.5rem 0 1.9rem;
  font-weight: 600;
}

.hero__title .line:nth-child(2) > span { --line-delay: .09s; }
.hero__title .line:nth-child(3) > span { --line-delay: .18s; }

.hero__title .accent { font-size: 1.06em; }

.hero__lede {
  max-width: 45ch;
  opacity: 0;
  animation: hero-in .9s var(--e-out) .55s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.4rem;
  opacity: 0;
  animation: hero-in .9s var(--e-out) .68s forwards;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* The mark, its orbit rings, and a slow ambient drift ---------------------- */

.hero__mark {
  position: absolute;
  top: 50%;
  right: calc(var(--gutter) * -0.35);
  width: min(40vw, 480px);
  aspect-ratio: 1;
  transform: translateY(-52%);
}

.hero__orb {
  position: relative;
  z-index: 1;
  width: 78%;
  margin: 11%;
  filter: drop-shadow(0 34px 90px rgba(59, 116, 255, .45));
  animation: orb-drift 13s var(--e-inout) infinite;
}

@keyframes orb-drift {
  0%, 100% { transform: translate3d(0, -1.2%, 0) scale(1); }
  50% { transform: translate3d(0, 1.6%, 0) scale(1.018); }
}

.orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit__ring {
  stroke: rgba(146, 172, 255, .16);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.orbit__ring--b { stroke-dasharray: 2 9; }

.orbit__arc {
  stroke: var(--cyan);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 90 1090;
  vector-effect: non-scaling-stroke;
  transform-origin: 50% 50%;
  animation: orbit-run 9s linear infinite;
  filter: drop-shadow(0 0 6px rgba(35, 224, 255, .8));
}

.orbit__arc--b {
  stroke: var(--magenta);
  stroke-dasharray: 54 914;
  animation-duration: 14s;
  animation-direction: reverse;
  filter: drop-shadow(0 0 6px rgba(226, 67, 216, .7));
}

@keyframes orbit-run {
  to { transform: rotate(360deg); }
}

/* Foot rail --------------------------------------------------------------- */

.hero__foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: clamp(1.5rem, 4vh, 2.6rem);
  font-size: var(--t-sm);
  color: var(--paper-faint);
  opacity: 0;
  animation: hero-in .9s var(--e-out) .9s forwards;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: var(--t-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 34px;
  background: var(--line-strong);
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 40%;
  background: var(--cyan);
  animation: cue-run 2.2s var(--e-inout) infinite;
}

@keyframes cue-run {
  0% { transform: translateY(-120%); }
  60%, 100% { transform: translateY(280%); }
}

@media (max-width: 900px) {
  .hero-stage { height: auto; min-height: 0; }
  .hero { position: relative; height: auto; min-height: 100svh; padding-top: 6rem; }

  .hero__inner {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero__mark {
    top: 0;
    right: -22%;
    width: min(84vw, 440px);
    opacity: .28;
    transform: none;
    pointer-events: none;
  }
  .hero__foot p { display: none; }
  .hero__foot { justify-content: flex-end; }
}

/* ======================================================== 02 bottleneck == */

.bottleneck {
  position: relative;
  z-index: 2;
  /* Queue items slide in from the right; the section keeps them off the page. */
  overflow: hidden;
  background: var(--ink-900);
  padding-top: clamp(5rem, 11vh, 9rem);
}

.spine {
  position: absolute;
  top: 0;
  left: calc(50% + min(50vw, 660px) * .44);
  width: 1px;
  height: clamp(70px, 11vh, 150px);
  background: var(--line);
}

.spine i {
  display: block;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), transparent);
  transform: scaleY(var(--draw, 0));
  transform-origin: 50% 0;
}

.bottleneck__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.bottleneck__copy .lede { margin: 1.6rem 0 2rem; }
.bottleneck__copy h2 { margin-top: 1.4rem; }

/* The accumulating queue -------------------------------------------------- */

.queue {
  position: relative;
  padding: 2rem 0 3.5rem;
}

.queue__cap {
  font-size: var(--t-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin-bottom: 1.2rem;
}

.queue__stack { display: grid; gap: .55rem; }

.queue__stack li {
  --arrive: 0;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, var(--fill), transparent);
  font-size: var(--t-sm);
  color: var(--paper-dim);
  opacity: calc(.2 + var(--arrive) * .8);
  transform: translate3d(calc((1 - var(--arrive)) * 46px), 0, 0);
  transition: opacity .5s var(--e-out), transform .7s var(--e-out), border-color .3s linear;
}

.queue__stack li svg { width: 17px; height: 17px; flex: none; color: var(--paper-faint); }

.queue__stack li:nth-child(odd) { margin-right: clamp(0px, 4vw, 46px); }
.queue__stack li:nth-child(3n) { margin-left: clamp(0px, 3vw, 34px); }

.queue.is-full li {
  border-color: rgba(226, 67, 216, .34);
  color: var(--paper);
}

.queue.is-full li svg { color: var(--magenta); }

.queue__ceiling {
  position: absolute;
  inset: auto 0 1.6rem 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}

.queue__ceiling span {
  position: absolute;
  right: 0;
  top: .5rem;
  font-size: var(--t-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper-faint);
}

@media (max-width: 900px) {
  .bottleneck__grid { grid-template-columns: 1fr; }
  .spine { left: 50%; }
}

/* ========================================================== 03 pipeline == */

.pipeline-stage {
  position: relative;
  z-index: 2;
  height: 340vh;
  background: linear-gradient(180deg, var(--ink-900), var(--ink-950) 35%, var(--ink-900));
}

.pipeline {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  height: 100svh;
  padding-block: clamp(5rem, 10vh, 7rem) clamp(2rem, 5vh, 3.5rem);
  overflow: hidden;
}

.pipeline__head > * { max-width: 46rem; }
.pipeline__head h2 { margin-top: 1.1rem; }

.pipeline__viz {
  position: relative;
  align-self: center;
  width: min(100%, 1180px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.pipeline__base {
  width: 100%;
  height: auto;
  /* Revealed left → right as the scene is scrolled. */
  clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0);
  filter: saturate(1.05);
}

.pipeline__edge {
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: calc(var(--gutter) + (100% - var(--gutter) * 2) * var(--p, 0));
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--cyan) 22%, var(--magenta) 78%, transparent);
  box-shadow: 0 0 22px 3px rgba(59, 116, 255, .55);
  opacity: calc(1 - max(0, (var(--p, 0) - .92) * 12));
}

.pipeline__stages {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem clamp(1rem, 3vw, 2rem);
  max-width: var(--shell);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  font-size: var(--t-sm);
  color: var(--paper-faint);
}

.pipeline__stages li {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  flex: 1 1 8rem;
  transition: color .4s var(--e-out), border-color .4s var(--e-out);
}

.pipeline__stages .num { font-size: var(--t-xs); opacity: .7; }

.pipeline__stages li.is-on {
  color: var(--paper);
  border-top-color: var(--cyan);
}

@media (max-width: 760px) {
  .pipeline-stage { height: auto; }
  .pipeline { position: relative; height: auto; padding-block: var(--scene); }
  .pipeline__base { clip-path: none; }
  .pipeline__edge { display: none; }
  .pipeline__stages li { flex-basis: 45%; }
}

/* ========================================================== 04 showcase == */

.showcase { background: var(--ink-900); }

.showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.showcase__copy h2 { margin: 1.2rem 0 1.4rem; }

.stepper {
  display: grid;
  gap: .1rem;
  margin: 2.4rem 0;
  counter-reset: step;
}

.stepper li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: .25rem 1.1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.stepper li:last-child { border-bottom: 1px solid var(--line); }

.stepper svg {
  grid-row: span 2;
  width: 20px;
  height: 20px;
  margin-top: .3rem;
  color: var(--cyan);
}

.stepper b {
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .01em;
}

.stepper span { font-size: var(--t-sm); color: var(--paper-dim); }

/* Image "stage" with a light that travels its frame ----------------------- */

.stagecard {
  position: relative;
  border-radius: var(--r-md);
  padding: clamp(.9rem, 2vw, 1.6rem);
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(59, 116, 255, .16), transparent 65%),
    var(--ink-850);
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: transform .5s var(--e-out);
}

.stagecard img {
  width: 100%;
  border-radius: var(--r-sm);
  transform: translateZ(28px);
}

.stagecard__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--r-md);
  pointer-events: none;
  overflow: visible;
}

.stagecard__trace {
  stroke: var(--cyan);
  stroke-width: 1.5;
  stroke-dasharray: 34 366;
  filter: drop-shadow(0 0 5px rgba(35, 224, 255, .9));
  animation: trace-run 8s linear infinite;
  opacity: 0;
  transition: opacity .5s linear;
}

.stagecard:hover .stagecard__trace { opacity: 1; }

@keyframes trace-run {
  to { stroke-dashoffset: -400; }
}

@media (max-width: 980px) {
  .showcase__grid { grid-template-columns: 1fr; }
}

/* ========================================================== 05 converge == */

.converge {
  /* The expanding ring is allowed to exceed the stage, not the page. */
  overflow: hidden;
  background:
    radial-gradient(70% 50% at 50% 40%, rgba(122, 75, 240, .13), transparent 70%),
    var(--ink-950);
}

.converge__head { max-width: 50rem; }
.converge__head h2 { margin: 1.2rem 0 1.4rem; }

.converge__stage {
  position: relative;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  width: min(100%, 1000px);
}

/* The agent assembles: the frame opens outward from the centre on scroll,
   with a ring expanding just ahead of the reveal. */
.converge__figure img {
  width: 100%;
  border-radius: var(--r-md);
  clip-path: circle(calc(16% + var(--c, 1) * 92%) at 50% 52%);
}

.converge__ring {
  position: absolute;
  top: 52%;
  left: 50%;
  width: calc(32% + var(--c, 1) * 184%);
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 1px solid rgba(35, 224, 255, .28);
  border-radius: 50%;
  opacity: calc(.9 - var(--c, 1) * .9);
  pointer-events: none;
}

.converge__link { margin-top: clamp(2rem, 5vw, 3rem); }

/* ============================================================= 06 voice == */

.voice { background: var(--ink-900); }

.voice__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.voice__visual {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-850);
}

.voice__visual img { width: 100%; }

/* A full-width waveform closes the scene and answers the pointer. */
.voice__band {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  height: clamp(88px, 13vh, 140px);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.voice__wave { width: 100%; height: 100%; }

.voice__copy h2 { margin: 1.2rem 0 1.4rem; }

.transcript {
  display: grid;
  gap: .55rem;
  margin: 2.2rem 0;
}

.transcript li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: .95rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--fill);
  font-size: var(--t-sm);
}

.transcript b {
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper-faint);
}

.transcript span { color: var(--paper-dim); }

.transcript__agent {
  border-color: rgba(35, 224, 255, .26);
  background: linear-gradient(90deg, rgba(35, 224, 255, .08), transparent 70%);
}

.transcript__agent b { color: var(--cyan); }
.transcript__agent span { color: var(--paper); }

.transcript li:last-child span { color: var(--paper); }

@media (max-width: 980px) {
  .voice__grid { grid-template-columns: 1fr; }
  .voice__visual { order: 2; }
}

@media (max-width: 520px) {
  .transcript li { grid-template-columns: 1fr; gap: .3rem; }
}

/* ====================================================== 07 capabilities == */

.capabilities {
  position: relative;
  background: var(--ink-950);
}

.capabilities .shell { position: relative; }

.capabilities__head { max-width: 40rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.capabilities__head h2 { margin-top: 1.1rem; }

.cap-list { border-top: 1px solid var(--line); }

.cap-list a {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1.4rem minmax(0, 1fr) minmax(0, 1fr) 2rem;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.1rem, 2.4vw, 1.6rem) .25rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left .45s var(--e-out), border-color .3s linear;
}

.cap-list a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--spectrum);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .45s var(--e-out);
}

.cap-list a:hover { padding-left: 1.5rem; border-bottom-color: var(--line-strong); }
.cap-list a:hover::before { transform: scaleY(1); }

.cap-list .num {
  font-size: var(--t-xs);
  color: var(--paper-faint);
  letter-spacing: .1em;
}

.cap__icon {
  width: 20px;
  height: 20px;
  color: var(--paper-faint);
  transition: color .3s linear, transform .45s var(--e-out);
}

.cap-list a:hover .cap__icon { color: var(--cyan); transform: scale(1.12); }

.cap__name {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 560;
  letter-spacing: -0.025em;
}

.cap__note { font-size: var(--t-sm); color: var(--paper-faint); }

.cap__go {
  width: 18px;
  height: 18px;
  justify-self: end;
  color: var(--paper-faint);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s linear, transform .45s var(--e-out), color .3s linear;
}

.cap-list a:hover .cap__go { opacity: 1; transform: none; color: var(--cyan); }

@media (max-width: 860px) {
  .cap-list a { grid-template-columns: 2.2rem 1.2rem 1fr; column-gap: .9rem; }
  .cap__note { grid-column: 3; font-size: var(--t-xs); }
  .cap__go { display: none; }
}

/* ============================================================ 08 impact == */

.impact { background: var(--ink-900); }

.impact__head > * { max-width: 46rem; }
.impact__head h2 { margin: 1.1rem 0 1.2rem; }

.impact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.impact__grid article { padding-top: 1.6rem; border-top: 1px solid var(--line-strong); }

.impact__figure {
  display: flex;
  align-items: baseline;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.impact__figure i { font-style: normal; font-size: .5em; }
.impact__figure--word { font-size: clamp(2rem, 3.6vw, 2.7rem); }

.impact__grid h3 {
  margin: 1rem 0 .6rem;
  font-size: var(--t-md);
  font-weight: 560;
}

.impact__grid article > p:last-child {
  font-size: var(--t-sm);
  color: var(--paper-dim);
  max-width: 34ch;
}

/* ======================================================== 09 industries == */

.industries {
  background:
    radial-gradient(60% 60% at 85% 30%, rgba(59, 116, 255, .12), transparent 70%),
    var(--ink-950);
}

.industries__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.industries__copy h2 {
  margin: 1.1rem 0 2.5rem;
  font-size: clamp(2rem, 3.7vw, 3.15rem);
}

.industry-list { border-top: 1px solid var(--line); }

.industry-list button {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem .2rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--paper-dim);
  transition: color .3s linear, padding-left .4s var(--e-out);
}

.industry-list svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--paper-faint);
  transition: color .3s linear;
}

.industry-list span {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 540;
  letter-spacing: -0.02em;
}

.industry-list em {
  margin-left: auto;
  font-style: normal;
  font-size: var(--t-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-faint);
}

.industry-list button:hover { color: var(--paper); padding-left: .9rem; }
.industry-list button:hover svg { color: var(--cyan); }

.industry-list button[aria-pressed="true"] { color: var(--paper); }
.industry-list button[aria-pressed="true"] svg { color: var(--cyan); }

.industries__panel {
  position: relative;
  aspect-ratio: 16 / 10;
}

.industry-shot {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity .55s var(--e-out), transform .7s var(--e-out), visibility .55s;
}

.industry-shot.is-active { opacity: 1; visibility: visible; transform: none; }

.industry-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Caption rides on the panel so switching industries never shifts layout. */
.industry-shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3.5rem 1.4rem 1.3rem;
  font-size: var(--t-sm);
  color: var(--paper-dim);
  background: linear-gradient(0deg, rgba(1, 3, 11, .95) 34%, transparent);
}

.coded-panel {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  background:
    radial-gradient(80% 80% at 30% 15%, rgba(59, 116, 255, .2), transparent 60%),
    radial-gradient(70% 70% at 85% 90%, rgba(226, 67, 216, .16), transparent 60%),
    linear-gradient(180deg, var(--ink-800), var(--ink-950));
  overflow: hidden;
}

.coded-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(146, 172, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 172, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}

.coded-panel svg {
  position: relative;
  width: clamp(64px, 12vw, 104px);
  height: clamp(64px, 12vw, 104px);
  stroke-width: 1;
  color: rgba(242, 246, 255, .9);
  filter: drop-shadow(0 0 30px rgba(59, 116, 255, .5));
}

@media (max-width: 900px) {
  .industries__grid { grid-template-columns: 1fr; }
  .industries__panel { aspect-ratio: 16 / 11; }
}

/* ======================================================= 10 stack band == */

.stack-band {
  background: var(--ink-900);
  padding-block: clamp(4rem, 8vh, 6rem);
  overflow: hidden;
}

.marquee {
  display: grid;
  gap: .75rem;
  margin: 2.5rem 0 2rem;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__row { display: flex; width: max-content; }
.marquee__set {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-right: clamp(1.5rem, 4vw, 3.5rem);
  animation: marquee 42s linear infinite;
}

.marquee__row--rev .marquee__set { animation-direction: reverse; animation-duration: 52s; }

.marquee__set span {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(146, 172, 255, .3);
  white-space: nowrap;
  transition: color .35s linear, -webkit-text-stroke-color .35s linear;
}

.marquee:hover .marquee__set { animation-play-state: paused; }
.marquee__set span:hover { color: var(--paper); -webkit-text-stroke-color: transparent; }

@keyframes marquee {
  to { transform: translateX(-100%); }
}

.stack-band__note {
  font-size: var(--t-sm);
  color: var(--paper-faint);
  max-width: 44ch;
}

/* =========================================================== 11 closing == */

.closing {
  position: relative;
  background:
    radial-gradient(70% 90% at 50% 110%, rgba(122, 75, 240, .28), transparent 65%),
    var(--ink-950);
  text-align: center;
  overflow: hidden;
}

.closing::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--spectrum);
  opacity: .45;
  mask-image: linear-gradient(90deg, transparent, #000, transparent);
}

.closing__inner { display: grid; justify-items: center; gap: 1.4rem; }
.closing .lede { text-align: center; }

.closing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
  margin-top: 1rem;
}

/* ----------------------------------------------------- reduced motion --- */

@media (prefers-reduced-motion: reduce) {
  .orbit__arc,
  .hero__orb,
  .scroll-cue i::after,
  .stagecard__trace,
  .marquee__set { animation: none; }

  .hero__lede,
  .hero__actions,
  .hero__foot { opacity: 1; animation: none; }

  .pipeline-stage { height: auto; }
  .pipeline { position: relative; height: auto; padding-block: var(--scene); }
  .pipeline__base { clip-path: none; }
  .pipeline__edge { display: none; }
  .hero-stage { height: 100svh; }
  .queue__stack li { opacity: 1; transform: none; }
  .converge__figure img { clip-path: none; }
  .converge__ring { display: none; }
}
