/* Keep narrow layouts readable without constraining browser zoom. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.footer-bottom { flex-wrap: wrap; }
.footer-bottom label { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer-bottom select { font: inherit; color: inherit; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 6px; padding: 6px; }
@media (max-width: 760px) {
  body { font-size: clamp(1rem, .93rem + .24vw, 1.0625rem); }
  main h1, main :is(.dev-hero,.graytan,.stark,.production-hero,.mission-page,.team-section) h1 {
    font-size: clamp(2rem, 1.25rem + 4.4vw, 3.75rem);
  }
  main .hero h1 { font-size: clamp(3.1rem, 16vw, 7.25rem); }
  main h2, main :is(.graytan,.production-credits,.event-details,.team-section,.timeline-section,.company-section,.announcement-card) h2 {
    font-size: clamp(1.75rem, 1.12rem + 3.2vw, 3.125rem);
  }
  main h3, main .graytan h3, main .profile h3 {
    font-size: clamp(1.25rem, 1.03rem + 1.4vw, 1.875rem);
  }
  main :is(.intro,.dev-lede,.stark-lede,.mission-lede,.graytan .gray-lede) {
    font-size: clamp(1.125rem, 1rem + 1.1vw, 1.625rem);
    line-height: 1.4;
  }
  main :is(.eyebrow,.gray-label), .footer-links h2 { font-size: .8125rem; }
  .main-nav { min-width: 0; font-size: .875rem; }
  .nav-group summary { min-height: 44px; overflow-wrap: anywhere; }
  .footer-bottom, .footer-bottom select { font-size: .875rem; }
  .section-expand,.section-exit { width: 44px; height: 44px; }
  .footer-grid > *, .projects > *, .company-grid > *, .team-grid > * { min-width: 0; }
}
@media (max-width: 360px) {
  .footer-grid { grid-template-columns: minmax(0,1fr); }
  .main-nav { column-gap: 5px; }
}
