/* Shared testimonials ticker for new-site pages.
   Motion follows the rolling ticker on /theexodussystem/index.html.
   Type follows index.html: Playfair Display 800 section headlines,
   Inter eyebrow and body. Classes are namespaced as .tt-* so they do
   not collide with the site-wide "As Featured In" press .ticker. */

.tt-endorse {
  --tt-bg: #1a1714;
  --tt-card: #2c2924;
  --tt-line: rgba(245, 232, 199, 0.16);
  --tt-text: #f4f2ee;
  --tt-muted: #c9c5bd;
  --tt-gold: #F2C14E;
  background: var(--tt-bg);
  color: var(--tt-text);
  overflow: hidden;
  padding: 64px 0 72px;
}

.tt-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.tt-kicker {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tt-gold);
  margin: 0;
}

.tt-headline {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: none;
  margin: 10px 0 0;
  color: var(--tt-text);
}

.tt-ticker {
  margin-top: 18px;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.tt-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: tt-tick 56s linear infinite;
}

.tt-ticker:hover .tt-track,
.tt-ticker:focus-within .tt-track {
  animation-play-state: paused;
}

@keyframes tt-tick {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 7px)); }
}

@media (prefers-reduced-motion: reduce) {
  .tt-track { animation: none; }
  .tt-ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

.tt-quote {
  margin: 0;
  flex: 0 0 auto;
  width: min(78vw, 380px);
  background: var(--tt-card);
  border: 1px solid var(--tt-line);
  border-radius: 12px;
  padding: 14px 16px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.tt-stars {
  display: block;
  width: 86px;
  height: 14px;
  color: var(--tt-gold);
}

.tt-stars svg {
  display: block;
  width: 86px;
  height: 14px;
}

.tt-quote blockquote {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: var(--tt-text);
  font-style: normal;
  font-weight: 400;
}

.tt-who {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  color: var(--tt-muted);
}

.tt-who strong {
  color: var(--tt-text);
  font-weight: 600;
}

@media (max-width: 900px) {
  .tt-headline { font-size: 34px; }
}

@media (max-width: 768px) {
  .tt-endorse { padding: 48px 0 56px; }
  .tt-headline { font-size: 32px; }
}
