/* Phase 3.9 — Case-study editorial depth */
body.case-study-page .phero .wrap,
body.case-study-page .cs-hero .wrap{max-width:1440px!important;width:min(92vw,1440px)!important;margin-inline:auto!important}
body.case-study-page .phero h1,
body.case-study-page .cs-hero h1{font-size:clamp(34px,3.45vw,58px)!important;line-height:1.02!important;letter-spacing:-.035em!important;max-width:26ch!important;text-wrap:balance}
body.case-study-page .phero-sub,
body.case-study-page .cs-sub{max-width:78ch!important;font-size:clamp(16px,1.15vw,19px)!important;line-height:1.65!important}
body.case-study-page .section>.wrap.cs-body{max-width:1320px!important;width:min(90vw,1320px)!important;margin-inline:auto!important;padding:72px 0 88px!important}
body.case-study-page .cs-body:not(:has(.cs-nav)){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px!important;align-items:start!important}
body.case-study-page .cs-body:not(:has(.cs-nav)) .cs-block{margin:0!important;padding:30px 32px!important;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 35px rgba(12,32,68,.045)}
body.case-study-page .cs-body:not(:has(.cs-nav)) .cs-block:nth-child(n+3){grid-column:1/-1}
body.case-study-page .cs-block p,body.case-study-page .cs-block li{font-size:17px!important;line-height:1.78!important;color:var(--ink-soft)!important}
body.case-study-page .cs-block .eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:15px;font-size:11px;letter-spacing:.13em}
body.case-study-page .cs-block .eyebrow:before{content:"";width:22px;height:2px;background:var(--grad);flex:none}
body.case-study-page .cs-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;margin-top:8px!important}
body.case-study-page .cs-list li{padding:14px 16px 14px 38px!important;margin:0!important;background:var(--surface-2);border-radius:12px}
body.case-study-page .cs-list li:before{left:16px!important;top:23px!important;width:8px!important;height:8px!important;border-radius:50%!important}
body.case-study-page .cs-viz{margin-top:26px;max-height:440px}
body.case-study-page .cs-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
body.case-study-page .cs-metric{padding:22px!important;border-radius:14px!important}
body.case-study-page .cs-metric b{font-size:clamp(24px,2.4vw,36px)!important}
body.case-study-page .cs-cta{grid-column:1/-1;margin-top:4px!important}
/* modern cs-section pages */
body.case-study-page .cs-body:has(.cs-nav){grid-template-columns:190px minmax(0,1fr)!important;gap:56px!important}
body.case-study-page .cs-body:has(.cs-nav)>.cs-content,body.case-study-page .cs-body:has(.cs-nav)>main{max-width:960px!important}
body.case-study-page .cs-section p,body.case-study-page .cs-section li{font-size:17px!important;line-height:1.78!important}
body.case-study-page .cs-section h2{font-size:clamp(25px,2.2vw,34px)!important}
@media(max-width:820px){
 body.case-study-page .phero h1,body.case-study-page .cs-hero h1{font-size:clamp(31px,9vw,44px)!important;max-width:none!important}
 body.case-study-page .section>.wrap.cs-body{width:min(calc(100% - 36px),1320px)!important;padding:46px 0 64px!important}
 body.case-study-page .cs-body:not(:has(.cs-nav)){grid-template-columns:1fr!important;gap:16px!important}
 body.case-study-page .cs-body:not(:has(.cs-nav)) .cs-block{grid-column:1!important;padding:23px 21px!important}
 body.case-study-page .cs-list{grid-template-columns:1fr!important}
 body.case-study-page .cs-metrics{grid-template-columns:1fr 1fr!important}
 body.case-study-page .cs-body:has(.cs-nav){grid-template-columns:1fr!important;gap:24px!important}
}
@media(max-width:480px){body.case-study-page .cs-metrics{grid-template-columns:1fr!important}}
