/* Isolated comparison variant: the Dragonsan ecosystem becomes a scroll-directed film. */
.ecosystem-motion-page .ecosystem-motion-sequence {
  --ecosystem-progress: 0;
  position: relative;
  height: 390svh;
  background:
    radial-gradient(circle at 72% 48%, rgba(224, 82, 61, .1), transparent 33%),
    linear-gradient(145deg, #0b0b0d, #050506 68%);
  isolation: isolate;
}

.ecosystem-motion-page .ecosystem-motion-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.ecosystem-motion-page .ecosystem-motion-layout {
  width: min(1480px, calc(100% - clamp(64px, 8vw, 140px)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, .64fr);
  gap: clamp(52px, 8vw, 132px);
  align-items: center;
  padding-top: clamp(108px, 12svh, 150px);
  padding-bottom: clamp(54px, 8svh, 96px);
}

.ecosystem-motion-page .ecosystem-motion-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.ecosystem-motion-page .ecosystem-motion-copy .section-heading {
  max-width: 640px;
  margin-top: 22px;
  font-size: clamp(54px, 6.1vw, 94px);
  line-height: .91;
}

.ecosystem-motion-page .ecosystem-motion-copy .section-copy {
  max-width: 560px;
  margin-top: 28px;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.75;
}

.ecosystem-motion-page .ecosystem-motion-caption {
  max-width: 520px;
  margin: 30px 0 0;
  padding: 2px 0 2px 22px;
  border-left: 1px solid rgba(224, 82, 61, .72);
  color: #c8c1ba;
  font-size: .9rem;
  line-height: 1.6;
  transition: opacity .3s ease, transform .3s var(--ease);
}

.ecosystem-motion-page .ecosystem-motion-caption.is-changing {
  opacity: .2;
  transform: translateY(5px);
}

.ecosystem-motion-page .ecosystem-motion-media {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: auto;
  height: min(82svh, 900px);
  aspect-ratio: 9 / 16;
  margin: 0;
  contain: layout paint;
}

.ecosystem-motion-page .ecosystem-motion-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14% -24% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 82, 61, .14), transparent 67%);
  filter: blur(26px);
  opacity: calc(.55 + var(--ecosystem-progress) * .45);
  pointer-events: none;
}

.ecosystem-motion-page .ecosystem-motion-poster,
.ecosystem-motion-page .ecosystem-motion-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #050506;
}

.ecosystem-motion-page .ecosystem-motion-poster {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 1;
  transition: opacity .6s ease;
}

.ecosystem-motion-page .ecosystem-motion-canvas {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity .6s ease;
}

.ecosystem-motion-page .ecosystem-motion-sequence.is-sequence-ready .ecosystem-motion-canvas {
  opacity: 1;
}

.ecosystem-motion-page .ecosystem-motion-sequence.is-sequence-ready .ecosystem-motion-poster {
  opacity: 0;
}

.ecosystem-motion-page .ecosystem-motion-media figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ecosystem-motion-page .ecosystem-motion-progress {
  position: absolute;
  z-index: 3;
  left: max(24px, 5vw);
  right: max(24px, 5vw);
  bottom: 25px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .11);
}

.ecosystem-motion-page .ecosystem-motion-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(var(--ecosystem-progress));
  transform-origin: left center;
  will-change: transform;
}

.ecosystem-motion-page .ecosystem-motion-sequence.is-video-fallback {
  height: auto;
}

.ecosystem-motion-page .ecosystem-motion-sequence.is-video-fallback .ecosystem-motion-sticky {
  position: relative;
  min-height: 100svh;
}

.ecosystem-motion-page .ecosystem-motion-sequence.is-video-fallback .ecosystem-motion-progress {
  display: none;
}

@media (max-width: 880px) {
  .ecosystem-motion-page .ecosystem-motion-sequence {
    height: 420svh;
  }

  .ecosystem-motion-page .ecosystem-motion-sticky {
    align-items: stretch;
  }

  .ecosystem-motion-page .ecosystem-motion-layout {
    width: 100%;
    margin-inline: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: clamp(82px, 11svh, 112px) 18px 24px;
  }

  .ecosystem-motion-page .ecosystem-motion-copy {
    max-width: 680px;
  }

  .ecosystem-motion-page .ecosystem-motion-copy .section-heading {
    max-width: 680px;
    margin-top: 14px;
    font-size: clamp(40px, 10.8vw, 64px);
    line-height: .92;
  }

  .ecosystem-motion-page .ecosystem-motion-copy .section-copy {
    max-width: 620px;
    margin-top: 17px;
    font-size: clamp(.9rem, 2.4vw, 1rem);
    line-height: 1.55;
  }

  .ecosystem-motion-page .ecosystem-motion-caption {
    margin-top: 15px;
    padding-left: 15px;
    font-size: .82rem;
    line-height: 1.45;
  }

  .ecosystem-motion-page .ecosystem-motion-media {
    align-self: end;
    justify-self: center;
    width: auto;
    max-width: 100%;
    height: min(60svh, 630px);
  }

  .ecosystem-motion-page .ecosystem-motion-media::before {
    inset: 12% -18% 10%;
  }

  .ecosystem-motion-page .ecosystem-motion-progress {
    left: 18px;
    right: 18px;
    bottom: 14px;
  }
}

@media (max-width: 880px) and (max-height: 740px) {
  .ecosystem-motion-page .ecosystem-motion-layout {
    padding-top: 72px;
    padding-bottom: 18px;
  }

  .ecosystem-motion-page .ecosystem-motion-copy .section-heading {
    font-size: clamp(36px, 9.8vw, 50px);
  }

  .ecosystem-motion-page .ecosystem-motion-copy .section-copy {
    display: none;
  }

  .ecosystem-motion-page .ecosystem-motion-media {
    height: min(54svh, 430px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem-motion-page .ecosystem-motion-sequence {
    height: auto;
  }

  .ecosystem-motion-page .ecosystem-motion-sticky {
    position: relative;
    min-height: 100svh;
  }

  .ecosystem-motion-page .ecosystem-motion-poster,
  .ecosystem-motion-page .ecosystem-motion-canvas,
  .ecosystem-motion-page .ecosystem-motion-caption {
    transition: none;
  }

  .ecosystem-motion-page .ecosystem-motion-progress {
    display: none;
  }
}
