/* Selected Glass B release: one type scale + a centred, touch-friendly hero.
   All former panorama/map/header functionality stays in its existing layers. */
:root {
 --z-font:'Segoe UI',Arial,Helvetica,sans-serif;
 --z-body:1.0625rem; --z-lead:1.125rem; --z-ui:.9375rem;
 --z-h1:clamp(2.25rem,3.5vw,3.25rem); --z-h2:clamp(1.75rem,2.4vw,2.25rem);
 --z-h3:clamp(1.25rem,1.6vw,1.5rem); --z-small:.8125rem;
}
html {font-size:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.theme-constellation,body.theme-constellation :is(button,input,select,textarea){font-family:var(--z-font)!important}
body.theme-constellation :is(h1,h2,h3,h4){font-family:var(--z-font)!important;font-weight:600}
body.theme-constellation #main :is(.polished-content,.closing-copy,.section-rail,.hw-process-section,.hw-outcomes,.hw-cta) p,
body.theme-constellation #main .polished-content li {font-size:var(--z-body)!important;line-height:1.65!important}
body.theme-constellation #main :is(.polished-content,.section-rail) h2,
body.theme-constellation #main.hw-page h2 {font-size:var(--z-h2)!important;line-height:1.18!important}
body.theme-constellation #main :is(.polished-content,.section-rail) h3,
body.theme-constellation #main.hw-page .hw-step h3 {font-size:var(--z-h3)!important;line-height:1.25!important}
body.theme-constellation #main :is(.eyebrow,.kicker,.hw-eyebrow) {font-size:.75rem!important;line-height:1.5!important;letter-spacing:.11em!important}
body.theme-constellation #main .polished-content :is(.eyebrow,.kicker){font-size:.75rem!important;line-height:1.5!important}
body.theme-constellation #main :is(.hw-step-copy,.detail-benefit p,.solution-path p){font-size:var(--z-body)!important;line-height:1.65!important}
html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .hw-hero-layout {
 width:calc(100% - var(--vp-gutter,40px)*2)!important;max-width:1240px!important;
 padding-top:calc(var(--vp-header,138px) + 20px)!important;padding-bottom:90px!important;
 min-height:100svh!important;height:auto!important;display:flex!important;flex-direction:column!important;
 align-items:center!important;justify-content:center!important;gap:20px!important;
}
html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .atg-module[data-style=brain] {
 align-self:center!important;width:min(760px,100%)!important;max-width:760px!important;
 padding:0!important;margin:0 auto!important;flex:0 0 auto!important;
}
html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .atg-eyebrow {
 justify-content:center!important;font-family:var(--z-font)!important;font-size:1.125rem!important;
 font-weight:600!important;line-height:1.45!important;letter-spacing:.12em!important;color:#edf8ff!important;
 margin:0 0 6px!important;text-shadow:0 2px 8px #031323cc!important;
}
html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .atg-stage {
 top:0!important;height:clamp(260px,37svh,420px)!important;width:100%!important;
 margin:0!important;flex:none!important;
}
#main.hw-page[data-atg=brain] .atg-brain-poster {transform:scale(1.12);transform-origin:center;}
/* Horizontal touch movement tilts the brain; vertical scrolling and pinch zoom stay native. */
#main.hw-page[data-atg=brain] .atg-stage {touch-action:pan-y pinch-zoom;}
#main.hw-page[data-atg=brain] .atg-brain-labels .atg-word {font-family:var(--z-font)!important;font-size:clamp(1rem,1.25vw,1.375rem)!important;line-height:1.3!important;min-height:44px;}
#main.hw-page[data-atg=brain] .atg-footer {display:none!important}
html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .hw-cinema-glass {
 width:100%!important;max-width:1200px!important;padding:24px 30px!important;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:20px 40px!important;
}
html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] #hw-title {
 font-size:var(--z-h1)!important;line-height:1.1!important;letter-spacing:-.04em!important;
}
html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .hw-lead {
 font-size:var(--z-lead)!important;line-height:1.6!important;max-width:52ch;margin-bottom:10px!important;
}
#main.hw-page[data-hw-hero-option=glass][data-atg=brain] .hw-hero .hw-actions>.hw-button{display:none!important}
#main.hw-page .hw-actions .hw-text-link{font-size:var(--z-ui)!important;min-height:44px}
#main.hw-page .hw-scene-toggle{font-size:.875rem!important;min-height:44px!important}
#main.hw-page .hw-scene-caption,#main.hw-page .hw-scene-count {font-size:.8125rem!important;line-height:1.4!important}
/* Photographs resolve by slot. A failure never substitutes another page's photo. */
img[data-z-media] {font:inherit;}
img[data-z-media][data-media-failed] {visibility:hidden!important;}
@media(max-width:1099px){
 :root {--z-body:1rem;--z-lead:1.0625rem;--z-h1:clamp(2rem,4.3vw,2.75rem)}
 html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .hw-hero-layout {
 padding-top:calc(var(--vp-header,124px) + 20px)!important;padding-bottom:22px!important;
 min-height:0!important;gap:22px!important;width:calc(100% - 44px)!important;
 }
 html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .hw-cinema-glass {
 order:1!important;grid-template-columns:1fr!important;gap:15px!important;padding:22px 24px!important;max-width:700px!important;
 }
 html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .atg-module {
 order:2!important;max-width:640px!important;
 }
 html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .atg-stage {
 height:clamp(250px,36vw,350px)!important;
 }
 #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .hw-cinema-bottom {
 position:relative!important;inset:auto!important;width:calc(100% - 44px)!important;max-width:700px!important;
 margin:0 auto!important;padding:10px 0 16px!important;gap:8px!important;flex-direction:row!important;align-items:center!important;
 }
 #main.hw-page .hw-cinema-bottom .hw-scene-caption {max-width:38ch!important;flex:1!important;}
 #main.hw-page .hw-scene-controls {gap:8px!important;flex-wrap:wrap!important;justify-content:flex-end!important;}
 #main.hw-page .hw-scene-dots button{width:36px!important;height:44px!important;}
 #main.hw-page .hw-scene-count {display:none!important}
}
@media(max-width:599px){
 :root {--z-h1:clamp(1.875rem,8.1vw,2.375rem);--z-h2:1.75rem;--z-h3:1.25rem;--z-lead:1rem}
 html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .hw-hero-layout {
 width:calc(100% - 32px)!important;padding-top:calc(var(--vp-header,124px) + 16px)!important;padding-bottom:10px!important;gap:20px!important;
 }
 html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .hw-cinema-glass {
 padding:20px 20px 16px!important;border-radius:20px!important;gap:12px!important;
 }
 html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .atg-eyebrow {
 font-size:1rem!important;letter-spacing:.10em!important;margin:0 0 8px!important;
 }
 html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .atg-stage {
 height:clamp(215px,66vw,300px)!important;
 }
 #main.hw-page[data-atg=brain] .atg-brain-labels .atg-word {font-size:1rem!important;padding:7px 10px!important;}
 #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .hw-cinema-bottom {
 width:calc(100% - 40px)!important;max-width:100%!important;padding-bottom:14px!important;gap:2px!important;flex-direction:column!important;align-items:stretch!important;
 }
 #main.hw-page .hw-cinema-bottom .hw-scene-caption {font-size:.8125rem!important;max-width:none!important}
 #main.hw-page .hw-scene-controls {justify-content:space-between!important;}
 #main.hw-page .hw-scene-toggle{padding:8px 12px!important;font-size:.8125rem!important;}
 #main.hw-page .hw-process-section {padding:38px 0!important;}
 #main.hw-page .hw-section-top {align-items:flex-start!important;flex-wrap:wrap;gap:12px!important;}
 #main.hw-page .hw-step {text-align:left!important;min-height:0!important;}
 #main.hw-page .hw-step :is(.hw-step-title,h3){font-size:1.25rem!important;line-height:1.25!important;}
 #main.hw-page .hw-step :is(.hw-step-copy,p){font-size:1rem!important;line-height:1.6!important;}
}
@media(min-width:1100px) and (max-height:750px){
 html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .hw-hero-layout {padding-top:calc(var(--vp-header) + 14px)!important;gap:8px!important;padding-bottom:80px!important;}
 html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .atg-stage {height:240px!important}
 html.zvp-ready body.theme-constellation #main.hw-page[data-hw-hero-option=glass][data-atg=brain] .hw-cinema-glass {padding:18px 24px!important;}
}
@media(prefers-reduced-motion:reduce){#main.hw-page[data-atg=brain] .atg-word{transition:none!important}}
@media(max-width:1099px){
 html.zvp-ready body.theme-constellation #main.hw-page[data-atg=brain]>.hw-hero {min-height:0!important;height:auto!important;max-height:none!important;}
}
