/*
  LOUDISH! V2 stylesheet
  The design keeps the dark stage mood from the old page, but uses a responsive
  layout system instead of fixed pixel positioning.
*/

:root {
  --color-bg: #050607;
  --color-panel: #11171a;
  --color-panel-soft: #182024;
  --color-text: #f5f2ed;
  --color-muted: #c4bab2;
  --color-line: rgba(255, 255, 255, 0.14);
  --color-accent: #b86f68;
  --color-accent-strong: #e0a39b;
  --color-teal: #0b7a7c;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --content-width: 1120px;
  --nav-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  /* A fixed stage wash gives subpages the same atmosphere as the homepage. */
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.18), var(--color-bg) 82%),
    url("../../img/background.jpg") center / cover no-repeat;
  content: "";
  filter: brightness(0.38);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 72% 18%, rgba(11, 122, 124, 0.3), transparent 30%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--nav-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 7, 0.78);
  backdrop-filter: blur(18px);
}

.site-nav {
  display: flex;
  width: min(calc(100vw - 32px), var(--content-width));
  min-height: var(--nav-height);
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  gap: 24px;
}

.brand img {
  width: clamp(170px, 20vw, 270px);
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-toggle {
  gap: 4px;
  flex-direction: column;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.11);
}

.hero {
  display: grid;
  min-height: calc(100vh - var(--nav-height));
  align-items: center;
  padding: 64px 0 72px;
}

.hero-inner,
.section-inner {
  width: min(calc(100vw - 32px), var(--content-width));
  margin: 0 auto;
}

.hero-copy {
  max-width: 820px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.65);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.35rem;
}

.highlight {
  color: var(--color-accent-strong);
}

.lead {
  max-width: 740px;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  overflow-wrap: anywhere;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--color-accent);
  color: #120909;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
}

.button-ghost {
  border-color: var(--color-line);
  color: var(--color-text);
}

.page-main {
  padding-bottom: 88px;
}

.section {
  padding: 78px 0;
}

.section-muted {
  background: rgba(5, 6, 7, 0.72);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 24px;
}

.section-header p {
  max-width: 560px;
  margin: 0;
  color: var(--color-muted);
}

.next-show,
.panel,
.show-card,
.download-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(17, 23, 26, 0.82);
  box-shadow: var(--shadow);
}

.next-show {
  padding: clamp(24px, 4vw, 42px);
  min-width: 0;
}

.next-show p {
  max-width: 720px;
  color: var(--color-muted);
}

.show-meta {
  display: flex;
  flex-wrap: wrap;
  margin: 18px 0;
  gap: 10px;
}

.show-meta span {
  padding: 7px 10px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  font-weight: 700;
}

.split {
  display: grid;
  align-items: center;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
}

.panel {
  padding: clamp(22px, 4vw, 34px);
}

.panel p:first-of-type {
  margin-top: 0;
}

.band-photo {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.band-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.show-list {
  display: grid;
  gap: 14px;
}

.show-card {
  display: grid;
  align-items: center;
  padding: 18px;
  gap: 18px;
  grid-template-columns: 138px minmax(0, 1fr) auto;
}

.show-card time {
  color: var(--color-accent-strong);
  font-size: 1.1rem;
  font-weight: 900;
}

.show-card p {
  margin: 6px 0 0;
  color: var(--color-muted);
  overflow-wrap: anywhere;
}

.show-note {
  font-size: 0.95rem;
}

.show-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.downloads-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-card {
  display: grid;
  min-height: 190px;
  align-content: space-between;
  padding: 24px;
  text-decoration: none;
}

.download-card p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal {
  max-width: 920px;
}

.legal h2 {
  margin-top: 42px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.legal h3 {
  margin-top: 28px;
}

.legal p,
.legal li {
  color: var(--color-muted);
}

.empty-state {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-muted);
}

.site-footer {
  border-top: 1px solid var(--color-line);
  background: rgba(5, 6, 7, 0.88);
}

.footer-inner {
  display: flex;
  width: min(calc(100vw - 32px), var(--content-width));
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 26px 0;
  gap: 18px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.footer-inner a {
  color: var(--color-text);
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-nav {
    min-height: 74px;
  }

  .brand img {
    width: 180px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: rgba(5, 6, 7, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 78px 0 70px;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.6rem);
  }

  .section {
    padding: 56px 0;
  }

  .section-header,
  .footer-inner {
    align-items: start;
    flex-direction: column;
  }

  .split,
  .downloads-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .show-card {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .show-actions {
    justify-content: flex-start;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    flex: 1 1 100%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .button-row,
  .show-actions {
    width: 100%;
  }
}


.event-photo {
  background: rgba(0, 0, 0, 0.32);
}

.event-photo img {
  width: 100%;
  max-height: 70vh;
  aspect-ratio: auto;
  object-fit: contain;
}


.event-poster {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.event-poster img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 75vh;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: contain;
}

