:root {
  --gh-font-heading: 'Fraunces', serif;
  --gh-font-body: 'Fraunces', serif;
  --ink:     #1a1a1a;
  --ink-2:   #3a3a3a;
  --paper:   #f7f2e7;
  --paper2:  #efe7d3;
  --rule:    rgba(20,15,5,.14);
  --rule-2:  rgba(20,15,5,.08);
  --terra:   #b85432;
  --terra-2: #8a3c22;
  --muted:   #6e6655;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 32px; }
.container-mid { max-width: 980px; margin: 0 auto; padding: 0 32px; }

/* ── Top utility bar ─────────────────────────────────────────── */
.util {
  border-bottom: 1px solid var(--rule-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.util-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 36px;
}
.util a { color: var(--muted); }
.util a:hover { color: var(--ink); }
.util-left, .util-right { display: flex; gap: 22px; }

/* ── Masthead (homepage / index) ─────────────────────────────── */
.mast {
  border-bottom: 1px solid var(--rule);
  padding: 32px 0 28px;
  text-align: center;
}
.mast-mark { display: inline-flex; margin-bottom: 14px; }
.mast-mark svg { width: 56px; height: 56px; }
.mast-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 44px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  font-variation-settings: "opsz" 144;
}
.mast-tagline {
  margin-top: 10px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ink-2);
}

/* ── Primary nav (dark band) ─────────────────────────────────── */
.nav {
  background: #2a2e3d;
  color: #f0e9d6;
}
.nav-inner {
  display: flex; justify-content: center; align-items: center;
  height: 56px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
}
.nav-inner ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; gap: 36px;
}
.nav-inner li { margin: 0; padding: 0; }
.nav-inner li::before, .nav-inner li::marker { content: none; }
.nav-inner a {
  padding: 4px 2px; position: relative;
  color: #f0e9d6;
  transition: opacity .12s;
  display: inline-block;
}
.nav-inner a:hover { opacity: .75; }
.nav-inner a::after { content: none; }

/* ── Compact masthead (post pages) ───────────────────────────── */
.mast-compact { background: #2a2e3d; color: #f0e9d6; padding: 18px 0; }
.mast-compact-inner { display: flex; align-items: center; justify-content: space-between; }
.mast-brand { display: flex; align-items: center; gap: 14px; color: var(--terra); }
.mast-brand svg { width: 32px; height: 32px; }
.mast-brand .name {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 17px; letter-spacing: .14em; text-transform: uppercase;
  color: #f0e9d6;
}
.mast-nav {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: #f0e9d6;
}
.mast-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 28px; align-items: center;
}
.mast-nav li { margin: 0; padding: 0; }
.mast-nav li::before, .mast-nav li::marker { content: none; }
.mast-nav a { color: #f0e9d6; transition: opacity .12s; display: inline-block; }
.mast-nav a:hover { opacity: .75; }
.mast-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  background: #f0e9d6; color: #2a2e3d;
  padding: 10px 16px;
  transition: background .12s, color .12s;
}
.mast-cta:hover { background: var(--terra); color: #14171f; }

/* ── Featured hero ───────────────────────────────────────────── */
.hero { padding: 64px 0 56px; border-bottom: 1px solid var(--rule); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 420px) 1fr;
  gap: 64px; align-items: center;
}
.hero-img {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, rgba(184,84,50,.10) 0 8px, rgba(184,84,50,.04) 8px 16px),
    var(--paper2);
  background-size: cover; background-position: center;
  box-shadow: 8px 12px 36px rgba(138,60,34,.38);
}
.hero-img.has-image { background: var(--paper2) center/cover no-repeat; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--terra-2);
  margin-bottom: 18px;
  display: inline-flex; gap: 12px; align-items: center;
}
.eyebrow .dot { width: 4px; height: 4px; background: currentColor; border-radius: 50%; opacity: .6; }
.hero h1 {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 56px; line-height: 1.05; letter-spacing: -.015em;
  margin: 0 0 20px; text-wrap: pretty;
  font-variation-settings: "opsz" 144;
}
.hero h1 em { font-style: italic; font-weight: 400; }
.hero p.dek {
  font-family: 'Fraunces', serif;
  font-size: 19px; line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 28px; max-width: 46ch;
}
.byline { display: flex; gap: 12px; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.byline .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper2) center/cover;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 13px;
  color: var(--terra-2); overflow: hidden;
}
.byline b { color: var(--ink); font-weight: 500; }

/* ── Section heads + grids ───────────────────────────────────── */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 1px solid var(--rule);
  padding: 56px 0 28px;
}
.section-head h2 {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 30px; letter-spacing: -.01em; margin: 0;
}
.section-head .more {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.section-head .more:hover { color: var(--terra); }

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px 36px; padding-bottom: 72px;
}
.card-img {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, rgba(20,15,5,.07) 0 8px, rgba(20,15,5,.02) 8px 16px),
    var(--paper2);
  background-size: cover; background-position: center;
  margin-bottom: 18px;
}
.card .eyebrow { margin-bottom: 10px; font-size: 10px; color: var(--muted); }
.card h3 {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 24px; line-height: 1.15; letter-spacing: -.01em;
  margin: 0 0 10px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; min-height: calc(24px * 1.15 * 3);
}
.card p { font-family: 'Fraunces', serif; font-style: italic; font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0 0 14px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; min-height: calc(15px * 1.55 * 4); }
.card .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

/* ── Verse pull ──────────────────────────────────────────────── */
.verse-band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 80px 0; text-align: center;
}
.verse-band blockquote {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 38px; line-height: 1.25;
  margin: 0 auto; max-width: 22ch;
  letter-spacing: -.005em;
}
.verse-band cite {
  display: block; margin-top: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-style: normal; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--terra-2);
}

/* ── Article header / body ───────────────────────────────────── */
.art-head { padding: 80px 0 48px; text-align: center; border-bottom: 1px solid var(--rule); }
.art-head-no-bottom-border { padding: 80px 0 48px; text-align: center; }
.art-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--terra-2);
  margin-bottom: 28px;
  display: inline-flex; gap: 14px; align-items: center;
}
.art-eyebrow .dot { width: 4px; height: 4px; background: currentColor; border-radius: 50%; opacity: .6; }
.art-title {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 64px; line-height: 1.05; letter-spacing: -.02em;
  margin: 0 auto 24px; max-width: 18ch; text-wrap: pretty;
  font-variation-settings: "opsz" 144;
}
.art-title em { font-style: italic; font-weight: 400; }
.art-dek {
  font-family: 'Fraunces', serif;
  font-size: 21px; line-height: 1.5;
  color: var(--ink-2);
  margin: 0 auto 40px; max-width: 48ch; text-wrap: pretty;
}
.art-meta {
  display: flex; justify-content: center; align-items: center; gap: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.art-meta b { color: var(--ink); font-weight: 500; }
.art-meta .sep { width: 4px; height: 4px; background: currentColor; border-radius: 50%; opacity: .5; }

.art-hero {
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(135deg, rgba(184,84,50,.10) 0 8px, rgba(184,84,50,.04) 8px 16px),
    var(--paper2);
  background-size: cover; background-position: center;
  margin: 56px 0 12px;
  box-shadow: 8px 12px 36px rgba(138,60,34,.38);
}
.art-cap {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 14px; color: var(--muted);
  margin: 0 0 64px; text-align: center;
}

.prose {
  font-family: 'Fraunces', serif;
  font-size: 20px; line-height: 1.7; color: var(--ink);
  font-variation-settings: "opsz" 14;
}
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.4em; text-wrap: pretty; }
.prose.drop-cap > p:first-of-type::first-letter {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 5.4em; float: left; line-height: .85;
  margin: .08em .12em -.1em 0; color: var(--terra-2);
  font-variation-settings: "opsz" 144;
}
.prose h2 {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 30px; line-height: 1.2; letter-spacing: -.01em;
  margin: 2.2em 0 .6em; text-wrap: pretty;
}
.prose h3 {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 24px; line-height: 1.25; margin: 1.8em 0 .5em;
}
.prose blockquote {
  margin: 2em 0; padding: 0 0 0 28px;
  border-left: 2px solid var(--terra);
  font-style: italic; color: var(--ink-2);
  font-size: 22px; line-height: 1.5;
}
.prose pre {
  background: #1e2130; color: #e8e3d8;
  font-family: 'JetBrains Mono', monospace; font-size: 14px; line-height: 1.6;
  padding: 1.25em 1.5em; margin: 1.8em 0;
  overflow-x: auto; overflow-y: visible;
  white-space: pre;
  border-radius: 2px;
}
.prose code {
  font-family: 'JetBrains Mono', monospace; font-size: .875em;
  background: var(--paper2); color: var(--terra-2);
  padding: .15em .4em; border-radius: 2px;
}
.prose pre code {
  background: none; color: inherit; padding: 0; font-size: inherit;
}
.prose a { color: var(--terra-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--terra); }
.prose em { font-style: italic; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { margin: 1.2em 0 1.6em; padding-left: 24px; }
.prose ul li, .prose ol li { margin-bottom: .4em; }
.prose hr {
  border: 0; border-top: 1px solid var(--rule);
  margin: 3em 0;
}
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; height: auto; display: block; }

/* Koenig editor image width classes — required by Ghost */
.prose .kg-width-wide,
.prose figure.kg-width-wide {
  margin-left: -80px; margin-right: -80px;
  max-width: calc(100% + 160px);
}
.prose .kg-width-wide img { width: 100%; height: auto; }
.prose .kg-width-full,
.prose figure.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}
.prose .kg-width-full img { width: 100vw; height: auto; }
.kg-html-card { max-width: 100%; }
@media (max-width: 900px) {
  .prose .kg-width-wide,
  .prose figure.kg-width-wide { margin-left: 0; margin-right: 0; max-width: 100%; }
}

.prose figcaption {
  font-style: italic; font-size: 14px;
  color: var(--muted); text-align: center; margin-top: 8px;
}

.endmark { display: flex; justify-content: center; padding: 24px 0 0; color: var(--terra-2); }
.endmark svg { width: 22px; height: 22px; }

/* ── Author card ─────────────────────────────────────────────── */
.author {
  margin-top: 80px; padding: 32px 0 0;
  border-top: 1px solid var(--rule);
  display: flex; gap: 24px; align-items: flex-start;
}
.author .avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--paper2) center/cover;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px;
  color: var(--terra-2); overflow: hidden; flex-shrink: 0;
}
.author h4 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; margin: 0 0 6px; }
.author p {
  font-family: 'Fraunces', serif; font-size: 16px; line-height: 1.55;
  color: var(--ink-2); margin: 0 0 12px;
}
.author .links {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); display: flex; gap: 16px;
}
.author .links a:hover { color: var(--terra); }

/* ── Related ─────────────────────────────────────────────────── */
.related {
  border-top: 1px solid var(--rule);
  padding: 80px 0 96px; margin-top: 96px;
}
.related-head { text-align: center; margin-bottom: 48px; }
.related-head .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--terra-2); margin-bottom: 12px;
}
.related-head h3 {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 32px; margin: 0; letter-spacing: -.01em;
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.rel-card .img {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, rgba(20,15,5,.07) 0 8px, rgba(20,15,5,.02) 8px 16px),
    var(--paper2);
  background-size: cover; background-position: center;
  margin-bottom: 16px;
}
.rel-card .eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.rel-card h4 {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 22px; line-height: 1.2; margin: 0 0 8px; text-wrap: pretty;
}
.rel-card .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}

/* ── Subscribe CTA ───────────────────────────────────────────── */
.subscribe {
  background: #14171f; color: var(--paper);
  padding: 96px 0; text-align: center;
}
.subscribe svg.mark { width: 56px; height: 56px; margin: 0 auto 24px; }
.subscribe h2 {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 44px; line-height: 1.1; letter-spacing: -.015em;
  max-width: 18ch; margin: 0 auto 14px; color: var(--paper);
}
.subscribe h2 em { font-style: italic; font-weight: 400; }
.subscribe p {
  font-family: 'Fraunces', serif; font-size: 18px;
  color: rgba(247,242,231,.7); max-width: 48ch; margin: 0 auto 36px;
}
.sub-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.sub-form input {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--paper);
  padding: 14px 18px;
  font-family: 'Inter', sans-serif; font-size: 15px; outline: none;
}
.sub-form input::placeholder { color: rgba(247,242,231,.4); }
.sub-form input:focus { border-color: var(--terra); }
.sub-form button {
  background: var(--terra); color: var(--paper); border: 0;
  padding: 14px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
}
.sub-form button:hover { background: var(--terra-2); }
.sub-meta {
  margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(247,242,231,.4);
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-foot { background: var(--paper); border-top: 1px solid var(--rule); padding: 64px 0 40px; }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-2);
}
.foot-brand svg { width: 44px; height: 44px; margin-bottom: 14px; }
.foot-brand .name {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 18px; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 12px;
}
.foot-brand p {
  font-family: 'Fraunces', serif; font-style: italic;
  color: var(--ink-2); font-size: 15px; margin: 0; max-width: 32ch;
}
.foot h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px; font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot li { margin: 0; padding: 0; }
.foot li::before, .foot li::marker { content: none; }
.foot a { font-size: 14px; color: var(--ink-2); }
.foot a:hover { color: var(--terra); }
.foot-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}

/* ── Pagination ──────────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: space-between; align-items: center;
  padding: 48px 0 72px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.pagination a:hover { color: var(--terra); }

/* ── Hamburger & mobile drawer ───────────────────────────────── */
.mast-right { display: flex; align-items: center; gap: 16px; }
.hamburger, .nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span, .nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #f0e9d6; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: #2a2e3d; color: #f0e9d6;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex; flex-direction: column;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer-inner {
  display: flex; flex-direction: column; gap: 0;
  padding: 24px 28px 36px;
  flex: 1; overflow-y: auto;
}
.mobile-drawer-close {
  align-self: flex-end;
  background: none; border: none; color: #f0e9d6;
  font-size: 28px; line-height: 1; cursor: pointer;
  padding: 0; margin-bottom: 24px;
}
.mobile-drawer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.mobile-drawer li { border-bottom: 1px solid rgba(240,233,214,.12); }
.mobile-drawer li::before, .mobile-drawer li::marker { content: none; }
.mobile-drawer a {
  display: block; padding: 14px 0;
  font-family: 'Inter', sans-serif; font-size: 14px;
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: #f0e9d6; text-decoration: none;
  transition: opacity .12s;
}
.mobile-drawer a:hover { opacity: .7; }
.mobile-drawer-cta {
  margin-top: 32px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important; letter-spacing: .18em !important;
  background: #f0e9d6 !important; color: #2a2e3d !important;
  padding: 12px 20px !important; text-align: center !important;
  display: block !important;
}
.mobile-drawer-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 9998;
}
.mobile-drawer-overlay.is-open { display: block; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 40px; }
  .grid, .related-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-inner ul { display: none; }
  .nav-inner { justify-content: flex-end; }
  .nav-hamburger { display: flex; }
  .mast-nav { display: none; }
  .mast-cta { display: none; }
  .hamburger { display: flex; }
  .art-title { font-size: 42px; }
  .verse-band blockquote { font-size: 28px; }
  .subscribe h2 { font-size: 32px; }
}

h6 {
    color: #8a3c22 !important;
    font-family: var(--font-serif);
    font-style: italic;
    text-align: left;
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.4em;
}

h6 em {
    color: var(--color-darkgrey);
    font-style: normal;
}