/* The mascot and headline form one composition, with room for the full figure. */
.story-intro__lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(11rem, 22vw, 16rem);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2rem);
  width: 100%;
  max-width: 60rem;
  text-align: start;
}

.story-intro__lead h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.25rem, 5.4vw, 4.5rem);
  line-height: 1.04;
  text-wrap: balance;
}

.story-mascot {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Use the closing illustration slot without the previous X's zoom or echo. */
.final-device.final-mascot {
  place-items: center;
  overflow: visible;
  margin-block-end: 0;
  pointer-events: none;
}

.final-mascot__image {
  display: block;
  width: min(100%, 25rem);
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1.2rem 1.4rem rgb(0 0 0 / 0.18));
  user-select: none;
}

@media (max-width: 47.99rem) {
  .download-section__layout {
    gap: 2rem;
  }

  .final-device.final-mascot {
    height: auto;
  }
}

@media (max-width: 37.49rem) {
  .story-intro__lead {
    grid-template-columns: minmax(0, 1fr) clamp(6rem, 29vw, 9rem);
    gap: 1rem;
  }

  .story-intro__lead h2 {
    font-size: clamp(1.8rem, 7.3vw, 2.125rem);
    line-height: 1.08;
  }

  .final-mascot__image {
    width: min(88%, 20rem);
  }
}
