.gallery-pending > .skip-link,
.gallery-pending > .gallery-header,
.gallery-pending > main,
.gallery-pending > .lightbox,
.gallery-pending > .gallery-cart,
.gallery-pending > .cart-backdrop,
.gallery-pending > .selection-toast {
  visibility: hidden;
}

.gallery-access {
  min-height: 100svh;
  padding: clamp(1.5rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, rgba(8, 8, 8, .96), rgba(8, 8, 8, .76)),
    url('assets/images/hero.jpg') center 35% / cover;
  color: #f5f0e7;
  display: grid;
  place-items: center;
}

.gallery-access[hidden] {
  display: none;
}

.gallery-access-card {
  width: min(100%, 36rem);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border: 1px solid rgba(245, 240, 231, .28);
  background: rgba(10, 10, 10, .88);
  backdrop-filter: blur(16px);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, .35);
}

.gallery-access-card img {
  width: min(12rem, 55vw);
  height: auto;
  margin-bottom: clamp(2.5rem, 8vw, 5rem);
  filter: brightness(0) invert(1);
}

.gallery-access-card h1 {
  margin: .5rem 0 1rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(2.2rem, 8vw, 4.8rem);
  font-weight: 400;
  line-height: .95;
}

.gallery-access-card > p:not(.eyebrow) {
  max-width: 31rem;
  margin: 0 0 2rem;
  color: rgba(245, 240, 231, .72);
  line-height: 1.65;
}

.gallery-access-form label {
  display: block;
  margin-bottom: .6rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gallery-access-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .65rem;
}

.gallery-access-field input {
  min-width: 0;
  padding: .9rem 1rem;
  border: 1px solid rgba(245, 240, 231, .34);
  border-radius: 0;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: inherit;
  outline: none;
}

.gallery-access-field input:focus {
  border-color: #f5f0e7;
  box-shadow: 0 0 0 3px rgba(245, 240, 231, .12);
}

.gallery-access-field input[aria-invalid="true"] {
  border-color: #ff816f;
}

.gallery-access-field .button {
  border-color: #f5f0e7;
  background: #f5f0e7;
  color: #111;
}

.gallery-access-status {
  min-height: 1.4rem;
  margin: .7rem 0 1.5rem;
  color: #ff9b8b;
  font-size: .85rem;
}

.gallery-access-card > a {
  color: rgba(245, 240, 231, .72);
  font-size: .84rem;
  text-decoration: none;
}

.gallery-access-card > a:hover {
  color: #fff;
}

@media (max-width: 34rem) {
  .gallery-access-field {
    grid-template-columns: 1fr;
  }

  .gallery-access-field .button {
    width: 100%;
  }
}
