.jenofox-motion-figure {
  display: block;
  aspect-ratio: 144 / 176;
  background: url("/assets/jenofox-corporate.webp") 0 0 / 300% 200% no-repeat;
  --jenofox-hop: -12px;
  --jenofox-step: -10px;
  animation: jenofox-motion-hop 3.6s ease-in-out infinite,
             jenofox-motion-pose 3.6s steps(1, end) infinite;
}

.jenofox-motion-hero { width: 124px; }
.jenofox-motion-chat {
  width: 44px;
  flex: none;
  --jenofox-hop: -7px;
  --jenofox-step: -5px;
}
.jenofox-motion-figure[data-jenofox-gesture] { animation: none; }

@media (max-width: 520px) {
  .jenofox-motion-hero { width: 92px; }
}

@keyframes jenofox-motion-hop {
  0%, 52%, 100% { transform: translate(0, 0) rotate(0); }
  18% { transform: translate(var(--jenofox-step), var(--jenofox-hop)) rotate(-7deg); }
  35% { transform: translate(calc(var(--jenofox-step) / 2), -3px) rotate(5deg); }
  72% { transform: translate(3px, calc(var(--jenofox-hop) / 2)) rotate(4deg); }
  88% { transform: translate(-2px, -2px) rotate(-3deg); }
}

@keyframes jenofox-motion-pose {
  0%, 52%, 88%, 100% { background-position: 0 0; }
  18% { background-position: 50% 100%; }
  35% { background-position: 100% 100%; }
  72% { background-position: 50% 0; }
}
