@media (max-width: 620px) {
  .hero,
  .hero.compact {
    display: block;
    min-height: 0;
    padding: 110px 0 0;
    background: #0b0e12;
    overflow: hidden;
  }

  .hero.compact {
    min-height: 0;
    padding-bottom: 0;
  }

  .hero .wrap {
    width: 100%;
  }

  .hero .hero-copy {
    padding: 0 20px 34px;
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    content: "";
    display: block;
    position: relative;
    inset: auto;
    height: 380px;
    background:
      linear-gradient(180deg, #0b0e12 0%, transparent 16%, transparent 82%, #0b0e12 100%),
      var(--hero-photo) 72% center / auto 430px no-repeat;
    pointer-events: none;
  }

  .hero.compact::after {
    height: 320px;
    background-size: auto 370px;
  }

  .hero h1,
  .hero.compact h1 {
    margin: 18px 0 20px;
    font-size: clamp(38px, 11.5vw, 46px);
    line-height: 1.02;
  }

  .hero .lead {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.52;
  }

  .home-hero .actions .btn.secondary {
    display: none;
  }

  .home-hero .proof {
    display: none;
  }

  .home-hero .actions .btn.primary {
    width: auto;
    min-height: 54px;
    padding: 14px 18px;
    font-size: 16px;
  }

  .bandin {
    padding: 8px 0;
  }

  .metric {
    padding: 17px 0;
  }

  .metric b {
    font-size: 18px;
  }

  .metric span {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.45;
  }
}

.hero {
  --hero-photo: url("/assets/facility-technician.webp");
  background-image:
    linear-gradient(90deg,#0b0e12 0%,#0b0e12 38%,rgba(11,14,18,.91) 54%,rgba(11,14,18,.15) 100%),
    var(--hero-photo);
}

.hero.maintenance-hero {
  --hero-photo: url("/assets/industrial-technician.webp");
}

.hero.community-hero {
  --hero-photo: url("/assets/community-technician.webp");
  background-position: center, right bottom;
  background-size: 100% 100%, auto calc(100% - 82px);
}

.home-hero h1 {
  font-size: clamp(48px,5.4vw,72px);
}

@media (max-width: 620px) {
  .hero {
    background: #0b0e12;
  }

  .hero::after {
    background-size: 100% 100%, auto 430px;
    background-repeat: no-repeat;
  }

  .hero.compact::after {
    background-size: 100% 100%, auto 370px;
  }

  .hero.community-hero::after {
    height: 340px;
    background-position: center, right center;
    background-size: 100% 100%, auto 380px;
  }

  .home-hero .actions .btn.secondary {
    display: inline-flex;
  }

  .home-hero .actions .btn,
  .home-hero .actions .btn.primary {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
  }

  .home-hero h1 {
    font-size: clamp(36px,10vw,43px);
  }

  .contact a {
    font-size: 20px;
    overflow-wrap: anywhere;
  }
}
