@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #0c0d12;
  --surface: #121420;
  --surface-soft: rgba(22, 25, 38, 0.85);
  --ink: #f4f4f8;
  --muted: #c0c5d6;
  --accent: #ffb347;
  --accent-bright: #ffb347;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-width: 1140px;
  --font-body: "Space Grotesk", "Segoe UI", sans-serif;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --hero-image: none;
  --hero-overlay: 0.45;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(circle at 10% 10%, #1d2032 0%, var(--bg) 45%, #090a0f 100%);
  color: var(--ink);
  position: relative;
}

html,
body {
  overflow-x: hidden;
}

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

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--ink);
  color: #0b0c10;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.skip-link:focus {
  top: 10px;
  opacity: 1;
  pointer-events: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(10, 12, 18, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 16px;
  min-height: 58px;
}

body.debug-header .site-header::before,
body.debug-header .site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.debug-header .site-header::before {
  background-image:
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.12) 1px,
      transparent 1px,
      transparent 20px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.12) 1px,
      transparent 1px,
      transparent 20px
    );
}

body.debug-header .site-header::after {
  background-image:
    linear-gradient(
      to right,
      transparent calc(50% - 1px),
      rgba(255, 0, 0, 0.5) calc(50% - 1px),
      rgba(255, 0, 0, 0.5) calc(50% + 1px),
      transparent calc(50% + 1px)
    ),
    linear-gradient(
      to bottom,
      transparent calc(50% - 1px),
      rgba(0, 255, 0, 0.5) calc(50% - 1px),
      rgba(0, 255, 0, 0.5) calc(50% + 1px),
      transparent calc(50% + 1px)
    );
}

body.debug-grid::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  --debug-grid-cells: 24;
  --debug-grid-size: min(
    calc(100vw / var(--debug-grid-cells)),
    calc(100vh / var(--debug-grid-cells))
  );
  background-size: var(--debug-grid-size) var(--debug-grid-size);
  background-position: center;
  background-image:
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent var(--debug-grid-size)
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent var(--debug-grid-size)
    ),
    linear-gradient(
      to right,
      transparent calc(50% - 1px),
      rgba(255, 0, 0, 0.5) calc(50% - 1px),
      rgba(255, 0, 0, 0.5) calc(50% + 1px),
      transparent calc(50% + 1px)
    ),
    linear-gradient(
      to bottom,
      transparent calc(50% - 1px),
      rgba(0, 255, 0, 0.5) calc(50% - 1px),
      rgba(0, 255, 0, 0.5) calc(50% + 1px),
      transparent calc(50% + 1px)
    );
}

.debug-grid-labels {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  display: none;
  grid-template-columns: repeat(var(--debug-grid-cells, 24), minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  z-index: 10000;
}

body.debug-grid .debug-grid-labels {
  display: grid;
}

.top-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}


.toolbar-player {
  width: 270px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(10, 12, 18, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.toolbar-player iframe {
  width: 100%;
  height: 100%;
  border: none;
  transform: scale(1.08) translate(8px, -1px);
  transform-origin: center;
}

.header-logo .header-logo-image {
  height: 96px;
  width: auto;
  display: block;
  margin-top: 9px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-logo .toolbar-icon {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  top: 2px;
  left: -4px;
}

.header-logo .header-logo-image {
  margin-left: 0;
}
.header-logo {
  position: relative;
  z-index: 2;
}

@media (min-width: 861px) {
  .header-logo {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(calc(-50% + 2px));
  }
}

@media (min-width: 861px) {
  .header-logo .header-logo-image {
    margin-left: -29px;
    margin-top: 8px;
  }
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 1rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(130px);
}

@media (max-width: 1100px) {
  .top-bar {
    flex-wrap: nowrap;
  }

  .site-nav {
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
  }
}

.toolbar-links {
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
}

.toolbar-links a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--ink);
  position: relative;
}

.toolbar-links svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.toolbar-links a::after {
  content: attr(data-label);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(10, 12, 18, 0.95);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.toolbar-links a:hover::after,
.toolbar-links a:focus::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus {
  border-bottom-color: #ff4500;
  color: var(--accent-bright);
}

.site-nav a.is-active {
  color: var(--accent-bright);
  border-bottom-color: #ff4500;
}

.nav-toggle {
  display: none;
  width: 28px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle-bar,
.nav-toggle-line {
  width: 24px;
  height: 2px;
  background: currentColor;
  display: block;
  border-radius: 999px;
}

.icon-button {
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.icon-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: block;
}

.icon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  display: block;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 24px 90px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
  background: linear-gradient(120deg, rgba(18, 20, 32, 0.92), rgba(18, 20, 32, 0.8)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-minimal {
  min-height: 60vh;
  text-align: center;
  grid-template-columns: 1fr;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-logo img {
  width: min(720px, 90vw);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
  border-radius: 12px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 7, 12, var(--hero-overlay));
  z-index: 0;
}

body.layout-v2 .hero::after {
  display: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin: 0 0 12px;
  letter-spacing: 0.12em;
}

.hero-tagline {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
}

.hero-bio {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 24px;
  font-size: 0.95rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--accent-bright);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.button.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-bright));
  color: #0b0c10;
  border-color: transparent;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.hero-card {
  background: rgba(12, 13, 20, 0.85);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}

.hero-card h3 {
  margin: 0;
  font-family: var(--font-display);
}

.section {
  margin-top: 60px;
}

.nav-anchor {
  scroll-margin-top: 80px;
  height: 1px;
}

.nav-anchor--top {
  scroll-margin-top: 0;
}

#bio {
  scroll-margin-top: 80px;
}

.view-section {
  display: block;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

#contact h2 {
  margin-top: 4px;
  margin-bottom: 18px;
}

#music h2 {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
}

#gallery h2 {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 0;
}

#merch h2 {
  display: inline-block;
  background: var(--surface);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 0;
  margin-bottom: 0;
}

#music .album-grid {
  margin-top: 0;
}

#merch .album-grid {
  margin-top: 0;
}

@media (min-width: 861px) {
  #music {
    position: relative;
  }

  #music h2 {
    border-bottom: none;
  }

  #music::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    z-index: 0;
  }

  #music > * {
    position: relative;
    z-index: 1;
  }

  #merch {
    position: relative;
  }

  #merch::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    z-index: 0;
  }

  #merch > * {
    position: relative;
    z-index: 1;
  }

  #merch {
    margin-top: 0;
  }
}

.section h3 {
  margin-bottom: 12px;
}

.members-block ul,
.social-links,
.shows-list,
.embeds,
.gallery-grid,
#admin-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.shows-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.show-row {
  background: var(--surface);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.merch-card-image {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.show-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.home-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(12, 13, 18, 0.6);
  margin-bottom: 24px;
  position: relative;
}

.home-bio {
  margin-bottom: 24px;
}

.home-bio h2 {
  margin-top: 0;
}

.home-bio-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.home-bio p {
  max-width: 900px;
  margin: 0 auto 3px;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: center;
}

.home-bio-links {
  justify-content: center;
  margin-top: 16px;
}

.home-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

.home-upcoming {
  margin-bottom: 24px;
}

.home-upcoming-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.home-upcoming .shows-list {
  gap: 0;
}

.home-upcoming-header h2 {
  margin: 0;
  color: var(--accent-bright);
}

#past-toggle {
  color: var(--muted);
}

#home-past-list .show-row strong,
#home-past-list .show-row .show-meta {
  color: var(--muted);
}

.upcoming-highlight .show-row strong,
.upcoming-highlight .show-row .show-meta {
  color: var(--accent);
}

.section h2.is-active,
.home-upcoming-header h2.is-active {
  color: var(--accent);
}


.gallery-frame {
  width: 100%;
  height: auto;
  background: rgba(12, 13, 18, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 8px;
}

.gallery-frame img {
  max-width: 100%;
  max-height: 70vh;
  height: auto;
  width: auto;
  object-fit: contain;
  background: rgba(12, 13, 18, 0.6);
}

.gallery-nav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(12, 13, 18, 0.7);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

@media (max-width: 640px) {
  .gallery-carousel {
    grid-template-columns: 1fr;
    position: relative;
  }

  .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    font-size: 0.8rem;
    background: transparent;
    border: none;
    color: #ffffff;
    display: grid;
    place-items: center;
    z-index: 2;
    isolation: isolate;
  }

  .gallery-nav::before {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(12, 13, 18, 0.7);
    z-index: -1;
  }

  .gallery-nav#gallery-prev {
    left: 8px;
  }

  .gallery-nav#gallery-next {
    right: 8px;
  }
}

.gallery-grid button {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-grid button:hover img {
  transform: scale(1.02);
  filter: saturate(1.1) contrast(1.1);
}

.placeholder {
  color: var(--muted);
  font-style: italic;
}

.placeholder a {
  text-decoration: underline;
}

.page p a,
.page li a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.embed-card {
  background: var(--surface);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

.embed-card iframe {
  width: 100%;
  height: 120px;
  border: none;
  border-radius: var(--radius-sm);
}

.merch-grid {
  display: grid;
  gap: 18px;
}

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

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

.album-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  gap: 12px;
  align-items: start;
}

.album-card-clickable {
  cursor: pointer;
}

.album-card-clickable:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.album-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: block;
}

@media (min-width: 861px) {
  #music .album-card {
    border-color: transparent;
    box-shadow: none;
  }

  #music .album-card img {
    border-color: transparent;
  }

  #merch .album-card {
    border-color: transparent;
    box-shadow: none;
  }

  #merch .album-card img {
    border-color: transparent;
  }
}

.album-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-align: center;
}

.album-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.album-card.album-details.album-links {
  min-height: 180px;
  align-content: center;
  justify-items: start;
  text-align: left;
}

.album-card.album-details.album-links ul {
  justify-items: start;
  text-align: left;
}

.album-links a {
  color: var(--accent-bright);
  text-decoration: underline;
}

.merch-zoom img {
  cursor: zoom-in;
  aspect-ratio: 1624 / 2048;
  object-fit: cover;
}

.social-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  justify-items: center;
}

.social-window h2 {
  margin-top: 0;
  justify-self: start;
  text-align: left;
  width: 100%;
}

.social-embed {
  width: 100%;
  display: flex;
  justify-content: center;
}

.social-embed iframe,
.social-embed blockquote {
  max-width: 100%;
}

.social-follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.social-follow .icon-links {
  gap: 8px;
}

.social-follow span {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .social-window {
    padding: 16px;
  }

  .social-follow {
    flex-direction: column;
  }
}

.album-details h3 {
  margin: 0 0 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
}

.album-details ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.album-card.album-details {
  align-content: start;
  justify-items: start;
  align-items: start;
}

@media (max-width: 960px) {
  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .album-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .album-grid {
    grid-template-columns: 1fr;
  }

  .album-pair {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 861px) {
  #music .album-grid {
    --music-pair-gap: 18px;
    gap: var(--music-pair-gap);
    padding-inline: var(--music-pair-gap);
    padding-bottom: var(--music-pair-gap);
  }

  #music .album-pair {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    background: transparent;
    box-shadow: none;
  }

  #merch .album-grid {
    --music-pair-gap: 18px;
    gap: var(--music-pair-gap);
    padding-inline: var(--music-pair-gap);
    padding-bottom: var(--music-pair-gap);
  }

  #merch .album-pair {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    background: transparent;
    box-shadow: none;
  }
}

.email-form,
.contact-form {
  display: grid;
  gap: 12px;
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
}

.contact-form label,
.contact-form input,
.contact-form textarea {
  width: 100%;
}

#contact {
  text-align: center;
}

#contact.contact-window {
  background: rgba(10, 12, 18, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 32px 32px;
  backdrop-filter: blur(6px);
}

#contact .contact-form label {
  text-align: left;
}

#contact .contact-form button {
  width: 100%;
}

.email-form input,
.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font: inherit;
  background: #000;
  color: var(--ink);
}

.email-form button,
.contact-form button,
#clear-emails {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(120deg, var(--accent), var(--accent-bright));
  color: #0b0c10;
  font-weight: 600;
  cursor: pointer;
}

.link-button {
  background: none;
  border: none;
  color: var(--accent-bright);
  cursor: pointer;
  padding: 0;
  font: inherit;
  text-decoration: underline;
}

.admin-panel {
  margin-top: 16px;
  background: rgba(12, 13, 20, 0.9);
  border: 1px dashed var(--border);
  padding: 16px;
  border-radius: var(--radius-sm);
}

.form-message {
  min-height: 20px;
  color: var(--accent-bright);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.social-links a {
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(12, 13, 18, 0.8);
  font-size: 0.85rem;
  color: var(--ink);
}

.icon-links a {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-footer .icon-links a {
  color: var(--ink);
}

.icon-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}


.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  text-align: center;
  justify-content: center;
  position: relative;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--accent-bright);
}

body.layout-v2 .page {
  min-height: 100vh;
}

#home {
  padding-top: calc(110vh - 327px);
}

#home .home-panel {
  background: rgba(10, 12, 18, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(6px);
}

#home-upcoming {
  scroll-margin-top: 90px;
}

#music {
  scroll-margin-top: 80px;
}

#gallery {
  scroll-margin-top: 80px;
}

#merch {
  scroll-margin-top: 80px;
}

#social {
  scroll-margin-top: 80px;
}

#contact {
  scroll-margin-top: 80px;
  scroll-margin-bottom: 80px;
}

.scroll-cue {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 16px;
}

.scroll-cue-text {
  font-family: "Montserrat", var(--font-body);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 2.28rem;
  color: var(--ink);
  display: none;
}

.scroll-cue-text--genres {
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.scroll-cue-has-text .scroll-cue {
  flex-direction: column;
  gap: 8px;
  margin: -91px 0 16px;
}

body.scroll-cue-has-text .scroll-cue-text {
  display: block;
}
.mobile-logo {
  display: none;
  width: min(720px, 70vw);
  max-width: none;
  margin: 12px auto 18px;
  transform: none;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}


.scroll-cue-arrow {
  width: 22px;
  height: 22px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  animation: cueFloat 2.4s ease-in-out infinite;
}

@keyframes cueFloat {
  0% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(6px) rotate(45deg);
  }
  100% {
    transform: translateY(0) rotate(45deg);
  }
}

body.layout-v2 {
  background: var(--page-bg, radial-gradient(circle at 10% 10%, #1d2032 0%, var(--bg) 45%, #090a0f 100%));
  background-size: cover;
  background-position: center -30px;
  background-attachment: fixed;
}


@media (max-width: 640px) {
  .mobile-logo {
    display: none;
  }

  body.layout-v2 {
    background-size: 200% auto, 100% auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center 30px, center bottom;
    background-attachment: fixed;
  }


  #bg-fixed {
    display: block;
  }

  #bg-fade {
    display: none;
  }

  #bg-fixed {
    --bg-fixed-image: url("assets/megadune1backgroundmobile.webp");
    background-position: center top;
  }

  .page {
    padding-top: 0px;
    padding-left: 12px;
    padding-right: 12px;
    margin-top: calc(-0.9 * max(0px, 100vh - 677px) - 20px);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .toolbar-player {
    display: none;
  }
}

@keyframes skullFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(6px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #skull-layer img {
    animation: none;
  }
  .scroll-cue-arrow {
    animation: none;
  }
}

#bg-fixed {
  position: fixed;
  inset: 0;
  background: var(--bg-fixed-image, var(--page-bg));
  background-size: cover;
  background-position: center -30px;
  pointer-events: none;
  z-index: 0;
  display: none;
}

#bg-fade {
  position: fixed;
  inset: 0;
  background: var(--page-bg-2);
  background-size: cover;
  background-position: center -30px;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 0.1s linear;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 640px) {
  #bg-fade {
    background-attachment: scroll;
  }
}


.page,
.site-footer,
.corner-armadillo,
.lightbox {
  position: relative;
  z-index: 1;
}

body.layout-v2 .hero {
  margin-top: 40px;
  background: transparent;
  box-shadow: none;
}

body.layout-v2 .site-footer {
  margin-top: 60px;
}

body.layout-v2 .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

body.layout-v2 .hero-logo img {
  width: min(720px, 90vw);
}

body.layout-v2 .hero-content h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: 0.2em;
}

body.layout-v2 .hero-tagline {
  margin-bottom: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 50;
}

.lightbox img {
  max-width: min(86vw, 900px);
  max-height: 80vh;
  border-radius: var(--radius-sm);
}

.lightbox button {
  width: 38px;
  height: 38px;
  background: rgba(12, 13, 18, 0.7);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.4rem;
}

.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 860px) {
  #music h2 {
    width: 100%;
  }

  #gallery h2,
  #merch h2 {
    display: block;
    width: 100%;
  }

  .site-header {
    height: 58px;
    min-height: 58px;
    background: #0a0c12;
    backdrop-filter: none;
  }

  .nav-toggle {
    display: grid;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-toggle.nav-toggle--right {
    left: auto;
    right: 14px;
  }

  .header-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% + 6px));
  }

  .header-logo .header-logo-image {
    height: 128px;
    margin-left: 1px;
  }

  .toolbar-player {
    display: none;
  }

  .header-logo .toolbar-icon {
    display: none;
  }

  .site-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 8px);
    background: rgba(12, 13, 18, 0.95);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    flex-direction: column;
    padding: 12px 16px;
    display: none;
    width: min(90vw, 320px);
    align-items: center;
  }

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