/* Reveals: hidden only when the script is present, then eased in */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.stagger > :nth-child(2) {
  transition-delay: 0.1s;
}

.stagger > :nth-child(3) {
  transition-delay: 0.2s;
}

.stagger > :nth-child(4) {
  transition-delay: 0.3s;
}

.stagger > :nth-child(5) {
  transition-delay: 0.4s;
}

.stagger > :nth-child(6) {
  transition-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .roles::after,
  .live::before,
  .cycle span {
    animation: none;
  }

  .cycle span:first-child {
    opacity: 1;
  }

  .bar i {
    transition: none;
  }
}
