.testimonials-page {
  width: min(calc(100% - (2 * var(--page-gutter))), var(--content-width));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px);
}


.testimonials-intro {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}


.testimonials-kicker {
  margin: 0 0 14px;
  color: #d9f43d;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}


.testimonials-title {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -.065em;
  line-height: .96;
}


.testimonials-copy {
  max-width: 560px;
  margin: clamp(18px, 2.5vw, 24px) 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
}


.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
}


.testimonial-card {
  display: flex;
  min-height: 0;
  height: auto;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #171e19;
}


.testimonial-quote {
  margin: 0;
  max-height: calc(1.35em * 3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #fff;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: -.025em;
  line-height: 1.35;
}


.testimonial-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d9f43d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}


.testimonial-card-more::after {
  content: "↓";
  font-size: 14px;
}


.testimonial-card.is-expanded .testimonial-quote {
  max-height: none;
  -webkit-line-clamp: unset;
  overflow: visible;
  display: block;
}


.testimonial-card.is-expanded .testimonial-card-more::after {
  content: "↑";
}


.testimonial-card-more[hidden] { display: none; }



.testimonial-author {
  margin: 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #d9f43d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}


@media (max-width: 820px) {
  
.testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  
.testimonial-card {
    min-height: 0;
  }

}


@media (max-width: 600px) {
  
.testimonials-grid {
    grid-template-columns: 1fr;
  }

  
.testimonials-page {
    width: min(calc(100% - (2 * var(--page-gutter))), var(--content-width));
  }

}



.testimonials-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px 0;
  color: rgba(255, 255, 255, .62);
  font-size: 15px;
  line-height: 1.5;
}



.testimonials-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 36px);
}


.testimonials-shuffle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: #d9f43d;
  color: #111610;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}


@media (hover: hover) and (pointer: fine) {.testimonials-shuffle:hover:not(:disabled) {
  transform: translateY(-2px);
}}


.testimonials-shuffle:disabled {
  cursor: default;
  opacity: .55;
}


.testimonials-shuffle[hidden] {
  display: none;
}



/* Uniform testimonial card sizing — compact and responsive. */


.testimonial-card {
  box-sizing: border-box;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  overflow: hidden;
}



@media (max-width: 820px) {
  
.testimonial-card {
    height: 210px;
    min-height: 210px;
    max-height: 210px;
  }

}



@media (max-width: 600px) {
  
.testimonial-card {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    padding: 20px;
  }

}




/* A cinematic freight banner adds visual context without changing the reviews. */


.testimonials-feature {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(220px, 27vw, 320px);
  margin: 0 0 clamp(32px, 5vw, 56px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: #171e19;
}


.testimonials-feature > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}


.testimonials-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 13, 10, .9) 0%, rgba(8, 13, 10, .68) 48%, rgba(8, 13, 10, .1) 100%), linear-gradient(0deg, rgba(8, 13, 10, .35), transparent 65%);
}


.testimonials-feature-copy {
  max-width: 640px;
  padding: clamp(24px, 5vw, 48px);
}


.testimonials-feature-copy .testimonials-kicker {
  margin-bottom: 12px;
}


.testimonials-feature-copy h2 {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 4.6vw, 48px);
  letter-spacing: -.055em;
  line-height: .98;
}


.testimonials-feature-copy > p:last-child {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(13px, 1.8vw, 16px);
  line-height: 1.6;
}


@media (max-width: 600px) {
  
.testimonials-feature {
    min-height: 260px;
  }

  
.testimonials-feature::after {
    background: linear-gradient(0deg, rgba(8, 13, 10, .94), rgba(8, 13, 10, .22));
  }

  
.testimonials-feature-copy {
    padding: 22px;
  }

}
/* Remove the browser's default tap flash from controls and navigation on touchscreens. */
a, button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary, .menu-toggle {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}
