/* Readable supporting text and generous touch controls at every breakpoint. */
.eyebrow, .book-category, .result-count, .book-author, .link-explainer,
.purchase-note, .hero-footnote, .project-note, .private-footer,
.dialog-toolbar > span, .book-facts dt, .book-facts dd,
footer p, .footer-brand span, #author .author-copy .author-bio-label,
.excerpt-text .excerpt-label, .excerpt-text .excerpt-end {
  font-size: max(16px, .8em);
}
.book-description, #books .book-card .book-description,
.author-copy p:not(.eyebrow, .author-bio-label),
#author .author-copy p:not(.eyebrow, .author-bio-label),
.dialog-description p, .studio-intro > p,
.project-copy > p:not(.eyebrow, .project-subtitle, .project-note) {
  font-size: max(18px, .95em);
  line-height: 1.75;
}
.filter, .search-box input, .text-size, .detail-link,
.dialog-toolbar button, .featured-label a, .hero-actions .quiet-link,
.hero-actions .button, .studio-topics, .outline, .light {
  font-size: max(16px, .85em);
}
.hero .eyebrow, .featured-label .eyebrow, .project-copy .eyebrow {
  font-size: max(14px, .7em);
}
.text-size, .search-box button, .featured-label a { min-height: 44px; }
.featured-label a { display: inline-flex; align-items: center; }
.search-box button { min-width: 44px; }
.book-card h3 { overflow-wrap: anywhere; }
.book-subtitle, .dialog-subtitle, .project-subtitle { overflow-wrap: anywhere; }
.dialog-browse {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 38px;
  border-top: 1px solid var(--line);
}
.dialog-browse .button { margin: 0; min-height: 48px; }
.dialog-browse .outline { color: var(--teal); background: var(--paper); }
.dialog-browse .outline:hover { background: var(--ivory); }
#book-position { font-size: max(16px, .8em); text-align: center; }
.dialog-open .site-header { position: sticky; }
dialog { max-height: 90vh; max-height: 90dvh; }
@media (max-width: 1100px) {
  .header-inner nav a { font-size: max(16px, .9em); }
  .hero-display { height: 550px; }
}
@media (max-width: 850px) {
  .hero-display { height: 515px; }
  .hero h1 { font-size: clamp(2.9rem, 6.2vw, 3.3rem); }
  .dialog-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .dialog-browse { padding: 22px 28px; gap: 12px; }
  .studio-intro { grid-template-columns: 1fr; }
  .studio-topics { padding-left: 24px; }
}
@media (max-width: 620px) {
  .hero-display { height: 490px; }
  .dialog-layout { grid-template-columns: minmax(0, 1fr); }
  .dialog-browse { flex-wrap: wrap; padding: 20px 25px; }
  .dialog-browse .button { flex: 1; padding: 12px 10px; gap: 8px; }
  #book-position { order: -1; flex-basis: 100%; }
  #books .book-card .cover-stage img { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
