/* Unified inner-page hero treatment, matching the Projects page. */
.about-hero,
.career-hero {
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: block;
  color: #fffdfa;
  background-color: #06243d;
  border-bottom: 3px solid rgba(181, 132, 78, .9);
}

.about-hero {
  background:
    linear-gradient(90deg, rgba(6, 36, 61, .22) 0%, rgba(6, 36, 61, .48) 52%, rgba(6, 36, 61, .9) 100%),
    linear-gradient(180deg, rgba(6, 36, 61, .12) 0%, rgba(6, 36, 61, .42) 100%),
    url("project-road.jpeg") center 48% / cover no-repeat;
}

/* The About hero intentionally has no company-name kicker or gold divider. */
.about-hero-kicker {
  display: none !important;
}

.about-hero-kicker::before {
  content: none !important;
}

.career-hero {
  background:
    linear-gradient(90deg, rgba(6, 36, 61, .22) 0%, rgba(6, 36, 61, .48) 52%, rgba(6, 36, 61, .9) 100%),
    linear-gradient(180deg, rgba(6, 36, 61, .12) 0%, rgba(6, 36, 61, .42) 100%),
    url("project-park.jpeg") center 46% / cover no-repeat;
}

.about-hero::before,
.career-hero::before {
  content: none;
}

.about-hero::after,
.career-hero::after {
  content: "";
  width: 420px;
  height: 420px;
  position: absolute;
  left: -180px;
  top: -270px;
  background: transparent;
  border: 1px solid rgba(201, 161, 111, .25);
  border-radius: 50%;
}

.about-hero-inner,
.career-hero .hero-inner {
  width: min(calc(100% - 96px), 1420px);
  min-height: 410px;
  margin: auto;
  padding: 86px 0 76px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-hero h1,
.career-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: "Heebo", Arial, sans-serif;
  font-size: clamp(52px, 5.4vw, 78px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.5px;
  text-shadow: 0 4px 22px rgba(0, 0, 0, .42);
}

.about-hero-subtitle,
.career-hero .hero-subtitle {
  max-width: 850px;
  margin: 22px 0 0;
  color: rgba(255, 253, 250, .92);
  font-family: "Heebo", Arial, sans-serif;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.2px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .48);
}

@media (max-width: 620px) {
  .about-hero-inner,
  .career-hero .hero-inner {
    width: min(calc(100% - 40px), 1420px);
    min-height: 300px;
    padding: 62px 0 54px;
  }

  .about-hero {
    background:
      linear-gradient(90deg, rgba(6, 36, 61, .52) 0%, rgba(6, 36, 61, .74) 52%, rgba(6, 36, 61, .92) 100%),
      linear-gradient(180deg, rgba(6, 36, 61, .18) 0%, rgba(6, 36, 61, .46) 100%),
      url("project-road.jpeg") center 48% / cover no-repeat;
  }

  .career-hero {
    background:
      linear-gradient(90deg, rgba(6, 36, 61, .52) 0%, rgba(6, 36, 61, .74) 52%, rgba(6, 36, 61, .92) 100%),
      linear-gradient(180deg, rgba(6, 36, 61, .18) 0%, rgba(6, 36, 61, .46) 100%),
      url("project-park.jpeg") center 46% / cover no-repeat;
  }
}
