/* Testimonials: swipeable gallery of the two-up review cards (Joe, Nov 16). Native scroll-snap does the
   swiping; testimonials-gallery.js only wires the arrows and dots. */
#testimonials .tgal{position:relative;margin-top:clamp(28px,3vw,44px)}
#testimonials .quotes{display:flex!important;grid-template-columns:none;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;
  padding:6px 4px 40px;margin:8px -4px -24px;align-items:stretch}
#testimonials .quotes::-webkit-scrollbar{display:none}
#testimonials .quotes:focus-visible{outline:2px solid #6328F0;outline-offset:6px}
#testimonials .quote{flex:0 0 calc((100% - 16px) / 2);scroll-snap-align:start;display:flex;flex-direction:column;min-width:0}
#testimonials .quote__text{flex:1 1 auto}
#testimonials .quote__who{margin-top:auto}

#testimonials .tgal__nav{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:22px}
#testimonials .tgal__btn{appearance:none;border:0;cursor:pointer;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;
  color:#fff;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,0) 40%),#1b1524;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 12px 24px -12px rgba(20,14,30,.8);transition:background .2s,box-shadow .2s,opacity .2s}
#testimonials .tgal__btn:hover{background:#2a1c45;box-shadow:inset 0 0 0 1px rgba(124,58,237,.7),0 0 22px -6px rgba(124,58,237,.7)}
#testimonials .tgal__btn:focus-visible{outline:2px solid #6328F0;outline-offset:3px}
#testimonials .tgal__btn[disabled]{opacity:.35;cursor:default;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
#testimonials .tgal__dots{display:flex;gap:2px}
#testimonials .tgal__dot{appearance:none;border:0;background:none;cursor:pointer;width:24px;height:44px;display:grid;place-items:center;padding:0}
#testimonials .tgal__dot::before{content:"";width:9px;height:9px;border-radius:50%;background:rgba(21,17,27,.28);transition:background .2s,transform .2s}
#testimonials .tgal__dot[aria-current="true"]::before{background:#6328F0;transform:scale(1.25)}
#testimonials .tgal__dot:focus-visible{outline:2px solid #6328F0;outline-offset:-6px;border-radius:8px}

@media (max-width:700px){
  #testimonials .quotes{gap:12px;scroll-padding-left:0}
  #testimonials .quotes{align-items:flex-start}
  #testimonials .quote{flex-basis:86%}
  #testimonials .quote__text{flex:none}
  #testimonials .quote__who{margin-top:0}
  #testimonials .tgal__nav{justify-content:center}
}
@media (prefers-reduced-motion:reduce){#testimonials .quotes{scroll-behavior:auto}#testimonials .tgal__btn,#testimonials .tgal__dot::before{transition:none}}

/* Shorter cards (Joe, Nov 16): verbatim pull-quote up top, full review clamped to four lines with Read more. */
#testimonials .quote{padding:40px 34px 28px}
#testimonials .quote__mark{font-size:56px;top:12px;left:28px}
#testimonials .quote__pull{position:relative;margin:14px 0 12px;font-family:var(--display);font-weight:600;font-size:clamp(19px,1.5vw,22px);line-height:1.3;letter-spacing:-.01em;color:#fff;text-wrap:balance}
#testimonials .quote__text{flex:0 0 auto;font-size:16px!important;line-height:1.6!important;color:var(--hp-ink-2,#c9c3d4)!important}
#testimonials .quote__text[data-clamp]:not(.is-open){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden}
#testimonials .quote__more{appearance:none;border:0;background:none;padding:8px 0;margin:2px 0 0;align-self:flex-start;cursor:pointer;font:600 13px/1 var(--body,inherit);letter-spacing:.04em;color:#a98bff}
#testimonials .quote__more:hover{color:#fff}
#testimonials .quote__more:focus-visible{outline:2px solid #6328F0;outline-offset:3px;border-radius:4px}
#testimonials .quote__more[hidden]{display:none}
#testimonials .quote__who{margin-top:auto;padding-top:18px}
#testimonials .quote__more + .quote__who,#testimonials .quote__text + .quote__who{margin-top:auto}
#testimonials .quote{gap:0}
#testimonials .quote__text + *{margin-top:0}
@media (max-width:700px){
  #testimonials .quote{padding:36px 22px 24px}
  #testimonials .quote__pull{font-size:19px}
}
