:root {
  --ink: #14110c;
  --paper: #f3eee4;
  --paper-2: #e8e1d4;
  --rule: #b11a1a;
  --mute: #6a6458;
  --line: rgba(20, 17, 12, 0.12);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 18px; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 9; }

.rule-top { height: 5px; background: var(--rule); }

.masthead {
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.masthead-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem 0.9rem;
  text-align: center;
}
.kicker {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.wordmark {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  letter-spacing: 0.12em;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { text-decoration: none; color: var(--ink); }
.wordmark-sm { font-size: 1.7rem; letter-spacing: 0.14em; }

.nav {
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.nav a, .nav li {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  list-style: none;
}
.nav ul { display: flex; gap: 1.6rem; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }

.issue, .tag-head, .post, .empty, .tag-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.lead {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 2rem;
}
.lead-img { overflow: hidden; }
.lead-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: saturate(0.92);
}
.lead-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.05;
  font-weight: 600;
  margin: 0.15rem 0 0.8rem;
  letter-spacing: -0.02em;
}
.lead-title a:hover { text-decoration: none; color: var(--rule); }
.lead-dek, .post-dek {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.4;
  color: #3c382f;
  margin: 0 0 0.8rem;
}
.section-flag {
  margin: 0 0 0.45rem;
  color: var(--rule);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.byline-date {
  margin: 0;
  color: var(--mute);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 1.4rem;
}
.card-img { overflow: hidden; margin-bottom: 0.7rem; }
.card-img img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.15;
  margin: 0.2rem 0 0.45rem;
  font-weight: 600;
}
.card-title a:hover { text-decoration: none; color: var(--rule); }
.card-dek {
  margin: 0 0 0.5rem;
  color: #3c382f;
  font-size: 0.92rem;
}

.post-head { text-align: center; max-width: 740px; margin: 0 auto 1.5rem; }
.post-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  line-height: 1.06;
  margin: 0.2rem 0 0.8rem;
  letter-spacing: -0.02em;
}
.post-figure { margin: 0 auto 1.8rem; max-width: 920px; }
.post-figure img { width: 100%; }
.post-figure figcaption {
  font-size: 0.82rem;
  color: var(--mute);
  margin-top: 0.55rem;
  font-style: italic;
}
.post-body {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.62;
}
.post-body a { text-decoration: underline; text-underline-offset: 3px; }
.post-body h2, .post-body h3 {
  font-family: var(--serif);
  line-height: 1.2;
  margin: 2rem 0 0.7rem;
}
.post-body p { margin: 0 0 1.05rem; }
.post-body hr { border: 0; border-top: 1px solid var(--ink); margin: 2rem 0; }

.gh-content .kg-signup-card {
  background: var(--ink) !important;
  color: var(--paper) !important;
  margin: 2.4rem 0 !important;
}

.tag-head h1 {
  font-family: var(--serif);
  font-size: 3rem;
  margin: 0.2rem 0 0.6rem;
}

.empty { text-align: center; padding: 5rem 1.25rem; }
.empty h2 { font-family: var(--serif); font-size: 2.4rem; margin: 0.3rem 0 0.8rem; }

.site-footer {
  border-top: 1px solid var(--ink);
  padding: 2.2rem 1.25rem 1.4rem;
  background: var(--paper);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  gap: 1.6rem;
  align-items: start;
}
.footer-desc { color: var(--mute); margin: 0.5rem 0 0; max-width: 28ch; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-sub label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.footer-sub-row { display: flex; gap: 0; border: 1px solid var(--ink); }
.footer-sub input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.7rem 0.8rem;
  font: inherit;
  outline: none;
}
.footer-sub button {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}
.form-message { display: none; font-size: 0.85rem; }
.success .success, .error .error { display: block; }
.footer-copy {
  max-width: var(--max);
  margin: 1.6rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--mute);
  letter-spacing: 0.04em;
}

.pagination { display: none; } /* keep pages quiet; Ghost still paginates if needed */
nav.pagination { display: flex; justify-content: center; gap: 1rem; padding: 0 0 3rem; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; }

@media (max-width: 860px) {
  .lead, .footer-inner, .grid { grid-template-columns: 1fr; }
  .masthead-inner { padding-bottom: 1rem; }
  .nav { gap: 1rem; }
}

/* hide Ghost author chrome if a card slips through */
.gh-article-author, .author-box, .post-full-authors { display: none !important; }
