@font-face {
  font-family: 'Ristretto Slab Pro';
  src: url('RistrettoSlabPro.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0a0a0a;
  --dark:    #111111;
  --dim:     #1c1c1c;
  --muted:   #555555;
  --silver:  #a0a0a0;
  --white:   #e8e8e8;
  --accent:  #c8a97e;
}

html { scroll-behavior: smooth; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ── NAV (shared) ── */
nav {
  background: var(--black);
  border-bottom: 1px solid var(--dim);
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 128px;
  overflow: visible;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 1.6vw, 2rem);
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'Ristretto Slab Pro', serif;
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-logo {
  height: 86px;
  width: 86px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center 60%;
  clip-path: inset(0);
  filter: contrast(1.8);
  mix-blend-mode: screen;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-page-link {
  padding-top: 9px;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-links a:hover { color: var(--accent); }

.nav-links a.featured {
  color: var(--white);
  font-weight: bold;
  background: #e8621a;
  padding: 4px 14px;
  border-radius: 3px;
}

.nav-links a.featured:hover { color: var(--white); background: #ff7a30; }

.label-full  { display: inline; }
.label-short { display: none; }
.label-abbr  { display: none; }

.mobile-links { display: none; }

@media (max-width: 1200px) {
  nav { display: none; }

  .mobile-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px 6vw;
  }

  .mobile-links a {
    font-family: 'Ristretto Slab Pro', serif;
    font-size: 1.2rem;
    font-weight: normal;
    letter-spacing: 0.04em;
    color: var(--silver);
    text-decoration: none;
    text-align: center;
    padding: 12px 8px;
    border: 1px solid var(--dim);
    border-radius: 4px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
  }

  .mobile-links a:hover { color: var(--accent); border-color: var(--accent); }

  .mobile-links a.featured {
    color: var(--white);
    font-weight: bold;
    background: #e8621a;
    border-color: #e8621a;
  }

  .mobile-links a.featured:hover { background: #ff7a30; border-color: #ff7a30; }
}

@media (max-width: 600px) {
  .label-full  { display: none; }
  .label-short { display: inline; }
}

@media (max-width: 380px) {
  .label-short { display: none; }
  .label-abbr  { display: inline; }
}

/* ── FOOTER (shared) ── */
footer {
  text-align: center;
  padding: 40px 6vw;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  border-top: 1px solid var(--dim);
}

/* ════════════════════════════════
   INDEX PAGE
   ════════════════════════════════ */

.hero-wrapper { position: relative; }

nav.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: var(--black);
  border-bottom: 1px solid var(--dim);
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  overflow: visible;
}

.hero {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 128px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: relative;
  width: 100%;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0.85);
  padding-top: 0;
}

@media (max-width: 1200px) {
  nav.hero-nav { display: none; }
  .hero { padding-top: 20px; }
}

.secret-game-trigger {
  position: absolute;
  left: 37.6%;
  top: 62.3%;
  z-index: 4;
  width: clamp(36px, 3.2vw, 58px);
  height: clamp(36px, 3.2vw, 58px);
  min-width: 36px;
  min-height: 36px;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
}

.secret-game-trigger:focus,
.secret-game-trigger:hover,
.secret-game-trigger:active {
  border: 0;
  outline: 0;
  background: transparent;
}

.secret-game-trigger:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 50%;
}

section {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 6vw;
}

.hero picture {
  display: block;
  width: 100%;
}

@media (max-width: 600px) {
  section { padding: 48px 6vw; }
}

.section-label {
  font-size: 1.3rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 500;
  margin-bottom: 2rem;
}

.bio-text {
  font-size: 1.1rem;
  color: var(--silver);
  line-height: 1.9;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--dim);
  margin: 0 auto;
}

.contact-email {
  font-family: 'Ristretto Slab Pro', serif;
  font-size: 2.1rem;
  font-weight: normal;
  letter-spacing: 0.06em;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.contact-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ════════════════════════════════
   DISCOGRAPHY PAGE
   ════════════════════════════════ */

body.discography-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('images/band_with_sv_1800.jpg');
  background-image: image-set(
    url('images/band_with_sv_1800.webp') type('image/webp'),
    url('images/band_with_sv_1800.jpg') type('image/jpeg')
  );
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-position-y: 128px;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  body.discography-page::before {
    background-image: image-set(
      url('images/band_with_sv_960.webp') type('image/webp'),
      url('images/band_with_sv_1800.jpg') type('image/jpeg')
    );
  }
}

body.discography-page > * {
  position: relative;
  z-index: 1;
}

.page-title {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 6vw 40px;
}

.page-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-title h1 {
  font-family: 'Ristretto Slab Pro', serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.page-title .section-label {
  font-size: 1.3rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 500;
  margin-bottom: 1rem;
}

.discography {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6vw 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.discography-view-switch {
  display: none;
  flex: 0 0 auto;
  padding: 2px;
  border: 1px solid var(--dim);
  border-radius: 4px;
  background: rgba(10, 10, 10, 0.72);
}

.discography-view-switch button {
  min-width: 76px;
  min-height: 32px;
  padding: 5px 10px;
  border: 0;
  border-radius: 2px;
  color: var(--silver);
  background: transparent;
  font: 600 0.68rem/1 'Inter', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.discography-view-switch button[aria-pressed="true"] {
  color: var(--black);
  background: var(--accent);
}

.discography-view-switch button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.release {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid var(--dim);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s;
}

.release:last-child { border-bottom: 1px solid var(--dim); }
.release:hover { border-color: var(--muted); }
.release:has(.platform-dropdown.open) { z-index: 10; }

.release > picture {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
}

.release-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.release-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.8rem;
}

.release-title {
  font-family: 'Ristretto Slab Pro', serif;
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1.1;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.release-meta-labels {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.release-year {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 600;
}

.release-type {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.release-description {
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.6;
  padding-top: 0.8rem;
  border-top: 1px solid var(--dim);
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.platform-link {
  position: relative;
  display: inline-block;
}

.platform-link img,
.platform-dropdown img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s;
  display: block;
}

.platform-link img.circle,
.platform-dropdown img.circle { border-radius: 50%; }

.platform-link > a { display: block; }

.platform-link > a img:hover,
.platform-dropdown:hover img,
.platform-dropdown.open img {
  opacity: 1;
  transform: scale(1.15);
}

.platform-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--dark);
  border: 1px solid var(--dim);
  border-radius: 6px;
  min-width: 220px;
  z-index: 100;
  overflow: hidden;
}

.platform-dropdown.open .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--silver);
  text-decoration: none;
  border-bottom: 1px solid var(--dim);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--dim); color: var(--white); }

@media (min-width: 601px) and (max-width: 900px) {
  .discography {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .release-info { padding: 1rem; }
}

.platform-dropdown-trigger {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.platform-dropdown-trigger:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (min-width: 901px) {
  .discography-view-switch { display: inline-flex; }

  .discography.view-tiles {
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .discography.view-tiles .release {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: 1px solid var(--dim);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s;
  }

  .discography.view-tiles .release:last-child { border-bottom: 1px solid var(--dim); }
  .discography.view-tiles .release:hover { border-color: var(--muted); }
  .discography.view-tiles .release:has(.platform-dropdown.open) { z-index: 10; }

  .discography.view-tiles .release > picture {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
  }

  .discography.view-tiles .release-cover {
    width: 100%;
    height: 100%;
  }

  .discography.view-tiles .release-info {
    flex: 1;
    padding: 1.2rem;
  }

  .discography.view-list {
    max-width: 860px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .discography.view-list .release {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    border: 0;
    border-top: 1px solid var(--dim);
    border-radius: 0;
    background: transparent;
  }

  .discography.view-list .release:last-child {
    border-bottom: 1px solid var(--dim);
  }

  .discography.view-list .release > picture {
    width: 180px;
    height: 180px;
    border-radius: 0;
  }

  .discography.view-list .release-cover {
    width: 180px;
    height: 180px;
  }

  .discography.view-list .release-info { padding: 0; }
}

@media (max-width: 600px) {
  .discography { grid-template-columns: 1fr; }
  .release-title { font-size: 2.5rem; }
}

/* ════════════════════════════════
   BAND PAGE
   ════════════════════════════════ */

.members {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6vw 80px;
  display: flex;
  flex-direction: column;
}

.member {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--dim);
  align-items: start;
}

.member:last-child { border-bottom: 1px solid var(--dim); }

.member > picture {
  width: 150px;
  height: 225px;
  overflow: hidden;
  display: block;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.1rem;
}

.member-name {
  font-family: 'Ristretto Slab Pro', serif;
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.member-role {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.member-bio {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.8;
}

@media (max-width: 600px) {
  .member {
    grid-template-columns: 120px 1fr;
    gap: 1.2rem;
  }

  .member > picture {
    width: 120px;
    height: 180px;
  }

  .member-name { font-size: 1.4rem; }
}

@media (max-width: 400px) {
  .member {
    grid-template-columns: 1fr;
  }

  .member > picture {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
  }
}

/* ── LOGO NAV ── */
.logo-nav {
  width: 230px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: inherit;
}

.logo-nav-links {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.45rem;
  margin-top: 4px;
  white-space: nowrap;
}

.logo-nav-links a {
  font-family: 'Ristretto Slab Pro', serif;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.15s;
}

.logo-nav-links a:hover { color: var(--accent); }

.logo-nav-links a:focus-visible {
  color: var(--white);
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.logo-nav-separator {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
}
