/* ============================================================
   v3 additions — Video banner + Speaker reel
   Loaded AFTER styles.css; extends, does not replace.
   ============================================================ */

/* --- Speaker video banner: thin B-roll strip above the hero ---
   Lives in its own <section class="video-banner"> placed BEFORE
   the .hero section. Does not touch hero layout — completely isolated. */
.video-banner {
  position: relative;
  width: 100%;
  height: 34vh;
  min-height: 280px;
  max-height: 440px;
  background: var(--navy);
  overflow: hidden;
  padding: 0;
  /* Small ivory breath between the video and the hero photo below it */
  margin: 0 0 28px;
}
.video-banner video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.video-banner::after {
  /* Soft dark fade at the bottom edge so it transitions cleanly into the hero below */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 26, 38, 0) 0%, rgba(15, 26, 38, 0) 55%, rgba(15, 26, 38, 0.55) 100%);
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 640px) {
  .video-banner { height: 26vh; min-height: 200px; }
}

/* --- Hero video element ---
   The <video> sits ABOVE the static <img> in .hero-bg, so until an MP4
   loads the existing image still fills the hero. The dark/light overlay
   (.hero-bg::after) is bumped above both via z-index. */
.hero-bg .hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  z-index: 1;
  display: block;
  background: transparent;
}
.hero-bg::after { z-index: 2; }

/* Subtle indicator that this hero slot accepts a video file.
   Disable by adding class video-loaded (via JS or by hand once MP4 is in place). */
.hero-bg.video-pending { position: relative; }
.hero-bg.video-pending::before {
  content: '▶ Hero B-roll slot — drop hero-broll.mp4 into /videos/';
  position: absolute;
  top: 24px; right: 24px;
  z-index: 3;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(15, 26, 38, 0.7);
  padding: 8px 14px;
  border: 1px solid rgba(184, 153, 104, 0.5);
  opacity: 0.85;
  pointer-events: none;
}
.hero-bg.video-loaded::before { display: none; }

/* --- Speaker reel section --- */
.reel-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.reel-featured { margin-bottom: 64px; }
.reel-card {
  display: block;
  text-decoration: none;
  transition: transform .4s var(--ease-out);
}
.reel-card:hover { transform: translateY(-4px); }
.reel-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  overflow: hidden;
  border: 1px solid rgba(184, 153, 104, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .3s var(--ease);
}
.reel-card:hover .reel-thumb { border-color: var(--gold); }
.reel-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,26,38,0.55) 0%, rgba(15,26,38,0.82) 100%);
  z-index: 1;
}
.reel-thumb iframe,
.reel-thumb video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 2;
}
.reel-placeholder {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
}
.play-icon {
  width: 72px; height: 72px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: rgba(184, 153, 104, 0.12);
  transition: all .3s var(--ease);
}
.reel-card:hover .play-icon {
  background: var(--gold);
  transform: scale(1.08);
}
.play-icon::before {
  content: '';
  width: 0; height: 0;
  border-left: 18px solid var(--gold);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
  transition: border-left-color .3s var(--ease);
}
.reel-card:hover .play-icon::before { border-left-color: var(--ivory); }

.play-icon--large {
  width: 110px; height: 110px;
}
.play-icon--large::before {
  border-left-width: 28px;
  border-top-width: 16px;
  border-bottom-width: 16px;
  margin-left: 6px;
}

.reel-pending {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0;
}
.reel-meta { padding: 20px 0 0; }
.reel-meta h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ivory);
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 6px;
}
.reel-meta p {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 241, 227, 0.6);
  margin: 0;
}
.reel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1000px) {
  .reel-grid { grid-template-columns: 1fr; }
  .play-icon { width: 56px; height: 56px; }
  .play-icon::before { border-left: 14px solid var(--gold); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
  .play-icon--large { width: 80px; height: 80px; }
}
