/* The cast: hand-inked animals that live around the site. Without motion they hold their finished pose. */
.crit { display: block; flex: none; }
.home-hero { display: block; padding-bottom: 0; }
.home-scene-art { position: relative; margin-top: clamp(-40px, -2vw, -8px); }
.home-scene-art svg { display: block; width: 100%; height: auto; }
/* The sidewalk keeps going past the drawing to both edges of the window. */
.home-scene-art::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 13.64%; border-image: linear-gradient(#18231D 0 2px, #DCC9A9 2px) fill 0 / 0 / 0 100vw; }
@media (max-width: 700px) {
  .home-scene-art { margin-inline: -16px; overflow: hidden; }
  .home-scene-art svg { width: auto; height: 300px; margin-left: 50%; transform: translateX(-50%); }
}
.sc-sign-text { font: 800 25px var(--wide); font-stretch: 125%; letter-spacing: 1px; fill: #1F4536; }
.sc-tag { font: 700 9.5px var(--font); letter-spacing: 1.2px; }
.sc-chalk { font: 700 8.5px var(--font); letter-spacing: .8px; fill: #EFE8DA; }
.sc-board { font: 800 15px var(--wide); font-stretch: 125%; letter-spacing: 1px; fill: #9C5B3F; }
.sc-paint, .sc-closed, .sc-open { transform-box: fill-box; }
.sc-paint { transform-origin: left center; }
.sc-closed, .sc-open { transform-origin: center; }
.sc-closed { transform: scaleX(0); }
.sc-arm { transform-origin: -4px -50px; }
.c-tail { transform-origin: 10px -36px; }
.c-broom { transform-origin: 14px -50px; }
.c-ears { transform-origin: -6px -76px; }
.c-bird-head { transform-origin: -4px -14px; }
.c-flap { transform-origin: 4px -8px; }
.c-dust circle { opacity: 0; transform-box: fill-box; transform-origin: center; }
.home-scene-art:not(.sc-run) * { animation-play-state: paused !important; }
.motion .home-scene-art .sc-paint { animation: scWipe 2.4s .6s cubic-bezier(.45, .05, .55, .95) both; }
.motion .home-scene-art .sc-arm { animation: scBrush .45s ease-in-out infinite alternate; }
.motion .home-scene-art .sc-closed { animation: scFlipOut .22s 3.2s ease-in both; }
.motion .home-scene-art .sc-open { animation: scFlipIn .3s 3.42s var(--spring) both; }
.motion .home-scene-art .sc-walk { animation: scWalk 2s .1s cubic-bezier(.3, .6, .3, 1) both; }
.motion .home-scene-art .sc-hop { animation: scHop .25s .1s ease-in-out 8 alternate both; }
.motion .crit .c-tail { animation: scTail 2.8s ease-in-out infinite alternate; }
.motion .crit .c-ears { animation: scEars 5s 2.4s ease-in-out infinite; }
.motion .crit .c-broom { animation: scSweep .8s ease-in-out infinite alternate; }
.motion .crit .c-dust circle { animation: scDust 1.6s ease-out infinite; }
.motion .crit .c-dust circle:nth-child(2) { animation-delay: .5s; }
.motion .crit .c-dust circle:nth-child(3) { animation-delay: 1s; }
.motion .crit .c-bird-head { animation: scPeck 4s 1s ease-in-out infinite; }
.motion .crit .c-flap { animation: scFlap .18s ease-in-out infinite alternate; }
.motion .crit .c-zz { animation: scZz 1.8s ease-in-out infinite alternate; }
.crit.peek .c-tail, .crit.peek .c-ears { animation-delay: 1.2s; }
@keyframes scWipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scBrush { from { transform: rotate(-10deg); } to { transform: rotate(0); } }
@keyframes scTail { from { transform: rotate(8deg); } to { transform: rotate(0); } }
@keyframes scFlipOut { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes scFlipIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scWalk { from { transform: translateX(150px); } to { transform: none; } }
@keyframes scHop { from { transform: none; } to { transform: translateY(-5px); } }
@keyframes scEars { 0%, 88%, 100% { transform: none; } 92% { transform: rotate(9deg); } 96% { transform: rotate(-4deg); } }
@keyframes scSweep { from { transform: rotate(-12deg); } to { transform: rotate(6deg); } }
@keyframes scDust { 0% { opacity: 0; transform: none; } 20% { opacity: .55; } 100% { opacity: 0; transform: translate(14px, -16px) scale(1.8); } }
@keyframes scPeck { 0%, 70%, 100% { transform: none; } 76%, 84% { transform: rotate(-24deg); } 80% { transform: rotate(-14deg); } }
@keyframes scFlap { from { transform: scaleY(.45); } to { transform: none; } }
@keyframes scZz { from { opacity: .25; transform: translateY(4px); } to { opacity: 1; transform: none; } }

