/* Base timings, shimmer, sparkle layer, border beam and marquee are in style.css. */
[data-order="1"] { --i: 1; }
[data-order="2"] { --i: 2; }
[data-order="3"] { --i: 3; }
[data-order="4"] { --i: 4; }
[data-order="5"] { --i: 5; }

/* Keep the currently focused control visible during a scroll reveal. */
.js [data-reveal]:not(.is-in):focus-within {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

html:not(.js) .marquee__viewport,
.marquee--static .marquee__viewport {
  overflow-x: auto;
  -webkit-mask-image: none;
  mask-image: none;
}

.marquee--static [data-marquee-copy] { display: none; }

@media (max-width: 63.99rem) {
  html:not(.js) .nav__toggle,
  html:not(.js) .nav__list,
  html:not(.js) .fab { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__sparkles, [data-marquee-copy] { display: none; }
  .hero__title, .section__title::after, .btn--shine::after, .beam, [data-spotlight]::after {
    animation: none !important;
    transition: none !important;
  }
  .part__card:hover { transform: none; }
  [data-spotlight]:hover::after { opacity: 0; }
}
