/* One shared canvas; animation draws once and becomes a static illustration. */
.hero:has(.engineering-atlas) .hero-grid{display:block;padding-block:34px 26px}
.hero:has(.engineering-atlas) .hero-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 42px;align-items:center}
.hero:has(.engineering-atlas) .hero-copy>.eyebrow{grid-column:1/-1;margin:0}
.hero:has(.engineering-atlas) h1{max-width:870px;font-size:clamp(32px,3.15vw,46px);line-height:1.15}
.hero:has(.engineering-atlas) .hero-links{margin:0;flex-direction:column;min-width:174px}
.engineering-atlas{margin:26px 0 0;min-width:0;--diagram-ink:#d4e8f2;--diagram-soft:#6f9ab6;--diagram-accent:#8be3dc;--diagram-roof:#20518b;--diagram-face:#15477f;--diagram-side:#0c3970;--diagram-ground:#123f76}
.engineering-stage{width:100%;aspect-ratio:1510/670;overflow:hidden}
.engineering-svg{display:block;width:100%;height:100%;overflow:hidden}
.engineering-scene{transition:opacity 180ms ease;cursor:pointer}
.engineering-scene.is-muted{opacity:.18}
.engineering-scene.is-selected{--diagram-ink:#f0fcff;--diagram-accent:#b1fff1}
.engineering-atlas .scene-ground{display:none}
.scene-surface{stroke-opacity:.15}
.scene-hit{fill:transparent;stroke:transparent;transition:fill 180ms ease,stroke 180ms ease;pointer-events:all}
.engineering-scene:focus{outline:none}
.engineering-scene:focus-visible .scene-hit{fill:#88dcd911;stroke:var(--diagram-accent);stroke-width:1.5}
@media(hover:hover){.engineering-scene:hover .scene-hit{fill:#88dcd908;stroke:#a7d4e42b;stroke-width:1}}
.scene-guides{opacity:.36}
.scene-detail{stroke:var(--diagram-soft,#698fac);stroke-width:1.1}
.scene-accent{stroke:var(--diagram-accent,#078da1);stroke-width:1.9}
.scene-number{letter-spacing:.12em;opacity:.7}
.scene-caption{fill:#d4e8f2;stroke:none;font-weight:400;font-family:Noto,sans-serif;pointer-events:all}
.engineering-atlas:not(.is-overview) .scene-caption{display:none}
.engineering-legend{display:none}
.engineering-controls{display:flex;gap:14px 24px;align-items:center;justify-content:space-between;padding-top:18px;border-top:1px solid #9fc7e52b}
.engineering-picker{min-width:0;flex:1;max-width:600px}
.engineering-picker select{width:100%;min-width:0;max-width:100%;padding:12px 34px 12px 12px;border:1px solid #8aafd24d;border-radius:7px;background:#0d3e78;color:#e7f5ff;font:inherit;font-size:14px;min-height:46px;text-overflow:ellipsis}
.engineering-picker option{background:white;color:#15365c}
.engineering-paging{display:flex;gap:6px;flex-shrink:0}
.engineering-paging button{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #8aafd24d;border-radius:7px;background:transparent;color:#def4ff;font-size:14px;line-height:1.4}
.engineering-paging button[data-overview]{padding-inline:14px}
.engineering-paging button:hover,.engineering-picker select:hover{background:#164b86}
.engineering-link{font-size:13px;line-height:1.5;color:#c7e1f6;white-space:nowrap}
.engineering-link:hover{color:white;text-decoration:underline}
.engineering-controls :is(select,button,a):focus-visible{outline:2px solid #a1ede8;outline-offset:3px}
.no-js .engineering-picker,.no-js .engineering-paging{display:none}
.department-drawing{position:absolute;right:0;top:-12px;width:310px;height:255px;margin:0;--diagram-ink:#315f90;--diagram-soft:#94afc3;--diagram-accent:#158c9a;--diagram-roof:#eff5f8;--diagram-face:#e2ecf2;--diagram-side:#f8fbfd;--diagram-ground:#f2f6f9}
.department-drawing .engineering-scene{cursor:default}
.department-page .page-heading:has(.department-drawing){position:relative;min-height:250px;padding-right:350px}
.department-drawing .scene-number{display:none}
.is-prepared:not(.is-complete) :is(.scene-structure,.scene-detail,.scene-accent,.scene-guides) :is(path,rect,circle),
.is-prepared:not(.is-complete) :is(path,rect,circle):is(.scene-structure,.scene-detail,.scene-accent,.scene-guides){stroke-dasharray:1;stroke-dashoffset:1;fill-opacity:0}
.is-prepared:not(.is-playing):not(.is-complete) .scene-number{opacity:0}
.is-prepared:not(.is-complete) .scene-surface{opacity:0}
.is-playing:not(.is-complete) .scene-surface{animation:engineering-surface 1600ms calc(var(--scene-delay,0ms) + 1900ms) ease both}
.is-prepared.is-playing .engineering-scene.is-muted :is(path,rect,circle){animation:none!important;stroke-dashoffset:0;fill-opacity:1}
.is-prepared.is-playing .engineering-scene.is-muted .scene-surface{opacity:1}
.is-playing:not(.is-complete) :is(.scene-structure) :is(path,rect,circle),.is-playing:not(.is-complete) :is(path,rect,circle).scene-structure{animation:engineering-draw 2700ms var(--scene-delay,0ms) cubic-bezier(.22,.1,.28,1) both}
.is-playing:not(.is-complete) .scene-detail :is(path,rect,circle),.is-playing:not(.is-complete) :is(path,rect,circle).scene-detail{animation:engineering-draw 1900ms calc(var(--scene-delay,0ms) + 1400ms) ease both}
.is-playing:not(.is-complete) .scene-accent :is(path,rect,circle),.is-playing:not(.is-complete) :is(path,rect,circle).scene-accent{animation:engineering-draw 1800ms calc(var(--scene-delay,0ms) + 1900ms) ease both}
.is-playing:not(.is-complete) .scene-guides :is(path,rect,circle){animation:engineering-draw 1700ms calc(var(--scene-delay,0ms) + 700ms) ease both}
.is-playing:not(.is-complete) .scene-number{animation:engineering-label 900ms calc(var(--scene-delay,0ms) + 2600ms) ease both}
@keyframes engineering-draw{0%{stroke-dashoffset:1;fill-opacity:0}80%{stroke-dashoffset:0;fill-opacity:0}100%{stroke-dashoffset:0;fill-opacity:1}}
@keyframes engineering-label{from{opacity:0}to{opacity:.7}}
@keyframes engineering-surface{from{opacity:0}to{opacity:1}}
@media(max-width:1023px){.engineering-controls{flex-wrap:wrap;gap:12px}.engineering-picker{max-width:none}.engineering-link{flex-basis:100%}.department-page .page-heading:has(.department-drawing){padding-right:270px}.department-drawing{width:240px;height:230px}}
@media(max-width:767px){
 .hero:has(.engineering-atlas) .hero-copy{display:block}
 .hero:has(.engineering-atlas) .hero-copy>.eyebrow{margin-bottom:20px}
 .hero:has(.engineering-atlas) h1{font-size:clamp(28px,7.8vw,36px)}
 .hero:has(.engineering-atlas) .hero-links{flex-direction:row;margin-top:24px;min-width:0}
 .engineering-atlas{margin-top:28px}
 .engineering-stage{aspect-ratio:360/250;max-height:340px}
 .engineering-atlas.is-overview .engineering-stage{aspect-ratio:1510/670;max-height:none}
 .engineering-controls{padding-top:14px;gap:10px}
 .engineering-picker{flex-basis:100%}
 .engineering-picker select{font-size:13px}
 .engineering-link{flex-basis:auto;margin-left:auto;white-space:normal;font-size:12px}
 .engineering-paging{gap:5px}
 .engineering-paging button{font-size:12px;padding-inline:9px}
 .engineering-paging button[data-overview]{padding-inline:10px}
 .department-page .page-heading:has(.department-drawing){padding-right:0;min-height:0}
 .department-drawing{position:relative;top:auto;width:min(100%,340px);height:240px;margin:18px auto 0}
}
@media(prefers-reduced-motion:reduce){.engineering-scene,.scene-hit{transition:none}.is-prepared:not(.is-complete) :is(path,rect,circle){animation:none!important;stroke-dashoffset:0!important;fill-opacity:1!important}.is-prepared .scene-number,.is-prepared .scene-surface{animation:none!important;opacity:1!important}}
@media(max-width:767px){
 .engineering-atlas .scene-caption{display:none}
 .engineering-atlas.is-overview .engineering-legend{display:grid;grid-template-columns:1fr 1fr;gap:0 15px;margin:8px 0 18px}
 .engineering-legend button{display:flex;align-items:start;gap:7px;min-height:44px;padding:10px 0;text-align:left;font:inherit;font-size:11px;line-height:1.5;background:none;color:#d4e8f2;border:0;border-bottom:1px solid #9fc7e52b}
 .engineering-legend button span{color:#8be3dc;font-size:10px;font-variant-numeric:tabular-nums}
 .no-js .engineering-legend{display:none!important}
}
