/* Shared visual rhythm, with evidence suited to each project. */
.case-showcase .case-intro h1{font-size:clamp(36px,4.4vw,54px);line-height:1.15;letter-spacing:-.035em;max-width:21ch}
.case-showcase .showcase-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:30px;align-items:center;margin:56px 0 64px}
.case-showcase .showcase-feature>.case-chapter{margin:0;padding:0;border:0;display:block;background:none}
.case-showcase .showcase-feature h2{font-size:clamp(25px,2.5vw,32px);line-height:1.2;letter-spacing:-.03em}
.case-showcase .showcase-feature .case-prose{margin-top:18px}
.case-showcase .showcase-feature .case-prose p{font-size:16px;line-height:1.75}
.case-showcase .showcase-visual{margin:0;min-width:0}
.case-showcase .showcase-visual .case-image-link{display:block;padding:24px;border:0;border-radius:4px;background:linear-gradient(145deg,#dcecf5,#a8cde2);aspect-ratio:auto;overflow:hidden}
.case-showcase .showcase-visual img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;transform:none;border-radius:2px;box-shadow:0 12px 28px #0b223226}
.case-showcase .showcase-visual figcaption{font-size:12px;line-height:1.65;display:block}
.case-showcase .showcase-visual figcaption>a{display:inline-flex;margin-top:8px;min-height:36px}
.case-showcase .showcase-reverse{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}
.case-showcase .showcase-reverse>.case-chapter{order:2}
.case-showcase .showcase-reverse>.showcase-visual{order:1}
.case-showcase .showcase-reverse .case-image-link{background:linear-gradient(145deg,#173c54,#527d99)}
.case-showcase .showcase-wide{grid-template-columns:1fr}
.case-showcase .showcase-wide>.case-chapter{max-width:650px}
.case-showcase .showcase-brands .case-image-link{padding:24px;background:linear-gradient(145deg,#e2eef4,#b9d9eb)}
.case-showcase .showcase-interactive{padding:22px;background:linear-gradient(145deg,#dcecf5,#b9d9eb);border-radius:4px;min-width:0}
.case-showcase .showcase-interactive .checkout-demo{margin:0;background:#fff;border:0;padding:22px;box-shadow:0 12px 28px #0b223212}
.case-showcase .case-metrics{background:linear-gradient(135deg,#e8f2f7,#c8e0ee);border:0;padding:28px;border-radius:4px}
@media(max-width:1000px){.case-showcase .showcase-feature{gap:24px}.case-showcase .showcase-visual .case-image-link{padding:16px}}
@media(max-width:760px){
.case-showcase .case-intro h1{font-size:36px}
.case-showcase .showcase-feature,.case-showcase .showcase-reverse{display:flex;flex-direction:column;align-items:stretch;gap:22px;margin:38px 0 46px}
.case-showcase .showcase-feature>.case-chapter,.case-showcase .showcase-reverse>.case-chapter{order:0}
.case-showcase .showcase-feature>.showcase-visual,.case-showcase .showcase-feature>.showcase-interactive{order:1;width:100%;box-sizing:border-box}
.case-showcase .showcase-feature h2{font-size:26px}
.case-showcase .showcase-visual .case-image-link{padding:14px;aspect-ratio:auto}
.case-showcase .showcase-visual img{height:auto;min-height:0;max-height:none;object-fit:contain}
.case-showcase .showcase-interactive{padding:12px}
.case-showcase .showcase-interactive .checkout-demo{padding:18px 14px}
.case-showcase .case-metrics{padding:22px 18px}
.case-showcase .showcase-brands .case-image-link{padding:8px}
}

.ahf-overall .ahf-impact{margin:42px 0 56px;scroll-margin-top:140px}
.ahf-overall .ahf-impact .case-metrics{margin-top:0}
.ahf-overall .ahf-impact-context{font:400 14px/1.75 var(--sans);color:#365267;margin-top:18px;max-width:68ch}
.ahf-overall .ahf-work-range{display:grid;gap:18px;margin:30px 0 56px}
.ahf-overall .ahf-work-range article{background:linear-gradient(135deg,#e8f2f7,#d0e5ef);padding:28px;border-radius:4px}
.ahf-overall .ahf-work-range article:nth-child(2){background:linear-gradient(135deg,#173c54,#355f7a);color:#fff}
.ahf-overall .ahf-work-range h3{font:600 25px/1.25 var(--sans);letter-spacing:-.025em;margin:12px 0}
.ahf-overall .ahf-work-range p{font:400 16px/1.75 var(--sans);max-width:65ch;color:inherit}
.ahf-overall .ahf-work-range .evidence-map-label{font-size:11px;letter-spacing:.06em}
.ahf-overall .ahf-work-range a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:underline;text-underline-offset:4px;margin-top:12px}
.ahf-overall #difference{padding:28px;background:#e7f1f6;border:0;border-radius:4px;margin-bottom:40px}
@media(max-width:760px){.ahf-overall .ahf-impact{margin:30px 0 40px;scroll-margin-top:180px}.ahf-overall .ahf-work-range article,.ahf-overall #difference{padding:22px 18px}.ahf-overall .ahf-work-range h3{font-size:24px}}

/* More separation between the AHF story, work examples, and results. */
.ahf-overall .ahf-impact-context{margin-top:28px;line-height:1.8}
.ahf-overall .ahf-work-range{gap:28px;margin-top:36px;margin-bottom:72px}
.ahf-overall .ahf-work-range article{padding:36px}
.ahf-overall .ahf-work-range h3{margin:16px 0 20px}
.ahf-overall .ahf-work-range p{line-height:1.85}
.ahf-overall .showcase-feature{margin-top:72px;margin-bottom:80px}
.ahf-overall #ownership .case-prose p+p,.ahf-overall #difference .case-prose p+p{margin-top:24px}
@media(max-width:760px){
.ahf-overall .ahf-work-range{gap:24px;margin-top:30px;margin-bottom:52px}
.ahf-overall .ahf-work-range article{padding:28px 24px}
.ahf-overall .ahf-work-range h3{margin:14px 0 18px}
.ahf-overall .showcase-feature{margin-top:48px;margin-bottom:56px}
.ahf-overall .ahf-impact-context{margin-top:24px}
}

/* Separate the contribution from the numbers and the next chapter. */
.case-page.ahf-overall .ahf-impact>.ahf-impact-context{margin:0;padding-top:44px;padding-bottom:28px;line-height:1.85}
.case-page.ahf-overall .ahf-impact{margin-bottom:0;padding-bottom:36px}
.case-page.ahf-overall #range{margin-top:32px;padding-top:44px;padding-bottom:18px}
.case-page.ahf-overall #range .case-prose{margin-top:24px}
@media(max-width:760px){
.case-page.ahf-overall .ahf-impact>.ahf-impact-context{padding-top:36px;padding-bottom:28px}
.case-page.ahf-overall .ahf-impact{padding-bottom:28px}
.case-page.ahf-overall #range{margin-top:28px;padding-top:36px;padding-bottom:16px}
}
