.gallery-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.gallery-browse {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border: 1px solid rgba(214, 195, 158, 0.45);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.gallery-browse svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-browse:hover,
.gallery-browse:focus-visible {
  border-color: var(--sand);
  outline: 0;
  color: var(--ink);
  background: var(--sand);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.gallery-browse-state {
  min-width: 8rem;
  color: #bdc8c8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.legal-details {
  display: grid;
  grid-template-columns: minmax(8rem, auto) 1fr;
  gap: 0.5rem 1.2rem;
  margin: -10px 0 1.6rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--sand);
  background: rgba(9, 16, 19, 0.12);
}

.legal-details strong {
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-details span {
  color: #e5ecfc;
  font-size: 0.9rem;
  line-height: 1.65;
}

.contact-placeholder a,
footer p a {
  color: inherit;
  text-decoration-color: rgba(214, 195, 158, 0.75);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-placeholder a:hover,
.contact-placeholder a:focus-visible,
footer p a:hover,
footer p a:focus-visible {
  color: var(--sand);
  text-decoration-color: currentColor;
  outline: 0;
}

.contact-map {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(214, 195, 158, 0.38);
  background: #101719;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: clamp(19rem, 38vw, 30rem);
  border: 0;
  filter: saturate(0.75) contrast(1.05);
}

@media (max-width: 640px) {
  .gallery-navigation {
    justify-content: center;
  }

  .legal-details {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
