:root {
  --paper: #f4ede0;
  --ink: #1a1a1a;
  --muted: #555;
  --rule: #1a1a1a;
  --accent: #8b0000;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #2a2a28; padding: 1rem 0; }
body {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--ink);
  line-height: 1.55;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--paper);
  background-image:
    radial-gradient(rgba(0,0,0,.025) 1px, transparent 1px);
  background-size: 4px 4px;
  padding: 3rem 4rem;
  box-shadow: 0 0 60px rgba(0,0,0,.6);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

/* Masthead */
.masthead { text-align: center; border-bottom: 5px double var(--ink); padding-bottom: 1rem; margin-bottom: 2.5rem; }
.folio-top, .folio-bottom {
  display: flex; justify-content: space-between;
  font-family: 'Source Serif 4', serif;
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: .2em; color: var(--muted);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: .35rem 0;
}
.folio-bottom { border-top: 1px solid var(--rule); border-bottom: none; }
.nameplate-wrap { padding: 1rem 0 .5rem; }
.nameplate {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1;
}
.tagline {
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 1rem;
  letter-spacing: .25em;
  margin-top: .5rem;
  color: var(--muted);
}

/* Home page — 3 columns */
.columns-3 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}

/* Lead story */
.lead-story .kicker, .story .kicker, .single-article .kicker {
  display: inline-block;
  font-family: 'Source Serif 4', serif;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .25em;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px; margin-bottom: .75rem;
}
.lead-story .headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400; line-height: 1.05;
  letter-spacing: -.005em;
}
.lead-story .subhead {
  font-style: italic; font-size: 1.2rem;
  color: #333; line-height: 1.4;
  margin: .75rem 0 1rem;
}
.lead-story .byline {
  font-size: .85rem; color: var(--muted);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: .5rem 0; margin-bottom: 1.5rem;
}
.lead-image { margin: 0 0 1rem; }
.lead-image img {
  filter: contrast(1.05) grayscale(.15);
  width: 100%;
}
.lead-image .caption {
  font-size: .8rem; font-style: italic;
  color: var(--muted); margin-top: .35rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: .35rem;
}
.lead-excerpt {
  font-size: 1.05rem; line-height: 1.7;
  column-count: 2; column-gap: 1.5rem;
  text-align: justify;
}
.lead-excerpt::first-letter {
  font-family: 'DM Serif Display', serif;
  float: left; font-size: 4rem; line-height: .85;
  padding-right: .5rem; padding-top: .3rem;
  color: var(--accent);
}
.continue {
  font-style: italic;
  text-decoration: underline;
  color: var(--accent);
}

/* Sidebar */
.sidebar {
  border-left: 1px solid var(--rule);
  padding-left: 2rem;
}
.section-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  margin-bottom: .75rem;
  border-bottom: 3px double var(--rule);
  padding-bottom: .35rem;
}
.toc { list-style: none; padding: 0; counter-reset: toc-counter; }
.toc li {
  font-size: .92rem;
  padding: .5rem 0;
  border-bottom: 1px dotted var(--rule);
  display: flex; gap: .5rem; align-items: baseline;
}
.toc li a { flex: 1; }
.page-num {
  font-size: .8rem;
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
}
.sidebar hr { border: none; border-top: 1px solid var(--rule); margin: 1.25rem 0; }
.tag-cloud { font-size: .85rem; letter-spacing: .1em; }
.tag-cloud a { font-weight: 600; }
.ad-box {
  border: 2px solid var(--rule);
  padding: 1rem;
  text-align: center;
  margin-top: .5rem;
  font-family: 'Special Elite', monospace;
  font-size: .95rem;
}
.ad-box strong { font-family: 'DM Serif Display', serif; font-size: 1.2rem; }

/* Thick rule */
.thick-rule {
  border: none; border-top: 8px solid var(--rule);
  margin: 2.5rem 0;
}

/* Story grid */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
}
.story {
  padding: 0 1rem;
  border-right: 1px solid var(--rule);
}
.story:last-child { border-right: none; }
.story h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem; font-weight: 400; line-height: 1.15;
  margin: .25rem 0;
}
.story .byline { font-size: .8rem; color: var(--muted); margin: .35rem 0; }
.story .excerpt { font-size: .92rem; }

/* Single article */
.single-article {
  max-width: 720px; margin: 0 auto;
}
.article-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400; letter-spacing: -.01em;
  line-height: 1.05; margin: .5rem 0;
}
.article-subhead {
  font-size: 1.3rem; font-style: italic;
  color: #333; line-height: 1.4;
  margin-bottom: 1rem;
}
.article-byline {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: .6rem 0; margin: 1rem 0 2rem;
  font-size: .85rem; color: var(--muted);
}
.article-image { margin: 2rem 0; }
.article-image img { filter: contrast(1.05) grayscale(.2); }
.article-body {
  font-size: 1.1rem; line-height: 1.75;
  text-align: justify;
}
.article-body > p:first-of-type::first-letter {
  font-family: 'DM Serif Display', serif;
  float: left; font-size: 5.5rem; line-height: .85;
  padding-right: .65rem; padding-top: .35rem;
  color: var(--accent);
}
.article-body h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.9rem; margin: 2.5rem 0 1rem;
  text-align: left; font-weight: 400;
}
.article-body h3 {
  font-size: 1.3rem; margin: 2rem 0 .75rem;
  text-align: left;
}
.article-body p { margin: 1rem 0; }
.article-body ul, .article-body ol { margin: 1rem 0 1rem 1.75rem; text-align: left; }
.article-body blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem; line-height: 1.3;
  font-style: italic; text-align: center;
  margin: 2.5rem 0; padding: 1.5rem 0;
  border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule);
  color: var(--accent);
}
.article-body blockquote::before { content: '“'; font-size: 4rem; line-height: 0; vertical-align: -2.5rem; color: var(--accent); display: block; }
.article-body pre {
  background: #1a1a1a; color: #f4ede0;
  padding: 1.5rem; font-family: 'Courier New', monospace;
  font-size: .9rem; overflow-x: auto;
  margin: 1.5rem 0;
}
.article-body code {
  font-family: 'Courier New', monospace; font-size: .92em;
  background: #e8dfd0; padding: .1rem .35rem;
}
.article-body pre code { background: transparent; padding: 0; }
.rule { border: none; border-top: 1px solid var(--rule); margin: 3rem 0; }
.back {
  font-style: italic; text-decoration: underline;
  color: var(--accent);
}

.paper-footer {
  text-align: center;
  margin-top: 2rem; padding-top: 1rem;
  color: var(--muted); font-size: .8rem;
}
.paper-footer .rule { margin: .5rem 0; }

@media (max-width: 768px) {
  body { padding: 1.5rem; }
  .columns-3 { grid-template-columns: 1fr; }
  .sidebar { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 2rem; }
  .story-grid { grid-template-columns: 1fr; }
  .story { border-right: none; border-bottom: 1px solid var(--rule); padding-bottom: 1rem; }
  .lead-excerpt { column-count: 1; }
}
