/* DSB V1.7.5 — Preserve full project image dimensions. No cropping. */
.project-visual.has-cover,
.work-index-media.has-cover,
.case-cover.has-cover{
  background-image:none!important;
  background:#08090b!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
}
.project-visual.has-cover{
  height:auto!important;
  min-height:0!important;
}
.project-cover-img,
.work-index-cover-img,
.case-cover-img{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  object-fit:contain!important;
  object-position:center!important;
}
.project-cover-img{border-radius:13px;}
.work-index-media.has-cover{min-height:0!important;}
.work-index-cover-img{border-radius:13px;}
.case-cover.has-cover{
  min-height:0!important;
  aspect-ratio:auto!important;
}
.case-cover-img{border-radius:13px;}
/* Keep labels/buttons above full-frame image without adding dark image overlays. */
.project-visual.has-cover .open-case,
.work-index-media.has-cover .work-index-ui,
.work-index-media.has-cover>b,
.case-cover.has-cover .case-cover-ui{z-index:2;}
/* Small fixed preview areas show the entire image with letterboxing rather than crop. */
.stack-screen.has-cover{
  background-image:none!important;
  background:#090b0f!important;
  overflow:hidden;
}
.stack-cover-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center!important;
  z-index:0;
}
.stack-screen.has-cover .screen-toolbar,
.stack-screen.has-cover .screen-layout{position:relative;z-index:1;opacity:.04;}
.architecture-media img,.architecture-media video,
.proof-layer-grid img,.proof-layer-grid video,
.case-media-item img,.case-media-item video{
  object-fit:contain!important;
  object-position:center!important;
  background:#08090b;
}
@media(max-width:900px){
  .project-cover-img,.work-index-cover-img,.case-cover-img{width:100%;height:auto;}
}
