/* Shared sticky navigation. Load after styles.css. Geometry stays fixed on scroll.
   --header-offset is available to anchor links and the service switcher. */
:root{--header-offset:128px}
html{scroll-padding-top:calc(var(--header-offset) + 18px)}
.moll-header{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:1px solid var(--line);isolation:isolate;transition:box-shadow .22s ease,border-color .22s ease}
.moll-header.is-scrolled{border-bottom-color:#c9c6be;box-shadow:0 4px 18px #3030300b}
.moll-header-inner{width:min(1320px,calc(100% - 96px));height:128px;margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:40px;position:relative}
.moll-header .brand{width:224px;flex:0 0 224px;padding:0}
.moll-header .logo-window{width:204px;height:103px}
.moll-header .logo-window img{width:230px;height:auto;left:-14px;top:-27px}
.moll-header .brand-claim{font-size:10.8px;line-height:1.2;letter-spacing:.07em;margin-top:1px}
.moll-nav-area{display:flex;flex-direction:column;align-items:flex-end;gap:17px;min-width:0}
.moll-utility{display:flex;align-items:baseline;justify-content:flex-end;gap:8px 26px;font-size:.77rem;line-height:1.4;color:var(--muted);white-space:nowrap}
.moll-utility a{display:inline-flex;align-items:baseline;gap:9px;text-decoration:none;line-height:inherit}
.moll-utility a:hover,.moll-utility a[aria-current="page"]{color:var(--red)}
.moll-utility a[aria-current="page"]{text-decoration:underline}
.moll-utility a>span{font-family:Arial,sans-serif;line-height:inherit}
.moll-primary{display:flex;align-items:center;gap:30px;font-size:1rem;line-height:1.35}
.moll-nav-link{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:36px;padding:5px 0 7px;color:var(--ink);font:inherit;text-decoration:none;white-space:nowrap;cursor:pointer}
.moll-nav-link::after{content:"";position:absolute;inset:auto 0 0;height:2px;background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .18s ease}
.moll-nav-link:hover::after,.moll-nav-link[aria-current="page"]::after,.moll-services.is-current>summary::after,.moll-services>summary[aria-expanded="true"]::after,.moll-header:not(.is-enhanced) .moll-services[open]>summary::after{transform:scaleX(1)}
.moll-nav-link[aria-current="page"],.moll-services.is-current>summary{color:var(--red)}
.moll-services{position:relative}
.moll-services>summary{list-style:none}
.moll-services>summary::-webkit-details-marker{display:none}
.moll-services>summary::marker{content:""}
.moll-chevron{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none;transition:transform .18s ease}
.moll-services>summary[aria-expanded="true"] .moll-chevron,.moll-header:not(.is-enhanced) .moll-services[open] .moll-chevron{transform:rotate(180deg)}
.moll-header.is-enhanced .moll-subnav.is-transitioning{overflow:hidden;will-change:opacity,transform}
.moll-header.is-enhanced .moll-nav-area.is-transitioning{will-change:opacity,transform}
.moll-subnav{position:absolute;top:calc(100% + 17px);left:-23px;width:385px;max-width:calc(100vw - 44px);max-height:calc(100dvh - var(--header-offset) - 24px);overflow-y:auto;overscroll-behavior:contain;margin:0;padding:12px 14px;list-style:none;background:var(--white);border:1px solid var(--line);border-top:2px solid var(--red);box-shadow:0 14px 30px #30303012;border-radius:0 0 3px 3px}
.moll-subnav-item{margin:0;padding:0}
.moll-subnav-item>a{display:grid;grid-template-columns:minmax(0,1fr) 15px;column-gap:15px;row-gap:3px;padding:12px 13px;text-decoration:none;border-radius:2px;line-height:1.4}
.moll-subnav-item>a:hover,.moll-subnav-item>a:focus-visible{background:var(--paper)}
.moll-subnav-item>a:focus-visible{outline-offset:-3px}
.moll-subnav-title{font-size:.96rem;grid-column:1;overflow-wrap:anywhere}
.moll-subnav-description{font-size:.76rem;color:var(--muted);grid-column:1;line-height:1.45}
.moll-subnav-arrow{grid-column:2;grid-row:1 / span 2;align-self:center;font-family:Arial,sans-serif;font-size:1rem;color:var(--muted)}
.moll-subnav-item>a[aria-current="page"]{background:var(--paper);box-shadow:inset 2px 0 var(--red)}
.moll-subnav-item>a[aria-current="page"] .moll-subnav-title{color:var(--red);font-weight:600}
.moll-subnav-overview{padding-bottom:8px;margin-bottom:7px;border-bottom:1px solid var(--line)}
.moll-menu-toggle{display:none;background:none;color:var(--ink);align-items:center;justify-content:flex-end;gap:12px;min-height:44px;padding:8px 0 8px 10px;font-size:.86rem;line-height:1.4}
.moll-menu-symbol{width:22px;height:18px;position:relative;display:block}
.moll-menu-symbol>span{position:absolute;left:0;top:2px;display:block;width:22px;height:1.5px;background:currentColor;transition:transform .18s ease,opacity .18s ease}
.moll-menu-symbol>span:nth-child(2){top:8px}
.moll-menu-symbol>span:nth-child(3){top:14px}
.moll-menu-toggle[aria-expanded="true"] .moll-menu-symbol>span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.moll-menu-toggle[aria-expanded="true"] .moll-menu-symbol>span:nth-child(2){opacity:0;transform:scaleX(0)}
.moll-menu-toggle[aria-expanded="true"] .moll-menu-symbol>span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.article-nav-inner{top:calc(var(--header-offset) + 24px)}
@media(max-width:1100px){
  .moll-header-inner{width:calc(100% - 64px);gap:28px}
  .moll-primary{gap:25px;font-size:.95rem}
}
@media(max-width:900px){
  :root{--header-offset:96px}
  .moll-header-inner{width:calc(100% - 42px);height:auto;min-height:96px;display:grid;grid-template-columns:1fr auto;gap:0 24px}
  .moll-header .brand{width:180px;flex-basis:180px;padding:0}
  .moll-header .logo-window{width:174px;height:80px}
  .moll-header .logo-window img{width:186px;left:-11px;top:-22px}
  .moll-header .brand-claim{font-size:8.8px;letter-spacing:.055em;line-height:1.2}
  .moll-menu-toggle:not([hidden]){display:inline-flex}
  .moll-nav-area{grid-column:1 / -1;align-items:stretch;padding:18px 0 25px;gap:21px;min-width:0}
  .moll-header:not(.is-enhanced) .moll-nav-area{max-height:calc(100dvh - 96px);overflow-y:auto}
  .moll-utility{justify-content:space-between;flex-wrap:wrap;white-space:normal;font-size:.73rem;gap:8px 20px}
  .moll-primary{display:flex;flex-direction:column;align-items:stretch;gap:0;font-size:1.07rem}
  .moll-primary>.moll-nav-link,.moll-services>summary{width:100%;min-height:50px;padding:14px 0;border-bottom:1px solid var(--line)}
  .moll-services>summary{justify-content:space-between}
  .moll-nav-link::after{right:auto;width:36px}
  .moll-subnav{position:static;width:100%;max-width:none;max-height:none;margin:0;padding:9px 0 10px 13px;border:0;border-left:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;overflow:visible}
  .moll-subnav-item>a{padding:10px 10px;column-gap:9px}
  .moll-subnav-title{font-size:.95rem;overflow-wrap:normal;hyphens:auto}
  .moll-subnav-description{font-size:.77rem}
  .moll-subnav-overview{margin-bottom:4px;padding-bottom:5px}
  .moll-header.is-enhanced .moll-header-inner{height:96px;display:flex}
  .moll-header.is-enhanced .moll-nav-area{position:absolute;top:100%;left:-21px;right:-21px;max-height:calc(100vh - var(--header-offset));max-height:calc(100dvh - var(--header-offset));overflow-y:auto;overscroll-behavior:contain;padding:19px 21px 26px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 14px 23px #30303010}
}
@media(max-width:360px){
  .moll-header-inner{gap:14px}
  .moll-menu-toggle{gap:8px;font-size:.8rem}
  .moll-utility{font-size:.69rem;gap:7px 14px}
}
@media(prefers-reduced-motion:reduce){
  .moll-header,.moll-nav-link::after,.moll-chevron,.moll-menu-symbol>span{transition:none}
}
