/* Header refinement: retain the Calderhand mark, palette and compact mobile bar. */
.site-header{border-bottom-color:color-mix(in srgb,var(--ink) 18%,white);box-shadow:0 5px 18px #10313a06}
.header-row{min-height:90px}
.site-header .nav{font-size:14px;font-weight:800;letter-spacing:-.015em;line-height:1.5}
.wp-main-menu{gap:28px}
.wp-main-menu>li{gap:2px}
.wp-main-menu>li>a,.site-header .nav>a{position:relative;white-space:nowrap;padding-block:23px}
.wp-main-menu>li>a::after,.site-header .nav>a::after{content:"";position:absolute;left:0;bottom:13px;width:20px;height:2px;background:var(--accent);opacity:0;transform:scaleX(.5);transform-origin:left;transition:opacity .18s,transform .18s;border-radius:0}
.wp-main-menu>li.current-menu-item>a::after,.wp-main-menu>li.current-menu-ancestor>a::after,.wp-main-menu>li>a:hover::after,.wp-main-menu>li>a:focus-visible::after,.site-header .nav>a[aria-current="page"]::after{opacity:1;transform:scaleX(1)}
.wp-main-menu>li.current-menu-item>a,.wp-main-menu>li.current-menu-ancestor>a{color:var(--ink)}
.wp-main-menu .submenu-toggle{display:inline-flex;align-items:center;justify-content:center;width:30px;height:44px;padding:0}
.submenu-toggle svg{width:13px;height:13px;stroke-width:2;transition:transform .18s}
.submenu-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.wp-main-menu .sub-menu{min-width:240px;padding:12px;background:white;border:1px solid var(--line);border-top:3px solid var(--accent);box-shadow:0 16px 36px #10313a14;font-size:13px;font-weight:700;letter-spacing:0}
.wp-main-menu .sub-menu a{padding:11px 14px;line-height:1.6}
.wp-main-menu .sub-menu a:hover,.wp-main-menu .sub-menu a:focus-visible{background:var(--paper);color:var(--ink)}
.wp-main-menu .sub-menu .current-menu-item>a{color:var(--accent-dark)}
.header-phone{font-size:12px;font-weight:800;border-left:1px solid var(--line);padding-left:24px;white-space:nowrap}
.header-row .header-cta{min-height:48px;font-weight:800;margin-left:8px}
.header-row .header-cta:hover{transform:none}
.menu-toggle{border-color:color-mix(in srgb,var(--ink) 30%,white);background:var(--ink);color:white}
.menu-toggle svg{stroke-width:2}
.mobile-links>nav>ul>li>a{font-weight:800}
.mobile-links .current-menu-item>a{color:var(--accent-dark)}
@media(min-width:1024px) and (max-width:1279px){.header-row{gap:20px}.wp-main-menu{gap:23px}.header-phone{padding-left:18px;gap:8px}.header-row .header-cta{margin-left:0;padding-inline:16px;gap:14px}}
@media(max-width:1023.98px){
 .header-row{min-height:80px}
 .mobile-links{max-height:calc(100dvh - 160px)}
 .mobile-links>nav{display:block;max-height:none;overflow:visible}
 .mobile-links>nav>ul>li>a{display:block;min-height:48px;padding:12px 0;font-size:15px}
 .mobile-links .sub-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;padding-left:0;margin-top:4px}
 .mobile-links .sub-menu a{display:block;min-height:44px;font-size:13px}
}
@media(max-width:767px){.header-row{min-height:72px}.header-row .header-cta{margin-left:0}}

/* Compact disclosures are confined to the existing mobile menu. */
.mobile-links .menu-item-has-children{position:relative}
.mobile-links .menu-item-has-children>a{padding-right:48px}
.mobile-submenu-toggle{position:absolute;right:0;top:0;min-width:44px;min-height:44px;border:0;background:transparent;color:inherit;font:inherit;font-size:22px;cursor:pointer}
.mobile-submenu-toggle:focus-visible{outline:2px solid var(--accent-dark);outline-offset:-3px}
.mobile-links a{overflow-wrap:anywhere}
/* Deep groups need the full narrow-screen width for readable parent labels. */
@media(max-width:767px){.mobile-links .sub-menu{display:block;padding-left:12px}}
