/* One proportional stage: photo, projected screen, bezel and light masks resize together.
   ResizeObserver in preview.js reprojects the original source-space monitor quad. */
.scenes-ready .shared-studio .scene-composition{display:block;padding:0;--stage-width:100vw}
.scenes-ready .shared-studio .studio{position:absolute;width:100vw;left:50%;top:90px;transform:translateX(-50%);aspect-ratio:1672/941}
.scenes-ready .shared-studio .studio:after{display:none}
.scenes-ready .shared-studio .floor-copy{position:absolute;left:var(--gutter);right:var(--gutter);bottom:70px;top:auto;width:auto;height:auto;max-width:1120px;padding:0;margin:0;display:grid;align-self:auto;align-items:end}
.scenes-ready .shared-studio .floor-copy:before{display:none}
.shared-studio .project-offer{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;padding:20px 28px;isolation:isolate}
/* A broken bronze contour, with no filled card. The soft shade follows the copy only. */
.shared-studio .project-offer:before{content:'';position:absolute;inset:-32px -40px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 40% 50%,#05070970 0%,#05070938 40%,transparent 72%)}
.shared-studio .project-offer:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#d6b17ca6,#d6b17c18 80%,transparent) left top/1px 100% no-repeat,linear-gradient(90deg,#d6b17c8c,transparent) left top/42px 1px no-repeat}
.scenes-ready .shared-studio .floor-copy .small-label{font-size:10px;letter-spacing:.2em;color:#d8b583}
.scenes-ready .shared-studio .floor-copy h2{font-size:clamp(44px,3.6vw,76px);line-height:1.04;margin-top:10px;max-width:1000px;text-wrap:balance;color:#faf6ee;text-shadow:0 2px 14px #0008}
.scenes-ready .shared-studio .offer-description{font-size:14px;line-height:1.55;margin-top:12px;max-width:740px;color:#e0d9ce;text-shadow:0 1px 8px #000}
.scenes-ready .shared-studio .project-offer>.project-link{margin:18px 0 0;min-height:52px;width:max-content;padding:14px 22px;font-size:10.5px;background:#14151638}
.signal-glitch{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden;contain:paint;clip-path:inset(0 12px)}
.signal-strip{position:absolute;left:0;display:block;width:1000px;opacity:0;will-change:transform,opacity}
/* Static, source-space floor masks: light broadens away from the screen, never crosses glass. */
.floor-light{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .8s ease-in-out;clip-path:polygon(44% 70%,92% 70%,100% 100%,36% 100%);background:radial-gradient(ellipse 25% 9% at 69% 76%,rgb(var(--spill)/.75),transparent 75%),radial-gradient(ellipse 29% 13% at 71% 86%,rgb(var(--spill)/.35),transparent 76%),radial-gradient(ellipse 21% 1.2% at 70% 78%,rgb(var(--spill)/.65),transparent 80%),radial-gradient(ellipse 30% .7% at 72% 83%,rgb(var(--spill)/.45),transparent 80%)}
.floor-luxury{--spill:240 183 110;--floor-intensity:.062}.floor-history{--spill:219 209 192;--floor-intensity:.048}.floor-future{--spill:121 163 191;--floor-intensity:.055}.floor-memories{--spill:237 202 145;--floor-intensity:.052}
.shared-studio[data-direction="luxury"] .floor-luxury,.shared-studio[data-direction="history"] .floor-history,.shared-studio[data-direction="future"] .floor-future,.shared-studio[data-direction="memories"] .floor-memories{opacity:var(--floor-intensity)}
@media(min-aspect-ratio:3/2) and (min-height:600px){
 .scenes-ready .shared-studio .studio{width:max(100vw,calc(100dvh * 1672 / 941));top:50%;transform:translate(-50%,-50%)}
}
@media(min-width:2000px){.scenes-ready .shared-studio .floor-copy{bottom:7dvh}}
@media(min-height:801px) and (max-height:950px) and (orientation:landscape){.scenes-ready .shared-studio .floor-copy{bottom:58px}}
@media(max-height:800px) and (orientation:landscape){
 .scenes-ready .shared-studio .floor-copy{bottom:58px}
 .shared-studio .project-offer{padding:16px 22px;column-gap:25px}
 .scenes-ready .shared-studio .floor-copy h2{font-size:32px}
 .scenes-ready .shared-studio .offer-description{font-size:12px;margin-top:9px}
 .scenes-ready .shared-studio .project-offer>.project-link{font-size:9px;min-height:45px;padding:12px 16px;gap:25px;margin-top:14px}
}
/* At narrow ratios, retain the complete architecture and compose the offer below it. */
@media(max-aspect-ratio:1499/1000){
 .scenes-ready .shared-studio .studio{top:85px}
 .scenes-ready .shared-studio .floor-copy{top:calc(85px + 100vw * 700 / 1672);bottom:auto}
 .shared-studio .project-offer{grid-template-columns:1fr;padding:22px 24px}
 .scenes-ready .shared-studio .floor-copy h2{font-size:clamp(32px,4.8vw,50px)}
 .scenes-ready .shared-studio .offer-description{font-size:13px}
 .scenes-ready .shared-studio .project-offer>.project-link{margin-top:18px;width:max-content}
}
@media(orientation:portrait){
 .scenes-ready .shared-studio .studio{top:100px}
 .scenes-ready .shared-studio .floor-copy{top:calc(122px + 100vw * 941 / 1672);bottom:auto}
}
@media(max-aspect-ratio:1499/1000) and (orientation:landscape) and (min-height:600px){
 .scenes-ready .shared-studio .floor-copy{top:auto;bottom:58px}
 .shared-studio .project-offer{padding:18px 22px}
 .scenes-ready .shared-studio .floor-copy h2{font-size:clamp(32px,3.8vw,44px)}
 .scenes-ready .shared-studio .project-offer>.project-link{margin-top:14px}
}
@media(max-width:700px) and (orientation:portrait){
 .scenes-ready .shared-studio .studio{top:88px}
 .scenes-ready .shared-studio .floor-copy{left:18px;right:18px;top:calc(108px + 100vw * 941 / 1672)}
 .shared-studio .project-offer{padding:19px 16px}
 .scenes-ready .shared-studio .floor-copy .small-label{font-size:8px;letter-spacing:.14em}
 .scenes-ready .shared-studio .floor-copy h2{font-size:clamp(29px,8vw,42px);line-height:1.07}
 .scenes-ready .shared-studio .offer-description{font-size:12px;line-height:1.55;margin-top:11px}
 .scenes-ready .shared-studio .project-offer>.project-link{margin-top:17px;min-height:47px;font-size:9px;padding:12px 17px}
 .floor-light{background:radial-gradient(ellipse 27% 12% at 70% 80%,rgb(var(--spill)/.65),transparent 78%)}
}
@media(max-height:650px) and (orientation:portrait){
 .scenes-ready .shared-studio .floor-copy{top:calc(87px + 100vw * 941 / 1672)}
 .shared-studio .project-offer{padding:13px 14px}
 .scenes-ready .shared-studio .floor-copy h2{font-size:27px;margin-top:8px}
 .scenes-ready .shared-studio .offer-description{margin-top:8px;font-size:11px}
 .scenes-ready .shared-studio .project-offer>.project-link{margin-top:12px;min-height:42px;padding:10px 14px}
}
@media(max-width:360px) and (max-height:650px) and (orientation:portrait){
 .shared-studio .project-offer{padding:12px 14px}
 .scenes-ready .shared-studio .floor-copy h2{font-size:25px;line-height:1.04;margin-top:7px}
 .scenes-ready .shared-studio .offer-description{line-height:1.45}
 .scenes-ready .shared-studio .project-offer>.project-link{margin-top:10px}
}
@media(max-height:599px) and (orientation:landscape){
 .scenes-ready .shared-studio .studio{width:54vw;left:0;top:50%;transform:translateY(-50%)}
 .scenes-ready .shared-studio .floor-copy{left:56%;right:24px;top:50%;bottom:auto;transform:translateY(-50%)}
 .shared-studio .project-offer{display:block;padding:16px}
 .scenes-ready .shared-studio .floor-copy h2{font-size:27px;line-height:1.06;margin-top:8px}
 .scenes-ready .shared-studio .floor-copy .small-label{font-size:7px}
 .scenes-ready .shared-studio .offer-description{font-size:11px;margin-top:9px}
 .scenes-ready .shared-studio .project-offer>.project-link{margin-top:14px;min-height:40px;font-size:8px;padding:10px 13px}
}
@media(prefers-reduced-motion:reduce){.floor-light{transition:none}.signal-glitch{display:none}}
