/* Section-scoped integration: existing page content and layout stay intact. */
.scene-host{position:relative;isolation:isolate}
.scene-host>medical-background-scene{max-height:1400px}
medical-background-scene .scene-effects{position:absolute;inset:0;mask-mode:luminance;mask-repeat:no-repeat;mask-size:100% 100%}
.scene-host>.nav,.scene-host>.wrap:not(.hero-bottom),.scene-host>.hero-split{position:relative;z-index:2}
.scene-host>.nav.wrap{z-index:30}
.scene-host .living-field,.scene-host>.grain,.scene-host>.orb,.scene-host>.pulse-stage,.scene-host>.product-pulse,.cursor-glow{display:none!important}
.scene-host:after{display:none}
.scene-host .motion-toggle{z-index:4}
.scene-host .scene-motion{bottom:12px;right:auto;left:auto;inset-inline-end:max(20px,calc((100vw - 1180px)/2))}
/* Themes change only the background-host section. Clinical content stays on its original surfaces. */
.scene-host[data-scene-theme="light"]{background:#e7f1f8!important;color:#08284a}
.scene-host[data-scene-theme="dark"]{background:#061c38!important;color:#f7faff}
.scene-host[data-scene-theme="light"] .hero-copy,
.scene-host[data-scene-theme="light"] .hero-bottom,
.scene-host[data-scene-theme="light"] .section-kicker,
.scene-host[data-scene-theme="light"] .about-title p,
.scene-host[data-scene-theme="light"] .product-intro p,
.scene-host[data-scene-theme="light"] .directory-intro p,
.scene-host[data-scene-theme="light"] .page-title p,
.scene-host[data-scene-theme="light"] .gallery-intro p,
.scene-host[data-scene-theme="light"] .contact-main>div>p{color:#355675!important}
.scene-host[data-scene-theme="dark"] .about-title p,
.scene-host[data-scene-theme="dark"] .gallery-intro p,
.scene-host[data-scene-theme="dark"] .section-kicker{color:#c3d8ed!important}
.scene-host[data-scene-theme="dark"] .nav{color:#f7faff}
.scene-host[data-scene-theme="light"] .nav,
.scene-host[data-scene-theme="light"] .text-link,
.scene-host[data-scene-theme="light"] .workspace-link,
.scene-host[data-scene-theme="light"] .directory-source{color:#08284a}
.scene-host[data-scene-theme="light"] .language-control{color:#08284a;background:#f3f9ffcc;border-color:#177cc440}
.scene-host[data-scene-theme="light"] .language-trigger{color:#08284a;border-color:#177cc455;background:#f3f9ffcc}
.scene-host[data-scene-theme="light"] .language-trigger:focus-visible{outline-color:#177cc4}
.page-hero[data-scene-theme="light"]>.wrap p{color:#355675!important}
.scene-host[data-scene-theme="dark"] .language-control{color:#edf7ff;background:#0a3058aa;border-color:#acd6f940}
.scene-host[data-scene-theme="light"] .motion-toggle{color:#08284a;background:#f3f9ffdd;border-color:#177cc455}
.scene-host[data-scene-theme="light"] .contact-details p,
.scene-host[data-scene-theme="light"] .contact-details span,
.scene-host[data-scene-theme="light"] .contact-details a{color:#08284a!important}
.scene-host[data-scene-theme="light"] .contact-photography p,
.scene-host[data-scene-theme="light"] .contact-photography figcaption{color:#355675}
.scene-host[data-scene-theme="dark"] .about-exterior figcaption{color:#c3d8ed}
/* Keep short header copy well above its pause control without changing its layout. */
.scene-host:not(.hero) .scene-motion{font-size:10px;min-height:34px;padding:6px 12px}
@media(max-width:760px){.scene-host[data-scene-theme="light"] .nav-links{color:white}.scene-host .scene-motion{inset-inline-end:20px}}
