@media (max-width: 1180px) {
  .brand img {
    width: 150px;
  }

  .site-nav a {
    font-size: 0.84rem;
    padding: 9px 7px;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 4px;
    max-height: calc(100vh - 100px);
    overflow: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    padding: 10px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .feature-strip,
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--border-color);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 128px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 58px;
  }

  .home-hero::before,
  .page-hero::before {
    inset: 38% -28% 12% 18%;
    opacity: 0.08;
  }

  .hero::after,
  .page-hero::after {
    width: 260px;
    height: 260px;
    right: -130px;
    bottom: -120px;
    border-width: 22px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  .hero__actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-band,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--border-color);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .timeline li,
  .event-card__layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip__media {
    min-height: 260px;
  }

  .tab-list {
    padding-bottom: 10px;
  }

  .tab-panel,
  .card__body {
    padding: 22px;
  }

  .card__footer {
    padding: 0 22px 22px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 460px) {
  .countdown__unit {
    min-height: 78px;
  }

  .page-hero {
    padding: 56px 0 48px;
  }

  .filter-controls {
    display: grid;
  }

  .filter-btn {
    width: 100%;
  }
}
