@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --bg:         #0D0A07;
  --bg-raised:  #161008;
  --bg-card:    #1E1510;
  --fire:       #E07830;
  --fire-dim:   #A05520;
  --gold:       #C8A050;
  --gold-dim:   #806830;
  --text:       #E8DCC8;
  --text-muted: #8A7A65;
  --text-dim:   #5A4E40;
  --border:     #2A1E12;
  --border-mid: #3A2C1A;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'EB Garamond', Georgia, serif;
  line-height: 1.8;
  min-height: 100vh;
}

/* ── SITE HEADER ── */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(13, 10, 7, 0.96);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.site-logo {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
}

.site-logo span {
  color: var(--fire);
}

.header-series {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ── INDEX PAGE ── */
.index-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  text-align: center;
}

.flame-symbol {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 18px rgba(224, 120, 48, 0.7));
}

.index-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.index-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--fire);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.index-byline {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.index-rule {
  border: none;
  border-top: 1px solid var(--border-mid);
  max-width: 320px;
  margin: 2rem auto;
}

.index-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.9;
}

/* ── ARTICLE GRID ── */
.articles-grid {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border-top: 1px solid var(--border);
}

.article-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.2s;
  align-items: start;
}

.article-card:hover {
  background: var(--bg-raised);
}

.article-card:hover .card-title {
  color: var(--fire);
}

.card-numeral {
  font-family: 'Cinzel', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--border-mid);
  line-height: 1;
  letter-spacing: -0.02em;
  padding-top: 0.15rem;
  transition: color 0.2s;
}

.article-card:hover .card-numeral {
  color: var(--fire-dim);
}

.card-meta {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── ARTICLE PAGE ── */
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.article-part-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--fire);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}

.article-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.article-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.article-byline {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-mid);
  margin-bottom: 3rem;
}

/* ── ARTICLE BODY ── */
.article-body h2 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 3rem 0 1rem;
}

.article-body p {
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  color: var(--text);
}

.article-body p.lead {
  font-size: 1.18rem;
  color: var(--text);
  font-style: italic;
}

/* Diesel's signature short-line style */
.article-body .stanza {
  margin: 1.8rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border-mid);
}

.article-body .stanza p {
  margin-bottom: 0.2rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.article-body .stanza p.stanza-head {
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--fire-dim);
  background: var(--bg-card);
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.article-body .fire-rule {
  border: none;
  text-align: center;
  color: var(--fire-dim);
  letter-spacing: 0.5em;
  margin: 2.5rem 0;
  font-size: 0.9rem;
}

.article-body .fire-rule::before {
  content: '✦  ✦  ✦';
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.4rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.article-body strong {
  color: var(--gold);
  font-weight: 500;
}

.article-body em {
  color: var(--text);
}

.references {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ── ARTICLE NAV ── */
.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
}

.nav-link {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 45%;
}

.nav-link:hover { color: var(--fire); }

.nav-link .nav-dir {
  font-size: 0.6rem;
  color: var(--text-dim);
}

.nav-link.next { text-align: right; }

.nav-center {
  font-size: 1.2rem;
  color: var(--border-mid);
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .site-header { padding: 1rem; }
  .header-series { display: none; }
  .index-hero { padding: 3rem 1.2rem 2rem; }
  .articles-grid { padding: 1rem 1rem 4rem; }
  .article-card { grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.4rem 0.8rem; }
  .card-numeral { font-size: 1.8rem; }
  .article-wrap { padding: 2rem 1.2rem 4rem; }
}
