/* Testimonial swipe deck — shared by index.html and ai-mock-oral-boards.html.
   Card deck (motion ported from khanhngo.ai): the front card sits on a fanned stack of the real next cards
   (data-pos 0/1/2, set by testimonials.js); going forward throws the front card off to the left and the deck
   steps up. Arrows, dots, drag/swipe, arrow keys.
   Auto-advances every ~4s (see testimonials.js). Without JS (.tq lacks .js) every card simply stacks in order. */
/* overflow-x:clip: the waiting card sits 48px to the side; clip it so phones get no sideways scroll */
.lp-quotes{border-top:1px solid var(--line);overflow-x:clip}
.lp-quotes h2{font-size:32px;margin-bottom:28px}
.tq{position:relative;max-width:860px;margin:0 auto;padding:0 64px}
.tq-stage{position:relative;display:grid;outline:none;touch-action:pan-y;cursor:grab;perspective:1400px}
.tq.js .tq-stage{padding-bottom:30px}
.tq-stage:active{cursor:grabbing}
/* deep-navy panel: the same ground as the hero and CTA bands, lit from the top-right corner */
.tq-card{grid-area:1/1;position:relative;z-index:1;margin:0 0 16px;display:flex;align-items:center;gap:30px;background:radial-gradient(120% 150% at 100% 0%,var(--navy-mid) 0%,var(--navy) 48%,var(--navy-deep) 100%);border:1px solid var(--navy-line);border-radius:18px;padding:44px 48px 42px 40px;box-shadow:0 28px 60px rgba(14,39,64,.28),0 2px 6px rgba(14,39,64,.12)}
.tq.js .tq-card{margin:0;transform-origin:50% 100%;pointer-events:none;opacity:0;transform:translateY(54px) scale(.84);z-index:0;transition:transform .8s cubic-bezier(.16,1,.3,1),opacity .5s ease}
.tq.js .tq-card > *{transition:opacity .4s ease .45s}
.tq.js .tq-card[data-pos="0"]{opacity:1;transform:none;z-index:3;pointer-events:auto}
.tq.js .tq-card[data-pos="1"]{opacity:1;transform:translateY(18px) scale(.95) rotate(-1.4deg);z-index:2}
.tq.js .tq-card[data-pos="2"]{opacity:.9;transform:translateY(36px) scale(.9) rotate(1.6deg);z-index:1}
.tq.js .tq-card[data-pos="1"] > *,.tq.js .tq-card[data-pos="2"] > *{opacity:0}
.tq.js .tq-card.is-thrown{opacity:0;z-index:4;transform:translateX(-115%) translateY(-20px) rotate(-14deg);transition:transform .75s cubic-bezier(.5,0,.75,0),opacity .5s ease-in}
.tq.js .tq-card.is-thrown > *{opacity:1;transition:none}
.tq.js .tq-card.is-snap,.tq.js .tq-card.is-snap > *{transition:none}
.tq-mark{flex:none;font-family:var(--serif);font-size:128px;line-height:.78;color:var(--teal-bright);margin-top:-2px;user-select:none}
.tq-body blockquote{margin:0;font-family:var(--serif);font-size:22px;line-height:1.5;color:#fff;text-wrap:pretty}
.tq-body figcaption{margin-top:22px;display:flex;align-items:center;gap:12px;font-size:13.5px;font-weight:600;letter-spacing:.01em;color:#C9D6E3}
.tq-body figcaption::before{content:"";flex:none;width:28px;height:1px;background:var(--teal-bright)}
.tq-nav{position:absolute;top:calc(50% - 22px);width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--navy);display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 16px rgba(19,49,76,.10);transition:border-color .18s ease,color .18s ease}
.tq-nav svg{width:18px;height:18px}
.tq-nav:hover{border-color:var(--teal-cta);color:var(--teal-cta)}
.tq-prev{left:0}.tq-next{right:0}
.tq-nav{z-index:5}
.tq-dots{display:flex;justify-content:center;gap:10px;margin-top:40px}
.tq-dots button{width:9px;height:9px;padding:0;border:0;border-radius:99px;background:#C9D3DE;cursor:pointer;transition:width .25s ease,background .25s ease}
.tq-dots button[aria-current="true"]{width:26px;background:var(--teal-cta)}
.tq:not(.js) .tq-nav,.tq:not(.js) .tq-dots{display:none}
.tq.js .tq-dots{margin-top:14px}
.tq-nav:focus-visible,.tq-dots button:focus-visible,.tq-stage:focus-visible{outline:2px solid var(--teal-bright);outline-offset:3px}
@media(max-width:760px){
  .tq{padding:0}
  .tq-card{flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;padding:28px 24px 30px}
  .tq-mark{font-size:88px}
  .tq-body blockquote{font-size:18.5px}
  .tq-nav{top:auto;bottom:-6px}
  .tq-prev{left:calc(50% - 110px)}.tq-next{right:calc(50% - 110px)}
  .tq-dots{margin-top:46px;padding-bottom:4px}
  .tq.js .tq-dots{margin-top:34px}
  .lp-quotes h2{font-size:27px}
}
@media(prefers-reduced-motion:reduce){.tq.js .tq-card,.tq.js .tq-card > *{transition:none}.tq-dots button{transition:none}}
