/* Opening illustration image, followed by the project introduction. */
.illustration-image-hero{position:relative;isolation:isolate;margin:12px 12px 0;overflow:hidden;border-radius:24px;background:#111}
.illustration-image-hero img{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:calc(100svh - 24px);object-fit:cover}
.illustration-image-hero::after{content:"";position:absolute;inset:0 0 auto;height:110px;background:linear-gradient(180deg,rgba(0,0,0,.42),transparent);pointer-events:none}
.illustration-image-hero+.case-top{padding:56px 5vw 32px}
.illustration-image-hero+.case-top .case-eyebrow{margin:0}
@media(max-width:767px){
 .illustration-image-hero{margin:8px 8px 0;border-radius:18px}
 .illustration-image-hero img{max-height:none}
 .illustration-image-hero+.case-top{padding:36px 24px 24px}
}

/* Carry the next-project background around the complete rounded footer. */
#contact.footer{background:#000;padding:24px 12px 12px}
#contact .footer__tile{border-radius:var(--border-radius-l,24px)}
@media(max-width:767px){
 #contact.footer{padding:18px 8px 8px}
 #contact .footer__tile{border-radius:18px}
}

/* Office artwork, installation photographs and silent walkthroughs. */
.illustration-office{margin:0 auto 72px;scroll-margin-top:110px}
.illustration-office h2{font-size:clamp(28px,3vw,42px);line-height:1.2;letter-spacing:-.04em;text-transform:none;margin:0 0 28px}
.illustration-office h3{font-size:clamp(22px,2.3vw,30px);line-height:1.2;text-transform:none;margin:48px 0 24px;scroll-margin-top:110px}
.illustration-office-gallery{display:grid;gap:20px}
.illustration-office-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.case-story .illustration-office figure{margin:0;min-width:0;overflow:hidden;border-radius:16px}
.case-story .illustration-office img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:transparent;border-radius:0}
.illustration-office-videos{display:grid;grid-template-columns:3fr 4fr;gap:20px;max-width:1000px;margin:0 auto;align-items:start}
.illustration-office-videos video{display:block;width:100%;height:auto;background:#111;border-radius:16px}
@media(max-width:767px){
 .illustration-office{margin-bottom:38px;scroll-margin-top:90px}
 .illustration-office h2{margin-bottom:22px}
 .illustration-office h3{margin-top:32px;scroll-margin-top:90px}
 .illustration-office-gallery,.illustration-office-details,.illustration-office-videos{grid-template-columns:1fr;gap:16px}
 .case-story .illustration-office figure,.illustration-office-videos video{border-radius:12px}
}
