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

:root {
  --bg: #080808;
  --bg-section: #0f0f0f;
  --text: #c8c8c8;
  --text-muted: #777;
  --accent: #b01010;
  --accent-hover: #d81818;
  --border: #222;
  --font-display: "Jacques Francois Shadow", serif;
  --font-body: "Source Sans 3", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-attachment: fixed;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(8, 8, 8, 0.82), rgba(8, 8, 8, 0.82)),
    url("img/background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  min-height: 100vh;
}

/* Header */

.header {
  align-items: center;
  background: rgba(8, 8, 8, 0.65);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 0 auto;
  max-width: 960px;
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
}

.header__logo {
  display: block;
  max-width: min(520px, 90vw);
  width: 100%;
}

.header__name {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
}

.header__link {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.header__link:hover,
.header__link:focus-visible {
  color: var(--accent-hover);
}

/* Sections */

.section {
  background: rgba(8, 8, 8, 0.65);
  border-bottom: 1px solid var(--border);
  margin: 0 auto;
  max-width: 960px;
  padding: 3.5rem 1.5rem;
}

.section__title {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 2.5rem;
  text-align: center;
  text-transform: uppercase;
}

/* Music */

.music {
  display: grid;
  gap: 2.5rem;
}

.music__label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  text-align: center;
  text-transform: uppercase;
}

.music__player iframe {
  border: 0;
  display: block;
  width: 100%;
}

.music__player iframe[title="Withered Soul EP on Bandcamp"] {
  height: 120px;
  margin-inline: auto;
  max-width: 700px;
  width: 100%;
}

.music__video {
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  width: 100%;
}

.music__video iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.music__external {
  color: var(--text-muted);
  display: block;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s;
}

.music__external:hover,
.music__external:focus-visible {
  color: var(--accent-hover);
}

/* Band */

.band__bio {
  margin-bottom: 3rem;
}

.band__photo {
  display: block;
  margin-inline: auto;
  margin-bottom: 2rem;
  max-width: 420px;
  width: 100%;
}

.band__text {
  font-size: 1.05rem;
}

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

.band__figure {
  background: var(--bg-section);
  overflow: hidden;
}

.band__figure img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Footer */

.footer {
  background: rgba(8, 8, 8, 0.65);
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 2rem 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

/* Responsive */

@media (min-width: 900px) {
  .section {
    padding: 4rem 2rem;
  }
}
