.client-stories {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  padding: 36px 0 var(--gallery-section-space);
}

.client-stories h2 {
  margin: 0 0 24px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.client-gallery__grid,
.client-testimonials__list {
  display: grid;
  gap: 40px;
}

.client-gallery__item,
.client-testimonial {
  min-width: 0;
  margin: 0;
}

.client-gallery__photo {
  display: grid;
  place-items: center;
  background: var(--hiraya-rose-soft);
}

.client-gallery__photo img {
  display: block;
  width: min(100%, 480px);
  height: auto;
}

.client-gallery__item figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.6;
}

.client-gallery__item figcaption span {
  color: var(--hiraya-muted);
}

.client-testimonial {
  padding: clamp(24px, 4vw, 64px) 0;
  border-top: 1px solid var(--hiraya-line);
  border-bottom: 1px solid var(--hiraya-line);
}

.client-testimonial blockquote {
  margin: 0 0 32px;
}

.client-testimonial blockquote p {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(30px, 3.6vw, 54px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.25;
  text-wrap: balance;
}

.client-testimonial figcaption {
  display: grid;
  justify-items: start;
  gap: 14px;
  font-size: 12px;
  line-height: 1.7;
}

.client-testimonial figcaption > span {
  color: var(--hiraya-muted);
}

.client-testimonial figcaption a {
  color: var(--hiraya-rose);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.client-testimonial figcaption a:hover {
  color: var(--hiraya-rose-deep);
}

.testimonials-preview-note {
  padding: 24px 0 40px;
  border-top: 1px solid var(--hiraya-line);
  color: var(--hiraya-muted);
  font-size: 12px;
  line-height: 1.7;
}

.testimonials-preview-note p {
  max-width: 80ch;
  margin: 0;
}

@media (min-width: 768px) {
  .client-stories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: clamp(32px, 6vw, 96px);
  }
}
