/* ===== TESTIMONIALS =====
   Featured + grid. Franco's lead testimonial sits in a side-by-side
   card: photo + name on the left, full-width quote on the right. The
   other three follow in a 3-column grid below. Collapses to a single
   vertical stack on mobile. */

.testimonials {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 104px 0;
}
.testimonials > .container { max-width: 1200px; }

/* Title is scoped inside .testimonials so both the landing page and
   the about page render identically — about doesn't define
   .section-title at all. */
.testimonials .section-title {
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0;
  max-width: none;
  color: var(--ink);
}
.testimonials .section-title em { font-style: normal; }
.testimonials .charge-bar { margin: 16px 0 0; }

/* ===== SHARED CARD ===== */
.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 2px 4px rgba(10,10,10,0.02), 0 16px 40px rgba(10,10,10,0.04);
}

.testimonial-quote {
  font-family: "Geist", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0;
}

.testimonial-attr {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--cream-2);
}
.testimonial-attr-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.testimonial-name {
  font-family: "Geist", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.testimonial-title {
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  letter-spacing: -0.005em;
}

/* ===== FEATURED (Franco) =====
   Header bar with photo + name + title at the top of the card,
   followed by a hairline divider and the quote flowing full-width
   below. Standard premium-agency testimonial pattern. */
.testimonial-featured {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 44px 48px 40px;
}
.testimonial-featured-author {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.testimonial-featured-author .testimonial-photo {
  width: 80px;
  height: 80px;
}
.testimonial-featured-author .testimonial-attr-text {
  gap: 4px;
}
.testimonial-featured-author .testimonial-name { font-size: 17px; }
.testimonial-featured-author .testimonial-title { font-size: 13.5px; }
.testimonial-featured .testimonial-quote {
  font-size: 17px;
  line-height: 1.7;
}

/* ===== 3-COL GRID (Shepard, Todd, Brandon) ===== */
.testimonials-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonials-grid .testimonial-card {
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: space-between;
  min-height: 380px;
}
.testimonials-grid .testimonial-attr {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* ===== STAGGERED FADE-IN =====
   Featured first, then the supporting cards cascade in. Subtle —
   feels intentional rather than "everything dumps in at once." */
.testimonial-featured.fade.in { transition-delay: 0.05s; }
.testimonials-grid .testimonial-card:nth-child(1).fade.in { transition-delay: 0.18s; }
.testimonials-grid .testimonial-card:nth-child(2).fade.in { transition-delay: 0.26s; }
.testimonials-grid .testimonial-card:nth-child(3).fade.in { transition-delay: 0.34s; }

/* ===== TABLET (≤980) ===== */
@media (max-width: 980px) {
  .testimonials { padding: 88px 0; }
  .testimonial-featured {
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 40px 40px;
  }
  .testimonial-featured-author .testimonial-photo { width: 96px; height: 96px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== MOBILE (≤720) =====
   Featured stacks: author row on top, quote below. Grid collapses
   to single column. Everything reads naturally with page scroll. */
@media (max-width: 720px) {
  .testimonials { padding: 72px 0 64px; }
  .testimonials .section-title { font-size: clamp(32px, 6.5vw, 52px); line-height: 1.02; }
  .testimonial-featured {
    margin-top: 40px;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 26px;
  }
  .testimonial-featured-author {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    position: static;
  }
  .testimonial-featured-author .testimonial-photo { width: 60px; height: 60px; }
  .testimonial-featured-author .testimonial-name { font-size: 15.5px; }
  .testimonial-featured-author .testimonial-title { font-size: 13px; }
  .testimonial-featured .testimonial-quote { font-size: 15.5px; line-height: 1.6; }
  .testimonials-grid {
    margin-top: 24px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .testimonials-grid .testimonial-card {
    padding: 24px 24px 22px;
    min-height: 0;
    gap: 22px;
  }
  .testimonials-grid .testimonial-quote { font-size: 14.5px; line-height: 1.55; }
  .testimonials-grid .testimonial-photo { width: 48px; height: 48px; }
  .testimonials-grid .testimonial-name { font-size: 14px; }
  .testimonials-grid .testimonial-title { font-size: 12.5px; }
}

@media (max-width: 480px) {
  .testimonials { padding: 60px 0 56px; }
  .testimonials .section-title { font-size: clamp(28px, 8.5vw, 38px); line-height: 1.04; }
}

/* "Read the full project stories" — standard .btn CTA, centered below the grid */
.testimonials-more-wrap { text-align: center; margin-top: 56px; }
@media (max-width: 640px) {
  .testimonials-more-wrap { margin-top: 36px; }
}
/* Small phones: shrink the CTA so the long label fits without overflow */
@media (max-width: 400px) {
  .testimonials-more-wrap { margin-top: 28px; }
  .testimonials-more-wrap .btn {
    padding: 16px 22px;
    font-size: 14.5px;
    white-space: normal;
    line-height: 1.3;
    max-width: 100%;
  }
}
