.hero-visual {
  background: #e9f1f3;
}

.hero h1 {
  line-height: 1.13;
}

.hero h1 em::after {
  height: 6px;
  bottom: .12em;
}

.hero-visual::before {
  z-index: 1;
  background: linear-gradient(180deg, transparent 58%, rgba(9, 45, 68, 0.16));
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.section-photo {
  margin: 42px 0 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cloud);
}

.section-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.student-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #0b4055;
}

.student-visual > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.student-visual::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(180deg, transparent, rgba(6, 31, 48, 0.86));
}

.student-quote {
  position: absolute;
  z-index: 1;
  left: 8%;
  right: 8%;
  bottom: 8%;
  color: white;
}

.student-quote span {
  font: 800 68px/1 Georgia, serif;
  color: var(--lime);
}

.student-quote p {
  max-width: 650px;
  margin: 0;
  font: 600 clamp(23px, 2.5vw, 36px)/1.25 Manrope, sans-serif;
}

.finance-provider {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 8vw;
  align-items: center;
  padding: 85px 8vw;
  background: #fff;
  border-top: 1px solid #d5e0e0;
}

.finance-provider-copy h2 {
  margin: 0;
  max-width: 850px;
  color: var(--navy);
  font: 700 clamp(31px, 3.4vw, 50px)/1.15 Manrope, sans-serif;
  letter-spacing: -.035em;
}

.finance-provider-copy h2 span {
  color: var(--blue);
}

.finance-provider-copy > p:last-child {
  max-width: 690px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.finance-provider-logo {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
  background: #f4f7f8;
  border-left: 4px solid #0875f5;
}

.finance-provider-logo img {
  display: block;
  width: min(100%, 185px);
  height: auto;
}

@media (max-width: 900px) {
  .hero-visual {
    min-height: 520px;
  }

  .hero-photo {
    object-position: 62% center;
  }

  .student-visual {
    min-height: 540px;
  }

  .finance-provider {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 70px 25px;
  }

  .finance-provider-logo {
    width: 100%;
    max-width: 430px;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    line-height: 1.17;
  }

  .hero-visual {
    min-height: 430px;
  }

  .section-photo {
    margin-top: 30px;
  }

  .student-visual {
    min-height: 450px;
  }

  .student-quote p {
    font-size: 24px;
  }

  .finance-provider-copy h2 {
    font-size: 32px;
  }

  .finance-provider-logo {
    min-height: 150px;
    padding: 28px;
  }
}
