/* ===========================================
   TESTIMONIALS PAGE
   Large-format quote slider. The heading sits on a white
   band; the quotes themselves sit on a beige (off-white)
   band below. One quote at a time, horizontal slide, with
   dot navigation, a numbered counter, and prev/next arrows.
   No boxes — type and spacing do the work.
   =========================================== */

.t-slider {
  overflow: hidden;
}
.t-slider-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---- Heading band (white) ---- */
.t-slider-head-band {
  background: var(--white);
  padding: 100px 0 56px;
}
.t-slider-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.t-slider-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--teal);
  margin: 0 0 16px;
}
.t-slider-lede {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--teal-60);
  margin: 0;
}

/* ---- Quote band (white, divided from the heading above) ---- */
.t-slider-stage-band {
  background: var(--white);
  padding: 0 0 96px;
}
.t-slider-stage-band .t-slider-inner {
  border-top: 1px solid var(--teal-15);
  padding-top: 80px;
}

.t-slider-viewport {
  position: relative;
  overflow: hidden;
}
.t-slider-track {
  display: flex;
  transition: transform 700ms var(--ease-out);
  will-change: transform;
}
.t-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(0px, 4vw, 56px);
  opacity: 0.25;
  transition: opacity 700ms var(--ease-out);
}
.t-slide.is-active {
  opacity: 1;
}
.t-slide-mark {
  font-family: var(--font-serif);
  font-size: 88px;
  line-height: 0.6;
  color: var(--orange);
  margin-bottom: 28px;
  user-select: none;
}
.t-slide-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 33px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--teal);
  margin: 0 0 36px;
  max-width: 780px;
}
.t-slide-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.t-slide-name {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
}
.t-slide-case {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ---- Controls ---- */
.t-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
}
.t-slider-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}
.t-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--teal-15);
  cursor: pointer;
  transition: background 220ms ease, width 220ms ease;
}
.t-slider-dot:hover { background: var(--teal-60); }
.t-slider-dot.is-active {
  width: 26px;
  background: var(--orange);
}
.t-slider-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.t-slider-counter {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--teal-60);
  white-space: nowrap;
}
.t-slider-counter #t-slider-current { color: var(--teal); }
.t-slider-counter-sep { margin: 0 2px; }
.t-slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--teal-15);
  background: transparent;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.t-slider-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.t-slider-arrow:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.t-slider-arrow svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
  .t-slider-inner { padding: 0 24px; }
  .t-slider-head-band { padding: 72px 0 40px; }
  .t-slider-stage-band { padding: 0 0 72px; }
  .t-slider-stage-band .t-slider-inner { padding-top: 56px; }
  .t-slide-mark { font-size: 64px; margin-bottom: 20px; }
  .t-slide-quote { margin-bottom: 28px; }
  .t-slider-controls {
    flex-direction: column-reverse;
    gap: 28px;
    margin-top: 44px;
  }
}

/* Pause/play for the autoplay. One button, two icons; is-paused swaps them. */
.t-slider-pause .t-slider-play-icon { display: none; }
.t-slider-pause.is-paused .t-slider-pause-icon { display: none; }
.t-slider-pause.is-paused .t-slider-play-icon { display: block; }
