/* The Reasoned Economist — Clean modern editorial */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #1e3a2e;
  --green-ink: #0f1d15;
  --burgundy: #7a2e3b;
  --navy: #1e3a5f;
  --amber: #c17a2a;
  --accent: #a08a3d;
  --cream: #fbf9f4;
  --paper: #ffffff;
  --ink: #0e0e0e;
  --ink-soft: #333333;
  --mute: #6b6b6b;
  --rule: #e5e1d7;
  --rule-strong: #1a1a1a;
}

.section-policy .section-head h2 span,
.section-policy .kicker { color: var(--burgundy); }
.section-policy .card h3 a:hover { color: var(--burgundy); }
.section-policy .more:hover { color: var(--burgundy); }

.section-finance .section-head h2 span,
.section-finance .kicker { color: var(--green); }
.section-finance .card h3 a:hover { color: var(--green); }

.section-research .section-head h2 span,
.section-research .kicker { color: var(--navy); }
.section-research .card h3 a:hover { color: var(--navy); }
.section-research .more:hover { color: var(--navy); }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--green); }

/* ============ HEADER ============ */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}
.site-header-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 1.1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.wordmark {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
.wordmark:hover { color: var(--green); }
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  transition: color 0.15s;
  position: relative;
  padding: 0 1.1rem;
}
.nav a:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rule);
  font-weight: 300;
  pointer-events: none;
}
.nav a:first-child { padding-left: 0; }
.nav a:last-child { padding-right: 0; }
.nav a:hover { color: var(--green); }
.nav a.active { color: var(--green); }

/* ============ HERO ============ */
.hero {
  max-width: 1500px;
  margin: 0 auto;
  padding: 5rem 2.5rem 4rem;
}
.hero-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}
.hero-head .edition {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-head .issue {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--green);
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.hero-lead .kicker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--green);
}
.hero-lead h1 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 4.5rem;
  line-height: 1.0;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.hero-lead .dek {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 90%;
}
.hero-lead .cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--green);
  transition: color 0.2s;
}
.hero-lead .cta:hover { color: var(--green); }
.hero-lead .meta {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--mute);
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

/* Hero sidebar */
.hero-side {
  border-top: 2px solid var(--ink);
  padding-top: 1.25rem;
}
.hero-side .label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-side .item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}
.hero-side .item:last-child { border-bottom: none; }
.hero-side .item .kicker {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.hero-side .item h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}
.hero-side .item h4 a { color: inherit; text-decoration: none; }
.hero-side .item h4 a:hover { color: var(--green); }
.hero-side .item .excerpt {
  font-size: 0.9rem;
  color: var(--mute);
  margin-top: 0.4rem;
  line-height: 1.5;
}

/* ============ SECTIONS ============ */
.section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  border-top: 1px solid var(--rule);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.section-head h2 span {
  color: var(--green);
  font-style: italic;
  font-weight: 400;
}
.section-head .more {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--mute);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.section-head .more:hover { color: var(--green); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.card {
  display: flex;
  flex-direction: column;
}
.card .kicker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.12;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.012em;
}
.card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.card h3 a:hover { color: var(--green); }
.card p {
  font-size: 1rem;
  color: var(--mute);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.card .meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--mute);
  margin-top: auto;
  letter-spacing: 0.02em;
}

/* ============ ARTICLE PAGE ============ */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}
.article-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 1.75rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--green);
}
.article h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.25rem;
  line-height: 1.02;
  margin-bottom: 1.25rem;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.article .dek {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.3rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: 2rem;
  font-weight: 400;
}
.article .byline {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--mute);
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}
.article h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  margin: 2.25rem 0 0.85rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.article p {
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
  color: var(--ink);
}
.article p:first-of-type::first-letter {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  font-weight: 800;
  float: left;
  line-height: 0.85;
  margin: 0.3rem 0.6rem 0 0;
  color: var(--green);
}
.article em { font-style: italic; }
.article .pullquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.65rem;
  font-style: italic;
  color: var(--ink);
  padding: 1.5rem 0 1.5rem 0;
  margin: 2rem 0;
  line-height: 1.3;
  font-weight: 500;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.article .pullquote cite {
  display: block;
  font-size: 0.78rem;
  font-style: normal;
  color: var(--mute);
  margin-top: 0.75rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article .tldr {
  background: var(--paper);
  border-radius: 6px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border: 1px solid var(--rule);
}
.article .tldr h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.article .tldr p {
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}
.article .tldr p::first-letter {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  float: none;
  margin: 0;
  color: inherit;
}

/* ============ ARCHIVE ============ */
.archive {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
}
.archive-section { margin-bottom: 3rem; }
.archive-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  color: var(--ink);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.archive-section-title span { color: var(--green); font-style: italic; font-weight: 400; }
.archive-item {
  display: grid;
  grid-template-columns: 80px 1fr 160px;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: padding 0.15s;
}
.archive-item:hover { padding-left: 0.5rem; }
.archive-item .year {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  font-style: italic;
}
.archive-item .title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.archive-item .title:hover { color: var(--green); }
.archive-item .title.disabled { color: var(--mute); opacity: 0.5; pointer-events: none; }
.archive-item .tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: right;
  font-weight: 500;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--cream);
  color: var(--mute);
  padding: 1.5rem 2.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--rule);
}
.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-brand h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: var(--mute);
  letter-spacing: 0.04em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  body { font-size: 15px; }
  .site-header-inner { padding: 0.85rem 1.25rem; flex-wrap: wrap; gap: 1rem; }
  .wordmark { font-size: 1.25rem; }
  .nav { gap: 1.1rem; width: 100%; justify-content: flex-start; overflow-x: auto; }
  .nav a { font-size: 0.75rem; white-space: nowrap; }

  .hero { padding: 2.5rem 1.25rem 2rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-lead h1 { font-size: 2.4rem; }
  .hero-lead .dek { font-size: 1.1rem; max-width: 100%; }

  .section { padding: 2.5rem 1.25rem; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-bottom: 1.5rem; }
  .section-head h2 { font-size: 1.5rem; }

  .grid { grid-template-columns: 1fr; gap: 2rem; }

  .article { padding: 2.5rem 1.25rem; }
  .article h1 { font-size: 2.1rem; }
  .article .dek { font-size: 1.1rem; }
  .article p:first-of-type::first-letter { font-size: 3rem; }

  .archive-item { grid-template-columns: 60px 1fr; gap: 1rem; }
  .archive-item .tag { grid-column: 2; text-align: left; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}
