/* Keep the illustrated books within the viewport on narrow phones. */
@media (max-width: 530px) {
  .bookshelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-inline: .45rem .65rem; }
  .book, .book:hover, .book[aria-expanded="true"] { min-width: 0; min-height: 14.5rem; transform: none; overflow-wrap: anywhere; }
}
.journey-timeline { margin-block: 1.4rem; }
.journey-timeline summary { cursor: pointer; min-height: 44px; align-content: center; }
.journey-timeline ol { margin: .45rem 0 .85rem 1.4rem; }
.journey-timeline li + li { margin-top: .4rem; }
.talk-page { margin-top: .8rem; }
.journey-page-title .lede { max-width: 42rem; font: 1.2rem/1.6 var(--serif); margin-top: 1rem; }
.journey-page-title .prose, .journey-contact { margin-top: 1.5rem; }
.journey-about h2, .journey-brief h2, .journey-letter h2 { font: 700 clamp(1.5rem, 3vw, 2.4rem)/1.18 var(--display); margin: .45rem 0 .9rem; }
.journey-about .prose p, .journey-talk .prose p { margin-bottom: .85rem; }
.journey-about figure, .journey-talk figure { margin-inline: auto; }
.journey-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.journey-letter { padding: 1.5rem; background: var(--cream-hi); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--orange); overflow-wrap: anywhere; }
.journey-letter p, .journey-brief p { margin-bottom: .9rem; max-width: 60ch; }
.journey-brief .related { margin-top: 1rem; }
.journey-sources h2 { font: 700 clamp(2rem, 5vw, 3.6rem)/1 var(--display); }
.journey-sources .section-head { margin-bottom: 1.4rem; }
.talk-video { margin-top: 2rem; }
.talk-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.story-player:not(.is-enhanced) { height: auto; }
.story-player:not(.is-enhanced) .story-panel { display: grid; position: relative; inset: auto; opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.story-player:not(.is-enhanced) .story-visual { display: none; }
.story-player:not(.is-enhanced) .story-copy { grid-column: 1 / -1; }
@media (max-width: 760px) { .journey-contact { grid-template-columns: 1fr; } }
