
/* 2026 Ardo Design — compact work index, all projects same considered scale */
.work-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:38px clamp(15px,2.1vw,34px)!important;
  margin:0 max(4.2vw,24px) 92px!important
}
.work-grid>.project-card,
.work-grid>.project-card.full,
.work-grid>.project-card:nth-child(5){
  grid-column:auto!important; margin-top:0!important;min-width:0
}
.project-card .work-photo,
.project-card.full .work-photo,
.project-card:not(.full) .work-photo{
  aspect-ratio:5/4!important;
  max-height:360px!important;
  min-height:0;
}
.project-card .work-meta{display:block!important;padding-top:16px!important}
.project-card .work-meta h3{font-size:clamp(23px,2.25vw,34px)!important;line-height:1.07!important;letter-spacing:-.065em}
.project-card .work-meta .project-category{display:block!important;max-width:none!important;text-align:left!important;margin-top:9px;color:#cfb68b!important;font-size:9px}
.project-card .case-number{margin-bottom:7px!important;font-size:9px}
.project-card .photo-count{font-size:8px!important;bottom:12px!important;left:12px!important;padding:7px 9px!important}
.project-card .work-photo .visit{width:40px!important;height:40px!important;right:13px!important;bottom:13px!important;font-size:19px!important}
.project-card .work-photo .corner{left:12px!important;top:12px!important;font-size:8px!important;padding:7px 10px!important;max-width:68%;white-space:normal}
.work-after{margin:-46px max(4.2vw,24px) 105px!important}
.project-card img{object-position:var(--cover-position,50% 50%)}
.hero-media img{object-position:var(--hero-position,50% 50%)}
@media(max-width:1100px) and (min-width:701px){
  .work-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:30px 22px!important}
  .project-card .work-photo,.project-card.full .work-photo,.project-card:not(.full) .work-photo{aspect-ratio:5/3.75!important}
}
@media(max-width:700px){
  .work-grid{grid-template-columns:1fr!important;gap:32px!important;margin:0 22px 75px!important}
  .work-grid>.project-card.full,.work-grid>.project-card:nth-child(5){grid-column:auto!important}
  .project-card .work-photo,.project-card.full .work-photo,.project-card:not(.full) .work-photo{
    aspect-ratio:16/10!important;max-height:300px!important
  }
  .project-card .work-meta h3{font-size:clamp(28px,7.2vw,35px)!important}
  .work-after{margin:-42px 22px 86px!important}
}
