@media (max-width: 768px) {

  /* ---- Landing hero ---- */
  #home {
    padding-inline: var(--space-4);
  }
  .hero__title {
    font-size: var(--text-2xl);
  }
  .hero__sub {
    font-size: var(--text-sm);
  }

  /* ---- Corner (logo/hamburger) ---- */
  .logo-corner__img {
    height: 40px;
  }

  /* ---- Paint-tab nav — fixed 190px width won't fit 3-across on a phone ---- */
  .nav__tabs a {
    width: auto;
    min-width: 80px;
    padding: var(--space-2) var(--space-3);
    font-size: 0.85rem;
    letter-spacing: var(--tracking-normal);
  }
  .nav__tabs {
    gap: 6px;
    padding-inline: var(--space-2);
    max-width: 100vw;
    justify-content: center;
  }

  /* ---- Docked nav: cream bar behind the tabs so content doesn't
     show through the gaps while scrolling ---- */
  #site-nav::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -16px;                       /* nav docks 16px below the top edge */
    bottom: -10px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: rgba(240, 235, 223, 0.94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(22, 35, 63, 0.10);
    box-shadow: 0 6px 18px -10px rgba(14, 24, 48, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-base) var(--ease-standard);
  }
  #site-nav.nav--docked::before {
    opacity: 1;
  }

  /* ---- About Us — stack instead of side-by-side ---- */
  .about__inner {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  .about__body {
    max-width: none;
    margin-inline: auto;
  }

  /* ---- Gallery — one column instead of three ---- */
  .gallery__grid {
    grid-template-columns: 1fr;
  }
  .gallery__title {
    font-size: var(--text-xl);
  }
  #logo-corner.is-hidden {
    display: none;
  }
  #menu-corner.is-hidden {
    display: none;
  }
  .panel {
    padding-bottom: var(--space-5);
  }
  #about,
  #gallery,
  #contact {
    padding-top: 0;
    padding-bottom: var(--space-5);
  }
  .about__eyebrow,
  .gallery__eyebrow,
  .contact__eyebrow {
    margin-top: 110px !important;
  }
}

/* ---- Tablets / small laptops: 3 x 190px tabs collide with the logo ---- */
@media (min-width: 769px) and (max-width: 1100px) {
  .nav__tabs a {
    width: auto;
    min-width: 140px;
    padding: var(--space-2) var(--space-3);
    font-size: 0.9rem;
  }
}
