/* Progressive enhancement: pending content has NO hidden state.
   Only selected below-hero groups receive this class at viewport entry.
   Finite keyframes return to normal visible CSS even if JavaScript stops. */
#main-content .vh-scroll-reveal {
  animation: vh-fade-in-up 550ms cubic-bezier(0.22, 1, 0.36, 1) var(--vh-reveal-delay, 0ms) backwards;
}

@keyframes vh-fade-in-up {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 700px) {
  #main-content .vh-scroll-reveal { animation-name: vh-fade-in-up-mobile; animation-duration: 400ms; animation-delay: 0ms; }
}
@keyframes vh-fade-in-up-mobile {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Keyboard access and anchor destinations never wait for a decorative delay. */
#main-content .vh-scroll-reveal:focus-within,
#main-content .vh-scroll-reveal:target,
#main-content .vh-scroll-reveal:has(:target),
html[data-motion='off'] #main-content .vh-scroll-reveal {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  #main-content .vh-scroll-reveal { animation: none !important; }
}
@media print {
  #main-content .vh-scroll-reveal { animation: none !important; }
}
