.inside-head {
  display: grid;
  grid-template-columns: 1fr .55fr;
  gap: 7vw;
  align-items: end;
}

.inside-head h2 {
  margin: 25px 0 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: .98;
}

.inside-head h2 em,
.scheme h2 em {
  font-family: var(--serif);
}

.inside-head > p {
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.inside-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 58px;
}

.inside-gallery figure {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  background: #111;
}

.inside-gallery .inside-wide {
  grid-column: 1 / -1;
  min-height: 560px;
}

.inside-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.inside-gallery figure:hover img {
  transform: scale(1.015);
}

.inside-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 56px 28px 25px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82));
}

.inside-gallery figcaption b,
.inside-gallery figcaption span {
  display: block;
}

.inside-gallery figcaption b {
  font-size: 22px;
}

.inside-gallery figcaption span {
  margin-top: 5px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.5;
}

.scheme {
  padding: 110px 0;
  background: #dedad1;
}

.scheme-grid {
  display: grid;
  grid-template-columns: .45fr 1fr;
  gap: 6vw;
  align-items: center;
}

.scheme h2 {
  margin: 24px 0;
  font-size: clamp(38px, 4.5vw, 66px);
  line-height: .98;
}

.scheme-copy > p:not(.section-label) {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.scheme figure {
  margin: 0;
  padding: 18px;
  background: #fff;
}

.scheme figure img {
  aspect-ratio: 1.42 / 1;
  object-fit: contain;
}

.scheme figcaption {
  padding: 8px 6px 0;
  color: var(--muted);
  font-size: 11px;
}

.format-table span {
  line-height: 1.35;
}

.visit > img {
  object-position: center;
}

@media (max-width: 900px) {
  .inside-head,
  .scheme-grid {
    grid-template-columns: 1fr;
  }

  .inside-gallery {
    grid-template-columns: 1fr;
  }

  .inside-gallery .inside-wide {
    grid-column: auto;
    min-height: 430px;
  }

  .scheme {
    padding: 78px 0;
  }

  .scheme figure {
    margin-top: 30px;
    padding: 8px;
  }
}

@media (max-width: 520px) {
  .inside h2,
  .scheme h2 {
    font-size: 38px;
  }

  .inside-gallery figure,
  .inside-gallery .inside-wide {
    min-height: 330px;
  }
}
