@font-face {
  font-family: Instrument Serif;
  src: url("/fonts/instrument-serif-normal.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("/fonts/dm-sans-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: IBM Plex Mono;
  src: url("/fonts/ibm-plex-mono-normal.woff2") format("woff2");
  font-display: swap;
}
:root {
  --paper: #fffcf3;
  --ink: #22231f;
  --blue: #2b409a;
  --muted: #64645c;
  --line: #d5d2c7;
  --desk: #f1f1eb;
  --mono: "IBM Plex Mono", monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--desk);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
h1,
h2,
p,
figure {
  margin: 0;
}
button,
a {
  font: inherit;
  color: inherit;
}
a {
  text-decoration: none;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #465dd2;
  outline-offset: 5px;
}
h1:focus,
h2:focus {
  outline: none;
}
.skip {
  position: absolute;
  z-index: 20;
  padding: 12px 18px;
  color: white;
  background: var(--blue);
  transform: translateY(-115%);
}
.skip:focus {
  transform: translateY(3px);
}
.mast {
  background: #fafaf6;
  border-bottom: 1px solid #d9d9d1;
}
.mast-inner,
.footer-inner {
  max-width: 1512px;
  margin: auto;
  padding: 0 clamp(24px, 4.6vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mast-inner {
  height: 72px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 620;
  letter-spacing: -0.055em;
}
.wordmark > span {
  color: var(--blue);
  display: flex;
  transform: rotate(-6deg);
}
.mast-nav,
.mast-nav a,
.contact-link,
.contents-button,
.pager,
.pager button,
.primary,
.source,
.edition,
.folio > span,
.footer-inner nav,
.footer-inner a,
.archive-link {
  display: inline-flex;
  align-items: center;
}
.mast-nav {
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
}
.mast-nav a {
  gap: 7px;
  min-height: 40px;
}
.mast-nav .selected:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.contact-link {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.mast-nav a:hover,
.footer-inner a:hover,
.archive-link:hover,
.source:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.desk {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3.3vh, 40px) clamp(24px, 4.4vw, 84px)
    clamp(24px, 3.3vh, 44px);
  position: relative;
  isolation: isolate;
  background-color: var(--desk);
  background-image: radial-gradient(#686b5f30 0.57px, transparent 0.76px);
  background-size: 5px 5px;
}
.desk-inner {
  width: 100%;
  max-width: 1432px;
  margin: 0 auto;
}
.desk-label,
.desk-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.desk-label {
  margin: 0 2px 18px;
}
.edition {
  gap: 8px;
  color: #55584c;
}
.edition b {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.025em;
  font-style: italic;
}
.desk-right,
.running,
.chapter-kicker,
.folio,
.fig-label,
.pager > span,
.dialog-head > span,
.index-list small,
.desk-right {
  font-family: var(--mono);
}
.desk-right {
  font-size: 10px;
  letter-spacing: 0.04em;
  gap: 10px;
  color: #56584e;
}
.desk-right i {
  width: 18px;
  height: 1px;
  background: #999c8d;
}
.binding {
  position: relative;
  background: #313c4a;
  padding: 3px 5px 8px;
  border-radius: 7px 8px 8px 7px;
  box-shadow:
    0 2px 2px #272b352e,
    0 7px 8px -6px #1f283d66,
    0 28px 35px -19px #252b3091,
    0 42px 66px -38px #31323361;
}
.binding:before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 5px 5px 3px;
  border-radius: 1px 3px 5px 5px;
  background: repeating-linear-gradient(0deg, #d3ccac 0 1px, #f4f0db 1px 2px);
}
.ribbon {
  position: absolute;
  right: 12%;
  bottom: -20px;
  width: 17px;
  height: 31px;
  background: linear-gradient(90deg, #243780, #5968ad 90%, #293c8d);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  z-index: -1;
}
.book-pages {
  background: var(--paper);
  border-radius: 3px 4px 4px 3px;
}
.spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  position: relative;
  background: var(--paper);
  border-radius: 3px 5px 4px 3px;
}
html:not(.js) .spread + .spread {
  border-top: 5px double var(--line);
  margin-top: 12px;
}
.leaf {
  position: relative;
  min-width: 0;
  min-height: clamp(490px, 70svh, 785px);
  display: flex;
  flex-direction: column;
  padding: 25px clamp(28px, 3.9vw, 59px) 20px;
  isolation: isolate;
  color: var(--ink);
  background-color: var(--paper);
}
.leaf.left {
  border-radius: 3px 0 0 3px;
  background-image: linear-gradient(
    90deg,
    #fbf8ed 0%,
    transparent 8%,
    transparent 76%,
    #a08b5210 95%,
    #7162492b 99.6%,
    #9d8c6980
  );
}
.leaf.right {
  padding-left: clamp(35px, 4vw, 64px);
  border-radius: 0 4px 4px 0;
  background-image: linear-gradient(
    90deg,
    #73685154 0,
    #baac8f4d 0.65%,
    #bbb0921f 2%,
    transparent 8%,
    transparent 94%,
    #c6b88e16
  );
}
.running,
.folio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.running {
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #626256;
  min-height: 21px;
  padding: 0 0 7px;
  border-bottom: 1px solid var(--line);
}
.running-tag {
  color: var(--blue);
}
.running span:last-child {
  text-align: right;
}
.copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 0 22px;
  position: relative;
  z-index: 1;
}
.chapter-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.09em;
  color: var(--blue);
}
.chapter-kicker i {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
}
h1,
.copy h2,
#index-title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.049em;
}
h1,
h2 {
  line-height: 0.88;
}
.copy h1 {
  font-size: clamp(88px, 8.7vw, 141px);
  margin: 18px 0 16px;
}
.copy h2 {
  font-size: clamp(57px, 5.9vw, 92px);
  margin: 17px 0 19px;
  line-height: 0.94;
}
.copy h1 span,
.copy h1 em,
.copy h2 span,
.copy h2 em {
  display: block;
}
.copy h1 em,
.copy h2 em,
#index-title em {
  color: var(--blue);
  font-weight: 400;
}
.body-copy {
  font-size: clamp(14px, 1.06vw, 16.5px);
  line-height: 1.56;
  letter-spacing: -0.012em;
  max-width: 39ch;
  color: #47483f;
}
.cover-left .body-copy {
  max-width: 38ch;
  font-size: clamp(15px, 1.16vw, 18px);
  line-height: 1.47;
}
.body-copy p + p {
  margin-top: 9px;
}
.primary {
  font-size: 13px;
  gap: 18px;
  padding: 10px 15px 10px 17px;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 4px;
  font-weight: 550;
}
.primary:hover {
  background: #1d2d7b;
}
.cover-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
}
.copy > .primary,
.copy > .source {
  margin-top: 20px;
}
.source {
  color: var(--blue);
  font-size: 13px;
  gap: 6px;
  line-height: 1.45;
  padding: 5px 0;
  font-weight: 600;
  border-bottom: 1px solid #2b409a6b;
}
.folio {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.015em;
  color: #67675c;
}
.folio > span {
  gap: 5px;
}
.folio b {
  font-weight: 400;
  color: #4a4b40;
}
.art {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  position: relative;
  padding: 27px 0;
}
.cover-photo {
  position: relative;
  width: min(100%, 367px);
  margin: 8px 0 0;
  aspect-ratio: 0.975;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.instant,
.photo-back {
  position: absolute;
  background: #fffefa;
  border: 1px solid #d9d6c9;
  box-shadow: 0 4px 9px #4b432d26;
}
.instant {
  inset: 0 4% 0 1%;
  transform: rotate(-3deg);
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 0;
}
.photo-back {
  inset: 6% 3% 0 9%;
  transform: rotate(5deg);
  background: #eeeede;
  border: 7px solid #fffef7;
  background-image: linear-gradient(
    125deg,
    #a8ac96,
    #77755c 38%,
    #d1ba83 45%,
    #767156 48%,
    #d5c196
  );
}
.instant > img {
  width: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  flex: 1;
  min-height: 0;
  filter: saturate(0.9);
}
.instant figcaption {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  padding-left: 4px;
  color: #42413b;
  white-space: nowrap;
}
.instant figcaption span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.02em;
  font-style: normal;
  color: #77776b;
}
.tape {
  position: absolute;
  z-index: 1;
  left: 35%;
  top: -12px;
  width: 32%;
  height: 26px;
  transform: rotate(2deg);
  background:
    repeating-linear-gradient(95deg, #e5d8b17a 0 1px, transparent 1px 3px),
    #e3d5acb5;
  clip-path: polygon(
    1% 0,
    99% 0,
    98% 10%,
    100% 21%,
    98% 30%,
    100% 46%,
    99% 58%,
    100% 78%,
    98% 89%,
    100% 100%,
    0 100%,
    2% 83%,
    0 72%,
    1% 51%,
    0 40%,
    2% 26%,
    0 18%
  );
}
.seal {
  width: clamp(64px, 6.7vw, 93px);
  height: auto;
  position: absolute;
  bottom: -16px;
  right: -15px;
  transform: rotate(13deg);
  filter: drop-shadow(0 1px 0 #fff9);
  opacity: 0.95;
}
.plate {
  max-width: 100%;
  width: 100%;
  margin: 0;
  position: relative;
}
.plate-window {
  height: clamp(245px, 39svh, 440px);
  background: #e7e7da;
  overflow: hidden;
  position: relative;
  border: 1px solid #6668582f;
}
.plate-window img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plate.document .plate-window {
  background: #e3e5e1;
  padding: 12px;
}
.plate.document img {
  object-fit: contain;
  filter: drop-shadow(2px 4px 3px #3333);
}
.plate.diagram .plate-window {
  background: #e8ecf4;
  border-color: #33478833;
}
.plate.diagram img {
  object-fit: contain;
}
.plate figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.2;
  color: #4b4d43;
}
.fig-label {
  font-size: 9px;
  font-style: normal;
  color: var(--blue);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.reading-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 25px 0 0;
  min-height: 35px;
}
.contents-button {
  font-size: 12px;
  gap: 8px;
  color: #4c5044;
  font-weight: 550;
  padding: 8px 0;
}
.contents-button:hover {
  color: var(--blue);
}
.pager {
  gap: 12px;
  align-items: center;
}
.pager > span {
  font-size: 10px;
  color: #55574d;
}
.pager button,
.dialog-head button {
  width: 34px;
  height: 34px;
  background: #fafaf6;
  border: 1px solid #c7c8bd;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  padding: 0;
}
.pager button:last-child {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.pager button:disabled {
  opacity: 0.35;
}
.pager button:enabled:hover,
.dialog-head button:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.progress {
  display: flex;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.progress a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  min-height: 31px;
}
.progress a span {
  width: 11px;
  height: 2px;
  background: #b5b7ac;
  transition: background 0.12s;
}
.progress a[aria-current] span,
.progress a:hover span {
  background: var(--blue);
  height: 3px;
}
footer {
  background: #fafaf6;
  border-top: 1px solid #d7d8ce;
}
.footer-inner {
  min-height: 62px;
  gap: 20px;
  font-size: 12px;
}
.copyright {
  color: #63645c;
}
.footer-inner nav {
  flex-wrap: wrap;
  column-gap: 25px;
  row-gap: 8px;
}
.footer-inner a {
  gap: 4px;
}
dialog {
  border: 1px solid #c3bfaf;
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  width: min(545px, calc(100% - 32px));
  max-height: 82svh;
  padding: 22px 26px 23px;
  box-shadow: 0 25px 80px #161a2d44;
}
dialog::backdrop {
  background: #30342666;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-head button {
  width: 34px;
  height: 34px;
}
#index-title {
  font-size: 55px;
  line-height: 1;
  margin: 12px 0 19px;
}
.index-list {
  border-top: 1px solid var(--line);
}
.index-list a {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr) 16px;
  align-items: center;
  row-gap: 0;
  column-gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 9px 2px;
}
.index-list a > small {
  grid-row: 1/3;
  font-size: 10px;
  color: var(--blue);
}
.index-list a > strong {
  font-size: 16px;
  font-weight: 550;
}
.index-list a > span {
  grid-column: 2;
  font-size: 11px;
  color: var(--muted);
}
.index-list a > svg {
  grid-row: 1/3;
  grid-column: 3;
  color: var(--blue);
}
.index-list a:hover,
.index-list a[aria-current] {
  background: #2c40aa0a;
}
.archive-link {
  font-size: 13px;
  color: var(--blue);
  gap: 5px;
  margin-top: 16px;
}
@media (min-width: 1500px) {
  .desk-inner { max-width: 1520px; }
}
@media (min-width: 701px) and (max-height: 750px) {
  .leaf { min-height: clamp(440px, 70svh, 525px); }
}
@media (max-width: 960px) and (min-width: 701px) {
  .desk {
    padding-inline: 4vw;
  }
  .leaf {
    min-height: clamp(470px, min(70svh, 75vw), 635px);
    padding-inline: 24px;
  }
  .leaf.right {
    padding-left: 27px;
  }
  .running {
    font-size: 8px;
  }
  .body-copy {
    font-size: 14px;
  }
  .cover-left .body-copy {
    font-size: 15px;
  }
  .seal {
    right: -8px;
  }
  .cover-actions {
    gap: 10px;
  }
  .art {
    padding-inline: 5px;
  }
  .footer-inner nav {
    column-gap: 12px;
  }
}
@media (max-width: 700px) {
  .mast-inner {
    height: 56px;
    padding-inline: 20px;
  }
  .wordmark {
    font-size: 18px;
    gap: 6px;
  }
  .wordmark svg {
    width: 21px;
  }
  .mast-nav {
    gap: 14px;
    font-size: 12px;
  }
  .mast-nav .selected {
    display: none;
  }
  .contact-link {
    border: 0;
    padding-left: 0;
  }
  .desk {
    padding: 20px 15px 20px;
    justify-content: flex-start;
  }
  .desk-label {
    margin: 0 4px 11px;
  }
  .edition b {
    font-size: 19px;
  }
  .desk-right {
    font-size: 9px;
    gap: 6px;
  }
  .desk-right i {
    width: 12px;
  }
  .binding {
    padding: 3px 3px 5px;
    box-shadow: 0 13px 20px -15px #2125258a;
    border-radius: 5px;
  }
  .spread {
    display: flex;
    flex-direction: column;
  }
  .leaf {
    padding: 16px 22px;
    min-height: 0;
  }
  .leaf.left {
    border-radius: 2px 2px 0 0;
    background-image: linear-gradient(
      90deg,
      #cbbd971f,
      transparent 4%,
      transparent 96%,
      #b3a5870d
    );
  }
  .leaf.right {
    padding: 0 22px 14px;
    background-image: linear-gradient(90deg, #cbbd971f, transparent 4%);
    border-radius: 0 0 2px 2px;
  }
  .running {
    font-size: 8px;
    min-height: 18px;
  }
  .left .folio,
  .right .running {
    display: none;
  }
  .copy {
    padding: 18px 0 0;
  }
  .chapter-kicker {
    font-size: 9px;
  }
  .copy h1 {
    font-size: clamp(66px, 14vw, 86px);
    margin: 8px 0 10px;
    line-height: 0.92;
    letter-spacing: -0.042em;
  }
  .copy h1 span,
  .copy h1 em {
    display: inline;
  }
  .copy h2 {
    font-size: clamp(48px, 10.6vw, 70px);
    margin: 8px 0 12px;
    line-height: 0.96;
  }
  .copy h2 span,
  .copy h2 em {
    display: inline;
  }
  .body-copy,
  .cover-left .body-copy {
    font-size: 14px;
    line-height: 1.43;
    max-width: 51ch;
  }
  .body-copy p + p {
    margin-top: 7px;
  }
  .cover-actions {
    margin-top: 13px;
    gap: 16px;
  }
  .primary {
    padding: 8px 12px;
    font-size: 12px;
    gap: 12px;
  }
  .copy > .source {
    margin-top: 10px;
  }
  .art {
    padding: 9px 4px 21px;
  }
  .cover-photo {
    width: min(72%, 254px);
    aspect-ratio: 1.16;
    margin: 4px 0 0;
  }
  .instant {
    padding: 7px 7px 0;
  }
  .instant figcaption {
    height: 27px;
    font-size: 15px;
  }
  .instant figcaption span {
    font-size: 6px;
  }
  .tape {
    height: 17px;
    top: -8px;
  }
  .seal {
    width: 55px;
    bottom: -9px;
    right: -13px;
  }
  .plate-window {
    height: clamp(180px, 51vw, 295px);
  }
  .plate figcaption {
    font-size: 15px;
    margin-top: 7px;
  }
  .folio {
    font-size: 8px;
    padding-top: 6px;
  }
  .reading-tools {
    margin-top: 15px;
  }
  .progress {
    display: none;
  }
  .ribbon {
    height: 22px;
    bottom: -12px;
    right: 17%;
  }
  .footer-inner {
    padding: 16px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    font-size: 11px;
  }
  .footer-inner nav {
    column-gap: 15px;
    row-gap: 7px;
  }
  .footer-inner nav a {
    min-height: 22px;
  }
  .copyright {
    font-size: 10px;
  }
}
@media (max-width: 345px) {
  .mast-nav {
    gap: 9px;
  }
  .leaf {
    padding-inline: 15px;
  }
  .leaf.right {
    padding-inline: 15px;
  }
  .footer-inner nav {
    column-gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media print {
  .mast,
  .desk-label,
  .reading-tools,
  dialog,
  .ribbon {
    display: none;
  }
  .desk,
  .binding,
  .book-pages {
    display: block;
    background: white;
    box-shadow: none;
    padding: 0;
  }
  .desk-inner {
    max-width: none;
  }
  .leaf {
    min-height: 0;
  }
  .spread {
    break-inside: avoid;
  }
  .footer-inner {
    font-size: 9px;
  }
}
.plate-next {
  display: none;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  background: #fffcf6;
  border: 1px solid #c5c6b9;
  color: var(--blue);
  font: 9px var(--mono);
  border-radius: 10px;
  cursor: pointer;
}
.js .plate-next {
  display: inline-flex;
}
.plate-next:hover {
  border-color: var(--blue);
  background: #eceef6;
}
.plate-next b {
  font-weight: 400;
}
.right[data-plates] .running {
  position: relative;
  min-height: 21px;
}
@media (max-width: 700px) {
  .right[data-plates] .running {
    display: flex;
    border: 0;
    justify-content: flex-end;
    padding: 0;
  }
  .right[data-plates] .running > span {
    display: none;
  }
  .right[data-plates] .art {
    padding-top: 0;
  }
  .right.cover-right .running {
    position: absolute;
    top: 2px;
    right: 12px;
    z-index: 2;
  }
  .cover-photo {
    margin-top: 9px;
  }
}
.resume-link {
  float: right;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin-top: 17px;
  color: #55594d;
  font-size: 12px;
}
.resume-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.plate-next {
  min-height: 24px;
}
