.too-hot-case {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 5vw, 82px);
  align-items: center;
  margin: 10vh 0;
  padding: clamp(30px, 4.5vw, 70px);
  overflow: hidden;
  background: var(--black);
  color: var(--paper);
  border: 1px solid #111;
  box-shadow: 18px 18px 0 var(--acid);
}

.too-hot-case::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: 7px;
  background: var(--acid);
}

.too-hot-case::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(#ffffff08 1px, transparent 1px),
    linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(110deg, #000, transparent 58%);
  opacity: .35;
}

.too-hot-copy,
.too-hot-visual {
  position: relative;
  z-index: 1;
}

.too-hot-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 4vh;
  font: 700 9px/1 monospace;
  letter-spacing: .16em;
}

.too-hot-eyebrow span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: var(--acid);
  color: var(--black);
  border-radius: 50%;
  font-size: 10px;
  letter-spacing: 0;
}

.too-hot-eyebrow b {
  font: inherit;
}

.too-hot-copy h3 {
  max-width: 8ch;
  margin: 0;
  font: 800 clamp(58px, 6.3vw, 108px)/.78 Oswald;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.too-hot-copy h3 i {
  display: inline-block;
  margin-left: .48em;
  color: var(--acid);
  font-style: normal;
  transform: rotate(-4deg);
}

.too-hot-summary {
  max-width: 44ch;
  margin: 5vh 0 3.5vh;
  color: #d8d8d2;
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1.55;
}

.too-hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.too-hot-tags li {
  padding: 9px 12px;
  border: 1px solid #ffffff50;
  border-radius: 100px;
  font: 700 8px/1 monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.too-hot-tags li:nth-child(2) {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--black);
  transform: rotate(-2deg);
}

.too-hot-tech {
  max-width: 56ch;
  margin: 4vh 0 0;
  padding-top: 2vh;
  border-top: 1px solid #ffffff38;
  color: #aaa;
  font: 8px/1.7 monospace;
  text-transform: uppercase;
}

.too-hot-tech span {
  margin-right: 9px;
  color: var(--acid);
  font-weight: 800;
}

.too-hot-visual {
  transform: rotate(1.2deg);
  transition: transform .65s cubic-bezier(.16, 1, .3, 1);
}

.too-hot-screen {
  position: relative;
  aspect-ratio: 7 / 5;
  overflow: hidden;
  background: #101010;
  border: 1px solid #ffffff45;
  box-shadow: 0 30px 80px #0009;
}

.too-hot-screen::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background-image: url("assets/too-hot-editor.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(.82) contrast(1.04);
  transition: transform .8s cubic-bezier(.16, 1, .3, 1), filter .5s;
}

.too-hot-screen-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2.4vw, 38px);
  background:
    radial-gradient(circle at 77% 25%, #b7ff1929 0 1px, transparent 2px) 0 0 / 14px 14px,
    linear-gradient(135deg, #161616, #050505);
  color: var(--paper);
}

.too-hot-screen-empty::before,
.too-hot-screen-empty::after {
  content: "";
  position: absolute;
  background: var(--acid);
}

.too-hot-screen-empty::before {
  right: 0;
  top: 32%;
  width: 42%;
  height: 1px;
}

.too-hot-screen-empty::after {
  right: 22%;
  top: 0;
  width: 1px;
  height: 58%;
}

.too-hot-screen-empty > span,
.too-hot-screen-empty > p {
  position: relative;
  z-index: 1;
  margin: 0;
  font: 700 8px/1 monospace;
  letter-spacing: .14em;
}

.too-hot-screen-empty > strong {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  color: transparent;
  -webkit-text-stroke: 1px var(--acid);
  font: 800 clamp(48px, 6.2vw, 106px)/.72 Oswald;
  text-align: right;
  letter-spacing: -.065em;
}

.too-hot-screen-empty > p {
  color: var(--acid);
}

.too-hot-screen-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--black);
  font: 700 8px/1 monospace;
  letter-spacing: .08em;
}

.too-hot-screen-meta b {
  color: #467000;
}

.too-hot-flow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  color: #999;
  font: 700 8px/1 monospace;
  letter-spacing: .13em;
}

.too-hot-flow i {
  color: var(--acid);
  font-style: normal;
  font-size: 15px;
}

.too-hot-corner {
  position: absolute;
  z-index: 2;
  right: -22px;
  top: 46px;
  padding: 11px 31px 9px;
  background: var(--acid);
  color: var(--black);
  font: 800 8px/1.15 monospace;
  text-align: center;
  transform: rotate(45deg);
}

.too-hot-case:hover .too-hot-visual {
  transform: rotate(0);
}

.too-hot-case:hover .too-hot-screen::before {
  transform: scale(1.018);
  filter: saturate(1) contrast(1.06);
}

@media (max-width: 760px) {
  .too-hot-case {
    grid-template-columns: 1fr;
    gap: 34px;
    margin: 8vh 0;
    padding: 28px 18px 20px;
    box-shadow: 8px 8px 0 var(--acid);
  }

  .too-hot-eyebrow {
    margin-bottom: 34px;
  }

  .too-hot-copy h3 {
    font-size: 15.5vw;
  }

  .too-hot-copy h3 i {
    margin-left: .28em;
  }

  .too-hot-summary {
    margin: 34px 0 26px;
    font-size: 13px;
  }

  .too-hot-tags {
    gap: 6px;
  }

  .too-hot-tags li {
    padding: 8px 9px;
    font-size: 7px;
  }

  .too-hot-tech {
    margin-top: 28px;
  }

  .too-hot-visual {
    transform: none;
  }

  .too-hot-screen-empty > strong {
    font-size: 14vw;
  }

  .too-hot-screen-meta {
    font-size: 6px;
  }

  .too-hot-flow {
    justify-content: center;
  }

  .too-hot-corner {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .too-hot-visual,
  .too-hot-screen::before {
    transition: none;
  }
}
