@font-face {
  font-family: Fraunces;
  src: url('/assets/fraunces.woff') format('woff');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Itim;
  src: url('/assets/itim.woff') format('woff');
  font-display: swap;
}
:root {
  --paper: #faf5e8;
  --ink: #183f3a;
  --bay: #245147;
  --red: #a33826;
  --rule: #b9baa7;
  --serif: Fraunces, Georgia, serif;
  --story: Itim, 'Trebuchet MS', sans-serif;
  font: 16px/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid #ac4328; outline-offset: 4px; }
::selection { background: #efc062; color: #123c36; }
.wrap { width: min(1240px, 88%); margin-inline: auto; }
.skip { position: absolute; z-index: 4; top: -5rem; left: 1rem; padding: .6rem; background: white; }
.skip:focus { top: .5rem; }
.mast { background: var(--paper); border-bottom: 1px solid #b7ad8c; }
.mast-inner, .foot, .mast nav, .foot nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mast-inner { min-height: 69px; }
.wordmark { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; white-space: nowrap; font: 620 clamp(1.1rem, 1.6vw, 1.48rem)/1 var(--serif); letter-spacing: -.045em; }
.wordmark img { width: 1.6em; height: auto; }
.mast nav, .foot nav { gap: clamp(18px, 3vw, 48px); }
.mast nav a, .foot nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .95rem; font-weight: 560; }
.mast nav a:hover, .mast nav a[aria-current], .foot nav a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 510; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
h2 { font-size: clamp(2.15rem, 4.5vw, 4.2rem); }
h3 { font-size: clamp(1.45rem, 2.6vw, 2.4rem); }
.frontispiece { position: relative; isolation: isolate; background: #f5dfad; }
.frontispiece picture, .frontispiece picture img { display: block; width: 100%; height: auto; }
.frontispiece picture img { aspect-ratio: 1942/809; }
.imprint { position: absolute; left: 46%; top: 15%; transform: translateX(-50%); width: 49%; text-align: center; color: #143e37; }
.imprint h1 { font: 595 clamp(3.15rem, 7.6vw, 10.6rem)/.93 var(--serif); letter-spacing: -.065em; font-variation-settings: 'opsz' 120, 'SOFT' 40, 'WONK' 1; }
.imprint h1 span { display: flex; align-items: center; justify-content: center; gap: .22em; margin-top: .025em; font-size: .64em; letter-spacing: -.06em; }
.imprint h1 span::before, .imprint h1 span::after { content: ''; width: .64em; border-top: .035em solid currentColor; }
.imprint p { margin-top: clamp(10px, 1.5vw, 27px); font: 430 clamp(.95rem, 1.58vw, 1.68rem)/1.25 var(--serif); }
.press-link, .text-link { display: inline-flex; min-height: 44px; align-items: center; gap: .55em; font-weight: 650; text-decoration: underline; }
.press-link { margin-top: clamp(4px, .8vw, 14px); padding-inline: .9rem; border: 1px solid currentColor; border-radius: 3px; font-size: clamp(.8rem, 1.1vw, 1.05rem); text-decoration: none; }
.press-link:hover, .press-link:focus-visible { background: var(--ink); color: var(--paper); }
.press-link span, .text-link span, .arrow { display: inline-block; text-decoration: none; font-family: system-ui, sans-serif; }
.press-link:hover, .text-link:hover, .under:hover { text-decoration-thickness: 2px; }
.press-note { background: #1d4842; color: #fff5df; }
.press-columns { display: grid; grid-template-columns: .85fr 1.65fr; align-items: baseline; gap: 7%; padding-block: clamp(38px, 5vw, 80px); }
.press-columns h2 { font-size: clamp(2.2rem, 3.9vw, 3.65rem); }
.press-columns p:first-child { font: 440 clamp(1.5rem, 2.65vw, 2.6rem)/1.18 var(--serif); letter-spacing: -.03em; max-width: 32ch; }
.press-columns p + p { margin-top: 1rem; max-width: 65ch; line-height: 1.65; color: #efe8d3; }
.books { padding-block: clamp(36px, 5.5vw, 92px); }
.books > h2 { margin-bottom: clamp(20px, 2vw, 34px); }
.series-feature { position: relative; isolation: isolate; background: #f8de9f; }
.series-art { display: block; width: 100%; height: auto; }
.series-copy { position: absolute; inset: 10% auto auto 4%; width: 32%; color: #233d39; }
.series-copy h1, .series-copy h3 { font: 400 clamp(2rem, 4.2vw, 4.7rem)/.98 var(--story); letter-spacing: -.045em; }
.series-copy p { font-size: clamp(.96rem, 1.21vw, 1.2rem); max-width: 31ch; margin: 1rem 0 .6rem; }
.reading-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 7vw, 110px); padding-top: clamp(28px, 4vw, 62px); }
.reading-pair > div > p { max-width: 43ch; margin: 1.15rem 0; }
.reading-pair cite { display: block; font: 400 1.28rem var(--serif); }
.reading-pair small { display: block; margin: .25rem 0 1rem; font-size: .86rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 46px; padding: .65rem 1.35rem; border-radius: 3px; text-decoration: none; font-weight: 640; color: var(--paper); background: var(--bay); }
.button:hover { background: #153b35; }
.button svg { width: 1.25rem; }
.moments { margin-top: 1rem; }
.moment { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 14px; padding-block: 10px; border-top: 1px solid var(--rule); text-decoration: none; }
.moment img { width: 100%; height: auto; }
.moment strong, .moment-title { display: block; }
.moment strong { font: 520 1.1rem var(--serif); }
.moment-title { margin-top: .18rem; font-size: .84rem; }
.moment:hover strong { text-decoration: underline; }
.arrow { color: var(--red); font-size: 1.2rem; }
footer { border-top: 1px solid var(--rule); }
.foot { min-height: 93px; padding-block: 15px; }
.shelf-feature .series-copy { left: 7%; top: 22%; }
.shelf-feature .series-copy h1 { font-size: clamp(2.6rem, 5vw, 5.6rem); }
.topic-index { background: var(--paper); padding-block: .75rem; }
.topic-links { display: flex; flex-wrap: wrap; gap: 6px; }
.moment-picker { display: none; }
.topic-index a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.shelf-section { border-top: 1px solid var(--rule); padding: clamp(26px, 3.8vw, 56px) 0; }
.shelf-section > p { margin: .65rem 0 1.6rem; }
.covers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px clamp(15px, 2.6vw, 40px); }
.cover-card img { display: block; width: 100%; height: auto; box-shadow: 1px 4px 9px #333c302c; }
.cover-card a { display: block; text-decoration: none; }
.under { display: inline-block; margin-top: .4rem; color: var(--bay); font-weight: 600; text-decoration: underline; }
.print-note { color: #f9f0da; background: #244840; }
.print-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6%; padding-block: clamp(32px, 5vw, 80px); }
.print-inner svg { width: 34px; margin-bottom: .5rem; }
.print-inner p { max-width: 47ch; }
.print-status { font-weight: 620; margin-top: .75rem; color: #ffdfa4; }
.print-inner .button { margin-top: .7rem; color: var(--ink); background: #f9efdb; }
.reader { max-width: 1160px; padding-block: 30px; }
.reader-title, .pager { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.reader-title { margin-bottom: 1.2rem; }
.reader h1 { font: 400 clamp(2.15rem, 4.3vw, 3.7rem)/1 var(--story); }
.reader-title p { flex-shrink: 0; }
.reader figure { position: relative; }
.reader picture img { display: block; width: 100%; height: auto; }
.reader figcaption { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.pager { align-items: center; padding: .75rem 0; }
.pager a { display: inline-flex; align-items: center; min-height: 44px; }
.pager span { font-size: .9rem; }
.ending { border-top: 1px solid var(--rule); margin-top: .5rem; padding-block: 1.8rem; }
.ending p { margin: .65rem 0 1rem; }
@media (max-width: 900px) {
  .covers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .series-copy { width: 34%; inset-block-start: 7%; }
  .series-copy p { margin: .6rem 0 0; }
}
@media (max-width: 740px) {
  .wrap { width: 90%; }
  .mast-inner { min-height: 60px; }
  .mast nav { gap: 14px; }
  .mast nav a, .foot nav a { font-size: .86rem; }
  .press-columns, .reading-pair, .print-inner { grid-template-columns: 1fr; gap: 1.3rem; }
  .reading-pair { gap: 2.1rem; }
  .series-feature { display: flex; flex-direction: column; }
  .series-art { aspect-ratio: 2.15; object-fit: cover; object-position: right center; }
  .series-copy, .shelf-feature .series-copy { position: static; width: auto; padding: 18px 6% 22px; }
  .series-copy p { max-width: 47ch; }
  .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reader-title { display: block; }
  .reader-title p { margin-top: .4rem; }
  .reader figcaption { position: static; clip-path: none; width: auto; height: auto; overflow: visible; }
  .reader figcaption p { font: 1.4rem/1.4 var(--story); margin-top: .85rem; }
  .pager { margin-top: .9rem; border-top: 1px solid var(--rule); gap: .4rem; }
  .pager a, .pager span { font-size: .85rem; }
  .foot { flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .frontispiece picture img { aspect-ratio: 3/4; }
  .imprint { width: 91%; left: 50%; top: 11%; }
  .imprint h1 { font-size: clamp(3.05rem, 13.9vw, 6rem); }
  .imprint p { font-size: clamp(1rem, 3.9vw, 1.45rem); margin-top: 3.4vw; }
  .press-link { margin-top: .25rem; font-size: .85rem; }
}
@media (max-width: 540px) {
  .mast-inner { flex-direction: column; gap: 0; padding-top: 9px; }
  .mast nav { justify-content: center; gap: 1.7rem; }
  .mast .wordmark { font-size: 1.12rem; }
  .foot { flex-direction: column; gap: .25rem; padding-block: 20px 12px; }
}
@media (max-width: 380px) {
  .pager .button { padding-inline: .8rem; }
}

/* Keep the brand navigation within reach on the long editorial homepage. */
@media (min-height: 520px) {
  body[data-surface="home"] .mast { position: sticky; top: 0; z-index: 2; }
  #press, #books { scroll-margin-top: 72px; }
  body[data-surface="home"] :focus-visible { scroll-margin-top: 74px; }
}
@media (max-width: 540px) and (min-height: 520px) {
  #press, #books, body[data-surface="home"] :focus-visible { scroll-margin-top: 88px; }
}
#stories, .cover-card { scroll-margin-top: 12px; }
.topic-index a { gap: .45em; padding: .42rem .85rem; border: 1px solid var(--rule); border-radius: 3px; text-decoration: none; font-size: .92rem; }
.topic-index a span { font-size: .8em; font-variant-numeric: tabular-nums; }
.topic-index a:hover { border-color: var(--bay); }
.topic-index a[aria-current] { background: var(--bay); border-color: var(--bay); color: var(--paper); }
.cover-card { min-width: 0; align-self: start; }
.cover-card:target { outline: 2px solid var(--bay); outline-offset: 5px; }
.cover-card summary { display: block; cursor: pointer; list-style: none; }
.cover-card summary::-webkit-details-marker { display: none; }
.cover-title, .cover-moment { display: block; }
.cover-title { margin: .7rem 0 .25rem; font: 400 clamp(1.25rem, 2vw, 1.8rem)/1.04 var(--story); }
.cover-moment { font-size: .94rem; }
.disclosure { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-size: .9rem; font-weight: 630; color: var(--bay); }
.disclosure::before { content: ''; display: inline-block; width: .42em; height: .42em; border-right: 1.6px solid; border-bottom: 1.6px solid; transform: translateY(-.12em) rotate(45deg); }
.when-open, details[open] .when-closed { display: none; }
details[open] .when-open { display: inline; }
details[open] .disclosure::before { transform: translateY(.1em) rotate(225deg); }
.cover-card details[open] .back-copy { margin: 0; padding: .8rem 0; border-top: 1px solid var(--rule); font: 420 1.1rem/1.45 var(--serif); }
.back-copy:target { scroll-margin-block-start: 8rem; }
.cover-card summary:hover .disclosure, .cover-card a:hover .under { text-decoration: underline; }
summary:focus-visible { outline: 3px solid #ac4328; outline-offset: 4px; }
.pager { position: sticky; z-index: 1; bottom: 0; background: var(--paper); border-block: 1px solid var(--rule); gap: 6px; }
.page-numbers { display: inline-flex; align-items: center; gap: 3px; }
.page-numbers a { width: 44px; justify-content: center; border-radius: 3px; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.page-numbers a:hover { background: #e7e4d2; }
.page-numbers a[aria-current] { background: var(--bay); color: var(--paper); }
@media (max-width: 540px) {
  .topic-index a { font-size: .86rem; padding-inline: .6rem; }
  .pager { gap: 3px; padding-block: .35rem; }
  .pager .button { gap: .25em; padding-inline: .7rem; white-space: nowrap; }
  .page-numbers { gap: 1px; }
  .page-numbers a { width: 34px; font-size: .95rem; }
  .cover-card { scroll-margin-top: 68px; }
}

@media (max-width: 400px) {
  .next-word { display: none; }
}

@media (max-width: 540px) and (scripting: enabled) {
  .topic-index { position: sticky; z-index: 1; top: 0; padding-block: .5rem; }
  .topic-links { display: none; }
  .moment-picker { display: flex; align-items: center; gap: .75rem; font-size: .85rem; font-weight: 600; }
  .moment-picker select { min-width: 0; flex: 1; min-height: 44px; padding-inline: .45rem; color: var(--ink); background: var(--paper); border: 1px solid var(--bay); border-radius: 3px; font: inherit; }
  .moment-picker select:focus-visible { outline: 3px solid #ac4328; outline-offset: 2px; }
}

.collections { padding-block: clamp(28px, 4vw, 60px); }
.volumes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(30px,4vw,60px); }
.volume-card { position: relative; align-self: start; }
.volume-link { text-decoration: none; }
.volume-link::before { content: ''; position: absolute; inset: 0; }
.volume-link::after { content: ''; display: inline-block; width: .25em; height: .25em; margin: 0 .15em .12em .32em; border: solid var(--bay); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.volume-link:hover, .volume-link:focus-visible { text-decoration: underline; }
.volume-card img, .volume-intro img { display: block; width: 100%; height: auto; box-shadow: 1px 4px 9px #333c302c; }
.volume-card h3 { margin: .9rem 0 .5rem; }
.volume-card ul { list-style: none; margin: 0; padding: 0; }
.volume-card li { border-top: 1px solid var(--rule); }
.volume-card li a { position: relative; display: block; align-content: center; min-height: 44px; padding-block: .55rem; line-height: 1.35; text-decoration: none; }
.volume-card li a:hover, .volume-card li a:focus-visible { text-decoration: underline; }
.shelf-situation { display: none; }
.filtered .shelf-situation { display: block; margin-top: .2rem; font-size: .9rem; line-height: 1.4; color: var(--bay); }
.filtered li a { font-weight: 640; }
.shelf-situation { font-weight: 400; }
.filter-result:not(:empty) { margin: .15rem 0 1rem; font: 460 1.08rem/1.4 var(--serif); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding-block: .65rem; font-size: .88rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 40px; }
.volume-intro { display: grid; grid-template-columns: minmax(180px, 340px) minmax(0,1fr); grid-template-areas: 'cover title' 'cover copy'; column-gap: 6%; row-gap: .9rem; margin: .7rem 0 2.5rem; }
.volume-intro picture { grid-area: cover; align-self: center; }
.volume-intro h1 { grid-area: title; align-self: end; font-size: clamp(2.4rem, 5vw, 4.6rem); }
.volume-copy { grid-area: copy; }
.volume-intro p { max-width: 48ch; }
.volume-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.3rem; margin-top: 1rem; }
#contents .covers { margin-top: 1.25rem; }
@media (min-width: 741px) and (max-width: 900px) { .covers { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 900px) { .volumes { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .volumes { grid-template-columns: 1fr; gap: 1.75rem; }
  .volume-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto 1fr; column-gap: 1rem; align-items: start; }
  .volume-card[hidden] { display: none; }
  .volume-card picture { grid-row: span 2; }
  .volume-card h3 { margin: 0 0 .45rem; }
  .volume-intro { grid-template-columns: 42% minmax(0,1fr); grid-template-areas: 'cover title' 'copy copy'; gap: 1rem; margin: .4rem 0 1.6rem; }
  .volume-intro h1 { align-self: center; font-size: clamp(1.65rem, 7.25vw, 2.65rem); }
  .volume-actions { gap: .4rem 1rem; }
}
@media (max-width: 540px) {
  .covers { grid-template-columns: 1fr; gap: 1.2rem; }
  .cover-card > a { display: grid; grid-template-columns: 31% minmax(0, 1fr); column-gap: 1rem; align-content: start; }
  .cover-card summary { margin-inline-start: calc(31% + 1rem); }
  .cover-card picture { grid-column: 1; grid-row: 1 / span 3; }
  .cover-title { margin: 0 0 .25rem; font-size: 1.42rem; }
  .cover-moment { line-height: 1.35; }
  .cover-card .under { align-content: center; min-height: 44px; margin: 0; }
}
