@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,400;1,8..60,500&family=Inter:wght@400;500;600;700&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  /* Core palette — aligned with edition HTML */
  --bg:       #FAF7F2;
  --ink:      #14213D;
  --ink-2:    #2A3552;
  --muted:    #6B6A66;
  --faint:    #9A968D;
  --rule:     #D9D2C5;
  --rule-2:   #E8E2D3;
  --accent:   #8C3B2E;
  --gold:     #C9A84C;
  --panel:    #FFFFFF;
  --panel-dk: #14213D;   /* was --navy */

  /* Typography */
  --serif:    'Fraunces', Georgia, serif;
  --body:     'Source Serif 4', Georgia, serif;
  --sans:     'Inter', system-ui, sans-serif;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── SITE HEADER ─────────────────────────────────────────── */
.site-header {
  background: var(--panel-dk);
  color: var(--bg);
  padding: 28px 40px 0;
}

.site-header.compact { padding-bottom: 0; }

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
}

.brand {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--bg);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rule);
  padding-top: 6px;
}

.nav a { color: var(--rule); text-decoration: none; transition: color 0.15s; }
.nav a:hover { color: var(--gold); text-decoration: none; }

.gold-rule {
  max-width: 1100px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
}

.header-meta {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0 14px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0;
}

.byline {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 40px 72px;
}

.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 40px 72px;
}

/* ── KICKERS ─────────────────────────────────────────────── */
.kicker {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.kicker-muted {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 700; }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 20px; }

.lead {
  font-family: var(--body);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 28px;
}

p { margin: 0 0 16px; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}

.hero-copy h1 { margin-bottom: 16px; }

/* ── LATEST EDITION CARD ─────────────────────────────────── */
.edition-card {
  background: var(--panel-dk);
  color: var(--rule);
  border-top: 3px solid var(--gold);
  padding: 28px 30px;
}

.edition-card .card-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.edition-card h2 {
  font-family: var(--serif);
  color: var(--bg);
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.edition-card p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--rule);
  margin-bottom: 18px;
}

.text-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  padding-bottom: 1px;
  transition: border-color 0.15s;
}
.text-link:hover { border-bottom-color: var(--gold); text-decoration: none; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.button {
  display: inline-block;
  padding: 11px 22px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.15s;
}
.button:hover { opacity: 0.85; text-decoration: none; }

.button.primary   { background: var(--ink); color: var(--gold); }
.button.secondary { background: transparent; color: var(--ink); border: 1px solid var(--rule); }

/* ── CONTENT GRID ────────────────────────────────────────── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.panel {
  padding: 0;
}

.panel h2 { font-size: 22px; }
.panel p  { font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 58ch; }

/* ── CHECKLIST ───────────────────────────────────────────── */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink-2);
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-2);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

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

.checklist li::before {
  content: "—";
  font-family: var(--sans);
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
}

/* ── EDITION LIST / ARCHIVE ──────────────────────────────── */
.recent-editions {
  margin-top: 16px;
  margin-bottom: 48px;
}

.section-heading {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
  margin-bottom: 0;
}

.edition-list { display: grid; }

.edition-row {
  display: grid;
  grid-template-columns: 160px 1fr 110px;
  gap: 20px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-2);
  text-decoration: none;
  transition: background 0.1s;
}

.edition-row:last-child { border-bottom: none; }

.edition-row:hover strong { color: var(--accent); }

.edition-row span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.edition-row strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s;
}

.edition-row em {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: normal;
  text-align: right;
}

.archive-note {
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.archive-note a { color: var(--accent); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.section-divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0 0 56px;
}

/* ── SUBSCRIBE ───────────────────────────────────────────── */
.subscribe-section {
  border-top: 3px solid var(--gold);
  background: var(--panel-dk);
  color: var(--rule);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 0;
}

.subscribe-section h2 {
  font-family: var(--serif);
  color: var(--bg);
  font-size: 28px;
  margin-bottom: 12px;
}

.subscribe-section .kicker { color: var(--gold); }

.subscribe-section p {
  font-family: var(--body);
  font-size: 15px;
  color: var(--rule);
  line-height: 1.65;
  margin: 0;
}

.subscribe-contact {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 28px;
}

.subscribe-contact p {
  font-size: 14px;
  margin-bottom: 12px;
}

.subscribe-contact p:last-child { margin-bottom: 0; }

.subscribe-contact a {
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,0.35);
  padding-bottom: 1px;
}

.subscribe-contact strong { color: var(--bg); }

/* ── PAGE TITLE (archive) ────────────────────────────────── */
.page-title {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}

.page-title h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }

.page-title .lead {
  font-size: 16px;
  max-width: 60ch;
}

/* ── ARCHIVE TABLE (archive page) ────────────────────────── */
.archive-table { display: grid; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--panel-dk);
  color: var(--muted);
  padding: 32px 40px;
  text-align: center;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.8;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer strong { color: var(--bg); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: none; }

.fine-print {
  font-size: 10px;
  color: var(--faint);
  margin-top: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 860px) {
  main, .page-wrap { padding: 36px 24px 56px; }

  .site-header { padding: 22px 24px 0; }

  .header-inner {
    flex-direction: column;
    gap: 14px;
    padding-bottom: 16px;
  }

  .brand { font-size: 24px; }
  .nav { justify-content: flex-start; }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 36px;
    margin-bottom: 36px;
  }

  .content-grid { grid-template-columns: 1fr; gap: 32px; }

  .edition-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .edition-row em { text-align: left; }

  .subscribe-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px;
  }

  .site-footer { padding: 28px 24px; }
}
