/* Stable mobile framing while browser bars expand/collapse; cover preserves image ratio. */
.site-scenery { overflow:hidden; height:100vh; height:100lvh; bottom:auto; contain:paint; }
.scenery-canopy,.scenery-clouds,.scenery-birds { position:absolute; inset:0; pointer-events:none; }
.scenery-canopy,.scenery-clouds {
 display:none; background:inherit; transform-origin:50% 100%;
 animation:scenery-tree-left 9s ease-in-out infinite alternate; animation-play-state:paused;
}
.living-scenery-ready > .scenery-canopy,.living-scenery-ready > .scenery-clouds { display:block; }
.scenery-canopy-left {
 mask-image:radial-gradient(ellipse 31% 75% at 0 48%,#000 30%,transparent 100%);
 -webkit-mask-image:radial-gradient(ellipse 31% 75% at 0 48%,#000 30%,transparent 100%);
 transform-origin:0 100%;
}
.scenery-canopy-right {
 mask-image:radial-gradient(ellipse 30% 76% at 100% 58%,#000 30%,transparent 100%);
 -webkit-mask-image:radial-gradient(ellipse 30% 76% at 100% 58%,#000 30%,transparent 100%);
 transform-origin:100% 100%; animation-name:scenery-tree-right; animation-duration:11s; animation-delay:-3s;
}
.scenery-clouds {
 mask-image:radial-gradient(ellipse 45% 22% at 51% 18%,#000 28%,transparent 100%);
 -webkit-mask-image:radial-gradient(ellipse 45% 22% at 51% 18%,#000 28%,transparent 100%);
 animation-name:scenery-cloud-drift; animation-duration:20s; transform-origin:50% 20%;
}
.site-scenery[data-scenery-running="true"] :is(.scenery-canopy,.scenery-clouds,.scenery-bird-flight,.bird-wings) { animation-play-state:running; }
.site-scenery:not([data-scenery-running="true"]) .scenery-birds { visibility:hidden; }
@keyframes scenery-tree-left { from { transform:translate3d(-2px,0,0) rotate(-.25deg) scale(1.012); } to { transform:translate3d(3px,-1px,0) rotate(.3deg) scale(1.012); } }
@keyframes scenery-tree-right { from { transform:translate3d(2px,0,0) rotate(.25deg) scale(1.012); } to { transform:translate3d(-3px,-1px,0) rotate(-.3deg) scale(1.012); } }
@keyframes scenery-cloud-drift { from { transform:translate3d(-5px,0,0) scale(1.018); } to { transform:translate3d(6px,-2px,0) scale(1.018); } }
.scenery-birds { overflow:hidden; }
.scenery-bird-flight { position:absolute; left:-110px; top:clamp(150px,22vh,250px); width:100px; height:58px; opacity:0; animation:scenery-birds-pass 42s linear 1.5s infinite both; animation-play-state:paused; }
.scenery-bird-flight svg { display:block; width:100%; height:100%; overflow:visible; fill:#365f78; }
.bird-wings { transform-box:fill-box; transform-origin:50% 65%; animation:scenery-wingbeat .72s ease-in-out infinite alternate; animation-play-state:paused; }
@keyframes scenery-birds-pass {
 0% { transform:translate3d(0,14px,0) scale(.7); opacity:0; }
 3% { opacity:.7; }
 16% { transform:translate3d(51vw,-12px,0) scale(.78); opacity:.7; }
 31% { transform:translate3d(calc(100vw + 180px),-32px,0) scale(.68); opacity:0; }
 100% { transform:translate3d(calc(100vw + 180px),-32px,0) scale(.68); opacity:0; }
}
@keyframes scenery-wingbeat { from { transform:scaleY(1) rotate(-3deg); } to { transform:scaleY(.25) rotate(3deg); } }
@media(max-width:600px) { .scenery-bird-flight { width:76px; height:44px; top:19vh; } }
html[data-reduce-motion="true"] :is(.scenery-canopy,.scenery-clouds,.scenery-birds) { display:none !important; }
@media(prefers-reduced-motion:reduce),(forced-colors:active) { .scenery-canopy,.scenery-clouds,.scenery-birds { display:none !important; } }
