/* Music Coast — Full Build v8 hotfix (20260114v8)
   Goal: MOBILE hero b-roll should look like desktop:
   - Background fills the ENTIRE hero (including behind the title)
   - B-roll is clearly visible (not crushed to black) while still keeping text readable
   - No YouTube hover UI

   This stylesheet must load AFTER /assets/css/styles.css
*/

/* ---------------- About cards (unchanged) ---------------- */
#about .grid.about-split{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
  margin-top: clamp(18px, 3vw, 34px);
}

#about .grid.about-split > article{
  min-width: 0;
  margin: 0;
  position: relative;
}

#about .grid.about-split > article:first-child{
  justify-self: end;
  width: min(560px, 100%);
}

#about .grid.about-split > article:last-child{
  justify-self: start;
  width: min(560px, 100%);
}

@media (max-width: 900px){
  #about .grid.about-split{ grid-template-columns: 1fr; }
  #about .grid.about-split > article:first-child,
  #about .grid.about-split > article:last-child{
    justify-self: stretch;
    width: 100%;
  }
}

/* ---------------- HERO: force true full-bleed cover ---------------- */
.hero{
  position: relative !important;
  overflow: hidden !important;
}

.hero .hero-video-bg{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden !important;
  display: block !important;
  opacity: 1 !important;
  z-index: 0 !important;
  background: radial-gradient(80% 90% at 30% 20%, rgba(212,175,55,0.18) 0%, rgba(0,0,0,0.86) 70%),
              linear-gradient(180deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.90) 100%) !important; /* fallback when video is blocked */
}

/* Keep hero content above background */
.hero > *:not(.hero-video-bg){ position: relative; z-index: 2; }

/* Ensure fade layer never clips (some mobile CSS can) */
.hero .hero-video-bg .hero-video-fade{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
}

/* Default (desktop/tablet): centered cover */
.hero .hero-video-bg iframe,
.hero .hero-video-bg video{
  pointer-events: none !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;

  width: 120vw !important;
  height: 67.5vw !important;         /* 120 * 9/16 */
  min-width: 100% !important;
  min-height: 100% !important;

  transform: translate(-50%, -50%) scale(1.14) !important;
  filter: blur(2px) !important;
  opacity: 0.60 !important;          /* a touch brighter than v7 */
}

/* Mobile: anchor and fill 100% of hero height, then scale for edge coverage */
@media (max-width: 900px){
  .hero{ min-height: 100vh !important; }
  .hero .hero-video-bg{ height: 100% !important; }
  .hero .hero-video-bg iframe,
  .hero .hero-video-bg video{
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;

    transform: scale(1.32) !important;
    transform-origin: center !important;

    filter: blur(1.5px) !important;
    opacity: 0.72 !important;        /* make b-roll visible behind “Music Coast” */
  }
}


/* If embedded media is blocked (GDPR/cookies), the iframe src stays empty — hide it so the fallback background shows */
#hero-bg-iframe:not([src]),
#hero-bg-iframe[src=""]{
  display: none !important;
}
/* Wash: keep readability, but DO NOT crush the top to black on mobile */
.hero .hero-video-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(60% 70% at 30% 35%, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.70) 55%, rgba(0,0,0,0.86) 100%);
}

@media (max-width: 900px){
  .hero .hero-video-bg::after{
    background: linear-gradient(to bottom,
      rgba(0,0,0,0.18) 0%,
      rgba(0,0,0,0.50) 55%,
      rgba(0,0,0,0.74) 100%);
  }
}

/* ---------------- Leadership avatars (unchanged) ---------------- */
.leader-avatar img{
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  object-fit: cover;
  display: block;
}
