:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --fg: #f5f5f5;
  --fg-muted: #9a9a9a;
  --border: #262626;
  --accent: #e5e5e5;
  --font: "Oswald", "Arial Narrow", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

img {
  max-width: 100%;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.nav__group {
  display: flex;
  gap: 1.75rem;
}

.nav__group--right {
  justify-content: flex-end;
}

.nav__link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav__link:hover {
  color: var(--fg);
}

.nav__link[aria-current="page"] {
  color: var(--fg);
  border-bottom-color: var(--fg);
}

.nav__logo {
  justify-self: center;
}

.nav__logo img {
  height: 42px;
  width: auto;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

/* Main */
main {
  flex: 1;
}

.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 1.5rem;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}

.page-header p {
  color: var(--fg-muted);
  max-width: 60ch;
  margin: 0;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}

.section h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  margin: 0 0 1.5rem;
}

/* Hero (Accueil) */
.hero {
  position: relative;
  padding: 2rem 1.25rem 3rem;
}

.hero__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
  padding: 0;
}

.hero__grid img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.05);
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 2fr 1fr;
  }
  .hero__grid li:nth-child(1),
  .hero__grid li:nth-child(5) {
    display: none;
  }
  .hero__grid img {
    height: 45vh;
  }
}

@media (max-width: 560px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__grid li:nth-child(2),
  .hero__grid li:nth-child(4) {
    display: none;
  }
  .hero__grid li:nth-child(3) img {
    height: 60vh;
  }
}

/* Le groupe */
.bio {
  max-width: 70ch;
  color: var(--fg-muted);
}

.members {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.member img {
  width: 100%;
  height: 32vh;
  object-fit: cover;
  margin-bottom: 0.9rem;
  filter: grayscale(20%);
}

@media (max-width: 600px) {
  .member img {
    height: 26vh;
  }
}

.member h3 {
  margin: 0 0 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
}

.member .role {
  color: var(--fg-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.6rem;
}

.member p:last-child {
  color: var(--fg-muted);
  font-size: 0.92rem;
}

/* Concerts */
.shows {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}

.show {
  display: grid;
  grid-template-columns: 8rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.show__date {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}

.show__place strong {
  display: block;
  font-size: 1.05rem;
}

.show__place span {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.show__link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  white-space: nowrap;
}

.show__link:hover {
  border-color: var(--fg);
}

.show--past {
  opacity: 0.55;
}

.empty-state {
  color: var(--fg-muted);
  font-style: italic;
  padding: 1.5rem 0;
}

@media (max-width: 600px) {
  .show {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* Media */
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  cursor: zoom-in;
  filter: grayscale(15%);
  transition: filter 0.2s ease;
}

.gallery img:hover {
  filter: grayscale(0%);
}

.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

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

.music-embed iframe {
  width: 100%;
  border: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer__social {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__social a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}

.footer__social a:hover {
  color: var(--fg);
}

.footer__contact a {
  font-size: 0.85rem;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
}

.footer__contact a:hover {
  color: var(--fg);
  border-color: var(--fg);
}

.footer__copy {
  width: 100%;
  color: #555;
  font-size: 0.75rem;
}

/* Mobile nav */
@media (max-width: 780px) {
  .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .nav__logo {
    order: 1;
  }

  .nav__toggle {
    display: block;
    order: 2;
  }

  .nav__group {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 0.75rem;
  }

  .nav__group--left {
    order: 3;
  }

  .nav__group--right {
    order: 4;
    justify-content: flex-start;
  }

  .nav.is-open .nav__group {
    display: flex;
  }

  .nav__link {
    padding: 0.9rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
}
