*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 300;
  color: #333;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ── Navigation ── */

.site-header {
  background: #fff;
}

.site-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 40px;
  height: 76px;
}

.site-logo {
  display: flex;
  align-items: stretch;
}

.site-logo img {
  display: block;
  height: 100%;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #333;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #000;
}

/* ── Hero (homepage) ── */

.hero {
  position: relative;
  min-height: 100vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Gradient covers only the bottom ~40%, fading in from transparent */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  color: #fff;
  padding: 0 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.hero-text p {
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  opacity: 0.9;
  line-height: 1.9;
}

.hero-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-nav a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s;
}

.hero-nav a:hover {
  color: #fff;
}

/* ── Interior pages ── */

.page-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.page-content h1 {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  color: #333;
}

.page-content h2 {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.page-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.25rem;
}

.page-content a {
  color: #333;
}

/* ── About page ── */

.member {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid #e8e8e8;
}

.member img {
  width: 220px;
  flex-shrink: 0;
  object-fit: cover;
}

.member-bio h2 {
  margin-top: 0;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

/* ── Performances page ── */

.performances-section {
  margin-bottom: 3rem;
}

.performance-list {
  list-style: none;
}

.performance-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 0 20px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.performance-date {
  color: #888;
  font-size: 0.85rem;
  white-space: nowrap;
}

.performance-venue {
  font-weight: 400;
}

.performance-city {
  color: #888;
  font-size: 0.85rem;
  text-align: right;
  white-space: nowrap;
}

.performance-item a {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.no-performances {
  color: #888;
  font-style: italic;
}

/* ── Footer ── */

.site-footer {
  text-align: center;
}

.footer-image {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer .social-links {
  padding: 28px 40px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.social-links a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  transition: color 0.15s;
}

.social-links a:hover {
  color: #333;
}

/* ── Music page ── */

.album {
  margin-top: 0.5rem;
}

.album h2 {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-top: 0;
  margin-bottom: 0.25rem;
  color: #222;
}

.album-meta {
  font-size: 0.85rem;
  color: #888;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem !important;
}

.bandcamp-embed {
  margin-bottom: 1.5rem;
}

.bandcamp-embed iframe {
  border: 0;
  width: 100%;
  height: 406px;
}

.album-credits {
  font-size: 0.85rem !important;
  color: #888 !important;
  line-height: 1.7 !important;
}

.video-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 1rem;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Mobile ── */

@media (max-width: 680px) {
  /* Nav */
  .site-nav {
    height: auto;
    padding: 0 20px;
    align-items: center;
    gap: 16px;
  }

  .site-logo {
    align-items: center;
    padding: 12px 0;
  }

  .site-logo img {
    height: 48px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }

  /* Hero */
  .hero-content {
    padding: 0 20px 24px;
    gap: 18px;
  }

  .hero-nav {
    gap: 14px;
  }

  .hero-nav a {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  /* Interior pages */
  .page-content {
    padding: 32px 20px 52px;
  }

  /* About */
  .member {
    flex-direction: column;
    gap: 24px;
  }

  .member img {
    width: 100%;
    max-width: 100%;
  }

  /* Performances */
  .performance-item {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 0;
  }

  .performance-city {
    text-align: left;
  }

  /* Footer */
  .site-footer .social-links {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  /* On very small screens, stack the nav logo + links vertically */
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px;
    gap: 10px;
  }

  .site-logo {
    padding: 0;
  }

  .nav-links {
    gap: 14px;
  }
}
