.gallery-link {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.gallery-link p {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 800;
  text-transform: uppercase;
}

.quick-form input,
.quick-form textarea {
  border: 1px solid rgba(255, 255, 255, .28);
  background: #111614;
  padding: .85rem 1rem;
  transition: border-color .2s, background .2s;
}

.quick-form input:focus,
.quick-form textarea:focus {
  border-color: var(--acid);
  background: #151c19;
}

.quick-form input:-webkit-autofill,
.quick-form input:-webkit-autofill:hover,
.quick-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #151c19 inset;
  caret-color: #fff;
}

.quick-form .button {
  margin-top: .35rem;
}

.quick-form > small {
  margin-top: .15rem;
  color: #929c96;
}

.gallery-page {
  background: var(--ink);
  color: #fff;
}

.gallery-hero {
  padding: clamp(8rem, 15vw, 13rem) 0 4rem;
  background: linear-gradient(130deg, #0a0d0c 15%, #172019);
}

.gallery-hero h1 {
  margin: 0;
  font-size: clamp(3.8rem, 10vw, 9rem);
  line-height: .83;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.gallery-hero h1 em {
  color: var(--acid);
  font-style: normal;
}

.gallery-hero-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-hero-copy p {
  max-width: 580px;
  margin: 0;
  color: #b5bdb8;
}

.back-link {
  color: var(--acid);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}

.full-gallery {
  columns: 4 250px;
  column-gap: 1rem;
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  border: 0;
  background: #161c19;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform .45s, filter .3s;
}

.gallery-item::after {
  content: "+";
  position: absolute;
  top: .8rem;
  right: .8rem;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  font-size: 1.3rem;
  opacity: 0;
  transform: scale(.8);
  transition: .2s;
}

.gallery-item:hover img {
  filter: brightness(.8);
  transform: scale(1.025);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.gallery-count {
  padding: 1.2rem 0 2.2rem;
  color: #8f9993;
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.gallery-lightbox-nav {
  position: fixed;
  z-index: 2;
  top: 50%;
  width: 52px;
  height: 52px;
  border: 0;
  color: var(--ink);
  background: var(--acid);
  font-size: 1.8rem;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-lightbox-prev { left: 1rem; }
.gallery-lightbox-next { right: 1rem; }
.gallery-lightbox-close { z-index: 3; }

@media (max-width: 980px) {
  .site-header.menu-active {
    height: 100svh;
    align-items: flex-start;
    padding-top: 14px;
    overflow: hidden;
    background: var(--ink);
    backdrop-filter: none;
  }

  .site-header.menu-active .brand,
  .site-header.menu-active .menu-toggle {
    position: relative;
    z-index: 3;
  }

  .site-header .main-nav {
    align-items: flex-start;
    gap: 1.35rem;
    padding: 7rem var(--pad) 3rem;
  }

  .site-header .main-nav.open {
    min-height: 100svh;
  }

  .site-header .main-nav a {
    width: 100%;
    padding: .2rem 0 .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    font-size: clamp(1.25rem, 7vw, 2rem);
    line-height: 1.1;
  }

  .site-header .main-nav .nav-cta {
    width: auto;
    margin-top: .4rem;
    padding: .8rem 1rem;
    border: 1px solid var(--acid);
  }
}

@media (max-width: 680px) {
  .gallery-link {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-hero-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .full-gallery {
    columns: 2 130px;
    column-gap: .65rem;
  }

  .gallery-item { margin-bottom: .65rem; }
  .gallery-lightbox-nav { width: 42px; height: 42px; }
  .gallery-lightbox-prev { left: .25rem; }
  .gallery-lightbox-next { right: .25rem; }
}
