/* Portfolio imagery is conceptual; project evidence remains in the detail text. */
.project{overflow:hidden;padding-top:0;min-height:440px}
.project-image{display:block;width:calc(100% + 54px);max-width:none;height:auto;aspect-ratio:3/2;object-fit:cover;margin:0 -27px 25px;background:#0b1531;transition:transform .35s}
.project:hover .project-image{transform:scale(1.025)}
.detail-image{display:block;width:calc(100% + 96px);max-width:none;height:auto;aspect-ratio:3/2;object-fit:cover;margin:-48px -48px 28px;background:#0b1531}
#project-dialog>.close{z-index:2;background:#ffffffeb}
.brand img{aspect-ratio:3/1;object-fit:contain;object-position:center}
.footer-brand img{aspect-ratio:3/1}
@media(max-width:1150px){.project-image{width:calc(100% + 46px);margin-inline:-23px}}
@media(max-width:800px){.detail-image{width:calc(100% + 50px);margin:-35px -25px 25px}.project{min-height:420px}}
@media(max-width:520px){.project{min-height:0}.project-image{margin-bottom:25px}}
@media(prefers-reduced-motion:reduce){.project:hover .project-image{transform:none}}
