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

:root {
  --navy:       #0f1b2d;
  --deep:       #162236;
  --mid:        #1e3a5f;
  --accent:     #4a9eff;
  --accent-soft:#7bbfff;
  --pale:       #b8d4f0;
  --off:        #e8f0fa;
  --white:      #f4f8ff;
  --muted:      #6b8aaa;
  --rule:       rgba(74,158,255,0.15);
  --max-width:  980px;
}

body {
  background: var(--navy);
  color: var(--off);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-text span { color: var(--accent); }

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--accent); }

.site-nav .nav-subscribe {
  color: var(--accent);
  border: 1px solid rgba(74,158,255,0.3);
  padding: 5px 14px;
  border-radius: 2px;
}

.site-nav .nav-subscribe:hover {
  background: rgba(74,158,255,0.08);
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 40px 48px;
}

.hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-kicker::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.album-art {
  width: 280px;
  height: 280px;
  min-width: 280px;
  border-radius: 4px;
  background-color: var(--mid);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(74,158,255,0.08);
}

.album-art-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a3a6b 0%, #0d2147 40%, #1e4080 70%, #152d5c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.hero-artist {
  font-size: 1rem;
  color: var(--accent-soft);
  font-weight: 400;
  margin-bottom: 16px;
}

.hero-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(74,158,255,0.07);
  border: 1px solid rgba(74,158,255,0.15);
  padding: 4px 10px;
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

a.meta-tag:hover {
  color: var(--accent-soft);
  border-color: rgba(74,158,255,0.35);
}

.hero-excerpt {
  color: var(--pale);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.hero-cta:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

/* ── Gear Strip ────────────────────────────────────────────────────────────── */
.gear-strip {
  max-width: var(--max-width);
  margin: 0 auto 56px;
  padding: 0 40px;
}

.gear-strip-inner {
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 18px 22px;
  background: rgba(30,58,95,0.2);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.gear-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}

.gear-divider {
  width: 1px;
  height: 28px;
  background: var(--rule);
  flex-shrink: 0;
}

.gear-items {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.gear-item {
  font-size: 0.82rem;
  color: var(--pale);
  background: rgba(74,158,255,0.06);
  border: 1px solid rgba(74,158,255,0.12);
  padding: 6px 14px;
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gear-item:hover {
  border-color: rgba(74,158,255,0.4);
  color: var(--accent-soft);
}

.gear-item-price {
  color: var(--muted);
  font-size: 0.75rem;
}

/* ── Section Rule ──────────────────────────────────────────────────────────── */
.section-rule {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section-rule hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin-bottom: 48px;
}

/* ── Archive ───────────────────────────────────────────────────────────────── */
.archive {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 80px;
}

.archive-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}

.archive-title {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.archive-count {
  font-size: 0.72rem;
  color: var(--muted);
}

.archive-list {
  display: flex;
  flex-direction: column;
}

.archive-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: background 0.15s;
}

.archive-item:first-child { border-top: 1px solid var(--rule); }
.archive-item:hover .archive-item-title { color: var(--accent-soft); }

.archive-num {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.archive-item-title {
  font-size: 0.95rem;
  color: var(--off);
  font-weight: 400;
  line-height: 1.3;
  transition: color 0.2s;
  margin-bottom: 2px;
}

.archive-item-artist {
  font-size: 0.78rem;
  color: var(--muted);
}

.archive-item-genre {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Pagination ────────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.pagination a {
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.pagination a:hover { color: var(--accent-soft); }

/* ── Post Page ─────────────────────────────────────────────────────────────── */
.post-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 40px 80px;
}

.post-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-kicker::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.post-kicker-sep { color: var(--rule); }

/* ── Post Hero — two-column album art + info ───────────────────────────────── */
.post-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.post-album-art {
  width: 280px;
  height: 280px;
  min-width: 280px;
  border-radius: 4px;
  background-color: var(--mid);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(74,158,255,0.08);
}

.post-hero-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 4px;
}

.post-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.post-artist {
  font-size: 1rem;
  color: var(--accent-soft);
  font-weight: 400;
  margin-bottom: 20px;
}

.post-meta-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Post Body Content ─────────────────────────────────────────────────────── */
.gh-content {
  color: var(--pale);
  font-size: 1.05rem;
  line-height: 1.8;
}

.gh-content p { margin-bottom: 1.5em; }

.gh-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--white);
  margin: 2em 0 0.75em;
  letter-spacing: -0.01em;
}

.gh-content h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--off);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 1.8em 0 0.6em;
}

.gh-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(74,158,255,0.35);
  transition: color 0.2s;
}

.gh-content a:hover { color: var(--accent-soft); }

.gh-content blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin: 1.5em 0;
  color: var(--off);
  font-style: italic;
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
}

.gh-content hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.5em 0;
}

/* Gear section inside post content */
.gear-metadata { display: none; }

.listen-to-this {
  margin: 2.5em 0;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 20px 24px;
  background: rgba(30,58,95,0.2);
}

.listen-to-this-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
}

.listen-to-this-items {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gear-disclaimer {
  margin-top: 12px;
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.7;
}

/* Buy strip — subtle record purchase links at top of post content */
.buy-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2.5em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid var(--rule);
}

.buy-strip-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-right: 4px;
}

.buy-strip-sep {
  color: var(--muted);
  opacity: 0.35;
  font-size: 0.75rem;
}

.buy-strip-link {
  font-size: 0.78rem;
  color: var(--pale);
  text-decoration: none;
  transition: color 0.2s;
}

.buy-strip-link:hover {
  color: var(--accent-soft);
}

/* Album credits / specs table inside post content */
.album-credits {
  margin: 2.5em 0;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 20px 24px;
  background: rgba(30,58,95,0.15);
}

.album-credits-heading {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
}

.album-credits-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(74,158,255,0.08);
}

.album-credits-key {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding-top: 2px;
}

.album-credits-val {
  font-size: 0.85rem;
  color: var(--pale);
}

.album-credits-link {
  color: var(--accent-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.album-credits-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.album-tracklist {
  margin-top: 16px;
}

.album-tracklist-heading {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 10px;
}

.album-tracklist-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.album-track {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 3px 0;
}

/* ── Tag Bio ───────────────────────────────────────────────────────────────── */
.tag-bio {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  padding: 0 40px;
  font-size: 0.95rem;
  color: var(--pale);
  line-height: 1.7;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  font-style: italic;
}

/* ── Archive Page ──────────────────────────────────────────────────────────── */
.archive-page.archive {
  padding-top: 0;
}

.archive-page .archive-item {
  grid-template-columns: 110px 1fr auto;
}

/* ── Post Footer ───────────────────────────────────────────────────────────── */
.post-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.post-back {
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.post-back:hover { color: var(--accent-soft); }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 32px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-note {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-note em {
  color: var(--pale);
  font-style: italic;
  font-family: 'DM Serif Display', serif;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

/* ── Koenig Editor Card Widths (required by Ghost) ─────────────────────────── */
.kg-width-wide {
  margin-left: -80px;
  margin-right: -80px;
}

.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.kg-width-wide img,
.kg-width-full img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .site-header {
    padding: 20px 20px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.72rem;
  }

  .site-nav .nav-subscribe {
    display: none;
  }

  .hero {
    padding: 40px 20px 36px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .album-art {
    width: 240px;
    height: 240px;
    min-width: 240px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .gear-strip {
    padding: 0 20px;
    margin-bottom: 40px;
  }

  .gear-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .gear-divider { display: none; }

  .section-rule {
    padding: 0 20px;
  }

  .archive {
    padding: 0 20px 60px;
  }

  .archive-item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .archive-item-genre {
    display: none;
  }

  .post-container {
    padding: 40px 20px 60px;
  }

  .post-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .post-album-art {
    width: 240px;
    height: 240px;
    min-width: 240px;
  }

  .post-title {
    font-size: 1.9rem;
  }

  .site-footer {
    padding: 28px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}
