/* ===== Video Transition ===== */
.video-transition {
  position: relative;
  z-index: 2;
  height: 600vh;
  background: var(--bg-primary);
}

.video-transition__inner {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.video-transition__frame {
  position: absolute;
  inset: 0;
  will-change: clip-path, transform;
  clip-path: inset(30% 25% 30% 25% round 20px);
}

.video-transition__bg {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 47, 167, 0.15), transparent 40%),
    radial-gradient(
      circle at 70% 70%,
      rgba(59, 109, 232, 0.12),
      transparent 40%
    ),
    linear-gradient(135deg, var(--brand-primary-muted) 0%, #ffffff 100%);
}

.video-transition__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 1;
}

.video-transition__text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  pointer-events: none;
}

.vt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  flex-shrink: 0;
}

/* ===== Responsive video transition ===== */
@media (max-width: 768px) {
  .video-transition {
    height: 500vh;
  }
}

.video-transition__frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.vt-word {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: var(--tracking-tight);
  color: #fff !important;
  text-shadow:
    0 3px 10px rgba(0, 0, 0, 0.95),
    0 0 20px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(255, 255, 255, 0.4);
  opacity: 0;
  will-change: transform, opacity;
}
