/* Blueprint hero correction. The 3:2 frame prevents distortion at every viewport. */
.hero-mark .spark-stage {
  width: min(100%, 720px);
  aspect-ratio: 3 / 2;
  margin-inline: auto;
  overflow: hidden;
  transform: none;
  filter: drop-shadow(0 22px 40px #000);
}

.hero-mark .spark-stage picture,
.hero-mark .spark-stage img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-mark .spark-stage img {
  object-fit: contain;
  object-position: center;
  transform: none;
  filter: none;
}

.about-mark {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.about-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
    min-height: auto;
    padding: 96px 22px 78px;
  }

  .hero-mark {
    order: 1;
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0 auto 18px;
    filter: none;
  }

  .hero-mark .spark-stage {
    width: min(92vw, 560px);
    filter: drop-shadow(0 14px 24px #000);
  }

  .hero-copy {
    order: 2;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 13vw, 5.2rem);
  }

  main > .section,
  main > .statement {
    content-visibility: auto;
    contain-intrinsic-size: auto 760px;
  }
}

@media (max-width: 420px) {
  .hero-mark .spark-stage { width: min(91vw, 380px); }
  .hero h1 { font-size: clamp(2.7rem, 12.5vw, 4.2rem); }
}
