:root {
  --paper: #f3eeda;
  --ink: #12120f;
  --red: #bd291c;
  --vermilion: #d93624;
  --muted: #6d6757;
  --line: #12120f33;
  --serif:
    'Baskerville', 'Palatino Linotype', 'Book Antiqua', Georgia,
    'Times New Roman', serif;
  --mono: 'PT Mono', 'SFMono-Regular', Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --reading-size: 22px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
summary {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a,
button {
  touch-action: manipulation;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}
p {
  line-height: 1.65;
}
::selection {
  background: #d936242a;
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 15px;
}
.skip-link:focus {
  top: 15px;
}
#main:focus {
  outline: none;
}
.masthead {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4.7%;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 35px;
  justify-content: space-between;
  position: relative;
}
.masthead:after {
  content: '';
  height: 1px;
  background: var(--ink);
  position: absolute;
  bottom: 0;
  left: 4.7%;
  right: 4.7%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  white-space: nowrap;
}
.brand-seal {
  font: 29px var(--serif);
  letter-spacing: -0.11em;
  padding-right: 5px;
  color: var(--red);
}
.masthead nav {
  display: flex;
  gap: 33px;
}
.masthead nav a,
.search-toggle {
  font: 11px var(--mono);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.masthead nav a {
  position: relative;
}
.masthead nav a:hover,
.masthead nav a[aria-current='page'] {
  color: var(--red);
}
.masthead nav a[aria-current='page']:after {
  position: absolute;
  content: '';
  height: 2px;
  background: var(--red);
  bottom: 0;
  left: 0;
  right: 0;
}
.search-toggle {
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
}
.search-toggle:hover {
  color: var(--red);
}
kbd {
  width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  font: 11px var(--mono);
  margin-left: 8px;
}
.eyebrow {
  font: 11px/1.5 var(--mono);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.hero {
  max-width: 1320px;
  margin: auto;
  padding: 43px 40px 46px;
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  gap: 8%;
  align-items: center;
}
.hero-copy .eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 510px;
  margin-bottom: 31px;
}
.hero-copy .eyebrow span {
  color: var(--muted);
}
.hero h1 {
  font-family: var(--serif);
  line-height: 0.91;
  text-transform: uppercase;
  letter-spacing: -0.052em;
  display: grid;
  justify-items: start;
}
.title-the {
  font-size: 44px;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.title-bitcoin {
  font-size: clamp(82px, 8.4vw, 122px);
  color: var(--red);
}
.title-canon {
  font-size: clamp(100px, 10.6vw, 152px);
  margin-top: 8px;
}
.hero-subtitle {
  font: italic 32px/1.3 var(--serif);
  color: var(--red);
  margin-top: 23px;
}
.description {
  font: 16px/1.6 var(--sans);
  color: #4e4c41;
  margin-top: 25px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.button {
  min-height: 48px;
  padding: 0 23px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff9e7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  font: 11px var(--mono);
}
.button:hover {
  background: #b92c1e;
  border-color: #b92c1e;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  font: 11px/1.5 var(--mono);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.text-link:hover {
  color: var(--red);
}
.resume-link {
  display: inline-flex;
  font: 10px var(--mono);
  color: var(--muted);
  margin-top: 18px;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-art {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
}
.hero-art img {
  max-height: 555px;
  width: 100%;
  object-fit: contain;
}
.hero-art figcaption {
  font: 8px/1.6 var(--mono);
  text-transform: uppercase;
  margin-top: 9px;
  text-align: center;
  color: #504a3b;
}
.edition-line {
  max-width: 1180px;
  margin: 0 auto;
  padding: 19px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-block: 1px solid var(--ink);
  font: 10px var(--mono);
}
.edition-line a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-library,
.home-contents {
  max-width: 1180px;
  margin: auto;
  padding: 58px 0 65px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 30px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.section-heading h2 {
  font-size: 53px;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.section-description {
  font: 14px/1.7 var(--sans);
  color: #5d5747;
  max-width: 410px;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
}
.book-card {
  min-width: 0;
}
.book-cover {
  aspect-ratio: 0.91;
  padding: 20px 21px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease;
  background: var(--paper);
}
.cover-top,
.cover-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font: 9px/1.5 var(--mono);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.cover-top {
  border-bottom: 1px solid currentColor;
  padding-bottom: 12px;
}
.cover-bottom {
  border-top: 1px solid currentColor;
  padding-top: 12px;
}
.cover-bottom span:last-child {
  font-size: 19px;
}
.book-cover h3 {
  font: 39px/0.98 var(--serif);
  letter-spacing: -0.025em;
  max-width: 100%;
  overflow-wrap: anywhere;
  margin: 20px 0;
  position: relative;
  z-index: 1;
}
.cover-part-1 {
  background: #d93624;
  color: #12120f;
  border-color: #d93624;
}
.cover-part-2 {
  background: #12120f;
  color: #f3eeda;
  border-color: #12120f;
}
.cover-part-2 h3 {
  color: #f27b68;
}
.cover-part-3 {
  background: #c4d598;
}
.cover-part-4 {
  background: #e7e2cd;
}
.cover-part-5 {
  background: #f3eeda;
}
.cover-part-6 {
  background: #c6c1ae;
}
.cover-part-7 {
  background: #d93624;
}
.book-card:hover .book-cover {
  transform: translateY(-5px);
}
.book-card:hover .book-card-caption {
  color: var(--red);
}
.book-card-caption {
  font: 9px/1.65 var(--mono);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 12px;
}
.book-card-caption span:first-child {
  color: var(--ink);
}
.reading-invitation {
  background: var(--red);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding: 55px max(6%, calc((100vw - 1180px) / 2));
}
.reading-invitation h2 {
  font: 69px/0.96 var(--serif);
  letter-spacing: -0.03em;
  margin: 32px 0;
}
.ink-button {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.ink-button:hover {
  background: #35352b;
  border-color: #35352b;
}
.invitation-quote {
  border-left: 1px solid #12120f77;
  padding-left: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-number {
  font: 13px var(--mono);
  margin-bottom: 28px;
}
.invitation-quote blockquote {
  font: 34px/1.22 var(--serif);
  margin: 0 0 28px;
  color: #fff5dc;
}
.invitation-quote a {
  font: 12px var(--mono);
  text-decoration: underline;
  text-underline-offset: 5px;
  padding: 8px 0;
}
.invitation-quote p {
  font: 10px/1.7 var(--mono);
  margin-top: 13px;
}
.contents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 65px;
}
.home-part {
  display: grid;
  grid-template-columns: 35px 1fr 25px;
  gap: 20px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.home-part .roman {
  font: 11px var(--mono);
  color: var(--red);
}
.home-part h3 {
  font-size: 30px;
  letter-spacing: -0.02em;
}
.home-part p {
  font: 11px/1.6 var(--sans);
  color: var(--muted);
  margin-top: 7px;
}
.home-part .arrow {
  font: 20px var(--serif);
}
.home-part:hover h3 {
  color: var(--red);
}
.colophon {
  border-top: 1px solid var(--ink);
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font: 9px/1.5 var(--mono);
  color: var(--muted);
}
.colophon a:first-child {
  color: var(--ink);
}
.colophon a:hover {
  color: var(--red);
}
.page-wrap {
  max-width: 1260px;
  margin: auto;
  padding: 60px 40px 90px;
}
.print-waitlist {
  max-width: 820px;
}
.print-waitlist h1 {
  font-size: clamp(48px, 6vw, 73px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 25px 0;
}
.print-waitlist h1 span {
  white-space: nowrap;
}
.print-waitlist .form-fallback {
  font: 11px/1.7 var(--mono);
  color: var(--muted);
  margin: 20px 0 0;
}
.form-fallback a {
  display: inline-block;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.print-waitlist iframe {
  display: block;
  border: 0;
  width: 100%;
}
.print-offline {
  font-size: 16px;
  padding: 20px 0 60px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 38px;
}
.page-heading .eyebrow {
  margin-bottom: 19px;
}
.page-heading h1 {
  font: 80px/0.98 var(--serif);
  letter-spacing: -0.04em;
}
.title-period {
  color: var(--red);
}
.page-heading .intro {
  max-width: 390px;
  color: #585445;
  font: 14px/1.7 var(--sans);
  padding-bottom: 4px;
}
.library-parts {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border-block: 1px solid var(--ink);
  column-gap: 26px;
}
.library-parts a {
  padding: 20px 0;
  font: 11px/1.6 var(--mono);
  position: relative;
  white-space: nowrap;
}
.library-parts a span {
  font-size: 9px;
  color: #716957;
  margin-left: 5px;
}
.library-parts a:hover {
  color: var(--red);
}
.library-parts a[aria-current='page'] {
  color: var(--red);
}
.library-parts a[aria-current='page']:after {
  content: '';
  position: absolute;
  height: 3px;
  background: var(--red);
  bottom: -1px;
  left: 0;
  right: 0;
}
.library-controls {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 25px 0 28px;
}
.book-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.book-filter input {
  width: 100%;
  max-width: 340px;
  background: transparent;
  border: 0;
  padding: 10px 0;
  font: 11px var(--mono);
}
.book-filter input:focus {
  outline: none;
  box-shadow: 0 1px var(--red);
}
#book-count {
  font: 10px var(--mono);
  color: var(--muted);
  white-space: nowrap;
}
.view-switch {
  display: flex;
  border: 1px solid var(--ink);
}
.view-switch button {
  border: 0;
  background: transparent;
  min-height: 37px;
  padding: 0 14px;
  font: 10px var(--mono);
}
.view-switch button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--paper);
}
.library-grid[data-layout='index'] {
  grid-template-columns: 1fr;
  gap: 0;
}
.library-grid[data-layout='index'] .book-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.library-grid[data-layout='index'] .book-cover {
  aspect-ratio: auto;
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  align-items: center;
}
.library-grid[data-layout='index'] .cover-top {
  border: 0;
  padding: 0;
  color: var(--muted);
}
.library-grid[data-layout='index'] .cover-top span:last-child,
.library-grid[data-layout='index'] .cover-bottom {
  display: none;
}
.library-grid[data-layout='index'] .book-cover h3 {
  color: var(--ink);
  font-size: 29px;
  margin: 0;
}
.library-grid[data-layout='index'] .book-card-caption {
  margin: 0;
}
.library-grid[data-layout='index'] .book-card:hover .book-cover {
  transform: none;
}
.library-grid[data-layout='index'] .book-card:hover h3 {
  color: var(--red);
}
.empty-library {
  font: 23px var(--serif);
  padding: 35px 0;
}
.subtle-note {
  font: 11px/1.8 var(--sans);
  color: var(--muted);
  margin-top: 29px;
  max-width: 750px;
}
.book-opening-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 85px;
}
.book-opening .page-heading {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 33px;
}
.book-details {
  display: grid;
  gap: 9px;
  padding: 15px 0 27px;
  margin: 0;
}
.book-details dt {
  font: 10px var(--mono);
  text-transform: uppercase;
  color: var(--red);
  margin-top: 14px;
}
.book-details dd {
  margin: 0;
  font: 19px/1.5 var(--serif);
}
.book-chapter-register .eyebrow {
  margin-bottom: 20px;
}
.book-chapter-register a {
  display: grid;
  grid-template-columns: 33px 1fr auto;
  gap: 17px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.book-chapter-register a > span,
.book-chapter-register small {
  font: 10px var(--mono);
  color: var(--muted);
}
.book-chapter-register h2 {
  font-size: 25px;
}
.book-chapter-register a:hover h2 {
  color: var(--red);
}
.journey-lede {
  font: 24px/1.5 var(--serif);
  max-width: 690px;
}
.journey-list {
  list-style: none;
  padding: 40px 0 0;
  margin: 0;
}
.journey-stop {
  display: grid;
  grid-template-columns: 65px 1fr 190px;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 31px 0;
}
.journey-stop .number {
  font: 14px var(--mono);
  color: var(--red);
  padding-top: 6px;
}
.journey-stop .eyebrow {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 13px;
}
.journey-stop h2 {
  font-size: 35px;
  margin-bottom: 13px;
}
.journey-stop p:not(.eyebrow) {
  font: 14px/1.75 var(--sans);
  color: #585445;
  max-width: 620px;
}
.journey-stop .verse-link {
  font: 12px/1.7 var(--mono);
  color: var(--red);
  padding: 8px 0;
  align-self: start;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.about {
  max-width: 820px;
}
.about h1 {
  font-size: 73px;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 25px 0 35px;
}
.about h2 {
  font-size: 34px;
  margin: 40px 0 18px;
}
.about p {
  font: 22px/1.6 var(--serif);
  margin-bottom: 19px;
}
.about strong {
  font-weight: 400;
  color: var(--red);
}
.about a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.about .draft-note {
  font: 12px/1.9 var(--sans);
  padding: 25px 0;
  border-block: 1px solid var(--line);
  margin-top: 40px;
}
.about pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 12px/1.7 var(--mono);
  padding: 18px;
  background: #12120f09;
}
.loading {
  padding: 80px 25px;
  font: 22px var(--serif);
  text-align: center;
}

@media (min-width: 1500px) {
  .hero {
    max-width: 1380px;
    gap: 10%;
    padding-top: 50px;
    padding-bottom: 55px;
  }
  .hero-art img {
    max-height: 590px;
  }
  .title-bitcoin {
    font-size: 130px;
  }
  .title-canon {
    font-size: 163px;
  }
}
@media (max-width: 1250px) {
  .edition-line,
  .home-library,
  .home-contents,
  .colophon {
    margin-left: 6%;
    margin-right: 6%;
  }
  .hero {
    padding-left: 6%;
    padding-right: 6%;
    gap: 6%;
  }
  .hero-art {
    padding: 0;
  }
  .library-parts {
    gap: 0 19px;
  }
  .library-parts a {
    font-size: 10px;
  }
  .book-cover h3 {
    font-size: 33px;
  }
}
@media (max-width: 950px) {
  .masthead {
    gap: 20px;
  }
  .masthead nav {
    gap: 21px;
  }
  .brand {
    font-size: 9px;
  }
  .search-toggle span,
  .search-toggle kbd {
    display: none;
  }
  .hero {
    grid-template-columns: 1.2fr 1fr;
    gap: 6%;
    padding-top: 34px;
  }
  .hero h1 .title-bitcoin {
    font-size: 9.5vw;
  }
  .hero h1 .title-canon {
    font-size: 12vw;
  }
  .title-the {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 27px;
  }
  .hero .description {
    font-size: 14px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-art img {
    max-height: 490px;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
  }
  .hero-copy .eyebrow span {
    display: none;
  }
  .edition-line {
    font-size: 9px;
    flex-wrap: wrap;
  }
  .library-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-library .library-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .home-library .book-cover {
    padding: 14px;
    aspect-ratio: 0.75;
  }
  .home-library .book-cover h3 {
    font-size: 27px;
  }
  .home-library .cover-bottom {
    font-size: 8px;
    gap: 7px;
  }
  .contents-grid {
    gap: 0 30px;
  }
  .home-part {
    gap: 10px;
    grid-template-columns: 28px 1fr 20px;
  }
  .home-part h3 {
    font-size: 26px;
  }
  .reading-invitation h2 {
    font-size: 58px;
  }
  .invitation-quote {
    padding-left: 28px;
  }
  .invitation-quote blockquote {
    font-size: 29px;
  }
  .page-heading h1 {
    font-size: 69px;
  }
  .book-opening-grid {
    gap: 45px;
  }
}
@media (max-width: 650px) {
  .masthead {
    min-height: 95px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 20px;
    padding-top: 11px;
    padding-bottom: 8px;
  }
  .brand {
    font-size: 10px;
  }
  .masthead nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: center;
    gap: 33px;
  }
  .masthead nav a {
    font-size: 10px;
    min-height: 36px;
  }
  .search-toggle {
    grid-column: 2;
    grid-row: 1;
  }
  .hero {
    padding: 32px 6% 30px;
    gap: 26px;
    grid-template-columns: 1fr;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
    margin-bottom: 25px;
  }
  .hero-copy .eyebrow span {
    display: inline;
  }
  .hero h1 {
    display: block;
  }
  .hero h1 span {
    display: block;
  }
  .hero h1 .title-the {
    font-size: 28px;
    margin-bottom: 11px;
  }
  .hero h1 .title-bitcoin {
    font-size: 19vw;
  }
  .hero h1 .title-canon {
    font-size: 23.8vw;
    margin-top: 7px;
  }
  .hero-subtitle {
    font-size: 28px;
    margin-top: 16px;
  }
  .hero .description {
    font-size: 14px;
    margin-top: 19px;
  }
  .hero-actions {
    margin-top: 22px;
    gap: 24px;
  }
  .hero-art {
    max-height: 440px;
    align-self: start;
    padding: 0 14%;
  }
  .hero-art img {
    max-height: 410px;
    width: 100%;
  }
  .hero-art figcaption {
    font-size: 7px;
  }
  .resume-link {
    font-size: 9px;
    margin-top: 12px;
  }
  .button,
  .text-link {
    font-size: 10px;
  }
  .edition-line {
    padding: 16px 0;
    row-gap: 13px;
  }
  .edition-line span:nth-child(3) {
    display: none;
  }
  .home-library,
  .home-contents {
    padding-top: 39px;
    padding-bottom: 43px;
  }
  .section-heading {
    margin-bottom: 24px;
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 37px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
  }
  .home-library .library-grid,
  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 15px;
  }
  .book-cover,
  .home-library .book-cover {
    padding: 14px;
    aspect-ratio: 0.75;
  }
  .book-cover h3,
  .home-library .book-cover h3 {
    font-size: clamp(24px, 6.4vw, 35px);
  }
  .cover-top,
  .cover-bottom {
    font-size: 8px;
    gap: 7px;
  }
  .cover-bottom {
    min-height: 39px;
  }
  .book-card-caption {
    font-size: 8px;
    line-height: 1.6;
  }
  .reading-invitation {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px 6%;
  }
  .reading-invitation .eyebrow {
    font-size: 9px;
  }
  .reading-invitation h2 {
    font-size: 54px;
    margin: 26px 0;
  }
  .invitation-quote {
    border-left: 0;
    border-top: 1px solid #12120f77;
    padding: 25px 0 0;
  }
  .quote-number {
    margin-bottom: 16px;
  }
  .invitation-quote blockquote {
    font-size: 31px;
    margin-bottom: 18px;
  }
  .home-contents .section-heading {
    display: block;
  }
  .section-description {
    font-size: 12px;
    margin-top: 20px;
  }
  .contents-grid {
    grid-template-columns: 1fr;
  }
  .home-part {
    padding: 22px 0;
    grid-template-columns: 32px 1fr 20px;
  }
  .home-part h3 {
    font-size: 28px;
  }
  .colophon {
    font-size: 8px;
    gap: 20px;
    flex-wrap: wrap;
    padding: 23px 0;
  }
  .colophon > span {
    display: none;
  }
  .page-wrap {
    padding: 35px 6% 60px;
  }
  .page-heading {
    display: block;
    margin-bottom: 26px;
  }
  .page-heading h1 {
    font-size: 59px;
  }
  .page-heading .eyebrow {
    font-size: 9px;
    margin-bottom: 13px;
  }
  .page-heading .intro {
    font-size: 13px;
    margin-top: 19px;
  }
  .library-parts {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 24px;
    scrollbar-width: thin;
    padding-bottom: 2px;
  }
  .library-parts a {
    font-size: 10px;
    padding: 16px 0;
  }
  .library-controls {
    gap: 14px;
    flex-wrap: wrap;
    padding: 20px 0 23px;
  }
  .book-filter {
    width: 100%;
    flex: auto;
  }
  .book-filter input {
    font-size: 10px;
    max-width: none;
  }
  .view-switch button {
    min-height: 34px;
  }
  .library-grid[data-layout='index'] .book-card {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .library-grid[data-layout='index'] .book-cover {
    grid-template-columns: 62px 1fr;
    gap: 14px;
  }
  .library-grid[data-layout='index'] .book-cover h3 {
    font-size: 27px;
  }
  .library-grid[data-layout='index'] .book-card-caption {
    padding-left: 76px;
  }
  .book-opening-grid {
    display: block;
  }
  .book-chapter-register {
    margin-top: 37px;
  }
  .book-chapter-register a {
    gap: 10px;
    grid-template-columns: 27px 1fr auto;
  }
  .book-chapter-register h2 {
    font-size: 24px;
  }
  .book-chapter-register a > span,
  .book-chapter-register small {
    font-size: 9px;
  }
  .journey-lede {
    font-size: 22px;
  }
  .journey-stop {
    grid-template-columns: 26px 1fr;
    gap: 16px;
    padding: 25px 0;
  }
  .journey-stop h2 {
    font-size: 29px;
  }
  .journey-stop .eyebrow {
    font-size: 9px;
  }
  .journey-stop p:not(.eyebrow) {
    font-size: 13px;
  }
  .journey-stop .verse-link {
    grid-column: 2;
    font-size: 11px;
  }
  .about h1 {
    font-size: 53px;
  }
  .about h2 {
    font-size: 29px;
  }
  .about p {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Preserve the slide palette while small references meet text contrast. */
.title-bitcoin,
.hero-subtitle {
  color: var(--vermilion);
}
.reading-invitation {
  background: var(--vermilion);
}
body:has(dialog[open]) {
  overflow: hidden;
}
html:has(dialog[open]) {
  overflow: hidden;
  scroll-behavior: auto;
}
@media print {
  body,
  body.reading.night-page {
    --paper: #ffffff;
    --ink: #12120f;
    --muted: #4b4b43;
    --red: #9c281e;
    background: white;
    color: black;
  }
  .masthead,
  .reader-toolbar,
  .reader-toc,
  .margin-notes,
  .chapter-end,
  .colophon,
  dialog,
  .toast,
  .chapter-path,
  .selected-next-reading {
    display: none !important;
  }
  .reader-shell {
    display: block;
    padding: 0;
  }
  .reader-article {
    max-width: none;
  }
  .passage {
    break-inside: avoid;
  }
}
