/* Only the painted background moves. The hero, text and controls keep their geometry. */
.hero{--land-x:0px;--land-y:0px}
.hero-landscape{pointer-events:none;transform-origin:72% 56%;translate:var(--land-x) var(--land-y);transition:translate 1.2s ease-out;animation:painted-journey 14s ease-in-out -3s infinite alternate;will-change:transform}
.hero::before,.hero::after{content:"";position:absolute;pointer-events:none;user-select:none;z-index:-1;right:-8%;width:72%;height:36%;opacity:.65;mask-image:linear-gradient(90deg,transparent,#000 28%,#000 85%,transparent)}
.hero::before{top:34%;background:radial-gradient(ellipse at 38% 60%,#faf5e7b0,transparent 64%),radial-gradient(ellipse at 78% 45%,#fff9e999,transparent 58%);filter:blur(7px);animation:painted-clouds 16s ease-in-out -5s infinite alternate}
.hero::after{bottom:2%;height:29%;background:repeating-radial-gradient(ellipse at 65% 100%,transparent 0 13px,#eee7c74d 15px,transparent 17px 28px);mask-image:linear-gradient(90deg,transparent 20%,#000 50%,transparent),linear-gradient(0deg,transparent,#000 40%,transparent);mask-composite:intersect;animation:painted-water 5s ease-in-out -2s infinite alternate}
.landscape-motion{width:68%;overflow:visible;translate:calc(var(--land-x) * -.45) calc(var(--land-y) * -.3);transition:translate 1.2s ease-out}
.landscape-mist{animation:painted-mist 13s ease-in-out -4s infinite alternate;filter:blur(2px)}
.landscape-water{stroke-width:1.6;animation:painted-ripples 4s ease-in-out -1s infinite alternate}
.landscape-birds{stroke:#4c6250;stroke-width:1.7;animation:painted-birds 13s linear -4s infinite}
.landscape-birds path{transform-box:fill-box;transform-origin:center;animation:painted-wings 1.6s ease-in-out infinite alternate}
.landscape-petals{fill:#bc8f79;animation:painted-petals 11s linear -3s infinite}
.hero:focus-within .landscape-motion *{animation-play-state:running}
.hero-poem,.hero-caption{z-index:1}
@keyframes painted-journey{from{transform:scale(1.09) translate(-16px,4px)}to{transform:scale(1.14) translate(13px,-5px)}}
@keyframes painted-clouds{from{transform:translate(-52px,5px);opacity:.35}to{transform:translate(40px,-8px);opacity:.8}}
@keyframes painted-water{from{transform:translateX(-12px) scaleY(.94);opacity:.3}to{transform:translateX(12px) scaleY(1.06);opacity:.65}}
@keyframes painted-mist{from{transform:translate(-40px,3px);opacity:.5}to{transform:translate(35px,-4px);opacity:.95}}
@keyframes painted-ripples{from{transform:translate(-11px,0);opacity:.25}to{transform:translate(11px,2px);opacity:.75}}
@keyframes painted-birds{0%{transform:translate(-160px,14px);opacity:0}10%,82%{opacity:.8}100%{transform:translate(220px,-24px);opacity:0}}
@keyframes painted-wings{from{transform:scaleY(.65)}to{transform:scaleY(1.35)}}
@keyframes painted-petals{0%{transform:translate(8px,-40px) rotate(-4deg);opacity:0}12%,76%{opacity:.65}100%{transform:translate(-55px,62px) rotate(7deg);opacity:0}}
html.landscape-paused .hero-landscape,html.landscape-paused .hero::before,html.landscape-paused .hero::after,html.landscape-paused .landscape-motion *{animation-play-state:paused!important}
@media(max-width:600px),(pointer:coarse){
 .hero-landscape{animation-name:painted-journey-mobile;translate:0 0;will-change:auto}
 .landscape-motion{width:54%;opacity:.8;translate:0 0}
 .hero::before{filter:none;opacity:.4}.hero::after{display:none}
 .landscape-birds{animation-duration:18s}.landscape-petals{display:none}
}
@keyframes painted-journey-mobile{from{transform:scale(1.06) translateX(-6px)}to{transform:scale(1.09) translateX(6px)}}
@media(prefers-reduced-motion:reduce){
 .hero-landscape,.hero::before,.hero::after,.landscape-motion,.landscape-motion *{animation:none!important;transition:none!important;translate:none!important;will-change:auto}
 .hero-landscape{transform:none}.hero::before,.hero::after,.landscape-birds,.landscape-petals{display:none}
}

/* Local water and boat motion is the focus; distant architecture stays anchored. */
.hero-landscape{animation:none;transform:scale(1.04)}
.hero::after,.landscape-water{display:none}
@media(prefers-reduced-motion:reduce){.hero-landscape{transform:none}.living-painting{display:none}}

