/* Mobile-only refinements; desktop controls and footer keep their original layout. */
body.corporate-site .mobile-display-toggle{display:none!important}
body.corporate-site .mobile-display-panel{display:contents}
body.corporate-site .mobile-display-panel[hidden]{display:none!important}
@media screen and (max-width:760px){
 body.corporate-site.mobile-navigation-ready .navbar .navbar-wrapper{grid-template-columns:minmax(0,1fr) auto!important;row-gap:16px!important}
 body.corporate-site.mobile-navigation-ready .navbar .logo{grid-column:1!important;grid-row:1!important;justify-self:start!important}
 body.corporate-site.mobile-navigation-ready .navbar .nav-menu{grid-column:1/-1!important;grid-row:2!important;justify-self:start!important}
 body.corporate-site.mobile-navigation-ready .navbar .display-controls{display:contents!important}
 body.corporate-site.mobile-navigation-ready .navbar .mobile-display-toggle{display:inline-flex!important;grid-column:2;grid-row:1;align-items:center;justify-content:center;gap:8px;justify-self:end;cursor:pointer}
 body.corporate-site.mobile-navigation-ready .navbar .mobile-display-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}
 body.corporate-site.mobile-navigation-ready .navbar .mobile-display-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
 body.corporate-site.mobile-navigation-ready .navbar .mobile-display-panel:not([hidden]){display:flex;grid-column:1/-1;grid-row:3;flex-wrap:wrap;align-items:center;gap:6px;justify-self:start;min-width:0;max-width:100%}
 /* Keep 72px of air before a two-line context label, plus its existing 12px title gap. */
 body.corporate-site.aligned-page-title.mobile-navigation-ready main.page-title-main{margin-top:calc(84px + var(--type-small)*2.8)!important}
 body.corporate-site.home-page .home-strategy .home-service-body>.home-strategy-picture{width:100%;margin:0 0 var(--space-detail)!important}
 body.corporate-site .image-stack-stage{touch-action:pan-y pinch-zoom!important}
 body.corporate-site .image-stack-stage::after{content:"";position:absolute;inset:0;z-index:5;background:var(--control-hover-bg,#ffe500);opacity:0;pointer-events:none;transition:opacity 100ms ease-out}
 body.corporate-site .image-stack-stage.is-touch-pressed::after{opacity:.16}
 body.corporate-site .has-mobile-footer-groups .footer-columns{margin-bottom:24px}
 body.corporate-site .has-mobile-footer-groups .footer-secondary>ul{display:none!important}
 body.corporate-site .mobile-footer-groups{display:grid;gap:8px}
 body.corporate-site .mobile-footer-group{margin:0;padding:0;border:0}
 body.corporate-site .mobile-footer-group>summary{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:48px;padding:8px 0;list-style:none;cursor:pointer}
 body.corporate-site .mobile-footer-group>summary::-webkit-details-marker{display:none}
 body.corporate-site .mobile-footer-group>summary::marker{content:""}
 body.corporate-site .mobile-footer-group>summary svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
 body.corporate-site .mobile-footer-group[open]>summary svg{transform:rotate(180deg)}
 body.corporate-site .mobile-footer-group>ul{display:grid!important;grid-template-columns:minmax(0,1fr);gap:4px!important;margin:8px 0 20px!important;padding:0!important;list-style:none!important}
 body.corporate-site .mobile-footer-group>summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}
 @layer typoint-type-system{
  html[data-theme] body.corporate-site.corporate-site .navbar.navbar .mobile-display-toggle.is-touch-pressed,
  html[data-theme] body.corporate-site.corporate-site .navbar.navbar .nav-link.is-touch-pressed,
  html[data-theme] body.corporate-site.corporate-site .navbar.navbar .display-controls button.is-touch-pressed,
  html[data-theme] body.corporate-site.corporate-site :is(.home-button,.stack-nav,.deck-button,.ss-language-switch,.footer-contact-actions>a,.footer-contact-actions>button).is-touch-pressed{background-color:var(--control-hover-bg)!important;color:var(--control-hover-ink)!important;border-color:var(--control-hover-bg)!important;text-decoration:none!important;box-shadow:none!important}
  body.corporate-site .mobile-footer-group>summary{font-family:Nnnouvellegrotesk-Normal,Arial,sans-serif!important;font-size:var(--type-body)!important;font-weight:400!important;line-height:1.4!important;color:inherit!important}
  body.corporate-site .mobile-footer-group>summary.is-touch-pressed{color:var(--accent,#ffe500)!important}
 }
}
@media(prefers-reduced-motion:reduce){body.corporate-site .image-stack-stage::after{transition:none}}

/* Keep the navigation row in view; the first row scrolls away naturally. */
@media screen and (max-width:760px){
 html.has-mobile-sticky-nav{scroll-padding-top:var(--mobile-sticky-height,64px)!important}
 body.corporate-site.mobile-navigation-ready>.navbar{position:sticky!important;top:calc(-1 * var(--mobile-nav-offset,72px))!important;z-index:70;background:var(--paper)!important;box-shadow:none!important;border:0!important}
 body.corporate-site.mobile-navigation-ready .navbar .navbar-wrapper{padding-bottom:10px!important}
 /* The optional panel floats in the existing gap, so closing it never shifts the page. */
 body.corporate-site.mobile-navigation-ready .navbar .mobile-display-panel:not([hidden]){position:absolute;top:calc(100% - 10px);left:0;right:0;width:100%;max-width:none;padding:12px 6%;box-sizing:border-box;background:var(--paper);z-index:2}
 @layer typoint-type-system{
  body.corporate-site.mobile-navigation-ready [id]{scroll-margin-top:12px!important}
 }
 html.typography-input-active{scroll-padding-top:12px!important}
 body.corporate-site.typography-page.is-typography-editing>.navbar{visibility:hidden!important;pointer-events:none!important}
}
