/*
 * JuiceArt bird v2 — large bird entering from LEFT, receding in perspective.
 * Original painted SVG, independently animated wings and tail.
 */
.ja-bird-flight{
 position:absolute;left:0;top:0;
 width:clamp(132px,10.5vw,168px);
 aspect-ratio:165/120;height:auto;
 z-index:12;pointer-events:none;opacity:0;
 transform:translate3d(-500px,-180px,0) scale(2.25);
 transform-origin:center center;
 will-change:transform,opacity;
 transition:opacity .20s ease;
 filter:drop-shadow(0 3px 4px rgba(85,29,48,.16));
}
.ja-bird-flight.is-visible{opacity:1}
.ja-bird-illustration{width:100%;height:auto;display:block;overflow:visible}
.ja-bird-orientation{transform-origin:center center;transition:transform .35s ease}
.ja-bird-flight.is-flying .ja-bird-orientation{transform:scaleX(-1)}
.ja-bird-flight.is-landing .ja-bird-orientation,
.ja-bird-flight.is-perched .ja-bird-orientation{transform:scaleX(1)}
.ja-bird-front-wing{
 transform-origin:80px 56px;transform-box:view-box;
 animation:ja-bird-wing-up .30s cubic-bezier(.45,0,.55,1) infinite alternate;
}
.ja-bird-rear-wing{
 transform-origin:81px 66px;transform-box:view-box;
 animation:ja-bird-wing-back .30s ease-in-out infinite alternate;
}
.ja-bird-tail{
 transform-origin:105px 70px;transform-box:view-box;
 animation:ja-bird-tail .8s ease-in-out infinite alternate;
}
.ja-bird-flight.is-perched{filter:drop-shadow(0 2px 1px rgba(92,22,49,.10))}
.ja-bird-flight.is-perched .ja-bird-orientation{animation:ja-bird-rest 4.2s ease-in-out infinite alternate}
.ja-bird-flight.is-perched .ja-bird-front-wing{animation:ja-bird-wing-rest 4.8s ease-in-out infinite alternate}
.ja-bird-flight.is-perched .ja-bird-rear-wing{animation:none;transform:rotate(2deg)}
.ja-bird-flight.is-perched .ja-bird-tail{animation:ja-bird-tail 2.4s ease-in-out infinite alternate}
@keyframes ja-bird-wing-up{from{transform:rotate(-32deg) scaleY(.72)}to{transform:rotate(24deg) scaleY(1.16)}}
@keyframes ja-bird-wing-back{from{transform:rotate(16deg)}to{transform:rotate(-25deg)}}
@keyframes ja-bird-wing-rest{0%,85%,100%{transform:rotate(64deg) scale(.86)}91%{transform:rotate(57deg) scale(.87)}}
@keyframes ja-bird-tail{from{transform:rotate(-3deg)}to{transform:rotate(4deg)}}
@keyframes ja-bird-rest{from{transform:rotate(-2deg) translateY(0)}to{transform:rotate(1deg) translateY(-2px)}}
@media(max-width:780px){
 .ja-bird-flight{width:clamp(84px,21vw,118px);z-index:10}
}
@media(prefers-reduced-motion:reduce){
 .ja-bird-front-wing,.ja-bird-rear-wing,.ja-bird-tail,.ja-bird-orientation{animation:none!important;transition:none!important}
 .ja-bird-flight{transition:none!important}
}