/* Content stays visible if JavaScript or animation support is unavailable. */
@media (prefers-reduced-motion: no-preference) {
  .motion-pending { opacity: 0; }
  .motion-active { will-change: translate, opacity; }
  .hero-backdrop { will-change: transform; }
  /* Keep the glass effect while reducing repeated blur over the moving portrait. */
  .hero .glass { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .hero-backdrop.native-parallax {
    animation: portrait-parallax auto linear both;
    animation-timeline: scroll(root block);
    animation-range: var(--parallax-start) var(--parallax-end);
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion-pending { opacity: 1 !important; }
  .hero-backdrop { transform: none !important; will-change: auto; }
}
@media print {
  .motion-pending { opacity: 1 !important; }
  .hero-backdrop { transform: none !important; }
}

@keyframes portrait-parallax {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, var(--parallax-distance), 0); }
}
