/* Give each previous-project logo a short, readable description. */
.logo-tile {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:60px minmax(38px,auto);
  align-content:center;
  justify-items:center;
  gap:10px;
  height:auto;
  min-height:146px;
  padding:18px 20px;
  text-decoration:none;
}
.logo-art {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  height:60px;
}
.logo-caption {
  align-self:start;
  max-width:100%;
  color:var(--muted);
  font-size:14px;
  line-height:1.35;
  text-align:center;
  text-wrap:balance;
}
/* One concrete example connects the brands to the work, within the same section. */
.work-example {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px 28px;
  max-width:1150px;
  margin:18px auto 0;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.work-teaser .work-example p {
  max-width:65ch;
  font-size:15px;
  line-height:1.6;
}
.work-example strong { color:var(--ink); font-weight:600; }
.work-example .text-link { min-height:44px; margin:0; font-size:14px; white-space:nowrap; }
.work-more {
  display:flex;
  justify-content:flex-end;
  max-width:1150px;
  margin:22px auto 0;
}
.work-more-link { min-height:48px; font-size:14px; }
@media (min-width:761px) and (max-width:1040px) {
  /* Three readable brands instead of four squeezed into a tablet viewport. */
  .logo-track { grid-auto-columns:calc((100% - 32px)/3); }
}
@media(max-width:760px) {
  .work-example { grid-template-columns:minmax(0,1fr); gap:4px; margin-top:14px; padding-top:14px; }
  .work-example .text-link { justify-self:start; }
  .work-more { justify-content:flex-start; margin-top:18px; }
  .logo-track { grid-auto-columns:clamp(180px,58vw,240px); }
  .logo-tile {
    grid-template-rows:48px minmax(38px,auto);
    min-height:126px;
    padding:14px;
  }
  .logo-art { height:48px; }
  .logo-art .work-logo { max-height:44px; }
}
