/* Artwork is layered into existing sections to add warmth without adding extra page length. */
.calculator {
  grid-template-columns: 1.08fr .92fr;
  overflow: hidden;
}

.calculator-copy {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
}

.calculator-copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(14, 45, 36, .97) 0%, rgba(14, 45, 36, .8) 39%, rgba(14, 45, 36, .17) 76%, rgba(14, 45, 36, .04) 100%);
}

.calculator-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.01);
}

.calculator-copy .eyebrow { color: #e1c374; }
.calculator-copy h3 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .24);
}
.calculator-copy h3 em { color: #e1c374; }
.calculator-copy > p:last-child {
  max-width: 420px;
  color: rgba(255, 255, 255, .84);
}
.calculator-tool {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-grid {
  grid-template-columns: .96fr 1.04fr;
  gap: 7%;
  align-items: start;
}

.faq-artwork {
  position: relative;
  isolation: isolate;
  aspect-ratio: 3 / 2;
  margin: 34px 0 0;
  overflow: hidden;
  background: var(--green);
  border: 7px solid rgba(255, 255, 255, .58);
  box-shadow: 0 18px 40px rgba(23, 63, 50, .13);
}

.faq-artwork::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(10, 37, 29, .68));
  pointer-events: none;
}

.faq-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  display: block;
}

.faq-artwork figcaption {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font: 500 14px/1.2 var(--serif);
  letter-spacing: .03em;
}

@media (min-width: 901px) {
  .product-display {
    position: sticky;
    top: 110px;
    height: 560px;
  }
}

@media (max-width: 900px) {
  .calculator { grid-template-columns: 1fr; }
  .calculator-copy {
    min-height: 430px;
    padding: 38px;
  }
  .calculator-tool { margin: 0 20px 20px; }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .product-display {
    position: relative;
    height: 520px;
  }
  .faq-artwork {
    width: min(100%, 680px);
    margin-top: 30px;
  }
}

@media (max-width: 620px) {
  .calculator-copy {
    min-height: 340px;
    padding: 25px 22px 24px;
  }
  .calculator-copy::after {
    background: linear-gradient(0deg, rgba(14, 45, 36, .98) 0%, rgba(14, 45, 36, .79) 51%, rgba(14, 45, 36, .08) 100%);
  }
  .calculator-art { object-position: 52% center; }
  html body .product-display { height: clamp(400px, 120vw, 470px); }
  .faq-artwork {
    aspect-ratio: 1.35 / 1;
    margin-top: 26px;
  }
  .faq-artwork img { object-position: 62% center; }
}
