/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --bg-card: #111;
  --border: rgba(255,255,255,0.07);
  --text: rgba(255,255,255,0.8);
  --text-muted: rgba(255,255,255,0.45);
  --text-faint: rgba(255,255,255,0.25);
  --accent: #ecac0d;
  --accent-dim: rgba(236,172,13,0.15);
  --accent-border: rgba(236,172,13,0.3);
  --white: #fff;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --radius: 12px;
  --max-width: 1160px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.home-layout, .post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  padding: 40px 0;
}

@media (max-width: 900px) {
  .home-layout, .post-layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 0;
}

.site-logo { display: flex; flex-direction: column; text-decoration: none; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1;
}
.logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.site-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.site-nav a:hover { color: var(--accent); background: var(--accent-dim); }

/* ── Nav dropdown ───────────────────────────────────────────────────────────── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-btn {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-dropdown-btn::after { content: '▾'; font-size: 0.65em; opacity: 0.5; }
.nav-dropdown-btn:hover,
.nav-dropdown.open .nav-dropdown-btn { color: var(--accent); background: var(--accent-dim); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 210px;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 6px 6px;
  z-index: 200;
  box-shadow: 0 8px 28px rgba(0,0,0,0.6);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-menu a:hover { color: var(--accent); background: var(--accent-dim); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
}

@media (max-width: 700px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #0a0a0a;
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
  }
  .nav-dropdown { display: contents; }
  .nav-dropdown-btn { display: none; }
  .nav-dropdown-menu { display: contents; position: static; background: none; border: none; border-radius: 0; padding: 0; box-shadow: none; min-width: 0; }
  .nav-dropdown-menu a { padding: 8px 4px; font-size: 0.78rem; }
}

/* ── Post grid (homepage) ─────────────────────────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  align-content: start;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.post-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.card-image-link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body { padding: 16px; }

.card-labels { margin-bottom: 8px; }

.card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.card-title a { color: var(--white); text-decoration: none; }
.card-title a:hover { color: var(--accent); }

.card-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.card-meta {
  font-size: 0.75rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: auto;
}

/* ── Labels / Pills ───────────────────────────────────────────────────────── */
.label-pill {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  margin: 2px 2px 2px 0;
  text-decoration: none;
  transition: background 0.15s;
}
.label-pill:hover { background: rgba(236,172,13,0.25); text-decoration: none; }

/* ── Single Post ──────────────────────────────────────────────────────────── */
.post { min-width: 0; }

.post-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.post-header { margin-bottom: 28px; }

.post-labels { margin-bottom: 12px; }

.post-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 12px;
}

.post-meta {
  font-size: 0.82rem;
  color: var(--text-faint);
}

.post-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
.post-body h2, .post-body h3 {
  font-family: var(--font-heading);
  color: var(--white);
  margin: 1.8em 0 0.6em;
}
.post-body p { margin-bottom: 1.2em; }
.post-body a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-border); }
.post-body img { border-radius: 8px; margin: 1.5em auto; }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  color: var(--text-muted);
  font-style: italic;
  margin: 1.5em 0;
}
.post-body ul, .post-body ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
.post-body li { margin-bottom: 0.4em; }

.post-footer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.sidebar { min-width: 0; }

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.widget-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.upcoming-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}
.upcoming-item:last-child { border-bottom: none; }
.upcoming-item:hover { opacity: 0.8; }
.upcoming-cover {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  background: #222;
}
.upcoming-cover--placeholder { display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.upcoming-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.upcoming-artist { font-size: 0.72rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upcoming-title { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upcoming-date { font-size: 0.7rem; color: var(--accent); font-weight: 600; }
.release-date { font-size: 0.75rem; color: var(--accent); }

.label-cloud { display: flex; flex-wrap: wrap; gap: 4px; }

.link-list { list-style: none; }
.link-list li { padding: 5px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.link-list li:last-child { border-bottom: none; }
.link-list a { color: var(--text-muted); }
.link-list a:hover { color: var(--accent); }

/* ── Pagination ───────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 32px 0 48px;
}
.page-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  transition: all 0.2s;
  text-decoration: none;
}
.page-btn:hover { border-color: var(--accent-border); color: var(--accent); text-decoration: none; }
.page-info { font-size: 0.8rem; color: var(--text-faint); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.site-footer a { color: var(--text-faint); }
.site-footer a:hover { color: var(--accent); }

/* ── Band profile ─────────────────────────────────────────────────────────── */
.band-profile {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 20px;
  color: var(--text);
}
.band-hero img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
  margin: 0 auto 2em;
  display: block;
}
.band-profile h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.25em;
}
.band-profile h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 2em 0 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}
.band-tags { margin: 0.75em 0 1em; display: flex; flex-wrap: wrap; gap: 6px; }
.band-tag-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.78rem;
  color: #bbb;
}
.band-listeners { color: #999; font-size: 0.85rem; margin-bottom: 1.5em; }
.band-bio { font-size: 0.95rem; line-height: 1.8; color: var(--text); }
.band-bio p { margin-bottom: 1.2em; }
.band-bio h1, .band-bio h2, .band-bio h3 { display: none; } /* strip any heading the bio accidentally includes */
.band-tracks { margin: 0; padding-left: 1.4em; color: #ccc; font-size: 0.9rem; }
.band-tracks li { margin-bottom: 4px; }
.band-news { margin: 0; padding-left: 1.4em; font-size: 0.9rem; list-style: none; padding-left: 0; }
.band-news li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.band-news li:last-child { border-bottom: none; }
.band-news a { color: var(--accent); }
.band-links { margin-top: 2em; display: flex; gap: 10px; flex-wrap: wrap; }
.band-link-btn {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.band-link-btn:hover { border-color: var(--accent-border); color: var(--accent); text-decoration: none; }
.band-back { margin-top: 2.5em; font-size: 0.85rem; }
.band-back a { color: var(--text-faint); }
.band-back a:hover { color: var(--accent); }
