/* ============================================================
   SPRINGFIELD REAL ESTATE — ANIMATIONS
   ============================================================ */

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.4; }
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero-skyline, .hero-zoom { animation: heroZoom 18s ease-in-out infinite alternate; }

@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* Scroll reveal — one deliberate entrance treatment, applied via IntersectionObserver in main.js */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.page-enter { animation: fadeIn 420ms ease both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-skyline { animation: none; }
  .scroll-cue .line { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .page-enter { animation: none; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
