/* Stage 7: optional atmosphere; decorative layers never intercept input. */
.ambient-controls{background:#111b1c;border-bottom:1px solid #554c3a;color:#d6bf92;font:13px/1.5 system-ui,sans-serif}
.ambient-controls .ambient-inner{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:8px 0;justify-content:flex-end}
.ambient-label{margin-right:auto;font-size:11px;letter-spacing:1.2px;text-transform:uppercase}
.ambient-controls button{font:inherit;color:#eee6d5;background:#202c2b;border:1px solid #76674d;border-radius:3px;min-height:44px;padding:7px 12px;cursor:pointer}
.ambient-controls button[aria-pressed=true]{color:#142022;background:#d6bf92}.ambient-controls button:focus-visible,.ambient-controls input:focus-visible{outline:2px solid #e8cf9f;outline-offset:3px}
.ambient-controls label{display:flex;align-items:center;gap:8px;color:#c9c8bb}.ambient-controls input{width:76px;accent-color:#d6bf92}.ambient-status{font-size:12px;color:#b5bdb5;flex-basis:100%;text-align:right}.ambient-status:empty{display:none}
.atmosphere-layer{display:none;position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
.atmosphere-layer:before,.atmosphere-layer:after{content:"";position:absolute;inset:0;pointer-events:none}
html[data-motion=on] .atmosphere-layer{display:block}
.atmosphere-layer:before{inset:-12% -28%;background:radial-gradient(ellipse at 72% 73%,#789c982c 0,transparent 35%),radial-gradient(ellipse at 35% 95%,#a9bbb31c 0,transparent 32%);animation:gfi-mist 26s ease-in-out infinite alternate;opacity:.65}
.atmosphere-layer:after{background:radial-gradient(ellipse at var(--lamp-x,83%) 50%,#e8aa5930 0,transparent 42%);animation:gfi-lamp 12s ease-in-out infinite alternate;opacity:.35}
[data-ambient-profile=archive-room] .atmosphere-layer:before{opacity:.35;animation-duration:38s}
[data-ambient-profile=rain-window] .atmosphere-layer:before{opacity:.5;animation-duration:32s}
@keyframes gfi-mist{from{transform:translate3d(-7%,3%,0)}to{transform:translate3d(9%,-3%,0)}}
@keyframes gfi-lamp{0%,100%{opacity:.24}40%{opacity:.45}75%{opacity:.32}}
html[data-motion=off]{scroll-behavior:auto}html[data-motion=off] .hq-grid .tile{transition:none}
@media(prefers-reduced-motion:reduce){.atmosphere-layer{display:none!important}.atmosphere-layer:before,.atmosphere-layer:after{animation:none!important}}
@media(max-width:560px){.ambient-controls .ambient-inner{justify-content:flex-start;gap:7px}.ambient-label{flex-basis:100%}.ambient-status{text-align:left}.ambient-controls button{padding:6px 9px}.ambient-controls input{width:68px}}
@media print{.ambient-controls,.atmosphere-layer{display:none!important}}

/* Stage 10.1: visible atmospheric motion, above artwork and below readable content. */
.cinema > .shell,.dept-hero > .shell{position:relative;z-index:1}
.atmosphere-layer{z-index:0}
.atmosphere-layer:before{inset:0 -38%;background:radial-gradient(ellipse 25% 24% at 23% 74%,#a6c9c580 0%,#8aafa94a 32%,transparent 82%),radial-gradient(ellipse 32% 19% at 56% 88%,#b1cbc380 0%,#7da7a24d 38%,transparent 85%),radial-gradient(ellipse 23% 19% at 80% 60%,#9ebcb766 0%,transparent 90%);filter:blur(12px);opacity:.85;animation:gfi-visible-mist 14s ease-in-out infinite alternate;will-change:transform}
.atmosphere-layer:after{background:radial-gradient(ellipse 22% 37% at var(--lamp-x,83%) 45%,#efb45b55 0%,#e5a34a20 40%,transparent 90%);animation:gfi-visible-lamp 8s ease-in-out infinite alternate;opacity:.45}
[data-ambient-profile=archive-room] .atmosphere-layer:before{opacity:.68;animation-duration:18s}
[data-ambient-profile=rain-window] .atmosphere-layer:before{opacity:.76;animation-duration:16s}
@keyframes gfi-visible-mist{0%{transform:translate3d(-14%,5%,0)}100%{transform:translate3d(17%,-8%,0)}}
@keyframes gfi-visible-lamp{0%,100%{opacity:.20}55%{opacity:.72}80%{opacity:.38}}
@media(max-width:650px){.dept-hero.illustrated-dept .atmosphere-layer{height:clamp(190px,60vw,380px);bottom:auto}.dept-hero .atmosphere-layer:before{filter:blur(7px)}}
@media(prefers-reduced-motion:reduce){.atmosphere-layer{display:none!important}.atmosphere-layer:before,.atmosphere-layer:after{animation:none!important;will-change:auto}}
