/* Compact navigation switches earlier so medium-width browser windows do not clip. */
@media (min-width: 821px) and (max-width: 920px) {
  .container { width: min(100% - 32px, 680px); }
  .topline { display: none; }
  .site-header { height: 68px; }
  .menu-btn { display: flex; margin-left: auto; width: 40px; height: 40px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; }
  .menu-btn span { width: 22px; height: 2px; background: var(--navy); }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; margin-left: 0; background: #fff; padding: 15px 24px; box-shadow: 0 14px 30px rgba(0,0,0,.08); flex-direction: column; align-items: flex-start; }
  .main-nav.open { display: flex; }
  .nav-actions { display: none; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding: 75px 0 100px; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero h1 { font-size: 39px; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hero-stats div { min-width: 0; flex: 1; margin-right: 14px; padding-right: 14px; }
}

@media (max-width: 920px) {
  .hero-copy { min-width: 0; width: 100%; }
  .search-panel { width: 100%; }
  .hero h1 { width: auto; }
  .hero-stats { width: 100%; }
}
