.atmosphere-section {
  padding: 64px 0 76px;
  background: var(--paper);
}

.atmosphere-intro {
  margin-bottom: 32px;
}

.atmosphere-intro h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

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

.atmosphere-photo {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #ddd;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .1);
  cursor: zoom-in;
}

.atmosphere-photo:focus-visible {
  outline: 4px solid var(--red);
  outline-offset: 4px;
}

.atmosphere-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .3s ease;
}

.atmosphere-photo:hover img {
  transform: scale(1.025);
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 5, 7, .94);
  cursor: zoom-out;
}

.photo-lightbox img {
  width: auto;
  height: auto;
  max-width: min(94vw, 1600px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
  cursor: default;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: #fff;
  color: #111;
  font: 800 1.55rem/1 sans-serif;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .atmosphere-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .atmosphere-section {
    padding: 46px 0 54px;
  }

  .atmosphere-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .atmosphere-photo {
    border-radius: 18px;
  }
}
