/* ===== Homepage easter egg: running Labrador =====
   Recurring, scroll-linked silhouette that crosses the viewport right to
   left, drifting diagonally downward, periodically as the visitor scrolls
   in either direction (see static/js/running-dog.js for the cycle/gap
   timing). Sprite recolored to the logo's silhouette navy. */
.sp-dog-runner {
    position: fixed;
    top: 0;
    left: 0;
    width: 92px;
    height: 57px;
    background-image: url(/static/images/dog-sprite.png);
    background-repeat: no-repeat;
    background-size: 600% 100%;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    will-change: transform, opacity;
}
.sp-dog-runner.is-running {
    animation: sp-dog-run 0.72s steps(5) infinite;
}
@keyframes sp-dog-run {
    from { background-position: 0% 0; }
    to   { background-position: 100% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .sp-dog-runner { display: none !important; }
}
