/* A brief, decorative homepage opening. The unchanged 4K Iggy mark stays sharp. */
.iggy-opening {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  place-items: center;
  overflow: hidden;
  background: #000;
  opacity: 1;
  touch-action: none;
}
.iggy-intro-active { overflow: hidden; }
.iggy-intro-active .iggy-opening { display: grid; }
.iggy-opening img {
  display: block;
  width: clamp(200px, 22vw, 300px);
  max-width: none;
  height: auto;
  opacity: 0;
  transform: scale(.94);
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
}
.iggy-opening.is-playing { animation: iggy-opening-reveal 1200ms linear both; }
.iggy-opening.is-playing img { animation: iggy-opening-zoom 1200ms cubic-bezier(.65, 0, .2, 1) both; }
.iggy-intro-active .home-hero-kicker,
.iggy-intro-active .home-hero h1 span,
.iggy-intro-active .home-hero .home-hero-estimate { animation-play-state: paused; }
@keyframes iggy-opening-zoom {
  0% { opacity: 0; transform: scale(.94); }
  14% { opacity: 1; transform: scale(1); }
  40% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(14); }
}
@keyframes iggy-opening-reveal {
  0%, 58% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .iggy-intro-active { overflow: auto; }
  .iggy-intro-active .iggy-opening { display: none; animation: none; }
  .iggy-opening img { animation: none; }
}
