/* Hatch stays inside the homepage sigil area and never intercepts a click. */
.hatch-flyer {
  position: absolute;
  z-index: 4;
  top: 22%;
  left: 68%;
  width: clamp(58px, 8vw, 90px);
  aspect-ratio: 12 / 13;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 13px rgba(248, 203, 96, .55));
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.hatch-flyer.is-flying {
  top: 0;
  left: 0;
}

.hatch-flyer .hatch-idle,
.hatch-flyer .hatch-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hatch-flyer .hatch-idle {
  display: block;
  object-fit: contain;
}

.hatch-flyer .hatch-still {
  display: none;
  background: url('/assets/hatch/Hatch-sleep-orb-v1.png') center / auto 190% no-repeat;
}

@media (max-width: 980px) {
  .hatch-flyer {
    width: clamp(52px, 13vw, 76px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hatch-flyer .hatch-idle { display: none; }
  .hatch-flyer .hatch-still { display: block; }
}

:root[data-a11y-motion='reduced'] .hatch-flyer .hatch-idle { display: none; }
:root[data-a11y-motion='reduced'] .hatch-flyer .hatch-still { display: block; }
