.portfolio-hero {
  min-height: max(520px, 33.333vw);
  padding: 150px 0 85px;
  background: #0b0a09;
}
.portfolio-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/img/portfolio-banner.png') center / cover no-repeat;
}
.portfolio-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, .92) 100px, transparent 190px);
}
.portfolio-hero-copy { width: 48%; }
.portfolio-hero h1 {
  font-size: clamp(32px, 3.2vw, 50px);
  line-height: 1.25;
  color: #fff;
}
.portfolio-hero .lead {
  font-size: 18px;
  line-height: 1.8;
  color: #fff;
}
@media (max-width: 900px) {
  .portfolio-hero {
    min-height: 0;
    padding: 140px 0 calc(clamp(240px, 65vw, 440px) + 24px);
  }
  .portfolio-hero-bg {
    top: auto;
    height: clamp(240px, 65vw, 440px);
    background-position: right bottom;
  }
  .portfolio-hero-bg::after {
    background: linear-gradient(#0b0a09, transparent 35%);
  }
  .portfolio-hero-copy { width: 100%; max-width: 620px; }
  .portfolio-hero h1 { font-size: 38px; }
}
@media (max-width: 767px) {
  .portfolio-hero { padding-top: 100px; }
  .portfolio-hero h1 { font-size: 32px; }
  .portfolio-hero .lead { font-size: 16px; margin-top: 22px; }
}
