/* "Client proof" — testimonial carousel */
.ts-sec { position: relative; overflow: hidden; background: #000; }

/* atmospheric light-streak backdrop — lives in the upper-LEFT corner only,
   blooming from the top-left and fading out well before it reaches the cards. */
.ts-streak-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("assets/how-4.png");
  background-repeat: no-repeat;
  background-position: -52% calc(62% + 60px);
  background-size: 54% auto;
  opacity: 0;
  will-change: clip-path, opacity;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 26%, transparent 50%);
  mask-image: linear-gradient(90deg, #000 0%, #000 26%, transparent 50%);
}
/* 1. streak loads first, wiping in left → right */
.ts-sec.in .ts-streak-bg { animation: tsStreakWipe 0.72s var(--ease) forwards; }
@keyframes tsStreakWipe {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ts-streak-bg { opacity: 1; }
  .ts-sec.in .ts-streak-bg { animation: none; }
}
.ts-head { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 44px; align-items: end; }
.ts-head .p-lead { max-width: 600px; }
.ts-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding-bottom: 6px; }
.ts-badge-proof { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-ui); font-weight: 600; font-size: 12px; color: var(--fg2); padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-default); white-space: nowrap; }
.ts-badge-proof i { color: var(--magenta-300); font-size: 14px; }
@media (max-width: 900px) { .ts-head { grid-template-columns: 1fr; gap: 24px; } .ts-badges { justify-content: flex-start; } }

/* carousel — 2. comes in the moment the streak wipe ends (delay ≈ streak duration) */
.ts-wall { margin-top: 52px; opacity: 0; }
.ts-sec.in .ts-wall { animation: tsWallIn .7s cubic-bezier(.22,1,.36,1) .6s both; }
@keyframes tsWallIn { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ts-wall { opacity: 1; } .ts-sec.in .ts-wall { animation: none; } }
.tsx-viewport { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 83%, transparent 99%);
  mask-image: linear-gradient(90deg, #000 0%, #000 83%, transparent 99%); }
.tsx-track { display: flex; align-items: stretch; will-change: transform; }
.tsx-dots { display: flex; gap: 8px; justify-content: center; }
.tsx-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; position: relative; }
.tsx-arrows { display: flex; gap: 10px; position: absolute; right: 0; }
.tsx-arrow {
  width: 40px; height: 40px; flex-shrink: 0; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; color: var(--fg1); font-size: 20px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-default);
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.tsx-arrow:hover { border-color: var(--border-brand); color: var(--magenta-300); background: rgba(242,100,34,0.08); box-shadow: 0 0 16px rgba(242,100,34, calc(0.22 * var(--glow-mult))); }
.tsx-arrow:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
@media (max-width: 760px) {
  .tsx-arrows { position: static; }
}
.tsx-dot { width: 7px; height: 7px; padding: 0; border: none; cursor: pointer; border-radius: 999px; background: rgba(255,255,255,0.2); transition: width .25s var(--ease), background .25s var(--ease); }
.tsx-dot:hover { background: rgba(255,255,255,0.4); }
.tsx-dot.on { width: 22px; background: var(--magenta-400); box-shadow: 0 0 10px rgba(242,100,34, calc(0.7 * var(--glow-mult))); }

/* card */
.tsx-card { position: relative; overflow: hidden; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; box-sizing: border-box;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)), linear-gradient(180deg, rgba(16,14,20,0.6), rgba(11,10,15,0.6));
  border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.16); transition: border-color .2s; }
.tsx-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(160deg, rgba(255,255,255,0.12) 0%, transparent 40%); }
.tsx-card > * { position: relative; z-index: 1; }

.tsx-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; min-height: 24px; }
.tsx-logo { display: flex; align-items: center; min-width: 0; }
.tsx-logo img { height: 21px; width: auto; max-width: 132px; object-fit: contain; object-position: left center; opacity: 0.95; }
.tsx-logo--tall img { height: 38px; max-width: 64px; }
.tsx-logo-txt { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: #fff; }
.ts-stars { display: inline-flex; gap: 2px; color: var(--magenta-400); font-size: 13px; letter-spacing: 1px; flex-shrink: 0; }
.ts-rating { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
.ts-rating-row { display: inline-flex; align-items: center; gap: 6px; }
.ts-score { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--fg1); }
.ts-plat { height: 14px; width: auto; max-width: 82px; object-fit: contain; object-position: right center; opacity: 0.9; }

.ts-hl { font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--violet-300); margin: 0; }
.ts-quote { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: 16px; line-height: 1.5; color: var(--fg1); margin: 10px 0 0; letter-spacing: -0.01em; text-wrap: pretty; }
.ts-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }

.tsx-divider { margin-top: auto; height: 1px; background: var(--border-subtle); }
.tsx-person { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.ts-avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #fff; background: var(--grad-halo-soft); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 4px 12px rgba(0,0,0,0.4); overflow: hidden; }
.ts-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.tsx-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; font-family: var(--font-ui); font-size: 13px; line-height: 1.3; }
.tsx-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--fg1); }
.tsx-role { color: var(--fg3); font-weight: 400; }
.tsx-co { color: var(--fg2); font-weight: 500; }
.tsx-dotsep { color: var(--fg3); }

/* bottom CTA */
.ts-cta { max-width: 760px; margin: 60px auto 0; text-align: center; padding: 44px; border-radius: 24px; position: relative; }
.ts-cta .sw-cta-h { margin: 0 auto; }
.ts-cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
