/* ==========================================================================
   testimonial.css — shared quote block (case studies + About)
   ========================================================================== */

/* Testimonial: big accent opening mark, large regular-weight quote (max
   62ch, closing mark only), then avatar + bold name + muted role */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
}

/* Decorative “ (aria-hidden); line-height trimmed so the glyph sits
   close to the quote instead of carrying a tall empty line box */
.testimonial-mark {
  display: block;
  block-size: 0.5em;
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: var(--weight-bold);
  line-height: 1;
  color: var(--color-accent-ink);
}

.testimonial blockquote {
  margin: 0;
  padding: 0;
  border: 0; /* drops base.css's left rule; the big mark replaces it */
  max-inline-size: 62ch;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
}

.testimonial blockquote p { max-inline-size: none; }

/* Avatar left, name + role stacked beside it */
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-block-start: var(--space-1);
  line-height: var(--leading-snug);
}

.testimonial-avatar {
  flex: none;
  inline-size: var(--size-avatar);
  block-size: var(--size-avatar);
  border-radius: var(--radius-pill);
  object-fit: cover;
  background-color: var(--color-surface);
}

.testimonial-who {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-inline-size: 0;
}

.testimonial-name {
  font-size: var(--step-0);
  font-weight: var(--weight-bold);
}

.testimonial-role {
  font-size: var(--step--1);
  color: var(--color-text-muted);
}

@media (min-width: 64em) {
  .testimonial blockquote { font-size: var(--step-2); }
}
