/* ============================================================
   Vinyl Standard — shared site stylesheet
   ============================================================
   Loaded by every page on the site. Contains the canonical
   color palette, typography, nav, hero, and footer rules.
   Page-specific styles live in the page's own <style> block.

   When adding shared rules, edit ONLY this file. Do not edit
   the duplicate copies that still live in some pages' inline
   <style> blocks; those will be cleaned up in Phase 2.
   ============================================================ */

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

/* ---------- Color palette and root tokens ---------- */
:root {
  --black: #0e0e0e;
  --off-white: #f8f8f6;
  --cream: #f0ede8;
  --accent: #c8a96e;
  --gray: #6b6b6b;
  --light-gray: #dedbd4;
  --text: #1a1a1a;
}

/* ---------- HTML and body ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.6;
}

/* ---------- Top navigation ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 5%;
  background: rgba(14, 14, 14, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.12);
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--off-white);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--accent);
  font-weight: 300;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

nav ul a {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.5);
  transition: color 0.2s;
}

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

/* ---------- Mobile nav hamburger ---------- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  z-index: 201;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(247, 245, 240, 0.8);
  transition: transform 0.25s, opacity 0.2s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero (dark hero block at top of most pages) ---------- */
.hero {
  background: var(--black);
  padding: 9rem 5% 5rem;
  text-align: center;
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200, 169, 110, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  color: var(--off-white);
  line-height: 1.08;
  margin-bottom: 0.5rem;
}

.hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.hero-years {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: rgba(247, 245, 240, 0.3);
  font-style: italic;
  margin-bottom: 1.8rem;
  letter-spacing: 0.04em;
}

.hero-intro {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-size: 0.98rem;
  color: rgba(247, 245, 240, 0.55);
  line-height: 1.9;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.hero-stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.3);
  margin-top: 0.15rem;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: rgba(200, 169, 110, 0.35);
  margin: 2.5rem auto 0;
}

/* ---------- Landmark hero variant ----------
   Used by the three landmark album deep-dive pages
   (kind-of-blue.html, a-love-supreme.html, waltz-for-debby.html).
   Add `hero-landmark` to the .hero div to opt into the full-screen
   image-led layout with bottom-aligned content. */

.hero.hero-landmark {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 6% 5rem;
  text-align: left;
  border-bottom: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 14, 14, 0.97) 30%, rgba(14, 14, 14, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 700;
  color: var(--off-white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(248, 248, 246, 0.72);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ---------- Sources section ----------
   Used at the bottom of editorial/history pages to cite the references
   used during writing. Lives between </main> and the footer or CTA. */

.sources {
  padding: 3.5rem 5%;
  background: var(--cream);
  border-top: 1px solid var(--light-gray);
}

.sources-inner {
  max-width: 880px;
  margin: 0 auto;
}

.sources-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.sources h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--black);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.sources h2 em {
  color: var(--accent);
  font-style: italic;
}

.sources-intro {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

.sources-list {
  list-style: none;
}

.sources-list li {
  font-size: 0.88rem;
  color: #333;
  line-height: 1.8;
  padding: 0.7rem 0;
  border-bottom: 1px dotted var(--light-gray);
}

.sources-list li:last-child {
  border-bottom: none;
}

.sources-list em {
  font-style: italic;
  color: var(--black);
}

.sources-list a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 169, 110, 0.3);
  transition: border-color 0.2s;
}

.sources-list a:hover {
  border-bottom-color: var(--accent);
}

/* ---------- Footer ---------- */
footer {
  background: var(--black);
  color: rgba(247, 245, 240, 0.4);
  padding: 2.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--off-white);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-logo span {
  color: var(--accent);
  font-weight: 300;
}

footer a {
  color: rgba(247, 245, 240, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ---------- Mobile breakpoint ---------- */
@media (max-width: 820px) {
  nav ul {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  nav ul.nav-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    background: rgba(14, 14, 14, 0.97);
    padding: 1.8rem 5%;
    gap: 1.4rem;
    border-bottom: 1px solid rgba(200, 169, 110, 0.18);
    z-index: 199;
    align-items: flex-start;
  }

  nav ul.nav-open a {
    font-size: 1rem;
    letter-spacing: 0.08em;
  }

  .hero {
    padding: 5rem 4% 2.5rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .hero-stats {
    gap: 1.5rem;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
