/* v14.22.3 — hopeful student hero derived from the supplied visual direction. */
.hero-grid {
  position: relative;
}

.hero-student-scene {
  display: none;
  pointer-events: none;
  user-select: none;
}

html[data-home-audience="primary"] .hero-student-scene {
  position: absolute;
  z-index: 0;
  inset: -38px auto -42px -48px;
  display: block;
  width: calc(58% + 72px);
  margin: 0;
  overflow: hidden;
  border-radius: 48px;
  opacity: .76;
}

html[data-home-audience="primary"] .hero-student-scene::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(247, 252, 255, .99) 0%, rgba(247, 252, 255, .94) 43%, rgba(247, 252, 255, .34) 74%, rgba(247, 252, 255, .08) 100%),
    linear-gradient(180deg, rgba(247, 252, 255, .08) 54%, rgba(242, 249, 255, .95) 100%);
}

.hero-student-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(.94) contrast(.98);
}

.hero-grid > .hero-text,
.hero-grid > .report {
  z-index: 1;
}

html:not([data-home-audience="primary"]) .hero-student-scene {
  display: none;
}

html[data-home-audience="primary"] .hero h1 {
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(255, 255, 255, .98);
}

@media (max-width: 950px) {
  html[data-home-audience="primary"] .hero-student-scene {
    inset: -30px -14px auto -14px;
    width: auto;
    height: 600px;
    border-radius: 38px;
    opacity: .82;
  }

  html[data-home-audience="primary"] .hero-student-scene::after {
    background:
      linear-gradient(90deg, rgba(247, 252, 255, .99) 0%, rgba(247, 252, 255, .95) 43%, rgba(247, 252, 255, .34) 74%, rgba(247, 252, 255, .05) 100%),
      linear-gradient(180deg, rgba(247, 252, 255, .08) 48%, rgba(242, 249, 255, .98) 96%);
  }

  html[data-home-audience="primary"] .hero-text {
    min-height: 575px;
    padding-top: 24px;
  }

  html[data-home-audience="primary"] .hero-text h1 {
    max-width: 78%;
    margin-right: auto;
    text-align: left;
  }

  html[data-home-audience="primary"] .hero-text .lead {
    max-width: 92%;
    text-align: left;
  }
}

@media (max-width: 620px) {
  html[data-home-audience="primary"] .hero-student-scene {
    inset-inline: -14px;
    height: 550px;
    border-radius: 30px;
  }

  html[data-home-audience="primary"] .hero-text {
    min-height: 545px;
    padding-top: 15px;
  }

  html[data-home-audience="primary"] .hero-text h1 {
    max-width: 82%;
  }

  html[data-home-audience="primary"] .hero-text .lead {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-student-scene img {
    transition: none;
  }
}
