@font-face {
  font-family: "Eurostile Extended";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./public/assets/fonts/eurostile-extended-two.woff2") format("woff2");
}

:root {
  --bg: #020202;
  --panel: #070707;
  --text: #efefef;
  --muted: #888;
  --accent: #b81625;
  --line: #181818;
  --header-height: 4.75rem;
  --font-display: "Eurostile Extended", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

#music,
#gigs,
#photos {
  scroll-margin-top: var(--header-height);
}

#store {
  scroll-margin-top: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  min-height: 100vh;
}

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

/* Hide browser-extension overlays (e.g. Apollo, Lovable badge) */
.extension-opener-icon,
[data-cy="apollo-opener-icon-new"],
#lovable-badge,
[id*="apollo_everywhere"] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 1.1rem 5vw;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.logo,
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: #b9b9b9;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.28rem;
}

.site-nav a:hover,
.footer-links a:hover {
  color: #fff;
}

.hero {
  align-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.84)),
    url("./public/assets/hero-reference.png");
  background-position: center 35%;
  background-size: cover;
  display: grid;
  min-height: 94vh;
  padding-inline: 6vw;
  position: relative;
}

.hero-overlay {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.13), transparent 28%);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-content {
  justify-self: center;
  margin-top: 1rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

.eyebrow {
  color: #9b9b9b;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.43rem;
  margin-bottom: 0.9rem;
}

.hero-divider {
  background: rgba(220, 220, 220, 0.5);
  height: 1px;
  margin: 0 auto 1.4rem;
  width: 3rem;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.8rem, 12.5vw, 8rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.subheading {
  color: #a2a2a2;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.36rem;
  margin-top: 1.3rem;
}

.scroll-link {
  bottom: 1.6rem;
  color: #a0a0a0;
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 700;
  justify-self: center;
  letter-spacing: 0.38rem;
  position: absolute;
}

.hero-year {
  bottom: 1.8rem;
  color: #8a8a8a;
  font-family: var(--font-display);
  font-size: 0.52rem;
  font-weight: 700;
  left: 1.4rem;
  letter-spacing: 0.26rem;
  position: absolute;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
}

.music-release {
  align-items: stretch;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: 1280px;
  min-height: 62vh;
  padding: 0;
}

.release-art {
  background-image: linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.35)),
    url("./public/assets/single-cover.jpg");
  background-position: center center;
  background-size: cover;
  border-right: 1px solid var(--line);
}

.release-copy {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.1rem;
}

.release-tag {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.28rem;
}

.release-copy h2 {
  font-size: clamp(2.5rem, 6vw, 4.9rem);
  letter-spacing: 0.2rem;
  margin-top: 0.7rem;
}

.release-state {
  color: #9f9f9f;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.34rem;
  margin-bottom: 1.4rem;
}

.release-description {
  color: #b3b3b3;
  line-height: 1.7;
  margin-bottom: 1.8rem;
  max-width: 35ch;
}

.listen-button {
  align-self: flex-start;
  background: transparent;
  border: 1px solid #808080;
  color: #d8d8d8;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.33rem;
  margin-bottom: 1.8rem;
  padding: 0.9rem 1.55rem;
  transition: background 180ms ease, color 180ms ease;
}

.listen-button:hover {
  background: #efefef;
  color: #040404;
}

.track-list {
  border-top: 1px solid var(--line);
  list-style: none;
}

.track-list li {
  border-bottom: 1px solid var(--line);
  color: #c5c5c5;
  display: flex;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.18rem;
  padding: 1rem 0;
}

.gigs {
  border-top: 1px solid var(--line);
  margin: 0 auto;
  max-width: 1280px;
  padding: 3rem 2.2rem;
}

.gigs-header {
  margin-bottom: 1.6rem;
}

.gigs-tag,
.photos-tag,
.store-tag {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32rem;
}

.gigs h2,
.photos h2,
.store h2 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  letter-spacing: 0.16rem;
  margin-top: 0.5rem;
}

.gigs-empty {
  border-top: 1px solid var(--line);
  color: #8a8a8a;
  font-size: 0.72rem;
  letter-spacing: 0.18rem;
  padding-top: 1.2rem;
}

.photos {
  border-top: 1px solid var(--line);
  margin: 0 auto;
  max-width: 1280px;
  padding: 3rem 2.2rem;
}

.photos-header {
  margin-bottom: 2rem;
}

.photos-grid {
  align-items: end;
  container-type: inline-size;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photos-grid img {
  border: 1px solid var(--line);
  display: block;
  filter: grayscale(1);
  height: auto;
  transition: filter 550ms ease, transform 650ms ease, border-color 250ms ease;
  width: 100%;
}

.photos-grid img:hover {
  border-color: #2a2a2a;
  filter: grayscale(0.15);
  transform: scale(1.02);
}

.photos-grid img.photo-compact {
  justify-self: center;
  max-height: calc(33.333cqi * 560 / 1024);
  max-width: 100%;
  width: auto;
}

.store {
  border-top: 1px solid var(--line);
  margin: 0 auto;
  max-width: 1280px;
  padding: 3rem 2.2rem 4rem;
}

.store-header {
  margin-bottom: 2rem;
}

.store-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-item {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 250ms ease;
}

.store-item:hover {
  border-color: #2a2a2a;
}

.store-item img {
  aspect-ratio: 3 / 4;
  background: #111;
  display: block;
  object-fit: cover;
  width: 100%;
}

.store-name {
  color: #e0e0e0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24rem;
  padding: 1rem 1rem 0.25rem;
}

.store-variant {
  color: #8a8a8a;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22rem;
  padding: 0 1rem 1rem;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: #8a8a8a;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: auto 1fr auto;
  padding: 2rem 6vw 2.8rem;
}

.footer-text {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24rem;
  margin-top: 0.6rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;
}

.footer-links a {
  font-size: 0.76rem;
  letter-spacing: 0.12rem;
}

.copyright {
  font-size: 0.68rem;
  letter-spacing: 0.24rem;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .music-release {
    grid-template-columns: 1fr;
    min-height: initial;
  }

  .release-art {
    min-height: 22rem;
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .release-copy {
    padding: 2rem 1.25rem;
    border-right: 0;
  }

  .hero-year {
    display: none;
  }

  .gigs,
  .photos,
  .store {
    padding-inline: 1.25rem;
  }

  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    gap: 1.2rem;
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .photos-grid,
  .store-grid {
    grid-template-columns: 1fr;
  }

  .photos-grid img.photo-compact {
    max-height: none;
    width: 100%;
  }
}
