/* Home page scroll reveals (js/custom/halbie-reveal.js). Nothing hides until
   the script adds html.ht-reveal-on. The rise uses `translate`, not `transform`,
   so a block's own transform (a row arrow's centering, a card's hover lift)
   is never replaced. The hidden state and the transition hold only until the
   block has settled, so the block's own rules take over again afterwards.
   720ms is kept equal to DURATION in the script. */
.ht-reveal-on .ht-reveal:not(.is-shown) {
  opacity: 0;
  translate: 0 20px;
}
.ht-reveal-on .ht-reveal:not(.is-settled) {
  transition: opacity 720ms cubic-bezier(.16, 1, .3, 1),
              translate 720ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--ht-reveal-delay, 0ms);
}
/* The first hide happens after the page has painted: no fade-out for it. */
.ht-reveal-on.ht-reveal-init .ht-reveal { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .ht-reveal-on .ht-reveal:not(.is-shown) { opacity: 1; translate: none; }
  .ht-reveal-on .ht-reveal { transition: none; }
}
