@media (max-width: 1199px) {
  .main-nav {
    gap: 12px;
    font-size: 0.83rem;
  }

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

@media (max-width: 980px) {
  .container {
    width: min(100% - 32px, 1280px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 148px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16, 16, 17, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 8px 0;
  }

  .main-nav .btn {
    margin-top: 6px;
  }

  .hero-home {
    min-height: 78vh;
  }

  .page-hero {
    min-height: 50vh;
  }

  .hero-content {
    padding: 88px 0 64px;
  }

  .split-layout,
  .event-highlight,
  .contact-preview,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .reverse .copy-block,
  .reverse .media-frame {
    order: initial;
  }

  .media-frame {
    min-height: 360px;
  }

  .cards-3,
  .gallery-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-large img {
    height: 300px;
  }

  .masonry-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
  }

  .section-head-row {
    display: block;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 3rem;
  }

  .section {
    padding: 70px 0;
  }

  .actions,
  .actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .btn {
    min-height: 54px;
  }

  .icon-strip span,
  .filter-bar button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .cards-3,
  .cards-4,
  .menu-grid,
  .gallery-preview {
    grid-template-columns: 1fr;
  }

  /* Preserve original photo orientation on mobile. Do not force landscape/portrait into a fixed crop. */
  .gallery-preview img {
    display: block;
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
  }

  .masonry-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-item,
  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: auto;
  }

  .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hours-list li {
    display: grid;
    gap: 2px;
  }
}
