@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 112px 1fr auto;
    min-height: 92px;
  }

  .brand {
    width: 106px;
  }

  .main-nav {
    gap: 0;
    font-size: 15px;
  }

  .features,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features article:nth-child(2n) {
    border-right: 0;
  }

  .staff-admin-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .staff-panel-header,
  .staff-toolbar,
  .staff-grid,
  .staff-grid-wide,
  .staff-detail-head,
  .staff-detail-grid {
    grid-template-columns: 1fr;
  }

  .staff-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-member-band,
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-filters {
    position: static;
  }

  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-variant-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .shop-placeholder-grid {
    grid-template-columns: 1fr;
  }

  .shop-card-strip,
  .shop-product-grid,
  .shop-checkout-grid,
  [data-shop-shipping-fields],
  .shop-variant-row,
  .shop-detail-card {
    grid-template-columns: 1fr;
  }

  .shop-member-actions,
  .shop-cart-line {
    align-items: stretch;
    flex-direction: column;
  }

  .site-pages-table th,
  .site-pages-table td {
    padding: 10px;
  }

  .site-header {
    grid-template-columns: 86px 1fr auto;
    min-height: 82px;
    padding: 0 18px;
  }

  .brand {
    width: 82px;
    margin-top: 8px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    inset: 82px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid var(--line);
  }

  body.menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 18px 6px;
    border-bottom: 1px solid var(--line);
  }

  .account-link {
    padding: 12px 14px;
    font-size: 15px;
  }

  .hero {
    min-height: 620px;
    padding-top: 70px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.93)),
      url("../../cover-group.png") center center / cover no-repeat,
      #080808;
  }

  .hero-copy {
    align-self: start;
  }

  .features,
  .events-membership,
  .membership-panel,
  .footer-grid,
  .split-section,
  .contact-grid,
  .gallery-page-grid {
    grid-template-columns: 1fr;
  }

  .features article,
  .features article:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
  }

  .section-top {
    flex-direction: column;
  }

  .membership-panel img {
    max-width: 280px;
    justify-self: center;
  }

  .footer-map {
    width: min(100%, 360px);
    justify-self: start;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .history-line {
    grid-template-columns: 1fr;
  }

  .history-line article {
    border-right: 0;
    border-bottom: 1px solid rgba(220, 32, 39, 0.45);
  }

  .history-line article:last-child {
    border-bottom: 0;
  }

  .application-shell {
    grid-template-columns: 1fr;
  }

  .application-progress {
    position: static;
  }

  .staff-admin-shell {
    grid-template-columns: 1fr;
  }

  .staff-menu-toggle {
    position: sticky;
    top: 84px;
    z-index: 18;
    display: block;
    width: calc(100% - 32px);
    margin: 14px 16px 0;
    padding: 12px 14px;
  }

  .staff-sidebar {
    position: fixed;
    z-index: 20;
    inset: 82px auto 0 0;
    width: min(82vw, 300px);
    min-height: 0;
    transform: translateX(-102%);
    transition: transform 0.2s ease;
  }

  .staff-sidebar.is-open {
    transform: translateX(0);
  }

  .staff-main {
    padding: 24px 16px 34px;
  }

  .staff-panel-header,
  .staff-toolbar,
  .staff-kpi-grid,
  .staff-save-bar,
  .staff-grid,
  .staff-grid-wide,
  .staff-detail-head,
  .staff-detail-grid,
  .event-facts {
    grid-template-columns: 1fr;
  }

  .staff-list-wide {
    grid-template-columns: 1fr;
  }

  .stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid,
  .plan-grid,
  .card-choice-grid,
  .summary-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .event-route-point,
  .member-event-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 54px;
  }

  .hero-kicker {
    font-size: 25px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 66px 1fr auto;
  }

  .event-card div {
    padding: 0 14px;
  }

  .stepper {
    grid-template-columns: 1fr;
  }

  .form-actions,
  .final-actions {
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .site-header {
    grid-template-columns: 68px 44px minmax(0, 1fr);
    gap: 8px;
    padding: 0 10px;
  }

  .brand {
    width: 66px;
  }

  .menu-toggle {
    justify-self: center;
  }

  .account-link {
    min-width: 0;
    overflow: hidden;
    padding: 10px 8px;
    font-size: 13px;
    text-overflow: ellipsis;
  }

  .account-link::before {
    margin-right: 4px;
  }
}
