/* One depth system, individual brand palettes. Content and native background colours stay intact. */
body.estro-case-polish {--case-accent:#775b80;--case-rgb:119,91,128}
body.estro-case-polish .case-surface {position:relative;isolation:isolate;overflow:clip;padding-block:clamp(52px,5.55vw,84px)!important}
body.estro-case-polish .case-surface.case-surface-short {padding-block:clamp(42px,4.2vw,64px)!important}
body.estro-case-polish .case-surface>.case-atmosphere {position:absolute;inset:0;z-index:-1;pointer-events:none;user-select:none;overflow:hidden;background:radial-gradient(ellipse at 94% 5%,rgba(var(--case-rgb),.10),transparent 62%),linear-gradient(125deg,transparent 58%,rgba(var(--case-rgb),.035) 58%,rgba(var(--case-rgb),.035) 78%,transparent 78%)}
.case-atmosphere::before,.case-atmosphere::after {content:'';position:absolute;right:-90px;top:-135px;width:clamp(260px,37vw,580px);aspect-ratio:1;border:1px solid currentColor;border-radius:50%;opacity:.07;transform:rotate(-18deg)}
.case-atmosphere::after {right:-28px;top:-75px}
.case-atmosphere>span {position:absolute;right:3%;bottom:-.08em;max-width:94%;font-family:'Special Gothic Expanded One',sans-serif;font-size:clamp(68px,11vw,170px);font-weight:400;letter-spacing:-.065em;line-height:.95;text-transform:uppercase;white-space:nowrap;color:currentColor;opacity:.045;transform:rotate(-5deg);text-align:right}
body.estro-case-polish .case-surface:nth-of-type(even)>.case-atmosphere {transform:scaleX(-1)}
body.estro-case-polish .case-surface:nth-of-type(even)>.case-atmosphere>span {transform:scaleX(-1) rotate(-5deg);bottom:5%;right:4%}
/* Replace only the previous generic dot overlay, not brand-specific paper/image treatments. */
body.estro-design-pass main>section.case-surface {background-image:none!important;background-size:auto}
body.estro-case-polish .case-depth-mark {opacity:.065;top:8%;font-size:clamp(110px,20vw,300px)}
body.estro-case-polish .case-depth {background-image:none}
.cs-legacy {background:#f6f5f2}
.cs-legacy .cs-hero {background:radial-gradient(ellipse at 90% 0%,rgba(var(--case-rgb),.27),transparent 62%),#0b0b0e;padding-bottom:clamp(48px,5vw,76px)}
.cs-legacy .cs-legacy-chapter {background-color:#f6f5f2}
.cs-legacy .cs-legacy-chapter:nth-of-type(3n) {background-color:color-mix(in srgb,var(--case-accent) 8%,#f6f5f2)}
.cs-legacy .cs-legacy-chapter>.cs-wrap {gap:clamp(26px,4.5vw,72px)}
.cs-legacy .cs-legacy-flow {gap:24px}
.cs-legacy .cs-legacy-prose p {line-height:1.75}
.cs-legacy .cs-legacy-metric {border-top-color:var(--case-accent)}
.cs-legacy .cs-legacy-metric strong {color:var(--case-accent)}
.cs-legacy .cs-legacy-quote {border-left-color:var(--case-accent);background:color-mix(in srgb,var(--case-accent) 6%,#fff)}
.cs-legacy .cs-legacy-contact {padding:clamp(48px,5vw,76px) 0;background:#fff}
.cs-legacy .cs-legacy-contact iframe {margin-top:28px}
body.estro-case-polish main .cs-chapter-head {margin-bottom:clamp(24px,3vw,40px)}
body.estro-case-polish main figure {min-width:0}
body.estro-case-polish main p:empty {display:none}
@media(max-width:767px){
 body.estro-case-polish .case-surface {padding-block:48px!important}
 body.estro-case-polish .case-surface.case-surface-short {padding-block:38px!important}
 .case-atmosphere>span {font-size:clamp(58px,16vw,100px);opacity:.045;bottom:3%}
 .case-atmosphere::before,.case-atmosphere::after {right:-140px;opacity:.06}
 body.estro-case-polish .case-depth-mark {opacity:.055;font-size:120px}
 .cs-legacy .cs-legacy-flow {gap:22px}
 .cs-legacy .cs-legacy-contact iframe {margin-top:22px}
}
