/* The shared Scroll Craft controller drives one header across all page families. */
#site-head.site-head{
 --header-progress:0;--header-mast-open:72px;--header-mast-closed:56px;
 --header-logo-open:clamp(28px,2.6vw,34px);--header-logo-closed:24px;
 --header-mark-open:32px;--header-mark-closed:24px;
 transform:none!important;clip-path:none!important;padding-top:env(safe-area-inset-top,0px);
 border-bottom:1px solid var(--line);transition:none!important
}
#site-head.site-head::after{display:none!important}
#site-head.site-head .collapse,#site-head.site-head .util{display:none!important}
#site-head.site-head .mast .wrap,#site-head.site-head.hd-min .mast .wrap{
 height:calc(var(--header-mast-open)*(1 - var(--header-progress)) + var(--header-mast-closed)*var(--header-progress))!important;
 min-height:var(--header-mast-closed)!important;transform:none!important;transition:none!important;
 padding-block:0!important;display:flex!important;align-items:center!important
}
#site-head.site-head .mast .wordmark,#site-head.site-head.hd-min .mast .wordmark{
 font-size:calc(var(--header-logo-open)*(1 - var(--header-progress)) + var(--header-logo-closed)*var(--header-progress))!important;
 transform:none!important;transition:none!important;line-height:1;display:inline-flex!important;
 align-items:center!important;min-height:0!important;height:auto!important;white-space:nowrap;gap:0!important
}
#appmenu .wordmark{gap:0!important}
#site-head.site-head .mast .wordmark .logo-mark{
 width:calc(var(--header-mark-open)*(1 - var(--header-progress)) + var(--header-mark-closed)*var(--header-progress))!important;
 height:calc(var(--header-mark-open)*(1 - var(--header-progress)) + var(--header-mark-closed)*var(--header-progress))!important;
 transition:none!important
}
#site-head.site-head .ar-nav,#site-head.site-head .masthead-motto{
 opacity:calc(1 - 2*var(--header-progress));transition:none!important
}
#site-head.site-head[data-nav-hidden] .ar-nav{visibility:hidden!important;pointer-events:none}
#site-head.site-head .feed-nav{
 max-height:calc(44px*(1 - var(--header-progress)));overflow:hidden;
 opacity:calc(1 - var(--header-progress));border-top-width:calc(1px*(1 - var(--header-progress)));transition:none!important
}
#site-head.site-head .feed-nav a{min-height:44px;flex-shrink:0}
#site-head.site-head .actions :is(a,button){min-height:44px}
#site-head.site-head .actions .menu-open{background:transparent;border:0;color:var(--ink)}
#site-head.site-head .actions .menu-open:focus-visible{outline:2px solid currentColor;outline-offset:2px}
#site-head.site-head .feed-nav:focus-within{max-height:44px;opacity:1;visibility:visible!important}
#site-head.site-head .ar-nav:focus-within{opacity:1;visibility:visible!important}
@media(min-width:1100px){
 #site-head.site-head.hd-min .ar-nav{display:flex;visibility:hidden;pointer-events:none}
}
@media(max-width:1099px){
 #site-head.site-head{--header-mast-open:64px;--header-mast-closed:52px;--header-logo-open:28px;--header-logo-closed:22px}
 #site-head.site-head .ar-nav{display:none!important}
}
@media(max-width:759px){
 /* Menu and Search remain in the phone dock, including the compact header. */
 #site-head.site-head .actions .menu-open{display:none!important}
 #site-head.site-head{--header-mast-open:52px;--header-mast-closed:44px;
  --header-logo-open:22px;--header-logo-closed:18px;--header-mark-open:24px;--header-mark-closed:20px}
 #site-head.site-head .mast .wrap{padding-inline:16px!important;box-sizing:border-box;width:100%}
 .ar-page #site-head.site-head{--header-mast-open:50px;--header-logo-open:17px;--header-logo-closed:15.5px;--header-mark-open:22px}
 @media(max-width:400px){#site-head.site-head{--header-logo-open:18px;--header-logo-closed:16px}}
}
@media(prefers-reduced-motion:reduce){
 #site-head.site-head,#site-head.site-head *{scroll-behavior:auto!important;transition:none!important}
}
.aibio-dials[data-context^="company:"] .ad-head{max-width:calc(100% - 24px)}
.aibio-dials[data-context^="company:"] .ad-grid[data-count] .ad-dial:last-child{grid-column:auto}
@media(min-width:360px) and (max-width:699px){
 .aibio-dials[data-context^="company:"] .ad-grid[data-count]{grid-template-columns:repeat(3,minmax(0,1fr))}
}
