.thermal-methodology {
  position: fixed;
  z-index: 5100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow: auto;
  background: rgba(9, 40, 33, 0.62);
  backdrop-filter: blur(5px);
}

.thermal-methodology[hidden] {
  display: none;
}

.thermal-methodology > article {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100dvh - 44px);
  overflow: auto;
  padding: 30px 34px;
  border-radius: 24px;
  background: #faf8f1;
  color: #153f35;
  box-shadow: 0 24px 75px rgba(5, 31, 25, 0.4);
}

.thermal-methodology-close {
  position: absolute;
  right: 18px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #bfd0c9;
  border-radius: 50%;
  background: #fff;
  color: #153f35;
  font-size: 1.7rem;
  line-height: 1;
}

.thermal-methodology article > span {
  display: block;
  padding-right: 54px;
  color: #517269;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.thermal-methodology h2 {
  max-width: 620px;
  margin: 8px 54px 22px 0;
  font:
    700 clamp(1.7rem, 4vw, 2.45rem)/1.05 Georgia,
    serif;
}

.thermal-methodology h3 {
  margin: 19px 0 7px;
  color: #30675a;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.thermal-methodology p {
  margin: 8px 0;
  color: #4d6b63;
  font-size: 0.92rem;
  line-height: 1.55;
}

.thermal-methodology p b {
  color: #153f35;
}

.thermal-methodology-caution {
  margin-top: 18px !important;
  padding: 13px 15px;
  border-left: 4px solid #b76d38;
  border-radius: 10px;
  background: #fff0df;
  color: #714a2e !important;
}

.thermal-current {
  margin-top: 18px;
  padding: 14px 15px;
  border-radius: 13px;
  background: #e4efea;
}

.thermal-current > b {
  font-size: 0.78rem;
}
.thermal-current p {
  margin: 5px 0 0;
  font-size: 0.78rem;
}

@media (max-width: 620px) {
  .thermal-methodology {
    align-items: end;
    padding: 0;
  }
  .thermal-methodology > article {
    width: 100%;
    max-height: 94dvh;
    padding: 26px 21px max(28px, env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
  }
  .thermal-methodology h2 {
    font-size: 1.75rem;
  }
  .thermal-methodology p {
    font-size: 0.86rem;
  }
}
