@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

.testimonials-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(176, 121, 112, 0.14), transparent 28%),
    linear-gradient(145deg, #f4eee5 0%, #e8ddd0 100%);
  font-family: "Poppins", sans-serif;
}

.testimonials-page .site-nav {
  position: relative;
}

.testimonials-page .wordmark,
.testimonials-page .site-nav nav,
.testimonials-page footer,
.testimonials-page .footer-wordmark,
.testimonials-page .footer-meta {
  font-family: "Poppins", sans-serif;
}

.testimonials-hero {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px clamp(24px, 7vw, 112px) 72px;
  overflow: hidden;
}

.testimonials-hero::after {
  content: "“";
  position: absolute;
  top: 12px;
  right: clamp(20px, 6vw, 90px);
  color: rgba(130, 75, 76, 0.11);
  font-size: clamp(190px, 27vw, 390px);
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.testimonials-hero .kicker,
.testimonials-hero h1,
.testimonials-hero p {
  position: relative;
  z-index: 1;
}

.testimonials-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.testimonials-hero > p:last-child {
  max-width: 590px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: 15pt;
  line-height: 1.75;
}

.testimonials-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 7vw, 112px) 130px;
}

.testimonial-card {
  position: relative;
  margin: 0;
  padding: clamp(36px, 4vw, 58px);
  border: 1px solid rgba(37, 32, 29, 0.14);
  background: rgba(248, 243, 236, 0.74);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.testimonial-card:nth-child(2) {
  background: #d9b7a5;
}

.testimonial-card:nth-child(3) {
  color: var(--paper);
  background: var(--rose-deep);
}

.testimonial-card:nth-child(4) {
  background: #eee5d8;
}

.testimonial-card:last-child {
  grid-column: 1 / -1;
  background: #c9b9aa;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(66, 48, 43, 0.09);
}

.testimonial-index {
  display: block;
  margin-bottom: 34px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  opacity: 0.62;
}

.testimonial-card blockquote {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 15pt;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.75;
}

.testimonial-card blockquote p {
  margin: 0;
}

.testimonial-card blockquote p + p {
  margin-top: 1em;
}

.testimonial-card figcaption {
  margin-top: 36px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.testimonial-card figcaption::before {
  content: "— ";
}

.testimonial-card figcaption span {
  opacity: 0.58;
}

.testimonials-cta {
  color: var(--paper);
  background: var(--rose-deep);
  padding: 88px 24px;
  text-align: center;
}

.testimonials-cta h2 {
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.testimonials-cta .button {
  font-family: "Poppins", sans-serif;
}

@media (max-width: 760px) {
  .testimonials-hero {
    padding: 82px 20px 54px;
  }

  .testimonials-hero h1 {
    font-size: clamp(48px, 14vw, 66px);
  }

  .testimonials-hero > p:last-child,
  .testimonial-card blockquote {
    font-size: 15pt;
  }

  .testimonials-list {
    display: block;
    padding: 0 20px 90px;
  }

  .testimonial-card {
    margin-top: 14px;
    padding: 34px 26px 38px;
  }

  .testimonial-card:first-child {
    margin-top: 0;
  }

  .testimonial-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card {
    transition: none;
  }
}
