/* Client proof: the logo strip and the testimonial carousel (homepage, /clients/).
   Without JavaScript every testimonial is shown, stacked; trust.js adds
   .is-carousel and only then are the inactive slides hidden. */

.trust{background:#fff;border-top:1px solid var(--rule,#E1E2E8);border-bottom:1px solid var(--rule,#E1E2E8)}
.trust .in{padding-top:clamp(28px,4vw,40px);padding-bottom:clamp(28px,4vw,40px);display:grid;gap:18px}
.trust .eyebrow{text-align:center;margin:0}
.trust .tagline{margin:0;text-align:center;font-family:var(--serif,"Source Serif 4",Georgia,serif);font-size:clamp(16px,1.9vw,20px);
  letter-spacing:-.01em;color:var(--ink,#161F35);text-wrap:balance}
.trust .tagline em{font-style:normal;color:var(--blue-deep,#2F55B8)}
.trust .rd{display:flex;align-items:center;justify-content:center;gap:14px;margin:4px auto 0;max-width:760px;
  padding-top:18px;border-top:1px solid var(--rule,#E1E2E8);color:var(--ink-2,#3A4258);font-size:15.5px;line-height:1.45}
.trust .rd b{font-family:var(--mono);font-size:30px;font-weight:600;letter-spacing:-.03em;color:var(--ink,#161F35);flex:none}

/* logo marquee: the track holds the tiles twice and slides by half its width */
.marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
.marquee .track{display:flex;gap:22px;width:max-content;animation:trust-scroll 28s linear infinite;
  margin:0;padding:0;list-style:none}
.marquee:hover .track,.marquee:focus-within .track{animation-play-state:paused}
@keyframes trust-scroll{to{transform:translateX(calc(-50% - 11px))}}
.logo-tile{display:flex;align-items:center;justify-content:center;height:64px;width:220px;border-radius:6px;
  padding:8px 18px;flex:none}
.logo-tile img{max-height:42px;max-width:100%;width:auto;height:auto}
.logo-tile.on-light{background:#fff;border:1px solid var(--rule,#E1E2E8)}
.logo-tile.on-dark{background:#141C2E}

/* testimonials */
.voices{background:linear-gradient(180deg,var(--paper,#F4F4F6),#fff)}
.voices .eyebrow,.voices h2{text-align:center;margin-left:auto;margin-right:auto}
.tcar{max-width:900px;margin:34px auto 0}
.tslide{margin:0 0 18px;background:#fff;border:1px solid var(--rule,#E1E2E8);border-radius:10px;
  padding:36px 40px 30px;position:relative}
.tslide::before{content:"\201C";position:absolute;top:-8px;left:22px;font-family:Georgia,serif;font-size:110px;
  color:var(--blue-wash,#EDF1FC);line-height:1}
.tslide blockquote{position:relative;margin:0;font-size:clamp(17px,1.9vw,20px);line-height:1.5;color:var(--ink,#161F35)}
.tslide blockquote mark{background:linear-gradient(transparent 58%,#D6E2FF 58%);color:inherit}
.tslide figcaption{display:flex;align-items:center;gap:16px;margin-top:26px;flex-wrap:wrap}
.tslide .who-ph{width:58px;height:58px;border-radius:50%;object-fit:cover;flex:none;
  box-shadow:0 0 0 3px #fff,0 0 0 4px var(--rule,#E1E2E8)}
.tslide .who-n{display:block;font-weight:600;color:var(--ink,#161F35)}
.tslide .who-r{display:block;color:var(--ink-soft,#6B7387);font-size:14px}
.tslide .logo-tile{margin-left:auto;height:50px;width:180px}
.tslide .logo-tile img{max-height:32px}
@media(max-width:600px){
  .tslide{padding:30px 22px 24px}
  .tslide .logo-tile{margin-left:0}
}

.tcar.is-carousel .tslide{display:none;margin-bottom:0}
.tcar.is-carousel .tslide.is-active{display:block;animation:trust-fade .45s ease}
@keyframes trust-fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.tctl{display:none;align-items:center;justify-content:center;gap:18px;margin-top:22px}
.tcar.is-carousel + .tctl{display:flex}
.tctl .tarrow{width:40px;height:40px;border-radius:50%;border:1px solid var(--rule,#E1E2E8);background:#fff;
  cursor:pointer;font-size:16px;color:var(--ink,#161F35)}
.tctl .tdots{display:flex;gap:7px}
.tctl .tdots button{width:9px;height:9px;border-radius:5px;border:0;padding:0;background:#C6CAD6;cursor:pointer;
  transition:width .2s,background .2s}
.tctl .tdots button[aria-current="true"]{background:var(--blue-deep,#2F55B8);width:24px}
.tctl button:focus-visible{outline:2px solid var(--blue,#4A79E6);outline-offset:3px}

@media (prefers-reduced-motion: reduce){
  .marquee .track{animation:none;flex-wrap:wrap;justify-content:center;width:auto}
  .marquee .track [aria-hidden="true"]{display:none}
  .tcar.is-carousel .tslide.is-active{animation:none}
}
