/* V6.7: a narrower discipline slot leaves more room for sign-in. */
.header .section-navigation>a{border-bottom:3px solid transparent;position:relative;min-width:0;color:var(--paper)}
.header .section-navigation>a:after{display:none;content:none}
.header .section-navigation>a.is-current{color:var(--accent);border-bottom-color:var(--accent)}
.nav-parent{display:none}.nav-topic{display:block}
.header .has-subtopic .nav-parent{display:block;font-size:7px;line-height:1.3;opacity:.7;font-weight:500;letter-spacing:.15px;margin-bottom:2px}
.header .header-contact,#motion{flex:none}
:root{--ordered-header:96px;--sector-pin-top:var(--ordered-header)}
.header[data-nav-version="4"]{height:var(--ordered-header);background:#3b3e40ed}
@media(min-width:1101px){
 .header[data-nav-version="4"]{padding:0 3%;gap:12px;flex-wrap:nowrap}
 .header[data-nav-version="4"] .brand{font-size:34px}
 .header[data-nav-version="4"] .brand-mark{margin-right:9px}
 .header[data-nav-version="4"] .brand-note{display:flex;margin:0;padding-left:18px;gap:12px;font-size:9px;letter-spacing:.8px}
 .header[data-nav-version="4"] .company-logo{width:41px;height:46px}
 body[data-design-version="V6"] .header[data-nav-version="4"] .section-navigation{position:static;flex:1;min-width:0;height:52px;margin:0;display:grid;align-items:stretch;grid-template-columns:.9fr .9fr 2fr .85fr .95fr 1.05fr .9fr 1fr;gap:4px;overflow:visible;order:1}
 body[data-design-version="V6"] .header[data-nav-version="4"] .section-navigation>a{display:flex;align-items:center;justify-content:center;white-space:normal;padding:3px 0 5px;height:100%;line-height:1.25;font-size:11px;font-weight:600;text-align:center}
 .header .section-navigation .has-subtopic .nav-topic{font-size:.9em}
 .header .section-navigation .nav-caption{width:100%;min-width:0}
 .header .section-navigation .nav-topic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
 .header[data-nav-version="4"] .portal-link{display:flex;flex:none;order:3;margin:0;padding:0 0 0 10px;border-left:1px solid var(--line);min-height:36px;font-size:10px;white-space:nowrap}
 .header[data-nav-version="4"] #motion{order:2;min-width:24px}
 .header[data-nav-version="4"] .motion-label,.header[data-nav-version="4"] .header-contact{display:none}
 .header[data-nav-version="4"] .menu-toggle,.header[data-nav-version="4"] .mobile-nav{display:none}
}
@media(min-width:1101px) and (max-width:1250px){
 .header[data-nav-version="4"]{gap:9px;padding-left:2.5%;padding-right:2.5%}
 .header[data-nav-version="4"] .brand{font-size:27px}
 .header[data-nav-version="4"] .brand-note{font-size:7px;padding-left:10px;gap:8px}
 .header[data-nav-version="4"] .company-logo{width:32px;height:37px}
 body[data-design-version="V6"] .header[data-nav-version="4"] .section-navigation{gap:3px}
 body[data-design-version="V6"] .header[data-nav-version="4"] .section-navigation>a{font-size:10px}
}
@media(min-width:1600px){
 .header[data-nav-version="4"]{gap:20px}
 .header[data-nav-version="4"] .brand{font-size:36px}
 .header[data-nav-version="4"] .brand-note{font-size:9px;padding-left:20px;gap:12px}
 .header[data-nav-version="4"] .company-logo{width:39px;height:44px}
 body[data-design-version="V6"] .header[data-nav-version="4"] .section-navigation>a{font-size:11px}
}
@media(max-width:1100px){
 :root{--ordered-header:80px}
 body[data-design-version="V6"] .header[data-nav-version="4"] .section-navigation{display:none}
 .header .menu-toggle{display:flex;flex:none;flex-direction:column;justify-content:center;gap:6px;width:26px;min-height:44px;padding:0}
 .menu-toggle>span{width:24px;height:1px;background:var(--paper);display:block;transition:transform .25s}
 .menu-open .menu-toggle>span:first-child{transform:translateY(3.5px) rotate(45deg)}
 .menu-open .menu-toggle>span:last-child{transform:translateY(-3.5px) rotate(-45deg)}
 .header .mobile-nav{position:absolute;inset:79px 0 auto;display:flex;flex-direction:column;gap:0;background:#3b3e40fa;padding:18px 7% 35px;border-bottom:1px solid #75836b70;backdrop-filter:blur(16px);margin:0;align-items:stretch;max-height:calc(100svh - 80px);overflow:auto;overscroll-behavior:contain}
 .header .mobile-nav[hidden]{display:none}
 .header .mobile-nav>a{min-height:45px;border-bottom:1px solid #a0aa9038;display:flex;align-items:center;justify-content:space-between;padding:10px 0;font-size:14px}
 .header .mobile-nav>a:after{display:none}
 .header .mobile-nav>[data-nav-section]{display:flex;align-items:center;justify-content:space-between;gap:20px}
 .header .mobile-nav .nav-caption{display:block;font:inherit;letter-spacing:inherit}
 .header .mobile-nav .nav-topic{font-size:14px;line-height:1.5}
 .header .mobile-nav .nav-number{font-size:9px;color:var(--accent)}
 .header .mobile-nav>a.is-current{color:var(--accent);border-bottom:2px solid var(--accent)}
 .header .mobile-nav .has-subtopic .nav-parent{font-size:8px}
 .header #motion{display:none}
 .mobile-motion-slot{margin-top:19px;padding-top:7px;border-top:1px solid var(--line)}
 .header .mobile-nav #motion,.menu-open .header .mobile-nav #motion{position:static;display:flex;width:100%;height:auto;min-height:48px;justify-content:space-between;font-size:11px;letter-spacing:.3px;color:var(--paper)}
 .header .mobile-nav .motion-label{display:block}
 .mobile-brand-identity{margin-top:8px;padding-top:18px}
}
@media(min-width:701px) and (max-width:1100px){
 .header[data-nav-version="4"] .portal-link{display:flex;margin-left:auto;min-height:44px;font-size:11px}
 .header[data-nav-version="4"] .header-contact{display:none}
 .header[data-nav-version="4"] .menu-toggle{margin-left:10px}
}
@media(max-height:700px) and (min-width:1101px){:root{--ordered-header:75px}}
@media(min-width:701px){
 .chapter-copy{bottom:18%}
 body[data-phase="0"] .chapter-copy h1{font-size:clamp(80px,8.6vw,136px)}
 .stage-top{top:calc(var(--ordered-header) + 18px)}
 .bim-details{scroll-margin-top:var(--ordered-header)}
 body[data-design-version="V6"] .sector,body[data-design-version="V6"] .sector-overview,body[data-design-version="V6"] .sector-library,body[data-design-version="V6"] .sector-experience,body[data-design-version="V6"] #projects,body[data-design-version="V6"] #contact,#bim-details,#technology-details{scroll-margin-top:var(--sector-pin-top)}
}
@media(max-height:700px) and (min-width:701px){
 .stage-top{display:none}
 body[data-phase="0"] .chapter-copy h1{font-size:clamp(52px,10svh,84px)}
 .chapter-copy h1{font-size:clamp(44px,8.5svh,70px)}
}
@media(max-height:540px) and (min-width:701px){
 .chapter-copy{top:calc(var(--ordered-header) + 14px);bottom:auto}
 .chapter-copy>.eyebrow,.scene-rail{display:none}
 .chapter-copy h1,body[data-phase="0"] .chapter-copy h1{font-size:36px;line-height:1.02;letter-spacing:-1px}
 .chapter-copy #chapter-description{font-size:10px;line-height:1.5;margin:8px 0 10px}
 .chapter-actions{margin-top:0}
 .chapter-actions .solid-button{height:28px;min-height:28px;padding:0 12px;font-size:8px}
}

/* The overview introduces the story; the four jumps live in the header. */
body[data-design-version="V6"] .sector-overview{display:grid;grid-template-columns:1fr 1.2fr;gap:12px 6%;padding-top:36px;padding-bottom:36px;align-items:center}
body[data-design-version="V6"] .sector-overview .sector-small-label{grid-column:1/-1;margin:0}
body[data-design-version="V6"] .sector-overview h2{font-size:clamp(28px,3vw,43px);line-height:1.12;max-width:560px;margin:0;letter-spacing:-.6px}
body[data-design-version="V6"] .sector-overview>p:not(.sector-small-label){font-size:13px;line-height:1.8;margin:0;max-width:640px}
body[data-design-version="V6"] .sector-overview .sector-directions{display:none}
.header .nav-direction-group{position:relative;min-width:0;height:52px;display:grid;grid-template-columns:minmax(0,1fr) 24px;border-bottom:3px solid transparent;color:var(--paper)}
.header .nav-direction-group.is-current{color:var(--accent);border-bottom-color:var(--accent)}
body[data-design-version="V6"] .header[data-nav-version="4"] .nav-direction-current{display:flex;align-items:center;justify-content:center;min-width:0;padding:3px 0 5px;border:0;line-height:1.25;font-size:11px;font-weight:600;text-align:center;color:inherit}
.header .nav-direction-current:after{display:none}
.header .nav-direction-current.has-subtopic .nav-topic{font-size:1em}
.header .nav-direction-toggle{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0;color:inherit}
.nav-direction-toggle>span{width:6px;height:6px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);margin-top:-4px;transition:transform .18s}
.nav-direction-toggle[aria-expanded="true"]>span{transform:rotate(225deg);margin-top:2px}
.header .nav-direction-panel{position:absolute;top:calc(100% + 12px);left:0;z-index:5;width:260px;max-width:calc(100vw - 40px);padding:8px 14px;background:#3b3e40;border:1px solid #d6ef8845;box-shadow:0 18px 40px #171b1b50;color:var(--paper)}
.header .nav-direction-panel[hidden]{display:none}
body[data-design-version="V6"] .header[data-nav-version="4"] .nav-direction-panel>a{display:flex;gap:14px;align-items:center;min-height:46px;padding:10px 0;border-bottom:1px solid #eeede622;font-size:12px;line-height:1.5;text-align:left;white-space:normal}
.header .nav-direction-panel>a:last-child{border:0}
.header .nav-direction-panel>a:after{display:none}
.header .nav-direction-panel>a small{font-size:8px;opacity:.6}
.header .nav-direction-panel>a:is(:hover,:focus-visible,.is-active){color:var(--accent)}
.header .nav-direction-toggle:focus-visible,.header .nav-direction-current:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* Restore a distinct sign-in button at the right edge. */
.header[data-nav-version="4"] .portal-link{display:flex;align-items:center;justify-content:center;flex:none;min-height:42px;margin:0 0 0 auto;padding:0 16px;gap:8px;background:var(--accent);color:#3b3e40;border:0;font-size:10px;font-weight:800;white-space:nowrap;transition:background .2s}
.header[data-nav-version="4"] .portal-link:hover{background:#e2f6aa}
.header[data-nav-version="4"] .portal-link:focus-visible{outline:2px solid var(--paper);outline-offset:4px}
.header[data-nav-version="4"] .header-contact{display:none}
@media(min-width:1101px){.header[data-nav-version="4"] .portal-link{order:3;margin-left:0;min-width:96px;padding-left:20px;padding-right:20px;font-size:11px}}
@media(min-width:1600px){body[data-design-version="V6"] .header[data-nav-version="4"] .nav-direction-current{font-size:12px}}
@media(max-width:700px){
 body[data-design-version="V6"] .sector-overview{grid-template-columns:minmax(0,1fr);gap:14px;padding-top:28px;padding-bottom:30px}
 body[data-design-version="V6"] .sector-overview h2{font-size:31px;max-width:440px}
 body[data-design-version="V6"] .sector-overview>p:not(.sector-small-label){font-size:12px;line-height:1.8}
 .header[data-nav-version="4"] .portal-link{min-height:39px;padding:0 12px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){.nav-direction-toggle>span,.header[data-nav-version="4"] .portal-link{transition:none}}
