/* ---------------------------------------------------
   Spin Moon Media — tokens
   Color: near-black stage (#100E12), bone text (#EDE8E2),
          wine accent (#8E2436) for the gothic-rock core,
          dusk violet (#5B4B79) for the electronic/pop side.
   Type: Cormorant Garamond (display) + Inter (body/UI).
   Layout: left-aligned hero, full-bleed roster rows.
--------------------------------------------------- */

:root {
  --bg: #100e12;
  --bg-raised: #17141a;
  --line: #2c2731;
  --text: #ede8e2;
  --text-dim: #a79fae;
  --wine: #8e2436;
  --wine-bright: #b23349;
  --violet: #5b4b79;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --maxw: 1120px;

  /* Tweak this to adjust the tint over the hero background image */
  --hero-overlay-color: 16, 14, 18;
  --hero-overlay-opacity: 0.8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--wine);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--wine-bright);
  outline-offset: 3px;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 14, 18, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-mark {
  height: 34px;
  width: auto;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--text);
  border-color: var(--wine-bright);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

/* Background slideshow — two stacked layers that trade places every cycle.
   See js/slideshow.js for the timing; images live in /images. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 1s ease-in-out;
}

.slide.pos-current { transform: translateX(0); }
.slide.pos-left     { transform: translateX(-100%); }
.slide.pos-right    { transform: translateX(100%); }
.slide.no-transition { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}

/* Overlay tint — edit --hero-overlay-color / --hero-overlay-opacity above to tweak. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(var(--hero-overlay-color), var(--hero-overlay-opacity));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 6.5rem 1.5rem 5.5rem;
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--wine-bright);
  margin: 0 0 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 1.5rem;
}

.hero-lede {
  font-size: 1.08rem;
  color: var(--text);
  margin: 0 0 1.1rem;
  max-width: 60ch;
}

.hero-detail {
  color: var(--text-dim);
  margin: 0 0 2.25rem;
  max-width: 58ch;
}

.hero-cta {
  display: inline-block;
  border: 1px solid var(--wine-bright);
  color: var(--text);
  padding: 0.7rem 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: background 0.15s ease;
}
.hero-cta:hover {
  background: var(--wine);
  border-color: var(--wine);
}

/* ---------------- Roster ---------------- */

.roster {
  padding: 5rem 0 6rem;
}

.roster-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.roster h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  margin: 0 0 2rem;
}

.band-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.band-row {
  border-bottom: 1px solid var(--line);
}

.band-link {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.5rem 0.5rem;
  transition: background 0.15s ease;
}

.band-link:hover {
  background: var(--bg-raised);
}

.band-link:hover .band-name {
  color: var(--wine-bright);
}

.band-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  transition: color 0.15s ease;
}

.band-genre {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.band-visit {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  white-space: nowrap;
  justify-self: end;
}

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-mark {
  height: 30px;
  margin-bottom: 0.9rem;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0;
}

.footer-nav h3 {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin: 0 0 1rem;
  font-weight: 500;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text);
}

.footer-nav a:hover {
  color: var(--wine-bright);
}

.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 780px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem 1.5rem;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 1rem; }

  .band-link {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .band-visit { justify-self: start; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}
