/* Cover the baked-in emblem in both the poster and the animated video. */
.hero > .hero-logo-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: url('../assets/grand-mu-portal-clean-v1.png') center top / cover no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 13% 38% at 50% 47%, #000 0 82%, transparent 100%);
  mask-image: radial-gradient(ellipse 13% 38% at 50% 47%, #000 0 82%, transparent 100%);
}

.hero > .hero-replacement-wordmark {
  position: absolute;
  left: 50%;
  top: 26%;
  z-index: 2;
  display: block;
  width: 38%;
  height: auto;
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 4px 8px #071e4e99);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 720px) {
  .hero > .hero-replacement-wordmark {
    top: 30%;
    width: 50%;
  }
}

/* Logo-free vortex: one seamless turn every 24 seconds, inside a fixed oval. */
.hero > .hero-logo-backdrop > .hero-vortex-motion {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.hero .hero-vortex-rotor {
  transform-box: view-box;
  transform-origin: 0 0;
  animation: grand-mu-vortex-spin 24s linear infinite !important;
  will-change: transform;
}
.hero.is-vortex-paused .hero-vortex-rotor {
  animation-play-state: paused !important;
}
@keyframes grand-mu-vortex-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
