/* ============================================
   Live Music Page — Aggressive & Bold
   Editorial performance direction
   MASSIVE hero, BOLD type, raw energy
   ============================================ */

#main-content { padding-top: 0; }

/* ============================================
   HERO — Full-screen, cinematic, unapologetic
   ============================================ */
.alp-music-hero {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.alp-music-hero__bg {
  background: #070907;
  inset: 0;
  position: absolute;
}

.alp-music-hero__bg img {
  display: block;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  position: absolute;
  width: 100%;
  will-change: transform;
}

.alp-music-hero__veil {
  background:
    linear-gradient(to top, rgba(3, 5, 4, .92) 0%, rgba(3, 5, 4, .15) 35%, rgba(3, 5, 4, .08) 60%, rgba(3, 5, 4, .55) 100%);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.alp-music-hero__content {
  max-width: 1100px;
  padding: 0 24px;
  position: relative;
  text-align: center;
  z-index: 2;
}

.alp-music-hero .alp-eyebrow {
  color: var(--alpine-accent-light, #d6a85c);
  font-size: .8rem;
  letter-spacing: .28em;
}

.alp-music-hero__content h1 {
  color: #fff;
  font-size: clamp(5rem, 16vw, 14rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.85;
  margin: 24px 0 36px;
  text-transform: uppercase;
}

.alp-music-hero__line {
  display: block;
}

.alp-music-hero__line--stroke {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .7);
  color: transparent;
}

.alp-music-letter {
  display: inline-block;
  will-change: color, text-shadow, transform;
}

.alp-music-hero__line--stroke.is-party {
  -webkit-text-fill-color: #ff2f2f;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .18);
  color: #ff2f2f;
  text-shadow:
    0 0 18px rgba(255, 47, 47, 0.55),
    0 0 32px rgba(0, 122, 255, 0.35);
  animation:
    alp-music-party-pop .9s cubic-bezier(.2, .9, .2, 1),
    alp-music-party-colors 5.8s linear infinite;
}

.alp-music-hero__line--stroke.is-party.is-party-static {
  animation: none;
  -webkit-text-fill-color: #ffcf00;
  color: #ffcf00;
  text-shadow: 0 0 14px rgba(255, 207, 0, .45);
}

@keyframes alp-music-party-pop {
  0% {
    transform: translateY(8px) scale(.9) rotate(-2deg);
    filter: saturate(1);
    opacity: .7;
  }
  55% {
    transform: translateY(0) scale(1.08) rotate(1.2deg);
    filter: saturate(1.35);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    filter: saturate(1.1);
    opacity: 1;
  }
}

@keyframes alp-music-party-colors {
  0%,
  100% {
    -webkit-text-fill-color: #ff2f2f;
    color: #ff2f2f;
    text-shadow: 0 0 18px rgba(255, 47, 47, .55), 0 0 32px rgba(0, 122, 255, .35);
  }
  33% {
    -webkit-text-fill-color: #ffcf00;
    color: #ffcf00;
    text-shadow: 0 0 18px rgba(255, 207, 0, .55), 0 0 32px rgba(255, 47, 47, .35);
  }
  66% {
    -webkit-text-fill-color: #007aff;
    color: #007aff;
    text-shadow: 0 0 18px rgba(0, 122, 255, .62), 0 0 32px rgba(255, 207, 0, .35);
  }
}

.alp-music-hero__sub {
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 48ch;
}

.alp-music-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 48px;
}

.alp-music-hero .alp-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
}

.alp-music-hero .alp-btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
}

.alp-music-hero__scroll {
  align-items: center;
  animation: alp-music-float 2.4s ease-in-out infinite;
  bottom: 32px;
  color: rgba(255, 255, 255, .4);
  display: flex;
  flex-direction: column;
  gap: 6px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

.alp-music-hero__scroll span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

@keyframes alp-music-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   STATEMENT — Massive editorial type
   ============================================ */
.alp-music-statement {
  padding: clamp(120px, 16vw, 240px) 0;
  text-align: center;
}

.alp-music-statement__inner {
  margin: 0 auto;
  max-width: 900px;
}

.alp-music-statement__kicker {
  color: var(--alpine-accent);
  font-family: var(--wp--preset--font-family--body-sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.alp-music-statement__heading {
  color: var(--alpine-text);
  font-family: var(--wp--preset--font-family--display-serif);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 32px;
}

.alp-music-statement__heading em {
  color: var(--alpine-brand);
  font-style: italic;
}

.alp-music-statement__body {
  color: var(--alpine-text-muted);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.8;
  margin: 0;
  max-width: 56ch;
  margin-inline: auto;
}

/* ============================================
   FEATURED EVENT — Oversized Split
   ============================================ */
.alp-music-featured {
  display: grid;
  gap: 0;
  grid-template-columns: 1.2fr 1fr;
  min-height: clamp(500px, 65vh, 780px);
}

.alp-music-featured__image {
  overflow: hidden;
  position: relative;
}

.alp-music-featured__image img {
  display: block;
  height: 110%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  width: 100%;
  will-change: transform;
}

.alp-music-featured:hover .alp-music-featured__image img {
  transform: scale(1.03);
}

.alp-music-featured__content {
  align-self: center;
  padding: clamp(40px, 6vw, 100px);
}

.alp-music-featured__content .alp-eyebrow {
  color: var(--alpine-accent);
}

.alp-music-featured__content h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 16px 0 24px;
}

.alp-music-featured__content p {
  color: var(--alpine-text-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.8;
  margin: 0 0 32px;
  max-width: 44ch;
}

/* ============================================
   LINEUP — Event Grid
   ============================================ */
.alp-music-lineup {
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 100px);
}

.alp-music-lineup__head {
  margin: 0 auto clamp(48px, 6vw, 80px);
  max-width: 680px;
  text-align: center;
}

.alp-music-lineup__head h2 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 14px 0 0;
  text-transform: uppercase;
}

.alp-music-lineup__grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(3, 1fr);
}

.alp-music-card {
  background: var(--alpine-surface);
  border: 1px solid var(--alpine-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow .35s ease;
}

.alp-music-card:hover {
  box-shadow: 0 20px 60px -16px rgba(0, 0, 0, .18);
  transform: translateY(-6px);
}

.alp-music-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.alp-music-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(0.25, 0.1, 0.25, 1);
  width: 100%;
}

.alp-music-card:hover .alp-music-card__media img {
  transform: scale(1.06);
}

.alp-music-card__fallback {
  align-items: center;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--alpine-accent) 30%, transparent), transparent 55%),
    linear-gradient(145deg, color-mix(in srgb, var(--alpine-brand) 90%, #000), color-mix(in srgb, var(--alpine-brand) 50%, #222));
  color: #fff;
  display: flex;
  font-family: var(--wp--preset--font-family--display-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  height: 100%;
  justify-content: center;
  line-height: 1.2;
  padding: 24px;
  text-align: center;
}

.alp-music-card__body {
  display: grid;
  gap: 10px;
  padding: clamp(16px, 2vw, 24px);
}

.alp-music-card__body h3 {
  font-family: var(--wp--preset--font-family--display-serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 600;
  margin: 0;
}

.alp-music-card__body p {
  color: var(--alpine-text-muted);
  font-size: .95rem;
  line-height: 1.65;
  margin: 0;
}

.alp-music-card__link {
  align-items: center;
  color: var(--alpine-brand);
  display: inline-flex;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .04em;
  min-height: 44px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
}

.alp-music-card__link:hover {
  color: var(--alpine-accent);
}

/* ============================================
   INTERLUDE — Full-Bleed Pull Quote
   ============================================ */
.alp-music-interlude {
  height: clamp(400px, 60vh, 680px);
  overflow: hidden;
  position: relative;
}

.alp-music-interlude__img {
  height: 100%;
  width: 100%;
}

.alp-music-interlude__img img {
  display: block;
  height: 140%;
  object-fit: cover;
  object-position: center 40%;
  width: 100%;
  will-change: transform;
}

.alp-music-interlude__overlay {
  align-items: center;
  background: linear-gradient(135deg, rgba(3, 5, 4, .8) 0%, rgba(3, 5, 4, .4) 50%, rgba(3, 5, 4, .65) 100%);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 0 clamp(24px, 6vw, 80px);
  position: absolute;
}

.alp-music-interlude blockquote {
  margin: 0;
}

.alp-music-interlude blockquote p {
  color: #fff;
  font-family: var(--wp--preset--font-family--display-serif);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  max-width: 16ch;
  text-align: center;
}

/* ============================================
   OPEN MIC — Bold CTA Section
   ============================================ */
.alp-music-openmic {
  background: color-mix(in srgb, var(--alpine-brand) 5%, var(--alpine-bg));
  padding: clamp(100px, 14vw, 200px) 0;
  text-align: center;
}

.alp-music-openmic__inner {
  margin: 0 auto;
  max-width: 700px;
}

.alp-music-openmic h2 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin: 16px 0 20px;
  text-transform: uppercase;
}

.alp-music-openmic__tagline {
  color: var(--alpine-accent);
  font-family: var(--wp--preset--font-family--display-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 500;
  margin: 0 0 24px;
}

.alp-music-openmic p {
  color: var(--alpine-text-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.75;
  margin: 0 0 36px;
}

.alp-music-openmic .alp-btn {
  font-size: 1rem;
  padding: 16px 40px;
}

/* ============================================
   VENUE — Full-width Image Strip
   ============================================ */
.alp-music-venue {
  overflow: hidden;
  padding: 0;
}

.alp-music-venue__strip {
  display: grid;
  gap: clamp(6px, 1vw, 12px);
  grid-template-columns: repeat(3, 1fr);
}

.alp-music-venue__frame {
  aspect-ratio: 5 / 3;
  border-radius: 0;
  overflow: hidden;
}

.alp-music-venue__frame img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(0.25, 0.1, 0.25, 1);
  width: 100%;
}

.alp-music-venue__frame:hover img {
  transform: scale(1.05);
}

/* ============================================
   FINAL CTA — Dark, Brand-Colored
   ============================================ */
.alp-music-cta {
  background: var(--alpine-brand);
  padding: clamp(100px, 14vw, 200px) 0;
  text-align: center;
}

.alp-music-cta h2 {
  color: #fff;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.alp-music-cta p {
  color: rgba(255, 255, 255, .8);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.75;
  margin: 0 auto 44px;
  max-width: 48ch;
}

.alp-music-cta__actions {
  margin-bottom: 32px;
}

.alp-music-cta .alp-btn--large {
  font-size: 1.1rem;
  padding: 20px 52px;
}

.alp-music-cta .alp-btn {
  background: #fff;
  color: var(--alpine-brand);
}

.alp-music-cta .alp-btn:hover {
  background: var(--alpine-accent);
  color: #fff;
}

.alp-music-cta__contact {
  color: rgba(255, 255, 255, .55);
  font-size: .92rem;
}

.alp-music-cta__contact a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  transition: color .2s;
}

.alp-music-cta__contact a:hover {
  color: #fff;
}

.alp-music-cta__contact span {
  margin: 0 14px;
}

/* ============================================
   Responsive — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .alp-music-featured {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .alp-music-featured__image {
    aspect-ratio: 16 / 10;
  }

  .alp-music-featured__content {
    padding: clamp(32px, 5vw, 56px);
  }

  .alp-music-lineup__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Responsive — Mobile
   ============================================ */
@media (max-width: 767px) {
  .alp-music-hero {
    min-height: min(92vh, 720px);
  }

  .alp-music-hero__content h1 {
    font-size: clamp(3.4rem, 18vw, 6rem);
  }

  .alp-music-hero__line--stroke {
    -webkit-text-stroke-width: 1.5px;
  }

  .alp-music-hero__cta {
    align-items: center;
    flex-direction: column;
  }

  .alp-music-hero__cta .alp-btn {
    max-width: 280px;
    width: 100%;
  }

  .alp-music-hero__scroll {
    display: none;
  }

  .alp-music-statement {
    padding: clamp(72px, 12vw, 140px) 0;
  }

  .alp-music-statement__heading {
    font-size: clamp(1.8rem, 7.5vw, 2.8rem);
  }

  .alp-music-featured__content h2 {
    font-size: 2.2rem;
  }

  .alp-music-lineup__grid {
    grid-template-columns: 1fr;
  }

  .alp-music-lineup__head h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .alp-music-interlude {
    height: 320px;
  }

  .alp-music-interlude blockquote p {
    font-size: 1.5rem;
  }

  .alp-music-openmic h2 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .alp-music-venue__strip {
    grid-template-columns: 1fr;
  }

  .alp-music-cta {
    padding: 72px 0;
  }

  .alp-music-cta h2 {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .alp-music-cta__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .alp-music-cta__contact span {
    display: none;
  }
}

/* Pre-hide hero elements before GSAP animates them in */
[data-music-reveal] {
  opacity: 0;
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .alp-music-hero__scroll { animation: none; }

  .alp-music-featured__image img,
  .alp-music-card,
  .alp-music-card__media img,
  .alp-music-venue__frame img {
    transition: none;
  }
  [data-music-reveal] {
    opacity: 1;
  }
}

/* ============================================
   Dark Mode Adjustments
   ============================================ */
html[data-theme='dark'] .alp-music-openmic {
  background: color-mix(in srgb, var(--alpine-brand) 8%, var(--alpine-bg));
}

html[data-theme='dark'] .alp-music-card {
  border-color: color-mix(in srgb, var(--alpine-surface) 60%, #fff);
}

/* ============================================
   Accessibility Contrast Hardening
   ============================================ */
.alp-music-hero__sub,
.alp-music-hero .alp-btn--ghost {
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.52);
}

.alp-music-hero .alp-btn--ghost {
  border-color: rgba(255, 255, 255, 0.9);
}

html[data-theme='dark'] .alp-music-cta p,
html[data-theme='dark'] .alp-music-cta a {
  color: #f7fbff;
}
