/* ── Overlay: more opaque on the explore/spaces image ───────── */
.stage-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.12) 32%, rgba(0,0,0,0.22) 64%, rgba(0,0,0,0.62) 100%) !important;
}


/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS — face carousel
═══════════════════════════════════════════════════════════════ */
.tst-carousel-wrap {
  overflow: hidden;
  width: 100%;
  margin: 0 auto clamp(32px, 5vh, 56px);
  position: relative;
  /* fade edges so scroll feels natural */
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.tst-faces-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: tstScroll 38s linear infinite;
}

/* pause on wrap hover OR when .paused class is toggled by JS */
.tst-carousel-wrap:hover .tst-faces-track,
.tst-carousel-wrap.paused .tst-faces-track {
  animation-play-state: paused;
}

@keyframes tstScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* track = 2× the 16 faces, so -50% resets perfectly */
}

.tst-face {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--stage) center/cover no-repeat;
  cursor: pointer;
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.tst-face:hover,
.tst-face.active {
  border-color: var(--accent);
  transform: scale(1.08);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
}

.tst-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tst-quote-panel {
  max-width: 860px;
  margin: 0 auto;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(20px, 4vw, 40px);
}

.tst-quote-inner {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  text-align: center;
}

.tst-quote-inner.visible {
  opacity: 1;
  transform: none;
}

.tst-quote-inner blockquote {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.tst-quote-inner .tst-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.tst-quote-inner .tst-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.tst-quote-inner .tst-role { font-size: 13px; color: var(--sub); }
.tst-quote-inner .tst-seg {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* mobile: smaller faces, reduced gap */
@media (max-width: 640px) {
  .tst-face { width: 72px; height: 72px; }
  .tst-faces-track { gap: 16px; }
}
