/* Monroe Confidential — clean editorial theme, light/dark aware. */
:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --text: #1c1a17;
  --muted: #6b655c;
  --rule: #e4ddd2;
  --accent: #8b1e1e;
  --accent-hover: #6f1616;
  --maxw: 44rem;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171512;
    --surface: #1f1c18;
    --text: #ece7df;
    --muted: #a29a8c;
    --rule: #332f29;
    --accent: #e08585;
    --accent-hover: #eaa1a1;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
}
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem;
}
.brand {
  font-family: var(--sans);
  font-weight: 800; font-size: 1.15rem; letter-spacing: .02em;
  text-transform: uppercase; text-decoration: none; color: var(--text);
}
.brand span { color: var(--accent); margin-left: .35em; }
.site-nav { font-family: var(--sans); font-size: .95rem; display: flex; gap: 1.25rem; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover { color: var(--accent); }

/* Main */
.site-main { padding: 2.5rem 1.25rem 3rem; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }

/* Home intro + listing */
.intro { border-bottom: 1px solid var(--rule); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.intro h1 { font-size: 2.25rem; margin: 0 0 .5rem; line-height: 1.15; }
.intro p { color: var(--muted); margin: 0; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-card { padding: 1.75rem 0; border-bottom: 1px solid var(--rule); }
.post-card h2 { font-size: 1.6rem; margin: .15rem 0 .5rem; line-height: 1.2; }
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.excerpt { color: var(--muted); margin: .25rem 0 .6rem; }
.post-meta { font-family: var(--sans); font-size: .82rem; letter-spacing: .03em;
  text-transform: uppercase; color: var(--muted); margin: 0; }
.more a, .back a { font-family: var(--sans); font-size: .9rem; text-decoration: none; }

/* Article */
.post-header h1 { font-size: 2.35rem; line-height: 1.15; margin: 0 0 .5rem; }
.post-header .post-meta { margin-bottom: 1.5rem; }
.featured { width: 100%; height: auto; border-radius: 6px; margin: 0 0 1.5rem; }
.prose { }
.prose p { margin: 0 0 1.25rem; }
.prose h2 { font-size: 1.6rem; margin: 2rem 0 .75rem; }
.prose h3 { font-size: 1.3rem; margin: 1.75rem 0 .5rem; }
.prose img { max-width: 100%; height: auto; border-radius: 4px; }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { font-size: .9rem; color: var(--muted); text-align: center; }
.prose blockquote {
  margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem;
  border-left: 3px solid var(--accent); color: var(--muted); font-style: italic;
}
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
.prose sup { font-size: .7em; }
.prose object, .prose iframe {
  width: 100%; min-height: 600px; border: 1px solid var(--rule); border-radius: 4px; margin: 1rem 0;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--rule); padding: .5rem .6rem; text-align: left; }
.post hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0 1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); background: var(--surface); }
.site-footer .wrap { padding: 1.5rem 1.25rem; }
.site-footer p { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin: 0; }
