/* Homepage: headline, campaign photograph and search sit on the same content rail. */
body.portal.portal-home{--mc-home-card-width:min(1120px,calc(100% - clamp(24px,6vw,80px)))}
body.portal.portal-home .portal-header:not(.scroll-glass){background:#191919f7!important;border-bottom:1px solid #ffffff16}

body.portal.portal-home .mc-home-hero-transition{display:flow-root;background:linear-gradient(180deg,#191919 58%,#202720)}
body.portal.portal-home .mc-home-stage{display:block;min-height:0;padding:clamp(94px,9vw,125px) 0 0;background:transparent!important;border:0!important;overflow:visible}
body.portal.portal-home .mc-home-stage::before,body.portal.portal-home .mc-home-stage::after{content:none}
body.portal.portal-home .mc-home-stage-inner{display:grid;gap:clamp(16px,2.4vw,27px);width:var(--mc-home-card-width)!important;max-width:none;margin-inline:auto;padding-inline:0!important}
body.portal.portal-home .mc-home-stage-copy{width:100%;max-width:none!important;margin:0;padding:0;text-align:left!important}
body.portal.portal-home .mc-home-stage-copy h1{max-width:100%;font-size:clamp(2rem,4.7vw,4.25rem)!important;margin:0 0 .45rem;text-wrap:balance;letter-spacing:-.05em;line-height:1.04!important}
body.portal.portal-home .mc-home-stage-copy p{max-width:none;margin:0;font-size:clamp(.94rem,1.4vw,1.12rem)!important}
body.portal.portal-home .mc-home-stage-copy .mc-brand-actions{justify-content:flex-start!important;flex-wrap:wrap;margin-top:.85rem!important}
.mc-home-campaign-card{min-width:0;height:clamp(205px,31vw,440px);overflow:hidden;border:1px solid #ffffff34;border-radius:clamp(16px,2vw,28px);background:#222622;box-shadow:0 18px 40px #0005}
.mc-home-campaign-card img{display:block;height:100%;width:100%;object-fit:cover;object-position:center 42%}
body.portal.portal-home .mc-home-search-dock{width:var(--mc-home-card-width)!important;max-width:none!important;margin:clamp(12px,1.7vw,20px) auto clamp(18px,3vw,34px)!important;z-index:1}
body.portal.portal-home .mc-home-search-dock form{margin:0;border-radius:clamp(14px,2vw,22px)}
@media(max-width:760px){
 body.portal.portal-home .mc-home-stage{padding-top:88px}
 body.portal.portal-home .mc-home-stage-copy h1{font-size:clamp(1.95rem,7.8vw,3rem)!important}
 body.portal.portal-home .mc-home-campaign-card{height:clamp(175px,50vw,320px)}
 body.portal.portal-home .mc-home-search-dock form{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px!important}
 body.portal.portal-home .mc-home-search-dock form>.mc-home-service{grid-column:1!important;grid-row:1!important}
 body.portal.portal-home .mc-home-search-dock form>.mc-home-place{grid-column:2/-1!important;grid-row:1!important}
 body.portal.portal-home .mc-home-search-dock form>.p-btn{grid-column:1/3!important;grid-row:2!important}
 body.portal.portal-home .mc-home-search-dock form>.mc-home-search-toggle{grid-column:3!important;grid-row:2!important;justify-self:end}
}

body.portal.portal-home .mc-home-stage-copy h1 span{color:#fff12b!important;-webkit-text-fill-color:#fff12b!important}

/* The existing campaign photo frames its painters on the right. Crop from that edge. */
body.portal.portal-home .mc-home-campaign-card img{object-position:right 3%;transform:scale(1.58);transform-origin:100% 4%}
@media(max-width:760px){body.portal.portal-home .mc-home-campaign-card img{object-position:right 5%;transform:scale(1.13);transform-origin:100% 5%}}
@media(max-width:390px){body.portal.portal-home .mc-home-campaign-card img{transform:scale(1.08)}}

/* Leave room between the quality card and the next background band. */
body.portal.portal-home .mc-home-quality-band{padding-block-end:clamp(20px,4vw,48px)}
