/* Our Work / original Squarespace case-study rhythm with Loopi styling. */
body:has(.case-study) .page-hero{min-height:0;padding:58px 5% 65px}
body:has(.case-study) .page-hero h1{font-size:clamp(47px,7.2vw,105px);line-height:.96;margin:22px 0 25px}
body:has(.case-study) .page-hero p{font-size:17px}
body:has(.case-study) .case-study{padding:55px 5% 75px}
body:has(.case-study) .case-heading{align-items:end;margin:0 0 30px;padding-bottom:23px}
body:has(.case-study) .case-heading h2{font-size:clamp(43px,6vw,86px);margin:12px 0 0}
.case-editorial{max-width:1400px}
.case-overview{display:grid;grid-template-columns:180px minmax(0,1fr);gap:clamp(25px,5vw,85px);align-items:center;padding:12px 0 28px}
.case-client-mark{display:flex;align-items:center;justify-content:center;min-width:0}
.case-client-mark img{width:100%;max-width:160px;max-height:175px;height:auto;object-fit:contain;display:block}
.case-client-mark-baker img{max-width:145px;max-height:165px}
.case-intro-text{font:16px/1.6 Arial,sans-serif;max-width:1040px}
.case-intro-text p{margin:0 0 12px}
.case-intro-text p:first-child{font-weight:700;font-size:clamp(18px,1.85vw,26px);line-height:1.32}
.case-text-columns{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,90px);border-top:1px solid #aaa;padding:24px 0 15px}
.case-text-block{font:15px/1.6 Arial,sans-serif}
.case-text-block h3{font:900 15px Arial,sans-serif;letter-spacing:.045em;margin:0 0 19px}
.case-text-block p{margin:0 0 13px}
.case-text-block ul{padding-left:19px;margin:8px 0 13px}
.case-text-block li{margin:5px 0}
body:has(.case-study) .gallery-heading{margin:27px 0 0;padding:21px 0 0}
body:has(.case-study) .gallery-heading h3{font:900 clamp(24px,2.6vw,38px)/1 Arial,sans-serif;letter-spacing:-.04em;margin:0}
body:has(.case-study) .case-gallery-original{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 gap:10px;margin:20px 0 0;
}
body:has(.case-study) .case-gallery-original .case-gallery-tile{
 grid-column:auto!important;margin:0;background:#e6e6e4;overflow:hidden;min-width:0;
}
body:has(.case-study) .case-gallery-original img{
 display:block;width:100%;height:100%;aspect-ratio:1/1!important;object-fit:cover;
 filter:saturate(.94);transition:transform .7s cubic-bezier(.2,.8,.2,1),filter .5s;
}
body:has(.case-study) .case-gallery-original .case-gallery-tile:hover img{
 transform:scale(1.06);filter:saturate(1);
}
body:has(.case-study) .case-numbers{
 margin-top:34px;padding:30px 30px 16px;background:#151515;color:#fff;
}
body:has(.case-study) .case-numbers .performance-grid{
 grid-template-columns:repeat(3,minmax(0,1fr))!important;border-top:0;
}
body:has(.case-study) .case-numbers .metric{
 grid-column:auto!important;min-height:240px!important;border-top:0!important;
 border-right:1px solid #555!important;padding:15px 13px 20px!important;
}
body:has(.case-study) .case-numbers .metric:last-child{border-right:0!important}
body:has(.case-study) .case-numbers .metric-canvas-wrap{
 height:135px!important;margin:10px 0 8px!important;
}
body:has(.case-study) .case-numbers .metric-bottom{
 justify-content:space-between!important;gap:10px!important;
}
body:has(.case-study) .case-numbers .metric-label{font-size:10px}
body:has(.case-study) .case-numbers .metric-number{font-size:9px}
body:has(.case-study) .result-label{margin-top:22px;padding-top:23px}
body:has(.case-study) .result-label h3{font-size:11px;color:#555}
@media(max-width:880px){
 .case-overview{grid-template-columns:125px 1fr;gap:23px}
 .case-text-columns{grid-template-columns:1fr;gap:20px}
 body:has(.case-study) .case-gallery-original{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:600px){
 body:has(.case-study) .case-study{padding:42px 5% 55px}
 .case-overview{grid-template-columns:1fr;gap:15px}
 .case-client-mark{justify-content:flex-start}
 .case-client-mark img{max-width:120px;max-height:110px}
 body:has(.case-study) .case-gallery-original{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px}
 body:has(.case-study) .case-numbers{padding:22px 15px 12px}
 body:has(.case-study) .case-numbers .performance-grid{grid-template-columns:1fr!important}
 body:has(.case-study) .case-numbers .metric{
  min-height:150px!important;border-right:0!important;border-bottom:1px solid #555!important;padding:12px 0!important
 }
 body:has(.case-study) .case-numbers .metric:last-child{border-bottom:0!important}
 body:has(.case-study) .case-numbers .metric-canvas-wrap{height:90px!important}
}
@media(prefers-reduced-motion:reduce){body:has(.case-study) .case-gallery-original img{transition:none}}
