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

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  background-image: url("TrellWeb.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.08)
  );
}

.nav {
  position: absolute;
  z-index: 10;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  padding: 13px 25px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  transition: opacity .25s ease;
}

.nav a:hover {
  opacity: .65;
}

.section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 24px;
  background: #000;
  border-top: 1px solid #1b1b1b;
  text-align: center;
}

.section-inner {
  width: min(1000px, 100%);
}

.eyebrow {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  opacity: .6;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(42px, 8vw, 92px);
  line-height: .95;
  letter-spacing: -2px;
}

.section-text,
.bio {
  max-width: 760px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.75;
  color: #cfcfcf;
}

.bio p + p {
  margin-top: 18px;
}

.spotify-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #121212;
}

.spotify-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
}

.spotify-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 8px 4px;
}

.spotify-fallback p {
  color: #888;
  font-size: 13px;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, opacity .25s ease;
}

.button:hover:not(:disabled) {
  background: #fff;
  color: #000;
}

.button:disabled {
  opacity: .5;
  cursor: wait;
}

.merch-grid {
  width: min(1100px, 100%);
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}

.merch-card {
  overflow: hidden;
  border: 1px solid #242424;
  border-radius: 16px;
  background: #080808;
}

.merch-image-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}

.merch-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.merch-info {
  padding: 20px;
}

.merch-info h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.merch-info p {
  min-height: 42px;
  margin-bottom: 18px;
  color: #999;
  font-size: 14px;
  line-height: 1.5;
}

.merch-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.merch-bottom > span {
  font-size: 18px;
  font-weight: 700;
}

.empty-shop {
  grid-column: 1 / -1;
  padding: 40px 20px;
  color: #777;
  text-align: center;
}

footer {
  padding: 30px 20px;
  border-top: 1px solid #1b1b1b;
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  color: #777;
}

@media (max-width: 800px) {
  .merch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  /*
   * Mobile: navigation occupies a separate black row.
   * The image is a real element below the menu, not a background
   * behind it, so the menu cannot overlap the artwork.
   */
  .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    padding-top: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .nav {
    order: 0;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: calc(100% - 28px);
    margin: 12px auto 0;
    flex: 0 0 auto;
    gap: 0;
    justify-content: space-between;
    padding: 12px 16px;
    border-color: rgba(255, 255, 255, 0.28);
    background: #080808;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero::before {
    content: "";
    display: block;
    order: 1;
    width: 100%;
    aspect-ratio: 1649 / 928;
    margin-top: 12px;
    background-image: url("TrellWeb.jpg");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-overlay {
    display: none;
  }

  .nav a {
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  .section {
    min-height: 60vh;
    padding: 80px 20px;
  }

  .section-text,
  .bio {
    font-size: 16px;
  }

  .spotify-player-card {
    padding: 10px;
  }

  .spotify-wrap iframe {
    height: 500px;
  }

  .spotify-fallback {
    flex-direction: column;
    align-items: stretch;
  }

  .spotify-fallback .button {
    width: 100%;
  }

  .merch-grid {
    grid-template-columns: 1fr;
  }
}

.simple-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 30px;
}

.simple-page-inner {
  text-align: center;
}

.simple-page h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 9vw, 100px);
}

.simple-page p:not(.eyebrow) {
  margin-bottom: 30px;
  color: #aaa;
}


/* BIO */
.bio { max-width: 850px; margin: 0 auto; text-align: left; }
.bio p { margin: 0 0 24px; font-size: 18px; line-height: 1.85; color: #d2d2d2; }
.bio p:last-child { margin-bottom: 0; }
.bio em { color: #fff; }
@media (max-width: 700px) { .bio p { font-size: 16px; line-height: 1.75; } }
