/* testimonials-v2-20261102 (James, UI): 4 video cards only, no tabs.
   Based on testimonials-20261102: tobodigi.com testimonials, styled to match the live #work "Website Design" section.
   Same tokens: section #050505, cards #0b0b0b with a 1px #2a2a2a border and 21px radius, visual panel #111,
   pill filters (active = lime #82CD17 with #101012 text), outlined lime badge, 13px/900 eyebrow, lime dots.
   Everything is scoped to #testimonials.tdt. Mobile first. */
#testimonials.tdt{background:#050505;color:#fff;padding:72px 0;font-family:Inter,ui-sans-serif,Arial,sans-serif}
.tdt .tdt-wrap{max-width:1220px;margin:0 auto;padding:0 20px}
.tdt .eyebrow{color:#82CD17;font-size:13px;font-weight:900;letter-spacing:2.2px;text-transform:uppercase;margin:0}
.tdt h2{color:#fff;font-size:clamp(32px,8vw,48px);line-height:1.12;letter-spacing:-.02em;margin:10px 0 12px;font-weight:700}
.tdt .tdt-intro{color:rgba(255,255,255,.72);font-size:16px;line-height:1.6;max-width:60ch;margin:0}

/* Brand tabs: same pills as .filter */
.tdt .tdt-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 24px;padding:0;list-style:none}
.tdt .tdt-tab{min-height:44px;padding:9px 16px;border-radius:99px;border:1px solid #3a3a3a;background:transparent;color:#fff;font:inherit;font-size:15px;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.tdt .tdt-tab:hover{border-color:#82CD17}
.tdt .tdt-tab[aria-selected="true"]{background:#82CD17;border-color:#82CD17;color:#101012;font-weight:700}
.tdt .tdt-tab:focus-visible,.tdt .tdt-play:focus-visible,.tdt .tdt-arrow:focus-visible{outline:3px solid #82CD17;outline-offset:3px}

/* Slider: swipeable scroll-snap row on mobile, 4 cards visible on desktop (like #workSlider) */
.tdt .tdt-slider-wrap{position:relative}
.tdt .tdt-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 1px 16px;margin:0;list-style:none;scrollbar-width:none;align-items:stretch}
.tdt .tdt-track::-webkit-scrollbar{display:none}
.tdt .tdt-card{flex:0 0 82%;scroll-snap-align:start;display:flex;flex-direction:column;background:#0b0b0b;border:1px solid #2a2a2a;border-radius:21px;overflow:hidden;min-width:0}
.tdt .tdt-card[hidden]{display:none}

/* Visual panel (top of the card), like .caseVisual */
.tdt .tdt-visual{position:relative;background:#111;display:flex;align-items:flex-start;padding:56px 20px 20px;min-height:200px;flex:1 1 auto}
.tdt .tdt-badge{position:absolute;top:14px;right:14px;padding:6px 10px;border-radius:99px;border:1px solid #82CD17;background:rgba(0,0,0,.78);color:#82CD17;font-size:11px;font-weight:900;letter-spacing:.88px;text-transform:uppercase;z-index:2}
.tdt .tdt-quote{margin:0;color:#fff;font-size:18px;line-height:1.5;font-weight:600}
.tdt .tdt-quote::before{content:"\201C";display:block;color:#82CD17;font-size:56px;line-height:.8;font-weight:900;margin-bottom:6px}

/* 9:16 video frame: poster first, nothing downloads until the user taps play */
.tdt .tdt-card--video .tdt-visual{padding:0;min-height:0;aspect-ratio:9/16;align-items:stretch;flex:0 0 auto}
.tdt .tdt-video{width:100%;height:100%;object-fit:cover;display:block;background:#111}
.tdt .tdt-play{position:absolute;inset:auto auto 50% 50%;transform:translate(-50%,50%);width:68px;height:68px;border-radius:50%;border:0;background:#82CD17;color:#101012;cursor:pointer;display:grid;place-items:center;box-shadow:0 10px 30px rgba(0,0,0,.45);transition:transform .2s}
.tdt .tdt-play:hover{transform:translate(-50%,50%) scale(1.06)}
.tdt .tdt-play svg{width:24px;height:24px;margin-left:4px}
.tdt .tdt-card--video.is-playing .tdt-play{display:none}
.tdt .tdt-len{position:absolute;left:14px;bottom:14px;padding:4px 9px;border-radius:99px;background:rgba(0,0,0,.78);color:#fff;font-size:12px;font-weight:700}
.tdt .tdt-card--video.is-playing .tdt-len{display:none}

/* Meta block (bottom of the card), like .caseMeta */
.tdt .tdt-meta{padding:18px 20px 20px;display:flex;gap:12px;align-items:center;margin-top:auto}
.tdt .tdt-avatar{flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#1b1b1b;border:1px solid #82CD17;color:#82CD17;display:grid;place-items:center;font-weight:800;font-size:15px}
.tdt .tdt-name{margin:0;color:#fff;font-size:17px;font-weight:700;line-height:1.3}
.tdt .tdt-role{margin:2px 0 0;color:rgba(255,255,255,.72);font-size:13px;font-weight:600;line-height:1.4}
.tdt .tdt-card--video .tdt-pull{margin:0;padding:16px 20px 0;color:rgba(255,255,255,.86);font-size:15px;line-height:1.55}

/* Arrows and dots, like .td-work-arrow and .td-work-dots */
.tdt .tdt-arrow{display:none}
.tdt .tdt-dots{display:flex;justify-content:center;gap:7px;margin:8px 0 0}
.tdt .tdt-dots span{width:7px;height:7px;border-radius:50%;background:#444}
.tdt .tdt-dots span.on{background:#82CD17;width:20px;border-radius:99px}
.tdt .tdt-cta{display:flex;justify-content:center;margin-top:28px}
.tdt .tdt-cta a{display:inline-flex;align-items:center;min-height:48px;padding:0 22px;border-radius:99px;background:#82CD17;color:#050505;font-weight:800;text-decoration:none}

@media (min-width:700px){.tdt .tdt-card{flex-basis:calc((100% - 16px)/2)}}
@media (min-width:1100px){
  #testimonials.tdt{padding:112px 0}
  .tdt .tdt-slider-wrap{padding:0 52px}
  .tdt .tdt-track{gap:18px}
  .tdt .tdt-card{flex-basis:calc((100% - 56px)/4)}
  .tdt .tdt-arrow{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:1px solid #3a3a3a;background:#0b0b0b;color:#fff;font-size:22px;cursor:pointer;z-index:3}
  .tdt .tdt-arrow:hover{border-color:#82CD17}
  .tdt .tdt-prev{left:0}.tdt .tdt-next{right:0}
}
@media (prefers-reduced-motion:reduce){.tdt *{transition:none!important;scroll-behavior:auto!important}}

/* v2: 4 videos. Swipe row with the next card peeking on mobile, 4 columns from 1100px. No arrows, tabs or dots. */
.tdt .tdt-track{gap:14px}
.tdt .tdt-card{flex:0 0 78%}
.tdt .tdt-meta{margin-top:auto}
.tdt .tdt-card--video .tdt-pull{flex:0 0 auto}
@media (min-width:700px){.tdt .tdt-card{flex-basis:calc((100% - 14px)/2)}}
@media (min-width:1100px){
  .tdt .tdt-slider-wrap{padding:0}
  .tdt .tdt-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;overflow:visible;scroll-snap-type:none}
  .tdt .tdt-card{flex:none}
}
.tdt .tdt-slider-wrap{margin-top:28px}
