/* ============================================
   Lance Woodson Music — Dark Sky Design System
   ============================================ */

:root {
  --bg-deep:       #050d16;
  --bg-mid:        #0f2233;
  --sky-gradient:  #102840;
  --accent:        #50BEE6;
  --text-primary:  #FFFFFF;
  --text-secondary:#B4D7FF;
  --mountain:      #1a2e3d;
  --hair:          rgba(180, 215, 255, 0.12);
  --max-width:     1100px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text-secondary);
  font-family: 'Liberation Sans', Arial, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(16px, 4vw, 32px);
  transition: background 0.3s, backdrop-filter 0.3s;
}
.nav--scrolled {
  background: rgba(5, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav__brand {
  text-decoration: none;
  line-height: 0;
}
.nav__brand:hover { text-decoration: none; }
.nav__logo {
  height: 50px;
  width: auto;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 28px;
}
.nav__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text-primary); text-decoration: none; }

/* Hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 110;
}
.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle span:nth-child(1) { top: 0; }
.nav__toggle span:nth-child(2) { top: 9px; }
.nav__toggle span:nth-child(3) { top: 18px; }

.nav__toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(5, 13, 22, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav__links.open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a {
    font-size: 1.4rem;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 20px 40px;
}
.hero__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(16, 40, 64, 0.3) 50%,
    rgba(16, 40, 64, 0.6) 75%,
    var(--mountain) 100%
  );
  z-index: 1;
}
.hero__mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%);
}
.hero__mountains img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 120px;
  opacity: 0.7;
}
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0;
  width: 100%;
  max-width: var(--max-width);
}
.hero__title {
  font-size: clamp(1.3rem, 3.5vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  margin-bottom: 0;
  margin-top: 24px;
}
.hero__sep {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 20px;
  border-radius: 2px;
}
.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--accent);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Hero vertical videos ---- */
.hero__videos {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  margin: 0 auto 32px;
}
.hero__video-col {
  text-align: center;
  width: 200px;
  flex: 0 0 200px;
}
.hero__video--vertical {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.hero__video--vertical iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pill--genre {
  display: inline-block;
  margin-top: 12px;
  background: rgba(80, 190, 230, 0.08);
  border-color: rgba(80, 190, 230, 0.2);
  color: var(--accent);
  font-size: 0.8rem;
  cursor: default;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 767px) {
  .hero__videos {
    flex-direction: column;
    align-items: center;
  }
}

.hero__cta {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: background 0.3s, color 0.3s;
}
.hero__cta:hover {
  background: var(--accent);
  color: var(--bg-deep);
  text-decoration: none;
}

/* ============================================
   SECTIONS (shared)
   ============================================ */
.section {
  padding: clamp(60px, 10vw, 100px) clamp(16px, 4vw, 32px);
}
.section--alt {
  background: var(--bg-mid);
}
.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section__title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  text-align: center;
}

/* Scroll reveal */
.section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.section.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PERFORMANCES
   ============================================ */
.show {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
}
.show:first-of-type {
  border-top: 1px solid var(--hair);
}
.show__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  padding: 8px;
  background: rgba(80, 190, 230, 0.1);
  border-radius: 8px;
}
.show__month {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.show__day {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.show__info h3 {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
}
.show__info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.shows__placeholder {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.shows__placeholder p {
  margin-bottom: 8px;
}
.shows__placeholder p:last-child {
  margin-bottom: 0;
}

.shows__booking {
  text-align: center;
  margin-top: 32px;
  font-size: 0.95rem;
}

/* ============================================
   LISTEN
   ============================================ */
.videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .videos {
    grid-template-columns: repeat(2, 1fr);
  }
}
.video {
  position: relative;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Single video centers */
.videos .video:only-child {
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .videos .video:only-child {
    grid-column: 1 / -1;
  }
}

.bandcamp {
  margin-bottom: 28px;
  border-radius: 12px;
  overflow: hidden;
}

.listen-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================================
   PILLS (shared)
   ============================================ */
.pill {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
a.pill:hover {
  background: rgba(80, 190, 230, 0.12);
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.pill--town {
  background: rgba(80, 190, 230, 0.08);
  border-color: rgba(80, 190, 230, 0.2);
  color: var(--accent);
  cursor: default;
}
.pill--connect {
  padding: 12px 28px;
  font-size: 1rem;
}

/* ============================================
   DARK SKY STORY
   ============================================ */
.story__text {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}
.story__subtitle {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 600;
}
.town-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ============================================
   CONNECT
   ============================================ */
.connect-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.connect-booking {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--hair);
}
.connect-booking h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 600;
}
.connect-booking a {
  font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 24px clamp(16px, 4vw, 32px);
  border-top: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.8rem;
  color: rgba(180, 215, 255, 0.5);
}
.footer__brand {
  line-height: 0;
}
.footer__logo {
  height: 24px;
  width: auto;
  opacity: 0.5;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
