.home-rewards-layout {
  display: grid;
  grid-template-areas: "copy visual" "actions visual";
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  grid-template-rows: auto auto;
  align-content: center;
  height: 100%;
  min-width: 0;
  column-gap: clamp(24px, 5vw, 78px);
  row-gap: 18px;
}

.home-rewards-copy {
  grid-area: copy;
  align-self: end;
}

.home-carousel .home-rewards-slide .hero-title {
  margin: clamp(14px, 2vw, 26px) 0 clamp(16px, 2.4vw, 28px);
  font-size: clamp(39px, 5.2vw, 78px);
}

.home-rewards-copy .hero-title em {
  display: block;
}

.home-rewards-offer {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  width: fit-content;
  padding-block: 10px;
  border-block: 1px solid var(--gold);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.35;
}

.home-rewards-threshold {
  flex: none;
  padding: 0 clamp(12px, 2vw, 23px) 0 0;
  border-right: 1px solid var(--line);
  text-align: center;
  color: var(--blue);
  font-weight: 700;
}

.home-rewards-threshold strong {
  display: block;
  font: 400 clamp(38px, 4vw, 60px)/.95 var(--serif);
}

.home-rewards-offer p:nth-child(2) strong,
.home-rewards-offer p:nth-child(2) span {
  display: block;
}

.home-rewards-offer p:nth-child(2) strong {
  margin-bottom: 4px;
  color: var(--blue);
}

.home-rewards-actions {
  grid-area: actions;
  align-self: start;
}

.home-rewards-note {
  margin-top: 13px;
  max-width: 47ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.home-rewards-visual {
  grid-area: visual;
  align-self: center;
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(42px, 8vw, 118px) 2px 2px 2px;
  background: var(--paper);
}

.home-rewards-scene {
  position: relative;
}

.home-rewards-photo {
  display: block;
  width: 100%;
  height: auto;
}

.home-rewards-display {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home-rewards-screen {
  position: relative;
  width: 320px;
  height: 625px;
  overflow: hidden;
  border-radius: 38px;
  transform-origin: 0 0;
  /* Match the four corners of the glass in the photo's 1448 × 1086 coordinates. */
  transform: matrix3d(
    0.947448386, 0.154497461, 0, -0.000014259,
    -0.350401032, 0.814476913, 0, -0.000146633,
    0, 0, 1, 0,
    1046.787817134, 233.67320201, 0, 1
  );
}

.home-rewards-screen img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  opacity: .94;
  filter: brightness(.9) saturate(.92);
}

.home-rewards-screen::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(114deg, transparent 56%, rgb(238 244 255 / .10) 100%);
  content: "";
}

@media (max-width: 760px) {
  .home-rewards-layout {
    grid-template-areas: "copy" "visual" "actions";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: start;
    row-gap: 14px;
  }

  .home-carousel .home-rewards-slide .hero-title {
    font-size: clamp(34px, 10.1vw, 59px);
  }

  .home-rewards-visual {
    max-width: 580px;
    aspect-ratio: 1.26;
  }

  .home-rewards-scene {
    position: absolute;
    top: 0;
    left: 50%;
    width: 105.82%;
    transform: translateX(-50%);
  }
}
