/* ============================================================
   VIDEO TESTIMONIALS — three client clips in a card grid.
   Built on the shared design tokens (card / border / primary).
   ============================================================ */

.vt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.vt-card {
  display: flex;
  flex-direction: column;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 0 hsl(var(--border)),
    0 18px 40px -30px rgb(15 23 42 / .22);
}

/* 16:9 responsive video frame */
.vt-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: hsl(222 25% 12%);
}
.vt-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.vt-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 20px;
  flex: 1;
}

.vt-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: hsl(142 64% 30% / .1);
  color: hsl(142 64% 30%);
}
.vt-stat-num {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.vt-stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.vt-quote {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  color: hsl(var(--foreground));
  text-wrap: pretty;
}
.vt-quote b { font-weight: 700; }

.vt-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid hsl(var(--border));
}
.vt-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  background: hsl(var(--muted));
}
.vt-cite { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vt-name {
  font-size: 17px;
  font-weight: 700;
  color: hsl(var(--foreground));
  letter-spacing: -.01em;
}
.vt-role {
  font-size: 14px;
  line-height: 1.35;
  color: hsl(var(--muted-foreground));
}

/* Dark style variants */
body.style-remix .vt-card,
body.style-contrast .vt-card {
  background: hsl(218 30% 12%);
  border-color: hsl(218 25% 22%);
  box-shadow:
    0 1px 0 hsl(218 25% 22%),
    0 18px 40px -30px rgb(0 0 0 / .5);
}
body.style-remix .vt-footer,
body.style-contrast .vt-footer { border-top-color: hsl(218 25% 22%); }

@media (max-width: 980px) {
  .vt-grid { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
}
