/* ERG October 2026: homepage rhythm, testimonials, property hero mobile collision */
body.erg-edition .erg-section-black {padding-top:clamp(65px,7vw,104px);padding-bottom:clamp(70px,7vw,104px)}
body.erg-edition .erg-section-black .erg-portfolio-heading {margin:22px 0 42px;gap:22px}
body.erg-edition .erg-section-black .erg-portfolio-heading h2 {font-size:clamp(48px,6.4vw,112px)}
body.erg-edition .erg-section-black .erg-portfolio-heading p {max-width:310px}
body.erg-edition .erg-section-black .erg-outline-link {margin-top:38px}
/* Testimonials: editorial, spacious but not another giant banner */
body.erg-edition .erg-home-testimonials {background:#eceee8;color:#0D1B4B;padding:clamp(72px,9vw,128px) 5vw}
body.erg-edition .erg-home-testimonials__grid {display:grid;grid-template-columns:220px minmax(0,1fr);gap:clamp(24px,5vw,100px);align-items:start}
body.erg-edition .erg-home-testimonials__eyebrow {font:600 11px/1.7 'DM Sans',sans-serif;letter-spacing:.19em;text-transform:uppercase;color:#657068}
body.erg-edition .erg-home-testimonials__star {display:block;margin-top:15px;letter-spacing:.20em;font-size:14px;color:#758174}
body.erg-edition .erg-home-testimonials blockquote {font:400 clamp(30px,4.3vw,69px)/1.19 'Playfair Display',Georgia,serif;letter-spacing:-.04em;margin:0;max-width:1150px}
body.erg-edition .erg-home-testimonials blockquote em {font-style:italic;color:#657365}
body.erg-edition .erg-home-testimonials__foot {display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:36px;padding-top:20px;border-top:1px solid #aeb7ad;font:600 11px/1.5 'DM Sans',sans-serif;letter-spacing:.13em;text-transform:uppercase}
body.erg-edition .erg-home-testimonials__foot a {color:inherit;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:4px}
/* Back-to-collection must never share the logo's header row */
body .pd-hero .pd-back {position:relative;z-index:2;display:inline-flex;align-items:center;max-width:max-content}
@media(max-width:767px){
 body.erg-edition .erg-section-black {padding-top:58px;padding-bottom:66px}
 body.erg-edition .erg-section-black .erg-portfolio-heading {margin:20px 0 26px}
 body.erg-edition .erg-section-black .erg-portfolio-heading h2 {font-size:clamp(44px,11vw,65px)}
 body.erg-edition .erg-home-testimonials {padding:74px 6vw}
 body.erg-edition .erg-home-testimonials__grid {display:block}
 body.erg-edition .erg-home-testimonials__eyebrow {margin-bottom:22px}
 body.erg-edition .erg-home-testimonials blockquote {font-size:clamp(29px,7.6vw,43px)}
 body.erg-edition .erg-home-testimonials__foot {align-items:start;flex-direction:column;gap:20px}
 /* Header overlay occupies the top of the hero: place back link well below it. */
 body .pd-hero .pd-hero-content {padding-top:max(128px, calc(env(safe-area-inset-top) + 112px))!important}
 body .pd-hero .pd-back {position:relative!important;top:auto!important;left:auto!important;margin:0 0 22px!important;max-width:calc(100vw - 45px);font-size:10px!important;line-height:1.4;white-space:nowrap}
 body .pd-hero .pd-hero-bottom {position:relative}
}
