/* =========================================================
   NECROCIFY — landing page
   Mobile-first, alto contraste, foco em acessibilidade.
   ========================================================= */

:root {
  --bg: #000000;
  --bg-alt: #0c0c0c;
  --bg-card: #131313;
  --fg: #ffffff;
  --fg-muted: #c2c2c2;
  --accent: #b3121c;
  --accent-bright: #e8232f;
  --border: #2a2a2a;
  --focus: #ffcc00;

  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 72rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 1rem;
}

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

a {
  color: var(--fg);
  text-decoration-color: var(--accent-bright);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--accent-bright);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.4em;
  display: inline-block;
}

h3 {
  font-size: 1.1rem;
  color: var(--accent-bright);
  margin-top: 1.6em;
}

p {
  margin: 0 0 1em;
  color: var(--fg-muted);
  max-width: 65ch;
}

/* Focus visibility (accessibility) */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--accent);
  color: #fff;
  padding: 0.6em 1em;
  z-index: 1000;
  transition: top 0.2s ease;
  text-decoration: none;
  font-family: var(--font-heading);
}

.skip-link:focus {
  top: 1rem;
}

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

/* =========================
   Header / nav
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 2.2rem;
  width: auto;
}

.nav-toggle {
  background: none;
  border: 2px solid var(--fg);
  border-radius: 4px;
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--fg);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before {
  position: absolute;
  top: -0.45rem;
}

.nav-toggle-bars::after {
  position: absolute;
  top: 0.45rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: rotate(-45deg);
  top: 0;
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #000;
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.site-nav.is-open {
  max-height: 20rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1rem 1rem;
}

.site-nav li + li {
  border-top: 1px solid var(--border);
}

.site-nav a {
  display: block;
  padding: 0.9rem 0.2rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  text-decoration: none;
}

/* =========================
   Hero
   ========================= */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
  background: radial-gradient(ellipse at top, #141414 0%, #000 65%);
}

.hero-inner {
  max-width: 40rem;
}

.hero-logo {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto 1.5rem;
}

.hero-tagline {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: stretch;
}

/* =========================
   Buttons
   ========================= */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  padding: 0.9em 1.6em;
  border-radius: 2px;
  text-decoration: none;
  border: 2px solid transparent;
  margin: 0.25rem 0.4rem 0.25rem 0;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--fg);
  color: #000;
}

/* =========================
   Sections
   ========================= */

.section {
  padding: 3.5rem 1.25rem;
  border-top: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-alt);
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  font-size: 0.85rem;
  margin-bottom: 0.4em;
}

/* Members */

.member-list,
.member-list-past {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.member-list li,
.member-list-past li {
  padding: 0.7em 0;
  border-bottom: 1px solid var(--border);
}

.member-name {
  font-weight: 600;
  color: var(--fg);
}

.member-bands {
  display: block;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.influences {
  font-size: 1.05rem;
  color: var(--fg);
}

/* Single */

.single-grid {
  display: grid;
  gap: 2rem;
}

.single-art img {
  border: 1px solid var(--border);
}

.video-wrap {
  margin-top: 1.75rem;
}

.video-facade {
  position: relative;
  display: block;
  width: 100%;
  max-width: 30rem;
  padding: 0;
  border: 1px solid var(--border);
  background: #000;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
}

.video-wrap iframe {
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* Shows */

.show-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.show-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
}

.show-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  font-family: var(--font-heading);
}

.show-day {
  font-size: 1.8rem;
  line-height: 1;
}

.show-month {
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--accent-bright);
  letter-spacing: 0.08em;
}

.show-event {
  margin: 0;
  font-weight: 600;
  color: var(--fg);
  font-size: 1.05rem;
}

.show-place {
  margin: 0.2em 0 0;
  color: var(--fg-muted);
}

/* Contact */

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 1.05rem;
  padding: 0.4em 0;
}

.icon {
  width: 1.4rem;
  height: 1.4rem;
  flex: none;
}

/* Footer */

.site-footer {
  text-align: center;
  padding: 3rem 1.25rem 3.5rem;
  border-top: 1px solid var(--border);
}

.footer-logo {
  height: 2rem;
  margin: 0 auto 1rem;
}

.site-footer p {
  margin: 0.2em 0;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

.hail {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
}

/* =========================
   Tablet / desktop
   ========================= */

@media (min-width: 48rem) {
  .header-inner {
    padding: 0.8rem 1.5rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border-bottom: 0;
  }

  .site-nav ul {
    display: flex;
    gap: 2rem;
    padding: 0;
  }

  .site-nav li + li {
    border-top: 0;
  }

  .site-nav a {
    padding: 0.4em 0;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .single-grid {
    grid-template-columns: minmax(0, 22rem) 1fr;
    align-items: start;
  }

  .section {
    padding: 5rem 1.5rem;
  }
}

@media (min-width: 64rem) {
  .hero-logo {
    max-width: 32rem;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* High-contrast mode friendliness */
@media (forced-colors: active) {
  .btn-primary,
  .btn-outline {
    border: 2px solid CanvasText;
  }
}
