.hero {
  display: grid;
  align-items: center;
  min-height: clamp(570px, 48vw, 790px);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 14, 28, .65), transparent 75%);
  content: "";
}

.hero #portfolio-title {
  max-width: 16ch;
  margin: .34em 0 .28em;
  font-size: clamp(2.35rem, 4.55vw, 4.65rem);
  line-height: 1.04;
  text-wrap: balance;
}

.thesis-subtitle {
  max-width: 37ch;
  color: #e0eef8;
  font-size: clamp(1.08rem, 1.65vw, 1.45rem);
  line-height: 1.45;
}

.hero .institution {
  margin-top: 1.4rem;
  font-size: clamp(.92rem, 1.25vw, 1.12rem);
}

@media (max-width: 600px) {
  .hero { min-height: 0; }
  .hero-image { object-position: 70% center; }
  .hero #portfolio-title { max-width: 18ch; }
}
