.wf-stage {
  width: min(100%, 420px);
  position: relative;
  container-type: inline-size;
}

.wf-scene {
  height: 54cqw;
  position: relative;
  isolation: isolate;
  color: #232424;
  font: 500 3.4cqw/1.25 Archivo, Arial, sans-serif;
  background: radial-gradient(ellipse at 70% 80%, #f5ede7 0%, transparent 58%), #faf9f7;
}

.wf-scene::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(#cfc6be 0.65px, transparent 0.9px);
  background-size: 2.5cqw 2.5cqw;
  mask-image: radial-gradient(ellipse, #000 12%, transparent 78%);
}

.wf-source, .wf-result {
  position: absolute;
  text-align: left;
  border: 1px solid #dad5d0;
  border-radius: 2.2cqw;
  background: #fff;
}

.wf-source {
  top: 7%;
  left: 8%;
  width: 45%;
  padding: 3.5cqw 4cqw;
  transform: perspective(120cqw) rotateY(8deg) rotate(-5deg);
  box-shadow: 0 0.7cqw 0 #eae6e3, 0 2cqw 4cqw #3e322014;
}

.wf-meta {
  display: block;
  color: #746b65;
  font: 600 2.45cqw/1.2 ui-monospace, monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.wf-source strong {
  display: block;
  margin: 1.5cqw 0 2.8cqw;
  font-size: 4.6cqw;
  line-height: 1.1;
  letter-spacing: -.055em;
}

.wf-capture {
  position: relative;
  display: inline-block;
  padding: 0.45cqw 1.5cqw;
  background: #fff1e7;
  border: 1px solid #e38450;
  border-radius: .4cqw;
  color: #813d16;
  font: 600 3.6cqw/1.2 ui-monospace, monospace;
}

.wf-capture::after {
  content: "";
  position: absolute;
  width: 1.5cqw;
  aspect-ratio: 1;
  right: -.9cqw;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #d76629;
}

/* The trace starts on the selected amount and passes behind the report. */
.wf-capture::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 34cqw;
  height: 16cqw;
  border: .48cqw solid #e6793a;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: 3.5cqw;
}

.wf-result {
  left: 35%;
  top: 51%;
  width: 57%;
  overflow: hidden;
  transform: perspective(140cqw) rotateY(-8deg) rotate(-3deg);
  box-shadow: 0 .65cqw 0 #d8d6d3, 0 3cqw 4cqw -1cqw #34271935, 0 6cqw 8cqw -3cqw #4935282c;
}

.wf-result-head, .wf-record {
  display: flex;
  align-items: center;
  padding: 2.6cqw 3.6cqw;
}

.wf-result-head {
  gap: 2cqw;
  background: #28292b;
  color: #fff;
  font-weight: 600;
}

.wf-grid-mark {
  width: 3cqw;
  height: 3cqw;
  border: 1px solid #ffad7e;
  border-radius: .5cqw;
  background: linear-gradient(90deg, transparent 44%, #ffad7e 44% 55%, transparent 55%),
              linear-gradient(transparent 44%, #ffad7e 44% 55%, transparent 55%);
}

.wf-record {
  justify-content: space-between;
  gap: 1cqw;
  font-size: 3.05cqw;
  white-space: nowrap;
}

.wf-record b {
  color: #87401b;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: no-preference) {
  .offer-card:hover .wf-record, .wf-stage:hover .wf-record {
    animation: wf-cell-highlight 1050ms ease-out both;
  }

  @keyframes wf-cell-highlight {
    15%, 45% { background: #ffe0c9; }
    100% { background: #fff; }
  }
}
