.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.scrollcue::after {
  animation: scroll-cue 2.2s ease infinite;
}

.btn-loader {
  display: none;
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: button-spin .75s linear infinite;
}

.btn.is-loading .btn-loader {
  display: inline-block;
}

@keyframes scroll-cue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes button-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
