/* v1.1.24: padded 2x2 frames; never slide across adjacent birds. */
.hornbill-wingbeat{
 aspect-ratio:1/1;background-image:url('../images/hornbill-clean-v124.webp');
 background-size:200% 200%;background-repeat:no-repeat;
 animation-name:hornbill-clean-wingbeat;animation-duration:.9s;
 animation-timing-function:steps(1,end);filter:none;
}
@keyframes hornbill-clean-wingbeat{
 0%,100%{background-position:0% 0%}
 25%{background-position:100% 0%}
 50%{background-position:0% 100%}
 75%{background-position:100% 100%}
}
.home .jungle-bird{top:clamp(180px,13vw,250px);width:150px;z-index:4;overflow:visible}
.home .jungle-motion .jungle-bird{animation-name:jungle-clear-flight;animation-duration:32s}
@keyframes jungle-clear-flight{
 0%,65%{opacity:0;transform:translate3d(-180px,0,0)}
 67%{opacity:1;transform:translate3d(0,0,0)}
 96%{opacity:1;transform:translate3d(calc(100vw + 180px),0,0)}
 100%{opacity:0;transform:translate3d(calc(100vw + 360px),0,0)}
}
@media(max-width:1150px) and (min-width:768px){.home .jungle-bird{top:140px;width:120px}}
@media(max-width:767px){.home .jungle-bird{top:calc(max(44px,10vw) + 20px);width:80px}}
@media(prefers-reduced-motion:reduce){.home .jungle-motion .jungle-bird{display:none;animation:none}.hornbill-wingbeat{animation:none!important}}

/* v1.1.24: parchment only; the hero provides the sole treeline/sky. */
.home .reference-header:before{
 display:block;inset:0 0 -18px;height:auto;
 background:#f6eedc url('../images/reference-hero-v114.webp') center top/auto 2400px no-repeat;
 -webkit-mask-image:linear-gradient(#000 0%,#000 calc(100% - 18px),transparent 100%);
 mask-image:linear-gradient(#000 0%,#000 calc(100% - 18px),transparent 100%);
}
