/* Homepage header: reserve its expanded space while the visible bar can shrink. */
html { --pc-sticky-utility: 36px; --pc-sticky-expanded-bar: 78px; --pc-sticky-compact: 60px; --pc-sticky-expanded: calc(var(--pc-sticky-expanded-bar) + var(--pc-sticky-utility)); scroll-padding-top: calc(var(--pc-sticky-expanded) + 16px) !important; }
body [id] { scroll-margin-top: 0 !important; }
body .pc-sticky-header { --pc-sticky-height: var(--pc-sticky-expanded-bar); height: var(--pc-sticky-expanded); }
body .pc-sticky-surface { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; color: #17365c; background: #fff; border-bottom: 1px solid transparent; }
body .pc-sticky-header--compact { --pc-sticky-height: var(--pc-sticky-compact); }
body .pc-sticky-header--compact .pc-sticky-surface { border-bottom-color: #c6cdd7; box-shadow: 0 4px 16px #17365c0d; }
body .pc-sticky-surface #header.pc-header { display: flex; align-items: center; justify-content: space-between; height: calc(var(--pc-sticky-height) - 1px) !important; min-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; transition: height 160ms ease; }
body .pc-sticky-surface #header.pc-header .pc-logo { display: flex; align-items: center; min-height: 44px; width: 162px; padding: 0; transition: width 160ms ease; }
body .pc-sticky-surface .pc-logo img { display: block; width: 100%; height: auto; transform: translateY(-4px); }
body .pc-sticky-header--compact #header.pc-header .pc-logo { width: 148px; }
body .pc-sticky-surface .pc-desktop-nav { align-items: center; }
body .pc-sticky-surface .pc-desktop-nav > a { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.4; }
body .pc-sticky-surface .pc-mobile-menu > summary { color: #17365c; background: #fff; }
body .pc-sticky-surface .pc-mobile-menu > summary:hover, body .pc-sticky-surface .pc-mobile-menu > summary:active { color: #17365c; background: #f7f1e8; }
body .pc-sticky-surface a:focus-visible, body .pc-sticky-surface summary:focus-visible { outline: 3px solid #843c19 !important; outline-offset: 2px; }
@media (max-width: 1080px) {
 html { --pc-sticky-utility: 44px; --pc-sticky-expanded-bar: 68px; --pc-sticky-compact: 56px; }
 body .pc-sticky-surface #header.pc-header .pc-mobile-menu nav { max-height: calc(100vh - var(--pc-sticky-expanded) - 16px); max-height: calc(100svh - var(--pc-sticky-expanded) - 16px); overflow-y: auto !important; overscroll-behavior: contain; }
}
@media (max-width: 580px) {
 body .pc-sticky-surface #header.pc-header .pc-logo { width: 144px; }
 body .pc-sticky-header--compact #header.pc-header .pc-logo { width: 132px; }
 body .pc-sticky-surface .pc-logo img { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
 body .pc-sticky-surface #header.pc-header, body .pc-sticky-surface #header.pc-header .pc-logo { transition: none !important; }
}

body .pc-header-utility { display: flex; align-items: center; justify-content: space-between; height: var(--pc-sticky-utility); border-bottom: 1px solid #e2e7ee; color: #43516a; background: #fff; }
body .pc-header-tagline { font-size: 11px; line-height: 1.5; color: #43516a; }
body .pc-header-shortcuts { display: flex; align-items: center; gap: 24px; height: 100%; }
body .pc-header-shortcuts > a { display: inline-flex; align-items: center; gap: 5px; height: 100%; padding: 0 4px; white-space: nowrap; color: #17365c !important; background: #fff; font-size: 12px; line-height: 1.5; text-decoration: none; }
body .pc-header-shortcuts > a:last-child { font-weight: 600; }
body .pc-header-shortcuts > a:hover, body .pc-header-shortcuts > a:active { color: #843c19 !important; text-decoration: underline; text-underline-offset: 3px; }
body .pc-header-shortcuts > a:focus-visible { outline-offset: -3px; }
body .pc-quiet-hero { min-height: calc(100vh - 172px - var(--pc-sticky-utility)); min-height: calc(100svh - 172px - var(--pc-sticky-utility)); }
@media (max-width: 1080px) {
 body .pc-header-tagline { display: none; }
 body .pc-header-shortcuts { width: 100%; justify-content: space-between; gap: 12px; }
}
@media (max-width: 700px) {
 body .pc-quiet-hero { min-height: calc(100vh - 184px - var(--pc-sticky-utility)); min-height: calc(100svh - 184px - var(--pc-sticky-utility)); }
}

/* Keep the inquiry easy to find in both navigation layouts. */
body .pc-sticky-surface #header.pc-header a.pc-nav-inquiry {
 display: inline-flex; align-items: center; justify-content: center;
 min-height: 44px; padding: 10px 16px; box-sizing: border-box;
 border: 1px solid #a04720; border-radius: 7px;
 color: #fff; background: #a04720; text-decoration: none;
 font-size: 14px; line-height: 1.4; font-weight: 600;
}
body .pc-sticky-surface #header.pc-header a.pc-nav-inquiry:hover,
body .pc-sticky-surface #header.pc-header a.pc-nav-inquiry:active {
 color: #fff; background: #843c19; border-color: #843c19;
}
body .pc-sticky-surface #header.pc-header a.pc-nav-inquiry:focus-visible {
 outline: 3px solid #17365c !important; outline-offset: 3px;
}
body .pc-mobile-menu nav > a.pc-nav-inquiry { margin-top: 6px; }

/* Identical typography and link states on homepage and subpages. */
body .pc-sticky-surface .pc-desktop-nav > a,
body .pc-sticky-surface .pc-mobile-menu nav > a { font-size: 14px; font-weight: 500; color: #17365c; background: #fff; }
body .pc-sticky-surface .pc-desktop-nav > a:hover,
body .pc-sticky-surface .pc-mobile-menu nav > a:hover { color: #843c19; }

/* Scrolling leaves a single navigation row; keep a focused shortcut reachable. */
body .pc-sticky-header--compact .pc-header-utility { display: none; }
body .pc-sticky-header--compact .pc-header-utility:focus-within { display: flex; }

/* Direct inquiry remains visible beside the mobile menu, including on scroll. */
body .pc-sticky-surface #header.pc-header .pc-mobile-inquiry { display: none; }
@media (max-width: 980px) {
 body .pc-sticky-surface #header.pc-header { gap: 10px; }
 body .pc-sticky-surface #header.pc-header a.pc-mobile-inquiry { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; flex-shrink: 0; min-height: 44px; padding: 8px 12px; box-sizing: border-box; border: 1px solid #a04720; border-radius: 7px; color: #fff; background: #a04720; font-size: 14px; line-height: 1.4; font-weight: 600; text-decoration: none; }
 body .pc-sticky-surface #header.pc-header a.pc-mobile-inquiry:hover, body .pc-sticky-surface #header.pc-header a.pc-mobile-inquiry:active { color: #fff; background: #843c19; border-color: #843c19; }
 body .pc-sticky-surface #header.pc-header a.pc-mobile-inquiry:focus-visible { outline: 3px solid #17365c !important; outline-offset: 2px; }
 body .pc-sticky-surface .pc-mobile-menu { flex-shrink: 0; }
 body .pc-sticky-surface .pc-mobile-menu > summary { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; box-sizing: border-box; }
 body .pc-sticky-surface .pc-menu-label { display: none; }
 body .pc-sticky-surface .pc-mobile-menu > summary span { margin-left: 0; }
}
@media (max-width: 400px) {
 body .pc-sticky-surface #header.pc-header .pc-logo, body .pc-sticky-header--compact #header.pc-header .pc-logo { width: 124px; flex-shrink: 0; }
 body .pc-sticky-surface #header.pc-header { gap: 8px; }
}
