/* WS-05: controlled Hebert-family layout and component repair layer. */
:root{
  --brand-primary:var(--pine);--brand-accent:var(--coral);--surface-dark:var(--ink);
  --button-primary:var(--coral);--focus-ring:var(--mint);--surface-page:var(--paper);
  --surface-soft:var(--cream);--text-primary:var(--ink);--text-on-dark:#fff;
  --dropdown-bg:var(--paper);--dropdown-text:var(--ink)
}
html,body{max-width:100%;overflow-x:clip}
.hm-layout-enabled a:focus-visible,.hm-layout-enabled button:focus-visible,.hm-layout-enabled input:focus-visible,.hm-layout-enabled select:focus-visible,.hm-layout-enabled textarea:focus-visible,.hm-layout-enabled summary:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}
.hm-layout-enabled .site-header{background:color-mix(in srgb,var(--surface-page) 97%,transparent);color:var(--text-primary)}
.hm-layout-enabled .header-inner{min-height:72px;height:auto}
.hm-layout-enabled .header-phone,.hm-layout-enabled .nav a,.hm-layout-enabled .site-footer a,.hm-layout-enabled summary{min-height:44px;display:flex;align-items:center}
.hm-layout-enabled .drop-panel{background:var(--dropdown-bg);color:var(--dropdown-text);border-color:color-mix(in srgb,var(--text-primary) 22%,transparent)}
.hm-layout-enabled .drop-panel a:hover,.hm-layout-enabled .drop-panel a:focus-visible{background:var(--surface-soft);color:var(--text-primary)}
.hm-layout-enabled .semantic-icon{width:48px;height:48px;padding:11px;object-fit:contain;object-position:50% 48%;display:block}
.hm-layout-enabled .quick-lead{display:none!important}
.hm-compact-launcher{position:fixed;right:18px;bottom:18px;z-index:70;display:flex;background:var(--surface-dark);color:var(--text-on-dark);border:2px solid var(--surface-page);box-shadow:0 8px 24px rgba(0,0,0,.22)}
.hm-compact-launcher a{min-width:88px;min-height:48px;padding:0 16px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:900;text-transform:uppercase;font-size:12px;letter-spacing:.05em}
.hm-compact-launcher .hm-launcher-estimate{background:var(--button-primary);color:#fff}
.hm-layout-enabled .menu-toggle{min-width:44px;min-height:44px}
.hm-layout-enabled.home main{display:flex;flex-direction:column}.hm-layout-enabled.home main>*{order:50}
.hm-layout-enabled.home main>.fidelity-hero{order:1}
.hm-layout-enabled.home main>.final-focus{order:90}
.home main>.mrig2-reviews{order:40}
.hm-layout-enabled.home main>script{order:99}
.hm-layout-profile-split-conversion-a main>.proof-ribbon{order:2}.hm-layout-profile-split-conversion-a main>.mrig2-reviews{order:3}.hm-layout-profile-split-conversion-a main>.services-showcase{order:4}.hm-layout-profile-split-conversion-a main>.apart-section{order:5}
.hm-layout-profile-split-conversion-b main>.services-showcase{order:2}.hm-layout-profile-split-conversion-b main>.experience-section{order:3}.hm-layout-profile-split-conversion-b main>.mrig2-reviews{order:4}.hm-layout-profile-split-conversion-b main>.story-primary{order:5}
.hm-layout-profile-editorial-local-a main>.home-areas{order:2}.hm-layout-profile-editorial-local-a main>.services-showcase{order:3}.hm-layout-profile-editorial-local-a main>.story-primary{order:4}.hm-layout-profile-editorial-local-a main>.mrig2-reviews{order:5}
.hm-layout-profile-editorial-local-b main>.metric-band{order:2}.hm-layout-profile-editorial-local-b main>.home-areas{order:3}.hm-layout-profile-editorial-local-b main>.experience-section{order:4}.hm-layout-profile-editorial-local-b main>.mrig2-reviews{order:5}
.hm-layout-profile-photo-process-a main>.experience-section{order:2}.hm-layout-profile-photo-process-a main>.story-primary{order:3}.hm-layout-profile-photo-process-a main>.services-showcase{order:4}.hm-layout-profile-photo-process-a main>.mrig2-reviews{order:5}
.hm-layout-profile-photo-process-b main>.services-showcase{order:2}.hm-layout-profile-photo-process-b main>.apart-section{order:3}.hm-layout-profile-photo-process-b main>.experience-section{order:4}.hm-layout-profile-photo-process-b main>.mrig2-reviews{order:5}
.hm-layout-profile-local-warm-a main>.proof-ribbon{order:2}.hm-layout-profile-local-warm-a main>.apart-section{order:3}.hm-layout-profile-local-warm-a main>.mrig2-reviews{order:4}.hm-layout-profile-local-warm-a main>.home-areas{order:5}
.hm-layout-profile-modular-service-a main>.services-showcase{order:2}.hm-layout-profile-modular-service-a main>.metric-band{order:3}.hm-layout-profile-modular-service-a main>.experience-section{order:4}.hm-layout-profile-modular-service-a main>.home-areas{order:5}
.hm-layout-profile-local-warm-b main>.mrig2-reviews{order:2}.hm-layout-profile-local-warm-b main>.home-areas{order:3}.hm-layout-profile-local-warm-b main>.services-showcase{order:4}.hm-layout-profile-local-warm-b main>.apart-section{order:5}
.hm-layout-profile-modular-service-b main>.apart-section{order:2}.hm-layout-profile-modular-service-b main>.services-showcase{order:3}.hm-layout-profile-modular-service-b main>.home-areas{order:4}.hm-layout-profile-modular-service-b main>.experience-section{order:5}
.hm-layout-profile-split-conversion-b .fidelity-hero .hero-grid,.hm-layout-profile-photo-process-b .fidelity-hero .hero-grid{direction:rtl}.hm-layout-profile-split-conversion-b .fidelity-hero .hero-grid>*,.hm-layout-profile-photo-process-b .fidelity-hero .hero-grid>*{direction:ltr}
.hm-layout-profile-editorial-local-a .fidelity-hero .hero-grid{grid-template-columns:1fr;text-align:center}.hm-layout-profile-editorial-local-a .fidelity-hero .hero-grid>div:first-child{max-width:900px;margin:auto}.hm-layout-profile-editorial-local-a .fidelity-hero .hero-actions,.hm-layout-profile-editorial-local-a .fidelity-hero .hero-facts{justify-content:center}.hm-layout-profile-editorial-local-a .fidelity-hero .hero-media>img,.hm-layout-profile-editorial-local-a .fidelity-hero .demo-badge{display:none}.hm-layout-profile-editorial-local-a .fidelity-hero .hero-media{min-height:0}.hm-layout-profile-editorial-local-a .quick-estimate-card{position:relative;inset:auto;max-width:1040px;margin:auto}
.hm-layout-profile-editorial-local-b .fidelity-hero .hero-grid{grid-template-columns:1.2fr .8fr}.hm-layout-profile-editorial-local-b .fidelity-hero .hero-media>img,.hm-layout-profile-editorial-local-b .fidelity-hero .demo-badge{display:none}.hm-layout-profile-editorial-local-b .quick-estimate-card{position:relative;inset:auto;min-height:520px}
.hm-layout-profile-local-warm-a .fidelity-hero .hero-grid{grid-template-columns:1fr}.hm-layout-profile-local-warm-a .fidelity-hero .hero-media{order:-1;min-height:0}.hm-layout-profile-local-warm-a .fidelity-hero .hero-media>img,.hm-layout-profile-local-warm-a .fidelity-hero .demo-badge{display:none}.hm-layout-profile-local-warm-a .quick-estimate-card{position:relative;inset:auto;max-width:1120px;margin:auto}
.hm-layout-profile-modular-service-a .fidelity-hero .hero-grid{grid-template-columns:.82fr 1.18fr}.hm-layout-profile-modular-service-a .service-feature-grid{grid-template-columns:1.3fr .7fr 1fr}
.hm-layout-profile-local-warm-b .fidelity-hero .hero-grid{grid-template-columns:1fr 1fr}.hm-layout-profile-local-warm-b .quick-estimate-card{border-radius:28px 28px 8px 28px}.hm-layout-profile-local-warm-b .fidelity-hero h1{text-transform:none;letter-spacing:-.025em}
.hm-layout-profile-modular-service-b .fidelity-hero .hero-grid{grid-template-columns:1.18fr .82fr}.hm-layout-profile-modular-service-b .fidelity-hero .hero-media>img,.hm-layout-profile-modular-service-b .fidelity-hero .demo-badge{display:none}.hm-layout-profile-modular-service-b .quick-estimate-card{position:relative;inset:auto;min-height:520px}
.hm-header-structure-two-level .site-header{border-top:8px solid var(--brand-primary)}.hm-header-structure-compact .header-inner{min-height:64px}.hm-header-structure-compact .logo .site-logo{height:52px}
.hm-footer-variant-local .footer-grid{grid-template-columns:1.6fr 1fr 1fr}.hm-footer-variant-compact .site-footer{padding-top:38px}.hm-footer-variant-compact .footer-grid{grid-template-columns:1.5fr repeat(3,1fr);gap:20px}.hm-footer-variant-compact .footer-logo{height:96px}
.hm-page-service.hm-service-page-variant-service-process main,.hm-page-geo.hm-geo-page-variant-geo-logistics main{display:flex;flex-direction:column}.hm-page-service.hm-service-page-variant-service-process main>.page-hero,.hm-page-geo.hm-geo-page-variant-geo-logistics main>.page-hero{order:1}.hm-page-service.hm-service-page-variant-service-process main>.trust-strip,.hm-page-geo.hm-geo-page-variant-geo-logistics main>.trust-strip{order:2}.hm-page-service.hm-service-page-variant-service-process main>.metric-band,.hm-page-geo.hm-geo-page-variant-geo-logistics main>.metric-band{order:3}.hm-page-service.hm-service-page-variant-service-process main>.section,.hm-page-geo.hm-geo-page-variant-geo-logistics main>.section{order:10}
.hm-page-service.hm-service-page-variant-service-scenarios .page-hero,.hm-page-geo.hm-geo-page-variant-geo-service-map .page-hero{text-align:center}.hm-page-service.hm-service-page-variant-service-scenarios .page-hero .hero-actions,.hm-page-geo.hm-geo-page-variant-geo-service-map .page-hero .hero-actions{justify-content:center}
.hm-page-service.hm-service-page-variant-service-proof .page-hero,.hm-page-geo.hm-geo-page-variant-geo-local-proof .page-hero,.hm-page-about.hm-about-page-variant-about-local .page-hero{background:var(--surface-dark);color:var(--text-on-dark)}
.hm-page-service.hm-service-page-variant-service-planner .page-hero .wrap,.hm-page-geo.hm-geo-page-variant-geo-planner .page-hero .wrap,.hm-page-contact.hm-contact-page-variant-contact-planner .page-hero .wrap{max-width:980px;margin:auto}
.hm-page-about.hm-about-page-variant-about-story .ceo-owner .editorial-grid,.hm-page-about.hm-about-page-variant-about-process .ceo-owner .editorial-grid{grid-template-columns:.72fr 1.28fr}.hm-page-about.hm-about-page-variant-about-principles .ceo-owner .editorial-grid,.hm-page-about.hm-about-page-variant-about-service-led .ceo-owner .editorial-grid{grid-template-columns:1.25fr .75fr}
.hm-page-contact.hm-contact-page-variant-contact-form-first .editorial-grid>div:first-child{order:-1}.hm-page-contact.hm-contact-page-variant-contact-details-first .editorial-grid{grid-template-columns:.8fr 1.2fr}.hm-page-contact.hm-contact-page-variant-contact-compact .editorial-grid{max-width:980px;margin:auto;grid-template-columns:1fr}
.hm-page-index.hm-index-page-variant-index-editorial .cards,.hm-page-index.hm-index-page-variant-index-guided .cards{grid-template-columns:1fr 1fr}.hm-page-index.hm-index-page-variant-index-directory .cards{grid-template-columns:1fr}.hm-page-policy.hm-policy-page-variant-policy-sidebar main>.section>.wrap{max-width:980px}.hm-page-policy.hm-policy-page-variant-policy-sectioned main>.section>.wrap{columns:2;column-gap:56px}
.hm-typography-profile-modern-b{--display:Impact,'Arial Narrow',sans-serif;--body:Verdana,Arial,sans-serif}.hm-typography-profile-editorial-a{--display:Georgia,'Times New Roman',serif}.hm-typography-profile-editorial-b{--display:'Times New Roman',Georgia,serif;--body:Verdana,Arial,sans-serif}.hm-typography-profile-industrial-b{--body:Tahoma,Arial,sans-serif}.hm-typography-profile-warm-b{--display:'Trebuchet MS',Arial,sans-serif;--body:Verdana,Arial,sans-serif}.hm-typography-profile-modular-b{--display:'Arial Narrow',Impact,sans-serif;--body:Tahoma,Arial,sans-serif}
.hm-typography-profile-editorial-a h1,.hm-typography-profile-editorial-a h2,.hm-typography-profile-editorial-b h1,.hm-typography-profile-editorial-b h2{font-family:Georgia,'Times New Roman',serif;text-transform:none;font-weight:700;letter-spacing:-.025em}
.hm-typography-profile-industrial-a h1,.hm-typography-profile-industrial-a h2,.hm-typography-profile-industrial-b h1,.hm-typography-profile-industrial-b h2{letter-spacing:-.045em}.hm-typography-profile-warm-a h1,.hm-typography-profile-warm-a h2{letter-spacing:-.02em;text-transform:none}.hm-typography-profile-modular-a h1,.hm-typography-profile-modular-a h2{max-width:16ch}
@media(max-width:900px){
  .hm-layout-enabled .header-inner{gap:8px}.hm-layout-enabled .site-header .header-phone{display:inline-flex!important;justify-content:center;margin-left:auto;min-width:54px;padding:0 10px;font-size:13px}.hm-layout-enabled .menu-toggle{margin-left:0}.hm-layout-enabled .site-header>.wrap>.btn{display:none}
  .hm-compact-launcher{display:none}.hm-layout-enabled .mobile-bar{display:grid;padding-bottom:max(8px,env(safe-area-inset-bottom))}
  .hm-layout-enabled .mobile-bar a{min-height:44px}.hm-layout-enabled .nav.open{color:var(--dropdown-text);background:var(--dropdown-bg);max-height:calc(100vh - 70px);overflow:auto}.hm-layout-enabled .nav.open a{min-height:44px}
  .hm-layout-profile-split-conversion-b .fidelity-hero .hero-grid,.hm-layout-profile-photo-process-b .fidelity-hero .hero-grid{direction:ltr}
  .hm-layout-profile-modular-service-a .service-feature-grid{grid-template-columns:1fr 1fr}
  .hm-page-policy.hm-policy-page-variant-policy-sectioned main>.section>.wrap{columns:1}
}
@media(max-width:560px){.hm-page-index.hm-layout-enabled .hm-map-section iframe{display:none!important;}.hm-page-index.hm-layout-enabled .hm-map-section .editorial-grid{grid-template-columns:1fr!important;}.hm-page-index.hm-layout-enabled .cards{grid-template-columns:1fr!important;}.hm-layout-enabled .site-header .logo .site-logo{width:min(150px,42vw);height:46px}.hm-layout-enabled .site-header .header-phone{min-width:48px;padding:0 7px}.hm-layout-enabled .quick-form-grid{grid-template-columns:1fr 1fr}.hm-layout-enabled .field input,.hm-layout-enabled .field select,.hm-layout-enabled .field textarea{min-height:44px}.hm-layout-profile-modular-service-a .service-feature-grid{grid-template-columns:1fr}}

/* hero-media-visibility-20261008 */
@media(min-width:1181px){
 body.home.hm-layout-enabled .fidelity-hero .hero-media{min-height:600px;display:grid;grid-template-columns:minmax(230px,.72fr) minmax(370px,1fr);gap:18px;align-items:stretch;order:initial}
 body.home.hm-layout-enabled .fidelity-hero .hero-media>img{display:block!important;grid-column:1;grid-row:1;width:100%;height:100%;min-height:600px;aspect-ratio:auto;object-fit:cover;border-radius:120px 24px 24px 120px}
 body.home.hm-layout-enabled .fidelity-hero .quick-estimate-card{grid-column:2;grid-row:1;position:relative;inset:auto;min-width:0;max-width:none;margin:0;min-height:600px}
}
@media(min-width:901px) and (max-width:1180px){
 body.home.hm-layout-enabled .fidelity-hero .hero-media{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);gap:18px;min-height:520px;align-items:stretch;order:initial}
 body.home.hm-layout-enabled .fidelity-hero .hero-media>img{display:block!important;grid-column:1;grid-row:1;width:100%;height:520px;min-height:520px;aspect-ratio:auto;object-fit:cover;border-radius:24px}
 body.home.hm-layout-enabled .fidelity-hero .quick-estimate-card{grid-column:2;grid-row:1;position:relative;inset:auto;max-width:none;margin:0;min-height:520px}
 body.home.hm-layout-enabled .fidelity-hero .quick-form-grid{grid-template-columns:1fr}
}
@media(max-width:900px){
 body.home.hm-layout-enabled .fidelity-hero .hero-grid{grid-template-columns:1fr!important;direction:ltr}
 body.home.hm-layout-enabled .fidelity-hero .hero-grid>*{direction:ltr}
 body.home.hm-layout-enabled .fidelity-hero .hero-media{display:flex;flex-direction:column;gap:20px;min-height:0;order:initial}
 body.home.hm-layout-enabled .fidelity-hero .hero-media>img{display:block!important;order:2;width:100%;height:auto;min-height:0;aspect-ratio:16/10;object-fit:cover;border-radius:18px}
 body.home.hm-layout-enabled .fidelity-hero .quick-estimate-card{order:1;position:relative;inset:auto;max-width:none;margin:0;min-height:0!important}
}

@media(max-width:560px){.hm-layout-enabled.hm-footer-variant-local .footer-grid,.hm-layout-enabled.hm-footer-variant-compact .footer-grid{grid-template-columns:minmax(0,1fr)}}


/* nonmedia-ready actions 20261014 */
@media(min-width:901px){body:not(.home).hm-layout-enabled .quick-lead{display:block!important}}
@media(max-width:900px){.hm-layout-enabled .quick-lead{display:none!important}.hm-layout-enabled .mobile-bar{display:grid!important;padding-bottom:max(8px,env(safe-area-inset-bottom))}.hm-layout-enabled{padding-bottom:60px!important}.hm-layout-enabled .site-footer{padding-bottom:95px!important}}
.hm-layout-enabled .mobile-bar{transition:opacity .16s ease,visibility .16s ease}.hm-layout-enabled .mobile-bar.map-overlap{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

/* Contact owns the full form; avoid two simultaneous desktop forms. */
body.hm-page-contact.hm-layout-enabled:not(.home) .quick-lead{display:none!important}
body.hm-page-contact .site-footer{padding-bottom:60px!important}


/* Put the compact estimate form in the first mobile content viewport. */
@media(max-width:900px){
 body.hm-layout-enabled:not(.home):not(.hm-page-contact) .quick-lead.quick-lead-inline-mobile{display:block!important;position:static!important;inset:auto!important;width:auto!important;margin:18px 16px 26px;padding:14px;border-radius:14px;box-shadow:0 10px 24px rgba(0,0,0,.14)}
 body.hm-layout-enabled:not(.home):not(.hm-page-contact) .quick-lead.quick-lead-inline-mobile form{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 body.hm-layout-enabled:not(.home):not(.hm-page-contact) .quick-lead.quick-lead-inline-mobile .quick-lead-title{grid-column:1/-1}
 body.hm-layout-enabled:not(.home):not(.hm-page-contact) .quick-lead.quick-lead-inline-mobile label span{position:static;display:block}
 body.hm-layout-enabled:not(.home):not(.hm-page-contact) .quick-lead.quick-lead-inline-mobile label:nth-of-type(3){grid-column:1/2}
 body.hm-layout-enabled:not(.home):not(.hm-page-contact) .quick-lead.quick-lead-inline-mobile button{grid-column:2/3}
}
@media(max-width:430px){body.hm-layout-enabled:not(.home):not(.hm-page-contact) .quick-lead.quick-lead-inline-mobile{margin-left:12px;margin-right:12px}}

body.hm-page-estimate.hm-layout-enabled .quick-lead{display:none!important}
body.hm-page-estimate .site-footer{padding-bottom:60px!important}

@media(max-width:900px){body.hm-page-service .page-hero,body.hm-page-geo .page-hero{padding:34px 0 26px}body.hm-page-service .page-hero h1,body.hm-page-geo .page-hero h1{margin:.14em 0}body.hm-page-service .page-hero p,body.hm-page-geo .page-hero p{margin-bottom:0}}
