@media (max-width: 820px) {
  .page-hero--gallery {
    min-height: auto;
  }

  .page-hero--gallery .page-hero__content {
    padding-top: 44px;
    padding-bottom: 38px;
  }

  .page-hero--gallery .page-hero__title {
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.05;
  }

  .page-hero--gallery .page-hero__text {
    max-width: 34rem;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .gallery-page__jump-nav {
    border-top: 1px solid rgba(109, 85, 67, 0.08);
    border-bottom: 1px solid rgba(109, 85, 67, 0.08);
    box-shadow: 0 8px 18px rgba(58, 37, 23, 0.06);
  }

  .gallery-page__section-card {
    box-shadow: 0 14px 30px rgba(58, 37, 23, 0.08);
  }

  .gallery-page__section-head {
    text-align: center;
  }

  .gallery-page__section-head p {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .page-hero--gallery .page-hero__content {
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .page-hero--gallery .page-hero__eyebrow {
    margin-bottom: 10px;
  }

  .page-hero--gallery .page-hero__title {
    font-size: 1.95rem;
    margin-bottom: 12px;
  }

  .page-hero--gallery .page-hero__text {
    font-size: 0.93rem;
    line-height: 1.45;
  }

  .gallery-page__jump-nav {
    top: 88px;
    padding: 8px 0;
  }

  .gallery-page__jump-buttons {
    gap: 8px;
    padding: 0 14px 2px;
    scroll-snap-type: x proximity;
  }

  .gallery-page__jump-button {
    scroll-snap-align: start;
    min-height: 40px;
    font-size: 0.9rem;
  }

  .gallery-page__section {
    padding: 10px 0 0;
  }

  .gallery-page__section-card {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .gallery-page__section-head {
    margin-bottom: 10px;
  }

  .gallery-page__section-head h2 {
    font-size: 1.2rem;
  }

  .gallery-page__section-head p {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .gallery-page__carousel-window {
    padding: 0;
  }

  .gallery-page__track {
    grid-auto-columns: 92%;
    gap: 10px;
  }

  .gallery-page__image {
    height: 172px;
    border-radius: 10px;
  }

  .gallery-page__carousel-button {
    width: 32px;
    height: 32px;
  }

  .gallery-page__empty {
    padding: 22px 14px;
    border-radius: 16px;
  }

  .gallery-page__empty-mark {
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
  }

  .gallery-page__empty h3 {
    font-size: 1.05rem;
  }

  .gallery-page__empty p {
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 16px;
  }

  .gallery-page__custom-callout h2 {
    font-size: 1.5rem;
  }

  .gallery-page__custom-callout p {
    font-size: 0.92rem;
    line-height: 1.45;
  }
}

@media (max-width: 600px) {
  .gallery-page__image-button {
    background: #f7f2eb;
    border-radius: 12px;
    overflow: hidden;
  }

  .gallery-page__image {
    height: auto;
    max-height: 220px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #f7f2eb;
  }

  .gallery-page__static-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .gallery-page__static-row::-webkit-scrollbar {
    display: none;
  }

  .gallery-page__static-row .gallery-page__slide {
    flex: 0 0 min(72vw, 248px);
    max-width: min(72vw, 248px);
  }

  .gallery-page__static-row .gallery-page__image {
    height: auto;
    max-height: 260px;
    object-fit: contain;
  }
}
