/* All Black Towns v1 */
:root {
  --ink: #0e0c09;
  --ink-soft: #1a1712;
  --cream: #f5efe0;
  --cream-dim: #d8cdb4;
  --gold: #c9a227;
  --gold-soft: #e3c76a;
  --clay: #a63d2f;
  --line: rgba(201, 162, 39, 0.22);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }
a { color: var(--gold-soft); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 12, 9, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: 'Playfair Display', serif; font-size: 1.25rem; letter-spacing: 0.04em; color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; }
.brand span { color: var(--gold); }
.brand-logo { height: 38px; width: 38px; object-fit: cover; border-radius: 50%; margin-right: 10px; border: 1px solid var(--gold); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--cream-dim); text-decoration: none; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* Hero */
.hero { padding: 110px 0 90px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 30%, rgba(201,162,39,0.13), transparent 70%);
  pointer-events: none;
}
.kicker { text-transform: uppercase; letter-spacing: 0.32em; font-size: 0.78rem; color: var(--gold); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.08; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.lede { font-size: 1.18rem; color: var(--cream-dim); max-width: 680px; margin: 0 auto 40px; }
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none;
  letter-spacing: 0.04em; transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--gold-soft); border: 1px solid var(--gold); margin-left: 12px; }
.stats { display: flex; justify-content: center; gap: 56px; margin-top: 64px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat .num { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--gold); }
.stat .lbl { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--cream-dim); }

/* Sections */
section.block { padding: 84px 0; }
section.block.alt { background: var(--ink-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.section-sub { color: var(--cream-dim); max-width: 640px; margin-bottom: 44px; font-size: 1.05rem; }
.rule { width: 64px; height: 3px; background: var(--gold); margin-bottom: 26px; }

/* Town cards */
.town-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.town-card {
  background: var(--ink-soft); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; transition: transform .15s ease, border-color .15s ease;
}
.town-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.town-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.town-card .state { color: var(--gold); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 12px; }
.town-card p { color: var(--cream-dim); font-size: 0.94rem; }
.town-card .song { margin-top: 14px; font-size: 0.82rem; color: var(--cream-dim); font-style: italic; }

/* Towns page tools */
.tools { display: flex; gap: 14px; margin-bottom: 34px; flex-wrap: wrap; }
.tools input, .tools select {
  background: var(--ink-soft); border: 1px solid var(--line); color: var(--cream);
  padding: 12px 18px; border-radius: 999px; font-size: 0.95rem; min-width: 220px;
}
.tools input:focus, .tools select:focus { outline: none; border-color: var(--gold); }
.count-note { color: var(--cream-dim); font-size: 0.9rem; margin-bottom: 20px; }

/* Music list */
.song-list { display: grid; gap: 10px; }
.song-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 15px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--ink-soft);
}
.song-row .t { font-weight: 600; }
.song-row .s { color: var(--gold); font-size: 0.85rem; white-space: nowrap; }

/* About */
.prose p { margin-bottom: 20px; color: var(--cream-dim); font-size: 1.06rem; max-width: 700px; }
.prose p strong { color: var(--cream); }
.quote {
  border-left: 3px solid var(--gold); padding: 8px 0 8px 26px; margin: 36px 0;
  font-family: 'Playfair Display', serif; font-size: 1.4rem; font-style: italic; color: var(--cream); max-width: 640px;
}

/* Newsletter */
.newsletter { text-align: center; padding: 90px 0; }
.newsletter h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.newsletter p { color: var(--cream-dim); max-width: 560px; margin: 0 auto 32px; }
.nl-form { display: flex; gap: 10px; justify-content: center; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.nl-form input {
  flex: 1; min-width: 220px; padding: 14px 22px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--ink-soft); color: var(--cream); font-size: 1rem;
}
.nl-form input:focus { outline: none; border-color: var(--gold); }
.nl-note { font-size: 0.82rem; color: var(--cream-dim); margin-top: 16px; opacity: 0.7; }

footer { border-top: 1px solid var(--line); padding: 44px 0; text-align: center; color: var(--cream-dim); font-size: 0.88rem; }
footer .brand { font-size: 1.05rem; }

@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.78rem; }
  .stats { gap: 32px; }
}
