/* Static photographic texture; only composited opacity and brightness move. */
.prologue,.movement{--weather-period:43s;--land-saturation:.65;--land-sepia:0}
.garden-spring{--weather-period:31s}
.garden-summer{--weather-period:37s;--land-saturation:.55}
.garden-autumn{--weather-period:49s;--land-sepia:.16}
.garden-winter{--weather-period:61s;--land-saturation:.4}
.prologue-land{filter:saturate(.55) sepia(.13)}
.movement .scene-background{filter:saturate(var(--land-saturation)) sepia(var(--land-sepia))}
/* These copies are aligned to the source photograph and keep a fixed filter. */
.prologue-land:after,.movement .scene-background:before{content:'';position:absolute;inset:0;background-image:inherit;background-size:inherit;background-position:inherit;background-repeat:inherit;pointer-events:none;mix-blend-mode:screen;filter:grayscale(.6) contrast(1.65) brightness(.72);opacity:.08;animation:photographic-light var(--weather-period) ease-in-out infinite;animation-play-state:paused}
.is-sunlit .prologue-land:after,.is-sunlit .scene-background:before{animation-play-state:running;will-change:opacity}
@keyframes photographic-light{0%,100%{opacity:.075}28%{opacity:.103}57%{opacity:.062}81%{opacity:.086}}
.garden-winter .scene-background:before{animation-name:snow-light}
@keyframes snow-light{0%,100%{opacity:.041}28%{opacity:.05}57%{opacity:.037}81%{opacity:.044}}
/* Filter the cached whole painting, not each source image inside its SVG. */
.art-glass{animation:painting-daylight var(--weather-period) ease-in-out infinite;animation-play-state:paused}
.is-sunlit .art-glass{animation-play-state:running}
@keyframes painting-daylight{0%,100%{filter:brightness(1)}28%{filter:brightness(1.012)}57%{filter:brightness(.992)}81%{filter:brightness(1.005)}}
.art-glass image{filter:saturate(.91);opacity:.96;transition:none}
.art-glass .pane-light{opacity:.39;transition:opacity .7s}
.art-glass:hover image,.art-glass:focus-within image{filter:none;opacity:1}
.art-glass:hover .pane-light,.art-glass:focus-within .pane-light{opacity:0}
.tapestry-screen .mosaic-cell{filter:saturate(.79) sepia(.08)}
.tapestry-screen a:hover .mosaic-cell,.tapestry-screen a:focus-visible .mosaic-cell{filter:brightness(1.06)}
.garden-window .glass-bloom{animation:none;opacity:.51}
html.no-motion .art-glass{animation:none;filter:none}
html.no-motion .art-glass image{filter:none;opacity:1}
html.light-hidden .art-glass,body.dialog-open .art-glass,html.light-hidden .prologue-land:after,html.light-hidden .scene-background:before,body.dialog-open .prologue-land:after,body.dialog-open .scene-background:before{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.art-glass{animation:none;filter:none}.art-glass image{filter:none;opacity:1}}
