.testimonial-fold-page {
  --tf-purple: #9B5FFA;
  --tf-orange: #FF8A43;
  --tf-cream: #FCFAED;
  --tf-ink: #063C4A;
  --tf-gradient: url("https://gutsyhq.com/wp-content/apb-pages/_downloads/user-1/gutsy-purple-orange-gradient-bg-70f8ab98bb58c229db91.webp");
  background: var(--tf-purple);
}

.testimonial-fold-intro {
  background: var(--tf-purple);
  color: var(--tf-cream);
  padding: clamp(48px, 8vw, 88px) 20px clamp(28px, 5vw, 48px);
  text-align: center;
}

.testimonial-fold-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
}

.testimonial-fold-intro h1,
.testimonial-fold-intro h2 {
  margin: 0 auto 14px;
  max-width: 780px;
  font-family: Montserrat, sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
}

.testimonial-fold-intro > p:last-child {
  margin: 0 auto;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
  opacity: .92;
}

.testimonial-slider {
  position: relative;
  background: var(--tf-purple);
  padding: 0 0 clamp(24px, 3vw, 40px);
}

.testimonial-stage { position: relative; }

.testimonial-viewport {
  position: relative;
  display: grid;
}

.testimonial-card {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 460px);
  justify-content: center;
  align-items: end;
  gap: clamp(16px, 2vw, 28px);
  min-height: clamp(420px, 62vh, 640px);
  padding: clamp(32px, 6vw, 72px) clamp(20px, 4vw, 56px) 0;
  overflow: hidden;
  background-color: var(--tf-purple);
  background-image: linear-gradient(90deg, rgba(6,60,74,.72) 0%, rgba(6,60,74,.42) 48%, rgba(6,60,74,.08) 82%), var(--tf-gradient);
  background-size: cover;
  background-position: center;
  color: var(--tf-cream);
}

.testimonial-card {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s ease, visibility 0s linear .7s;
}

.testimonial-card.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transition: opacity .7s ease, visibility 0s;
}

/* Slider controls */
.tf-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--tf-cream);
  color: var(--tf-purple);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(6,60,74,.28);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}

.tf-arrow svg { width: 26px; height: 26px; fill: currentColor; }

.tf-arrow:hover,
.tf-arrow:focus-visible {
  background: var(--tf-orange);
  color: #2B1400;
}

.tf-arrow:focus-visible { outline: 3px solid var(--tf-cream); outline-offset: 3px; }

.tf-arrow-prev { left: clamp(8px, 2vw, 24px); }
.tf-arrow-next { right: clamp(8px, 2vw, 24px); }

.tf-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px) 20px 0;
}

.tf-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--tf-cream);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}

.tf-dot:hover { background: rgba(252,250,237,.5); }

.tf-dot.is-active {
  background: var(--tf-orange);
  border-color: var(--tf-orange);
  transform: scale(1.15);
}

.tf-dot:focus-visible { outline: 3px solid var(--tf-cream); outline-offset: 3px; }

.tf-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Video play button — overlay on reviewer portrait */
.tf-portrait-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 100%;
}

.tf-portrait-scrim {
  display: none;
}

.tf-play {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(72px, 9vw, 96px);
  height: clamp(72px, 9vw, 96px);
  padding: 0;
  border: 3px solid var(--tf-cream);
  border-radius: 50%;
  background: var(--tf-purple);
  color: var(--tf-cream);
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(6,60,74,.34);
  transition: background .3s ease, color .3s ease, transform .3s ease, opacity .35s ease, visibility 0s;
}

.tf-play svg { width: 34%; height: 34%; fill: currentColor; margin-left: 4px; }

.tf-play:hover,
.tf-play:focus-visible {
  background: var(--tf-orange);
  color: #2B1400;
  transform: scale(1.06);
}

.tf-play:focus-visible { outline: 3px solid var(--tf-cream); outline-offset: 4px; }

.tf-play::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(252,250,237,.45);
  border-radius: 50%;
}

/* Centred over the portrait, hidden at rest */
.tf-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  margin: 0;
  opacity: 0;
  visibility: hidden;
}

.tf-play-overlay:hover,
.tf-play-overlay:focus-visible { transform: translate(-50%, -50%) scale(1.06); }

.tf-portrait-media:hover .tf-play-overlay,
.tf-portrait-media:focus-within .tf-play-overlay {
  opacity: 1;
  visibility: visible;
}

/* Video modal */
.tf-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tf-modal[hidden] { display: none; }

.tf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,60,74,.88);
}

.tf-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  border-radius: 16px;
  overflow: hidden;
  background: #04262F;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

.tf-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #04262F;
}

.tf-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tf-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--tf-cream);
  color: var(--tf-ink);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: background .3s ease, color .3s ease;
}

.tf-modal-close svg { width: 18px; height: 18px; fill: currentColor; }

.tf-modal-close:hover,
.tf-modal-close:focus-visible { background: var(--tf-orange); }

.tf-modal-close:focus-visible { outline: 3px solid var(--tf-cream); outline-offset: 3px; }

body.tf-modal-open { overflow: hidden; }

.testimonial-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 620px;
  padding: clamp(24px, 3vw, 40px) clamp(22px, 3vw, 44px) clamp(28px, 3.5vw, 44px);
  border: 1px solid rgba(252,250,237,.24);
  border-radius: 20px;
  background: rgba(6,60,74,.34);
  box-shadow: 0 4px 30px rgba(0,0,0,.12);
  color: var(--tf-cream);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.testimonial-quote-mark {
  display: block;
  height: .46em;
  margin-bottom: .28em;
  font-family: Montserrat, sans-serif;
  font-size: clamp(64px, 9vw, 104px);
  font-weight: 800;
  line-height: 1;
  color: var(--tf-cream);
  opacity: .9;
}

.testimonial-copy blockquote {
  margin: 0 0 26px;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 500;
  line-height: 1.55;
}

.testimonial-copy footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(252,250,237,.3);
}

.testimonial-copy footer strong {
  font-size: 17px;
  font-weight: 800;
}

.testimonial-copy footer span {
  font-size: 14px;
  font-weight: 500;
  opacity: .9;
}

.testimonial-portrait {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}

.testimonial-portrait img {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(260px, 46vh, 500px);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 28px rgba(6,60,74,.3));
}

@media (max-width: 900px) {
  .testimonial-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 36px 20px 0;
    background-image: linear-gradient(180deg, rgba(6,60,74,.72) 0%, rgba(6,60,74,.42) 55%, rgba(6,60,74,.14) 100%), var(--tf-gradient);
  }
  .testimonial-copy {
    align-self: stretch;
    max-width: none;
    padding: 24px 20px 26px;
  }
  .testimonial-copy blockquote { font-size: 18px; }
  .testimonial-portrait img {
    height: auto;
    max-height: 300px;
    max-width: min(280px, 72%);
  }
  .tf-play-overlay {
    width: 64px;
    height: 64px;
  }
  .tf-arrow {
    width: 42px;
    height: 42px;
  }
  .tf-arrow svg { width: 20px; height: 20px; }
  .tf-arrow-prev { left: 6px; }
  .tf-arrow-next { right: 6px; }
  .tf-modal { padding: 12px; }
  .tf-modal-close {
    top: 6px;
    right: 6px;
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card { transition: none; }
  .tf-arrow,
  .tf-dot,
  .tf-play,
  .tf-portrait-scrim,
  .tf-modal-close { transition: none; }
}

/* Touch / narrow widths: hover is unavailable, so keep the play icon visible */
@media (hover: none), (max-width: 900px) {
  .tf-play-overlay {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 420px) {
  .testimonial-fold-intro h1,
  .testimonial-fold-intro h2 { font-size: 34px; }
  .testimonial-copy blockquote { font-size: 17px; }
}

/* ---------------------------------------------------------------------------
   home-v2 integration
   The fold immediately above this one on home-v2 is also Gutsy purple, so the
   two bands would otherwise read as a single oversized purple stretch. A
   hairline divider plus a slightly tightened top rhythm keeps the join
   intentional. Scoped to home-v2's page-local stylesheet only.
--------------------------------------------------------------------------- */
.testimonial-fold-page > .testimonial-fold-intro {
  border-top: 1px solid rgba(252, 250, 237, .18);
  padding-top: clamp(40px, 6vw, 64px);
}