/* Opening project image, followed by the project introduction. */
.project-image-hero{position:relative;isolation:isolate;margin:12px 12px 0;overflow:hidden;border-radius:24px;background:#111}
.project-image-hero img{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:calc(100svh - 24px);object-fit:cover}
.project-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}
.project-image-hero+.case-top{padding:56px 5vw 32px}
.project-image-hero+.case-top .case-eyebrow{margin:0}
@media(max-width:767px){
 .project-image-hero{margin:8px 8px 0;border-radius:18px}
 .project-image-hero img{max-height:none}
 .project-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}
}
