/* =========================================================
   THE INNER SHIFT — TESTIMONIALS PAGE
========================================================= */

:root {
  --tis-black: #10100f;
  --tis-black-soft: #1b1916;
  --tis-gold: #c28a2b;
  --tis-gold-light: #d6a64d;
  --tis-brown: #7d5a2b;
  --tis-cream: #f7f5f1;
  --tis-white: #ffffff;
  --tis-line: rgba(194, 138, 43, 0.25);
  --tis-text: #4a463f;
  --tis-muted: #7a746c;
}
/* =========================================================
   HOME TESTIMONIALS — TEXT + VIDEO
========================================================= */

.ht-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.ht-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--tis-gold, #c28a2b);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ht-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.ht-header h2 {
  margin: 0 0 16px;
  color: var(--tis-black, #10100f);
  font-family: "Manrope", sans-serif;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.ht-header h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--tis-gold, #c28a2b);
}

.ht-lead {
  margin: 0;
  color: #5e584f;
  font-size: 16px;
  line-height: 1.65;
}

.ht-header-light h2 {
  color: #f7f5f1;
}

.ht-header-light .ht-lead {
  color: rgba(247, 245, 241, 0.72);
}

.ht-header-light .ht-kicker {
  color: var(--tis-gold-light, #d6a64d);
}

/* ========== TEXT SECTION ========== */
.ht-text {
  position: relative;
  padding: 100px 0 90px;
  background: var(--tis-cream, #f7f5f1);
  overflow: hidden;
}

.ht-text-bg {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Manrope", sans-serif;
  font-size: clamp(80px, 18vw, 220px);
  font-weight: 800;
  color: rgba(16, 16, 15, 0.03);
  letter-spacing: -0.04em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.ht-text-slider {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.ht-text-track {
  position: relative;
  min-height: 280px;
}

.ht-text-card {
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid rgba(16, 16, 15, 0.06);
  border-radius: 16px;
  padding: 48px 44px 40px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  text-align: center;
}

.ht-text-card.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ht-quote-mark {
  position: absolute;
  top: 18px;
  left: 28px;
  font-family: Georgia, serif;
  font-size: 90px;
  line-height: 1;
  color: var(--tis-gold, #c28a2b);
  /* opacity: 0.18; */
  pointer-events: none;
}

.ht-text-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 2.2vw, 21px);
  font-style: italic;
  line-height: 1.7;
  color: var(--tis-black, #10100f);
}

.ht-text-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.ht-text-meta strong {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--tis-gold);
}

.ht-text-meta span {
  font-size: 15px;
  color: var(--tis-muted, #7a746c);
  letter-spacing: 0.02em;
}

.ht-text-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.ht-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(16, 16, 15, 0.12);
  background: #fff;
  color: var(--tis-black, #10100f);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.ht-nav-btn svg {
  width: 18px;
  height: 18px;
}

.ht-nav-btn:hover {
  background: var(--tis-black, #10100f);
  border-color: var(--tis-black, #10100f);
  color: #fff;
}

.ht-text-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ht-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(16, 16, 15, 0.18);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ht-dot.is-active {
  background: var(--tis-gold, #c28a2b);
  transform: scale(1.25);
}

/* ========== VIDEO SECTION ========== */
.ht-video {
  padding: 100px 0 90px;
  background: #141210;
  overflow: hidden;
}

.ht-video-slider {
  overflow: hidden;
  margin-top: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ht-video-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.ht-video-card {
  flex: 0 0 calc((min(1200px, 100vw - 48px) - 60px) / 4);
  min-width: 240px;
  max-width: 300px;
}

.ht-video-media {
  position: relative;
  aspect-ratio: 9 / 14;
  border-radius: 14px;
  overflow: hidden;
  background: #0c0a08;
  cursor: pointer;
}

.ht-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.ht-video-card:hover .ht-video-thumb {
  transform: scale(1.04);
}

.ht-video-iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.ht-video-iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ht-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(194, 138, 43, 0.92);
  color: #10100f;
  display: grid;
  place-items: center;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ht-video-play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.ht-video-card.is-playing .ht-video-play,
.ht-video-card:hover .ht-video-play {
  opacity: 0;
}

.ht-video-quote {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  margin: 0;
  padding: 48px 16px 16px;
  background: linear-gradient(to top, rgba(8, 6, 4, 0.92) 0%, rgba(8, 6, 4, 0.5) 55%, transparent 100%);
  color: #f7f5f1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
  line-height: 1.45;
  pointer-events: none;
}

.ht-video-card.is-playing .ht-video-quote {
  opacity: 0.35;
}

.ht-video-meta {
  padding: 14px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ht-video-meta strong {
  font-family: "Manrope", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #f7f5f1;
}

.ht-video-meta span {
  font-size: 12.5px;
  color: rgba(247, 245, 241, 0.55);
  letter-spacing: 0.03em;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .ht-video-card {
    flex-basis: calc((100vw - 88px) / 3);
    max-width: 280px;
  }
}

@media (max-width: 860px) {
  .ht-text,
  .ht-video {
    padding: 80px 0 70px;
  }

  .ht-text-card {
    padding: 40px 28px 32px;
  }

  .ht-video-card {
    flex-basis: calc((100vw - 68px) / 2);
    min-width: 220px;
  }
}

@media (max-width: 560px) {
  .ht-container {
    width: calc(100% - 32px);
  }

  .ht-text,
  .ht-video {
    padding: 70px 0 60px;
  }

  .ht-header {
    margin-bottom: 36px;
  }

  .ht-text-card {
    padding: 36px 22px 28px;
    min-height: auto;
  }

  .ht-quote-mark {
    font-size: 70px;
    left: 16px;
    top: 12px;
  }

  .ht-text-card blockquote {
    font-size: 16.5px;
  }

  .ht-video-card {
    flex-basis: 78vw;
    min-width: 240px;
    max-width: 300px;
  }

  .ht-video-media {
    aspect-ratio: 9 / 13;
  }

  .ht-video-quote {
    font-size: 13px;
    padding: 40px 14px 14px;
  }
}
