/* Home bridge: architecture, MEP and furnishing as one residential whole. */
html body main #landing > .zf-home-three-layers {
  width: min(100% - clamp(32px, 5vw, 96px), 1920px);
  margin: clamp(88px, 9vw, 150px) auto;
  color: #17332f;
}

.zf-home-three-layers-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .68fr);
  gap: clamp(56px, 8vw, 150px);
  align-items: end;
  padding: 0 clamp(8px, 2.2vw, 42px) clamp(44px, 5vw, 76px);
}

.zf-home-three-layers-kicker {
  margin: 0 0 18px;
  color: #128e83;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .14em;
}

.zf-home-three-layers h2 {
  width: auto !important;
  max-width: 1040px;
  margin: 0;
  font-size: clamp(34px, 2.75vw, 46px);
  font-weight: 680;
  line-height: 1.18;
  letter-spacing: -.045em;
}

.zf-home-three-layers-lead {
  width: auto !important;
  max-width: 100%;
  margin: 0;
  color: rgba(23, 51, 47, .68);
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.9;
}

.zf-home-three-layers-gallery {
  display: grid;
  grid-template-columns: 1.08fr .96fr .96fr;
  gap: clamp(12px, 1.35vw, 24px);
}

.zf-home-three-layer {
  position: relative;
  min-width: 0;
  height: clamp(490px, 42vw, 690px);
  margin: 0;
  overflow: hidden;
  border-radius: clamp(20px, 1.7vw, 30px);
  background: #e7e3da;
  isolation: isolate;
}

.zf-home-three-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}

.zf-home-three-layer:nth-child(1) img { object-position: 54% center; }
.zf-home-three-layer:nth-child(2) img { object-position: 62% center; }
.zf-home-three-layer:nth-child(3) img { object-position: 56% center; }

.zf-home-three-layer::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 18, 16, .76), rgba(8, 18, 16, .06) 58%, transparent 78%);
  content: "";
  pointer-events: none;
}

.zf-home-three-layer:hover img { transform: scale(1.025); }

.zf-home-three-layer figcaption {
  position: absolute;
  z-index: 1;
  right: clamp(24px, 2.4vw, 42px);
  bottom: clamp(25px, 2.8vw, 46px);
  left: clamp(24px, 2.4vw, 42px);
  color: #fff;
}

.zf-home-three-layer small {
  display: block;
  margin-bottom: 14px;
  color: #82ddd2;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .15em;
}

.zf-home-three-layer strong {
  display: block;
  font-size: clamp(23px, 2vw, 32px);
  font-weight: 660;
  line-height: 1.34;
  letter-spacing: -.025em;
}

.zf-home-three-layer p {
  max-width: 420px;
  margin: 13px 0 0;
  color: rgba(255,255,255,.74);
  font-size: clamp(13px, .9vw, 15px);
  line-height: 1.75;
}

.zf-home-three-layers-closing {
  display: block;
  width: 100%;
  margin: clamp(64px, 6vw, 96px) 0 0;
  color: #17332f;
  font-size: clamp(20px, 1.8vw, 29px);
  font-weight: 650;
  line-height: 1.6;
  text-align: left;
}

.zf-home-three-layers-closing::before,
.zf-home-three-layers-closing::after {
  display: none;
  content: none;
}

@media (min-width: 1500px) {
  html body main #landing > .zf-home-three-layers {
    width: calc(100vw - 72px);
    max-width: none;
  }
}

@media (max-width: 980px) {
  .zf-home-three-layers-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .zf-home-three-layers-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .zf-home-three-layer:first-child {
    grid-column: 1 / -1;
    height: 540px;
  }

}

@media (max-width: 680px) {
  html body main #landing > .zf-home-three-layers {
    width: calc(100% - 28px);
    margin: 76px auto;
  }

  .zf-home-three-layers-head {
    padding: 0 4px 32px;
  }

  .zf-home-three-layers h2 {
    width: calc(100vw - 36px) !important;
    max-width: 100%;
    font-size: clamp(34px, 10vw, 44px);
  }

  .zf-home-three-layers-lead {
    width: calc(100vw - 36px) !important;
    max-width: 100%;
  }

  .zf-home-three-layers-gallery {
    grid-template-columns: 1fr;
  }

  .zf-home-three-layer,
  .zf-home-three-layer:first-child {
    grid-column: auto;
    height: 500px;
  }

  .zf-home-three-layer:nth-child(1) img { object-position: 60% center; }
  .zf-home-three-layer:nth-child(2) img { object-position: 67% center; }
  .zf-home-three-layer:nth-child(3) img { object-position: 58% center; }

  .zf-home-three-layers-closing {
    display: block;
    width: 92%;
    margin-top: 50px;
    font-size: 20px;
  }

  .zf-home-three-layers-closing::before,
  .zf-home-three-layers-closing::after { display: none; }
}
