/* The approved Boston desktop proportions, shared by network and unassigned service banners. */
@media(min-width:821px){
 body.hp-compact-network .hero,body.hp-compact-network .service-landing .paint-hero{min-height:470px}
 body.hp-compact-network .hero .hero-inner,body.hp-compact-network .hero>.wrap,body.hp-compact-network .service-landing .paint-hero-layout{padding-top:26px;padding-bottom:60px}
 body.hp-compact-network .hero .container,body.hp-compact-network .hero>.wrap,body.hp-compact-network .paint-hero>.container{width:min(1240px,calc(100% - 64px));margin-inline:auto}
 body.hp-compact-network .hero h1{font-size:clamp(46px,4.2vw,64px);max-width:850px;line-height:1.04;margin-bottom:16px}
 body.hp-compact-network .hero .eyebrow,body.hp-compact-network .paint-hero .eyebrow{margin-bottom:14px}
 body.hp-compact-network .hero p{font-size:17px;line-height:1.6;margin-top:15px;margin-bottom:18px;max-width:520px}
 body.hp-compact-network .service-landing .paint-hero h1{margin-bottom:16px}
 body.hp-compact-network .service-landing .paint-hero p{line-height:1.65;margin-top:15px}
 body.hp-compact-network .page-hero{padding-block:36px}
}

/* Authorized 8% faster photo motion; transition opacity and gradients are unchanged. */
body.hp-compact-network :is(.paint-hero-image>img,.paint-color-story-photo>img,.hero>.hero-photo,.mkt-visual>img){animation-duration:25.925926s!important}

/* Center the three contact facts without changing their grid or dividers. */
body.hp-compact-network .paint-contact-facts>div{text-align:center}
body.hp-compact-network .paint-contact-facts>div>strong{display:block}
body.hp-compact-network .paint-contact-facts .paint-phone-link{justify-content:center}

/* Plain service sections: center the labels and standalone contact elements too. */
.company-standard:not(.company-wanderson) :is(#specialty-about,#specialty-services,#specialty-process,#specialty-gallery,#specialty-contact,#company-opportunities) .uploaded-section-heading>.eyebrow{justify-content:center!important;text-align:center!important;width:100%}
.company-standard:not(.company-wanderson) #specialty-about .paint-about-copy>.paint-phone-link{display:flex!important;width:100%!important;justify-content:center!important}
.company-standard:not(.company-wanderson) .company-video-section>.container>:is(.eyebrow,h2){text-align:center;justify-content:center}
.company-standard:not(.company-wanderson) #company-opportunities>.container>:is(.eyebrow,h2){text-align:center;justify-content:center}
/* Fade only an inset photo's exposed left edge; keep its position and dimensions. */
.company-standard:not(.company-wanderson) .hp-soft-photo-edge{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 24%);mask-image:linear-gradient(90deg,transparent 0%,#000 24%)}

/* Reference proportions, excluding protected Wanderson. */
@media(min-width:821px){body.company-website .company-standard:not(.company-wanderson) .container{width:calc(100% - 64px)!important;max-width:1180px!important;margin-inline:auto!important}body.company-website .company-standard:not(.company-wanderson) .paint-hero{min-height:0!important}body.company-website .company-standard:not(.company-wanderson) .paint-hero-layout{padding:56px 0 69px!important;min-height:531px!important;box-sizing:border-box}body.company-website .company-standard:not(.company-wanderson) .company-photo-rail button{flex:0 0 185px!important;height:248px!important}body.company-website .company-standard:not(.company-wanderson) .service-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Fade the actual inset edge, including the right edge of left-hand story photos. */
.company-standard:not(.company-wanderson) .hp-photo-edge-managed{-webkit-mask-image:var(--hp-photo-edge,none)!important;mask-image:var(--hp-photo-edge,none)!important;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}
:is(.company-standard,.company-wanderson) :is(#specialty-gallery,#specialty-contact) .hp-client-section-logo{display:block;width:76px;height:52px;object-fit:contain;background:transparent;box-shadow:none;margin:0 auto 12px;border:0}

/* An explicit play affordance for real client videos; native controls stay available. */
:is(.company-standard,.company-wanderson) .hp-client-video{position:relative;display:flow-root;width:100%}:is(.company-standard,.company-wanderson) .hp-client-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:84px;height:84px;border-radius:50%;border:3px solid white;background:#c8102e;color:white;display:grid;place-items:center;box-shadow:0 6px 28px #0006;cursor:pointer;z-index:2;padding:19px}.company-wanderson .hp-client-video-play{background:#e97f3a}.company-rdj-client .hp-client-video-play{background:#008c80}:is(.company-standard,.company-wanderson) .hp-client-video-play[hidden]{display:none!important}:is(.company-standard,.company-wanderson) .hp-client-video-play svg{width:100%;height:100%;filter:drop-shadow(0 1px 2px #0003)}:is(.company-standard,.company-wanderson) .hp-client-video-play:hover{box-shadow:0 8px 32px #0008;filter:brightness(1.08)}:is(.company-standard,.company-wanderson) .hp-client-video-play:focus-visible{outline:3px solid #fff;outline-offset:5px}@media(max-width:600px){:is(.company-standard,.company-wanderson) .hp-client-video-play{width:68px;height:68px;padding:15px}}

/* Contacts share the same alignment across all service and company pages. */
:is(.company-standard,.company-wanderson) .paint-contact-facts>div{text-align:center!important}:is(.company-standard,.company-wanderson) .paint-contact-facts>div>strong{display:block}:is(.company-standard,.company-wanderson) .paint-contact-facts a[href^="tel:"]{display:flex!important;align-items:center;justify-content:center!important;gap:9px}:is(.company-standard,.company-wanderson) .hp-client-section-logo{display:block!important;margin:0 auto 12px!important;width:76px!important;height:52px!important;object-fit:contain!important}:is(.company-standard,.company-wanderson) .hp-contact-brand-logo{display:block!important;width:52px!important;height:36px!important;object-fit:contain;margin:0 auto 8px!important;background:transparent;box-shadow:none}.hp-static-call-icon{display:none!important}.hp-contact-motion{position:relative;display:inline-block;width:29px;height:29px;flex:0 0 29px}.hp-contact-motion svg{position:absolute;inset:0;width:100%;height:100%}.hp-ring-icon{animation:hp-contact-ring 7s ease-in-out infinite}.hp-message-icon{animation:hp-contact-message 7s ease-in-out infinite}@keyframes hp-contact-ring{0%,6%,14%,22%,38%,100%{opacity:1;transform:rotate(0)}8%,16%,24%{transform:rotate(-12deg)}10%,18%,26%{transform:rotate(12deg)}46%,91%{opacity:0;transform:scale(.8)}}@keyframes hp-contact-message{0%,38%,100%{opacity:0;transform:scale(.8)}49%,86%{opacity:1;transform:scale(1)}94%{opacity:0}}.hp-social-links{display:flex!important;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap}.hp-social-links .hp-social-circle{display:grid!important;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:50%;color:white!important;border:0;box-shadow:none;padding:11px}.hp-social-circle svg{width:100%;height:100%}.hp-social-facebook{background:#3b5998}.hp-social-instagram{background:radial-gradient(circle at 30% 100%,#ffdc80,#fcaf45 20%,#f77737 35%,#e1306c 55%,#833ab4 85%)}.hp-social-youtube{background:#c92325}.hp-social-circle:focus-visible{outline:3px solid currentColor;outline-offset:3px}.hp-social-circle:hover{filter:brightness(1.12)}@media(prefers-reduced-motion:reduce){.hp-contact-motion svg{animation:none}.hp-contact-motion .hp-message-icon{display:none}.hp-contact-motion .hp-ring-icon{opacity:1;transform:none}}

/* Reuse the company logo without stretching or gallery loading delays. */
:is(.company-standard,.company-wanderson) .hp-ready-company-mark{object-fit:contain!important;aspect-ratio:auto!important}
:is(.company-standard,.company-wanderson) .hp-company-presence-logo{display:block!important;width:130px!important;height:76px!important;margin:0 auto 16px!important;border:0!important;box-shadow:none!important}
.company-wanderson .hp-company-referrals{text-align:center;background:#f5f7fa}.company-wanderson .hp-company-referrals .container{max-width:900px;margin-inline:auto}.company-wanderson .hp-company-referrals p{max-width:750px;margin:18px auto;line-height:1.8}.company-wanderson .hp-company-referrals .hp-referral-terms{font-size:13px;max-width:680px}.company-wanderson .hp-company-referrals .button{display:inline-flex;justify-content:center;max-width:100%;white-space:normal}
/* Give the three category previews more presence, preserving their crop. */
.category-card .category-mini-photo,.category-card .category-mini-photo>img{width:108px!important;height:74px!important}.category-card .category-mini-photo{flex-shrink:0}.category-card .category-mini-icon{width:27px;height:27px}
@media(max-width:540px){.category-card .category-mini-photo,.category-card .category-mini-photo>img{width:96px!important;height:66px!important}.company-wanderson .hp-company-referrals .button{font-size:15px}}

/* Keep each arrow beside its number, with each group centered in its third. */
.service-landing:not(.company-wanderson) .paint-specialty-strip>.container>div{justify-content:center!important;text-align:center;gap:12px!important;padding-inline:clamp(9px,2vw,26px)!important}
.service-landing:not(.company-wanderson) .paint-specialty-strip>.container>div>strong{flex:0 1 auto!important}
.service-landing:not(.company-wanderson) .paint-specialty-strip>.container>div>svg{order:-1;margin:0!important;flex-shrink:0}
