/* assets/css/style.css
   Small hand-written additions the Tailwind Play CDN can't generate on its
   own (keyframes, ::-webkit- pseudo-elements). Everything else uses plain
   Tailwind utility classes directly in the markup. */

html { scroll-behavior: smooth; }

/* Hero slider crossfade */
.slide {
  opacity: 0;
  transition: opacity 900ms ease-in-out;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

/* Slow "Ken Burns" zoom on the active hero slide's image. */
.slide img {
  transform: scale(1.06);
  transition: transform 6500ms ease-out;
}
.slide.is-active img {
  transform: scale(1);
}

/* Sticky header gains a shadow once the page has scrolled. */
#site-header.is-scrolled {
  box-shadow: 0 4px 16px -4px rgb(0 0 0 / 0.08);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
