/* Keep the existing centered desktop header, but give every item real space on laptops. */
@media(min-width:1101px) and (max-width:1439px){
 html body main[data-public-design] .site-header{padding-inline-start:16px}
 html body main[data-public-design] .site-header>.brand{width:150px;flex:0 0 150px}
 html body main[data-public-design] .site-header>.brand img{max-width:150px}
 html body main[data-public-design] .site-header>a.universe-link-compact.header-universe-link{width:175px;max-width:175px;flex:0 0 175px;margin-left:16px}
 html body main[data-public-design] .site-header>.desktop-nav{position:absolute;left:50%;translate:-50% 0;flex:none;width:max-content;min-width:0;justify-content:center;margin:0;gap:clamp(10px,1vw,14px)}
 html body main[data-public-design] .site-header>.header-actions{flex-shrink:0;margin-left:0}
}
@media(min-width:1101px) and (max-width:1239px){
 html body main[data-public-design] .site-header>.brand{width:120px;flex-basis:120px}
 html body main[data-public-design] .site-header>.brand img{max-width:120px}
 html body main[data-public-design] .site-header>a.universe-link-compact.header-universe-link{width:140px;max-width:140px;flex-basis:140px;height:62px;min-height:62px}
}

/* Intrinsic minimum column widths must never push founder copy beyond the page. */
html body main[data-public-design]:is(.habitat-shell,.industrial-site) .ceo-message{grid-template-columns:minmax(0,100px) minmax(0,.9fr) minmax(0,1.1fr)}
html body main[data-public-design] .ceo-message>:is(.section-number,.ceo-portrait,.ceo-copy){min-width:0;max-width:100%;box-sizing:border-box}
html body main[data-public-design] .ceo-message>.section-number{white-space:normal;overflow-wrap:anywhere;text-wrap:balance;line-height:1.65}
html body main[data-public-design] .ceo-copy :is(h2,p,strong,small){max-width:100%;overflow-wrap:anywhere}
html body main[data-public-design] .ceo-statement{min-width:0;box-sizing:border-box;width:100%;max-width:100%}
html body main[data-public-design] .ceo-copy>footer>div{min-width:0}
@media(min-width:761px) and (max-width:1200px){
 html body main[data-public-design]:is(.habitat-shell,.industrial-site) .ceo-message{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:28px 36px}
 html body main[data-public-design] .ceo-message>.section-number{grid-column:1/-1;padding:0;white-space:normal}
 html body main[data-public-design] .ceo-message>.ceo-portrait{grid-column:1;grid-row:2}
 html body main[data-public-design] .ceo-message>.ceo-copy{grid-column:2;grid-row:2}
}
@media(max-width:760px){
 html body main[data-public-design]:is(.habitat-shell,.industrial-site) .ceo-message{grid-template-columns:minmax(0,1fr)}
}

/* Contrast is sampled from the visible photograph, including the existing wash. */
html body main[data-public-design] [data-hero-contrast]{transition:color .6s ease,text-shadow .6s ease}
html body main[data-public-design] :is(.hero-copy,.industrial-hero-copy)>p[data-hero-contrast=dark]{color:#172344;text-shadow:0 1px 2px #fff9,0 0 14px #fff4}
html body main[data-public-design] :is(.hero-copy,.industrial-hero-copy)>p[data-hero-contrast=light]{color:#fffaf4;text-shadow:0 1px 3px #101c2b99,0 0 16px #101c2b55}
html body main[data-public-design] :is(.hero-copy,.industrial-hero-copy) h1[data-hero-contrast=light]{color:#fffaf4;text-shadow:0 2px 22px #101c2b55}
html body main[data-public-design] :is(.hero-copy,.industrial-hero-copy) h1[data-hero-contrast=dark]{color:#172344;text-shadow:0 2px 24px #ffffff30}
html body main[data-public-design] :is(.hero-copy,.industrial-hero-copy) h1[data-hero-contrast=light] .motion-headline-light{--motion-base:#fffaf4!important;--motion-light:#fff!important}
html body main[data-public-design] :is(.hero-copy,.industrial-hero-copy) h1[data-hero-contrast=dark] .motion-headline-light{--motion-base:#172344!important;--motion-light:#6b7895!important}

html body main[data-public-design]>.chat-fab{border-width:1px}

/* One readable footer scale on homepages, listings, articles, contact and legal pages. */
html body main[data-public-design]>.mbi-public-footer .footer-links a{font-size:14px;line-height:1.65}
html body main[data-public-design]>.mbi-public-footer .footer-links>div>span{font-size:11px;line-height:1.6}
html body main[data-public-design]>.mbi-public-footer .footer-bottom{font-size:12px;line-height:1.7;letter-spacing:.015em}
html body main[data-public-design]>.mbi-public-footer .footer-bottom :is(a,p,small,span){font-size:inherit;line-height:inherit}
@media(max-width:600px){html body main[data-public-design]>.mbi-public-footer .footer-links{gap:14px}}
@media(prefers-reduced-motion:reduce){html body main[data-public-design] [data-hero-contrast]{transition:none}}

/* Give the section heading a clearer hierarchy over the authored description title. */
html body main[data-public-design].property-detail-page section.detail-story>div>h2{font-size:36px}
@media(max-width:700px){html body main[data-public-design].property-detail-page section.detail-story>div>h2{font-size:32px}}
html body main[data-public-design] [data-rented="true"]>.property-view{display:none}
