/* A separate layer keeps the idle independent of the scroll and click motion. */
.avatar-scene .w-idle {
  position: absolute;
  inset: 0;
  transform-origin: center;
}

@keyframes w-idle-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25% { transform: translate3d(-2px, -6px, 0) rotate(-.6deg); }
  65% { transform: translate3d(2px, 3px, 0) rotate(.45deg); }
}

/* Start at rest after the loader has delivered this same W to the home. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.intro-lock) .avatar-scene .w-idle {
    animation: w-idle-drift 7.5s ease-in-out infinite;
  }
}
