@font-face { font-family: "Chaparral"; src: url("/fonts/Chaparral-Pro-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Chaparral"; src: url("/fonts/Chaparral-Pro-Light-Italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Chaparral"; src: url("/fonts/Chaparral-Pro-Bold-Caption.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #fbfaf7;
  --ink: #22201c;
  --muted: #6b665d;
  --rule: #e6e1d6;
  --tint: #f2efe7;
  --link: #1f4b7a;
  --link-hover: #14324f;
  --serif: "Chaparral", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 19px/1.65 var(--serif); }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }

.skip { position: absolute; left: -999px; top: 0; padding: .5rem 1rem; background: var(--ink); color: #fff; z-index: 10; }
.skip:focus { left: var(--gutter); }

.banner { margin: 0; padding: .5rem var(--gutter); background: var(--ink); text-align: center; font: 14px/1.4 var(--sans); }
.banner a { color: #fff; text-decoration: none; }
.banner a:hover { text-decoration: underline; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem max(var(--gutter), calc((100% - 76rem) / 2 + var(--gutter))); background: #fff; box-shadow: 0 1px 0 var(--rule); }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.brand-mark { font-size: 1.4rem; }
.header-links { display: flex; align-items: center; gap: 1rem; font: 15px/1 var(--sans); flex-shrink: 0; }
.header-links a { color: var(--ink); text-decoration: none; }
.header-links a:hover { text-decoration: underline; }
.oca-link img { display: block; }

.shell { max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }
main { min-width: 0; padding: 1.5rem 0 4rem; }

.toc { margin-top: 1rem; font: 15px/1.4 var(--sans); }
.toc > summary { cursor: pointer; padding: .7rem 1rem; background: var(--tint); border-radius: 8px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.toc[open] > summary::after { content: "–"; }
.toc nav { padding: .75rem 0 .5rem; }
.toc-sections { list-style: none; margin: 0; padding: 0; }
.toc-section > summary { display: flex; align-items: center; gap: .5rem; padding: .4rem .25rem; cursor: pointer; list-style: none; }
.toc-section > summary::-webkit-details-marker { display: none; }
.toc-section > summary img { flex-shrink: 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc a[aria-current="page"] { color: var(--link); font-weight: 600; }
.toc-section ul { list-style: none; margin: 0 0 .5rem; padding: 0 0 0 1.9rem; }
.toc-section li a { display: block; padding: .3rem 0; color: var(--muted); }
.toc-section li a[aria-current="page"] { color: var(--link); }
.toc-external { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; padding: .4rem .25rem; font-weight: 600; }

.prose { max-width: 40rem; }
.prose h1 { font-size: 2.3rem; line-height: 1.15; margin: .5rem 0 1.25rem; font-weight: 700; letter-spacing: -.005em; }
.prose h2 { font-size: 1.6rem; line-height: 1.25; margin: 2.25rem 0 .75rem; }
.prose h3 { font-size: 1.3rem; line-height: 1.3; margin: 2rem 0 .5rem; }
.prose h4, .prose h5 { font-size: 1.15rem; margin: 1.5rem 0 .4rem; }
.prose p { margin: 0 0 1.1rem; }
.prose strong, .prose b { font-weight: 700; }
.prose blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; box-shadow: inset 3px 0 0 var(--rule); color: #3b3832; font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin: .3rem 0; }
.prose hr { border: 0; height: 1px; background: var(--rule); margin: 2rem 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .4rem .6rem; box-shadow: inset 0 -1px 0 var(--rule); text-align: left; }
.prose sup a { text-decoration: none; font: 600 .7em/1 var(--sans); padding: 0 .1em; }
.prose::after { content: ""; display: block; clear: both; }

.figure { border-radius: 4px; margin: .4rem 0 1rem; }
.figure-right { float: right; margin-left: 1.25rem; }
.figure-left { float: left; margin-right: 1.25rem; }
.inline-icon { display: inline; width: 18px; height: 18px; vertical-align: -3px; }
.centered { display: block; margin: 0 auto; }

.footnotes { clear: both; margin-top: 3rem; padding-top: 1rem; box-shadow: 0 -1px 0 var(--rule); font: 15px/1.55 var(--sans); color: #45413a; }
.footnotes h2 { font: italic 400 1.4rem/1.2 var(--serif); margin: 0 0 .75rem; color: var(--ink); }
.footnotes ol { padding-left: 1.4rem; }
.footnotes p { margin: 0 0 .4rem; }
.data-footnote-backref { text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.crumb { margin: 0; font: 14px/1.4 var(--sans); }
.crumb a { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); }

.chapter-contents ul { list-style: none; padding: 0; margin: 0; }
.chapter-contents li { margin: 0; }
.chapter-contents h4 { margin: 0; font-size: 1.2rem; font-weight: 400; }
.chapter-contents li a { display: block; padding: .7rem 0; color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 var(--rule); }
.chapter-contents li a:hover { color: var(--link); }
.chapter-contents strong { font-weight: 400; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 40rem; margin-top: 3rem; font-family: var(--sans); }
.pager a { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; background: var(--tint); border-radius: 8px; color: var(--ink); text-decoration: none; }
.pager a:hover { background: #ebe6da; }
.pager-next { grid-column: 2; text-align: right; }
.pager-dir { font-size: 13px; color: var(--muted); }
.pager-title { font: 1.05rem/1.3 var(--serif); }

.home-hero { padding: 1.5rem 0 .5rem; }
.home-hero h1 { font-size: 2.6rem; line-height: 1.1; margin: 0 0 .5rem; }
.home-subtitle { margin: 0 0 1rem; font-size: 1.35rem; color: var(--muted); font-style: italic; }
.home-intro { margin: 0 0 1.5rem; font: 16px/1.4 var(--sans); }
.chapter-list { list-style: none; margin: 0; padding: 0; max-width: 40rem; counter-reset: none; }
.chapter-list a { display: flex; align-items: center; gap: .9rem; padding: .75rem 0; color: var(--ink); text-decoration: none; font-size: 1.2rem; line-height: 1.3; box-shadow: 0 1px 0 var(--rule); }
.chapter-list a:hover span { text-decoration: underline; }
.chapter-list img { flex-shrink: 0; }
.home-orthodox-faith { display: flex; align-items: center; gap: .9rem; margin: 2.5rem 0 0; color: var(--ink); text-decoration: none; font-size: 1.6rem; font-weight: 700; }
.home-orthodox-faith:hover span { text-decoration: underline; }

.site-footer { background: #d4d4d4 url(/img/bg-footer.png) repeat center top; color: #333; font-family: var(--sans); overflow: hidden; }
.footer-inner { max-width: 76rem; margin: 0 auto; padding: 2.5rem var(--gutter) 0; display: flex; gap: 2rem; align-items: flex-end; }
.footer-text { flex: 1; padding-bottom: 2rem; }
.footer-heading { margin: 0 0 .6rem; font: 700 1.6rem/1.2 var(--serif); }
.footer-text p:not(.footer-heading) { margin: 0; font-size: 15px; line-height: 1.55; max-width: 40rem; }
.footer-domes { width: 180px; margin-bottom: -6px; flex-shrink: 0; }
.footer-bottom { background: #b3b3b3 url(/img/bg-footer-darker.png) repeat center top; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; padding: 1rem var(--gutter); max-width: none; }
.footer-bottom p { margin: 0; color: #fff; font-size: 14px; }
.social { display: flex; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.social img { display: block; width: 28px; height: 28px; opacity: .9; }
.social a:hover img { opacity: 1; }

@media (max-width: 599px) {
  body { font-size: 18px; }
  .brand { font-size: 1rem; }
  .prose h1 { font-size: 1.9rem; }
  .home-hero h1 { font-size: 2.1rem; }
  .figure-left, .figure-right { float: none; display: block; margin: .5rem auto 1.25rem; }
  .footer-domes { display: none; }
  .pager { grid-template-columns: 1fr; }
  .pager-next { grid-column: 1; }
}

@media (min-width: 960px) {
  .shell { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 3.5rem; }
  .toc { position: sticky; top: 0; align-self: start; max-height: 100vh; overflow-y: auto; margin-top: 0; padding: 1.5rem 0 2rem; }
  .toc > summary { display: none; }
  main { padding-top: 2rem; }
}

.toc-title { display: flex; align-items: center; gap: .55rem; margin: 0 0 .75rem; padding: .25rem; font: 700 1.15rem/1.2 var(--serif); }
.toc-plain { display: block; padding: .4rem .25rem; }
.toc-section > ul { padding-left: .9rem; }
.toc-sub > summary { padding: .3rem 0; cursor: pointer; list-style: none; }
.toc-sub > summary::-webkit-details-marker { display: none; }
.toc-sub > summary a { color: var(--ink); }
.toc-sub ul { list-style: none; margin: 0 0 .4rem; padding: 0 0 0 .9rem; }
.toc-section .toc-sub li a { padding: .25rem 0; }
.crumb span { margin: 0 .45rem; color: var(--muted); }
.crumb a + span + a { display: inline; }

.center { text-align: center; }
.tof-home .centered { margin-top: .5rem; }
.tof-home h1 { margin-top: 1rem; }
.volume-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.volume-card { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; background: var(--tint); border-radius: 8px; font: 600 1rem/1.3 var(--sans); }
.volume-card a { color: var(--ink); text-decoration: none; }
.volume-card a:hover { text-decoration: underline; }
.volume-card img { flex-shrink: 0; }
.volume-cover { display: flex; justify-content: center; align-items: center; padding: 2rem; margin: 0 0 1.5rem; background: var(--tint); border-radius: 10px; }
.volume-cover img { display: block; box-shadow: 0 8px 24px rgba(34, 32, 28, .18); }
@media (max-width: 599px) {
  .volume-grid { grid-template-columns: 1fr; }
}
