:root {
  color-scheme: dark;
  --bg: #0c0d12;
  --surface: #121420;
  --surface-soft: rgba(22, 25, 38, 0.85);
  --ink: #f4f4f8;
  --muted: #a2a6b6;
  --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;
}

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;
}

.skip-link:focus {
  top: 10px;
}

.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;
}

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


.toolbar-player {
  width: 270px;
  height: 37px;
  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 img {
  height: 72px;
  width: auto;
  display: block;
  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;
}

.header-logo a img {
  margin-left: -6px;
}
.header-logo {
  position: relative;
  z-index: 2;
}

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

.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);
}

.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;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
  margin: 5px 0;
}

.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;
}

.view-section {
  display: block;
}

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

.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: 12px;
}

.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;
  }

  .gallery-nav {
    justify-self: center;
  }
}

.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;
}

.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(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.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;
}

.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-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));
  }
}

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

.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: 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;
}

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

.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) {
  body.layout-v2 {
    background-size: 150% auto;
    background-repeat: no-repeat;
    background-position: calc(50% - 5px) 30px;
    background-attachment: scroll;
  }

  .page {
    padding-top: 0px;
    margin-top: calc(-0.85 * max(0px, 100vh - 667px));
  }

  .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-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: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 860px) {
  .toolbar-player {
    display: none;
  }

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

  .site-nav {
    position: absolute;
    right: 24px;
    top: 70px;
    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;
  }

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

  .nav-toggle {
    display: block;
  }
}
