/* Both paper leaves are visible on desktop; phones keep the pocket edition. */
.desktop-index { min-height:44px; margin:-17px 0; padding:0 8px; font:400 9px/1 var(--sans); }
.left-page-footer { display:none; }
.book:not(.pocket-mode) .chapter-navigation {
  left:calc(var(--leaf-width) * .24); right:auto; top:34%;
  width:clamp(130px,calc(var(--leaf-width) * .35),190px);
}
.book.has-spread-content .chapter-navigation, .book.has-spread-content .wordmark { display:none; }
.book.has-spread-content .left-page-footer { display:flex; }
.book:not(.pocket-mode) .spread-page-scroller {
  position:absolute; inset:0 0 77px; overflow-x:hidden; overflow-y:auto;
  overscroll-behavior-y:contain; touch-action:pan-y pinch-zoom; scrollbar-width:thin;
  scrollbar-color:#9b948566 transparent;
}
.book:not(.pocket-mode) .spread-page-content {
  position:relative; inset:auto; width:100%; min-height:100%; height:auto; padding-bottom:30px;
}
.book:not(.pocket-mode) .spread-page-content .essay-return {
  position:static; display:inline-flex; align-items:center; min-height:30px; margin-top:26px;
}
.book:not(.pocket-mode) .previous-corner { width:58px; }
.book:not(.pocket-mode) .wordmark { z-index:6; }
.book:not(.pocket-mode) .left-leaf::after { content:none; }
.spread-index-wordmark { position:absolute; right:42px; bottom:48px; color:#818077; text-decoration:none; font-size:9px; letter-spacing:.03em; }
.book:not(.pocket-mode) #marginal-note { display:none; }
.spread-margin-note { max-width:280px; margin:28px 0 0 auto; padding-top:12px; border-top:1px solid #35352f26; color:#696154; font:400 10px/1.3 var(--sans); }
.spread-margin-note .marginal-label { font-size:8px; }
.spread-turn-scroller { position:absolute; inset:0 0 77px; overflow:hidden; }
.spread-turn-scroller > .page-content { position:relative; inset:auto; min-height:100%; height:auto; padding-bottom:30px; transform-origin:top left; }
.spread-turn-scroller .essay-return { position:static; display:flex; width:fit-content; min-height:30px; margin-top:24px; }
.spread-index-print { position:absolute; left:24%; top:34%; width:35%; min-width:130px; max-width:190px; }
.spread-index-print .chapter-index { position:static; display:block; width:100%; }
.book:not(.pocket-mode) .left-leaf, .engine-left-leaf { background:linear-gradient(90deg,#f0eee6,#f6f4ee 24%,#f3f1eb 79%,#eeece4 93%,#c5c2b7); }
.spread-page-content:focus-visible { outline:1px solid #7d715f; outline-offset:-6px; }
@media (max-height:800px) and (min-width:761px) {
  .book:not(.pocket-mode) .spread-page-scroller, .spread-turn-scroller { bottom:70px; }
}
@media (max-width:760px), (hover:none) and (pointer:coarse) and (max-width:1024px) {
  #left-page-scroller, .left-page-footer, .desktop-index { display:none; }
  .book.has-spread-content .chapter-navigation { display:contents; }
}

/* The biography and the earlier project stories share the About spread. */
.about-practice .project-story { position:relative; padding:0 0 38px; margin:36px 0 0; border-bottom:1px solid #35352f26; }
.about-practice .project-story:last-child { border:0; padding-bottom:0; }
.about-practice .project-story > .running-title { display:none; }
.about-practice .project-story .chapter-heading { margin-top:0; }
.about-practice .project-story .project-figure { margin-top:24px; }
.about-practice .project-story .book-artifacts { margin-top:22px; }
.about-practice .project-story .artifact-opener { position:relative; inset:auto; display:inline-flex; width:auto; margin:0; }
.about-practice .project-story .artifact-panel { position:relative; inset:auto; margin-top:18px; max-height:none; }
.about-practice .project-story .project-margin-note { margin-top:24px; color:var(--muted); font:400 10px/1.3 var(--sans); }
@media (max-width:760px), (hover:none) and (pointer:coarse) and (max-width:1024px) {
  .about-practice .project-story { margin-top:28px; padding-bottom:28px; }
}

/* The opening plate keeps only its folio in the lower margin. */
.right-leaf:has(.introduction) > .page-footer #page-section,
.right-leaf:has(.introduction) > .page-footer #desktop-index { display:none; }
.right-leaf:has(.introduction) > .page-footer,
.opening-page-footer { justify-content:flex-end; }
