.case-page .hero{padding-bottom:54px}
.case-page .hero .lede{max-width:980px}
.case-page--no-gallery .hero{border-bottom:1px solid var(--py-ink)}
.case-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;padding:0;background:#d7d7d2;border-top:1px solid var(--py-ink);border-bottom:1px solid var(--py-ink)}
.case-gallery figure{grid-column:span 2;margin:0;aspect-ratio:4/5;overflow:hidden;background:#f4f4f0}
.case-gallery img{display:block;width:100%;height:100%;object-fit:cover}
.case-gallery--remainder-1 figure:last-child{grid-column:1/-1;aspect-ratio:16/7}
.case-gallery--remainder-2 figure:nth-last-child(-n+2){grid-column:span 3}
.case-gallery--count-1 figure,.case-gallery--count-2 figure{min-height:min(72vh,820px)}
.case-gallery--count-1 figure{grid-column:1/-1;aspect-ratio:16/8}
.case-gallery--count-2 figure{grid-column:span 3;aspect-ratio:3/4}
.case-scope-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--py-ink)}
.case-scope-item{position:relative;min-height:112px;padding:24px 26px 24px 54px;border-right:1px solid var(--py-ink);border-bottom:1px solid var(--py-ink);font-size:16px}
.case-scope-item:nth-child(2n){border-right:0}
.case-scope-item:nth-last-child(-n+2){border-bottom:0}
.case-scope-item:before{content:'→';position:absolute;left:24px;color:var(--py-blue)}
.case-facts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--py-ink)}
.case-fact{min-height:122px;padding:23px;border-right:1px solid var(--py-ink)}
.case-fact:last-child{border-right:0}
.case-fact-label{margin-bottom:10px;color:var(--py-blue);font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.case-fact-value{font-size:18px}
.case-page .related{border-bottom:1px solid var(--py-ink)}
.case-page .case-services{color:var(--py-blue);font-size:13px;text-transform:uppercase;text-underline-offset:3px}
.case-sequence{display:grid;grid-template-columns:1fr auto 1fr;align-items:stretch;border-bottom:1px solid var(--py-ink);background:#fff}
.case-sequence a{display:flex;min-height:128px;padding:28px 50px;color:var(--py-blue);font-size:18px;font-weight:700;line-height:1.15;text-decoration:none;text-transform:uppercase}
.case-sequence a:hover{background:var(--py-blue);color:#fff}
.case-sequence a span{display:block;margin-bottom:12px;color:var(--py-muted);font-size:11px;letter-spacing:.06em}
.case-sequence__prev{flex-direction:column;align-items:flex-start;border-right:1px solid var(--py-ink)}
.case-sequence__all{align-items:center;justify-content:center;min-width:190px!important;border-right:1px solid var(--py-ink);font-size:13px!important}
.case-sequence__next{flex-direction:column;align-items:flex-end;text-align:right}
@media(max-width:760px){.case-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.case-gallery figure,.case-gallery--remainder-2 figure:nth-last-child(-n+2),.case-gallery--count-2 figure{grid-column:span 1;min-height:0;aspect-ratio:4/5}.case-gallery--remainder-1 figure:last-child,.case-gallery--count-1 figure{grid-column:1/-1;min-height:0;aspect-ratio:4/5}.case-scope-list,.case-facts-grid{grid-template-columns:1fr}.case-scope-item,.case-scope-item:nth-child(2n),.case-scope-item:nth-last-child(-n+2),.case-fact{min-height:0;border-right:0;border-bottom:1px solid var(--py-ink)}.case-scope-item:last-child,.case-fact:last-child{border-bottom:0}.case-page .case-services{font-size:10px}.case-sequence{grid-template-columns:1fr 1fr}.case-sequence a{min-height:102px;padding:20px;font-size:13px}.case-sequence__all{grid-column:1/-1;grid-row:2;min-width:0!important;min-height:58px!important;border-top:1px solid var(--py-ink);border-right:0}.case-sequence__prev{border-right:1px solid var(--py-ink)}}
