/* Visible by default so content is never stuck if GSAP fails. JS animates from a “hidden” state into view. */
.degi-reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
  will-change: auto;
}

.degi-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.degi-stagger > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.degi-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.65s ease, transform 0.75s var(--degi-spring-bounce);
}

.degi-stagger.is-visible > *:nth-child(1) {
  transition-delay: 0ms;
}
.degi-stagger.is-visible > *:nth-child(2) {
  transition-delay: 80ms;
}
.degi-stagger.is-visible > *:nth-child(3) {
  transition-delay: 160ms;
}
.degi-stagger.is-visible > *:nth-child(4) {
  transition-delay: 240ms;
}
.degi-stagger.is-visible > *:nth-child(5) {
  transition-delay: 320ms;
}
.degi-stagger.is-visible > *:nth-child(6) {
  transition-delay: 400ms;
}
.degi-stagger.is-visible > *:nth-child(7) {
  transition-delay: 480ms;
}
.degi-stagger.is-visible > *:nth-child(8) {
  transition-delay: 560ms;
}

.degi-pop {
  animation: degi-pop 0.55s var(--degi-spring-bounce) both;
}

@keyframes degi-pop {
  0% {
    transform: scale(0.85);
  }
  100% {
    transform: scale(1);
  }
}
