/* Shared homepage content edges; backgrounds remain full bleed. */
body:has(.hero-section){--home-content:1240px;--home-gutter:32px;--home-space:52px;--home-width:min(calc(100% - var(--home-gutter)*2),var(--home-content))}
body:has(.hero-section) .site-main section.corporate-section{padding-inline:0;padding-block:32px}
body:has(.hero-section) .site-main section.corporate-section .corporate-grid,
body:has(.hero-section) .site-main .home-services>.container,
body:has(.hero-section) .site-main .home-showcase>.container,
body:has(.hero-section) .site-main section.letter-section .letter-inner,
body:has(.hero-section) .site-main section.contact-section .contact-section__inner,
body:has(.hero-section) .site-main section.quick-actions .quick-actions__inner,
body:has(.hero-section) .site-main section.strength-section .strength-grid,
body:has(.hero-section) .site-main .trust-section .trust-items{width:var(--home-width)!important;max-width:var(--home-content)!important;margin-inline:auto;padding-inline:0;box-sizing:border-box}
body:has(.hero-section) .site-main section:is(.strength-section,.trust-section,.contact-section,.quick-actions){padding-inline:0!important}
body:has(.hero-section) .site-main section:is(.strength-section,.service-section.home-services,.home-showcase,.letter-section,.trust-section,.contact-section){padding-block:var(--home-space)!important}
body:has(.hero-section) .site-main .partner-stage{max-width:var(--home-content);width:var(--home-width);margin-inline:auto;box-sizing:border-box}
body:has(.hero-section) .site-main .partner-contact__inner{width:var(--home-width);max-width:var(--home-content);padding-inline:0;box-sizing:border-box}
body:has(.hero-section) .site-main .large-format__visual{max-width:var(--home-content);width:var(--home-width)}
body:has(.hero-section) .site-main .large-format__bottom{max-width:var(--home-content);width:var(--home-width);padding-inline:0}
body:has(.hero-section) .site-main .trust-title,
body:has(.hero-section) .site-main .strength-heading{max-width:var(--home-width);margin-inline:auto!important}
@media(min-width:1200px){
body:has(.hero-section) .partner-banner{left:0}
body:has(.hero-section) .partner-cards{left:0;width:64%}
}
@media(max-width:1199px){
body:has(.hero-section) .partner-stage{padding-inline:0}
}
@media(min-width:601px) and (max-width:1000px){
body:has(.hero-section){--home-gutter:24px;--home-space:40px}
body:has(.hero-section) .site-main section.corporate-section .corporate-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
body:has(.hero-section){--home-gutter:18px;--home-space:32px}
body:has(.hero-section) .site-main section.corporate-section{padding-block:24px}
body:has(.hero-section) .site-main .large-format__visual{width:100%;padding-inline:var(--home-gutter);box-sizing:border-box}
body:has(.hero-section) .site-main section.quick-actions>p{padding-inline:var(--home-gutter)}
body:has(.hero-section) .floating-advisor{width:clamp(112px,30vw,160px)}
}
@media(min-width:1101px){body:has(.hero-section) .floating-advisor{width:clamp(200px,18vw,300px)}}
/* The split construction panel shares the same right edge as the grids. */
@media(min-width:901px){
body:has(.hero-section) .site-main .highrise__content{padding-right:max(var(--home-gutter),calc((100vw - var(--home-content))/2));box-sizing:border-box}
body:has(.hero-section) .site-main .highrise-note{white-space:normal}
}
@media(max-width:900px){
body:has(.hero-section) .site-main .highrise__content{width:var(--home-width);max-width:var(--home-content);margin-inline:auto;padding-inline:0}
}
