/* article.css — shared baseline styles for all article pages
   Extracted from per-page <style> blocks; article-specific component
   styles remain inline in each HTML file.                            */

/* ── FONTS ── (mirror the <link> in each article's <head>) ────────── */
/* Loaded via <link> in each page; no @import needed here.            */

/* ── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --ink:   #1a1208;
  --paper: #f5f0e8;
  --cream: #ede8dc;
  --rust:  #b5431a;
  --gold:  #c8952a;
  --muted: #6b6256;
  --rule:  #c4bdb0;
}

/* ── RESET ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── MASTHEAD ────────────────────────────────────────────────────────── */
.masthead {
  border-bottom: 3px double var(--rule);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo — matches the index masthead: mixed-case Playfair, tight tracking */
.pub-name {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: .04em;   /* was .08em — tighter, matches index */
  color: var(--ink);
  text-decoration: none;
  /* text-transform: uppercase removed — index uses natural mixed case */
}

.pub-meta {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.6;
}

/* ── CATEGORY STRIPE ─────────────────────────────────────────────────── */
.category-bar {
  background: var(--rust);
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  padding: .45rem 1rem;
}

/* ── ARTICLE HERO ────────────────────────────────────────────────────── */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.kicker {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.4rem;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
h1 em { font-style: italic; color: var(--rust); }

/* ── INLINE ELEMENTS ─────────────────────────────────────────────────── */
sup {
  font-family: 'DM Mono', monospace;
  font-size: .55rem;
  color: var(--rust);
  vertical-align: super;
  line-height: 0;
  margin-left: 1px;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .masthead { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .pub-meta  { text-align: left; }
}
