:root {
  --bg: #090909;
  --panel: rgba(255, 255, 255, 0.06);
  --text: #f6f1e9;
  --muted: #b9b0a6;
  --line: rgba(255, 255, 255, 0.1);
  --lime: #d9ff45;
  --rose: #ff6d7d;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --max-width: 1240px;
  --header-height: 78px;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 109, 125, 0.10), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(217, 255, 69, 0.08), transparent 22%),
    linear-gradient(180deg, #0b0b0b, #080808 50%, #0b0b0b);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--lime); color: #111; }

.ambient {
  position: absolute;
  inset: auto;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}
.ambient-1 { top: -8rem; left: -8rem; background: var(--rose); }
.ambient-2 { right: -10rem; top: 22rem; background: var(--lime); }

.site-header {
  position: relative;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  background: rgba(9, 9, 9, 0.7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand { display: inline-flex; align-items: center; gap: 0.9rem; }
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #050505;
}
.brand-text {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.site-nav { display: flex; gap: 1.3rem; }
.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  font: inherit;
}

main { padding-bottom: 3rem; }
.hero, .section, .site-footer {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.hero { padding: 2rem 0 0; }

.hero-media {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 620px;
  max-height: 860px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
  background: #101010;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.38) 23%, rgba(0, 0, 0, 0.06) 46%, rgba(0, 0, 0, 0) 58%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.08) 28%, rgba(0, 0, 0, 0) 44%);
  pointer-events: none;
  z-index: 1;
}

.hero-overlay-card {
  position: absolute;
  left: 2rem;
  top: 2rem;
  z-index: 2;
  max-width: 420px;
  width: min(34vw, 420px);
  padding: 1.15rem 1.2rem 1.1rem;
  border-radius: 24px;
  background: rgba(9, 9, 9, 0.34);
  border: 1px solid rgba(255,255,255,0.06);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--lime);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero h1,
.section-intro h2,
.contact-card h2,
.feature-panel h3,
.mini-panel h3 {
  font-family: "Syne", system-ui, sans-serif;
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 0.85rem;
}

.hero-copy {
  max-width: 34rem;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  color: #e4ddd2;
  margin: 0 0 1rem;
}

.hero-actions, .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: #111; }
.button-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.18);
  color: var(--text);
}

.section { padding: 6.5rem 0 0; }
.section-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
}

.section-intro h2, .contact-card h2 {
  font-size: clamp(2.3rem, 5.2vw, 4.8rem);
  max-width: 12ch;
}
.section-note { color: var(--muted); max-width: 34rem; }

.section-content p,
.member-info p,
.mini-panel p,
.feature-panel p,
.quote-card footer,
.shows p,
.contact-card > p,
.download-card {
  color: var(--muted);
}

.lead { color: var(--text) !important; font-size: 1.2rem; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card,
.feature-panel,
.mini-panel,
.quote-card,
.download-panel,
.show-item,
.contact-card,
.member-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-card { padding: 1.25rem; }

.stat-card span,
.panel-label,
.member-role,
.show-date,
.archive-label {
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
  margin-top: 2rem;
}
.member-card { overflow: hidden; }
.member-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.member-card:first-child img {
  object-position: center top;
}

.member-info { padding: 1.2rem 1.2rem 1.4rem; }
.member-info h3 {
  margin: 0 0 0.2rem;
  font-family: "Syne", system-ui, sans-serif;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.music-layout {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

.feature-panel, .mini-panel, .quote-card, .download-panel, .contact-card {
  padding: 1.5rem;
}
.feature-panel h3 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  margin-bottom: 1rem;
}
.stack-panels { display: grid; gap: 1.2rem; }
.mini-panel h3 {
  font-size: 1.8rem;
  margin: 0.35rem 0 0.7rem;
}
.text-link { color: var(--text); font-weight: 700; }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.quote-card p {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.35;
  color: var(--text);
}

.download-panel {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 1.2rem;
}
.downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.download-card {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.15s ease, background 0.15s ease;
}
.download-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
}

.shows {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
.show-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
}
.show-item strong {
  display: block;
  font-size: 1.15rem;
}
.show-item a { color: var(--text); }

.contact-section { padding-bottom: 1rem; }
.contact-card { max-width: 880px; }
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.6rem;
  margin: 1.6rem 0;
}
.copy-status {
  min-height: 1.3rem;
  margin-top: 0.8rem;
  color: var(--lime);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem 0 1rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .section-grid,
  .music-layout,
  .download-panel,
  .quote-grid,
  .members-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-height) - 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 4vw 1.4rem;
    background: rgba(9,9,9,0.95);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .site-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }

  .hero-overlay-card {
    width: min(44vw, 400px);
  }

  .hero h1 {
    font-size: clamp(2.7rem, 5vw, 4rem);
  }
}

@media (max-width: 720px) {
  .hero-media {
    aspect-ratio: auto;
    min-height: 78vh;
    height: 78vh;
  }

  .hero-photo {
    height: 100%;
    object-position: center center;
  }

  .hero-overlay-card {
    left: 1rem;
    right: 1rem;
    top: auto;
    bottom: 1rem;
    width: auto;
    max-width: none;
    background: rgba(9, 9, 9, 0.58);
  }

  .hero-media::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.08) 28%, rgba(0, 0, 0, 0.5) 100%);
  }

  .downloads,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .show-item {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* =========================================================
   OFFICIAL THE DIMLITS BRAND INTEGRATION
   ========================================================= */

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
}

.brand-wordmark {
  width: clamp(132px, 12vw, 176px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

/* The approved hand-drawn wordmark replaces display type in the hero. */
.hero-brand-lockup {
  position: relative;
  margin: 0 0 0.75rem;
  min-height: 118px;
  display: flex;
  align-items: center;
}

.hero-wordmark {
  position: relative;
  z-index: 2;
  width: min(100%, 355px);
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.hero-bulb-watermark {
  position: absolute;
  z-index: 1;
  right: -1rem;
  top: 50%;
  width: 92px;
  height: auto;
  opacity: 0.075;
  transform: translateY(-50%) rotate(5deg);
  pointer-events: none;
}

.hero-overlay-card {
  overflow: hidden;
}

/* Official marks / press asset showcase. */
.brand-assets {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.brand-assets-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-assets-copy h3 {
  margin: 0.2rem 0 0.7rem;
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.brand-assets-copy p:not(.panel-label) {
  color: var(--muted);
  margin: 0 0 1rem;
}

.brand-mark-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 0.9rem;
}

.brand-mark-card {
  min-height: 210px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.brand-mark-card img {
  width: 78%;
  max-height: 155px;
  object-fit: contain;
}

.brand-mark-dark {
  background:
    radial-gradient(circle at 20% 0%, rgba(217,255,69,0.08), transparent 35%),
    #0c0c0c;
}

.brand-mark-light {
  background: #f2eee7;
}

.brand-mark-light img {
  width: 52%;
  max-height: 170px;
}

/* Subtle identity mark in the contact panel. */
.contact-card {
  position: relative;
  overflow: hidden;
}

.contact-card > *:not(.contact-bulb-watermark) {
  position: relative;
  z-index: 2;
}

.contact-bulb-watermark {
  position: absolute;
  right: 2rem;
  bottom: -4.5rem;
  width: min(25vw, 210px);
  height: auto;
  opacity: 0.055;
  transform: rotate(7deg);
  pointer-events: none;
  z-index: 1;
}

/* Footer lockup. */
.site-footer {
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-bulb {
  width: 24px;
  height: 35px;
  object-fit: contain;
}

.footer-wordmark {
  width: 112px;
  height: auto;
  opacity: 0.72;
}

@media (max-width: 980px) {
  .brand-assets {
    grid-template-columns: 1fr;
  }

  .hero-brand-lockup {
    min-height: 100px;
  }

  .hero-wordmark {
    width: min(100%, 315px);
  }
}

@media (max-width: 720px) {
  .brand-wordmark {
    width: 132px;
  }

  .hero-brand-lockup {
    min-height: 88px;
  }

  .hero-wordmark {
    width: min(78vw, 300px);
  }

  .hero-bulb-watermark {
    width: 74px;
    right: -0.5rem;
  }

  .brand-mark-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark-card {
    min-height: 170px;
  }

  .brand-mark-light img {
    width: 34%;
    max-height: 140px;
  }

  .contact-bulb-watermark {
    width: 150px;
    right: 0.5rem;
    bottom: -3.5rem;
  }

  .footer-wordmark {
    width: 100px;
  }
}


/* =========================================================
   THE DIMLITS — REFINED HERO
   Band photo remains primary; wordmark becomes a subtle sky watermark.
   ========================================================= */

.hero-media {
  position: relative;
  isolation: isolate;
}

/* Important: only the main band photo fills the hero. */
.hero-media > .hero-photo {
  display: block;
  width: 100%;
  height: min(84vh, 920px);
  object-fit: cover;
  object-position: center 42%;
}

/* Soft cinematic shading: clear over faces, darker near the bottom for copy. */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.02) 38%,
      rgba(0, 0, 0, 0.10) 58%,
      rgba(0, 0, 0, 0.64) 100%
    );
}

/* The official wordmark lives in the empty night sky, not over the band. */
.hero-watermark {
  position: absolute;
  z-index: 2;
  top: clamp(1.25rem, 3vw, 2.5rem);
  left: 50%;
  display: block;
  width: clamp(190px, 24vw, 330px);
  max-width: 330px;
  height: auto !important;
  transform: translateX(-50%);
  object-fit: contain;
  opacity: 0.16;
  pointer-events: none;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.30));
}

/* Copy sits over the pavement rather than over faces/upper bodies. */
.hero-overlay-card {
  position: absolute;
  z-index: 3;
  left: clamp(1rem, 3vw, 2rem);
  right: auto;
  bottom: clamp(1rem, 3vw, 2rem);
  width: min(520px, calc(100% - 2rem));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-overlay-card .eyebrow {
  margin-bottom: 0.65rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.hero-copy {
  max-width: 500px;
  margin: 0 0 1rem;
  color: #f3ede5;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 500;
  line-height: 1.45;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.95),
    0 1px 2px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  gap: 0.7rem;
}

.hero-actions .button-secondary {
  background: rgba(8, 8, 8, 0.34);
}

/* Retire the previous in-card logo treatment if old markup is ever present. */
.hero-brand-lockup,
.hero-wordmark,
.hero-bulb-watermark {
  display: none !important;
}

@media (max-width: 720px) {
  .hero-media {
    min-height: 72vh;
    height: auto;
  }

  .hero-media > .hero-photo {
    min-height: 72vh;
    height: 72vh;
    object-position: center center;
  }

  .hero-watermark {
    top: 1.2rem;
    width: clamp(160px, 48vw, 230px);
    opacity: 0.14;
  }

  .hero-overlay-card {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
  }

  .hero-copy {
    max-width: 34rem;
  }
}


/* =========================================================
   THE DIMLITS — HERO POSITION + MOBILE BRAND HERO
   ========================================================= */

/* Desktop: keep the copy/card anchored to the lower-left.
   Explicitly reset top because an older hero rule sets top: 2rem. */
.hero-overlay-card {
  top: auto !important;
  left: clamp(1rem, 3vw, 2rem);
  right: auto;
  bottom: clamp(1rem, 3vw, 2rem);
}

/* Make the wordmark clearly visible in the night sky. */
.hero-watermark {
  top: clamp(1.35rem, 3.2vw, 2.75rem);
  width: clamp(220px, 27vw, 370px);
  max-width: 370px;
  opacity: 0.58;
  filter:
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.70))
    drop-shadow(0 7px 20px rgba(0, 0, 0, 0.35));
}

/* Hidden on desktop; used as the entire visual focus on mobile. */
.hero-mobile-logo {
  display: none;
}

/* Slightly strengthen the lower gradient behind the contact copy. */
.hero-media::before {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.01) 38%,
      rgba(0, 0, 0, 0.08) 58%,
      rgba(0, 0, 0, 0.72) 100%
    );
}

@media (max-width: 720px) {
  /* Mobile becomes a branded graphic hero instead of a cropped band photo. */
  .hero-media {
    min-height: 72vh;
    height: 72vh;
    background:
      radial-gradient(circle at 50% 34%, rgba(217, 255, 69, 0.10), transparent 30%),
      radial-gradient(circle at 18% 20%, rgba(255, 109, 125, 0.10), transparent 28%),
      #0b0b0b;
  }

  .hero-media > .hero-photo,
  .hero-watermark {
    display: none !important;
  }

  .hero-mobile-logo {
    position: absolute;
    z-index: 2;
    top: 44%;
    left: 50%;
    display: block;
    width: min(58vw, 250px);
    max-width: 250px;
    height: auto !important;
    transform: translate(-50%, -50%);
    object-fit: contain;
    opacity: 0.96;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.30));
    pointer-events: none;
  }

  /* A gentle fade keeps the copy readable without obscuring the logo. */
  .hero-media::before {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.02) 0%,
        rgba(0, 0, 0, 0.03) 52%,
        rgba(0, 0, 0, 0.74) 100%
      );
  }

  .hero-overlay-card {
    top: auto !important;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
  }

  .hero-overlay-card .eyebrow {
    font-size: 0.66rem;
  }

  .hero-copy {
    max-width: 31rem;
    font-size: 0.98rem;
  }
}

/* =========================================================
   THE DIMLITS — VIDEO HERO
   Desktop/tablet: looping rehearsal video.
   Mobile: preserve the lightbulb-logo hero treatment.
   ========================================================= */

/* Hide the old image hero if legacy markup is still present. */
.hero-media > .hero-photo {
  display: none !important;
}

.hero-video {
  display: block;
  width: 100%;
  height: min(84vh, 920px);
  object-fit: cover;
  object-position: center center;
  background: #080808;
}

/* Keep all overlays above the moving video. */
.hero-media::before {
  z-index: 1;
}

.hero-watermark,
.hero-overlay-card {
  z-index: 3;
}

/* A slightly stronger shadow helps the watermark remain readable over motion. */
.hero-watermark {
  opacity: 0.72;
  filter:
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9))
    drop-shadow(0 8px 26px rgba(0, 0, 0, 0.55));
}

@media (max-width: 720px) {
  /* Keep the previously approved mobile brand hero instead of autoplay video. */
  .hero-video {
    display: none !important;
  }

  .hero-media {
    min-height: 72vh;
    height: 72vh;
  }

  .hero-mobile-logo {
    display: block;
  }
}


/* =========================================================
   VISIBILITY SAFETY FIX
   Keep all EPK content visible even without IntersectionObserver JS.
   ========================================================= */
.reveal,
.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Video hero fallback and layout safety */
.hero-media {
  position: relative;
  overflow: hidden;
}

.hero-video {
  display: block;
  width: 100%;
  min-height: min(84vh, 920px);
  height: min(84vh, 920px);
  object-fit: cover;
  object-position: center center;
  background-color: #080808;
}

/* If video cannot play, its poster remains visible. */
.hero-video[poster] {
  background-size: cover;
  background-position: center;
}

@media (max-width: 720px) {
  .hero-video {
    display: none !important;
  }
}

/* =========================================================
   THE DIMLITS — STILL-TO-VIDEO HERO TRANSITION
   The band photo is a real overlay, not the video's poster attribute.
   ========================================================= */

.hero-video {
  position: relative;
  z-index: 0;
}

/* Still photo sits over the loaded/paused video. */
.hero-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.9s ease,
    visibility 0s linear 0.9s;
  pointer-events: none;
  will-change: opacity;
}

/* Added only after video playback actually begins. */
.hero-poster.is-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Shading / branding / copy stay above both still and video. */
.hero-media::before {
  z-index: 2;
}

.hero-watermark {
  z-index: 3;
}

.hero-overlay-card {
  z-index: 4;
}

.hero-mobile-logo {
  z-index: 3;
}

@media (max-width: 720px) {
  /* Preserve the approved lightbulb-only mobile hero. */
  .hero-video,
  .hero-poster,
  .hero-watermark {
    display: none !important;
  }
}


/* =========================================================
   THE DIMLITS — MOBILE VIDEO + HORIZONTAL OVERFLOW FIX
   Final overrides: keep this block at the END of styles.css.
   ========================================================= */

/* Prevent the document canvas from exposing a white strip on the right. */
html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background-color: #090909;
}

html {
  background:
    linear-gradient(180deg, #0b0b0b, #080808 50%, #0b0b0b);
}

body,
main,
.site-header,
.hero,
.section,
.site-footer {
  min-width: 0;
  max-width: 100%;
}

img,
video {
  max-width: 100%;
}

/* Make sure off-canvas decorative glows never expand the mobile page width. */
.ambient {
  pointer-events: none;
}

@media (max-width: 720px) {
  /* The earlier mobile design explicitly hid the video.
     These rules intentionally reverse that behavior. */
  .hero-video {
    display: block !important;
    position: relative;
    z-index: 0;
    width: 100% !important;
    max-width: 100%;
    min-height: 0;
    height: 72vh;
    object-fit: cover;
    object-position: center center;
    background: #080808;
  }

  /* Keep the still-image intro/crossfade on mobile too. */
  .hero-poster {
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100% !important;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
  }

  /* Use the horizontal wordmark over the moving footage.
     The separate bulb-only mobile hero is retired. */
  .hero-watermark {
    display: block !important;
    z-index: 3;
    top: 1rem;
    width: min(52vw, 210px);
    max-width: 210px;
    opacity: 0.64;
  }

  .hero-mobile-logo {
    display: none !important;
  }

  .hero-media {
    width: 100%;
    max-width: 100%;
    min-height: 72vh;
    height: 72vh;
    aspect-ratio: auto;
    overflow: hidden;
  }

  /* Keep CTA readable over video while preserving most of the footage. */
  .hero-media::before {
    z-index: 2;
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.00) 42%,
        rgba(0, 0, 0, 0.10) 60%,
        rgba(0, 0, 0, 0.76) 100%
      );
  }

  .hero-overlay-card {
    top: auto !important;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    max-width: none;
  }

  /* These blurred blobs were wide enough to create overflow
     in some mobile browsers / screenshot tools. */
  .ambient {
    display: none;
  }

  /* Extra containment for cards and grids on very narrow screens. */
  .members-grid,
  .music-layout,
  .quote-grid,
  .download-panel,
  .brand-assets,
  .brand-mark-grid,
  .stat-grid,
  .downloads,
  .shows,
  .contact-card,
  .member-card,
  .feature-panel,
  .mini-panel,
  .quote-card,
  .download-card,
  .show-item {
    min-width: 0;
    max-width: 100%;
  }
}

/* Modern browsers: clip overflow without creating a horizontal scroll area. */
@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}


/* =========================================================
   THE DIMLITS — MOBILE INTRO: BULB LOGO -> VIDEO
   Desktop: band photo -> video
   Mobile:  bulb logo -> video
   ========================================================= */

@media (max-width: 720px) {

  /* Keep the rehearsal video active on mobile. */
  .hero-video {
    display: block !important;
    position: relative;
    z-index: 0;
    width: 100% !important;
    max-width: 100%;
    height: 72vh;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
    background: #080808;
  }

  /*
   * The desktop still image remains in the DOM for desktop use,
   * but is not the mobile intro layer.
   */
  .hero-poster {
    display: none !important;
  }

  /* Hide the desktop wordmark watermark on phones. */
  .hero-watermark {
    display: none !important;
  }

  /*
   * The bulb becomes the mobile intro layer.
   * It uses the same .is-hidden class as the desktop poster fade.
   */
  .hero-mobile-logo {
    position: absolute;
    z-index: 3;
    top: 43%;
    left: 50%;
    display: block !important;
    width: min(58vw, 250px);
    max-width: 250px;
    height: auto !important;
    transform: translate(-50%, -50%);
    object-fit: contain;
    opacity: 1;
    visibility: visible;
    transition:
      opacity 0.9s ease,
      visibility 0s linear 0.9s;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
    pointer-events: none;
    will-change: opacity;
  }

  .hero-mobile-logo.is-hidden {
    opacity: 0;
    visibility: hidden;
  }

  .hero-media {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 72vh;
    height: 72vh;
    overflow: hidden;
    background: #0b0b0b;
  }

  /* Keep copy readable after the bulb fades into the video. */
  .hero-media::before {
    z-index: 2;
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.00) 42%,
        rgba(0, 0, 0, 0.08) 60%,
        rgba(0, 0, 0, 0.76) 100%
      );
  }

  .hero-overlay-card {
    top: auto !important;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    max-width: none;
  }
}
