/* Reference-led proof band and a self-contained testimonial layout. */
.v3-body .proof-band {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(10rem, 18vw, 17rem);
  color: #f1f2ec;
  background: var(--ink);
  scroll-margin-top: 5rem;
}

.v3-body .proof-intro {
  display: grid;
  gap: 1.75rem;
  align-items: start;
  padding-bottom: clamp(4rem, 7vw, 7rem);
  border-bottom: 1px solid rgba(241, 242, 236, .22);
}

.v3-body .proof-intro h2 {
  max-width: none;
  margin: 0;
  color: #f1f2ec;
  font: 400 clamp(2.75rem, 5.6vw, 6rem)/.96 var(--font-pp-neue-montreal);
  letter-spacing: -.065em;
  text-align: left;
}

.v3-body .proof-intro p {
  max-width: 32rem;
  margin: 0;
  color: rgba(241, 242, 236, .56);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.55;
}

.v3-body .proof-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: clamp(3.25rem, 5vw, 5rem);
}

.v3-body .proof-stat { min-width: 0; text-align: left; }
.v3-body .proof-stat strong {
  display: block;
  color: #f1f2ec;
  font: 400 clamp(5.75rem, 15vw, 10.5rem)/.78 var(--font-pp-neue-montreal);
  letter-spacing: -.085em;
}
.v3-body .proof-stat h3 {
  margin: 2rem 0 .15rem;
  color: #f1f2ec;
  font-size: clamp(1.05rem, 1.45vw, 1.4rem);
  font-weight: 400;
  line-height: 1.25;
}
.v3-body .proof-stat span {
  display: block;
  max-width: none;
  margin: 0;
  color: rgba(241, 242, 236, .48);
  font-size: clamp(.9rem, 1.15vw, 1.1rem);
  line-height: 1.45;
}

.v3-body .proof-rails {
  position: absolute;
  inset: auto 0 0;
  height: clamp(88px, 12vw, 170px);
  transform-origin: center bottom;
  will-change: transform;
  background:
    linear-gradient(to bottom,
      rgba(0,28,32,.95) 0 11.11%,
      rgba(21,52,45,.90) 11.11% 22.22%,
      rgba(39,69,64,.82) 22.22% 33.33%,
      rgba(58,83,84,.73) 33.33% 44.44%,
      rgba(75,96,105,.63) 44.44% 55.55%,
      rgba(93,108,127,.52) 55.55% 66.66%,
      rgba(112,121,150,.40) 66.66% 77.77%,
      rgba(139,138,188,.25) 77.77% 88.88%,
      transparent 88.88% 100%),
    linear-gradient(100deg, var(--ink) 0%, #53616c 48%, var(--lavender) 100%);
}

/* Testimonial is deliberately self-contained so older shared styles cannot distort it. */
.v3-body .testimonial-feature {
  box-sizing: border-box;
  padding: clamp(3rem, 6vw, 6rem) 0;
  color: #001c20;
  background: #f1f2ec;
}
.v3-body .testimonial-feature > .section-shell {
  display: block;
  width: min(100%, 96rem);
  max-width: 96rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.v3-body .client-testimonial {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 4rem);
  overflow: hidden;
  color: #001c20;
  background: #bdbbff;
  border: 0;
  border-radius: 1rem;
  align-items: start;
}
.v3-body .testimonial-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}
.v3-body .testimonial-tag {
  display: inline-flex;
  width: auto;
  margin: 0 0 clamp(2.5rem, 5vw, 5rem);
  padding: .5rem .85rem;
  color: #f1f2ec;
  background: #001c20;
  border-radius: 999px;
  font-size: .78rem;
  line-height: 1.2;
}
.v3-body .client-testimonial h2 {
  max-width: 100%;
  margin: 0 0 clamp(2rem, 3vw, 3.25rem);
  color: #001c20;
  font: 400 clamp(2.2rem, 4.2vw, 4.75rem)/1 var(--font-pp-neue-montreal);
  letter-spacing: -.055em;
}
.v3-body .client-testimonial blockquote { width: 100%; margin: 0; }
.v3-body .client-testimonial blockquote p {
  max-width: 52rem;
  margin: 0;
  color: #001c20;
  font-size: clamp(1.05rem, 1.6vw, 1.6rem);
  line-height: 1.5;
}
.v3-body .testimonial-quote-author {
  margin: 1.3rem 0 0;
  color: #001c20;
  font-size: 1rem;
  font-weight: 600;
}
.v3-body .testimonial-project-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  width: max-content;
  min-height: 44px;
  margin-top: 1.25rem;
  color: #001c20;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.v3-body .client-testimonial figcaption {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}
.v3-body .testimonial-portrait {
  box-sizing: border-box;
  width: clamp(10rem, 25vw, 14rem);
  height: auto;
  aspect-ratio: 4 / 5;
  flex: none;
  overflow: hidden;
  border-radius: 999px;
}
.v3-body .client-testimonial .testimonial-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 25%;
}
.v3-body .testimonial-person { width: 100%; color: #001c20; }
.v3-body .testimonial-role,
.v3-body .testimonial-detail-label {
  display: block;
  color: rgba(0, 28, 32, .62);
  font-size: .72rem;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.v3-body .testimonial-name {
  display: block;
  margin: .35rem 0 0;
  color: #001c20;
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
}
.v3-body .testimonial-company {
  display: block;
  margin-top: 1.1rem;
  padding-top: 1rem;
  color: #001c20;
  border-top: 1px solid rgba(0, 28, 32, .2);
  font-size: clamp(.95rem, 1.15vw, 1.15rem);
  line-height: 1.45;
}
.v3-body .testimonial-detail-label { margin-bottom: .35rem; }

@media (min-width: 48rem) {
  .v3-body .proof-intro { grid-template-columns: minmax(0, 2.7fr) minmax(16rem, .7fr); }
  .v3-body .proof-intro p { justify-self: end; padding-top: .7rem; }
  .v3-body .proof-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 8vw, 8rem); }
  .v3-body .proof-stat strong { font-size: clamp(6rem, 10.2vw, 10.5rem); }
  .v3-body .client-testimonial {
    grid-template-columns: minmax(0, 2.45fr) minmax(14rem, .75fr);
    column-gap: clamp(3rem, 7vw, 7rem);
    min-height: clamp(38rem, 48vw, 47rem);
  }
  .v3-body .client-testimonial figcaption { justify-content: flex-start; }
  .v3-body .testimonial-portrait { width: min(100%, 14rem); }
}

@media (prefers-reduced-motion: reduce) {
  .v3-body .proof-rails { transform: none !important; will-change: auto; }
}
