/* Main site pages: motion to match the weddings pages */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: st-out 0.35s ease both; }
::view-transition-new(root) { animation: st-in 0.55s ease both; }
@keyframes st-out { to { opacity: 0; } }
@keyframes st-in { from { opacity: 0; } }
html.pt-fade body { opacity: 0; transition: opacity 0.4s ease; }
html.pt-fade.pt-in body { opacity: 1; }

/* Photos settle into place as they scroll in */
.rv-photo { opacity: 0; clip-path: inset(10% 0 0 0); transform: translateY(28px);
  transition: opacity 1.1s ease, clip-path 1.3s cubic-bezier(.2,.7,.2,1), transform 1.3s cubic-bezier(.2,.7,.2,1); }
.rv-photo.in { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
/* Text drifts up softly */
.rv-text { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.rv-text.in { opacity: 1; transform: none; }

.hero-video-wrap, .hero-fallback, .glamp-hero-wrap, .glamp-hero-fallback, .glamp-hero-cover, .page-hero-bg { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
