.brand {
  gap: 0;
}

.brand img {
  width: 180px;
  height: auto;
  max-height: 76px;
  object-fit: contain;
}

.hero-image {
  object-position: center 50%;
  filter: saturate(1.03) contrast(1.07);
}

.feature-image img {
  object-position: center 42%;
  filter: saturate(.92) contrast(1.04);
}

.celebration-gallery {
  padding-top: 45px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 340px;
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: #171419;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.025);
}

.gallery-grid figure:nth-child(2) img {
  object-position: center 35%;
}

.gallery-grid figure:nth-child(4) img {
  object-position: center 30%;
}

.image-story > img {
  object-position: center 45%;
}

.photo-frame img {
  object-position: center 20%;
  filter: none;
}

.footer-brand img {
  width: 220px;
  height: auto;
  max-height: 95px;
  object-fit: contain;
  object-position: left center;
}

.chat-launcher-icon {
  overflow: hidden;
}

.chat-launcher-icon img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.chat-avatar {
  overflow: hidden;
  background: #fff;
}

.chat-avatar img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

@media (max-width: 700px) {
  .brand img {
    width: 132px;
    max-height: 58px;
  }

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

  .celebration-gallery {
    padding-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-grid img {
    transition: none;
  }
}

.gallery-header {
  position: relative;
  background: #100f12;
}

.gallery-hero {
  background: linear-gradient(110deg, rgba(10,8,11,.96), rgba(10,8,11,.72)), url('assets/outdoor-setup.jpg') center/cover;
  color: #fff;
  padding: 110px 0 105px;
}

.gallery-hero h1 {
  font-size: clamp(3.7rem, 7.4vw, 7rem);
}

.gallery-hero > .wrap > p:last-child {
  max-width: 620px;
  color: #ddd7d3;
  font-size: 1.12rem;
}

.full-gallery {
  padding-top: 75px;
}

.masonry-gallery {
  columns: 3 290px;
  column-gap: 16px;
}

.masonry-gallery button {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: #171419;
  cursor: zoom-in;
  break-inside: avoid;
  overflow: hidden;
}

.masonry-gallery img {
  width: 100%;
  height: auto;
  transition: transform .3s ease, opacity .3s ease;
}

.masonry-gallery button:hover img,
.masonry-gallery button:focus-visible img {
  transform: scale(1.02);
  opacity: .9;
}

.lightbox {
  width: min(94vw, 1400px);
  max-width: none;
  height: min(92vh, 1000px);
  max-height: none;
  padding: 44px;
  border: 0;
  background: #0d0c0f;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(0,0,0,.88);
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  right: 9px;
  top: 5px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 700px) {
  .gallery-header nav {
    display: flex;
    gap: 10px;
  }

  .gallery-header nav a:not(.button) {
    display: none;
  }

  .gallery-hero {
    padding: 80px 0;
  }

  .lightbox {
    width: 100vw;
    height: 100vh;
    padding: 38px 8px 8px;
  }
}
