@media (max-width: 54rem) {
  .header-nav-wrapper {
    display: none !important;
  }

  header .container {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 0.9375rem;
  }

  .hero {
    padding: 9.375rem 1.25rem;
  }

  .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    flex-direction: row;
  }

  .header-title {
    flex: 1 1 auto;
    position: static; /* override absolute */
    transform: none; /* override centering trick */
    text-align: center;
    margin: 0;
  }

  .header-right {
    justify-content: flex-end;
  }

  .search-icon {
    font-size: 1.5rem;
    padding: 0.25rem 0.5rem;
  }

  .header-right a,
  .header-right .link-hover-underline {
    display: none !important;
  }

  .header-right .search-wrapper:not(.open) .search-dropdown,
  .header-right .search-wrapper:not(.open) input,
  .header-right .search-wrapper:not(.open) ul {
    display: none;
  }

  .site-title {
    font-size: 1.25rem;
  }

  .hamburger {
    font-size: 1.8rem;
    padding: 0.25rem 0.7rem;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--header-bg);
    z-index: 2000;
    display: none;
    flex-direction: column;
    align-items: center;
    padding-top: 4rem;
    overflow-y: auto;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-light, #fff);
    font-size: 2.2rem;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    cursor: pointer;
    z-index: 2100;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    opacity: 0.9;
    transition: opacity 0.2s;
  }

  .mobile-menu-close:hover,
  .mobile-menu-close:focus {
    opacity: 1;
  }

  .hamburger {
    display: block !important;
    position: relative;
    z-index: 2100;
  }

  /* Playlists Page */
  .playlist-page {
    padding: 1rem 0.25rem;
  }

  .pill-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }
  .pill {
    width: 100%;
    max-width: 6rem;
    text-align: center;
    font-size: var(--font-size-small);
    padding: 0.15rem 0.25rem;
  }

  .section-header {
    font-size: var(--font-size-section-heading-mobile);
    padding: 0.5rem 0;
    margin: 2rem 0 1rem 0;
    text-align: left;
  }
  .playlist-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem 0.5rem;
    margin-top: 1rem;
  }
  .playlist-card {
    padding: 1rem 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: none;
  }
  .playlist-title {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    text-align: center;
  }
  .playlist-subtitle {
    font-size: 1rem;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .spotify-embed {
    height: 18rem;
    margin-bottom: 0.5rem;
  }
  .playlist-meta {
    font-size: 0.95rem;
    flex-wrap: wrap;
    gap: 0.25rem;
    text-align: center;
  }
  .tag-pill {
    font-size: var(--font-size-small);
    display: inline-block;
    min-width: 4rem;
    text-align: center;
  }

  .artist-card {
    width: 100%;
  }

  .newsletter-iframe {
    height: 500px; /* mobile forms stretch a LOT */
  }
}
