.other-spaces {
  padding: 44px var(--page-gutter) 48px;
  background: var(--warm-paper);
  border-top: 1px solid var(--line);
}

.other-spaces-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.other-spaces h2 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.25;
}

.other-spaces-heading > p:not(.eyebrow),
.other-spaces-grid p {
  margin: 10px 0 0;
  color: var(--stone-dark);
  font-size: 15px;
}

.other-spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.other-spaces-grid article {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.other-spaces-grid h3 {
  margin: 0;
  font-size: 18px;
}

.inspiration-image-button {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: zoom-in;
}

.inspiration-image-button:focus-visible,
.inspiration-lightbox-close:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 4px;
}

html.inspiration-lightbox-open,
html.inspiration-lightbox-open body {
  overflow: hidden;
}

.inspiration-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 64px 12px 16px;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.inspiration-lightbox[open] {
  display: grid;
  place-items: center;
}

.inspiration-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.inspiration-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px);
  object-fit: contain;
}

.inspiration-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: #211d1a;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 640px) {
  .other-spaces-grid {
    grid-template-columns: 1fr;
  }
}
