/* Quiet, continuous motion for the hand-drawn category art. */
@keyframes category-art-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -2px; }
}

.category-illustration {
  animation: category-art-drift 9s ease-in-out infinite;
  transform-origin: center;
  will-change: translate;
}

.category-illustration:nth-of-type(2) { animation-delay: -2.1s; }
.category-illustration:nth-of-type(3) { animation-delay: -4.2s; }

@media (prefers-reduced-motion: reduce) {
  .category-illustration {
    animation: none !important;
    translate: none !important;
    will-change: auto;
  }
}
