/* Readable review panels. No content truncation, tilt or animated text. */
.testimonials-section .testimonial-card {
  width: min(414px, calc(100vw - 2 * var(--pad)));
  max-width: calc(100vw - 2 * var(--pad));
  min-height: 480px;
  padding: 30px;
  border: 1px solid rgba(0,245,155,.45);
  border-top: 3px solid var(--green);
  clip-path: polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,24px 100%,0 calc(100% - 24px));
  background: linear-gradient(135deg,rgba(0,245,155,.12),transparent 42%),linear-gradient(155deg,transparent 79%,rgba(0,245,155,.045) 79%),#04120b;
  box-shadow: inset 0 0 0 5px rgba(0,245,155,.025);
}
.testimonials-section .testimonial-card::before { left: 30px; top: 87px; width: 28px; height: 5px; box-shadow: 37px 0 0 var(--green),0 5px 0 rgba(0,245,155,.2),37px 5px 0 rgba(0,245,155,.2); }
.testimonials-section .testimonial-card::after { content: ""; width: 45px; height: 45px; right: 10px; bottom: 10px; border-right: 1px solid var(--green); border-bottom: 1px solid var(--green); background: none; }
.testimonials-section .testimonial-card:hover, .testimonials-section .testimonial-card:focus-within { border-color: var(--green); background-color: #072217; box-shadow: inset 0 0 0 5px rgba(0,245,155,.05); }
.testimonials-section .testimonial-stars { font-size: 13px; letter-spacing: .18em; }
.testimonials-section .testimonial-model-label { top: 25px; right: 25px; font-size: 8px; line-height: 1.45; max-width: 48%; }
.testimonials-section .testimonial-card blockquote { margin: 72px 0 28px; font-size: clamp(20px,1.65vw,25px); line-height: 1.48; letter-spacing: -.02em; overflow-wrap: break-word; }
.testimonials-section .testimonial-card > div:nth-last-of-type(1) { padding-top: 19px; border-top: 1px solid rgba(0,245,155,.25); gap: 8px; }
.testimonials-section .testimonial-card > div:nth-last-of-type(1) > strong { color: var(--white); font-size: 16px; line-height: 1.4; letter-spacing: -.02em; }
.testimonials-section .testimonial-card > div:nth-last-of-type(1) > span { color: var(--white); font: 11px/1.6 var(--mono); }
.testimonials-section .testimonial-card > a, .testimonials-section .testimonial-source-pending { margin-top: 20px; font: 10px/1.5 var(--mono); }
.testimonials-section .testimonial-card > a:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
@media(max-width:760px) {
  .testimonials-section .testimonial-slider { width: 100%; max-width: 100%; margin-inline: 0; padding-inline: 0; mask-image: none; }
  .testimonials-section .testimonial-card { min-height: 450px; padding: 25px; }
  .testimonials-section .testimonial-card::before { left: 25px; top: 82px; }
  .testimonials-section .testimonial-model-label { top: 21px; right: 21px; font-size: 7px; }
  .testimonials-section .testimonial-card blockquote { font-size: 20px; line-height: 1.5; }
}
@media(max-width:360px) {
  .testimonials-section .testimonial-card { padding: 22px; }
  .testimonials-section .testimonial-card::before { left: 22px; }
  .testimonials-section .testimonial-card blockquote { font-size: 18px; }
  .testimonials-section .testimonial-stars { font-size: 11px; }
}

/* Mobile and reduced-motion readers get one complete, stationary review. */
.testimonials-section .testimonial-slider.is-testimonial-snap {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding: 0;
  overflow: visible;
  mask-image: none;
}
.testimonials-section .is-testimonial-snap .testimonial-track {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  padding-bottom: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--green-line) transparent;
  animation: none;
  transform: none;
  will-change: auto;
}
.testimonials-section .is-testimonial-snap .testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 450px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  opacity: 1;
  transform: none;
}
.testimonials-section .is-testimonial-snap .testimonial-card blockquote { max-width: 66ch; }
.testimonials-section .testimonial-card > div:nth-last-of-type(1),
.testimonials-section .testimonial-card > div:nth-last-of-type(1) > strong,
.testimonials-section .testimonial-card > div:nth-last-of-type(1) > span,
.testimonials-section .testimonial-card > a,
.testimonials-section .testimonial-source-pending { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.testimonial-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.testimonial-controls[hidden] { display: none; }
.testimonial-controls .testimonial-control {
  flex: 0 0 auto;
  width: auto;
  min-width: 46px;
  min-height: 46px;
  padding: 0 15px;
  color: var(--green);
  font-size: 11px;
}
.testimonial-controls [data-testimonial-play] { min-width: 96px; }
.testimonial-controls [data-testimonial-prev], .testimonial-controls [data-testimonial-next] { font-size: 20px; }
.testimonial-position { margin-left: auto; color: var(--white); font: 500 12px/1.6 var(--mono); white-space: nowrap; }
.testimonials-section .is-testimonial-snap .testimonial-track:focus-visible,
.testimonial-controls .testimonial-control:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@media(min-width:761px) and (prefers-reduced-motion:reduce) {
  .testimonials-section .testimonial-slider.is-testimonial-snap { max-width: 720px; }
}
@media(max-width:360px) {
  .testimonial-controls { gap: 7px; }
  .testimonial-controls .testimonial-control { min-width: 44px; padding-inline: 12px; }
  .testimonial-controls [data-testimonial-play] { min-width: 88px; }
  .testimonial-position { font-size: 11px; }
}
