
:root {
  --surround: #0b0b0a;
  --paper: #f3f1eb;
  --ink: #35352f;
  --muted: #77766e;
  --rule: #d1cec4;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --page-inset: clamp(35px, 4.2vw, 64px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surround); color: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
button:focus-visible, a:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
button:disabled { cursor: default; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 18px; top: -70px; z-index: 100; background: var(--paper); color: var(--ink); padding: 12px; }
.skip-link:focus { top: 18px; }
.site-shell { min-height: 100svh; }
.reading-room { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 16px 0; overflow: clip; }
.book-window {
  --leaf-height: min(940px, calc(100svh - 90px), calc((100vw - 64px) / 1.4));
  --leaf-width: calc(var(--leaf-height) * .70);
  position: relative; width: calc(var(--leaf-width) * 2 + 40px); height: calc(var(--leaf-height) + 58px);
  min-height: 0; overflow: clip; flex: none;
}
.book {
  position: absolute; left: 20px; top: 28px;
  width: calc(var(--leaf-width) * 2); height: var(--leaf-height); min-height: 0;
  display: grid; grid-template-columns: 1fr 1fr; isolation: isolate; perspective: 2000px;
  transform:none; filter: drop-shadow(1px 18px 15px #0008);
}
.back-cover { position: absolute; inset: 3px -14px -5px -3px; background: #a8a69b; border-radius: 3px 4px 5px 3px; box-shadow: 2px 2px 2px #0008; z-index: -3; }
.page-stack {
  position: absolute; top: 4px; right: -10px; bottom: -1px; width: 20px; z-index: -2;
  background: repeating-linear-gradient(90deg, #a5a397 0, #dedbd1 .7px, #e7e4db 2px, #99988d 2.7px, #efede5 3.5px);
  border-radius: 0 3px 4px 0; box-shadow: 2px 0 3px #0005; transform: skewY(-1deg);
}
.left-leaf {
  position: relative; min-width: 0; overflow:hidden; color: var(--ink);
  background: linear-gradient(90deg, #d7d5cd, #e5e3db 60%, #d6d3c9 89%, #b7b5aa 97%, #95948a);
  border-radius:2px 50% 50% 2px / 2px 1% 1% 2px;
}
.left-leaf::after { content: ''; position: absolute; inset: 0; background: url('assets/paper.svg'); opacity: .1; pointer-events: none; }
.wordmark { position: absolute; right: 42px; bottom: 48px; color: #818077; text-decoration: none; font-size: 9px; letter-spacing: .03em; }
.right-leaf {
  position: relative; min-width: 0; overflow: hidden; color: var(--ink);
  background: linear-gradient(90deg, #c5c2b7 0, #e3e0d6 2.6%, #eeece4 7%, #f3f1eb 21%, #f6f4ee 73%, #f0eee6 98.5%, #dedbd1);
  border-radius:50% 2px 2px 50% / 1% 2px 2px 1%;
  box-shadow: inset -1px 0 1px #ada99c; transform-style: preserve-3d;
}
.spine { position: absolute; left:calc(50% - 12px); width:24px; top:1%; bottom:1%; z-index: 10; pointer-events: none; background: linear-gradient(90deg, transparent, #6d695e1a 22%, #4d4a3f42 42%, #f7f5ed0a 62%, transparent); }
.paper-grain { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: url('assets/paper.svg'); opacity: .11; mix-blend-mode: multiply; }
.page-content { position: absolute; inset: 0; padding: 43px var(--page-inset) 77px calc(var(--page-inset) + 6px); outline: none; }
.page-footer { position: absolute; left: calc(var(--page-inset) + 6px); right: 47px; bottom: 29px; display: flex; justify-content: space-between; gap: 20px; font-size: 9px; color: #817e73; letter-spacing: .025em; }
.page-footer span:last-child { font-size: 10px; color: #666357; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.running-title { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 8px; line-height: 1.5; text-transform: uppercase; letter-spacing: .11em; }
.running-title span:last-child { text-align: right; }
.intro-portrait { --print-width:118px; position: absolute; top: 43%; left: 50%; width:calc(var(--print-width) * .9); margin: 0; text-align: center; transform: translate(-50%, -8%); }
.text-link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 6px; border-bottom: 1px solid #b1ac9d; text-decoration: none; font-size: 10px; }
.text-link:hover { border-color: var(--ink); }
.essay-list { display: flex; flex-direction: column; }
.essay-return { position: absolute; left: calc(var(--page-inset) + 6px); bottom: 63px; padding: 0; color: var(--muted); font-size: 9px; }
.project-role strong { color: var(--ink); font-weight: 500; }
.project-figure { margin: 25px 0 20px; }
.project-figure img { display: block; width: 100%; height: auto; box-shadow: 0 1px 3px #40352814; }
.project-figure figcaption { margin-top: 10px; color: #7f786c; font-size: 8px; line-height: 1.6; }
.project-figure figcaption a { flex: none; text-decoration: none; }
.practice-page .project-figure { margin-top: 21px; }
.practice-page .project-figure img { height: min(29vh, 260px); object-fit: cover; object-position: 50% 64%; }
.project-page .project-figure img { height: min(36vh, 340px); object-fit: contain; background: #353231; }
.chapter-index { position: absolute; right: calc(50% + 33px); top: 36%; z-index: 11; width: clamp(88px, calc(var(--leaf-width) * .28 - 48px), 111px); }
.chapter-link { display: grid; grid-template-columns: 15px 1fr 15px; align-items: baseline; gap: 6px; width: 100%; padding: 10px 0; text-align: left; color: #797062; font-size: 10px; }
.chapter-link span:first-child, .chapter-link span:last-child { color: #a09685; font-size: 7px; font-variant-numeric: tabular-nums; }
.chapter-link span:last-child { text-align: right; }
.chapter-link[aria-current=page], .chapter-link:hover { color: #39332a; }
.chapter-link[aria-current=page] span:nth-child(2) { text-decoration: underline; text-underline-offset: 4px; }
.turning .chapter-index { pointer-events: none; }
.page-corner { position: absolute; bottom: 0; z-index: 7; width: 58px; height: 62px; padding: 0; touch-action: pan-y; cursor: grab; color: #777164; }
.page-corner:active { cursor: grabbing; }
.page-corner:disabled { opacity: 0; pointer-events: none; }
.page-corner span { position: absolute; bottom: 16px; font-size: 13px; opacity: .3; transition: opacity .2s; }
.next-corner { right: 0; }
.previous-corner { left: 0; width: 37px; }
.next-corner span { right: 15px; }
.previous-corner span { left: 12px; }
.next-corner::before { content: ''; position: absolute; right: 0; bottom: 0; width: 23px; height: 23px; clip-path: polygon(100% 0,100% 100%,0 100%); background: linear-gradient(135deg,#b6b0a2,#f8f5ec 57%,#d6d0c2); opacity: .45; transition: width .22s, height .22s, opacity .22s; }
.next-corner:hover::before, .next-corner:focus-visible::before { width: 42px; height: 42px; opacity: .8; }
.page-corner:hover span, .page-corner:focus-visible span { opacity: 1; }
.page-corner:focus-visible { outline-offset: -6px; }
.reader-controls:focus-within { position: fixed; left: 20px; top: 20px; z-index: 30; width: auto; height: auto; margin: 0; padding: 12px 16px; overflow: visible; clip: auto; background: var(--paper); color: var(--ink); }
.turn-controls { display: flex; gap: 20px; align-items: center; font-size: 12px; }
.page-turn-scene { position: absolute; inset: 0; z-index: 20; pointer-events: none; overflow: visible; }
.engine-book.stf__parent { position: relative; width: 100%; height: 100%; overflow: visible; background: transparent; }
.engine-book > .stf__wrapper { position: relative; width: 100%; height: 100%; }
.engine-book .stf__block { width: 100%; height: 100%; }
.engine-leaf { color: var(--ink); background: linear-gradient(90deg,#c5c2b7 0,#e3e0d6 2.6%,#eeece4 7%,#f3f1eb 21%,#f6f4ee 73%,#f0eee6 98.5%,#dedbd1); overflow: hidden; }
.engine-leaf { border-radius:50% 2px 2px 50% / 1% 2px 2px 1%; }
.engine-left-leaf { border-radius:2px 50% 50% 2px / 2px 1% 1% 2px; }
.engine-blank { background: #ede9df; }
.engine-blank.--simple { background: transparent; }
.engine-blank.--simple > .paper-grain { opacity: 0; }
.turning .page-corner, .turning .right-leaf { pointer-events: none; }

@media (min-width: 1500px) and (min-height: 950px) {
  .page-content { padding-top: 53px; }
}
@media (max-height: 800px) and (min-width: 761px) {
  :root { --page-inset: 38px; }
  .page-content { padding-top: 34px; padding-bottom: 70px; }
  .project-figure { margin: 18px 0 16px; }
  .practice-page .project-figure img { height: min(22vh, 180px); }
  .project-page .project-figure img { height: min(28vh, 220px); }
  .intro-portrait { top: 40%; }
}
@media (max-width: 760px) {
  :root { --page-inset: 29px; }
  .reading-room { padding: 9px 0; }
  .book-window { --leaf-width: calc(100vw - 43px); --leaf-height: max(630px, calc(100svh - 77px)); width: calc(var(--leaf-width) + 22px); height: calc(var(--leaf-height) + 57px); min-height: 0; }
  .book { left: calc(var(--leaf-width) * -1 + 7px); top: 28px; min-height: 0; transform: rotate(-.2deg); }
  .book-window .left-leaf { clip-path: none; }
  .wordmark { display: none; }
  .spine { width: 17px; left: calc(50% - 6px); top: 1.5%; bottom: 1.5%; }
  .right-leaf { border-top-left-radius: 16% 1%; border-bottom-left-radius: 16% 1%; }
  .page-stack { width: 16px; right: -8px; }
  .back-cover { right: -11px; bottom: -4px; }
  .page-content { padding: 32px 26px 73px 32px; }
  .page-footer { left: 32px; right: 39px; bottom: 26px; font-size: 8px; }
  .page-footer span:last-child { font-size: 9px; }
  .running-title { font-size: 7px; letter-spacing: .07em; gap: 15px; }
  .intro-portrait { top: 42%; }
  .essay-return { left: 32px; bottom: 59px; font-size: 8px; }
  .project-role, .project-kicker { font-size: 9px; margin-bottom: 17px; }
  .project-figure, .practice-page .project-figure { margin: 20px 0 18px; }
  .project-page .project-figure img, .practice-page .project-figure img { height: auto; object-fit: contain; }
  .project-figure figcaption { font-size: 7px; line-height: 1.5; margin-top: 9px; gap: 10px; }
  .chapter-index { left: calc(50% + 19px); right: auto; top: auto; bottom: -24px; width: calc(50% - 37px); display: flex; justify-content: space-between; gap: 14px; }
  .chapter-link { display: block; width: auto; padding: 3px 0; color: #a7a194; font-size: 10px; }
  .chapter-link span:first-child, .chapter-link span:last-child { display: none; }
  .chapter-link[aria-current=page], .chapter-link:hover { color: #e1dacc; }
  .page-corner { width: 51px; height: 58px; }
  .previous-corner { width: 32px; }
  .page-corner span { bottom: 15px; }
  .next-corner span { right: 13px; }
  .previous-corner span { left: 10px; }
}
@media (max-width: 390px) {
  :root { --page-inset: 24px; }
  .book-window { --leaf-width: calc(100vw - 34px); }
  .page-content { padding-left: 28px; padding-right: 23px; }
  .page-footer { left: 28px; }
  .essay-return, .contact-afterword { left: 28px; }
}
@media (max-height: 740px) and (max-width: 760px) {
  .project-role { margin-bottom: 14px; }
  .project-figure, .practice-page .project-figure { margin-top: 17px; margin-bottom: 15px; }
  .practice-page .project-figure img { height: min(29vh, 190px); object-fit: cover; object-position: 50% 64%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .book { transform: none; }
  .next-corner::before { display: none; }
}

/* Cargo B374-inspired typography: one scale, aligned columns, compact captions. */
:root { --editorial-size: 12px; --editorial-leading: 1.2; --editorial-gap: 24px; }
.running-title { color: var(--ink); font: 400 9px/1.2 var(--sans); text-transform: none; letter-spacing: 0; }
.running-title span:last-child { max-width: 165px; text-align: left; }
.intro-name { position: absolute; right: 34px; top: 37px; width: 110px; text-align: left; }
.intro-name h1 { margin: 0; font: 400 12px/1.12 var(--sans); letter-spacing: -.1px; }
.intro-name h1 span { display: block; }
.intro-name p { margin: 12px 0 0 -38px; color: var(--ink); font: 400 12px/1.12 var(--sans); letter-spacing: -.1px; }
.portrait-mount { position: relative; width: calc(var(--print-width) * .9); height: calc(var(--print-width) * 1.0625 * .9); padding: 0; margin: 0 0 25px; overflow: hidden; background: none; border: 0; box-shadow: none; transform: none; }
.portrait-mount::before, .portrait-mount::after { content: none; }
.portrait-mount img { display: block; width: 100%; height: auto; }
.intro-portrait figcaption { width: 210px; margin-left:0; text-align: left; color: var(--ink); font: 400 10px/1.2 var(--sans); letter-spacing: 0; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.intro-portrait figcaption span { display: block; }
.intro-portrait:has(.photo-print:focus-visible) figcaption { opacity: 1; }
@media (hover:hover) and (pointer:fine) { .intro-portrait:has(.photo-print:hover) figcaption { opacity: 1; } }
@media (hover:none), (pointer:coarse) { .intro-portrait:has(.photo-print.is-flipped) figcaption { opacity: 1; } }
.chapter-heading { margin: 58px 0 30px; color: var(--ink); font: 400 var(--editorial-size)/var(--editorial-leading) var(--sans); letter-spacing: 0; }
.body-copy, .information-value { color: var(--ink); font: 400 var(--editorial-size)/1.3 var(--sans); letter-spacing: 0; }
.body-copy p, .information-value p { margin: 0; }
.information-grid { margin-top: 78px; }
.information-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--editorial-gap); padding: 27px 0; border-bottom: 1px solid #35352f26; }
.information-row:first-child { padding-top: 0; }
.information-label { min-width: 0; margin: 0; text-align: right; color: var(--ink); font: 400 var(--editorial-size)/var(--editorial-leading) var(--sans); }
.information-row .chapter-heading { margin: 0; }
.information-value { min-width: 0; }
.information-value p + p { text-indent: 1.3em; }
.information-value .large-copy { margin: 0 0 18px; font: inherit; }
.information-value .large-copy + p { text-indent: 0; }
.information-value .text-link { font: inherit; }
.text-link { color: var(--ink); }
.chapter-subtitle { margin: 0 0 43px; color: var(--ink); font: 400 var(--editorial-size)/var(--editorial-leading) var(--sans); }
.essay-index .chapter-heading { margin-top: 66px; margin-bottom: 26px; }
.essay-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: var(--editorial-gap); row-gap: 36px; width: 100%; margin-top: 58px; }
.essay-entry { position: relative; display: block; width: 100%; min-height: 72px; padding: 0; border: 0; text-align: left; color: var(--ink); }
.entry-number { display: block; margin-bottom: 8px; color: var(--ink); font: 400 9px/1.1 var(--sans); font-variant-numeric: tabular-nums; }
.entry-copy { display: block; padding: 0; }
.entry-title { display: block; font: 400 var(--editorial-size)/var(--editorial-leading) var(--sans); letter-spacing: 0; }
.entry-date { display: block; margin: 6px 0 0; color: var(--ink); font: 400 9px/1.1 var(--sans); }
.entry-page { position: absolute; right: 0; top: 0; color: var(--ink); font: 400 9px/1.1 var(--sans); font-variant-numeric: tabular-nums; }
.essay-entry:hover .entry-title { text-decoration: underline; text-underline-offset: 4px; }
.essay .chapter-heading { margin: 53px 0 17px; font: 400 var(--editorial-size)/var(--editorial-leading) var(--sans); }
.essay-meta { display: flex; justify-content: space-between; gap: var(--editorial-gap); margin: 0 0 47px; color: var(--ink); font: 400 9px/1.15 var(--sans); }
.essay-meta a { color: inherit; text-decoration: none; }
.essay-body { width: 100%; max-width: 420px; margin-left: auto; color: var(--ink); font: 400 13px/1.45 var(--sans); letter-spacing: 0; }
.essay-body p { margin: 0; }
.essay-body p + p { text-indent: 1.3em; }
.essay-body .essay-subheading { margin: 18px 0 8px; text-indent: 0; font: 500 13px/1.2 var(--sans); }
.essay-body .essay-subheading + p { text-indent: 0; }
.continuation .essay-body { margin-top: 64px; }
.essay-short .chapter-heading { margin-top: 53px; }
.essay-short .essay-meta { margin-bottom: 36px; }
.essay-compact .chapter-heading { margin-top: 30px; }
.essay-compact .essay-meta { margin-bottom: 23px; }
.essay-compact .essay-body { line-height: 1.4; }
.work-page .chapter-heading, .project-page .chapter-heading { margin: 51px 0 28px; }
.project-kicker, .project-role { margin: 0 0 18px; color: var(--ink); font: 400 var(--editorial-size)/var(--editorial-leading) var(--sans); }
.project-copy { width: 100%; margin: 26px 0 0; }
.project-details { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--editorial-gap); margin-bottom: 17px; padding-top: 16px; border-top: 1px solid #35352f26; color: var(--ink); font: 400 var(--editorial-size)/var(--editorial-leading) var(--sans); }
.project-details span { margin: 0; color: inherit; font: inherit; text-transform: none; letter-spacing: 0; }
.project-details span:first-child { text-align: right; }
.project-description, .practice-page .project-description { width: calc(50% - var(--editorial-gap) / 2); margin: 0 0 18px auto; color: var(--ink); font: 400 var(--editorial-size)/1.3 var(--sans); }
.project-copy > .text-link { margin-left: calc(50% + var(--editorial-gap) / 2); font-size: 10px; }
.project-figure figcaption { color: var(--ink); font: 400 9px/1.15 var(--sans); }
.contact-page .information-grid { margin-top: clamp(110px, 19vh, 190px); }
.contact-page .information-row:first-child { padding-bottom: 35px; }
.contact-email { display: inline-block; max-width: 100%; padding-bottom: 5px; border-bottom: 1px solid #35352f66; color: var(--ink); font: 400 var(--editorial-size)/1.2 var(--sans); letter-spacing: 0; text-decoration: none; overflow-wrap: anywhere; }
.contact-afterword { position: absolute; left: calc(var(--page-inset) + 6px); bottom: 88px; color: var(--ink); font: 400 9px/1.2 var(--sans); }
.chapter-index::before { content: 'Index'; display: block; margin-bottom: 18px; color: var(--ink); font: 400 12px/1.1 var(--sans); }
.chapter-link { color: var(--ink); font-size: 12px; }
.chapter-link span:first-child, .chapter-link span:last-child { color: var(--ink); font-size: 8px; }
.page-footer { color: var(--ink); }
.page-footer span:last-child { color: inherit; }

@media (min-width:1500px) and (min-height:950px) {
  .intro-portrait { --print-width:130px; }
  .essay-body { font-size:14px; }
}
@media (max-height:800px) and (min-width:761px) {
  .intro-name { top:32px; }
  .intro-portrait { --print-width:108px; }
  .portrait-mount { margin-bottom:22px; }
  .information-grid { margin-top:52px; }
  .information-row { padding-top:23px; padding-bottom:23px; }
  .chapter-heading, .work-page .chapter-heading, .project-page .chapter-heading { margin-top:36px; margin-bottom:24px; }
  .essay-index .chapter-heading { margin-top:44px; }
  .essay-list { margin-top:42px; row-gap:28px; }
  .essay .chapter-heading, .essay-short .chapter-heading { margin-top:38px; }
  .essay-meta, .essay-short .essay-meta { margin-bottom:31px; }
  .essay-compact .chapter-heading { margin-top:24px; }
  .essay-compact .essay-meta { margin-bottom:20px; }
  .essay-body { font-size:12.5px; }
  .project-copy { margin-top:20px; }
  .project-description, .practice-page .project-description { font-size:11.5px; }
}
@media (max-width:760px) {
  :root { --editorial-gap:20px; }
  .intro-name { top:33px; right:24px; width:102px; }
  .intro-name p { margin-left:-28px; }
  .intro-portrait { --print-width:110px; }
  .portrait-mount { margin-bottom:24px; }
  .intro-portrait figcaption { width:190px; font-size:10px; }
  .intro-portrait .portrait-subject { margin-left:20px; }
  .information-grid { margin-top:48px; }
  .information-row { grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); gap:20px; padding-top:24px; padding-bottom:24px; }
  .information-label, .information-value { font-size:11.5px; }
  .information-value { line-height:1.3; }
  .information-value .large-copy { margin-bottom:15px; }
  .chapter-heading, .work-page .chapter-heading, .project-page .chapter-heading { margin-top:43px; margin-bottom:25px; }
  .essay-index .chapter-heading { margin-top:50px; margin-bottom:24px; }
  .chapter-subtitle { margin-bottom:35px; font-size:11.5px; }
  .essay-list { margin-top:45px; row-gap:34px; }
  .essay-entry { min-height:76px; }
  .entry-title { font-size:12px; }
  .entry-number, .entry-date, .entry-page { font-size:8px; }
  .essay .chapter-heading, .essay-short .chapter-heading { margin-top:45px; }
  .essay-meta { font-size:8px; margin-bottom:39px; }
  .essay-body { width:100%; font-size:13px; line-height:1.45; }
  .essay-body .essay-subheading { font-size:12px; }
  .continuation .essay-body { margin-top:52px; }
  .essay-compact .chapter-heading { margin-top:27px; }
  .essay-compact .essay-meta { margin-bottom:23px; }
  .essay-compact .essay-body { font-size:12.5px; line-height:1.4; }
  .project-copy { margin-top:18px; }
  .project-details { grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); gap:20px; padding-top:14px; font-size:11.5px; }
  .project-description, .practice-page .project-description { width:calc(65% - 10px); margin-bottom:16px; font-size:11.5px; }
  .project-copy > .text-link { margin-left:calc(35% + 10px); font-size:9px; }
  .project-figure figcaption { font-size:8px; }
  .contact-page .information-grid { margin-top:110px; }
  .contact-email { font-size:11.5px; }
  .contact-afterword { left:32px; bottom:80px; }
  .chapter-index::before { display:none; }
  .chapter-link { color:#c1b8a8; font-size:10px; }
}
@media (max-width:390px) {
  .contact-afterword { left:28px; }
  .information-value .text-link { font-size:10.5px; }
}
@media (max-width:760px) and (max-height:740px) {
  .work-page .chapter-heading, .project-page .chapter-heading { margin-top:30px; }
  .practice-page .project-figure img { height:min(25vh,166px); }
}
@media (max-width:360px) {
  .information-grid { margin-top:38px; }
  .information-label, .information-value { font-size:11px; }
  .information-row { padding-top:21px; padding-bottom:21px; }
}

/* Small physical and editorial details. */
.book { --reading-progress:0; --left-stack-depth:2px; --right-stack-depth:17px; --left-stack-width:3px; --right-stack-width:20px; }
.back-cover { right:calc(-1 * var(--right-stack-width) - 3px); bottom:calc(-1 * max(var(--left-stack-depth), var(--right-stack-depth)) - 3px); transition:right .35s ease,bottom .35s ease; }
.page-stack { right:calc(4px - var(--right-stack-width)); bottom:calc(-1 * var(--right-stack-depth)); width:var(--right-stack-width); transition:right .35s ease,width .35s ease,bottom .35s ease; }
.page-stack-left { position:absolute; left:0; right:50%; bottom:calc(1px - var(--left-stack-depth)); height:var(--left-stack-depth); z-index:-2; background:repeating-linear-gradient(0deg,#9f9c90 0,#dbd7cc .7px,#efebe0 2px,#bab5a7 2.7px,#e7e2d6 3.6px); border-radius:0 0 28% 3% / 0 0 28% 12%; box-shadow:0 2px 2px #0003; transition:height .35s ease,bottom .35s ease; }
.chapter-navigation { position:absolute; right:calc(50% + 33px); top:36%; z-index:11; width:clamp(88px,calc(var(--leaf-width) * .28 - 48px),111px); }
.chapter-navigation .chapter-index { position:static; width:100%; }
.reading-return { margin-top:18px; }
.reading-return button { padding:0 0 3px; color:#6a6255; font:400 9px/1.3 var(--sans); text-align:left; border-bottom:1px solid #96897566; }
.reading-return button:hover { color:var(--ink); border-color:currentColor; }
.marginal-note { position:absolute; right:34px; bottom:88px; z-index:4; width:clamp(88px,calc(var(--leaf-width) * .28 - 48px),118px); color:#696154; font:400 9.5px/1.3 var(--sans); }
.marginal-label { display:block; margin-bottom:9px; font-size:8px; color:#8a7f6d; }
.marginal-text { display:block; }
.marginal-note[hidden], .reading-return[hidden] { display:none; }
.portrait-mount { overflow:visible; }
.photo-print { position:relative; display:block; width:100%; height:100%; padding:0; border:0; background:none; perspective:700px; touch-action:manipulation; }
.photo-print-inner { position:relative; display:block; width:100%; height:100%; transform-style:preserve-3d; transition:transform .62s cubic-bezier(.25,.8,.25,1); }
.photo-print.is-flipped .photo-print-inner { transform:rotateY(180deg); }
.photo-front, .photo-back { position:absolute; inset:0; display:block; backface-visibility:hidden; -webkit-backface-visibility:hidden; overflow:hidden; }
.photo-front { background:#d2c8b8; }
.photo-front img { display:block; width:100%; height:auto; }
.photo-back { display:flex; flex-direction:column; padding:12px 10px 11px; color:#544b3e; background:#e9e2d4 url('assets/paper.svg'); transform:rotateY(180deg); box-shadow:0 1px 4px #51432f24; text-align:left; font:400 9px/1.24 var(--sans); }
.photo-note { display:block; }
.photo-signature { display:block; margin-top:auto; padding-top:9px; }
.photo-source { display:block; margin-top:4px; font-size:7px; color:#8b7d69; }
.photo-print:focus-visible { outline:1px solid #7d715f; outline-offset:5px; }
@media (hover:hover) and (pointer:fine) {
  .photo-print:not(.is-flipped):hover .photo-print-inner { transform:translateY(-1px) rotateY(-3deg); }
  .photo-print.is-flipped:hover .photo-print-inner { transform:translateY(-1px) rotateY(180deg); }
}
.book.peeking .next-corner::before { opacity:0; }
.book.peeking .next-corner span { opacity:.7; }
.colophon-page .information-grid { margin-top:clamp(90px,16vh,150px); }
.colophon-return { margin:42px 0 0 calc(50% + var(--editorial-gap) / 2); }
.begin-again { font-size:12px; min-height:25px; }
@media (max-height:720px) and (min-width:761px) {
  .marginal-note { bottom:70px; font-size:8.5px; }
  .marginal-label { margin-bottom:6px; font-size:7.5px; }
}
@media (max-width:760px) {
  .book-window { width:calc(var(--leaf-width) + 30px); }
  .chapter-navigation { position:static; display:contents; }
  .chapter-navigation .chapter-index { position:absolute; left:calc(50% + 19px); right:auto; top:auto; bottom:-24px; width:calc(50% - 37px); }
  .reading-return { position:absolute; left:calc(50% + 32px); bottom:82px; z-index:8; margin:0; max-width:calc(50% - 64px); }
  .reading-return button { color:var(--ink); font-size:10px; }
  .marginal-note { display:none; }
  .photo-back { padding:10px 9px; font-size:8.5px; }
  .photo-source { font-size:6.5px; }
  .colophon-page .information-grid { margin-top:74px; }
  .colophon-return { margin:32px 0 0 calc(35% + 10px); }
  .begin-again { font-size:11.5px; }
}
@media (max-width:390px) {
  .reading-return { left:calc(50% + 28px); }
}
@media (prefers-reduced-motion:reduce) {
  .photo-print-inner, .page-stack, .page-stack-left, .back-cover { transition:none; }
  .photo-print:not(.is-flipped):hover .photo-print-inner { transform:none; }
  .photo-print.is-flipped:hover .photo-print-inner { transform:rotateY(180deg); }
}
