:root{--accent:#a95d36;--accent-hover:#814222;--primary:#a95d36;--green:#a95d36}
.site-header .brand,.editorial-footer .brand{gap:10px;letter-spacing:normal;flex-shrink:0}
.site-header .brand img,.editorial-footer .brand img{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 0 1px #d38e5c66)}
.brand .brand-lockup{display:flex;flex-direction:column;gap:5px;margin:0;color:var(--ink);line-height:1}
.brand-lockup strong{font:750 19px/1 var(--font);letter-spacing:1.1px}
.brand-lockup small{font:550 7px/1 var(--font);letter-spacing:2.4px}
.theme-toggle{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;color:var(--ink);font-size:20px;flex-shrink:0}
.home-service-picker{display:flex;align-items:center;gap:18px;grid-column:span 3;padding:18px 24px;min-width:0}
.home-service-picker label{font-size:12px;color:var(--muted);white-space:nowrap}
.home-service-picker select{flex:1;min-width:0;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:13px;border-radius:4px;font:inherit}
.home-service-picker .button{white-space:nowrap}
.service-family-group{border-bottom:1px solid var(--line);margin:0 0 4px}
.service-family-group>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 6px;cursor:pointer;font-weight:600;color:var(--ink);list-style:none}
.service-family-group>summary:before{content:'+';color:var(--accent)}
.service-family-group[open]>summary:before{content:'−'}
.service-family-group summary small{margin-left:auto;font-size:10px;color:var(--muted)}
.service-family-group>div{padding:0 0 8px 12px;border-left:2px solid var(--accent)}
.scope-calculator{padding-block:40px;scroll-margin-top:130px}
.scope-calculator>h2{font:400 38px/1.15 var(--serif);margin-bottom:12px}
.scope-calculator .market-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-block:22px}
.scope-calculator fieldset{border:1px solid var(--line);padding:22px;border-radius:8px;margin-block:20px;min-width:0}
.scope-calculator legend{padding-inline:8px;color:var(--ink);font-weight:600}
.scope-calculator output{display:block;border:1px solid var(--line);background:var(--soft);padding:24px;border-radius:8px;line-height:1.7}
.scope-calculator .scope-total{font-size:28px;color:var(--ink)}
.scope-calculator .scope-packages{display:flex;gap:8px;flex-wrap:wrap}
.scope-calculator .scope-packages label{border:1px solid var(--line);border-radius:6px;padding:12px;flex:1;min-width:150px}
.scope-calculator .scope-packages small{display:block;color:var(--muted);margin-top:7px}
html[data-theme=dark]{color-scheme:dark;--paper:#131719;--surface:#1b2023;--soft:#252c30;--ink:#f1ece4;--muted:#beb8ae;--line:#3e464a;--accent:#d99464;--primary:#d99464;--green:#d99464;--accent-hover:#efb58b;--lime:#33271f;--dark:#1e2529}
html[data-theme=dark] :is(.site-header,.editorial-footer,.services-mega,.services-mega-menu,.nav-dropdown,.locale-panel,.service-sections-nav,.service-quote-dock,.builder-subnav,.builder-step,.builder-estimate,.consulting-panel,.consulting-result,.scope-calculator,dialog){background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(input,select,textarea,.research-card,.vendor-card,.panel,.market-package,.market-result,.market-field input,.market-field select,.builder-option,.builder-tax-choice,.builder-field select,.builder-field input){background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.services-mega-rail,.services-mega-content,.services-mobile-accordion,.service-scope-panel,.service-editorial-commercial,.builder-hero,.builder-workspace,.builder-estimate-heading,.builder-total-box,.service-editorial-final,.directory-callout){background:var(--paper);color:var(--ink)}
html[data-theme=dark] :is(.button.dark,.builder-primary){background:#a65c36;color:#fff;border-color:#a65c36}
html[data-theme=dark] .brand img{filter:drop-shadow(0 0 1px #efbc8c) drop-shadow(0 0 4px #d994642b)}
html[data-theme=dark] :is(.services-pillar-tab,.services-column-links a,.services-mega-heading h3,.services-column-heading h4,.service-scope-panel h3,.builder-field label,.builder-option span,.builder-cost-lines strong){color:var(--ink)}
html[data-theme=dark] .button.outline{background:transparent;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.brand-lockup strong,.brand-lockup small){color:var(--ink)}
:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:1100px){.site-header .brand-lockup strong{font-size:16px}.site-header .brand-lockup small{font-size:6px;letter-spacing:2px}.site-header .brand img{width:36px;height:38px}.site-header .nav-wrap{gap:15px}}
@media(max-width:700px){.home-service-picker{flex-wrap:wrap;padding:18px;gap:12px;grid-column:auto}.home-service-picker label{width:100%}.home-service-picker select{width:100%;flex:auto}.home-service-picker .button{width:100%}.scope-calculator .market-fields{grid-template-columns:1fr}.scope-calculator fieldset{padding:16px}.site-header .brand-lockup strong{font-size:15px}.site-header .brand-lockup small{font-size:5px;letter-spacing:1.8px}.site-header .brand img{width:31px;height:34px}.theme-toggle{width:30px;height:30px}.site-header .nav-wrap{gap:10px;padding-inline:14px}}
.service-product-group{margin-bottom:5px}.service-product-group>summary{cursor:pointer;font-size:12px;padding:9px 5px;font-weight:600;color:var(--ink)}.service-product-group>a{padding-left:15px!important}
.nx-atmosphere .home-service-picker label{color:var(--nx-muted)}
html[data-theme=dark] .site-header .nav-wrap{background:var(--surface)}
html[data-theme=dark] .site-header .brand-lockup{color:var(--ink)}
.scope-module{display:inline-flex;align-items:center;gap:7px;margin:8px 20px 8px 0;color:var(--ink)}
html[data-theme=dark] :is(.services-mega-layout,.services-mega-content,.services-mega-rail){background:var(--surface);color:var(--ink)}
@media(max-width:800px){.intent-strip .home-service-picker{grid-column:1/-1}.intent-strip h2{grid-column:1/-1}}
@media(max-width:420px){.site-header .brand-lockup strong{font-size:13px;letter-spacing:.8px}.site-header .brand-lockup small{font-size:5px;letter-spacing:1.2px}.site-header .brand{gap:7px}}
html[data-theme=dark] :is(h1,h2,h3,h4){color:var(--ink)}
html[data-theme=dark] :is(.directory-hero-copy>p,.service-hero-copy .breadcrumbs){color:var(--muted)}

/* Use the supplied artwork for the wordmark, including its folded copper X.
   Dark-mode ink changes only the neutral lettering; copper artwork stays intact. */
.site-header .brand-wordmark,.editorial-footer .brand-wordmark{display:block;width:154px;height:auto;flex:none;overflow:hidden}
.brand-wordmark-contrast{display:none}
html[data-theme=dark] .brand-wordmark-contrast{display:inline}
@media(max-width:1479px){.site-header .brand-wordmark{width:132px}}
@media(max-width:1100px){.site-header .brand-wordmark{width:118px}}
@media(max-width:700px){.site-header .brand-wordmark{width:108px}}
@media(max-width:420px){.site-header .brand-wordmark{width:96px}}

/* Keep disclosures and every nested service link in normal document flow. */
.site-header .services-mega :is(.service-family-group,.service-product-group){display:block;position:static;min-width:0;margin:0;border:0;border-bottom:1px solid var(--line)}
.site-header .services-mega :is(.service-family-group,.service-product-group)>summary{display:flex;align-items:center;gap:10px;position:static;min-height:44px;margin:0;padding:12px 8px;list-style:none;font:600 13px/1.45 var(--font);letter-spacing:0;color:var(--ink);cursor:pointer;border-radius:5px;overflow-wrap:anywhere}
.site-header .services-mega :is(.service-family-group,.service-product-group)>summary::-webkit-details-marker{display:none}
.site-header .services-mega :is(.service-family-group,.service-product-group)>summary::before{content:'';display:block;flex:0 0 6px;width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(-45deg);margin:0 3px 0 0;background:none}
.site-header .services-mega :is(.service-family-group,.service-product-group)[open]>summary::before{transform:rotate(45deg)}
.site-header .services-mega :is(.service-family-group,.service-product-group)>summary::after{content:none}
.site-header .services-mega .service-family-group>summary>span{flex:1;min-width:0}
.site-header .services-mega .service-family-group>summary>small{font:500 10px/1.3 var(--font);padding:2px 6px;border-radius:4px;background:var(--soft);color:var(--muted);margin:0;flex:none}
.site-header .services-mega :is(.service-family-group,.service-product-group)>summary:hover{background:var(--soft)}
.site-header .services-mega .service-family-links{display:block;position:static;padding:0 0 8px 10px;margin:0 0 8px 8px;border-left:1px solid var(--line);min-width:0}
.site-header .services-mega .service-product-group{border-bottom:0}
.site-header .services-mega .service-product-group>summary{font-size:12px;font-weight:550;min-height:40px;padding:10px 6px}
.site-header .services-mega .service-product-links{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:0 0 6px 12px;margin:0;min-width:0}
.site-header .services-mega :is(.service-family-links,.service-product-links)>a{display:flex;align-items:flex-start;justify-content:space-between;position:static;float:none;gap:10px;width:100%;max-width:100%;min-width:0;min-height:40px;height:auto;margin:0;padding:10px 8px!important;border:0;border-radius:5px;background:transparent;color:var(--ink);font:400 13px/1.5 var(--font);letter-spacing:0;white-space:normal;text-align:left;text-decoration:none}
.site-header .services-mega .service-menu-label{display:block;flex:1;min-width:0;color:inherit;overflow-wrap:anywhere}
.site-header .services-mega .service-menu-arrow{display:block;flex:none;color:var(--accent);line-height:1.5}
.site-header .services-mega :is(.service-family-links,.service-product-links)>a:hover{background:var(--soft);color:var(--accent)}
.site-header .services-mega :is(a,summary):focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:5px}
/* Match adjacent header controls and avoid platform-dependent emoji rendering. */
.site-header .nav-actions .theme-toggle{display:inline-flex;align-items:center;justify-content:center;appearance:none;flex:0 0 40px;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;margin:0;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--ink);line-height:1;cursor:pointer;box-shadow:none;overflow:hidden}
.site-header .theme-toggle svg{display:block;flex:none;width:20px;height:20px;pointer-events:none;transform:none}
.site-header .theme-toggle:hover{background:var(--soft);border-color:var(--muted)}
.site-header .theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:700px){.site-header .nav-actions .theme-toggle{flex-basis:36px;width:36px;min-width:36px;height:36px;min-height:36px;border-radius:9px}.site-header .theme-toggle svg{width:18px;height:18px}.site-header .services-mega .service-family-group>summary{font-size:14px;min-height:48px}.site-header .services-mega .service-product-group>summary{font-size:13px}.site-header .services-mega :is(.service-family-links,.service-product-links)>a{font-size:14px;min-height:44px}}

.site-header .services-mega .service-family-group:not([open])>.service-family-links,.site-header .services-mega .service-product-group:not([open])>.service-product-links{display:none}
.site-header .nav-actions .theme-toggle{height:44px;min-height:44px}
@media(max-width:700px){.site-header .nav-actions .theme-toggle{height:44px;min-height:44px}}
@media(max-width:420px){.site-header .brand{gap:5px}.site-header .brand img{width:28px;height:32px}.site-header .brand-wordmark{width:94px}}

/* Mobile navigation uses one type family; indentation expresses the hierarchy. */
@media(max-width:1479px){
 .site-header #navigation .drawer-heading{font:600 20px/1.3 var(--font);letter-spacing:0;gap:16px}
 .site-header #navigation .drawer-heading button{font:400 26px/1 var(--font)}
 .site-header #navigation .services-mobile-accordion summary{font:500 14px/1.5 var(--font);letter-spacing:0;min-height:46px;padding:12px 8px}
 .site-header #navigation .services-mobile-accordion>details>summary{font-size:15px;font-weight:600}
 .site-header #navigation .services-mobile-accordion details details{margin-left:0}
 .site-header #navigation .services-mobile-accordion>details>details{margin-left:8px}
 .site-header #navigation .services-mobile-accordion :is(.service-family-group,.service-product-group)>summary{font:550 14px/1.5 var(--font);min-height:44px;padding:11px 8px}
 .site-header #navigation .services-mobile-accordion .service-family-group>summary>span{font:inherit;letter-spacing:inherit}
 .site-header #navigation .services-mobile-accordion .service-family-group>summary>small{font:500 11px/1.3 var(--font)}
 .site-header #navigation .services-mobile-accordion .service-family-links{margin:0 0 6px 6px;padding:0 0 6px 6px}
 .site-header #navigation .services-mobile-accordion .service-product-links{padding-left:8px}
 .site-header #navigation .services-mobile-accordion a{font:400 14px/1.5 var(--font);letter-spacing:0;min-height:44px}
}
/* Keep a single header row; use the drawer whenever the measured menu cannot fit. */
.site-header .nav-wrap{flex-wrap:nowrap;min-width:0;min-height:0}
.site-header #navigation{flex-wrap:nowrap}
.site-header #navigation>.nav-link,.site-header #navigation>.nav-item{flex-shrink:0}
.site-header #navigation>.nav-item>.nav-trigger{white-space:nowrap}
.site-header.header-compact .nav-wrap{height:80px}
.site-header.header-compact .nav-actions{margin-left:auto}
.site-header.header-compact .mobile-menu{display:block;min-height:44px;min-width:44px}
.site-header.header-compact #navigation{display:none;position:fixed;z-index:120;inset:0 0 0 auto;width:min(540px,100%);max-height:100dvh;height:100dvh;overflow:auto;overscroll-behavior:contain;background:var(--paper);border:0;box-shadow:-10px 0 40px #24231f22;padding:24px;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;margin:0}
.site-header.header-compact #navigation.mobile-open{display:flex}
.site-header.header-compact #navigation>.nav-link,.site-header.header-compact #navigation>.nav-item>.nav-trigger{font:500 16px/1.5 var(--font);padding:16px 0;min-height:52px;display:flex;justify-content:space-between;width:100%;border-bottom:1px solid var(--line)}
.site-header.header-compact .drawer-heading{display:flex;position:sticky;top:-24px;z-index:2;justify-content:space-between;align-items:center;gap:16px;padding:8px 0 22px;margin-bottom:10px;border-bottom:1px solid var(--line);background:var(--paper);font:600 20px/1.3 var(--font)}
.site-header.header-compact .drawer-heading button{min-width:44px;min-height:44px;font:400 26px/1 var(--font)}
.site-header.header-compact .services-mega{position:static;transform:none;width:100%;max-height:none;overflow:visible;background:transparent;border:0;border-radius:0;box-shadow:none;margin:0;padding:12px 0}
.site-header.header-compact .services-mega .services-mega-layout{display:none}
.site-header.header-compact .services-mobile-accordion{display:block}
.site-header.header-compact .services-mobile-accordion details{border-bottom:1px solid var(--line)}
.site-header.header-compact .services-mobile-accordion summary{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:12px 8px;list-style:none;font:500 14px/1.5 var(--font);color:var(--ink);cursor:pointer}
.site-header.header-compact .services-mobile-accordion>details>summary{font-size:15px;font-weight:600;color:var(--accent)}
.site-header.header-compact .services-mobile-accordion summary::after{content:'+';color:var(--accent)}
.site-header.header-compact .services-mobile-accordion details[open]>summary::after{content:'−'}
.site-header.header-compact .services-mobile-accordion :is(.service-family-group,.service-product-group)>summary::after{content:none}
.site-header.header-compact .services-mobile-accordion details details{margin-left:0}
.site-header.header-compact .services-mobile-accordion>details>details{margin-left:8px}
.site-header.header-compact .services-mobile-accordion :is(.service-family-group,.service-product-group)>summary{font:550 14px/1.5 var(--font)}
.site-header.header-compact .services-mobile-accordion a{display:flex;align-items:start;justify-content:space-between;gap:10px;min-height:44px;padding:12px 8px;font:400 14px/1.5 var(--font);border-radius:0;border-bottom:1px solid var(--line);background:none}
body.drawer-open .site-header.header-compact .nav-backdrop{display:block;position:fixed;inset:0;z-index:110;border:0;background:#15171355;backdrop-filter:blur(3px)}
.site-header.header-compact #navigation{z-index:120}
@media(max-width:700px){.site-header.header-compact .nav-wrap{height:74px}.site-header.header-compact .mobile-menu{min-width:35px}}
@media(max-width:380px){.site-header .nav-wrap{padding-inline:10px;gap:6px}.site-header .brand{gap:5px}.site-header .brand img{width:26px}.site-header .brand-wordmark{width:82px}.site-header .nav-actions{gap:2px}.site-header .nav-actions .theme-toggle{flex-basis:32px;width:32px;min-width:32px}.site-header .pricing-calculator-link{width:32px}.site-header .locale-trigger{min-width:32px;padding-inline:7px}.site-header .builder-cart-button{padding-inline:6px;gap:3px}.site-header.header-compact .mobile-menu{min-width:30px;width:30px}}

/* Pricing controls retain readable surfaces, status text and selected states in dark mode. */
html[data-theme=dark]{--pricing-error:#f2aa91}
html[data-theme=dark] .consulting-models button[aria-pressed=true]{background:#a65c36;border-color:#a65c36;color:#fff}
html[data-theme=dark] .consulting-result h2 small{color:var(--muted)}
html[data-theme=dark] :is(.builder-option.is-selected,.builder-soft,.builder-step-number,.builder-scope-tag){background:var(--soft);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .builder-option.is-selected>span{color:var(--ink)}
html[data-theme=dark] :is(.builder-estimate-notice,.builder-disclosure){background:var(--soft);color:var(--muted);border-color:var(--line);border-left-color:var(--accent)}
html[data-theme=dark] .builder-disclosure strong{color:var(--ink)}
html[data-theme=dark] .builder-scope-notes .builder-overlap-note{color:var(--muted)}

/* Shared service and directory menu artwork; labels retain the full link name. */
.site-header .services-mega .menu-item-icon{display:block;position:static;flex:0 0 22px;width:22px;height:22px;max-width:22px;margin:0;color:var(--accent);align-self:flex-start}
.site-header .services-mega summary>.menu-item-icon{align-self:center}
.site-header .services-mega .menu-brand-logo{flex-basis:32px;width:32px;max-width:32px;object-fit:contain;background:#fff;border-radius:3px;padding:2px}
.site-header .services-mega .services-pillar-tab>.menu-item-icon{align-self:center}
.site-header .services-mega .services-pillar-tab>span:first-of-type{flex:1}
.site-header .services-mega .services-mobile-accordion summary{gap:10px}
.site-header .services-mega .services-mobile-accordion summary>span{flex:1;min-width:0}
.site-header .services-mega .service-product-group>summary>span{flex:1;min-width:0}
.site-header .services-mega .menu-item-label{flex:1;min-width:0;color:inherit;overflow-wrap:anywhere}
.site-header .services-mega .services-portfolio-grid>a{display:flex;align-items:flex-start;gap:12px;padding-right:28px}
.site-header .services-mega .services-portfolio-grid .service-portfolio-copy{position:static;flex:1;min-width:0;color:inherit}
.site-header .services-mega .services-portfolio-grid .service-menu-arrow{position:absolute;right:10px;top:14px}
