/* Decorative motion has its own layers, separate from content and native scrolling. */
.upfold .hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 1;
  transform: none;
  pointer-events: none;
  z-index: 0;
}
.upfold > h1,
.upfold > .description {
  position: relative;
  z-index: 1;
}
.hero-shape {
  position: absolute;
  transform: translate3d(0, var(--shape-y, 0px), 0);
}
.hero-shape-mark {
  display: block;
  width: 100%;
  height: 100%;
  animation: shape-arrive 1600ms both, shape-drift 14s 1600ms ease-in-out infinite alternate;
}
.hero-shape-main {
  top: 12%;
  right: -20rem;
  width: 34rem;
  height: 34rem;
}
.hero-shape-main svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-shape-main #polygon {
  fill: #9FE05F;
}
.hero-shape-ring {
  top: 15%;
  left: 7%;
  width: 5rem;
  height: 5rem;
  opacity: 0.25;
}
.hero-shape-ring .hero-shape-mark {
  border: 0.65rem solid #64CEC0;
  border-radius: 50%;
  animation-delay: 150ms, 1750ms;
}
.hero-shape-orb {
  bottom: 12%;
  left: 17%;
  width: 2.8rem;
  height: 2.8rem;
  opacity: 0.35;
}
.hero-shape-orb .hero-shape-mark {
  border-radius: 50%;
  background: #E68A76;
  animation-delay: 300ms, 1900ms;
}
.hero-shape-diamond {
  top: 8%;
  right: 14%;
  width: 4rem;
  height: 4rem;
  opacity: 0.2;
}
.hero-shape-diamond .hero-shape-mark {
  border-radius: 1rem;
  background: #E3A056;
  rotate: 30deg;
  animation-delay: 450ms, 2050ms;
}
.hero-motion-paused .hero-shape-mark {
  animation-play-state: paused;
}
.scroll-motion-ready :is(.case-study-list, .about-us) .pentagon {
  translate: 0 var(--decoration-y, 0px);
}
.scroll-motion-ready [data-parallax] {
  translate: 0 var(--parallax-y, 0px);
}
@keyframes shape-arrive {
  from { opacity: 0; scale: 0.75; }
  to { opacity: 1; scale: 1; }
}
@keyframes shape-drift {
  from { transform: translateY(-8px) rotate(-4deg); }
  to { transform: translateY(12px) rotate(7deg); }
}
@media (min-width: 1023px) {
  .hero-shape-main {
    top: 0;
    right: -36rem;
    width: 70rem;
    height: 70rem;
  }
  .hero-shape-ring { width: 7rem; height: 7rem; top: 20%; }
  .hero-shape-orb { width: 3.5rem; height: 3.5rem; }
  .hero-shape-diamond { width: 6rem; height: 6rem; top: 12%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-shape { transform: none; }
  .hero-shape-mark { animation: none; }
  [data-parallax] { translate: none; }
}
