@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-grid; }
  .mobile-nav {
    position: fixed; inset: var(--header-height) 0 auto;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 20px; max-height: calc(100vh - var(--header-height)); overflow-y: auto;
  }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 12px 4px; border-bottom: 1px solid var(--border); text-decoration: none; }
  .hero { min-height: auto; padding: 74px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-aside { min-height: 120px; border-left: 0; padding: 0; }
  .hero-portrait { width: min(100%, 440px); }
  .dimension-grid { grid-template-columns: 1fr; }
  .dimension { border-right: 0; border-bottom: 1px solid var(--border); }
  .dimension:last-child { border-bottom: 0; }
  .dimension h3 { margin-top: 26px; }
  .book-strip { grid-template-columns: repeat(3, 1fr); }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .book-detail { grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); }
  .book-info { padding: 18px; }
  .status { white-space: normal; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --header-height: 68px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .section-heading p { justify-self: start; }
  .book-strip { grid-template-columns: repeat(2, 1fr); }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; }
  .entry { grid-template-columns: 1fr; gap: 10px; }
  .status { justify-self: start; }
  .books-grid { grid-template-columns: 1fr; }
  .book-detail { grid-template-columns: minmax(110px, .75fr) minmax(0, 1fr); }
  .book-detail .book-cover { min-height: 280px; }
  .book-info { padding: 16px; }
  .status { white-space: normal; border-radius: 12px; }
  .link-list { grid-template-columns: 1fr; }
  .community-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; gap: 6px; }
}

@media (max-width: 390px) {
  h1 { font-size: 2.75rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .book-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-aside { padding-left: 18px; }
  .community-gallery { grid-template-columns: 1fr; }
}
