/* The body and both feet share one illustration so the walking pose stays on model. */
.pepi-walk {
  display:grid;
  place-items:center;
  width:172px;
  height:166px;
  margin:auto;
  pointer-events:none;
}
.pepi-walk-scene {
  position:relative;
  width:160px;
  height:160px;
  animation:pepi-walk-across 2.7s ease-in-out infinite;
}
.pepi-walk-body, .pepi-walk-foot {
  position:absolute;
  inset:0;
  background:url("assets/display/duck-walking-320.png") center/contain no-repeat;
}
.pepi-walk-body {
  clip-path:polygon(0 0,100% 0,100% 77%,70% 77%,64% 82%,57% 83.5%,44% 82.8%,37.1% 79.9%,34.3% 76%,0 76%);
  animation:pepi-walk-bob .64s ease-in-out infinite;
}
.pepi-walk-foot.front {
  clip-path:polygon(22% 77%,33.5% 77%,35% 75%,37.5% 79.5%,40% 82%,35% 89%,22% 87%);
  transform-origin:36% 79%;
  animation:pepi-walk-step .64s ease-in-out infinite alternate;
}
.pepi-walk-foot.back {
  clip-path:polygon(56% 84.5%,63% 82.1%,66.2% 79.8%,71% 88%,67% 92%,53% 92%,52% 87%);
  transform-origin:64% 82%;
  animation:pepi-walk-step .64s ease-in-out infinite alternate-reverse;
}
.pepi-walk-books {position:absolute;top:10%;left:40%;width:30%;height:11%;transform-origin:50% 95%;animation:pepi-walk-balance .64s ease-in-out infinite}
.pepi-walk-books i {position:absolute;left:0;bottom:0;width:97%;height:50%;box-sizing:border-box;border:1.5px solid #493b32;border-right-width:3px;border-radius:2px 4px 3px 2px;background:linear-gradient(to bottom,#b36255 0 29%,#f8ebcf 30% 75%,#b36255 76%);transform:rotate(8deg)}
.pepi-walk-books i:first-child {left:5%;bottom:45%;width:87%;background:linear-gradient(to bottom,#7d947f 0 29%,#f8ebcf 30% 75%,#7d947f 76%);transform:rotate(3deg)}
@keyframes pepi-walk-step {from{transform:rotate(-13deg)}to{transform:rotate(15deg)}}
@keyframes pepi-walk-bob {50%{transform:translateY(-1.2px)}}
@keyframes pepi-walk-balance {50%{transform:translateY(-1.2px) rotate(-4deg)}}
@keyframes pepi-walk-across {0%,100%{transform:translateX(5px)}50%{transform:translateX(-5px)}}
@media(prefers-reduced-motion:reduce){.pepi-walk *{animation:none!important}}
.pepi-inner-boot{display:grid;align-items:center;min-height:55vh}
