/* Curved architectural model: one service route per floor, shared central control. */
.hero-story{height:calc(100svh + 740px);position:relative}.hero-sticky{position:sticky;top:100px;background:var(--bg)}.hero-story .hero{position:relative;grid-template-columns:40% 60%;gap:0;height:calc(100svh - 100px);min-height:650px;padding-block:20px;align-items:center}.hero-story .hero-copy{z-index:2;max-width:510px}.hero-story .hero h1{font-size:clamp(55px,5.2vw,78px)}.hero-story .hero-description{max-width:430px;font-size:16px}.hero-story .hero-note{margin-top:35px}.hero-story .hero-actions{gap:24px}.engineering-visual{width:calc(100% + 44px);max-width:none;margin-left:-18px;padding:0;align-self:center;min-width:0;isolation:isolate}.engineering-building{display:block;width:100%;height:auto;max-height:calc(100svh - 110px);overflow:visible}.curtain-wall{opacity:.95}.floor-slabs{fill:none;stroke:none}.floor-depth{fill:#465E50;fill-opacity:.22;stroke:#607A65;stroke-width:.6}.floor-surface{fill:url(#floor-glass);stroke:#78937D;stroke-opacity:.55;stroke-width:1}.facade-mullions{fill:none;stroke:#647E6B;stroke-width:.7;opacity:.4}.roof-surface{fill:url(#roof-glass);stroke:#829C7E;stroke-opacity:.8;stroke-width:1.2}.roof-rim{fill:none;stroke:#5D7863;stroke-width:.7;opacity:.65}.building-shadow{fill:#283B30;opacity:.16}.engineering{fill:none;stroke-linecap:round;stroke-linejoin:round}.engineering-heat{color:#B8CC92}.engineering-cool{color:#9EC49C}.engineering-air{color:#8DC540}.engineering-power{color:#C6E86F}.service-route{stroke:currentColor;stroke-width:4}.engineering-air .service-route{stroke-width:6}.route-underlay{stroke:currentColor;stroke-width:12;opacity:.1}.system-endpoint>circle:first-child{fill:var(--bg);stroke:currentColor;stroke-width:2}.system-endpoint>circle:last-child{fill:currentColor;stroke:none}.bms-control{transform-origin:445px 639px}.bms-metal{fill:url(#hub-metal);stroke:#C6E86F;stroke-width:2}.bms-inner{fill:none;stroke:#3B5429;stroke-width:.6;stroke-opacity:.5}.bms-halo{opacity:.7}.bms-orbit{fill:none;stroke:#8DC540;stroke-width:1;stroke-opacity:.75}.bms-title{font:500 20px Arial;fill:#202A2C;text-anchor:middle;letter-spacing:2px}.bms-small{font:9px Arial;fill:#202A2C;text-anchor:middle;letter-spacing:1px}.hub-ports{fill:#D7EAA6;stroke:#59733D;stroke-width:1}
@media(min-width:1600px){.hero-story .hero{grid-template-columns:38% 62%;max-width:1600px}.engineering-visual{width:100%;margin-left:0}.hero-story .hero h1{font-size:82px}}
@media(max-width:1100px){.hero-sticky{top:85px}.hero-story .hero{height:calc(100svh - 85px);min-height:590px;grid-template-columns:43% 57%}.hero-story .hero h1{font-size:57px}.hero-story .hero-description{font-size:14px}.engineering-visual{width:calc(100% + 26px);margin-left:-8px}.hero-story .hero-actions{gap:16px;flex-wrap:wrap}.hero-story .hero .eyebrow{font-size:9px}.hero-story .hero-note{margin-top:25px}}
@media(max-width:850px){.hero-sticky{top:78px}.hero-story .hero{height:calc(100svh - 78px);min-height:590px;grid-template-columns:43% 57%}.hero-story .hero h1{font-size:48px}.hero-story .hero-description{font-size:13px}.hero-story .hero .eyebrow{font-size:8px;letter-spacing:.09em}.hero-story .hero-note p{font-size:10px}.engineering-visual{width:calc(100% + 30px);margin-left:-5px}.hero-story .hero-actions .button{padding:12px 16px;font-size:12px;gap:14px}.hero-story .hero-actions .text-link{font-size:12px}}
@media(max-width:580px){.hero-story{height:calc(100svh + 580px)}.hero-story .hero{height:calc(100svh - 78px);min-height:650px;grid-template-columns:1fr;grid-template-rows:auto minmax(300px,1fr);align-items:start;gap:0;padding-block:24px 0}.hero-story .hero h1{font-size:45px;margin-bottom:15px;max-width:360px}.hero-story .hero h1 em{display:inline}.hero-story .hero .eyebrow{font-size:8px;margin-bottom:15px}.hero-story .hero-description{font-size:13px;line-height:1.6;margin-bottom:18px;max-width:360px}.hero-story .hero-actions{margin-top:0;gap:22px;flex-wrap:nowrap}.hero-story .hero-actions .button{min-height:43px;padding:10px 15px;font-size:12px}.hero-story .hero-note{display:none}.engineering-visual{width:calc(100% + 30px);margin-left:-15px;height:100%;display:flex;align-items:center;justify-content:center}.engineering-building{width:100%;height:100%;max-height:calc(100svh - 370px);min-height:300px}html[lang=en] .hero-story .hero h1{font-size:41px}}
@media(max-height:740px) and (min-width:581px){.hero-story .hero{min-height:530px}.hero-story .hero h1{font-size:54px}.hero-story .hero .eyebrow{margin-bottom:18px}.hero-story .hero-description{font-size:14px}.hero-story .hero-note{margin-top:24px}.engineering-building{max-height:calc(100svh - 100px)}}
@media(prefers-reduced-motion:reduce){.hero-story{height:auto}.hero-sticky{position:relative;top:0}.hero-story .hero{height:auto;min-height:650px}}

/* Room devices, secondary circuits and continuous bidirectional telemetry. */
.branch-route{stroke:currentColor;stroke-width:1.7;stroke-opacity:.8}.junction-node{fill:var(--bg);stroke:currentColor;stroke-width:1.3}.device-node .device-plate{fill:#273437;fill-opacity:.98;stroke:currentColor;stroke-width:1.3}.device-icon{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.device-node>circle.device-status{fill:currentColor;stroke:#273437;stroke-width:1.6;animation:device-heartbeat 3.4s ease-in-out infinite}.device-node:nth-child(3n)>circle.device-status{animation-delay:-1.1s}.device-node:nth-child(3n + 1)>circle.device-status{animation-delay:-2.3s}.packet-halo{fill:currentColor;fill-opacity:.17;stroke:none}.packet-core{fill:#F5F6F1;stroke:currentColor;stroke-width:1.5}.data-packet[data-direction="1"] .packet-core{fill:currentColor;stroke:#273437;stroke-width:1}.roof-surface{fill-opacity:.6}.bms-orbit{animation:control-heartbeat 4s ease-in-out infinite}.hero-story:not([data-live="true"]) .device-status,.hero-story:not([data-live="true"]) .bms-orbit{animation-play-state:paused}
@keyframes device-heartbeat{0%,100%{fill-opacity:.5}50%{fill-opacity:1}}
@keyframes control-heartbeat{0%,100%{stroke-opacity:.35;stroke-width:1}50%{stroke-opacity:.95;stroke-width:1.8}}
@media(prefers-reduced-motion:reduce){.traffic-layer{display:none}.device-status,.bms-orbit{animation:none}}

/* Revised architecture: a shallow glass facade and one shared data shaft. */
.front-facade{fill:url(#front-glass);stroke:#6D8671;stroke-width:1;stroke-opacity:.6}.side-facade{fill:url(#side-glass);stroke:#56705D;stroke-width:1;stroke-opacity:.55}.floor-surface{stroke-opacity:.28;stroke-width:.7}.floor-front-edge{fill:none;stroke:#6B8470;stroke-width:1;stroke-opacity:.45}.facade-mullions{opacity:.2}.pavilion-front{fill:url(#side-glass);stroke:#66816B;stroke-opacity:.65;stroke-width:.8}.pavilion-roof{fill:url(#roof-glass);stroke:#708974;stroke-width:.8}.engineering-backbone{color:#91AE84}.backbone-route{stroke-width:2.5}.branch-route{stroke-width:2.2;stroke-opacity:.85}.route-underlay{stroke-width:8}.device-node .device-plate{stroke-width:1.2}.bms-control{transform-origin:413.6px 654px}.bms-orbit{animation-duration:8s}.device-node>circle.device-status{animation-duration:6s}.roof-surface{fill-opacity:.85}

/* Semi-transparent BIM cutaway: structure, floor plates, plant and MEP. */
.bim-face{stroke:#7D9383;stroke-width:.6;stroke-linejoin:round}.bim-slab.face-top{fill:#7F9188;fill-opacity:.68}.bim-slab.face-front{fill:#5A6E64;fill-opacity:.67}.bim-slab.face-side{fill:#465B50;fill-opacity:.6}.bim-column.face-top,.bim-beam.face-top{fill:#A7B6AA;fill-opacity:.92}.bim-column.face-front,.bim-beam.face-front{fill:#879B8C;fill-opacity:.78}.bim-column.face-side,.bim-beam.face-side{fill:#465B50;fill-opacity:.7}.bim-core.face-front{fill:#627B68;fill-opacity:.57}.bim-core.face-side{fill:#475F50;fill-opacity:.5}.bim-core.face-top{fill:#90A38E;fill-opacity:.8}.bim-stair{fill:#738B78;fill-opacity:.7;stroke-width:.4}.bim-glass{fill:#6F916E;fill-opacity:.1;stroke:#789277;stroke-opacity:.4}.bim-duct.face-front{fill:#687F71;fill-opacity:.78}.bim-duct.face-side{fill:#4F6956;fill-opacity:.72}.bim-duct.face-top{fill:#91A593;fill-opacity:.84}.bim-equipment{stroke-width:.75;fill-opacity:.93}.bim-equipment.face-front{fill:#748C78}.bim-equipment.face-side{fill:#526C58}.bim-equipment.face-top{fill:#9FB39F}.equipment-air.face-front{fill:#7D9A77}.equipment-cool.face-front{fill:#809C88}.equipment-heat.face-front{fill:#9BA883}.equipment-meter.face-front,.equipment-control.face-front{fill:#78946F}.equipment-diffuser.face-front{fill:#A1B29A}.bim-light-panel{fill:#AFC989;fill-opacity:.95;stroke:#C6E86F;stroke-width:.45}.bim-model .bim-trunk{stroke-width:2.8}.bim-model .engineering-air .bim-trunk{stroke-width:3.5}.bim-model .route-underlay{stroke-width:8}.bim-model .bim-branch{stroke-width:1.7;stroke-opacity:.92}.engineering-energy{color:#A8D566}.bim-terminal{fill:#273437;stroke:currentColor;stroke-width:1.2}.bim-leader{fill:none;stroke:currentColor;stroke-width:1;stroke-opacity:.65}.bim-label-bg{fill:#273437;fill-opacity:.97;stroke:#46594B;stroke-width:1}.bim-label-text{font:500 12px Arial,Helvetica,sans-serif;fill:#F5F6F1;letter-spacing:0}.bim-callout .device-icon{stroke-width:1.65}.bim-callout>circle.device-status{stroke-width:1;animation-duration:4s}.bim-control-link{fill:none;stroke:#8DC540;stroke-width:2;stroke-linejoin:round}.bms-control{transform-origin:385px 710px}.bms-orbit{animation-duration:5s}.bim-model{max-height:calc(100svh - 120px)}
@media(min-width:1101px){.hero-story .hero{grid-template-columns:38% 62%}.engineering-visual{width:calc(100% + 55px);margin-left:-20px}}
@media(max-width:580px){.bim-label-text{font-size:14px;letter-spacing:-.1px}.bim-model{max-height:calc(100svh - 360px)}.engineering-visual{width:calc(100% + 40px);margin-left:-20px}}
.bim-mobile-labels{display:none}
@media(max-width:580px){.engineering-building.bim-model{width:100%;height:auto;max-height:calc(100svh - 450px);min-height:290px}}

/* A larger, quietly coloured cutaway with labels beside the related equipment. */
.bim-plant-rib{fill:#809A7D;fill-opacity:.65;stroke-width:.4}
.engineering-smoke{color:#A5BBB8}
.engineering-fire{color:#CB9F8E}
.engineering-cabinet{color:#A6BB83}
.equipment-smoke.face-front{fill:#849D98}
.equipment-fire.face-front{fill:#9D8075}
.equipment-cabinet.face-front{fill:#82946B}
.bim-spray{fill:none;stroke:currentColor;stroke-width:1;stroke-opacity:.48}
.bim-fire-plate{fill:#A6B6A6}
.bim-cabinet-detail{fill:none;stroke:currentColor;stroke-width:1.1;stroke-opacity:.8}
.bim-model{max-height:calc(100svh - 125px)}
.bim-label-bg{fill:#273437;fill-opacity:.97}
.bim-model .bim-callout{cursor:pointer}
.bim-model .bim-callout:is(:hover,:focus-visible) .bim-label-bg{fill:var(--accent-soft);stroke:var(--accent-strong);stroke-width:2.5;vector-effect:non-scaling-stroke}
.bim-leader{stroke-opacity:.55}
@media(min-width:1101px){
 .hero-story .hero{grid-template-columns:36% 64%}
 .hero-story .hero-copy{max-width:460px}
 .engineering-visual{width:calc(100% + 50px);margin-left:-22px}
}
@media(min-width:1600px){.engineering-visual{width:calc(100% + 30px);margin-left:-10px}}
@media(max-width:1100px){
 .hero-story .engineering-visual{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:0;max-height:100%}
 .hero-story .engineering-building.bim-model{min-height:0}
 .bim-model .bim-callout,.bim-model .bim-leader{display:none}
 .bim-mobile-labels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:0 0 auto;gap:5px 10px;padding:0 14px 8px;width:100%;max-width:480px;font-size:10px;line-height:1.35;color:#BCC7BD}
 .bim-mobile-labels>a{display:flex;align-items:center;gap:6px;min-width:0;min-height:44px;padding:4px;border-radius:6px;color:var(--ink);font-size:11px;overflow-wrap:anywhere}
 .bim-mobile-labels>a:is(:hover,:focus-visible){background:var(--accent-soft);color:var(--ink)}
 .bim-mobile-labels>a:focus-visible{outline-offset:-2px}
 .bim-mobile-labels svg{width:16px;height:16px;flex-shrink:0;fill:none;stroke:#C6E86F;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
}
@media(min-width:581px) and (max-width:1100px){.engineering-building.bim-model{max-height:calc(100svh - 180px)}}
@media(max-width:580px){.engineering-building.bim-model{max-height:calc(100svh - 425px);min-height:310px}}

/* Follow the measured sticky header throughout its compacting transition. */
.hero-story .hero-sticky{top:var(--header-offset,100px)}
.hero-story .hero{height:calc(100svh - var(--header-offset,100px))}
@media(prefers-reduced-motion:reduce){.hero-story .hero-sticky{top:0}.hero-story .hero{height:auto}}

/* Composite each assembly as a single translucent object inside the cutaway. */
.bim-structure .bim-cabinet-details {
  opacity: calc(.23 + .51 * var(--bim-cabinet-reveal, 0));
}
.bim-structure .bim-fire-details {
  opacity: calc(.25 + .51 * var(--bim-fire-reveal, 0));
}
.engineering-fire .bim-spray {
  opacity: var(--bim-fire-reveal, 0);
}
.bim-structure .bim-tube-glass {
  stroke: #C5D6CE;
  stroke-opacity: .12;
}
.bim-structure .bim-tube-wall {
  stroke: #C1CDC4;
  stroke-opacity: .78;
}
.bim-structure .bim-cabinet-front,
.bim-structure .bim-cabinet-side,
.bim-structure .bim-cabinet-top{stroke:#65736B;stroke-width:.65;fill-opacity:.96}
.bim-structure .bim-cabinet-front{fill:#9AA49E}
.bim-structure .bim-cabinet-side{fill:#6B7870}
.bim-structure .bim-cabinet-top{fill:#BEC7BE}
.bim-structure .bim-cabinet-grille{fill:none;stroke:#4B5850;stroke-width:.8}
.bim-structure .bim-cabinet-handle{fill:none;stroke:#455349;stroke-width:1.1;stroke-linecap:round}
.bim-structure .bim-cabinet-display{fill:#849A83;stroke:#566C52;stroke-width:.65}
.bim-structure .bim-cabinet-warning{fill:#C0C58E;stroke:#616A49;stroke-width:.65}
.bim-structure .bim-fire-valve{fill:#93AB8D;stroke:#65785F;stroke-width:.8}
.bim-structure .bim-fire-union{fill:#8C9D85;stroke:none}
.bim-structure .bim-fire-cap{fill:#ADB9AE;stroke:#6F7E70;stroke-width:.7}
.bim-structure .bim-sprinkler-frame{fill:none;stroke:#A09A8E;stroke-width:.75}
.bim-structure .bim-fire-sprinkler{fill:#B69D86;stroke:#7B6D60;stroke-width:.7}
