@charset "UTF-8";
:root {
  --paper: #f1f3ef;
  --ink: #16242d;
  --muted: #66747b;
  --line: #b8c6c6;
  --water: #496f7a;
  --night: #1d3944;
  --serif: Iowan Old Style, Palatino Linotype, Book Antiqua, Georgia, serif;
  --sans: Avenir Next, Avenir, Segoe UI, sans-serif;
  --font-base: 1rem;
  --font-small: .875rem;
  --page-width: 1200px;
  --text-width: 40rem;
  --gutter: 3rem;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); background: var(--paper); font: var(--font-base) var(--serif); }
img { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .16em; }
a:hover { color: var(--water); }
a:focus-visible { outline: 3px solid var(--water); outline-offset: 4px; }
.container { width: min(var(--page-width), calc(100% - var(--gutter))); margin: 0 auto; }
.site-header { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--line); font: var(--font-small)/1 var(--sans); letter-spacing: .03em; }
.wordmark { flex: none; text-decoration: none; font-weight: 700; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1.4rem; }
.site-nav a { white-space: nowrap; text-decoration: none; text-underline-offset: .3em; }
.site-nav a:hover { text-decoration: underline; }
.opening { min-height: min(730px, calc(100vh - 5rem)); display: grid; grid-template-columns: minmax(0, .92fr) minmax(340px, 1.08fr); align-items: center; gap: clamp(3rem, 8vw, 9rem); padding: clamp(4rem, 10vh, 8rem) 0; }
.opening-copy { max-width: 34rem; }
h1, h2 { font-weight: 400; }
.opening h1 { margin: 0; font-size: clamp(4.5rem, 10vw, 8.5rem); line-height: .82; letter-spacing: -.075em; }
blockquote { max-width: 26rem; margin: 3rem 0 0; padding-left: 1.25rem; border-left: 2px solid var(--water); font-size: clamp(1.12rem, 2vw, 1.4rem); line-height: 1.55; }
.opening-image { margin: 0; align-self: stretch; min-height: 28rem; background: var(--night); }
.opening-image img { width: 100%; height: 100%; display: block; object-fit: contain; mix-blend-mode: screen; opacity: .86; }
.contents { padding: 7rem 0 6rem; }
.contents-heading { border-bottom: 2px solid var(--ink); padding-bottom: 1.1rem; }
.contents h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -.04em; }
.toc { max-width: var(--text-width); list-style: none; margin: 0; padding: 0; }
.toc li { display: grid; grid-template-columns: 2.75rem 1fr; gap: .6rem; padding: 1rem 0 .9rem; border-bottom: 1px solid var(--line); font-size: 1.16rem; line-height: 1.25; }
.toc-number { color: var(--muted); font: var(--font-small)/1.8 var(--sans); }
.toc-illustrated { margin-left: .4em; font-size: .85em; filter: grayscale(1); }
.story-layout { min-height: calc(100vh - 5rem); padding: clamp(5rem, 12vh, 10rem) 0 4rem; display: flex; flex-direction: column; }
.story-layout article { max-width: var(--text-width); margin-bottom: 5rem; }
.story-image { margin: 4rem 0 3rem; }
.story-image img { display: block; }
.story-text { font-size: clamp(1.15rem, 2vw, 1.32rem); line-height: 1.78; }
.story-text p { margin: 0 0 1.65em; }
.story-navigation { max-width: var(--text-width); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: auto; padding-top: 1.3rem; border-top: 1px solid var(--line); font: var(--font-small)/1.45 var(--sans); }
.story-navigation .next { text-align: right; }
@media (max-width: 700px) {
  :root { --gutter: 2rem; }
  .site-header { flex-wrap: wrap; row-gap: .7rem; padding: 1.1rem 0; }
  .opening { grid-template-columns: 1fr; gap: 3rem; min-height: auto; padding: 4rem 0; }
  .opening-image { min-height: 17rem; order: -1; }
  .opening h1 { font-size: clamp(4.5rem, 22vw, 7rem); }
  .contents { padding: 4rem 0; }
  .contents h2 { margin-top: .3rem; }
  .story-layout { padding-top: 4rem; }
}
