/* ============================================================
   The Restoration — World-Class Trad Catholic Blog Stylesheet
   Editorial grammar: Plough Quarterly + The Lamp + Paris Review
   Visual idiom: Missale Romanum + Illuminated Manuscript +
                 Counter-Reformation + Gothic Cathedral
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Spectral:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant+SC:wght@400;500;600;700&display=swap');

:root {
  --bg: #FBF6EC;
  --bg-elevated: #FFFFFF;
  --bg-deep: #F5EFDF;
  --bg-cream: #F9F2E3;
  --ink: #1A1A1A;
  --ink-soft: #4A3F33;
  --ink-muted: #7A6F5E;
  --gold: #B8860B;
  --gold-soft: #C7A24A;
  --gold-pale: #E6C86B;
  --crimson: #7B1818;
  --crimson-soft: #A83333;
  --navy: #1A2F4B;
  --navy-soft: #2C4A73;
  --rule: #D4CBB7;
  --rule-soft: #E8DFCB;
  --shadow-sm: 0 1px 3px rgba(26, 47, 75, 0.04);
  --shadow: 0 2px 16px rgba(26, 47, 75, 0.06);
  --shadow-lg: 0 8px 40px rgba(26, 47, 75, 0.10);
  --content-w: 680px;
  --left-w: 200px;
  --right-w: 260px;
  --gap: 44px;
  --layout-w: 1240px;
  --serif-body: 'Spectral', 'Source Serif Pro', 'Iowan Old Style', Georgia, serif;
  --serif-display: 'Cormorant Garamond', 'Spectral', Georgia, serif;
  --serif-sc: 'Cormorant SC', 'Spectral', Georgia, serif;
  --mono: 'SF Mono', Menlo, Consolas, monospace;
}

[data-theme="dark"] {
  --bg: #15181D;
  --bg-elevated: #1C2028;
  --bg-deep: #0F1217;
  --bg-cream: #181C22;
  --ink: #ECE6D6;
  --ink-soft: #C6B995;
  --ink-muted: #8A7E68;
  --gold: #D4A93D;
  --gold-pale: #E6C86B;
  --crimson: #C44D4D;
  --navy: #7A9AC8;
  --rule: #3A3A3A;
  --rule-soft: #28282A;
}

* { box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 1.1875rem;
  line-height: 1.68;
  font-weight: 400;
  transition: background 0.25s ease, color 0.25s ease;
  /* Parchment/vellum texture — subtle SVG noise over cream */
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.72  0 0 0 0 0.60  0 0 0 0 0.38  0 0 0 0.12 0'/></filter><rect width='320' height='320' filter='url(%23n)'/></svg>"),
    radial-gradient(ellipse at top, rgba(184, 134, 11, 0.04), transparent 60%),
    var(--bg);
  background-size: 320px 320px, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, scroll;
}
[data-theme="dark"] body {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.85  0 0 0 0 0.65  0 0 0 0.04 0'/></filter><rect width='320' height='320' filter='url(%23n)'/></svg>"),
    var(--bg);
  background-size: 320px 320px, 100% 100%;
  background-repeat: repeat, no-repeat;
}

a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a:hover { color: var(--crimson); border-bottom-color: var(--crimson); }

img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--bg);
  padding: 0.5rem 1rem; z-index: 9999;
  text-decoration: none; border: none;
}
.skip-link:focus { left: 0; }

.progress-bar {
  position: fixed; top: 0; left: 0;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  z-index: 100;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* =========================================================
   MASTHEAD — Approved, do not break
   ========================================================= */
.site-header {
  padding: 2rem 1.5rem 1.5rem;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.masthead {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.masthead-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif-sc);
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-bottom: 0.75rem;
  gap: 1rem;
}
.masthead-meta span { flex: 1; }
.masthead-meta .masthead-meta-left { text-align: left; }
.masthead-meta .masthead-meta-center { text-align: center; color: var(--gold); font-weight: 600; }
.masthead-meta .masthead-meta-right { text-align: right; }
.masthead-rule {
  height: 4px;
  background:
    linear-gradient(var(--gold), var(--gold)) top/100% 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom/100% 1px no-repeat;
  margin: 0.5rem 0;
}
.site-title {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 3.8rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 1.25rem 0 0.75rem;
  color: var(--ink);
}
.site-title a { color: var(--ink); border-bottom: none; }
.site-title a:hover { color: var(--crimson); border-bottom: none; }
.site-title .drop { color: var(--crimson); }
.site-motto {
  font-family: var(--serif-display);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
}
.site-motto-source {
  font-family: var(--serif-sc);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0;
}
.masthead-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.25rem auto 1rem;
  gap: 0.8rem;
  max-width: 440px;
}
.masthead-ornament .ornament-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}
.masthead-ornament .ornament-cross {
  color: var(--gold);
  font-size: 1.15rem;
  line-height: 1;
}
.site-tagline {
  font-family: var(--serif-body);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin: 0 auto;
  line-height: 1.4;
  max-width: 620px;
  font-weight: 400;
}
.site-nav {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.site-nav a {
  color: var(--ink-soft);
  margin: 0 0.85rem;
  padding: 0.4rem 0;
  border-bottom: none;
  position: relative;
  display: inline-block;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.site-nav a:hover::after,
.site-nav a.active::after { width: 100%; }
.site-nav a.active { color: var(--crimson); }
.site-nav a:hover { color: var(--crimson); }
.theme-toggle {
  margin-left: 1rem;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }

/* =========================================================
   SITE BAR — sticky nav (homepage, sits below cover)
   ========================================================= */
.site-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 2px 12px rgba(26, 47, 75, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.site-bar__inner {
  max-width: var(--layout-w);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-bar__brand {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-bar__brand:hover { color: var(--crimson); border-bottom: none; }
.site-bar__mark {
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}
.site-bar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--serif-sc);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.site-bar__links a {
  color: var(--ink-soft);
  padding: 0.4rem 0.85rem;
  border-bottom: none;
  position: relative;
  text-decoration: none;
}
.site-bar__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.site-bar__links a:hover::after,
.site-bar__links a.active::after { width: 70%; }
.site-bar__links a.active { color: var(--crimson); }
.site-bar__links a:hover { color: var(--crimson); }
.site-bar__links .theme-toggle {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
  margin-left: 0.5rem;
}
.site-bar__links .theme-toggle:hover { border-color: var(--gold); color: var(--gold); }

/* Margin between cover and main content */
body.home main#main { margin-top: 0; }
body.home .layout { padding-top: 2rem; }

/* =========================================================
   ESSAY SPREAD — full-width featured essay (modern editorial)
   ========================================================= */
.essay-spread {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  max-width: 1400px;
  margin: 4rem auto 5rem;
  padding: 0 1.5rem;
  align-items: center;
}
/* =========================================================
   POST-WRAP — Single-column elegant post layout (no sidebars)
   ========================================================= */
.post-wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

/* Clear floats at the end of the post body */
.post-body::after { content: ''; display: block; clear: both; }

/* =========================================================
   POST-BELOW — Author card + resources grid below the post
   ========================================================= */
.post-below {
  border-top: 1px solid var(--rule);
  background: var(--bg-deep);
  padding: 4rem 1.5rem 4.5rem;
}
.post-below__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.post-below__author {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 3rem;
}
.post-below__author .author-photo {
  width: 120px; height: 120px;
  margin: 0;
  flex-shrink: 0;
}
.post-below__byline {
  font-family: var(--serif-sc);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin: 0;
}
.post-below__name {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 1.9rem;
  margin: 0.3rem 0 1rem;
  color: var(--ink);
}
.post-below__bio {
  font-family: var(--serif-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.post-below__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.post-below__heading {
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--rule);
}
.post-below__list { list-style: none; padding: 0; margin: 0; }
.post-below__list li { margin: 0 0 0.7rem; line-height: 1.35; }
.post-below__list a { color: var(--ink); border-bottom: none; font-size: 1rem; }
.post-below__list a:hover { color: var(--crimson); }
.post-below__note {
  font-family: var(--serif-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 1rem;
  font-style: italic;
}
.post-below__note a { color: var(--navy); }
.post-below__rss {
  display: inline-block;
  font-family: var(--serif-sc);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  background: var(--navy);
  color: var(--bg) !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
}
.post-below__rss:hover { background: var(--gold); color: var(--bg) !important; }

@media (max-width: 900px) {
  .post-below__grid { grid-template-columns: repeat(2, 1fr); }
  .post-below__author { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 520px) {
  .post-below__grid { grid-template-columns: 1fr; }
}

/* Picture frame — wood + gold liner + matte (utility) */
:root {
  --frame-wood: #2a1a0a;
  --frame-wood-light: #4a2e15;
  --frame-gold: #c9a64b;
  --frame-matte: #FBF6EC;
}

.essay-spread__image-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--frame-matte);
  padding: 14px 14px 26px;
  border: 10px solid var(--frame-wood);
  border-image: linear-gradient(135deg, var(--frame-wood-light) 0%, var(--frame-wood) 25%, #1a0f06 50%, var(--frame-wood) 75%, var(--frame-wood-light) 100%) 1;
  box-shadow:
    inset 0 0 0 2px var(--frame-gold),
    inset 0 0 0 4px var(--frame-matte),
    0 16px 28px rgba(10, 10, 10, 0.38),
    0 32px 60px rgba(10, 10, 10, 0.22),
    0 60px 80px rgba(10, 10, 10, 0.12);
  border-bottom: 10px solid var(--frame-wood) !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.essay-spread__image-link:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 2px var(--frame-gold),
    inset 0 0 0 4px var(--frame-matte),
    0 22px 36px rgba(10, 10, 10, 0.45),
    0 42px 70px rgba(10, 10, 10, 0.28);
}
.essay-spread__image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.essay-spread__image-link:hover .essay-spread__image { transform: scale(1.025); }
.essay-spread__plate {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  padding: 0.65rem 0.85rem;
  font-family: var(--serif-sc);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  background: var(--frame-matte);
  text-align: center;
  border-top: 1px solid var(--rule);
}
.essay-spread__plate em {
  text-transform: none;
  letter-spacing: 0.04em;
  font-style: italic;
  color: var(--crimson);
  font-weight: 600;
}
.essay-spread__body {
  padding: 2rem 1rem 2rem 4rem;
}
.essay-spread__kicker {
  font-family: var(--serif-sc);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 1.5rem;
}
.essay-spread__kicker span:first-child {
  color: var(--crimson);
}
.essay-spread__title {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0 0 1.5rem;
  color: var(--ink);
}
.essay-spread__title a { color: var(--ink); border-bottom: none; }
.essay-spread__title a:hover { color: var(--crimson); }
.essay-spread__deck {
  font-family: var(--serif-body);
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
  font-weight: 400;
}
.essay-spread__deck em { color: var(--crimson); font-style: italic; }
.essay-spread__meta {
  font-family: var(--serif-sc);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.essay-spread__meta strong { color: var(--ink); font-weight: 600; }
.essay-spread__read {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif-sc);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bg);
  background: var(--navy);
  padding: 1rem 1.75rem;
  border: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy) !important;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.essay-spread__read:hover {
  background: var(--crimson);
  border-color: var(--crimson) !important;
  color: var(--bg);
  transform: translateY(-2px);
}
.essay-spread__read span { transition: transform 0.2s ease; }
.essay-spread__read:hover span { transform: translateX(4px); }

@media (max-width: 900px) {
  .essay-spread { grid-template-columns: 1fr; gap: 2rem; margin: 2.5rem auto 3rem; }
  .essay-spread__body { padding: 0 0.5rem; }
  .essay-spread__image { aspect-ratio: 3 / 2; }
}

/* =========================================================
   ART STRIP — horizontal scroll gallery of sacred art
   ========================================================= */
.art-strip {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
  padding: 3.5rem 0 4rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 2rem 0 4rem;
}
.art-strip__heading {
  font-family: var(--serif-sc);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  text-align: center;
  margin: 0 0 2rem;
  position: relative;
}
.art-strip__heading span {
  background: var(--bg-deep);
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.art-strip__heading::before {
  content: '';
  position: absolute;
  top: 50%; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  z-index: 0;
}
.art-strip__rail {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  padding: 0 1.5rem 1rem;
  -webkit-overflow-scrolling: touch;
}
.art-strip__rail::-webkit-scrollbar { height: 8px; }
.art-strip__rail::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 8px; }
.art-strip__rail::-webkit-scrollbar-track { background: var(--rule-soft); border-radius: 8px; }

.art-strip__tile {
  flex: 0 0 240px;
  margin: 0;
  scroll-snap-align: start;
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.art-strip__tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 47, 75, 0.15);
}
.art-strip__tile img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.art-strip__tile figcaption {
  padding: 0.85rem 1rem 1rem;
  font-family: var(--serif-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.art-strip__tile figcaption strong {
  display: block;
  font-family: var(--serif-sc);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.art-strip__tile figcaption em { font-style: italic; }

/* =========================================================
   EDITORS NOTE
   ========================================================= */
.editors-note {
  background: var(--bg-elevated);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin: 0 0 2rem;
  font-family: var(--serif-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-style: italic;
  box-shadow: var(--shadow-sm);
}
.editors-note p { margin: 0 0 0.85rem; }
.editors-note p:last-child { margin-bottom: 0; }
.editors-note__signature {
  font-family: var(--serif-sc);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  font-style: normal;
  font-weight: 700;
  text-align: right;
  margin-top: 1.25rem !important;
}

/* =========================================================
   SECTION HEADING
   ========================================================= */
.section-heading {
  font-family: var(--serif-sc);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin: 2.5rem 0 1.25rem;
  position: relative;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule);
}
.section-heading::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 60px; height: 2px;
  background: var(--gold);
}

/* =========================================================
   DEPARTMENT GRID — 4 cards (Church/State/Formation/Culture)
   ========================================================= */
.department-grid {
  list-style: none;
  padding: 0;
  margin: 1rem 0 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.department-grid__card {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.25rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.department-grid__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--gold);
}
.department-grid__card a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  text-decoration: none;
  border-bottom: none;
}
.department-grid__count {
  font-family: var(--serif-sc);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.department-grid__card p {
  margin: 0;
  font-family: var(--serif-body);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

@media (max-width: 620px) {
  .department-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   ART GALLERY (full-width, bottom of homepage) + LIGHTBOX
   ========================================================= */
.art-gallery {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  padding: 4.5rem 1.5rem 5rem;
  border-top: 1px solid var(--rule);
}
.art-gallery__heading {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.art-gallery__kicker {
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 1rem;
}
.art-gallery__title {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--ink);
}
.art-gallery__lede {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.art-gallery__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1100px) { .art-gallery__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px)  { .art-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .art-gallery__grid { grid-template-columns: repeat(2, 1fr); } }

.art-tile {
  position: relative;
  display: block;
  background: var(--frame-matte);
  border: 8px solid var(--frame-wood);
  border-image: linear-gradient(135deg, var(--frame-wood-light) 0%, var(--frame-wood) 25%, #1a0f06 50%, var(--frame-wood) 75%, var(--frame-wood-light) 100%) 1;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  padding: 8px;
  font-family: inherit;
  text-align: left;
  width: 100%;
  box-shadow:
    inset 0 0 0 1px var(--frame-gold),
    0 10px 20px rgba(10, 10, 10, 0.3),
    0 22px 36px rgba(10, 10, 10, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.art-tile:hover,
.art-tile:focus-visible {
  transform: translateY(-5px);
  box-shadow:
    inset 0 0 0 1px var(--frame-gold),
    0 16px 30px rgba(10, 10, 10, 0.4),
    0 30px 50px rgba(10, 10, 10, 0.24);
  outline: none;
}
.art-tile img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.art-tile:hover img,
.art-tile:focus-visible img { transform: scale(1.04); }
.art-tile__caption {
  display: block;
  padding: 0.85rem 0.5rem 0.4rem;
  font-family: var(--serif-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.35;
  text-align: center;
}
.art-tile__caption strong {
  display: block;
  font-family: var(--serif-sc);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.art-tile::after {
  content: '⤢';
  position: absolute;
  top: 0.6rem; right: 0.6rem;
  width: 30px; height: 30px;
  background: rgba(10, 18, 30, 0.7);
  color: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.art-tile:hover::after,
.art-tile:focus-visible::after { opacity: 1; }

/* Lightbox modal */
.art-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 95vw);
  max-height: 92vh;
  width: min(1100px, 95vw);
  margin: auto;
}
.art-modal::backdrop {
  background: rgba(8, 12, 22, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.art-modal__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  max-height: 92vh;
}
.art-modal__figure {
  margin: 0;
  background: #0a0e18;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.art-modal__image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 92vh;
  object-fit: contain;
}
.art-modal__text {
  padding: 2.25rem 2rem 2rem;
  overflow-y: auto;
  max-height: 92vh;
}
.art-modal__category {
  font-family: var(--serif-sc);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 0.6rem;
}
.art-modal__title {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.18;
  margin: 0 0 0.85rem;
  color: var(--ink);
}
.art-modal__credit {
  font-family: var(--serif-sc);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
  font-weight: 600;
}
.art-modal__credit .art-modal__artist { color: var(--ink-soft); }
.art-modal__note {
  font-family: var(--serif-body);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 1.25rem;
  font-weight: 400;
}
.art-modal__curator {
  font-family: var(--serif-sc);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 700;
  margin: 0;
  text-align: right;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  font-style: normal;
}
.art-modal__close {
  position: absolute;
  top: 0.5rem; right: 0.6rem;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  font-family: inherit;
  transition: all 0.15s ease;
}
.art-modal__close:hover {
  background: var(--crimson);
  color: var(--bg);
  border-color: var(--crimson);
}
@media (max-width: 800px) {
  .art-modal__inner { grid-template-columns: 1fr; max-height: none; }
  .art-modal__figure { max-height: 50vh; }
  .art-modal__text { max-height: none; padding: 1.5rem; }
}

@media (max-width: 720px) {
  .site-bar__inner { padding: 0.65rem 1rem; gap: 1rem; }
  .site-bar__brand { font-size: 1.05rem; }
  .site-bar__links { font-size: 0.85rem; gap: 0; }
  .site-bar__links a { padding: 0.35rem 0.55rem; }
}

/* =========================================================
   COVER — Full-viewport cinematic opening (homepage only)
   ========================================================= */
body.home .site-header { display: none; }

.cover {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #0a0e18;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #F5EFDF;
}

.cover__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  display: block;
  /* Keep the stained glass mostly intact — text uses its own contrast */
  filter: brightness(0.85) contrast(1.05) saturate(1.05);
  z-index: 0;
}

.cover__veil {
  position: absolute;
  inset: 0;
  /* Light vignette only at top + bottom so masthead and caption have a base
     The center stays clear so the image shows */
  background:
    linear-gradient(to bottom, rgba(10, 18, 30, 0.45) 0%, rgba(10, 18, 30, 0.18) 18%, transparent 40%, transparent 60%, rgba(10, 18, 30, 0.18) 82%, rgba(10, 18, 30, 0.6) 100%);
  z-index: 1;
}

.cover__masthead {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.cover__masthead .masthead-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 220, 140, 0.95);
  padding-bottom: 0.9rem;
  gap: 1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.cover__masthead .masthead-meta span { flex: 1; }
.cover__masthead .masthead-meta .masthead-meta-left { text-align: left; }
.cover__masthead .masthead-meta .masthead-meta-center {
  text-align: center;
  color: var(--gold-pale);
  font-weight: 700;
}
.cover__masthead .masthead-meta .masthead-meta-right { text-align: right; }

.cover__masthead .masthead-rule {
  height: 4px;
  background:
    linear-gradient(var(--gold-pale), var(--gold-pale)) top/100% 1px no-repeat,
    linear-gradient(var(--gold-pale), var(--gold-pale)) bottom/100% 1px no-repeat;
  margin: 0.5rem 0;
  opacity: 0.8;
}

.cover__title {
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 2rem 0 1rem;
  color: #FFFFFF;
  text-shadow:
    0 0 1px rgba(0,0,0,0.9),
    0 2px 6px rgba(0,0,0,0.85),
    0 6px 28px rgba(0,0,0,0.7);
}
.cover__title .drop {
  color: #F0C940;
  text-shadow:
    0 0 1px rgba(60,20,0,0.9),
    0 2px 6px rgba(0,0,0,0.85),
    0 6px 28px rgba(0,0,0,0.7);
}

.cover__motto {
  font-family: var(--serif-display);
  font-weight: 500;
  font-style: italic;
  color: #FFFFFF;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 1px rgba(0,0,0,0.95),
    0 2px 8px rgba(0,0,0,0.9),
    0 4px 18px rgba(0,0,0,0.7);
}

.cover__motto-source {
  font-family: var(--serif-sc);
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 1.25rem;
  text-shadow:
    0 0 1px rgba(0,0,0,0.95),
    0 2px 6px rgba(0,0,0,0.85);
  font-weight: 600;
}

.cover__masthead .masthead-ornament { margin: 1.25rem auto 1.5rem; max-width: 480px; }
.cover__masthead .masthead-ornament .ornament-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-pale) 30%, var(--gold-pale) 70%, transparent);
}
.cover__masthead .masthead-ornament .ornament-cross {
  color: var(--gold-pale);
  font-size: 1.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.cover__tagline {
  font-family: var(--serif-body);
  font-style: italic;
  color: #FFFFFF;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  max-width: 640px;
  margin: 0 auto 1.5rem;
  line-height: 1.45;
  text-shadow:
    0 0 1px rgba(0,0,0,0.9),
    0 2px 8px rgba(0,0,0,0.85),
    0 4px 20px rgba(0,0,0,0.65);
  font-weight: 500;
}

.cover__nav {
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 220, 140, 0.3);
  font-family: var(--serif-sc);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.cover__nav a {
  color: #FFFFFF;
  margin: 0 0.85rem;
  padding: 0.4rem 0;
  border-bottom: none;
  position: relative;
  display: inline-block;
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0,0,0,0.85);
}
.cover__nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold-pale);
  transition: width 0.2s ease;
}
.cover__nav a:hover,
.cover__nav a.active { color: var(--gold-pale); }
.cover__nav a:hover::after,
.cover__nav a.active::after { width: 100%; }
.cover__nav .theme-toggle {
  margin-left: 1rem;
  background: transparent;
  border: 1px solid rgba(230, 200, 107, 0.35);
  color: var(--gold-pale);
  font-size: 0.95rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
.cover__nav .theme-toggle:hover { border-color: var(--gold-pale); background: rgba(230, 200, 107, 0.15); }

/* Epigraph — center poster block (heaviest contrast since over brightest part of image) */
.cover__epigraph {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 2.25rem 2.75rem;
  text-align: center;
  border-top: 1px solid rgba(245, 220, 140, 0.35);
  border-bottom: 1px solid rgba(245, 220, 140, 0.35);
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 500;
  color: #FFFFFF;
  /* Subtle dark backdrop band so the bright stained glass doesn't fight the text */
  background: linear-gradient(to bottom, rgba(10, 18, 30, 0.35), rgba(10, 18, 30, 0.4));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.cover__epigraph p {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.28;
  margin: 0 0 1.35rem;
  letter-spacing: 0.005em;
  text-shadow:
    0 0 1px rgba(0,0,0,0.95),
    0 2px 8px rgba(0,0,0,0.9),
    0 6px 24px rgba(0,0,0,0.7);
}
.cover__epigraph cite {
  font-family: var(--serif-sc);
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F0C940;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.85);
}

/* Plate caption bottom */
.cover__plate-caption {
  position: relative;
  z-index: 2;
  padding: 1rem 2rem 0.5rem;
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F0C940;
  text-align: center;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.85);
}
.cover__plate-caption em {
  font-style: italic;
  color: rgba(245, 220, 140, 0.85);
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 400;
}

/* Scroll cue */
.cover__scroll {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0.5rem auto 2rem;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 1px solid rgba(230, 200, 107, 0.55);
  border-radius: 50%;
  color: var(--gold-pale);
  text-align: center;
  font-size: 1rem;
  text-decoration: none;
  transform: rotate(90deg);
  transition: transform 0.3s ease, border-color 0.15s ease;
  animation: nudge 2.2s ease-in-out infinite;
  border-bottom: 1px solid rgba(230, 200, 107, 0.55);
}
.cover__scroll:hover {
  border-color: var(--gold-pale);
  transform: rotate(90deg) translateX(3px);
}
@keyframes nudge {
  0%, 100% { transform: rotate(90deg) translateX(0); }
  50% { transform: rotate(90deg) translateX(4px); }
}

@media (max-width: 720px) {
  .cover__masthead { padding: 1.5rem 1rem 1rem; }
  .cover__epigraph { padding: 1.5rem 1.25rem; }
  .cover__masthead .masthead-meta { font-size: 0.65rem; letter-spacing: 0.18em; }
  .cover__nav a { margin: 0.25rem 0.5rem; font-size: 0.88rem; }
}

/* =========================================================
   HERO PLATE — Full-bleed sacred-art image + epigraph
   Used on about, archive, 404 (NOT homepage — that uses .cover)
   ========================================================= */
.hero-plate {
  position: relative;
  width: 100%;
  margin: 0 0 3rem;
  background: var(--navy);
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero-plate__image {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: brightness(0.85) contrast(1.05);
}
.hero-plate__image--tall { aspect-ratio: 16 / 9; }
/* Portrait-format icons (Pantocrator, Guadalupe, etc.) need a taller frame so the head isn't cropped */
.hero-plate--portrait .hero-plate__image {
  aspect-ratio: auto;
  max-height: 70vh;
  object-fit: contain;
  background: #0a0e18;
}
.hero-plate__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,47,75,0.25) 0%, rgba(26,47,75,0.05) 40%, rgba(10,15,25,0.62) 100%);
  pointer-events: none;
}
.hero-plate__epigraph {
  position: absolute;
  left: 50%;
  bottom: 2.25rem;
  transform: translateX(-50%);
  max-width: min(720px, 88%);
  color: #FBF6EC;
  text-align: center;
  font-family: var(--serif-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.15rem, 2.3vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.65);
  padding: 0 1rem;
}
.hero-plate__epigraph::before,
.hero-plate__epigraph::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(230, 200, 107, 0.85);
  margin: 0.75rem auto;
}
.hero-plate__source {
  display: block;
  font-family: var(--serif-sc);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(230, 200, 107, 0.95);
  margin-top: 0.1rem;
}
.hero-plate__caption {
  background: var(--bg-deep);
  color: var(--ink-muted);
  font-family: var(--serif-sc);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--rule-soft);
}
.hero-plate__caption em { font-style: italic; letter-spacing: 0.08em; text-transform: none; font-size: 0.92rem; color: var(--ink-soft); }

/* Smaller hero plate variant (about, archive) */
.hero-plate--compact .hero-plate__image { aspect-ratio: 21 / 8; }
@media (max-width: 720px) {
  .hero-plate__image,
  .hero-plate--compact .hero-plate__image { aspect-ratio: 4 / 3; }
  .hero-plate__epigraph { font-size: 1.1rem; bottom: 1.25rem; }
}

/* =========================================================
   FLEURON — Ornamental section break
   ========================================================= */
.fleuron {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin: 3rem auto;
  max-width: 360px;
  color: var(--gold);
}
.fleuron::before,
.fleuron::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
}
.fleuron__mark {
  font-family: var(--serif-display);
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.2em;
}

/* =========================================================
   LAYOUT — Three-column editorial
   ========================================================= */
.layout {
  display: grid;
  grid-template-columns: var(--left-w) minmax(0, var(--content-w)) var(--right-w);
  gap: var(--gap);
  max-width: var(--layout-w);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.main-content { min-width: 0; }

@media (max-width: 1200px) {
  .layout { grid-template-columns: 1fr; max-width: 720px; }
  .sidebar { order: 10; }
}

/* =========================================================
   SIDEBARS
   ========================================================= */
.sidebar {
  font-family: var(--serif-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
/* Sidebars are NOT sticky — let all content show as the user scrolls
   so Latest Essays, Catholic Resources, AND Classical Education are all visible
   in flow with the article body. */

.sidebar-block { margin-bottom: 2.25rem; }
.sidebar-block:last-child { margin-bottom: 0; }

.sidebar-heading {
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sidebar-heading::before {
  content: '✠';
  color: var(--gold);
  font-size: 0.98rem;
  line-height: 1;
  font-family: var(--serif-display);
}
.sidebar-heading::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 40px; height: 1px;
  background: var(--gold);
}

.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { margin: 0 0 0.75rem; line-height: 1.4; }
.sidebar li:last-child { margin-bottom: 0; }
.sidebar a { color: var(--ink); border-bottom: none; font-weight: 500; }
.sidebar a:hover { color: var(--crimson); }
.sidebar .ext { color: var(--ink-muted); font-size: 0.8em; font-weight: 400; }

.sidebar-caption {
  display: block;
  font-size: 0.98rem;
  font-style: italic;
  color: var(--ink-muted);
  margin-top: 0.15rem;
  font-weight: 400;
  line-height: 1.3;
}

.sidebar-list-compact li { margin: 0 0 0.35rem; font-size: 0.95rem; }

.sidebar-link-list li {
  margin: 0 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dotted var(--rule-soft);
}
.sidebar-link-list li:last-child { border-bottom: none; }

.sidebar-post-list li {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule-soft);
}
.sidebar-post-list li:last-child { border-bottom: none; }
.sidebar-post-list a { display: block; color: var(--ink); border-bottom: none; }
.sidebar-post-title {
  display: block;
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.3rem;
  transition: color 0.15s ease;
}
.sidebar-post-list a:hover .sidebar-post-title { color: var(--crimson); }
.sidebar-post-date {
  font-family: var(--serif-sc);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Author card */
.author-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--rule-soft);
  border-radius: 3px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.author-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}
.author-mark {
  width: 72px; height: 72px;
  margin: 0 auto 0.75rem;
  display: block;
}
.author-photo {
  width: 110px; height: 110px;
  margin: 0 auto 0.85rem;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

/* Inline author portrait on About page — framed like a photograph on a wall */
.about-portrait {
  float: right;
  width: 200px;
  margin: 0.5rem 0 1.75rem 2.25rem;
  padding: 8px 8px 16px;
  background: var(--frame-matte);
  border: 8px solid var(--frame-wood);
  border-image: linear-gradient(135deg, var(--frame-wood-light) 0%, var(--frame-wood) 25%, #1a0f06 50%, var(--frame-wood) 75%, var(--frame-wood-light) 100%) 1;
  box-shadow:
    inset 0 0 0 1px var(--frame-gold),
    0 14px 24px rgba(10, 10, 10, 0.35),
    0 26px 42px rgba(10, 10, 10, 0.18);
  shape-outside: margin-box;
}
@media (max-width: 620px) {
  .about-portrait {
    float: none;
    width: 180px;
    margin: 0 auto 1.5rem;
    display: block;
  }
}
.author-name {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0.25rem 0;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.author-role {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0 0 0.75rem;
  line-height: 1.35;
}
.author-link {
  font-family: var(--serif-sc);
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--crimson);
  border-bottom: none;
}
.author-link:hover { color: var(--gold); }

/* Subscribe block */
.sidebar-subscribe {
  background: var(--bg-elevated);
  padding: 1.25rem;
  border: 1px solid var(--rule-soft);
  border-radius: 3px;
}
.sidebar-subscribe-copy {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-muted);
  line-height: 1.45;
  margin: 0 0 0.85rem;
}
.sidebar-rss-btn {
  display: inline-block;
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: var(--bg) !important;
  border: none;
  border-bottom: none !important;
  border-radius: 3px;
  transition: background 0.15s ease;
}
.sidebar-rss-btn:hover { background: var(--gold); color: var(--bg) !important; border-bottom: none; }

/* Category Pills */
.pill {
  display: inline-block;
  padding: 0.2em 0.75em;
  font-family: var(--serif-sc);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 999px;
  border-bottom: none;
  line-height: 1.5;
  font-weight: 600;
}
.pill:hover { color: var(--crimson); border-color: var(--crimson); }
.pill-church { color: var(--crimson); border-color: var(--crimson); }
.pill-state { color: var(--navy); border-color: var(--navy); }
.pill-formation { color: var(--gold); border-color: var(--gold); }
.pill-culture { color: var(--ink-soft); border-color: var(--ink-muted); }

/* =========================================================
   HOMEPAGE — Featured essay
   ========================================================= */
.featured-essay {
  margin: 0 0 3rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.featured-essay__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif-sc);
  font-size: 0.88rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}
.featured-essay__label::before,
.featured-essay__label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.featured-essay__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.75rem;
  align-items: center;
}
.featured-essay__image {
  display: block;
  border-bottom: none;
  overflow: hidden;
  position: relative;
  background: var(--rule-soft);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
}
.featured-essay__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.featured-essay__image:hover img { transform: scale(1.03); }
.featured-essay__body { padding: 0.5rem 0; }
.featured-essay__body h2 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1.08;
  margin: 0.5rem 0 1rem;
}
.featured-essay__body h2 a { color: var(--ink); border-bottom: none; }
.featured-essay__body h2 a:hover { color: var(--crimson); }
.featured-essay__excerpt {
  font-family: var(--serif-body);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}
.featured-essay__read {
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  border-bottom: 1px solid var(--crimson);
  padding-bottom: 0.15rem;
  font-weight: 600;
}
.featured-essay__read:hover { color: var(--gold); border-bottom-color: var(--gold); }
@media (max-width: 820px) {
  .featured-essay__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .featured-essay__image { aspect-ratio: 3 / 2; }
  .featured-essay__body h2 { font-size: 2rem; }
}

/* =========================================================
   STANDARD POST LIST
   ========================================================= */
.section-heading {
  font-family: var(--serif-sc);
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
  margin: 0 0 1.5rem;
  font-weight: 600;
  position: relative;
  padding-top: 1rem;
}
.section-heading::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 1px;
  background: var(--gold);
}

.post-list { list-style: none; padding: 0; margin: 2rem 0; }
.post-list li,
.post-list .post-card {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.post-list li:first-child,
.post-list .post-card:first-child { padding-top: 1rem; }
.post-list li:last-child,
.post-list .post-card:last-child { border-bottom: none; }

.post-card-with-image {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 1.75rem;
  align-items: start;
}
.post-card-image {
  display: block;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--rule);
  background: var(--rule-soft);
  aspect-ratio: 4 / 3;
  border-bottom: none;
  box-shadow: var(--shadow-sm);
}
.post-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card-image:hover img { transform: scale(1.04); }
.post-card-body { display: flex; flex-direction: column; }

@media (max-width: 620px) {
  .post-card-with-image { grid-template-columns: 1fr; gap: 1rem; }
}

.post-meta {
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.post-list h2 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 1.85rem;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
.post-list h2 a { color: var(--ink); border-bottom: none; }
.post-list h2 a:hover { color: var(--crimson); }
.post-list .excerpt {
  color: var(--ink-soft);
  margin: 0.5rem 0 0.85rem;
  font-size: 1.08rem;
  line-height: 1.55;
}
.post-list .read-more {
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  color: var(--crimson);
  text-transform: uppercase;
  border-bottom: none;
}
.post-list .read-more:hover { color: var(--gold); }

/* =========================================================
   SINGLE POST
   ========================================================= */
article.post { padding: 1.5rem 0 3rem; }

.post-header { text-align: center; padding: 1.5rem 0 1.5rem; }
.post-header .post-meta { justify-content: center; margin-bottom: 1rem; }
.post-header h1 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 3rem;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.005em;
}
.post-header .subtitle {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.22rem;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Post hero: full-bleed plate with caption */
.post-hero {
  margin: 2rem auto 3rem;
  max-width: 760px;
  text-align: center;
  background: var(--frame-matte);
  padding: 14px 14px 22px;
  border: 12px solid var(--frame-wood);
  border-image: linear-gradient(135deg, var(--frame-wood-light) 0%, var(--frame-wood) 25%, #1a0f06 50%, var(--frame-wood) 75%, var(--frame-wood-light) 100%) 1;
  box-shadow:
    inset 0 0 0 2px var(--frame-gold),
    inset 0 0 0 4px var(--frame-matte),
    0 18px 32px rgba(10, 10, 10, 0.4),
    0 36px 60px rgba(10, 10, 10, 0.22);
  overflow: hidden;
}
.post-hero img {
  width: 100%;
  display: block;
  margin: 0;
  border: none;
  box-shadow: none;
  max-height: 78vh;
  object-fit: cover;
  object-position: center;
}
.post-hero figcaption {
  font-family: var(--serif-body);
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.5;
  padding: 1rem 1.5rem 1.1rem;
  max-width: 820px;
  margin: 0 auto;
  font-style: italic;
}
.post-hero figcaption strong {
  font-style: normal;
  font-family: var(--serif-sc);
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}
@media (max-width: 1200px) {
  .post-hero { margin: 1.5rem -1.5rem 2.5rem; }
}
@media (max-width: 720px) {
  .post-hero { margin: 1rem -1rem 2rem; }
  .post-hero figcaption { padding: 1rem 1rem; font-size: 0.88rem; }
}

.post-body {
  font-size: 1.1875rem;
  line-height: 1.75;
  color: var(--ink);
  font-weight: 400;
}

/* Illuminated drop cap — first paragraph of post body */
.post-body > p:first-of-type::first-letter {
  font-family: var(--serif-display);
  font-size: 5.25rem;
  font-weight: 500;
  float: left;
  line-height: 0.88;
  margin: 0.35rem 0.55rem 0 0;
  color: var(--crimson);
  font-style: normal;
  padding: 0.1rem 0.15rem 0 0.05rem;
}
.post-body p { margin: 0 0 1.5rem; }

/* Force-centered section headings — wins any specificity battle */
article .post-body > h2,
article .post-body > h3,
.post-body h2,
.post-body h3 {
  text-align: center !important;
  clear: both !important;
  display: block !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.post-body h2 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.2;
  margin-top: 3rem !important;
  margin-bottom: 1rem !important;
  position: relative;
  padding-top: 2rem;
}
.post-body h2::before {
  content: '✠';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 0.95rem;
}
.post-body h3 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.75rem;
}

.post-body blockquote {
  /* Float and wrap with text — alternating sides like figures */
  float: right !important;
  clear: right !important;
  width: 46% !important;
  max-width: 380px !important;
  margin: 0.5rem 0 1.5rem 2rem !important;
  padding: 1.25rem 1.5rem 1.25rem 1.75rem;
  position: relative;
  font-family: var(--serif-display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 1.5;
  text-align: left;
  background: var(--bg-deep);
  border-left: 3px solid var(--gold);
  box-sizing: border-box;
  box-shadow: 0 6px 18px rgba(26, 47, 75, 0.07);
  display: block;
}
/* Alternate: even blockquotes float left */
.post-body blockquote:nth-of-type(even) {
  float: left !important;
  clear: left !important;
  margin: 0.5rem 2rem 1.5rem 0 !important;
  border-left: none;
  border-right: 3px solid var(--gold);
}
.post-body blockquote:nth-of-type(even)::before {
  left: auto; right: 0.5rem;
}
@media (max-width: 720px) {
  .post-body blockquote,
  .post-body blockquote:nth-of-type(even) {
    float: none; clear: both;
    width: 100%; max-width: 100%;
    margin: 2rem auto;
    border-left: 3px solid var(--gold);
    border-right: none;
  }
}
.post-body blockquote::before {
  content: '❝';
  position: absolute;
  top: -0.5rem; left: 0.5rem;
  font-size: 3.5rem;
  color: var(--gold);
  font-family: serif;
  line-height: 1;
  opacity: 0.4;
}
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body blockquote cite {
  display: block;
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 1rem;
}
.post-body blockquote cite::before { content: '— '; }

.pull-quote {
  font-family: var(--serif-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.3;
  color: var(--crimson);
  text-align: left;
  /* Wrap like figures/blockquotes — float alternating */
  float: right !important;
  clear: right !important;
  width: 42% !important;
  max-width: 360px !important;
  margin: 1.25rem 0 2.5rem 3.5rem !important;
  padding: 1.25rem 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  box-sizing: border-box;
}
.post-body p.pull-quote:nth-of-type(even) {
  float: left !important;
  clear: left !important;
  margin: 1.25rem 3.5rem 2.5rem 0 !important;
}
@media (max-width: 720px) {
  .pull-quote {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
    margin: 2.5rem auto !important;
    padding: 1.75rem 0;
  }
}

.post-body ul,
.post-body ol { margin: 0 0 1.5rem 1.75rem; padding: 0; }
.post-body li { margin: 0 0 0.6rem; }
.post-body hr {
  border: 0;
  text-align: center;
  margin: 3rem 0;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.6em;
}
.post-body hr::before { content: '✠'; }
.post-body code {
  font-family: var(--mono);
  background: var(--rule-soft);
  padding: 0.15em 0.35em;
  border-radius: 2px;
  font-size: 0.9em;
}

/* =========================================================
   IN-BODY FIGURES — Plough-Quarterly-grade plates
   ========================================================= */
.post-body figure {
  margin: 3rem auto;
  text-align: left;
}
.post-body figure img {
  margin: 0 auto;
  width: 100%;
  display: block;
  background: var(--frame-matte);
  padding: 10px;
  border: 8px solid var(--frame-wood);
  border-image: linear-gradient(135deg, var(--frame-wood-light) 0%, var(--frame-wood) 25%, #1a0f06 50%, var(--frame-wood) 75%, var(--frame-wood-light) 100%) 1;
  box-shadow:
    inset 0 0 0 1px var(--frame-gold),
    0 12px 22px rgba(10, 10, 10, 0.3),
    0 24px 40px rgba(10, 10, 10, 0.15);
  box-sizing: border-box;
}

/* =========================================================
   IN-POST FIGURES — most wrap with text, figure-bleed stays full
   Default + figure-portrait + figure-wide + figure-aside → wrap
   figure-bleed → full-width dramatic plate (for key moments only)
   ========================================================= */
.post-body figure,
.post-body figure.figure-portrait,
.post-body figure.figure-wide,
.post-body figure.figure-aside {
  float: right !important;
  clear: right !important;
  width: 42% !important;
  max-width: 360px !important;
  margin: 1.25rem 0 2.5rem 3.5rem !important;
  padding: 0;
  background: transparent;
  border: none;
  border-image: none;
  box-shadow: none;
  shape-outside: margin-box;
}
/* Alternate: every 2nd wrapped figure floats left */
.post-body figure:nth-of-type(even),
.post-body figure.figure-portrait:nth-of-type(even),
.post-body figure.figure-wide:nth-of-type(even),
.post-body figure.figure-aside:nth-of-type(even) {
  float: left !important;
  clear: left !important;
  margin: 1.25rem 3.5rem 2.5rem 0 !important;
}
/* Figure image must fit its own container — no forced upscale */
.post-body figure img {
  max-width: 100% !important;
  height: auto !important;
}
/* Ensure any text/figure/paragraph after a floated figure keeps clear visual breathing room */
.post-body > *:not(figure) + figure,
.post-body figure + p { margin-top: 1.25rem; }

/* Full-width dramatic plates — NOT wrapped */
.post-body figure.figure-bleed {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 3rem 0 !important;
}
.post-body figure.figure-bleed img {
  width: 100%;
  max-width: 100%;
}
/* Figure captions flow with the float */
.post-body figure figcaption {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-muted);
  margin-top: 0.75rem;
  padding: 0 0.25rem;
  text-align: left;
  border-top: none;
}
.post-body figure figcaption strong {
  display: block;
  font-family: var(--serif-sc);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.35rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--rule-soft);
}

/* Mobile: all figures center, full width, no float */
@media (max-width: 720px) {
  .post-body figure,
  .post-body figure.figure-portrait,
  .post-body figure.figure-wide,
  .post-body figure.figure-bleed,
  .post-body figure.figure-aside {
    float: none;
    clear: both;
    width: 100%;
    max-width: 100%;
    margin: 2rem auto;
  }
}
.post-body figure figcaption {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-top: 0.9rem;
  padding: 0 0.25rem;
  line-height: 1.5;
  text-align: left;
}
.post-body figure figcaption strong {
  font-style: normal;
  font-family: var(--serif-sc);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--rule-soft);
}

/* Portrait plate — narrow, centered, inline */
.post-body figure.figure-portrait {
  max-width: 360px;
  margin: 2.5rem auto;
}
.post-body figure.figure-portrait img {
  aspect-ratio: auto;
}

/* Wide plate — breaks out of column */
.post-body figure.figure-wide {
  margin: 3.5rem calc(-1 * var(--gap));
  max-width: none;
}
.post-body figure.figure-wide img { width: 100%; }
.post-body figure.figure-wide figcaption {
  padding: 0 var(--gap);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Full-bleed break image — dramatic section divider */
.post-body figure.figure-bleed {
  margin: 3.75rem calc(-1 * var(--gap));
  padding: 0;
  max-width: none;
  background: var(--navy);
}
.post-body figure.figure-bleed img {
  width: 100%;
  max-height: 62vh;
  object-fit: cover;
  box-shadow: none;
}
.post-body figure.figure-bleed figcaption {
  padding: 1rem var(--gap) 1.25rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9rem;
  color: var(--ink-muted);
  background: var(--bg-deep);
}

/* Illuminated drop-cap — decorated capital wrapping the first letter */
.post-body .illumination {
  float: left;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0.35rem 1rem 0.25rem 0;
  background:
    radial-gradient(ellipse at top left, #8a2020 0%, var(--crimson) 45%, #601010 100%);
  color: var(--gold-pale);
  border: 3px double var(--gold);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 4.25rem;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    0 4px 16px rgba(123, 24, 24, 0.3),
    inset 0 0 20px rgba(230, 200, 107, 0.18),
    inset 0 0 2px rgba(230, 200, 107, 0.6);
  position: relative;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.post-body .illumination::before,
.post-body .illumination::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  background: radial-gradient(circle, var(--gold) 15%, rgba(184,134,11,0.1) 60%, transparent 80%);
  border-radius: 50%;
}
.post-body .illumination::before { top: 5px; left: 5px; }
.post-body .illumination::after { bottom: 5px; right: 5px; }

/* Disable CSS first-letter dropcap on paragraphs that already have an illumination */
.post-body p.has-illumination::first-letter { all: unset; font: inherit; color: inherit; float: none; margin: 0; }
@media (max-width: 520px) {
  .post-body .illumination { width: 4.25rem; height: 4.25rem; font-size: 3.25rem; margin-right: 0.75rem; }
}

/* Asymmetric figure — image floats right, text wraps */
.post-body figure.figure-aside {
  float: right;
  max-width: 300px;
  margin: 0.5rem 0 1.75rem 2rem;
  clear: right;
}
.post-body figure.figure-aside figcaption { font-size: 0.98rem; }

@media (max-width: 1200px) {
  .post-body figure.figure-wide,
  .post-body figure.figure-bleed { margin: 3rem -1.5rem; }
  .post-body figure.figure-bleed figcaption { padding: 1rem 1.5rem 1.25rem; }
  .post-body figure.figure-wide figcaption { padding: 0 1.5rem; }
}
@media (max-width: 720px) {
  .post-body figure { margin: 2.25rem auto; }
  .post-body figure.figure-wide,
  .post-body figure.figure-bleed { margin: 2.25rem -1rem; }
  .post-body figure.figure-wide figcaption,
  .post-body figure.figure-bleed figcaption { padding: 0.85rem 1rem; font-size: 0.88rem; }
  .post-body figure.figure-aside { float: none; max-width: 100%; margin: 2rem auto; }
}

/* Footnotes */
.post-body sup a { color: var(--crimson); font-size: 0.75em; vertical-align: super; border-bottom: none; padding: 0 0.15em; }
.post-body sup a:hover { color: var(--gold); }
.footnotes { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--rule); font-size: 1rem; color: var(--ink-soft); line-height: 1.55; }
.footnotes h3 { font-family: var(--serif-sc); font-size: 0.98rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 1rem; }
.footnotes h3::before { display: none; }
.footnotes ol { padding-left: 1.25rem; }
.footnotes li { margin-bottom: 0.75rem; font-size: 1rem; }

/* Post footer */
.post-footer { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--rule-soft); }

.share-bar {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin: 0 0 2rem;
  flex-wrap: wrap;
}
.share-bar .share-label {
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-right: 0.75rem;
}
.share-bar a,
.share-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.15s ease;
}
.share-bar a:hover,
.share-bar button:hover {
  border-color: var(--gold);
  color: var(--crimson);
  transform: translateY(-2px);
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-soft);
}
.post-nav a {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--bg-elevated);
  transition: all 0.15s ease;
}
.post-nav a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.post-nav .direction {
  display: block;
  font-family: var(--serif-sc);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.3rem;
}
.post-nav .nav-title {
  display: block;
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--ink);
}
.post-nav .post-nav-next { text-align: right; }
@media (max-width: 720px) { .post-nav { grid-template-columns: 1fr; } .post-nav .post-nav-next { text-align: left; } }

/* =========================================================
   ABOUT & ARCHIVE
   ========================================================= */
.about-page { padding: 1rem 0 4rem; }
.about-page h1 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 2.8rem;
  line-height: 1.12;
  margin: 0 0 1rem;
  text-align: center;
}
.about-page .lede {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}
.about-page .body { font-size: 1.2rem; line-height: 1.78; }
.about-page .body p { margin: 0 0 1.5rem; }
.about-page .body h2 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 1.7rem;
  margin: 2.75rem 0 1rem;
  position: relative;
  padding-top: 2rem;
}
.about-page .body h2::before {
  content: '✠';
  position: absolute;
  top: 0; left: 0;
  color: var(--gold);
  font-size: 0.9rem;
}
.about-page .body figure {
  margin: 2.5rem calc(-1 * var(--gap));
  max-width: none;
}
.about-page .body figure img {
  width: 100%;
  box-shadow: 0 2px 18px rgba(26, 47, 75, 0.08);
}
.about-page .body figure figcaption {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.5;
  max-width: 820px;
  margin: 0.9rem auto 0;
  padding: 0 var(--gap);
}
.about-page .body figure figcaption strong {
  font-style: normal;
  font-family: var(--serif-sc);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--rule-soft);
}
@media (max-width: 1200px) {
  .about-page .body figure { margin: 2rem -1.5rem; }
  .about-page .body figure figcaption { padding: 0 1.5rem; }
}
@media (max-width: 720px) {
  .about-page .body figure { margin: 2rem -1rem; }
  .about-page .body figure figcaption { padding: 0 1rem; font-size: 0.88rem; }
}

.archive-page h1 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 2.8rem;
  text-align: center;
  margin: 0 0 1rem;
}
.archive-page .lede {
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  line-height: 1.5;
}
.archive-year {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 1.85rem;
  color: var(--gold);
  margin: 2.75rem 0 0.5rem;
  letter-spacing: 0.04em;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--rule-soft);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-top: 4rem;
  background: var(--bg-deep);
}
.site-footer .footer-ornament {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.6em;
  padding-left: 0.6em;
}
.site-footer .footer-motto {
  font-family: var(--serif-display);
  font-style: italic;
  color: var(--gold);
  margin: 0.5rem 0;
  font-size: 1.08rem;
}
.site-footer .credit {
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0.5rem 0;
}
.site-footer a { color: var(--ink-muted); border-bottom-color: transparent; }
.site-footer a:hover { color: var(--crimson); border-bottom-color: var(--crimson); }
.site-footer .footer-links {
  margin: 0.75rem 0;
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer .footer-links a { margin: 0 0.6rem; }

/* =========================================================
   404
   ========================================================= */
.page-404 {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  text-align: center;
}
.page-404__plate {
  margin: 1.5rem auto 2.5rem;
  background: var(--navy);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--rule);
}
.page-404__plate img {
  width: 100%;
  display: block;
  max-height: 60vh;
  object-fit: cover;
  filter: brightness(0.88);
}
.page-404__caption {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-top: 0.85rem;
  line-height: 1.5;
}
.page-404 h1 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 2.75rem;
  margin: 1rem 0;
  letter-spacing: 0.01em;
}
.page-404 p {
  font-style: italic;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 1.5rem;
  font-size: 1.15rem;
  line-height: 1.55;
}
.page-404 .return-link {
  display: inline-block;
  font-family: var(--serif-sc);
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson);
  border-bottom: 1px solid var(--crimson);
  padding-bottom: 0.2rem;
  font-weight: 600;
  margin-top: 1rem;
}
.page-404 .return-link:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  body { font-size: 1.125rem; }
  .post-header h1 { font-size: 2.3rem; }
  .post-body { font-size: 1.125rem; }
  .post-body > p:first-of-type::first-letter { font-size: 4rem; }
  .pull-quote { font-size: 1.5rem; }
  .featured-essay__body h2 { font-size: 1.9rem; }
}
@media (max-width: 720px) {
  body { font-size: 1.0625rem; }
  .site-header { padding: 2rem 1rem 1rem; }
  .site-title { font-size: 2.2rem; }
  .site-nav a { margin: 0 0.5rem; font-size: 0.95rem; }
  .post-header h1 { font-size: 2rem; }
  .post-list h2 { font-size: 1.5rem; }
  .post-body { font-size: 1.0625rem; }
  .layout { padding: 0 1rem 3rem; }
}
@media (max-width: 420px) {
  .site-nav a { display: inline-block; margin: 0.25rem 0.4rem; }
}

/* Print */
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header, .site-footer, .site-nav, .sidebar, .share-bar, .post-nav, .progress-bar, .theme-toggle, .hero-plate, .post-hero { display: none !important; }
  a { border-bottom: none; color: black; }
  .post-header h1 { font-size: 22pt; }
  .post-body { font-size: 11pt; line-height: 1.4; }
  .layout { grid-template-columns: 1fr; max-width: none; padding: 0; }
}
