* { box-sizing: border-box; }
html { color-scheme: light; background: #e8dec9; color: #2a2621; }
body { margin: 0; font-family: "Iowan Old Style", Baskerville, Georgia, serif; }
.mast { padding: 1rem clamp(1.25rem, 5vw, 5rem) 1.6rem; background: #efe4cc; }
.running, .folio { font: 650 .8rem/1.4 system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.running { color: #653e30; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ae9880; padding-bottom: .45rem; }
nav { display: flex; align-items: center; gap: .25rem; }
a { color: inherit; text-underline-offset: .2em; }
nav a { display: inline-grid; place-items: center; min-width: 2rem; min-height: 2.1rem; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2.55rem, 6vw, 6.6rem); font-weight: 500; line-height: 1.04; letter-spacing: -.052em; padding-top: .5rem; }
h1 em { color: #734436; font-weight: 400; }
.spread { --paper: #f1e4cb; --ink: #302a21; --accent: #80412e;
  background: var(--paper); color: var(--ink); position: relative; isolation: isolate; display: grid;
  grid-template-columns: 62% 38%; grid-template-rows: repeat(4, auto); }
.tone-2 { --paper: #1d303c; --ink: #fff3df; --accent: #e1ba87; }
.tone-3 { --paper: #eee0c8; --accent: #79452c; }
.spread::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mural) right center / cover; opacity: .055; pointer-events: none; }
.mural { align-self: center; grid-column: 1; grid-row: 1 / 5; display: block; width: 100%; height: auto; min-height: 0;
  aspect-ratio: 2 / 3; mask-image: linear-gradient(to right,#000 91%,transparent); }
.spread { min-height: 93vw; }
.beat { display: flex; align-items: center; grid-column: 2; grid-row: var(--row); }
.words { width: 100%; max-width: 37rem; padding: 1.15rem clamp(1.4rem, 3.5vw, 4.5rem) 1.15rem 1.25rem;
  font-size: clamp(1.12rem, 1.46vw, 1.65rem); line-height: 1.42; text-wrap: pretty; }
.words p + p { margin-top: .55em; }
.folio { color: var(--accent); }
h2 { font-weight: 500; font-size: clamp(2rem, 3.25vw, 4rem); letter-spacing: -.045em; line-height: 1.03; margin: .22em 0 .4em; }
.detail { display: none; }
.end { font-size: 1.45em; font-style: italic; color: var(--accent); }
footer { padding: 1.4rem 5vw; text-align: right; color: #593826; background: #efe4cc; }
@media (max-width: 68rem) {
  .mast { padding-bottom: 1rem; }
  .spread, .beat { display: block; min-height: 0; }
  .mural { display: none; }
  .detail { display: block; width: 100%; aspect-ratio: 1024 / var(--depth); background-image: var(--mural);
    background-size: 100% auto; background-repeat: no-repeat; background-position: center var(--position);
    mask-image: linear-gradient(to bottom, #000 94%, transparent); }
  .words { max-width: 42rem; margin: 0 auto; padding: .85rem max(1.25rem, 5vw) 1.3rem;
    font-size: clamp(1.12rem, 2.7vw, 1.38rem); line-height: 1.48; }
  .words header { margin-top: .2rem; }
  .words h2 { font-size: 2.15rem; }
}
.art-link { display: none; }
@media (max-width: 68rem) {
  .art-link { display: inline-block; margin-top: .85rem; font: 600 .88rem/1.5 system-ui, sans-serif; color: var(--accent); }
}
