/* Client testimonial videos (2026-11-18). Cards show a poster only; the video loads when someone presses play and opens
   in a large player (assets/js/tv.js). Works inside .dark and .light sections; uses each page's own colour tokens. */
.tv-band{padding-block:clamp(48px,6vw,84px)}
.tv-band .sec-head{max-width:66ch}
.tv-band .lede{margin-top:10px}
.tv-grid{list-style:none;margin:28px 0 0;padding:0;display:grid}
.tvc{margin:0;display:flex;flex-direction:column;height:100%;border:1px solid var(--line-d,#232d45);border-radius:16px;background:#0f1626;overflow:hidden;min-width:0;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.light .tvc,.tv-light .tvc{background:#fff;border-color:var(--line,#E3E8F0);box-shadow:0 1px 2px rgba(10,14,26,.04)}
.tvc:hover{transform:translateY(-2px);border-color:var(--accent,#C9982E);box-shadow:0 10px 28px rgba(10,14,26,.18)}
.tvc-play{position:relative;display:block;aspect-ratio:4/5;background:#05080f;overflow:hidden;cursor:pointer;border:0;padding:0;width:100%}
.tvc-play img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease,opacity .2s}
.tvc:hover .tvc-play img{transform:scale(1.03)}
.tvc-play::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,8,15,0) 55%,rgba(5,8,15,.55))}
.tvc-ico{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:var(--accent,#C9982E);box-shadow:0 6px 22px rgba(0,0,0,.35);z-index:1;transition:transform .18s ease}
.tvc-ico::before{content:"";position:absolute;left:26px;top:20px;border-style:solid;border-width:12px 0 12px 19px;border-color:transparent transparent transparent var(--on-accent,#160f02)}
.tvc:hover .tvc-ico,.tvc-play:focus-visible .tvc-ico{transform:scale(1.08)}
.tvc-play:focus-visible{outline:3px solid var(--accent,#C9982E);outline-offset:-3px}
.tvc-len{position:absolute;right:10px;bottom:10px;z-index:1;font-family:var(--mono,monospace);font-size:.72rem;font-weight:600;letter-spacing:.06em;color:#fff;background:rgba(5,8,15,.72);border-radius:6px;padding:3px 7px}
.tvc figcaption{padding:16px 18px 18px;display:flex;flex-direction:column;gap:10px;flex:1}
.tvc blockquote{margin:0;font-size:1rem;line-height:1.5;font-weight:500;color:var(--txd,#EAEEF6)}
.light .tvc blockquote,.tv-light .tvc blockquote{color:var(--tx,#0A0E1A)}
.tvc .tv-who{margin-top:auto;font-family:var(--mono,monospace);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--txd-mut,#9AA6BF)}
.light .tvc .tv-who,.tv-light .tvc .tv-who{color:var(--tx-mut,#54607A)}
.tv-more{margin-top:26px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.tv-more a.tv-all{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--accent-tx,var(--accent));text-decoration:none;border-bottom:2px solid currentColor;padding-bottom:2px}
.tv-more a.tv-all:hover{opacity:.85}
.tv-note{font-size:.82rem;color:var(--txd-dim,#7a86a3)}
.light .tv-note,.tv-light .tv-note{color:var(--tx-dim,#5f6b84)}
/* one featured client on a trade page */
.tv-one{padding-block:clamp(44px,5.5vw,72px)}
.tv-one-grid{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:clamp(22px,4vw,48px);align-items:center}
.tv-one-grid>.tvc{height:auto}
.tv-one-grid>.tvc figcaption{display:none}
.tv-one-q{margin:14px 0 0;font-family:var(--disp,sans-serif);font-size:clamp(1.35rem,2.4vw,1.9rem);line-height:1.3;letter-spacing:-.015em;font-weight:600;color:var(--tx,#0A0E1A)}
.dark .tv-one-q{color:var(--txd,#EAEEF6)}
.tv-one .tv-who{display:block;margin-top:14px;font-family:var(--mono,monospace);font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--tx-mut,#54607A)}
.dark .tv-one .tv-who{color:var(--txd-mut,#9AA6BF)}
/* filters on the full page */
.tv-filters{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 0;padding:0;list-style:none}
.tv-filters button{font:600 .85rem/1 var(--disp,sans-serif);padding:10px 16px;border-radius:999px;border:1px solid var(--line-d,#232d45);background:transparent;color:var(--txd,#EAEEF6);cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.tv-filters button:hover{border-color:var(--accent,#C9982E)}
.tv-filters button[aria-pressed="true"]{background:var(--accent,#C9982E);border-color:var(--accent,#C9982E);color:var(--on-accent,#160f02)}
.tv-filters button:focus-visible{outline:3px solid var(--accent,#C9982E);outline-offset:2px}
.tv-grid li[hidden]{display:none}
/* large player */
.tv-lb{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:clamp(12px,3vw,40px);background:rgba(5,8,15,.92)}
.tv-lb.on{display:flex}
.tv-lb-in{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;max-width:min(1100px,100%)}
.tv-lb video{display:block;max-width:100%;max-height:calc(100vh - 170px);border-radius:12px;background:#000}
.tv-lb-cap{max-width:70ch;text-align:center;color:#EAEEF6;font-size:1rem;line-height:1.45}
.tv-lb-cap .tv-who{display:block;width:auto;max-width:none;text-align:center;margin-top:6px;font-family:var(--mono,monospace);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#9AA6BF}
.tv-lb-x{position:absolute;top:-6px;right:-6px;transform:translate(0,-100%);width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(15,22,38,.9);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.tv-lb-x:hover,.tv-lb-x:focus-visible{border-color:var(--accent,#C9982E);outline:none}
/* Layout (Abdullah 2026-11-19): laptops 4 in a row (home 5 rows of 4); phones 2 in a row, the first 6 only, then the
   link to all 42. Dense = home / landing pages; small = the row under a trade page's featured client. */
.tv-grid,.tv-grid.tv-dense,.tv-grid.tv-small{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.tv-grid.tv-small{margin-top:14px}
.tv-dense .tvc figcaption,.tv-small .tvc figcaption{padding:12px 14px 14px;gap:8px}
.tv-dense .tvc blockquote,.tv-small .tvc blockquote{font-size:.9rem;line-height:1.45}
.tv-dense .tvc .tv-who,.tv-small .tvc .tv-who{font-size:.64rem}
.tv-dense .tvc-ico,.tv-small .tvc-ico{width:54px;height:54px;margin:-27px 0 0 -27px}
.tv-dense .tvc-ico::before,.tv-small .tvc-ico::before{left:22px;top:17px;border-width:10px 0 10px 16px}
.tv-also{margin:clamp(28px,4vw,40px) 0 0;font-family:var(--mono,monospace);font-size:.72rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--accent-tx,var(--accent))}
@media (max-width:900px){.tv-grid,.tv-grid.tv-dense,.tv-grid.tv-small{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){
  .tv-grid,.tv-grid.tv-dense,.tv-grid.tv-small{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .tv-grid.tv-cap6>li:nth-child(n+7){display:none}
  .tvc{border-radius:12px}
  .tvc figcaption,.tv-dense .tvc figcaption,.tv-small .tvc figcaption{padding:10px 11px 12px;gap:6px}
  .tvc blockquote,.tv-dense .tvc blockquote,.tv-small .tvc blockquote{font-size:.8rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
  .tvc .tv-who,.tv-dense .tvc .tv-who,.tv-small .tvc .tv-who{font-size:.58rem;letter-spacing:.06em}
  .tvc-ico,.tv-dense .tvc-ico,.tv-small .tvc-ico{width:44px;height:44px;margin:-22px 0 0 -22px}
  .tvc-ico::before,.tv-dense .tvc-ico::before,.tv-small .tvc-ico::before{left:18px;top:13px;border-width:9px 0 9px 14px}
  .tvc-len{right:6px;bottom:6px;font-size:.62rem;padding:2px 5px}
  .tv-one-grid{grid-template-columns:1fr}.tv-one-grid>.tvc{max-width:260px}
  .tv-more{margin-top:20px}
  .tv-lb-x{top:8px;right:8px;transform:none}.tv-lb video{max-height:calc(100vh - 150px)}
}
@media (prefers-reduced-motion:reduce){.tvc,.tvc-play img,.tvc-ico{transition:none}.tvc:hover{transform:none}.tvc:hover .tvc-play img{transform:none}}
