:root {
  --bg: #050505;
  --bg-soft: #0b0a09;
  --panel: #11100e;
  --panel-strong: #18130d;
  --gold: #b89255;
  --gold-bright: #f0ad49;
  --rust: #7a2a1e;
  --red: #b32624;
  --text: #f5f2ea;
  --muted: #b0a79a;
  --dim: #726a60;
  --line: rgba(184, 146, 85, 0.2);
  --font-heading: Impact, "Arial Narrow", "Franklin Gothic Condensed", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pad: clamp(64px, 9vw, 128px);
  --nav-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  height: auto;
}

a {
  color: var(--gold-bright);
  text-decoration: none;
}

a:hover {
  color: #ffd18a;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

p {
  margin: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: var(--nav-height);
  background: rgba(5, 5, 5, 0.88);
  border-bottom: 1px solid rgba(184, 146, 85, 0.16);
  backdrop-filter: blur(18px);
}

.nav-content {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  color: var(--gold-bright);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.8vw, 28px);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(17, 16, 14, 0.9);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--gold-bright);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("../assets/img/stearl-band-hero.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(0.85) contrast(1.08);
  transform: scale(1.02);
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.68) 42%, rgba(5, 5, 5, 0.24) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 5, 5, 0) 35%),
    radial-gradient(circle at 25% 40%, rgba(179, 38, 36, 0.35), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: clamp(54px, 9vw, 96px);
}

.hero-eye {
  position: absolute;
  top: clamp(70px, 9vh, 110px);
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  width: clamp(150px, 19vw, 240px);
  height: clamp(150px, 19vw, 240px);
  opacity: 0.86;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.68));
  pointer-events: auto;
}

.hero-eye model-viewer {
  width: 100%;
  height: 100%;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(5rem, 16vw, 11rem);
  color: var(--text);
  text-shadow: 0 7px 28px rgba(0, 0, 0, 0.8);
}

.claim {
  margin-top: 12px;
  color: var(--gold-bright);
  font-size: clamp(1.05rem, 3vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mission {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 34px;
}

.align-left {
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  background: rgba(5, 5, 5, 0.34);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #050505;
}

.btn-solid {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #050505;
}

.btn-ghost {
  border-color: rgba(245, 242, 234, 0.24);
  color: var(--muted);
}

.section {
  padding: var(--pad) 0;
  border-top: 1px solid rgba(184, 146, 85, 0.08);
  background:
    linear-gradient(180deg, rgba(122, 42, 30, 0.08), transparent 24%),
    var(--bg);
}

.visual-section,
.band-section {
  background:
    linear-gradient(180deg, rgba(184, 146, 85, 0.06), transparent 28%),
    var(--bg-soft);
}

.section-heading {
  margin-bottom: clamp(34px, 6vw, 58px);
}

.section-heading h2 {
  padding-left: 22px;
  border-left: 8px solid var(--gold);
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.spotify-feature {
  display: grid;
  grid-template-columns: minmax(132px, 180px) minmax(190px, 0.42fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 34px);
  align-items: center;
  margin-bottom: 26px;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(184, 146, 85, 0.16), rgba(179, 38, 36, 0.09)),
    var(--panel);
  border: 1px solid rgba(240, 173, 73, 0.46);
}

.spotify-cover {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(240, 173, 73, 0.46);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.spotify-feature h3 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.spotify-feature p:not(.release-label) {
  color: var(--muted);
}

.spotify-feature iframe,
.overlay-content iframe {
  display: block;
  border: 0;
  border-radius: 12px;
}

.spotify-player {
  display: grid;
  gap: 14px;
}

.spotify-open {
  justify-self: start;
}

.release-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(132px, 180px) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--panel), #090807);
  border: 1px solid var(--line);
}

.release-card.current-release {
  border-color: rgba(240, 173, 73, 0.55);
}

.release-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  object-fit: cover;
}

.release-card-body {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
}

.release-label {
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.release-card h3,
.booking-card h3,
.visual-copy h3,
.band-intro h3,
.merch-content h3 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
}

.release-card p:not(.release-label) {
  margin-bottom: 24px;
  color: var(--muted);
}

details {
  margin-top: 24px;
  border-top: 1px solid rgba(245, 242, 234, 0.12);
}

summary {
  padding: 16px 0 6px;
  color: var(--gold-bright);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  list-style: none;
  text-transform: uppercase;
}

.lyrics-box {
  max-height: 360px;
  overflow: auto;
  padding: 12px 0 2px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.75;
  white-space: pre-line;
}

.visual-grid,
.epk-grid,
.merch-featured,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(26px, 6vw, 64px);
  align-items: center;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.video-shell img,
.video-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.play-video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 132px;
  min-height: 54px;
  border: 1px solid var(--gold-bright);
  background: rgba(5, 5, 5, 0.82);
  color: var(--gold-bright);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.visual-copy p,
.lead,
.booking-card p,
.band-intro p,
.member-card p,
.merch-content p,
.site-footer p {
  color: var(--muted);
}

.visual-copy .btn,
.booking-card .btn,
.merch-content .btn {
  margin-top: 26px;
}

.facts-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.facts-list li {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 242, 234, 0.1);
}

.facts-list strong {
  color: var(--gold-bright);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts-list span {
  min-width: 0;
  color: var(--text);
}

.booking-card {
  padding: clamp(24px, 4vw, 38px);
  background: linear-gradient(145deg, var(--panel-strong), #090807);
  border: 1px solid rgba(240, 173, 73, 0.32);
}

.small-note {
  margin-top: 20px;
  font-size: 0.82rem;
}

.band-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
  margin-bottom: 34px;
}

.band-intro img {
  width: 100%;
  border: 1px solid var(--line);
  object-fit: cover;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.member-card {
  min-width: 0;
  padding: 18px;
  background: var(--panel);
  border: 1px solid rgba(245, 242, 234, 0.1);
}

.member-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.75) contrast(1.08);
  border: 1px solid rgba(240, 173, 73, 0.4);
  margin-bottom: 18px;
}

.member-card h3 {
  font-size: 1.7rem;
}

.role {
  display: block;
  margin: 4px 0 10px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.merch-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.merch-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
}

.merch-notice {
  margin-bottom: 14px;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer {
  padding: clamp(58px, 8vw, 96px) 0 34px;
  background: #020202;
  border-top: 1px solid rgba(184, 146, 85, 0.12);
}

.site-footer h2 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 5.2rem);
}

.footer-socials {
  display: grid;
  gap: 12px;
  justify-items: end;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(245, 242, 234, 0.1);
  color: var(--dim);
  font-size: 0.82rem;
}

.release-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
}

.release-overlay[hidden] {
  display: none;
}

.overlay-content {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: clamp(24px, 5vw, 42px);
  background: #080706;
  border: 1px solid rgba(240, 173, 73, 0.62);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.7);
}

.overlay-content h2 {
  margin-bottom: 14px;
  color: var(--gold-bright);
  font-size: clamp(2.4rem, 8vw, 4rem);
}

.overlay-content p {
  margin-bottom: 22px;
  color: var(--muted);
}

.overlay-content iframe {
  display: block;
  margin-bottom: 20px;
  border: 0;
}

.close-overlay {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--gold-bright);
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-height) 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 20px 24px;
    background: rgba(5, 5, 5, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(245, 242, 234, 0.08);
    font-size: 0.88rem;
  }

  .hero {
    min-height: 94svh;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(5, 5, 5, 0.34) 55%, rgba(5, 5, 5, 0.62) 100%),
      radial-gradient(circle at 28% 35%, rgba(179, 38, 36, 0.42), transparent 36%);
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 22vw, 7rem);
  }

  .release-grid,
  .spotify-feature,
  .release-card,
  .visual-grid,
  .epk-grid,
  .band-intro,
  .member-grid,
  .merch-featured,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .release-card img {
    max-width: 180px;
    min-height: auto;
    aspect-ratio: 1;
  }

  .spotify-cover {
    max-width: 180px;
  }

  .footer-socials {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .btn-group,
  .btn {
    width: 100%;
  }

  .btn {
    padding-inline: 16px;
  }

  .hero-eye {
    top: 76px;
    width: clamp(142px, 38vw, 174px);
    height: clamp(142px, 38vw, 174px);
    opacity: 0.82;
  }

  .mission {
    font-size: 0.98rem;
  }

  .section-heading h2 {
    padding-left: 16px;
    border-left-width: 6px;
  }

  .facts-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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