/* Practical lights on the measured set plates, without moving interactive coordinates. */
.hq-atmosphere-lights{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;mix-blend-mode:screen}
.hq-atmosphere-lights i{position:absolute;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,rgba(255,170,75,.20),rgba(233,124,38,.055) 48%,transparent 72%);opacity:.45;animation:hq-practical-light 9s ease-in-out infinite alternate}
.hq-atmosphere-lights i:nth-child(2n){animation-duration:13s;animation-delay:-4s}
.hq-atmosphere-lights i:nth-child(3n){animation-duration:17s;animation-delay:-9s}
.hq-atmosphere-lights i[data-tone=cool]{background:radial-gradient(ellipse,rgba(36,157,185,.14),rgba(60,112,147,.05) 48%,transparent 72%)}
.hq-atmosphere-lights i[data-tone=day]{background:radial-gradient(ellipse,rgba(234,202,147,.13),transparent 72%);animation-duration:20s}
@keyframes hq-practical-light{0%,100%{opacity:.3}50%{opacity:.78}}
/* The frame covers stale artwork during image decoding, not the surrounding controls. */
.office-stage.is-changing .hq-atmosphere-lights,.office-stage.is-unavailable .hq-atmosphere-lights{visibility:hidden}
.hq-atmosphere-frame{position:absolute;inset:0;z-index:8;pointer-events:none;overflow:hidden}
.hq-atmosphere-frame::before,.hq-atmosphere-frame::after{content:"";position:absolute;top:0;left:0;right:0;height:50%;background:linear-gradient(180deg,#10110f,#0d0e0c);opacity:0;transform:translateY(-100%);border-bottom:1px solid #d8b259}
.hq-atmosphere-frame::after{top:50%;transform:translateY(100%);border-bottom:0;border-top:1px solid #d8b259}
.office-stage.is-changing .hq-atmosphere-frame,.office-stage.is-unavailable .hq-atmosphere-frame{pointer-events:auto;background:#11130f}
.office-stage.is-changing .hq-atmosphere-frame::before,.office-stage.is-changing .hq-atmosphere-frame::after,.office-stage.is-unavailable .hq-atmosphere-frame::before,.office-stage.is-unavailable .hq-atmosphere-frame::after{opacity:1;transform:none}
.hq-atmosphere-frame .hq-acquisition{display:none;position:absolute;z-index:1;inset:0;align-items:center;justify-content:center;text-align:center;color:#f0d99e;font:700 clamp(10px,1.5vw,14px)/1.4 ui-monospace,monospace;letter-spacing:.12em}
.office-stage.is-changing .hq-acquisition,.office-stage.is-unavailable .hq-acquisition{display:flex}.office-stage.is-unavailable .hq-acquisition-text{display:none}.hq-acquisition-error{display:none}.office-stage.is-unavailable .hq-acquisition-error{display:block}
.office-stage:not(.is-changing):not(.is-unavailable) .hq-atmosphere-frame.is-acquiring::before{animation:hq-camera-top .4s cubic-bezier(.21,.7,.32,1) both}
.office-stage:not(.is-changing):not(.is-unavailable) .hq-atmosphere-frame.is-acquiring::after{animation:hq-camera-bottom .4s cubic-bezier(.21,.7,.32,1) both}
@keyframes hq-camera-top{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-100%)}}
@keyframes hq-camera-bottom{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(100%)}}
.office-stage.is-changing .hq-object-markers,.office-stage.is-changing .office-hall-pins,.office-stage.is-unavailable .hq-object-markers,.office-stage.is-unavailable .office-hall-pins{visibility:hidden}
.hq-atmosphere-control{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-top:1px solid #76603970;border-bottom:1px solid #76603970;background:linear-gradient(110deg,#232018,#11130f)}
.hq-atmosphere-copy{min-width:0;display:grid;gap:3px}.hq-atmosphere-copy b{color:#e8c779;font:700 .72rem/1.3 ui-monospace,monospace;letter-spacing:.09em}
.hq-atmosphere-copy small{color:#bebcb2;font:.82rem/1.35 system-ui,sans-serif}
.hq-atmosphere-control button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:44px;padding:9px 13px;background:#141714;border:1px solid #77715d;font:800 .85rem/1.2 system-ui,sans-serif;color:#e3dfd2}
.hq-atmosphere-control button[aria-pressed=true]{border-color:#f4cd62;background:#302719;color:#f4cd62}
.hq-atmosphere-control button:before{content:"";width:8px;height:8px;border:1px solid currentColor;border-radius:50%}.hq-atmosphere-control button[aria-pressed=true]:before{background:#f4cd62;box-shadow:0 0 9px #f4cd62aa}
.hq-atmosphere-control button:focus-visible{outline:3px solid #f4cd62;outline-offset:3px}
@media(max-width:485px){.hq-atmosphere-control{gap:8px;padding:9px 10px}.hq-atmosphere-control button{padding:9px 10px}.hq-atmosphere-copy b{font-size:.65rem}.hq-atmosphere-copy small{font-size:.76rem}}
@media(prefers-reduced-motion:reduce){.hq-atmosphere-lights i{animation:none;opacity:.4}.hq-atmosphere-frame::before,.hq-atmosphere-frame::after{animation:none!important}.office-stage>img{animation:none!important;transition:none!important}}

/* Maks' exterior reference monitors follow the selected grounds day/night plate.
   These are the same artworks used for the compound tour, not live footage. */
html[data-hq-lighting=night] .feed-yard,html[data-hq-lighting=night] .feed-garage,html[data-hq-lighting=night] .feed-office{background-image:url('/assets/studios-brand/hq/yard-compound-night.webp')}
.tour-stage[data-lighting=day] .hq-atmosphere-lights i{opacity:.18;animation-name:hq-daylight-drift}
@keyframes hq-daylight-drift{0%,100%{opacity:.16}50%{opacity:.40}}
@media(prefers-reduced-motion:reduce){.tour-stage[data-lighting=day] .hq-atmosphere-lights i{animation:none;opacity:.2}}
