/* 1. Design tokens */

:root {
  color-scheme: dark;

  --background: #11110f;
  --surface: #1b1a17;
  --surface-light: #24221e;
  --text: #f4efe6;
  --muted: #c0b9ae;
  --accent: #df9552;
  --accent-light: #f0b477;
  --border: rgba(244, 239, 230, 0.13);

  --content-width: 1100px;
}

/* 2. Basis */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}

/* 3. Hero */

.hero {
  min-height: min(820px, 92vh);
  background:
    linear-gradient(
      90deg,
      rgba(13, 13, 12, 0.62),
      rgba(13, 13, 12, 0.08) 75%
    ),
    linear-gradient(
      0deg,
      rgba(13, 13, 12, 0.96),
      transparent 68%
    ),
    url("bandportret.jpg") center 11% / cover no-repeat;
}

.language-switch {
  position: absolute;
  z-index: 2;
  top: 1.5rem;
  right: max(1.5rem, calc((100vw - var(--content-width)) / 2));
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.language-switch button {
  padding: 0.25rem 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}

.language-switch button:hover,
.language-switch button[aria-pressed="true"] {
  color: var(--accent-light);
}

.language-switch button[aria-pressed="true"] {
  font-weight: 700;
}

.hero-content {
  width: min(100% - 3rem, var(--content-width));
  margin: 0 auto;
  padding: 22rem 0 6rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(2.5rem, 10.5vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  white-space: nowrap;
  text-transform: uppercase;
}

.tagline {
  margin: 1.5rem 0 2rem;
  color: #e4ddd2;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

/* 4. Buttons */

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #17130f;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--accent-light);
  background: var(--accent-light);
}

.button--outline {
  background: transparent;
  color: var(--text);
}

.button--outline:hover {
  color: #17130f;
}

/* 5. Algemene contentsecties */

.content-section {
  width: min(100% - 3rem, var(--content-width));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.about-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.about-copy p {
  margin: 0 0 1.25rem;
}

/* 6. Bandleden */

.members-section {
  width: 100%;
  background:
    radial-gradient(
      ellipse at 10% 0%,
      rgba(223, 149, 82, 0.08),
      transparent 45%
    ),
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.members-inner {
  width: min(100% - 3rem, var(--content-width));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

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

.member-card {
  min-height: 190px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--surface-light), #171613);
}

.member-number {
  margin-bottom: auto;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.member-card h3 {
  margin: 2rem 0 0.2rem;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.member-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* 7. Live-sectie */

.live-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.live-copy p {
  max-width: 470px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.live-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* 8. Contact */

.contact-section {
  width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-inner {
  width: min(100% - 3rem, var(--content-width));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.contact-copy {
  max-width: 650px;
}

.contact-copy p:last-child {
  margin: 1.25rem 0 0;
  color: var(--muted);
}

/* 9. Footer */

.site-footer {
  width: min(100% - 3rem, var(--content-width));
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1.25rem;
}

.social-links a {
  text-decoration: none;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--accent-light);
}

/* 10. Responsive */

@media (max-width: 760px) {
  .hero {
    min-height: 0;
    padding-top: 30vw;
    background:
      linear-gradient(
        90deg,
        rgba(13, 13, 12, 0.62),
        rgba(13, 13, 12, 0.08) 75%
      ),
      linear-gradient(
        0deg,
        rgba(13, 13, 12, 0.96),
        transparent 68%
      ),
      url("bandportret-mobiel.jpg") center 11% / 100% auto no-repeat;
  }

  .language-switch {
    right: 1rem;
  }

  .hero-content,
  .content-section,
  .members-inner,
  .contact-inner {
    width: min(100% - 2rem, var(--content-width));
  }

  .hero-content {
    padding: 5rem 0 1rem;
  }

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

  .member-card {
    min-height: 150px;
  }

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

  .contact-inner {
    align-items: start;
    flex-direction: column;
  }

  .site-footer {
    width: min(100% - 2rem, var(--content-width));
  }
}

@media (max-width: 420px) {
  .hero-content {
    padding-bottom: 4rem;
  }

  h1 {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}

/* 11. Beperkte beweging respecteren */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
