.hags-case-page{
 --study-edge:clamp(22px,6.45vw,130px);
 --study-rail:min(calc(100% - var(--study-edge)*2),1550px);
 --study-rule:color-mix(in srgb,var(--hags-indigo) 30%,transparent);
}
.hags-case-page .study-hero,.hags-case-page .study-steps,.hags-case-page .study-end{
 width:var(--study-rail);margin-inline:auto;
}
.hags-case-page .study-hero{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;
 gap:clamp(24px,5vw,72px);padding-block:clamp(38px,6vw,88px);
}
.hags-case-page .study-kicker{color:var(--hags-indigo)}
.hags-case-page .study-hero h1{margin:8px 0 14px;max-inline-size:16ch;color:var(--hags-indigo);text-wrap:balance}
.hags-case-page .study-hero p+ p{margin-block-start:14px}
.hags-case-page .study-byline{font-size:13px;color:var(--hags-indigo)}
.hags-case-page .study-photo{border:1px solid var(--study-rule);margin:0;min-inline-size:0}
.hags-case-page .study-photo img{inline-size:100%;block-size:auto;display:block}
.hags-case-page .study-photo figcaption{color:var(--hags-indigo);padding:10px 13px}
.hags-case-page .study-steps{border-block-start:1px solid var(--study-rule)}
.hags-case-page .study-steps section{
 display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:clamp(18px,5vw,72px);
 padding-block:clamp(24px,4.5vw,58px);border-block-end:1px solid var(--study-rule)
}
.hags-case-page .study-steps h2{margin:0;color:var(--hags-indigo);max-inline-size:20ch;text-wrap:balance}
.hags-case-page .study-steps p{max-inline-size:63ch}
.hags-case-page .study-steps p+p{margin-block-start:14px}
.hags-case-page .study-end{
 display:flex;flex-wrap:wrap;gap:12px 25px;padding-block:clamp(24px,4vw,50px);
}
.hags-case-page .study-end a{display:inline-flex;min-block-size:44px;align-items:center}
@media(max-width:760px){
 .hags-case-page .study-hero,.hags-case-page .study-steps section{grid-template-columns:minmax(0,1fr)}
 .hags-case-page .study-hero{padding-block:32px 24px}
 /* The framed photo already closes the introduction on narrow screens. */
 .hags-case-page .study-steps{border-block-start:0}
}
