/* The archive is self-contained: no CSS framework, remote fonts, or runtime UI dependency. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #111211;
  --surface: #191a17;
  --paper: #e5dcc8;
  --muted: #b0a896;
  --brass: #b89a63;
  --line: #39382e;
  --red: #7b3438;
  --display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(ellipse at 80% 0, #28201955, transparent 45rem);
}
::selection { color: #fff5de; background: #7b3438; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: #e4bf7d; }
a, summary { -webkit-tap-highlight-color: #b89a6333; }
:focus-visible { outline: 2px solid #e4bf7d; outline-offset: 5px; }
main:focus { outline: none; }
img, video { max-width: 100%; height: auto; }
svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.12; }
h1, h2, h3, h4, p { margin-top: 0; }
summary { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: -8rem; left: 1rem; padding: .7rem 1rem; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 16rem; overflow-y: auto;
  background: #141512; border-right: 1px solid var(--line); padding: 2rem 1.6rem;
  scrollbar-width: thin; scrollbar-color: #514a39 #141512;
}
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; margin-bottom: 2.25rem; }
.brand img { opacity: .85; flex: none; }
.brand span { font-family: var(--display); font-size: 2rem; letter-spacing: .18em; }
.navigation > summary { color: var(--brass); }
.navigation[open] > summary { display: none; }
.nav-group { margin-bottom: 1.25rem; }
.nav-heading, .article-nav > summary {
  font-family: var(--display); color: var(--brass); font-size: .94rem;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
}
.sidebar ul, .sidebar ol { padding: 0; margin: .65rem 0 0; list-style: none; }
.sidebar li a { display: flex; align-items: baseline; gap: 1rem; padding: .33rem .65rem; font-size: .94rem; line-height: 1.6; text-decoration: none; color: var(--muted); border-left: 1px solid transparent; }
.sidebar li a:hover { color: var(--paper); background: #b89a6309; }
.sidebar a[aria-current="page"] { color: #e1c797; background: #b89a630e; border-color: var(--brass); }
.volume-number { font-size: .68rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--brass); }
.article-nav { border-block: 1px solid var(--line); padding-block: 1rem; }
.article-nav > .nav-heading { display: block; margin-top: .75rem; font-size: .8rem; }
.subject-nav { padding-top: .3rem !important; }
.site-shell { margin-left: 16rem; padding: 0 clamp(1.5rem, 4vw, 5rem); max-width: 100rem; }
.masthead { min-height: 6.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; border-bottom: 1px solid var(--line); padding-block: 1.5rem; }
.masthead > a { font-family: var(--display); font-size: 1.15rem; letter-spacing: .09em; text-decoration: none; color: var(--brass); }
.breadcrumbs { min-width: 0; color: var(--muted); font-size: .77rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: .5rem; margin: 0; padding: 0; overflow-wrap: anywhere; }
.breadcrumbs li + li::before { content: "/"; color: var(--brass); margin-right: .5rem; }
.breadcrumbs a { text-decoration: none; }
main { min-height: 35vh; }
.hero { position: relative; display: grid; place-items: center; min-height: 34rem; padding: 4rem 0 3.5rem; text-align: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 1.6rem 0; border: 1px solid #b89a6320; z-index: -1; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 2rem .4rem; border: 1px solid #b89a6314; z-index: -1; pointer-events: none; }
.hero-seal { margin: 0 0 1.8rem; height: 7rem; width: 7rem; opacity: .65; }
.hero-copy { max-width: 45rem; padding-inline: 1.5rem; }
.hero-rule { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--brass); margin-bottom: 1.2rem; }
.hero-rule span { height: 1px; width: 3.5rem; background: #b89a6350; }
.hero h1 { font-size: clamp(3.3rem, 5.8vw, 6rem); letter-spacing: -.025em; margin-bottom: 1.4rem; text-wrap: balance; }
.hero p { max-width: 34rem; margin: 0 auto; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.hero-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-links a { padding: .5rem 1.5rem; color: #d1b780; border: 1px solid #665539; text-decoration: none; font-size: .88rem; letter-spacing: .07em; }
.hero-links a:first-child { border-color: #7b3438; background: #4c2424; color: #ebd9bc; }
.hero-links a:hover { background: #332d22; }
.hero-links span { margin-left: .75rem; }
.section-heading { display: flex; align-items: center; gap: 1.4rem; margin: 1.5rem 0; }
.section-heading h2 { font-size: 1.65rem; letter-spacing: .025em; margin: 0; color: #d3bf98; }
.section-heading h2 a { text-decoration: none; }
.rule { height: 1px; background: var(--line); flex: 1; }
.volume-library, .article-library { margin-top: 2.5rem; }
.volume-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.volume-card { position: relative; min-width: 0; padding: 1.65rem 1.5rem 1.5rem; text-decoration: none; background: linear-gradient(125deg, #24231c, #191a17 70%); border: 1px solid #3f3b2f; box-shadow: inset 4px 0 #332e23, inset 5px 0 #65543755; }
.volume-card::before { content: ""; position: absolute; inset: .35rem; border: 1px solid #b89a6314; pointer-events: none; }
.book-ornament { display: block; color: #b89a638a; font-family: var(--display); font-size: 2.6rem; line-height: 1.15; margin-bottom: 1.35rem; }
.volume-card h3 { margin-bottom: .35rem; font-size: 1.6rem; }
.volume-dates { font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.card-arrow { position: absolute; bottom: 1.4rem; right: 1rem; color: var(--brass); font-size: 1rem; }
.volume-card:hover { background: #28271f; border-color: #91784d; }
.author-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.author-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.author-card h3 { margin: 0; font-size: 1.7rem; }
.author-card span { color: var(--brass); }
.page-heading { padding: 3.5rem 0 2rem; }
.page-heading h1 { font-size: clamp(2.7rem, 5vw, 4.5rem); margin-bottom: 1.5rem; text-wrap: balance; overflow-wrap: anywhere; }
.eyebrow { font-size: .8rem; color: var(--brass); letter-spacing: .12em; margin-bottom: .8rem; }
.eyebrow a { text-decoration: none; }
.date-index ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.date-index a { display: block; padding: .4rem .9rem; border: 1px solid var(--line); font-size: .83rem; text-decoration: none; color: var(--muted); }
.date-index a:hover { color: var(--paper); border-color: var(--brass); }
.reading-column { max-width: 51rem; margin-inline: auto; }
.month-section { margin-bottom: 3rem; }
.month-section > .section-heading { margin-top: .5rem; margin-bottom: 1.75rem; }
.month-section > .section-heading h2 { scroll-margin-top: 2rem; }
.archive-entry { position: relative; padding: 2.25rem clamp(1.25rem, 3.5vw, 3.5rem) 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--line); border-top: 2px solid #685333; background: linear-gradient(115deg, #24241e33, transparent 50%), var(--surface); box-shadow: 0 5px 24px #00000018; overflow-wrap: anywhere; }
.archive-entry::before { content: ""; position: absolute; top: -4px; right: 1.5rem; width: .45rem; height: .45rem; background: #9b7a46; transform: rotate(45deg); }
.entry-header { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: 1.6rem; color: var(--muted); }
.entry-header h2 { font-family: var(--body); font-size: .94rem; line-height: 1.6; margin: 0; color: #cbbd9f; }
.entry-date { font-size: .78rem; text-decoration: none; color: var(--muted); }
.post-message { font-size: 1.125rem; line-height: 1.85; }
.post-message p { white-space: pre-line; margin: 0 0 1.3em; }
.post-message p:last-child { margin-bottom: 0; }
.source-card { margin-top: 1.8rem; padding: 1.1rem 1.3rem; border-left: 2px solid #806943; background: #b89a6308; font-size: .95rem; }
.source-link, .source-title { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.3; color: #d7be91; }
.source-caption { font-size: .82rem; color: var(--muted); margin: .5rem 0; }
.source-card .post-message { font-size: .98rem; line-height: 1.75; margin-top: .7rem; }
.entry-footer { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .8rem 1.5rem; margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.comments-link { display: inline-flex; gap: .75rem; align-items: center; font-size: .85rem; color: #d6ba86; text-decoration: none; padding-block: .25rem; }
.comments-link span { color: #b78072; }
.archival-metadata { min-width: 0; flex: 1 1 16rem; font-size: .75rem; color: var(--muted); }
.archival-metadata > summary { padding: .25rem 0; overflow-wrap: anywhere; }
.archival-metadata[open] { flex-basis: 100%; }
.archival-metadata[open] > summary { color: #d6ba86; }
.archival-metadata dl { margin: 1rem 0 .25rem; padding: 1rem; background: #10110f; border: 1px solid var(--line); }
.archival-metadata dl > div { display: flex; flex-wrap: wrap; gap: .15rem .5rem; margin-bottom: .6rem; }
.archival-metadata dl > div:last-child { margin-bottom: 0; }
.archival-metadata dt { color: #c7b68f; }
.archival-metadata dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.comment-entry { border-top-width: 1px; border-left: 2px solid #685333; padding-top: 1.5rem; box-shadow: none; }
.comment-entry::before { display: none; }
.comment-entry .post-message { font-size: 1.06rem; }
.comment-entry .entry-header { margin-bottom: 1rem; }
.comment-thread { margin-left: 1.25rem; }
.thread-heading h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.volume-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; border-block: 1px solid var(--line); font-size: .95rem; }
.volume-pagination a { text-decoration: none; color: #d3bf98; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.article-card { padding: 1.75rem; border: 1px solid var(--line); background: var(--surface); }
.article-card h2 { font-size: 2rem; overflow-wrap: anywhere; }
.article-card h2 a { text-decoration: none; }
.article-card time, .longform time { color: var(--muted); font-size: .85rem; }
.article-contents { margin: 1.5rem 0 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.article-contents li { padding: .6rem 0; line-height: 1.6; font-size: .95rem; }
.article-contents a { color: #d1c5ae; }
.longform .page-heading { border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; }
.longform .page-heading h1 { font-size: clamp(2.5rem, 4.3vw, 4rem); }
.article-author { color: #c7b68f; margin-bottom: .5rem; }
.article-metadata { font-size: .8rem; color: var(--muted); margin-top: 1.25rem; overflow-wrap: anywhere; }
.article-metadata p { margin: .75rem 0 0; }
.prose { font-size: 1.15rem; line-height: 1.9; overflow-wrap: anywhere; }
.prose p { margin-bottom: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin: 1.7em 0 .65em; color: #dfcba4; }
.prose h1 { font-size: 2.6rem; }
.prose h2 { font-size: 2.2rem; }
.prose h3 { font-size: 1.7rem; }
.prose a { color: #d7bc87; }
.prose blockquote { margin: 1.75rem 0; padding: .25rem 1.5rem; border-left: 2px solid var(--red); color: #cfbfa2; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li { margin-bottom: .5em; }
.prose pre { white-space: pre-wrap; padding: 1rem; border: 1px solid var(--line); background: #0e100d; }
.prose code { font-size: .85em; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: .6rem .9rem; text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5rem; }
.site-footer { margin-top: 5rem; border-top: 1px solid #665239; padding: 2.5rem 0 1.5rem; color: var(--muted); }
.footer-intro { display: flex; align-items: center; flex-wrap: wrap; gap: 1.3rem; padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer-intro img { opacity: .65; }
.footer-intro > p { max-width: 23rem; margin: 0; font-size: .85rem; line-height: 1.7; }
.social-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-left: auto; font-size: .75rem; }
.social-links a { text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
.footer-grid h3 { color: #d3bf98; font-size: 1.2rem; margin-bottom: 1.25rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { font-size: .8rem; line-height: 1.6; margin-bottom: .85rem; overflow-wrap: anywhere; }
.footer-grid a { text-decoration: none; }
.copyright { border-top: 1px solid var(--line); padding-top: 1.5rem; margin: 2.5rem 0 0; font-size: .65rem; letter-spacing: .055em; }
.error-page { padding-block: 6rem; }
@media (min-width: 100rem) {
  .site-shell { margin-right: auto; }
}
@media (max-width: 80rem) {
  .volume-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 67.999rem) {
  .sidebar { position: relative; width: auto; padding: 1rem 1.5rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { margin: 0; display: inline-flex; gap: .75rem; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 1.5rem; }
  .navigation > summary, .navigation[open] > summary { display: list-item; position: absolute; top: 1.25rem; right: 1.5rem; font-size: .88rem; padding: .25rem; }
  .navigation nav { padding-top: 1.75rem; }
  .volume-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .subject-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
  .article-nav ul { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
  .site-shell { margin-left: 0; padding-inline: 1.5rem; }
  .masthead { min-height: 5rem; }
  .hero h1 { font-size: clamp(3.5rem, 8vw, 5.7rem); }
}
@media (max-width: 42rem) {
  body { font-size: 1rem; }
  .site-shell { padding-inline: 1.1rem; }
  .masthead { min-height: 4.5rem; padding-block: 1rem; }
  .masthead > a { font-size: 1rem; }
  .hero { min-height: 32rem; padding-top: 3rem; }
  .hero-seal { width: 5.5rem; height: 5.5rem; margin-bottom: 1rem; }
  .hero-copy { padding-inline: 1rem; }
  .hero h1 { font-size: 3.6rem; }
  .hero p { font-size: .95rem; }
  .hero-links { margin-top: 1.5rem; }
  .volume-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .volume-card { padding: 1.3rem 1.15rem; }
  .volume-card h3 { font-size: 1.5rem; }
  .book-ornament { font-size: 2.25rem; margin-bottom: .9rem; }
  .volume-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .author-grid, .article-grid { grid-template-columns: 1fr; }
  .author-card h3 { font-size: 1.55rem; }
  .page-heading { padding: 2.5rem 0 1.5rem; }
  .date-index ul { gap: .4rem; }
  .date-index a { padding: .45rem .6rem; font-size: .77rem; }
  .archive-entry { padding: 1.5rem 1.2rem 1.1rem; margin-bottom: 1.2rem; }
  .entry-header { display: block; margin-bottom: 1.25rem; }
  .entry-header h2 { font-size: .9rem; }
  .post-message, .prose { font-size: 1.0625rem; line-height: 1.85; }
  .entry-footer { margin-top: 1.5rem; gap: .6rem; }
  .archival-metadata { flex-basis: 100%; }
  .source-card { padding: .8rem 1rem; }
  .comment-thread { margin-left: .5rem; }
  .comment-entry .post-message { font-size: 1rem; }
  .footer-grid { gap: 1.5rem 1.25rem; }
  .footer-grid h3 { font-size: 1.15rem; }
  .footer-intro { align-items: flex-start; gap: 1rem; }
  .footer-intro > p { flex: 1; }
  .social-links { margin-left: 0; flex-basis: 100%; }
  .site-footer { margin-top: 3rem; }
  .copyright { line-height: 1.8; }
}
@media (prefers-reduced-motion: no-preference) {
  a { transition: color .15s, background-color .15s, border-color .15s; }
}
@media print {
  :root { --ink: white; --surface: white; --paper: black; --muted: #444; --line: #bbb; }
  body { background: white; color: black; }
  .sidebar, .site-footer, .hero-seal, .hero-links, .date-index, .volume-pagination { display: none; }
  .site-shell { margin: 0; padding: 0; }
  .archive-entry { box-shadow: none; }
  a { color: black; }
}
