/* Editorial color direction: purposeful section palettes, all within Autumn Ember.
   Screen-only: printable letterhead and form layouts remain independent. */
@media screen{
 body{--chapter-wash:#e7ded2;--chapter-ink:#493c32;--chapter-accent:#80503c}
 body[data-family=residential],body[data-family=borrowers]{--chapter-wash:#ede0d9;--chapter-ink:#633c32;--chapter-accent:#913f33}
 body[data-family=investor],body[data-family=investors]{--chapter-wash:#dfe7df;--chapter-ink:#29483e;--chapter-accent:#346159}
 body[data-family=specialty]{--chapter-wash:#e6e3d5;--chapter-ink:#454b36;--chapter-accent:#596548}
 body[data-family=commercial]{--chapter-wash:#e7ded2;--chapter-ink:#493c32;--chapter-accent:#80503c}
 body[data-family=knowledge]{--chapter-wash:#e6e9e3;--chapter-ink:#344c44;--chapter-accent:#346159}
 body[data-family=partners]{--chapter-wash:#e8dfd5;--chapter-ink:#573d33;--chapter-accent:#854f3e}
 body[data-route="partners/builders/"]{--chapter-wash:#e2e6db;--chapter-ink:#394a36;--chapter-accent:#4c6547}
 body[data-route="partners/accountants/"]{--chapter-wash:#e2e8e4;--chapter-ink:#304b42;--chapter-accent:#346159}
 body[data-family=refinances]{--chapter-wash:#eee0d9;--chapter-ink:#633e34;--chapter-accent:#913f33}
 .interior .visual-heading{background:var(--chapter-wash);padding:clamp(22px,3vw,44px);margin-bottom:48px;border-top:3px solid var(--chapter-accent)}
 .interior .visual-heading .eyebrow,.interior .visual-heading h1{color:var(--chapter-ink)}
 .interior .visual-heading .intro{color:#45443e}
 .interior .visual-heading .heading-photo figcaption{color:var(--chapter-ink)}
 .interior .visual-heading .button.primary{background:var(--chapter-accent);border-color:var(--chapter-accent);color:#fffaf5}
 .interior .visual-heading .button.primary:hover{background:#242424;border-color:#242424}
 .interior .concierge-answers{background:var(--chapter-wash);border-top:3px solid var(--chapter-accent)}
 .interior .concierge-answers h2,.interior .concierge-answer h3{color:var(--chapter-ink)}
 .interior .concierge-grid article{background:#fffdf9;border-top:2px solid var(--chapter-accent)}
 .interior .concierge-grid article:nth-child(2){background:var(--chapter-wash)}
 /* Home: ivory opening → sage invitation → photography → stone → charcoal → paper. */
 .home .concierge-start{background:#dfe7df;padding:clamp(24px,4vw,52px);border-top:0}
 .home .concierge-start h2,.home .concierge-start .eyebrow{color:#29483e}
 .home .concierge-start-options a{background:#f7f5ee;border-color:#aebcaf;color:#29483e}
 .home .concierge-start-options a:hover{background:#346159;color:#fffaf5}
 .home .leadership-feature{background:#e7ded2;border-left:4px solid #8b5d46}
 .home .leadership-feature h2,.home .leadership-feature .eyebrow{color:#573d33}
 .home .blueprint-demo-band{background:#242424;color:#fffaf5;padding:clamp(30px,5vw,64px) 0}
 .home .blueprint-demo h2,.home .blueprint-demo h2 em,.home .blueprint-demo p,.home .blueprint-demo .horizon-kicker{color:#fffaf5}
 .home .blueprint-demo .demo-result{background:#e8dfd3;color:#242424;border:0}
 .home .blueprint-demo .demo-result :is(h3,p,a,.eyebrow){color:#493c32}
 .home .blueprint-demo>.button,.home .blueprint-demo>div>.button{background:#f2eeeb;color:#242424;border-color:#f2eeeb}
 .home .horizon-resources{background:#fffdf9;padding:clamp(24px,4vw,48px);margin-block:48px}
 .home .horizon-partners{background:#e5e9e1;color:#293e35}
 .home .horizon-partners :is(h2,p,a,.horizon-kicker){color:#293e35}
 .home .horizon-partner-links a:hover{background:#d0d9cb;color:#293e35}
 .home .service-commitment{background:#713d33;color:#fffaf5}
 .home .service-commitment :is(h2,h3,p,.eyebrow){color:#fffaf5}
 .home .home-closing{background:#fffdf9;padding:clamp(24px,5vw,64px);border-top:1px solid #c7b5a4}
 .home #path-panel-home .horizon-detail{background:#eee2dc}
 .home #path-panel-investment .horizon-detail{background:#dfe7df}
 .home #path-panel-specialty .horizon-detail{background:#e6e3d5}
 .home #path-panel-commercial .horizon-detail{background:#e7ded2}
 .home .horizon-detail{padding:28px;color:#242424}
 .home .horizon-detail :is(h2,p,a){color:#293c33}
 /* Partner chapters deliberately differ from one another. */
 .partner-story .partner-hero,.realtor-story .realtor-hero{background:var(--chapter-wash);padding:clamp(24px,3vw,44px)}
 .partner-story .partner-hero :is(h1,p),.realtor-story .realtor-hero :is(h1,p){color:var(--chapter-ink)}
 .partner-story .partner-feature{background:#fffdf9;padding:clamp(22px,3vw,40px)}
 .partner-story .concierge-partner,.realtor-story .concierge-partner{background:#e3e8df;border-top:3px solid #346159}
 .partner-stack-ready>.partner-stack-card:nth-child(3n+1){background:#fffdf9}
 .partner-stack-ready>.partner-stack-card:nth-child(3n+2){background:var(--chapter-wash)}
 .partner-stack-ready>.partner-stack-card:nth-child(3n){background:#e1e7df}
 .partner-stack-ready>.partner-stack-card :is(h2,h3,p){color:#293c33}
 /* Refinance and preparation: four distinct surfaces, no mustard blocks. */
 .refinance-hero{background:#eee0d9;padding:clamp(22px,3vw,44px);margin-bottom:40px}
 .refinance-hero h1,.refinance-hero h1 em{color:#713d33}
 .refinance-goals>a:nth-child(1){background:#fffdf9;border-top-color:#913f33;color:#242424}
 .refinance-goals>a:nth-child(2){background:#dfe7df;border-top-color:#346159;color:#293c33}
 .refinance-goals>a:nth-child(3){background:#e7ded2;border-top-color:#80503c;color:#493c32}
 .refinance-goals>a:nth-child(4){background:#eee0d9;border-top-color:#913f33;color:#633e34}
 .refinance-conversation{background:#fffdf9;border-top:3px solid #913f33}
 .readiness-steps article:nth-child(1){background:#fffdf9}.readiness-steps article:nth-child(2){background:#dfe7df}.readiness-steps article:nth-child(3){background:#e7ded2}
 /* The history belongs to IIMBC: typography, not unrelated construction stock. */
 .legacy-chapter-mark{display:flex;align-items:center;justify-content:center;min-height:300px;font:italic clamp(40px,6vw,78px)/1.1 var(--serif);color:#fffaf5;background:#346159;overflow-wrap:anywhere;text-align:center;padding:28px!important}
 #legacy-panel-1 .legacy-chapter-mark{background:#242424}#legacy-panel-2 .legacy-chapter-mark{background:#713d33}#legacy-panel-3 .legacy-chapter-mark{background:#e1e7df;color:#29483e}
 .legacy-panel{background:#fffdf9}
 .about-principles{background:#e1e7df;padding:clamp(24px,4vw,50px)}
 .about-invitation{background:#e7ded2;padding:clamp(24px,4vw,50px)}
 /* Capital: stone for assets, paper for detail, charcoal for strategy. */
 .capital-private .capital-path:nth-of-type(even){background:#e7ded2}
 .ic-property-feature{background:#e7ded2;padding:clamp(24px,4vw,48px);color:#242424}
 .ic-property-feature :is(h2,p,a){color:#493c32}
 .ic-property-grid>article:nth-child(1){background:#e7ded2}
 .ic-property-grid>article:nth-child(2){background:#e1e7df}
 .ic-property-grid>article:nth-child(3){background:#eee0d9}
 .ic-property-grid>article>div{padding:24px}
 .ic-property-grid>article :is(h2,p){color:#293c33}
 .finance-photo{background:#e7ded2}.finance-photo img{object-position:center}
 .finance-options [data-preview-image*="paperwork-signing"]:focus-visible{outline-color:#80503c}
 @media(max-width:760px){.interior .visual-heading{padding:22px}.legacy-chapter-mark{min-height:160px}.home .horizon-detail{padding:22px}.home .horizon-resources{padding:24px}.partner-story .partner-hero,.realtor-story .realtor-hero{padding:22px}}
}
@media screen{
 .heading-photo img[src*="first-home-keys"]{object-position:70% center}
 .heading-photo img[src*="advisor-conversation"]{object-position:50% center}
 .heading-photo img[src*="next-home-exterior"]{object-position:50% 55%}
 .finance-photo img[src*="financial-review"]{object-position:50% 55%}
}
@media screen{
 body[data-route] .partner-story .partner-hero .button.primary{background:var(--chapter-accent);border-color:var(--chapter-accent);color:#fffaf5}
 body[data-route] .partner-story .partner-hero .button.primary:hover{background:#242424;border-color:#242424}
 @media(max-width:600px){.finance-categories button,.nav-dropdown .finance-options a{font-size:13px}body:has(#primary-navigation.is-open) .concierge-mobile-actions{display:none}}
}
/* Second photographic pass: preserve the human interaction, not a portrait crop of a landscape scene. */
@media screen{
 .finance-photo{align-self:start}
 .finance-photo img{height:auto;aspect-ratio:4/3;object-position:center;object-fit:cover}
 .finance-photo img[src*="advisor-next-steps"],.finance-photo img[src*="first-home-keys"],.finance-photo img[src*="household-budget"],.finance-photo img[src*="consultation"],.finance-photo img[src*="homebuyers"],.finance-photo img[src*="construction.webp"],.finance-photo img[src*="business-owner"]{aspect-ratio:16/9;object-fit:contain;background:#e7ded2}
 .heading-photo img[src*="advisor-next-steps"],.heading-photo img[src*="funding-conversation"],.heading-photo img[src*="first-home-keys"],.heading-photo img[src*="home-key-handover"]{aspect-ratio:auto;height:auto;object-fit:contain}
 @media(max-width:900px){.finance-photo img{height:110px;aspect-ratio:auto;object-fit:cover}.finance-photo img[src*="advisor-next-steps"],.finance-photo img[src*="first-home-keys"],.finance-photo img[src*="household-budget"],.finance-photo img[src*="consultation"],.finance-photo img[src*="homebuyers"]{height:110px;object-fit:contain;aspect-ratio:auto}}
}

@media screen{.finance-photo img[src*="credit-guidance"]{height:auto;aspect-ratio:3/2;object-fit:contain}.arrival-photo img[src*="texas-luxury-arrival"]{object-position:50% 65%}@media(max-width:900px){.finance-photo img[src*="credit-guidance"]{height:110px;aspect-ratio:auto}}}

@media screen{.finance-photo img[src*="self-employed-financing"]{height:auto;aspect-ratio:3/2;object-fit:contain}@media(max-width:900px){.finance-photo img[src*="self-employed-financing"]{height:110px;aspect-ratio:auto}}}
