/* A floating transparent sculpture, with genuine silhouette depth. */
.logo-stage{position:relative;isolation:isolate;display:grid;place-items:center;width:250px;height:230px;margin:0;filter:drop-shadow(4px 14px 12px #06152b25);flex:none}
.logo-stage:before{content:'';position:absolute;inset:4% -3% 16%;border-radius:50%;background:radial-gradient(ellipse,#fffefbf5 0%,#fffdf7bf 49%,#fffdf700 72%);z-index:-1;pointer-events:none}
.logo-stage:after{content:'';position:absolute;left:25%;right:25%;height:7%;bottom:13%;background:#10234138;filter:blur(8px);border-radius:50%;z-index:-1;pointer-events:none}
.logo-stage>img,.logo-volume{position:absolute;width:100%;height:100%;object-fit:contain;inset:0;display:block;pointer-events:none}
.logo-stage>img{padding:16px 14px 25px;box-sizing:border-box}
.logo-stage[data-logo-renderer=webgl]>img{visibility:hidden}
.logo-volume{filter:drop-shadow(2px 4px 1px #071b3e25)}
.cinematic-hero .hospital-logo-sculpture{position:absolute;top:13px;right:15px;width:clamp(170px,18vw,250px);height:clamp(160px,17vw,230px);perspective:none;pointer-events:auto;z-index:4;filter:drop-shadow(6px 12px 9px #071b3e30)}
.site-motion-toggle{position:absolute;bottom:0;left:50%;translate:-50% 0;min-height:32px;padding:6px 12px;border:1px solid #c1c9d5;border-radius:30px;background:#fffdf6f2;color:#152552;font:600 10px/1.2 'Noto Sans',system-ui,sans-serif;letter-spacing:.03em;white-space:nowrap;cursor:pointer;pointer-events:auto;box-shadow:0 2px 8px #1023410a;transition:background 200ms,color 200ms}
.site-motion-toggle:hover{background:#152552;color:#fff}.site-motion-toggle:focus-visible{outline:3px solid #d41a3e;outline-offset:4px}.site-motion-toggle:disabled{cursor:default;opacity:.8}
.has-logo-scene{position:relative}
.logo-stage--photo{position:absolute;top:8px;right:8px;width:160px;height:150px;z-index:5}
.logo-stage--photo .site-motion-toggle{min-height:30px;font-size:9px}
.interior-hero-grid.has-motion-emblem,.department-hero-grid.has-motion-emblem{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:45px;align-items:center}
.logo-stage--standalone{justify-self:end}
.has-compact-emblem{position:relative}.has-compact-emblem>.logo-stage--compact{position:absolute;width:135px;height:128px;right:max(24px,calc((100vw - 1280px)/2));top:12px}
.has-compact-emblem .breadcrumbs{padding-right:140px}
.motion-nav{position:relative;isolation:isolate}.motion-nav-marker{position:absolute;left:0;top:0;translate:var(--marker-x,0) var(--marker-y,0);height:3px;border-radius:3px;background:linear-gradient(90deg,#cf1737,#ed4664);pointer-events:none;transition:translate 430ms cubic-bezier(.22,1,.36,1),width 430ms cubic-bezier(.22,1,.36,1);z-index:2}
.motion-nav a[aria-current=page]{border-bottom-color:transparent}
.motion-rule-host{position:relative}.motion-section-rule{display:block;position:absolute;top:0;left:0;width:70px;height:2px;background:linear-gradient(90deg,#cc1635,#152552);transform-origin:left;pointer-events:none}
.motion-detail-card{transform-origin:50% 100%}
html[data-site-motion=paused] *,html[data-site-motion=paused] *:before,html[data-site-motion=paused] *:after{animation-play-state:paused!important;scroll-behavior:auto!important}
html[data-site-motion=paused] .motion-photo,html[data-site-motion=paused] .motion-photograph,html[data-site-motion=paused] .motion-line__ink{clip-path:none!important;translate:none!important;rotate:none!important;scale:1!important;opacity:1!important}
html[data-site-motion=paused] .motion-shutters{display:none}
html[data-site-motion=paused] .motion-nav-marker{transition:none}
@media(max-width:900px){.cinematic-hero .hospital-logo-sculpture{width:185px;height:170px;top:4px;right:4px}.interior-hero-grid.has-motion-emblem,.department-hero-grid.has-motion-emblem{grid-template-columns:minmax(0,1fr) 190px;gap:20px}.logo-stage--standalone{width:190px;height:180px}.logo-stage--photo{width:145px;height:135px}}
@media(max-width:600px){.cinematic-hero .hospital-logo-sculpture{width:156px;height:146px;top:2px;right:2px}.interior-hero-grid.has-motion-emblem,.department-hero-grid.has-motion-emblem{display:flex;flex-direction:column;align-items:stretch;gap:20px}.logo-stage--standalone{align-self:flex-end;width:165px;height:155px;margin-top:-8px}.logo-stage--photo{width:135px;height:126px;right:2px;top:2px}.has-compact-emblem>.logo-stage--compact{position:relative;top:auto;right:auto;margin:12px 24px 0 auto;width:130px;height:123px}.has-compact-emblem .breadcrumbs{padding-right:0}.site-motion-toggle{min-height:32px}.logo-stage--photo .site-motion-toggle{min-height:32px}}
@media(prefers-reduced-motion:reduce){.motion-nav-marker,.site-motion-toggle{transition:none!important}.logo-stage{filter:none}.logo-stage:after{display:none}}
@media print{.logo-stage,.motion-nav-marker,.motion-section-rule{display:none!important}.interior-hero-grid.has-motion-emblem{display:block!important}}
/* Hardware-independent 3D fallback: fifteen silhouette slices, never a square card. */
.logo-stack{position:absolute;inset:0 0 15%;display:block;transform-style:preserve-3d;animation:logo-full-revolution 14500ms linear infinite;transform:perspective(700px) rotateX(-8deg) rotateY(14deg)}
.logo-stack__edge,.logo-stack__front,.logo-stack__back{position:absolute;inset:12%;width:76%;height:76%;object-fit:contain;display:block;backface-visibility:hidden}
.logo-stack__edge{background:linear-gradient(110deg,#8999b1,#344871 35%,#121f48 60%,#8d1d39);mask:url('/assets/hospital-logo-header-512.webp') center/contain no-repeat;transform:translateZ(var(--depth));backface-visibility:visible}
.logo-stack__front{transform:translateZ(8px)}.logo-stack__back{transform:rotateY(180deg) translateZ(8px)}
.logo-stage[data-logo-renderer=css-3d]>img{visibility:hidden}
.logo-stage[data-logo-renderer=webgl]>.logo-stack{display:none}
.logo-stage[data-logo-visible=false] .logo-stack{animation-play-state:paused}
@keyframes logo-full-revolution{from{transform:perspective(700px) rotateX(-8deg) rotateY(14deg)}to{transform:perspective(700px) rotateX(-8deg) rotateY(374deg)}}
@media(prefers-reduced-motion:reduce){.logo-stack{animation:none!important;transform:none!important}}
@media print{.logo-stack{display:none}}
html[data-site-motion=paused] .cinematic-hero .hero-image-layer.is-active{animation:none!important;clip-path:none!important;opacity:1!important}
.article-heading.has-motion-emblem{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:40px;align-items:center}.article-heading.has-motion-emblem .logo-stage{width:220px;height:205px}
html[data-site-motion=paused] .story-scene__photo{clip-path:none!important;transform:none!important}html[data-site-motion=paused] .story-scene__photo img{scale:1!important;translate:none!important}
@media(max-width:760px){.article-heading.has-motion-emblem{display:flex;flex-direction:column;align-items:stretch;gap:8px}.article-heading.has-motion-emblem .logo-stage{align-self:flex-end;width:150px;height:140px}}
/* Both renderers share one clock, so pause/resume cannot drift between them. */
.logo-stage[data-logo-mounted=true] .logo-stack{animation:none}
/* Keep the pause label clear of the extruded wordmark at every viewing angle. */
.logo-stage .site-motion-toggle{bottom:-12px}
/* Permanent brand position: no 3D object or decorative postcard over patient photos. */
.site-header .logo-viewport.logo-stage--header{display:block;overflow:visible;margin:0;padding:0;isolation:isolate;background:transparent;filter:none;perspective:650px}
.site-header .logo-stage--header:before,.site-header .logo-stage--header:after{display:none}
.site-header .logo-stage--header>img,.site-header .logo-stage--header .logo-volume{inset:0;left:0;top:0;width:100%;height:100%;max-width:100%;object-fit:contain;padding:0;filter:none;border-radius:0}
.site-header .logo-stage--header .logo-stack{inset:-7% -10%;width:120%;height:114%;pointer-events:none}
.site-header .logo-stage--header .logo-stack__edge,.site-header .logo-stage--header .logo-stack__front,.site-header .logo-stage--header .logo-stack__back{inset:8%;left:8%;top:8%;width:84%;height:84%;max-width:84%;object-fit:contain;padding:0}
.site-header .site-motion-toggle{position:relative;inset:auto;left:auto;bottom:auto;translate:none;display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:40px;min-height:40px;padding:0;margin-left:0;border:0;border-radius:5px;box-shadow:none;background:transparent;color:#152552;vertical-align:middle}
.site-header .site-motion-toggle:before{content:'';display:block;width:12px;height:14px;background:linear-gradient(90deg,currentColor 0 33%,transparent 33% 66%,currentColor 66%);flex:none}
.site-header .site-motion-toggle[aria-pressed=true]:before{clip-path:polygon(12% 0,100% 50%,12% 100%);background:currentColor}
.site-header .site-motion-toggle:hover{color:#c8102e;background:#f0f3f9}
.site-header .motion-toggle-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1280px){.site-header #main-navigation>.site-motion-toggle{width:100%;height:46px;min-height:46px;justify-content:flex-start;gap:12px;padding:10px 8px;font-size:14px;text-align:left}.site-header .motion-toggle-label{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}}
@media(prefers-reduced-motion:reduce){.site-header .logo-stage--header .logo-stack{transform:none!important}}
@media print{.site-header .logo-stage--header{display:block!important}.site-header .logo-stage--header>img{visibility:visible!important}.site-header .logo-stage--header .logo-volume,.site-header .site-motion-toggle{display:none!important}}
/* Keep navigation clear of the hospital name on small laptop widths. */
@media(min-width:1281px) and (max-width:1360px){.site-header #main-navigation{font-size:14px;gap:10px}}
@media(max-width:1280px){.site-header #main-navigation>.site-motion-toggle{order:-1;margin-bottom:8px;border-bottom:1px solid #dce2eb;border-radius:0}}
