
/* Force consistent type across all pages */
body,
.gh-content,
.article,
.page,
.post-content {
  font-family: "Libre Caslon Text", Georgia, "Times New Roman", serif;
}

.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4,
.post-title,
.page-title,
.archive-title,
.row-title {
  font-family: "Libre Caslon Text", Georgia, "Times New Roman", serif;
}

.masthead,
.nav,
.band-head,
.post-kicker,
.post-byline,
.row-kicker,
.row-date,
.subscribe-kicker,
.site-footer,
.share,
button,
input {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

:root {
  --bg: #f7f6f2;
  --text: #111111;
  --muted: #444444;
  --border: #e0ddd6;
  --accent: #1a2332;
  --measure: 38rem;
}

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

html { font-size: 16px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #000; }

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Masthead */
.masthead {
  border-bottom: 1px solid var(--border);
  padding: 1.35rem 0;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 52rem;
}

.wordmark {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
}

.nav a {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
}

.nav a.sub { font-weight: 600; }

/* Bands */
.band {
  padding: 2.75rem 0 1rem;
}

.band-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.55rem;
  margin-bottom: 1.25rem;
}

.band-head h2 {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.band-head .all {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--muted);
}

/* Row list */
.row {
  border-bottom: 1px solid var(--border);
  padding: 1.35rem 0;
}

.row-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.row-kicker {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.row-title {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.row-excerpt {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--muted);
}

.row-date {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
}

.row-empty {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Post / Page */
.post-header {
  padding: 2.5rem 0 1.5rem;
}

.post-kicker {
  margin: 0 0 0.5rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.post-title,
.page-title,
.archive-title {
  margin: 0 0 0.75rem;
  font-size: 2.35rem;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.post-sub {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--muted);
}

.post-byline {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

.post-byline span + span::before {
  content: "·";
  margin: 0 0.45rem;
}

.post-hero {
  margin: 0 0 2rem;
}

.post-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.post-hero figcaption {
  margin-top: 0.5rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

.gh-content {
  max-width: var(--measure);
  padding-bottom: 2rem;
}

.gh-content > * + * {
  margin-top: 1.35em;
}

.gh-content h2 {
  margin-top: 2.4rem;
  font-size: 1.45rem;
  line-height: 1.3;
}

.gh-content h3 {
  margin-top: 1.9rem;
  font-size: 1.2rem;
}

.gh-content p {
  margin: 0;
}

.gh-content blockquote {
  margin: 1.8rem 0;
  padding-left: 1.2rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}

.post-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.share a {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
}

/* Subscribe */
.subscribe {
  border-top: 1px solid var(--border);
  padding: 2.75rem 0;
}

.subscribe-kicker {
  margin: 0 0 0.75rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 26rem;
}

.subscribe-form input {
  flex: 1 1 12rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.95rem;
}

.subscribe-form button {
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--text);
  background: var(--text);
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.subscribe-msg {
  display: none;
  width: 100%;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.subscribe-form.success .subscribe-msg.success,
.subscribe-form.error .subscribe-msg.error,
.subscribe-msg.success[style],
.subscribe-msg.error[style] {
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 52rem;
}

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

/* Archive */
.archive-head {
  padding: 2.5rem 0 0.5rem;
}

.archive-desc {
  color: var(--muted);
  margin: 0.5rem 0 0;
}

/* Home intro */
.home-intro {
  padding: 2rem 0 0.5rem;
}


/* Ghost Koenig width helpers (required) */
.kg-width-wide {
  position: relative;
  width: 85vw;
  max-width: 52rem;
  margin-left: calc(50% - 42.5vw);
  margin-right: calc(50% - 42.5vw);
}

.kg-width-full {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.kg-width-full img,
.kg-width-wide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile */
@media (max-width: 720px) {
  .post-title, .page-title, .archive-title {
    font-size: 1.85rem;
  }

  .masthead-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 0.15rem 1rem;
  }

  body {
    font-size: 1.05rem;
  }
}
