.client-project-hero {
  background: #f4f0e7;
  border-bottom: 1px solid #e1dccf;
}
.client-project-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 1.6rem clamp(1.5rem, 5.6vw, 5.4rem);
}
.client-project-hero h1 {
  margin: .7rem 0 .8rem;
  font-size: clamp(2.65rem, 6vw, 5.85rem);
  font-weight: 630;
  letter-spacing: -.065em;
  line-height: 1.02;
  overflow-wrap: anywhere;
}
.client-project-hero .directory-back a {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.client-project-visual img, .client-project-gallery img {
  width: 100%;
  height: auto;
  border-radius: .57rem;
  border: 1px solid #ddd6c9;
}
.client-project figcaption {
  margin-top: .65rem;
  color: #58554c;
  font-size: .87rem;
}
.client-project-details .text-link {
  margin-top: 1.12rem;
}
.client-project-gallery {
  max-width: min(100%, 46rem);
  margin: clamp(2rem, 5vw, 4.4rem) auto 0;
}
.client-project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.35rem;
  padding: 0 0 clamp(2.65rem, 5vw, 4.8rem);
}
.portfolio-visual.client-project-tile {
  aspect-ratio: 840 / 512;
  border: 1px solid #e6e0d5;
}
.portfolio-visual.client-project-tile > img {
  object-fit: contain;
  background: #fff;
}
@media(max-width: 750px) {
  .client-project-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
