/* One neutral-marble palette and image-led treatment for the showcase scenes. */
.atelier-stage{background:#dcd9d3}
.gallery-stage{background:#dcd9d3}
#artvestige .gallery-stage,#study .atelier-stage{background-color:#f2f4f5}
.atelier-canvas,#gallery-scene{opacity:0;transition:opacity .6s ease}
.atelier-stage[data-renderer='ready'] .atelier-canvas,.gallery-stage[data-renderer='ready'] #gallery-scene{opacity:1}
.integrated-page .study-heading{left:11%;top:7%;border:0;box-shadow:none;background:transparent;backdrop-filter:none;padding:0;max-width:305px}
.integrated-page .study-heading h2{font-size:clamp(48px,5vw,76px)}
.integrated-page .study-heading p{color:#2046a0;margin-bottom:12px}
.integrated-page .study-evidence{bottom:5%;right:6%;max-width:390px;padding:14px 20px;border-radius:20px;background:#eeefebd9;display:grid;grid-template-columns:76px 1fr;gap:9px 20px;align-items:center}
.integrated-page .study-evidence img{width:76px;grid-row:1/3}
.integrated-page .study-evidence p{margin:0;font-size:11px}
.integrated-page .study-evidence a{width:max-content;font-size:11px}
.integrated-page .study-evidence small{grid-column:1/-1;margin:0;font-size:8px}
.gallery-heading{background:transparent;backdrop-filter:none;border:0;box-shadow:none;left:24%;top:8%;padding:0;max-width:580px}
.gallery-heading h2{font-size:clamp(40px,4vw,58px)}
.gallery-heading .eyebrow{color:#2046a0}
.gallery-brand,.gallery-caption .glass-link{background:#eeefebdb;border-color:#ffffff9c}
.gallery-stage:after{background:linear-gradient(transparent,#eeefeb55)}
#artvestige .gallery-stage:after{background:linear-gradient(transparent,#f2f4f522)}
#study .atelier-stage:after{background:linear-gradient(180deg,#f2f4f51a,transparent 22%,transparent 85%,#f2f4f50a)}
.gallery-caption{bottom:7%}
@media(max-width:800px){
 .atelier-stage{background-position:55% center}
 .gallery-stage{background-position:48% center}
 .integrated-page .study-heading{left:7%;top:6%;max-width:250px;background:#eeefebc9;padding:16px;border-radius:4px 4px 25px 4px;backdrop-filter:blur(9px)}
 .integrated-page .study-heading h2{font-size:48px}
 .integrated-page .study-evidence{left:7%;right:7%;max-width:none;bottom:5%;padding:15px;grid-template-columns:65px 1fr;gap:10px 16px}
 .integrated-page .study-evidence img{width:65px}
 .gallery-heading{left:7%;top:6%;max-width:270px;padding:16px;background:#eeefebd2;border-radius:4px 4px 25px 4px}
 .gallery-heading h2{font-size:37px}
 .gallery-caption{bottom:9%}
 .reduced-motion .gallery-heading,.reduced-motion.integrated-page .study-heading{display:block}
}
@media(prefers-reduced-motion:reduce){.atelier-canvas,#gallery-scene{transition:none}}

/* Keep the model and its contact shadow above the shared marble backdrop. */
#study .atelier-canvas,#study .study-fallback{z-index:1}
#study .atelier-stage::after{display:none}
.home-page #study .study-heading{left:6%;top:7%;max-width:305px}
.home-page #study .study-evidence{bottom:4%;right:6%;max-width:480px}
@media(max-width:800px){
 .home-page #study .study-heading{left:7%;right:7%;top:6%;max-width:310px;padding:0;background:none;backdrop-filter:none}
 .home-page #study .study-evidence{left:7%;right:7%;bottom:3%;max-width:none}
}
.cinema-stage{background:#dcd9d3;color:#18202a}
.cinema-stage:after{background:linear-gradient(transparent 65%,#eeefebaa)}
.cinema-top,.cinema-state,.cinema-caption h3{color:#18202a}
.cinema-top>span{background:#eeefebd9;padding:8px 13px;border:1px solid #ffffff80;border-radius:30px;backdrop-filter:blur(12px)}
.cinema-caption p{color:#506075}
.cinema-caption a,.cinema-play{color:#18202a;background:#eeefebd9;border-color:#8a99ac55;backdrop-filter:blur(16px)}
.cinema-progress{background:#23457a22}
.cinema-progress i{background:#23457a}

/* Loading and non-WebGL fallbacks share the same ivory ground. */
.appraisal-stage{background:#dcd9d3}

/* Cloth and floor share one registered plate, so the hem stays on the steps. */
.home-page .appraisal-stage{background:#eeefeb url("assets/appraisal-architecture-cool.png?v=2") 68% center/cover no-repeat}

/* Plain-white-marble trial across the three Home project showcases. */
.home-page :is(#modelling,#artvestige,#study)>:is(.ai-work-stage,.gallery-stage,.atelier-stage){
 background:#f8f9fa url("assets/white-carrara.webp") center/cover no-repeat;
}
.home-page #modelling .ai-work-atmosphere,
.home-page #artvestige .gallery-stage::after{display:none}
