.testimonials-section {
  height: 350vh;
  background-color: #000;
  position: relative;
}

.testimonials-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #000;
}

.testimonials-heading {
  padding: 0 3rem;
  margin-bottom: clamp(3rem, 6vh, 6rem);
}

.testimonials-heading span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: #888;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.5rem;
}

.testimonials-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 4.8rem);
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

.testimonials-heading h2 em {
  font-style: normal;
  color: #888;
}

.testimonials-rail {
  width: 100%;
  height: 55vh;
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  padding: 0 clamp(2rem, 5vw, 6rem);
  height: 100%;
  width: max-content;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 clamp(300px, 35vw, 450px);
  height: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background-color: #111;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.testimonial-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.4s;
}

.testimonial-photo img {
  object-fit: cover;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.testimonial-photo-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
}

.testimonial-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-color: #000;
}

.testimonial-mute {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.testimonial-mute button {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.testimonial-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  pointer-events: none;
}

.testimonial-meta h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  line-height: 1;
}

.testimonial-meta span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #ccc;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Keep sticky scroll-scrub on mobile — only tighten type/spacing */
@media (max-width: 960px) {
  .testimonials-heading {
    padding: 0 1.25rem;
    margin-bottom: clamp(1.75rem, 4vh, 3rem);
  }

  .testimonials-heading h2 {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
  }

  .testimonials-track {
    gap: 1rem;
    padding: 0 1.25rem;
  }

  .testimonial-card {
    flex: 0 0 min(78vw, 320px);
    border-radius: 16px;
  }

  .testimonial-meta {
    padding: 1.25rem;
  }

  .testimonial-meta h3 {
    font-size: 1.45rem;
  }

  .testimonial-meta span {
    font-size: 0.7rem;
  }
}
