#heat-path {
  --hp-pine: #102b24;
  --hp-lime: #cced73;
  --hp-paper: #f3f3e9;
  color: var(--hp-pine);
}
#heat-path .hp-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  background: var(--hp-pine);
  color: var(--hp-paper);
}
#heat-path .hp-controls {
  display: grid;
  align-content: center;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  padding: clamp(1.4rem, 4vw, 4.2rem);
}
#heat-path .hp-title {
  max-width: 17ch;
  margin: 0;
  color: var(--hp-paper);
  font-family: var(--heading, sans-serif);
  font-size: clamp(1.9rem, 3.4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}
#heat-path .hp-options {
  display: grid;
  position: relative;
}
#heat-path .hp-options::before {
  position: absolute;
  content: '';
  inset: calc(100% / 6) auto calc(100% / 6) .47rem;
  border-inline-start: 1px solid #6c8478;
}
#heat-path .hp-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .3rem 1rem;
  min-height: 3.45rem;
  padding: .75rem .3rem .75rem 2rem;
  margin: 0;
  border: 0;
  background: transparent;
  color: #dae3d8;
  text-align: start;
}
#heat-path .hp-option::before {
  position: absolute;
  content: '';
  inset-inline-start: .15rem;
  top: 50%;
  width: .68rem;
  height: .68rem;
  border: 1px solid #a0b2a5;
  border-radius: 50%;
  box-sizing: border-box;
  background: var(--hp-pine);
  transform: translateY(-50%);
}
#heat-path .hp-option::after {
  content: '';
  position: absolute;
  inset: auto 0 0 2rem;
  border-bottom: 1px solid #435c51;
}
#heat-path .hp-option:last-child::after {display: none}
#heat-path .hp-option[aria-pressed="true"] {color: var(--hp-lime)}
#heat-path .hp-option[aria-pressed="true"]::before {
  border-color: var(--hp-lime);
  background: var(--hp-lime);
  box-shadow: 0 0 0 .15rem var(--hp-pine), 0 0 0 .22rem var(--hp-lime);
}
#heat-path .hp-option:hover .hp-name {text-decoration: underline; text-underline-offset: .2em}
#heat-path .hp-option:focus-visible {outline: 2px solid var(--hp-lime); outline-offset: .12rem}
#heat-path .hp-name {font-size: 1.12rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere}
#heat-path .hp-model {font: .79rem/1.35 ui-monospace, Menlo, monospace; color: #cedacd; text-align: end}
#heat-path .hp-figure {display: flex; flex-direction: column; min-width: 0; margin: 0; color: var(--hp-pine); background: #fbfcf8; border: 1px solid #d4d8ca}
#heat-path .hp-frame {
  display: grid;
  flex: 1;
  place-items: center;
  padding: clamp(1rem, 2.6vw, 2.6rem);
  background-color: #fbfcf8;
  background-image: radial-gradient(#bec9bc .7px, transparent .8px);
  background-size: 14px 14px;
}
#heat-path .hp-image {
  width: 100%;
  height: clamp(14rem, 23vw, 21rem);
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  animation: hp-enter .25s ease-out both;
}
#heat-path .hp-caption {
  min-height: 4rem;
  display: grid;
  align-content: center;
  margin: 0;
  padding: .85rem clamp(1rem, 2.6vw, 2.6rem);
  border-top: 1px solid #d4d8ca;
  background: var(--hp-paper);
  color: var(--hp-pine);
  font-size: 1rem;
  line-height: 1.5;
}
@keyframes hp-enter {
  from {opacity: .25; transform: translateY(.24rem)}
  to {opacity: 1; transform: translateY(0)}
}
@media (max-width: 46rem) {
  #heat-path .hp-layout {grid-template-columns: minmax(0, 1fr)}
  #heat-path .hp-controls {padding: 1.4rem; gap: 1rem}
  #heat-path .hp-title {max-width: 24ch}
  #heat-path .hp-option {min-height: 2.9rem}
  #heat-path .hp-image {height: clamp(11rem, 44vw, 17rem)}
}
@media (prefers-reduced-motion: reduce) {
  #heat-path .hp-image {animation: none}
}
