.journal { color: var(--ink); }
.journal-wrap, .article-wrap { width: min(1160px, 89%); margin-inline: auto; }
.journal-cover {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  background: var(--dark);
  color: var(--cream);
}
.journal-cover > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(35px, 4.3vw, 75px) clamp(24px, 3vw, 54px) clamp(35px, 4.3vw, 75px) clamp(25px, 6vw, 105px);
}
.journal-kicker, .card-topic { color: var(--accent-ink); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.journal-cover .journal-kicker { color: var(--gold); }
.journal-cover h1 { font: 500 clamp(45px, 5.5vw, 84px)/1.22 var(--serif); margin: .16em 0 .26em; white-space: nowrap; }
.cover-intro { font: 500 clamp(14px, 1.15vw, 17px)/1.95 var(--serif); }
.cover-story-link { margin-top: clamp(19px, 2.2vw, 36px); border-top: 1px solid #8b9588; padding-top: 10px; }
.cover-story-link small { display: block; font-size: 11px; letter-spacing: .1em; color: var(--gold); }
.cover-story-link > span { font: 500 clamp(17px, 1.55vw, 23px)/1.8 var(--serif); }
.cover-story-link b { font: 17px/1 var(--sans); padding-inline-start: .7em; }
.cover-story-link:hover > span { text-decoration: underline; text-underline-offset: 5px; }
.journal-cover figure { position: relative; min-height: clamp(315px, 31vw, 450px); overflow: hidden; }
.journal-cover figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 38%; }
.cover-photo-story { display: block; position: absolute; inset: 0; }
.journal-cover figcaption { pointer-events: none; position: absolute; bottom: 13px; right: 16px; background: #1e281dcf; padding: 3px 8px; color: white; }

.journal-directory { margin-block: 28px 0; }
.journal-topics { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.journal-topics a { display: flex; align-items: baseline; gap: 8px; padding: 15px 13px; font: 500 clamp(15px,1.4vw,19px)/1.5 var(--serif); }
.journal-topics a + a { border-left: 1px solid var(--line); }
.journal-topics small { color: var(--mute); font: 12px var(--sans); }
.journal-topics a > span:last-child { margin-left: auto; color: var(--accent-ink); font: 14px var(--sans); }
.journal-topics a:hover { background: var(--cream); }
#finder { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 13px; margin-top: 17px; font-size: 13px; }
#finder label { color: var(--mute); }
.finder-input { display: flex; align-items: center; gap: 10px; }
#finder input { border-radius: 0; background: var(--paper); border: 1px solid #b9b4a7; padding: 7px 12px; width: min(290px, 55vw); max-width: 100%; }
#finder button { border: 0; background: none; color: var(--accent-ink); }
#matches { color: var(--mute); }

.shelf { padding-block: clamp(30px, 3vw, 48px) clamp(30px, 4vw, 62px); }
.shelf + .shelf { border-top: 1px solid var(--line); }
.shelf-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 24px; margin-bottom: 17px; }
.shelf-title h2, .related h2 { font-size: clamp(27px, 3vw, 42px); line-height: 1.5; }
.shelf-title p { color: var(--mute); font-size: 13px; }
.card-grid, .related ul, .article-dishes ul { list-style: none; padding: 0; }
.card-grid { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); column-gap: clamp(25px, 5vw, 75px); }
.story-card { min-width: 0; grid-column: 2; border-bottom: 1px solid var(--line); }
.story-card-link { display: block; padding: 13px 0; }
.story-card h3 { font: 500 clamp(17px, 1.45vw, 23px)/1.6 var(--serif); }
.story-card a:hover h3, .related a:hover, .story-toc a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.card-lead { font-size: 13px; line-height: 1.9; color: var(--mute); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cover-story { grid-area: 1 / 1 / span var(--shelf-rows) / 2; border: 0; }
.cover-story .story-card-link { padding: 0; }
.cover-story img { width: 100%; aspect-ratio: 1.5; height: auto; object-fit: cover; }
.cover-story h3 { margin-top: 12px; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.55; }
.cover-story .card-lead { display: block; margin-top: 9px; }
.searching .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.searching .story-card { grid-area: auto; border-block: 1px solid var(--line); margin-bottom: -1px; }
.searching .story-card-link { padding: 15px 0 8px; }
.searching .story-card h3 { font-size: clamp(18px, 1.7vw, 24px); margin-top: 0; }
.searching .story-card img { display: none; }
.searching .card-lead { display: -webkit-box; -webkit-line-clamp: 2; margin: 3px 0 8px; }
.searching .story-card:has(.search-excerpt:not([hidden])) .card-lead { display: none; }
.search-excerpt { font-size: 13px; line-height: 1.8; padding-bottom: 12px; color: var(--mute); }
.search-excerpt span { display: block; }
.search-excerpt a, .back-to-contents { display: inline-block; margin-top: 5px; text-decoration: underline; text-underline-offset: 3px; color: var(--accent-ink); }

.trail { color: var(--mute); font-size: 12px; padding-block: 21px; }
.trail a, .sources a, .related a { text-decoration: underline; text-underline-offset: 3px; }
.story-head { max-width: 850px; margin: 20px auto 25px; }
.story-head h1 { margin: 12px 0 16px; font: 500 clamp(33px, 4vw, 62px)/1.45 var(--serif); letter-spacing: .025em; }
.story-lead { font: 500 clamp(16px, 1.6vw, 22px)/1.9 var(--serif); }
.byline { display: flex; flex-wrap: wrap; gap: .3em .65em; color: var(--mute); font-size: 12px; margin-top: 16px; }
.byline span { border-left: 1px solid var(--line); padding-left: .72em; }
.story-photo { max-width: 850px; margin-inline: auto; }
.story-photo img { width: 100%; max-height: 400px; aspect-ratio: 2.15; object-fit: cover; object-position: 50% 52%; }
.facing-photos { display: grid; max-width: 960px; margin: auto; grid-template-columns: 1fr 1fr; gap: 16px; }
.facing-photos .story-photo { margin: 0; }
.facing-photos img { width: 100%; aspect-ratio: 1.5; max-height: none; }
.story-photo.portrait { max-width: 400px; }
.story-photo.portrait img { max-height: none; aspect-ratio: auto; }
.inside-photo { margin: 0 0 18px; }
.inside-photo img { width: 100%; height: auto; }
.story-reader { display: grid; grid-template-columns: minmax(150px, 225px) minmax(0, 650px); gap: clamp(25px, 5vw, 77px); justify-content: center; align-items: start; margin: 44px 0; }
.story-toc { border-top: 2px solid var(--ink); padding-top: 12px; }
.story-toc strong { font-size: 13px; }
.story-toc ol { font-size: 13px; padding-left: 22px; color: var(--mute); }
.story-toc li { margin: 6px 0; padding-left: 1px; }
.story-toc a { display: block; }
.story-toc a[aria-current] { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.story-prose h2 { font-size: clamp(23px, 2.3vw, 32px); line-height: 1.6; margin: 0 0 14px; }
.story-prose p { margin: 0 0 1.35em; line-height: 2.03; font-size: 16px; letter-spacing: .025em; overflow-wrap: break-word; }
.story-prose section { margin-bottom: 36px; }
.sources { padding: 20px 0; border-top: 1px solid var(--line); }
.sources h2 { font-size: 19px; }
.sources ul { padding-left: 18px; }
.sources li { margin-top: 7px; font-size: 13px; overflow-wrap: anywhere; }
.back-to-contents { font-size: 13px; }
.article-dishes { margin: 0 0 30px; padding: clamp(19px, 2.3vw, 32px); border-top: 2px solid var(--accent-ink); background: var(--cream); }
.article-dishes h2 { font-size: clamp(21px, 2vw, 28px); margin-bottom: 4px; }
.article-dishes p { color: var(--mute); font-size: 13px; margin-bottom: 12px; }
.article-dishes li { border-top: 1px solid var(--line); }
.article-dishes a { display: flex; align-items: baseline; gap: 12px; padding-block: 9px; font-size: 15px; }
.article-dishes a.article-diagram { display: inline-block; padding: 12px 0 0; border-top: 1px solid var(--line); width: 100%; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; font-size: 13px; }
.article-dishes b { font-weight: 500; margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.article-dishes a > :last-child { color: var(--accent-ink); }
.article-dishes a:hover > :first-child { text-decoration: underline; text-underline-offset: 3px; }
.related { max-width: 850px; margin: 32px auto 65px; border-top: 1px solid var(--ink); padding-top: 20px; }
.related li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.related p { font-size: 13px; margin-top: 20px; }
.reader-actions { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; font-size: 14px; }
.reader-actions a:last-child { color: var(--accent-ink); }

@media (min-width: 821px) and (min-height: 640px) {
  .story-toc { position: sticky; top: 25px; }
}
@media (max-width: 820px) {
  .story-reader { grid-template-columns: 1fr; }
  .story-toc ol { columns: 2; }
  .story-toc li { break-inside: avoid; }
}
@media (max-width: 700px) {
  .journal-cover { grid-template-columns: 1fr; }
  .journal-cover > div { padding: 25px 5.5% 24px; }
  .journal-cover h1 { font-size: 49px; }
  .journal-cover figure { min-height: 0; height: clamp(170px, 40vw, 245px); }
  .journal-cover figure img { object-position: center 35%; }
  .cover-intro { font-size: 14px; }
  .cover-intro br { display: none; }
  .cover-story-link { margin-top: 12px; padding-top: 6px; }
  .journal-directory { margin-top: 20px; }
  .journal-topics { grid-template-columns: repeat(2, 1fr); }
  .journal-topics a { padding: 10px 9px; font-size: 15px; }
  .journal-topics a:nth-child(odd) { border-left: 0; }
  .journal-topics a:nth-child(n+3) { border-top: 1px solid var(--line); }
  #finder { gap: 5px 9px; }
  #finder input { font-size: 16px; }
  .finder-input { flex-wrap: wrap; }
  #matches:not(:empty) { flex-basis: 100%; }
  .card-grid, .searching .card-grid { display: block; }
  .story-card-link { padding: 12px 0; }
  .cover-story { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .cover-story img { aspect-ratio: 1.95; }
  .cover-story h3 { margin-top: 9px; font-size: 24px; }
  .cover-story .card-lead { margin-top: 5px; }
  .searching .cover-story { padding: 0; }
  .story-head { margin: 6px 0 18px; }
  .story-photo img { aspect-ratio: 1.6; }
  .trail { font-size: 11px; }
  .story-toc ol { columns: 1; }
  .story-reader { margin-block: 28px; }
  .story-prose p { font-size: 16px; line-height: 1.94; }
  .facing-photos { grid-template-columns: 1fr; }
  .story-photo.portrait { max-width: 300px; }
}
