@media (max-width: 980px) {
  .masthead-main { min-height: 98px; grid-template-columns: 1fr auto; }
  .masthead-main__statement { display: none; }
  .masthead-navigation__inner { min-height: 54px; }
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .no-js .menu-toggle { display: none; }
  .no-js .mobile-panel { display: block; }
  .masthead-navigation__latest { margin-inline-start: auto; }
  .topic-nav__inner { justify-content: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 1.25rem, 1280px); }
  body { font-size: 16px; }
  .masthead-strip time { display: none; }
  .masthead-main { min-height: 82px; gap: .75rem; }
  .masthead-navigation__latest { font-size: .82rem; }
  .brand__name { font-size: 2rem; }
  .brand__logo { max-height: 58px; max-width: 190px; }
  .brand__tagline { display: none; }
  .cart-link { font-size: 0; }
  .cart-count { font-size: .72rem; }
  .search-form__row { flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 1rem; }
}

@media (max-width: 320px) {
  :root { --shell: calc(100% - 1rem); }
  .brand__name { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
