/* Approved 25% shell reduction; page content and navigation remain native HTML. */
:root { --at-top-height:28.5px; --at-bar-height:83.25px; --atlas-header-visible-height:calc(var(--at-bar-height) + 1px); --atlas-toolbar-height:0px; --atlas-local-nav-height:68px; }
body.admin-bar { --atlas-toolbar-height:32px; }
.at-header { top:calc(var(--atlas-toolbar-height) - var(--at-top-height)); transition:transform 180ms ease; }
body.admin-bar .at-header { top:calc(var(--atlas-toolbar-height) - var(--at-top-height)); }
.at-header .at-logo { width:132px; }
.at-header .at-logo > img,.at-header .at-logo-svg { max-height:calc(var(--at-bar-height) - 14px); object-fit:contain; }
.at-header .at-bar { gap:22px; }
.at-header .at-desktop-nav { gap:clamp(12px,1.4vw,24px); }
.at-header.atlas-header-hidden { transform:translateY(calc(-100% - var(--atlas-toolbar-height))); }
.at-header:has(:focus-visible) { transform:none; }
.at-header .at-mobile-panel { max-height:calc(100dvh - var(--at-bar-height) - var(--atlas-toolbar-height) - 16px); }
/* Independent in-flow subnavigation: never transformed with the site header. */
body.atlas-production-hub .hub-jump,
body.atlas-production-hub.admin-bar .hub-jump,
body.atlas-packaging-page .atlas-packaging .pm-jump {
 top:calc(var(--atlas-toolbar-height) + var(--atlas-header-visible-height));
 transition:top 180ms ease; z-index:30; background-color:#000;
}
body .atlas-ccl300.atlas-ccl300--embedded,
body.admin-bar .atlas-ccl300.atlas-ccl300--embedded {
 --atlas-sticky-offset:calc(var(--atlas-toolbar-height) + var(--atlas-header-visible-height));
}
/* Existing line/360 sticky navigation also respects the reduced visible header. */
.atlas-ccl300 .section-nav { transition:top 180ms ease; }
html:has(body.atlas-production-hub),html:has(body.atlas-production-hub.admin-bar) {
 scroll-padding-top:calc(var(--atlas-header-visible-height) + var(--atlas-local-nav-height) + 24px);
}
body.atlas-production-hub .atlas-hub [id],body.atlas-packaging-page .atlas-packaging .pm-section {
 scroll-margin-top:calc(var(--atlas-toolbar-height) + var(--atlas-header-visible-height) + var(--atlas-local-nav-height) + 20px);
}
@media(max-width:1120px){ :root { --at-bar-height:77.25px; } .at-header .at-logo {width:114.75px;} }
@media(max-width:782px){ body.admin-bar { --atlas-toolbar-height:46px; } }
@media(max-width:600px){
 :root{--at-top-height:24px;--at-bar-height:68.25px;--atlas-local-nav-height:54px;}
 .at-header .at-logo{width:107.25px;}
 body.admin-bar{--atlas-toolbar-height:0px;}
}
@media(prefers-reduced-motion:reduce){.at-header,body .hub-jump,body .atlas-packaging .pm-jump,.atlas-ccl300 .section-nav{transition:none;}}
@media print{.at-header{transform:none!important;}.at-header,body .hub-jump,body .atlas-packaging .pm-jump{transition:none!important;}}
