/* Desktop chapter boundaries: one clear rule and a deliberate pause. */
@media(min-width:761px){
 body.case-page:is(.case-residential,.case-narrative) .rn-body>.rn-chapter{margin-top:136px;padding-top:48px;border-top:2px solid #a5c9df}
 body.case-page:is(.case-residential,.case-narrative) .rn-chapter>.rn-heading{margin-bottom:32px}
 body.case-page:is(.case-residential,.case-narrative) .rn-heading>.rn-number{font-size:11px;line-height:1.6;letter-spacing:.1em;color:#355b73;margin-bottom:16px}
 body.case-page:is(.case-residential,.case-narrative) .rn-heading h2{margin-top:0;margin-bottom:0;font-weight:500;color:#0b2232;line-height:1.16}
 body.case-page:is(.case-residential,.case-narrative) .rn-chapter>.rn-evidence:last-child,
 body.case-page:is(.case-residential,.case-narrative) .rn-chapter>.commercial-clean-figure:last-child{margin-bottom:0}
}
/* One bounded header below the global navigation, on every case study. */
body.case-page:is(.case-residential,.case-narrative) .case-intro{
 box-sizing:border-box;width:100%;max-width:100%;margin:128px 0 0;padding:40px 40px 44px;
 background:linear-gradient(125deg,#f0f6fd 0%,#e4edf9 45%,#d2e0f2 65%,#bbcfe9 100%);
 border:0;border-radius:0 0 calc(24px + var(--hero-radius,0px)) calc(24px + var(--hero-radius,0px));
 transform:none;overflow:hidden;will-change:border-radius;
}
body.case-page:is(.case-residential,.case-narrative) .case-intro-content{box-sizing:border-box;width:100%;max-width:none;padding:0;background:none;border:0}
body.case-page:is(.case-residential,.case-narrative) .case-intro:before,
body.case-page:is(.case-residential,.case-narrative) .case-intro:after,
body.case-page:is(.case-residential,.case-narrative) .case-intro .case-flow-field{display:none}
body.case-page:is(.case-residential,.case-narrative) .case-intro-content .case-back{margin-bottom:28px}
body.case-page:is(.case-residential,.case-narrative) .case-meta{margin-top:28px;padding-top:0}
@media(min-width:761px){body.case-page:is(.case-residential,.case-narrative) .res-sidebar{background:#fbfdff;z-index:3}}
@media(min-width:761px) and (max-width:1050px){body.case-page:is(.case-residential,.case-narrative) .case-intro{padding:32px 28px 36px}}
@media(max-width:760px){body.case-page:is(.case-residential,.case-narrative) .case-intro{width:calc(100% + 44px);max-width:none;margin:100px 0 0 -22px;padding:32px 22px 36px}}
@media(prefers-reduced-motion:reduce){body.case-page:is(.case-residential,.case-narrative) .case-intro{border-radius:0 0 24px 24px;will-change:auto}}
/* Desktop opens as part of the reading grid rather than an inset card. */
@media(min-width:761px){
 body.case-page:is(.case-residential,.case-narrative) .case-intro{padding:32px 32px 40px 0;background:linear-gradient(125deg,#fbfdff 0%,#f4f8fd 45%,#e8f0fa 70%,#d3e1f3 100%)}
 body.case-page:is(.case-residential,.case-narrative) .case-intro h1{font-size:clamp(38px,4.1vw,54px);line-height:1.12;letter-spacing:-.04em}
}
/* Desktop introduction closes with a clear rule instead of a tinted surface. */
@media(min-width:761px){
 body.case-page:is(.case-residential,.case-narrative) .case-intro{background:none;border-radius:0;border-bottom:2px solid #8fb7d0;padding-bottom:48px;will-change:auto}
}
/* Carry AHF's bounded notes and reading measure through the other studies. */
body.case-page:is(.case-residential,.case-commercial) .rn-body .rn-editorial-note{box-sizing:border-box;width:min(100%,720px);max-width:720px;min-width:0;justify-self:start;margin:48px auto 0 0}
body.case-page:is(.case-residential,.case-commercial) .rn-editorial-note p{max-width:65ch}
body.case-page:is(.case-residential,.case-commercial) .rn-prose{width:100%;max-width:68ch}
@media(max-width:760px){body.case-page:is(.case-residential,.case-commercial) .rn-body .rn-editorial-note{margin-top:36px}}
