:root {
  --paper: #f6f2ea;
  --paper-deep: #ede6da;
  --ink: #272522;
  --muted: #6f6a62;
  --accent: #9a4f32;
  --accent-dark: #703723;
  --rule: #d7cfc2;
  --white: #fffdf9;
  --content: 1120px;
  --reading: 760px;
  --shadow: 0 10px 26px rgba(43, 37, 31, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.content-width { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.text-width { max-width: var(--reading); margin-inline: auto; padding: 3.5rem 0 4.5rem; }
.site-main { flex: 1 0 auto; min-height: 65vh; }

.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(246, 242, 234, .96);
}
.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-brand { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: .18rem; }
.site-name {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1;
  font-weight: 750;
  letter-spacing: -.035em;
}
.site-tagline { color: var(--muted); font-size: .92rem; line-height: 1.35; }
.site-tagline p { margin: 0; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem 1.25rem; }
.site-nav a {
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .88rem;
  font-weight: 650;
  letter-spacing: .02em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent); border-bottom-color: currentColor; }

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.12;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.35rem, 7vw, 4.4rem); margin: 0 0 1.25rem; }
h2 { font-size: clamp(1.65rem, 4vw, 2.35rem); margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
p { margin: 0 0 1.25rem; }
strong, .heavier { font-weight: 700; }
.small { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.tight-top { margin-top: 0; }
.tight-bottom { margin-bottom: 0; }
.align-right, .right { text-align: right; }

main a { color: var(--accent-dark); text-decoration-thickness: .075em; text-underline-offset: .14em; }
main a:hover, main a:focus-visible { color: var(--accent); }
img { max-width: 100%; height: auto; }
figure { margin: 2rem 0; }
figcaption, .figure-caption { color: var(--muted); font-size: .9rem; line-height: 1.45; text-align: center; }
blockquote {
  margin: 2rem 0;
  padding: .2rem 0 .2rem 1.4rem;
  border-left: 3px solid var(--accent);
  color: #4e4943;
  font-size: 1.08em;
}
hr, .solid-rule { border: 0; border-top: 1px solid var(--rule); }
.solid-rule { margin-top: 4rem; padding-top: 1rem; }

/* Build 001 deliberately retains the existing homepage/book structures. */
#front-page-title h1 { margin-bottom: 1rem; }
#front-page-content { font-size: 1.04em; }
#front-page-books, #front-page-latest-news { margin-top: 4rem; }
.grid-box { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 1.5rem; margin: 1.5rem 0; }
.front-page-tile { min-width: 0; text-align: center; }
.front-page-tile a { text-decoration: none; }
.front-page-cover {
  display: block;
  width: auto;
  max-width: 100%;
  height: 250px;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.front-page-tile a:hover .front-page-cover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(43, 37, 31, .18); }
.book-grid-title { color: var(--ink); font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .95rem; font-weight: 700; line-height: 1.3; }

.book-list-container { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.75rem; padding: 2rem 0; border-top: 1px solid var(--rule); }
.book-list-cover { width: auto; min-width: 0; margin: 0; }
.book-list-details { width: auto; }
.series-list-image, .image-border { border: 1px solid var(--rule); box-shadow: var(--shadow); }
.book-page-cover { float: right; width: min(38%, 280px); margin: .25rem 0 2rem 2rem; border: 1px solid var(--rule); box-shadow: var(--shadow); }

.image-left { float: left; width: 48%; margin: .4rem 1.5rem 1rem 0; }
.image-right { float: right; width: 48%; margin: .4rem 0 1rem 1.5rem; }
.image-center { display: block; width: min(70%, 560px); margin: 2rem auto; }
.image-full { width: 100%; }
.image-suppress { display: none; }

.pagination { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 2.5rem 0; }
.pagination li a, .pagination li span { display: block; padding: .45rem .75rem; border: 1px solid var(--rule); text-decoration: none; }
.pagination .active a, .pagination .active span { background: var(--ink); color: var(--white); border-color: var(--ink); }

.site-footer { background: #292622; color: #e9e2d8; }
.footer-inner { padding: 3rem 0; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: start; }
.footer-name { margin: 0; color: var(--white); font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1.35rem; font-weight: 750; }
.footer-tagline, .copyright { margin: .3rem 0 0; color: #bdb5aa; font-size: .85rem; }
.footer-tagline p { margin: 0; }
.site-footer .site-nav a, .footer-links a { color: #e9e2d8; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .82rem; }
.footer-links a { text-underline-offset: .18em; }
.copyright { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid #454039; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .content-width { width: min(calc(100% - 28px), var(--content)); }
  .text-width { padding: 2.5rem 0 3.5rem; }
  .header-inner { min-height: 0; padding: 1.4rem 0 1.1rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .site-nav { justify-content: flex-start; gap: .45rem 1.1rem; }
  .grid-box { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .front-page-cover { height: 210px; }
  .book-list-container { grid-template-columns: 110px minmax(0, 1fr); gap: 1.25rem; }
  .book-page-cover { float: none; display: block; width: min(70%, 280px); margin: 0 auto 2rem; }
  .image-left, .image-right { float: none; width: 100%; margin: 1.5rem 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
}

@media (max-width: 420px) {
  .grid-box { gap: 1.6rem .7rem; }
  .front-page-cover { height: 180px; }
  .book-list-container { grid-template-columns: 90px minmax(0, 1fr); gap: 1rem; }
}

/* Build 002: homepage becomes the permanent front door to the fiction catalog. */
body.home .text-width { max-width: 1000px; }

.home-intro {
  max-width: 900px;
  padding: 1rem 0 4.5rem;
}
.home-eyebrow,
.section-kicker {
  margin: 0 0 .8rem;
  color: var(--accent-dark);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.home-intro h1 {
  max-width: 760px;
  margin-bottom: 1.3rem;
  font-size: clamp(2.55rem, 5vw, 4rem);
  font-weight: 650;
  letter-spacing: -.035em;
}
.home-lede {
  max-width: 720px;
  margin-bottom: 1.8rem;
  color: #48443f;
  font-size: clamp(1.12rem, 2.1vw, 1.35rem);
  line-height: 1.58;
}
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.25rem; }
.button-link {
  display: inline-block;
  padding: .7rem 1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
main .button-link { color: var(--white); }
main .button-link:hover, main .button-link:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.text-link, .series-link {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .9rem;
  font-weight: 700;
  text-decoration-thickness: .06em;
}

#front-page-books { margin-top: 0; }
.section-heading {
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.section-heading h2 { margin: 0 0 .55rem; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.section-heading > p:last-child { max-width: 620px; color: var(--muted); }

.series-section { padding: 3rem 0 3.5rem; border-bottom: 1px solid var(--rule); }
.series-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: end;
  margin-bottom: 1.75rem;
}
.series-heading h3 { margin: 0 0 .55rem; font-size: clamp(1.65rem, 3vw, 2.3rem); }
.series-heading p { max-width: 680px; margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.55; }
.series-link { white-space: nowrap; }

.home-book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.15rem 1.45rem;
}
.front-page-tile { display: flex; min-width: 0; flex-direction: column; text-align: left; }
.book-cover-link { display: block; align-self: flex-start; text-decoration: none; }
.front-page-cover {
  width: auto;
  max-width: 100%;
  height: 260px;
  margin: 0 0 .95rem;
  border: 1px solid rgba(76, 67, 58, .16);
  box-shadow: var(--shadow);
  object-fit: contain;
  transition: transform .18s ease, box-shadow .18s ease;
}
.book-cover-link:hover .front-page-cover,
.book-cover-link:focus-visible .front-page-cover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(43, 37, 31, .18); }
.book-grid-title { margin: 0; font-size: .92rem; line-height: 1.3; }
.book-grid-title a { color: var(--ink); text-decoration: none; }
.book-grid-title a:hover, .book-grid-title a:focus-visible { color: var(--accent-dark); text-decoration: underline; text-underline-offset: .15em; }
.book-status { margin: .45rem 0 0; }
.book-status span {
  display: inline-block;
  padding: .18rem .42rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--muted);
  background: rgba(255, 253, 249, .45);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .67rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.home-archive {
  max-width: 720px;
  margin: 4rem 0 1rem;
  padding: 2.25rem 2.4rem 1.15rem;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
}
.home-archive h2 { margin: 0 0 .7rem; font-size: clamp(1.55rem, 3vw, 2.05rem); }
.home-archive p { font-size: .95rem; }

@media (max-width: 880px) {
  .home-book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .front-page-cover { height: 240px; }
}

@media (max-width: 650px) {
  .home-intro { padding-bottom: 3.5rem; }
  .series-heading { grid-template-columns: 1fr; gap: .8rem; align-items: start; }
  .home-book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.9rem 1rem; }
  .front-page-cover { height: 215px; }
  .home-archive { margin-top: 3rem; padding: 1.75rem 1.4rem .8rem; }
}

@media (max-width: 380px) {
  .front-page-cover { height: 190px; }
}

/* Build 003: series catalogs and individual fiction pages. */
.catalog-page,
.book-detail-page {
  max-width: 1000px;
  margin-inline: auto;
}

.catalog-intro {
  max-width: 760px;
  padding: 0 0 3.25rem;
}
.catalog-intro h1 { margin-bottom: 1rem; }
.catalog-lede { color: #4d4842; font-size: 1.05rem; }
.catalog-lede > :last-child { margin-bottom: 0; }
.catalog-section {
  padding: 2.8rem 0 3.4rem;
  border-top: 1px solid var(--rule);
}
.catalog-section-secondary { padding-bottom: 1rem; }
.catalog-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 1.8rem;
}
.catalog-section-heading h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.45rem); }
.catalog-section-heading p { margin: 0; color: var(--muted); font-size: .9rem; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.catalog-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 1.25rem;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--rule);
  background: rgba(255, 253, 249, .34);
}
.catalog-cover-link { align-self: start; text-decoration: none; }
.catalog-cover {
  display: block;
  width: 100%;
  box-shadow: var(--shadow);
  border: 1px solid rgba(76, 67, 58, .16);
  transition: transform .18s ease, box-shadow .18s ease;
}
.catalog-cover-link:hover .catalog-cover,
.catalog-cover-link:focus-visible .catalog-cover { transform: translateY(-2px); box-shadow: 0 13px 30px rgba(43, 37, 31, .17); }
.catalog-card-body { min-width: 0; align-self: start; }
.catalog-order {
  margin: 0 0 .45rem;
  color: var(--accent-dark);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.catalog-title { margin: 0 0 .65rem; font-size: 1.3rem; line-height: 1.18; }
.catalog-title a { color: var(--ink); text-decoration: none; }
.catalog-title a:hover, .catalog-title a:focus-visible { color: var(--accent-dark); text-decoration: underline; text-underline-offset: .14em; }
.catalog-description { margin: 0 0 .85rem; color: #57514b; font-size: .88rem; line-height: 1.5; }
.catalog-actions { display: flex; flex-wrap: wrap; gap: .45rem .9rem; align-items: center; }
.status-link {
  padding: .18rem .42rem;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .67rem;
  font-weight: 750;
  letter-spacing: .055em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}
.status-link:hover, .status-link:focus-visible { border-color: var(--accent); color: var(--accent-dark); }

.book-hero {
  display: grid;
  grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: 4rem;
}
.book-hero-cover { min-width: 0; }
.book-detail-cover {
  display: block;
  width: 100%;
  max-width: 310px;
  border: 1px solid rgba(76, 67, 58, .16);
  box-shadow: 0 18px 42px rgba(43, 37, 31, .16);
}
.book-hero-copy { padding-top: .3rem; }
.book-hero-copy h1 { margin-bottom: 1rem; font-size: clamp(2.7rem, 6vw, 4.6rem); }
.book-deck { max-width: 620px; margin-bottom: 1.6rem; color: #4d4842; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.55; }
.book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.15rem; margin-bottom: 2rem; }
.book-meta { margin: 0; border-top: 1px solid var(--rule); }
.book-meta div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.book-meta dt {
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .71rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.book-meta dd { margin: 0; font-size: .9rem; line-height: 1.45; }

.book-body {
  display: grid;
  grid-template-columns: 165px minmax(0, var(--reading));
  gap: 2.25rem;
  justify-content: center;
  padding: 3.5rem 0 4rem;
  border-top: 1px solid var(--rule);
}
.book-body-label { padding-top: .15rem; }
.book-prose { min-width: 0; }
.book-prose > :first-child { margin-top: 0; }
.book-prose h2, .book-prose h3, .book-prose h4, .book-prose h5 { scroll-margin-top: 1rem; }
.book-prose h3 { margin-top: 2.5rem; }
.book-prose h5 { margin-top: 2.3rem; }
.book-prose a { overflow-wrap: anywhere; }

.related-books { padding: 3.2rem 0 1rem; border-top: 1px solid var(--rule); }
.related-books-heading { margin-bottom: 1.5rem; }
.related-books-heading h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.related-books-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.related-book {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: .9rem;
  align-items: center;
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.related-book-cover { width: 78px; box-shadow: var(--shadow); border: 1px solid rgba(76, 67, 58, .16); }
.related-book:hover span, .related-book:focus-visible span { color: var(--accent-dark); text-decoration: underline; text-underline-offset: .14em; }

@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card { grid-template-columns: 140px minmax(0, 1fr); }
  .book-hero { grid-template-columns: 230px minmax(0, 1fr); gap: 2.25rem; }
  .book-body { grid-template-columns: 130px minmax(0, 1fr); }
}

@media (max-width: 650px) {
  .catalog-intro { padding-bottom: 2.5rem; }
  .catalog-section { padding: 2.3rem 0 2.8rem; }
  .catalog-section-heading { display: block; }
  .catalog-section-heading p { margin-top: .45rem; }
  .catalog-card { grid-template-columns: 105px minmax(0, 1fr); gap: 1rem; padding: 1rem; }
  .catalog-title { font-size: 1.15rem; }
  .catalog-description { font-size: .84rem; }

  .book-hero { grid-template-columns: 1fr; gap: 1.8rem; padding-bottom: 3rem; }
  .book-detail-cover { width: min(68vw, 280px); margin-inline: auto; }
  .book-hero-copy { padding-top: 0; }
  .book-hero-copy h1 { font-size: clamp(2.45rem, 12vw, 3.5rem); }
  .book-body { display: block; padding: 2.8rem 0 3.2rem; }
  .book-body-label { margin-bottom: 1rem; }
  .related-books-grid { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 400px) {
  .catalog-card { grid-template-columns: 88px minmax(0, 1fr); gap: .9rem; padding: .85rem; }
  .catalog-description { display: none; }
}

/* Build 003B: let long-form book/story content use the full reading measure on desktop
   without changing the book hero or mobile/tablet layouts. */
@media (min-width: 901px) {
  .book-body {
    width: min(1000px, calc(100vw - 40px));
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

/* Build 004: long-form fiction and chapter excerpts. */
.fiction-prose {
  font-size: 1.02rem;
  line-height: 1.72;
}

.fiction-prose > p {
  margin-bottom: 1.35rem;
}

.fiction-prose h2 {
  margin: 3.8rem 0 2rem;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: .08em;
}

.fiction-prose h3 {
  margin-top: 3.2rem;
}

.fiction-prose hr {
  width: 4rem;
  margin: 3.25rem auto;
  border: 0;
  border-top: 1px solid var(--rule);
}

.fiction-prose blockquote {
  margin: 2.3rem 1.5rem;
  font-size: 1em;
}

.fiction-end {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 4.5rem 0 .5rem;
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fiction-end::before,
.fiction-end::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--rule);
}

.extract-page {
  max-width: 1000px;
  margin-inline: auto;
}

.extract-hero {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding-bottom: 3.5rem;
}

.extract-cover-link {
  display: block;
  align-self: start;
  text-decoration: none;
}

.extract-cover {
  display: block;
  width: 100%;
  border: 1px solid rgba(76, 67, 58, .16);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.extract-cover-link:hover .extract-cover,
.extract-cover-link:focus-visible .extract-cover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(43, 37, 31, .18);
}

.extract-hero-copy {
  padding-top: .15rem;
}

.extract-hero-copy h1 {
  max-width: 680px;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.extract-deck {
  max-width: 620px;
  margin-bottom: 1.6rem;
  color: #4d4842;
  font-size: 1.08rem;
  line-height: 1.58;
}

.extract-reading {
  display: grid;
  grid-template-columns: 165px minmax(0, var(--reading));
  gap: 2.25rem;
  justify-content: center;
  padding: 3.5rem 0 4.5rem;
  border-top: 1px solid var(--rule);
}

.extract-reading-label {
  padding-top: .15rem;
}

.extract-prose {
  min-width: 0;
}

.extract-prose > :first-child {
  margin-top: 0;
}

.extract-return {
  max-width: var(--reading);
  margin: 0 auto 1rem;
  padding: 2.5rem 0 1rem;
  border-top: 1px solid var(--rule);
}

.extract-return h2 {
  margin: .25rem 0 .8rem;
  font-size: 1.8rem;
}

.extract-return p:not(.section-kicker) {
  max-width: 600px;
  color: var(--muted);
}

@media (min-width: 901px) {
  .extract-reading {
    width: calc(var(--reading) + 165px + 2.25rem);
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .extract-reading {
    grid-template-columns: 130px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .extract-hero {
    display: block;
    padding-bottom: 2.8rem;
  }

  .extract-cover-link {
    width: min(52vw, 220px);
    margin: 0 auto 2.2rem;
  }

  .extract-hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .extract-reading {
    display: block;
    padding: 2.8rem 0 3.5rem;
  }

  .extract-reading-label {
    margin-bottom: 1.2rem;
  }

  .fiction-prose {
    font-size: 1rem;
    line-height: 1.7;
  }

  .fiction-prose h2 {
    margin-top: 3.2rem;
  }

  .fiction-prose blockquote {
    margin-inline: 0;
  }

  .extract-return {
    padding-top: 2.3rem;
  }
}

/* Build 005: About, Contact, and the historical news archive. */
.secondary-page,
.archive-page,
.archive-entry {
  max-width: 900px;
  margin-inline: auto;
}

.secondary-page-header,
.archive-header,
.archive-entry-header {
  max-width: 760px;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--rule);
}

.secondary-page-header h1,
.archive-header h1,
.archive-entry-header h1 {
  margin-bottom: .9rem;
}

.secondary-page-deck,
.archive-deck {
  max-width: 700px;
  color: #4d4842;
  font-size: 1.08rem;
  line-height: 1.6;
}

.archive-deck > :last-child { margin-bottom: 0; }

.secondary-page-content {
  padding: 3.2rem 0 1rem;
}

.about-content {
  max-width: 820px;
  font-size: 1.02rem;
}

.about-content::after {
  content: "";
  display: table;
  clear: both;
}

.about-content .image-left {
  width: min(40%, 300px);
  margin: .2rem 2.1rem 1.4rem 0;
  border: 1px solid rgba(76, 67, 58, .16);
  box-shadow: var(--shadow);
}

.contact-content > p:first-child {
  max-width: 700px;
  color: #4d4842;
  font-size: 1.05rem;
}

.contact-form-wrap {
  margin-top: 2.3rem;
  padding: .75rem;
  border: 1px solid var(--rule);
  background: var(--white);
}

.contact-form-wrap iframe {
  display: block;
  width: 100%;
  min-height: 786px;
  border: 0;
  background: var(--white);
}

.archive-header { margin-bottom: 2.5rem; }
.archive-years { border-top: 1px solid var(--rule); }

.archive-year {
  border-bottom: 1px solid var(--rule);
}

.archive-year summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.archive-year summary::-webkit-details-marker { display: none; }

.archive-year summary::after {
  content: "+";
  margin-left: auto;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
}

.archive-year[open] summary::after { content: "−"; }
.archive-year-number { font-size: 1.45rem; font-weight: 750; letter-spacing: -.02em; }
.archive-year-count { margin-left: .6rem; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: .85rem; }

.archive-post-list {
  margin: 0;
  padding: .2rem 0 1.4rem;
  list-style: none;
}

.archive-post-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  padding: .52rem 0;
  border-top: 1px solid rgba(215, 207, 194, .58);
}

.archive-post-list time {
  padding-top: .13rem;
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.archive-post-list a {
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .93rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.archive-post-list a:hover,
.archive-post-list a:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: .14em;
}

.archive-rss {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: .85rem;
}

.archive-entry { max-width: 960px; }
.archive-entry-header { margin: 0 auto; }
.archive-entry-header h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
.archive-entry-date { margin: 0; color: var(--muted); font-size: .9rem; }

.archive-entry-hero {
  width: min(100%, 760px);
  margin: 3rem auto;
}

.archive-entry-hero img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 620px;
  margin-inline: auto;
  border: 1px solid rgba(76, 67, 58, .16);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.archive-entry-prose {
  max-width: var(--reading);
  margin: 3rem auto 0;
  font-size: 1.01rem;
  line-height: 1.72;
}

.archive-entry-prose > :first-child { margin-top: 0; }
.archive-entry-prose h2 { margin-top: 3.2rem; }
.archive-entry-prose h3 { margin-top: 2.6rem; }
.archive-entry-prose img { display: block; margin: 2.4rem auto; }
.archive-entry-prose .image-left { width: min(42%, 300px); margin: .45rem 1.8rem 1rem 0; }
.archive-entry-prose .image-right { width: min(42%, 300px); margin: .45rem 0 1rem 1.8rem; }

.archive-entry-footer {
  max-width: var(--reading);
  margin: 4rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .85rem;
  font-weight: 700;
}

@media (max-width: 650px) {
  .secondary-page-header,
  .archive-header,
  .archive-entry-header { padding-bottom: 2.2rem; }

  .secondary-page-content { padding-top: 2.4rem; }

  .about-content .image-left {
    float: none;
    display: block;
    width: min(78vw, 300px);
    margin: 0 auto 2rem;
  }

  .contact-form-wrap {
    margin-inline: -.35rem;
    padding: .35rem;
  }

  .archive-year summary { padding: 1.05rem 0; }
  .archive-post-list li { grid-template-columns: 58px minmax(0, 1fr); gap: .75rem; }
  .archive-post-list a { font-size: .9rem; }

  .archive-entry-hero { margin: 2.3rem auto; }
  .archive-entry-prose { margin-top: 2.4rem; font-size: 1rem; line-height: 1.7; }
  .archive-entry-prose .image-left,
  .archive-entry-prose .image-right { float: none; width: 100%; margin: 2rem auto; }
}

/* Build 005A: About image cleanup and contact fallback. */
.about-content .image-left img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-email-card {
  max-width: 700px;
  margin-top: 2.3rem;
  padding: 1.7rem 1.8rem;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, .28);
}

.contact-email-card .section-kicker {
  margin: 0 0 .7rem;
}

.contact-email-address {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
}

.contact-email-note {
  margin: .8rem 0 0;
  color: #5f5850;
  font-size: .95rem;
}

@media (max-width: 650px) {
  .contact-email-card {
    padding: 1.35rem 1.25rem;
  }
}

/* Build 006: accessibility and release polish. */
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  padding: .55rem .8rem;
  background: var(--ink);
  color: var(--white);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
  border-bottom-color: currentColor;
}

.not-found-page .secondary-page-content { max-width: 650px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
