/*
Theme Name: Redeem Video Takeover Cinematic
Theme URI: https://example.com/
Author: John Lockmer
Description: EasyWP-compatible WordPress theme with fullscreen Vimeo video takeover, lower-third cinematic text, and animated intro treatment.
Version: 1.3.0
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: redeem-video-takeover
*/

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
}

.site-wrap {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.video-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: #000;
}

.video-bg iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.30) 36%, rgba(0,0,0,0.08) 65%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 0 2rem 9vh;
  box-sizing: border-box;
}

.hero-inner {
  max-width: 980px;
  width: 100%;
  opacity: 0;
  transform: translateY(28px);
  animation: heroRise 1.4s ease-out 0.35s forwards;
}

.site-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1.0s ease-out 0.7s forwards;
}

.site-title {
  margin: 0 0 0.55rem;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0,0,0,0.45);
}

.site-tagline {
  margin: 0 auto 1.6rem;
  font-size: clamp(1rem, 2vw, 1.32rem);
  max-width: 760px;
  line-height: 1.5;
  opacity: 0.96;
  text-shadow: 0 6px 30px rgba(0,0,0,0.45);
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-button {
  display: inline-block;
  padding: 0.95rem 1.45rem;
  border: 1px solid rgba(255,255,255,0.88);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-button:hover,
.hero-button:focus {
  transform: translateY(-2px);
  background: #fff;
  color: #000;
}

.hero-button-secondary {
  background: rgba(0,0,0,0.16);
}

.fade-curtain {
  position: fixed;
  inset: 0;
  z-index: 3;
  background: #000;
  animation: curtainReveal 1.6s ease forwards;
  pointer-events: none;
}

@keyframes curtainReveal {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes heroRise {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 0.85; }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 1.1rem 8vh;
  }

  .video-bg iframe {
    width: 177.77777778vh;
    min-width: 100vw;
    min-height: 56.25vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .site-kicker {
    letter-spacing: 0.24em;
    font-size: 0.75rem;
  }

  .hero-actions {
    gap: 0.7rem;
  }
}
