/* Katerina Viva — animations.css
   Keyframes, entrance and scroll-reveal animations, and reduced-motion handling. */

/* ---------- Animations ---------- */
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(-4%, 3%, 0) scale(1.06); } }
/* Entrance animation */
.rise { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal-photo { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); animation: photo 1.4s var(--ease) .25s forwards; }
@keyframes photo { to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }


@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero__bg { animation: none; }
  .rise { opacity: 1; transform: none; }
  .reveal-photo { clip-path: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print { .site-header, .mobile-menu, .hero__bg, .hero__grid { display: none; } .hero { background: #fff; color: #000; } }
