/* ============================================================
   hero.css — Full-bleed hero with a transparent navbar overlaid
   on top (hero sits BEHIND the navbar), a play button, and text.
   Uses design tokens from global.css.
   ============================================================ */

/* ---- Overlaid site header (transparent, in front of the hero) ---- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  color: #ffffff;
}

.site-header__inner {
  max-width: var(--page-max-width, 72rem);
  margin: 0 auto;
  padding: 1.5rem var(--page-gutter, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand: logo + tagline */
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}
.site-header__logo {
  height: 96px;
  width: auto;
  margin-right: -3rem;
}
.site-header__tagline {
  font-family: var(--font-nav, "Inter", sans-serif);
  font-size: 0.85rem;
  font-weight: 300;
  max-width: 16ch;
  line-height: 1.2;
  opacity: 0.95;
}

/* Nav */
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-nav__link {
  font-family: var(--font-nav, "Inter", sans-serif);
  font-size: 0.9rem;
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.site-nav__link:hover { background: rgba(255, 255, 255, 0.12); }
.site-nav__link.is-active { background: rgba(255, 255, 255, 0.16); }

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-nav, "Inter", sans-serif);
  font-size: 0.9rem;
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  margin-left: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-header__cta:hover {
  background: #ffffff;
  color: #000000;
}

/* Hamburger toggle (shown on mobile only) */
.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 30;
}
.site-header__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.site-header.is-open .site-header__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .site-header__toggle-bar:nth-child(2) { opacity: 0; }
.site-header.is-open .site-header__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-color: #0d0d0d;
  color: #ffffff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay so the text stays legible over the video */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.80) 100%);
}

/* Sound (mute / unmute) control — lower-left, inside .hero__content */
.hero__sound {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  cursor: pointer;
  font-family: var(--font-nav, "Inter", sans-serif);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}
.hero__sound:hover { background: rgba(0, 0, 0, 0.5); }
.hero__sound svg { display: block; width: 18px; height: 18px; }

/* Hero text, bottom-left */
.hero__content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: var(--page-max-width, 72rem);
  margin: 0 auto;
  padding: 0 var(--page-gutter, 1.5rem) clamp(2.5rem, 6vh, 5rem);
}
.hero__eyebrow {
  font-family: var(--font-nav, "Inter", sans-serif);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0 0 1rem;
}
.hero__title {
  font-family: var(--font-groove, "Groovezilla", sans-serif);
  font-weight: 400;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 0.95;
  margin: 0;
  font-size: clamp(3rem, 9vw, 120px);
}
.hero__meta {
  font-family: var(--font-nav, "Inter", sans-serif);
  font-size: 1rem;
  opacity: 0.9;
  margin: 1.25rem 0 0;
}

/* ---- Responsive: collapse the nav into a hamburger menu ---- */
@media (max-width: 768px) {
  .site-header__tagline { display: none; }

  .site-header__logo { height: 72px; }

  .site-header__toggle { display: flex; }

  /* Nav becomes a dropdown panel under the header */
  .site-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--page-gutter, 1.5rem) 1.5rem;
    background: rgba(12, 12, 12, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-header.is-open .site-header__nav { display: flex; }

  .site-nav__link {
    padding: 0.95rem 0.25rem;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-nav__link:hover,
  .site-nav__link.is-active { background: none; opacity: 0.7; }

  .site-header__cta {
    justify-content: center;
    margin: 1.25rem 0 0;
    padding: 0.85rem 1.25rem;
  }
}
