/* Shared by the retained dialog and the five full case-study pages. */
.case-story{font-family:'DM Sans',Arial,sans-serif;color:#172b48}
.case-story .case-kicker,.case-kicker{font-size:.8rem;line-height:1.6;color:#637690;letter-spacing:.02em;margin-bottom:22px}
.case-story .case-lede,.case-lede{font-size:1.08rem;line-height:1.75;color:#516177;max-width:780px}
.case-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:20px;margin:32px 0 40px;padding:26px 0;border-block:1px solid #d5dfec}
.case-metrics>div{display:flex;flex-direction:column;gap:9px}
.case-metrics>div{min-width:0}
.case-metrics strong.case-metric-long{font-size:clamp(1.4rem,2.6vw,1.75rem);line-height:1.3}
.case-metrics strong{font-size:clamp(1.9rem,4vw,2.55rem);font-weight:600;line-height:1.1;letter-spacing:-.04em;color:#1765ef}
.case-metrics span{font-size:.78rem;line-height:1.6;color:#60738c;max-width:250px}
.case-infographic{margin:0 0 44px;background:#101b2b;color:#f4f7fc;padding:30px;border-radius:16px;overflow:hidden}
.case-story .case-infographic h2,.case-story .case-infographic h3{font-size:1.18rem;font-weight:600;letter-spacing:-.02em;line-height:1.4;color:#f4f7fc;margin:0 0 25px}
.case-flow{list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin:0;padding:0}
.case-flow li{padding:18px 0 0;border-top:1px solid #3a4e68}
.case-flow .flow-number{display:block;color:#69a5ff;font-size:.7rem;letter-spacing:.08em;margin-bottom:14px}
.case-flow strong{display:block;font-size:1rem;line-height:1.4;font-weight:600;color:#fff;margin-bottom:9px}
.case-story .case-flow p{font-size:.82rem;line-height:1.65;color:#b6c5d9;margin:0}
.case-story .case-caption,.case-caption{font-size:.75rem;line-height:1.65;letter-spacing:0;color:#60738c;margin:18px 0 0}
.case-infographic .case-caption{color:#9fb3ce;padding-top:20px;border-top:1px solid #3a4e68;margin-top:24px}
.belief-label{font-size:.75rem!important;font-weight:500;color:#9fb3ce;margin:28px 0 14px}
.case-beliefs{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 20px;list-style:none;padding:0;margin:0}
.case-beliefs li{font-size:.78rem;line-height:1.5;color:#e2eaf6;padding-left:14px;border-left:2px solid #69a5ff}
.case-chapters{display:grid;gap:0}
.case-chapter{display:grid;grid-template-columns:30px 1fr;gap:18px;padding:27px 0;border-top:1px solid #d5dfec;scroll-margin-top:100px}
.chapter-number{font-size:.72rem;color:#1765ef;padding-top:5px}
.case-story .case-chapter h2,.case-story .case-chapter h3{font-size:1.15rem;line-height:1.4;letter-spacing:-.02em;font-weight:600;margin:0 0 12px;color:#172b48}
.case-story .case-chapter p{font-size:.97rem;line-height:1.8;color:#516177;margin:0;max-width:800px}
.case-story .case-bullets{margin:0;padding-left:20px;max-width:800px;color:#516177;font-size:.97rem;line-height:1.65}
.case-story .case-bullets li{margin:0 0 9px;padding-left:3px}
.case-story .case-bullets li:last-child{margin-bottom:0}
.case-story .case-funnel{display:grid;gap:22px}
.funnel-row>div:first-child{display:flex;gap:12px;align-items:baseline;margin-bottom:9px;flex-wrap:wrap}
.funnel-row span{font-size:.8rem;color:#b6c5d9}
.funnel-row strong{font-size:1.08rem;font-weight:500;color:#fff;margin-left:auto}
.funnel-row>div:first-child>span:last-child{font-size:.7rem;min-width:100px;text-align:right}
.funnel-track{height:9px;background:#2c3d54;border-radius:4px;overflow:hidden}
.funnel-track span{display:block;height:100%;background:#69a5ff;border-radius:4px}
.case-comparison{padding:25px;background:#edf3fb;border:1px solid #d5dfec;border-radius:12px;margin:24px 0 40px}
.case-story .case-comparison h2,.case-story .case-comparison h3{font-size:1.05rem;line-height:1.5;letter-spacing:-.02em;color:#172b48;margin:0 0 22px}
.comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.comparison-cell{border-top:2px solid #1765ef;padding-top:16px}
.case-story .comparison-cell h4{font-size:.82rem;letter-spacing:0;line-height:1.5;margin:0 0 12px;font-weight:600}
.comparison-cell>strong{font-size:1.45rem;letter-spacing:-.025em;line-height:1.3;font-weight:600;color:#1765ef}
.case-story .comparison-cell p{font-size:.82rem;line-height:1.65;margin:12px 0 0;color:#516177}
.comparison-cell.negative{border-color:#9f454c}.comparison-cell.negative>strong{color:#9f454c}
.case-media{margin:30px 0 44px}
.case-media video{display:block;width:100%;height:auto;max-height:560px;background:#101b2b;border:1px solid #d5dfec;border-radius:12px;object-fit:contain}
.case-source-image{display:block;border:1px solid #d5dfec;border-radius:12px;overflow:hidden;color:#1765ef;background:#edf3fb}
.case-slide-window{position:relative;width:100%;aspect-ratio:1.75;overflow:hidden;background:#edf3fb}
.case-slide-window img{position:absolute;width:285%;max-width:none;height:auto;left:-92%;top:-78%}
.case-source-image>span{display:block;padding:12px 18px;font-size:.78rem}
.case-takeaway{padding:24px 28px;border-left:3px solid #1765ef;background:#edf3fb;margin:38px 0}
.case-story .case-takeaway .eyebrow{font-size:.65rem;letter-spacing:.1em;line-height:1.5;font-weight:600;color:#1765ef;margin:0 0 12px}
.case-story .case-takeaway>p:last-child{font-size:1rem;line-height:1.75;color:#263d5b;margin:0}
.case-measurement{border-top:1px solid #d5dfec;padding-top:24px;margin-top:32px}
.case-story .case-measurement h2,.case-story .case-measurement h3{font-size:.85rem;line-height:1.5;letter-spacing:0;font-weight:600;margin:0 0 12px;color:#516177}
.case-story .case-measurement p{font-size:.78rem;line-height:1.7;color:#60738c;margin-bottom:12px}
.case-story .case-source{font-size:.72rem;color:#6b809b}
.case-end-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:32px;flex-wrap:wrap}
.case-end-actions .quiet-link{font-size:.83rem;color:#1765ef}
#case-dialog{max-width:960px}
#case-dialog .case-story>#case-title{font-size:clamp(2rem,4vw,3.1rem);line-height:1.1;letter-spacing:-.05em;margin-bottom:18px}
/* Full-page reading surface retains the portfolio's type and masthead. */
.case-page{margin:0;background:#f6f8fc;font-family:'DM Sans',Arial,sans-serif;color:#172b48;line-height:1.6;font-synthesis:none}
.case-page *{box-sizing:border-box}
.case-page a{color:inherit;text-decoration:none}
.case-page a:focus-visible{outline:3px solid #3997ff;outline-offset:5px}
.case-page h1,.case-page h2,.case-page h3,.case-page h4,.case-page p{margin-top:0}
.case-page .eyebrow{font-size:.7rem;font-weight:600;line-height:1.5;letter-spacing:.1em;margin-bottom:20px}
.case-page-wrap{width:min(960px,calc(100% - 64px));margin:auto}
.case-masthead{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:14px max(24px,5vw);height:76px;background:#080e1bf5;backdrop-filter:blur(16px);color:#f7f9fd;border-bottom:1px solid #ffffff16}
.case-brand{display:flex;align-items:center;gap:18px}
.case-mark{font-size:2rem;font-weight:700;letter-spacing:-.09em;line-height:1}.case-mark span{color:#5594ff}
.case-brand>span:last-child{font-size:.7rem;line-height:1.4;border-left:1px solid #ffffff32;padding-left:18px}
.case-chat{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:42px;padding:10px 17px;border-radius:10px;font-size:.8rem;font-weight:500;background:#1765ef;color:#fff!important}
.case-page-hero{background:#080e1b;color:#f4f7fc;padding:45px 0 55px}
.case-page-hero .eyebrow{color:#69a5ff;margin:32px 0 18px}
.case-page-hero h1{font-size:clamp(2.4rem,5vw,4.3rem);font-weight:600;letter-spacing:-.06em;line-height:1.06;max-width:850px;margin-bottom:24px}
.case-page-hero .case-kicker{color:#8fa8c7}
.case-page-hero .case-lede{color:#b7c7dd;font-size:1.06rem;margin-bottom:0}
.case-back{font-size:.8rem;color:#9fb8d9!important;border-bottom:1px solid #445d7e;padding-bottom:5px}
.case-toc{display:flex;flex-wrap:wrap;gap:10px 22px;padding:24px 0;border-bottom:1px solid #d5dfec;margin-bottom:30px}
.case-toc a{font-size:.78rem;color:#526d91;border-bottom:1px solid transparent;padding-bottom:3px}.case-toc a:hover{color:#1765ef;border-bottom-color:#1765ef}
.case-page .case-end-actions{border-top:1px solid #d5dfec;padding-top:32px}
.case-page .quiet-link{border-bottom:1px solid #7c8ca5;padding-bottom:7px;font-size:.82rem}
.case-page-footer{padding:34px;text-align:center;font-size:.72rem;color:#6b809b;margin-top:60px;border-top:1px solid #d5dfec}
.case-skip{position:fixed;top:-90px;z-index:20;left:20px;padding:14px;background:#fff;color:#172b48}.case-skip:focus{top:10px}
@media(max-width:760px){
 .case-metrics{gap:20px 16px;grid-template-columns:repeat(2,1fr);margin:24px 0 30px}
 .case-metrics strong{font-size:1.9rem}.case-metrics span{font-size:.75rem}
 .case-infographic{padding:23px 20px;border-radius:12px;margin-bottom:28px}
 .case-flow{grid-template-columns:1fr;gap:18px}.case-flow .flow-number{margin-bottom:9px}
 .case-beliefs{grid-template-columns:1fr;gap:13px}
 .case-chapter{grid-template-columns:20px 1fr;gap:12px;padding:23px 0}
 .case-story .case-chapter p{font-size:.93rem;line-height:1.75}
 .case-story .case-bullets{font-size:.93rem;line-height:1.65}
 .case-story .case-lede,.case-lede{font-size:.98rem;line-height:1.7}
 .case-comparison{padding:20px}.comparison-grid{grid-template-columns:1fr;gap:22px}
 .funnel-row>div:first-child{gap:5px 12px}.funnel-row strong{font-size:.95rem}
 .funnel-row>div:first-child>span:last-child{flex-basis:100%;text-align:left}
 .case-takeaway{padding:20px}.case-end-actions{align-items:flex-start;gap:24px}
 .case-page-wrap{width:calc(100% - 40px)}
 .case-masthead{height:68px;padding:14px 16px}
 .case-brand{gap:8px}.case-mark{font-size:1.75rem}.case-brand>span:last-child{font-size:.6rem;padding-left:10px}
 .case-masthead .case-chat{font-size:.72rem;gap:8px;padding:9px 12px;min-height:40px}
 .case-page-hero{padding:32px 0 38px}.case-page-hero h1{font-size:clamp(2.3rem,10vw,3.5rem)}
 .case-toc{gap:10px 17px;margin-bottom:15px}
}
@media(prefers-reduced-motion:reduce){.case-page{scroll-behavior:auto}.case-story *{animation:none!important;transition:none!important}}
@media print{.case-masthead,.case-toc,.case-end-actions,.case-back,.case-media video{display:none}.case-page-hero{background:#fff;color:#172b48;padding:0}.case-page-wrap{width:100%}.case-chapter,.case-infographic{break-inside:avoid}.case-infographic{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
