
:root {
  --pink:       #e6007e;
  --blue:       #009fe3;
  --teal:       #27cfc3;
  --grad:       linear-gradient(135deg, #e6007e 0%, #009fe3 100%);
  --dark:       #0d0d0d;
  --dark-700:   #111111;
  --dark-600:   #1a1a1a;
  --dark-500:   #242424;
  --dark-400:   #2e2e2e;
  --grey-500:   #676767;
  --grey-400:   #888888;
  --grey-100:   #e0e0e0;
  --white:      #ffffff;

  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-serif:   'EB Garamond', Georgia, serif;  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body:    'Poppins', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 4px;
  --radius-lg: 16px;

  --grid-max: 2000px;
  --grid-margin: clamp(24px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--grey-100);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════
   VIDEO TESTIMONIALS — 9:16 PORTRAIT
   ═══════════════════════════════════════════════════════════ */

.vtm {
  position: relative;
  width: 100%;
  padding: clamp(80px, 10vw, 140px) var(--grid-margin);
  overflow: hidden;
}

.vtm::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(230,0,126,0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 60%, rgba(0,159,227,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ─── Header ─────────────────────────────────────────────── */

.vtm-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 1;
}

.vtm-eyebrow {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.vtm-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--grad);
  flex-shrink: 0;
}

.vtm-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 16px;
}

.vtm-headline em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vtm-sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ─── Grid — 4 columns ──────────────────────────────────── */

.vtm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  max-width: var(--grid-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ─── Video Card ─────────────────────────────────────────── */

.vtm-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--dark-500);
  cursor: pointer;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.vtm-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 24px 64px rgba(0,0,0,0.5),
    0 0 40px rgba(230,0,126,0.08);
}

/* Poster image */
.vtm-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.vtm-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.vtm-card.is-playing .vtm-poster {
  opacity: 0;
  pointer-events: none;
}

/* Bottom gradient overlay */
.vtm-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    0deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.3) 35%,
    transparent 60%
  );
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.vtm-card.is-playing .vtm-overlay { opacity: 0; }

/* Play button */
.vtm-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pink);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 4px 24px rgba(230,0,126,0.4);
}

.vtm-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 32px rgba(230,0,126,0.5);
}

.vtm-play svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
  margin-left: 2px;
}

.vtm-card.is-playing .vtm-play { opacity: 0; pointer-events: none; }

/* Video element */
.vtm-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}

/* ─── Info overlay (bottom) ──────────────────────────────── */

.vtm-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 24px 20px;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.vtm-card.is-playing .vtm-info { opacity: 0; }

.vtm-quote {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vtm-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vtm-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dark-500);
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.2);
}

.vtm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vtm-name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.vtm-role {
  font-size: 12px;
  font-weight: 400;
  color: var(--grey-400);
}

/* ─── Stars ──────────────────────────────────────────────── */

.vtm-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.vtm-star {
  width: 12px;
  height: 12px;
  fill: #FFD700;
}

/* ─── Duration badge ─────────────────────────────────────── */

.vtm-duration {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  transition: opacity 0.3s ease;
}

.vtm-card.is-playing .vtm-duration { opacity: 0; }

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.15s; }
.reveal-delay-4 { transition-delay: 0.3s; }
.reveal-delay-5 { transition-delay: 0.45s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1400px) {
  .vtm-headline { font-size: clamp(2.5rem, 5vw, 4.5rem); }
}

@media (max-width: 1000px) {
  .vtm-grid { grid-template-columns: repeat(2, 1fr); }
  .vtm-play { width: 48px; height: 48px; }
  .vtm-play svg { width: 18px; height: 18px; }
}

@media (max-width: 600px) {
  .vtm-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vtm-headline { font-size: clamp(2rem, 7vw, 3rem); }
  .vtm-info { padding: 16px 14px; }
  .vtm-quote { font-size: 12px; -webkit-line-clamp: 2; }
  .vtm-play { width: 44px; height: 44px; }
  .vtm-play svg { width: 16px; height: 16px; }
  .vtm-name { font-size: 12px; }
  .vtm-avatar { width: 28px; height: 28px; }
}

@media (max-width: 400px) {
  .vtm-grid { gap: 10px; }
  .vtm-info { padding: 12px 10px; }
  .vtm-quote { display: none; }
}

