.about-hero {
  --about-hero-image-x: 50%;
  --about-hero-image-y: 50%;
  --about-hero-mobile-image-x: 50%;
  --about-hero-mobile-image-y: 50%;
  --about-hero-overlay-top: 0.62;
  --about-hero-overlay-middle: 0.2;
  --about-hero-overlay-bottom: 0.58;
  --about-hero-overlay-side: 0.18;
  position: relative;
  min-height: clamp(43rem, 180vw, 48rem);
  overflow: hidden;
  background-color: var(--color-brand-primary-darkened);
  color: var(--color-text-on-dark);
  isolation: isolate;
}

@media (min-width: 600px) {
  .about-hero {
    min-height: 48rem;
  }
}

@media (min-width: 900px) {
  .about-hero {
    min-height: 52rem;
  }
}

@media (min-width: 1200px) {
  .about-hero {
    min-height: min(81.5vw, 88rem);
  }
}

.about-hero--overlay-strong {
  --about-hero-overlay-top: 0.76;
  --about-hero-overlay-middle: 0.34;
  --about-hero-overlay-bottom: 0.72;
  --about-hero-overlay-side: 0.38;
}

.about-hero--image-left {
  --about-hero-image-x: 0%;
}

.about-hero--image-center {
  --about-hero-image-x: 50%;
}

.about-hero--image-right {
  --about-hero-image-x: 75%;
}

.about-hero--image-y-top {
  --about-hero-image-y: 0%;
}

.about-hero--image-y-center {
  --about-hero-image-y: 50%;
}

.about-hero--image-y-bottom {
  --about-hero-image-y: 100%;
}

.about-hero--image-mobile-left {
  --about-hero-mobile-image-x: 25%;
}

.about-hero--image-mobile-center {
  --about-hero-mobile-image-x: 50%;
}

.about-hero--image-mobile-right {
  --about-hero-mobile-image-x: 75%;
}

.about-hero--image-mobile-y-top {
  --about-hero-mobile-image-y: 0%;
}

.about-hero--image-mobile-y-center {
  --about-hero-mobile-image-y: 50%;
}

.about-hero--image-mobile-y-bottom {
  --about-hero-mobile-image-y: 100%;
}

.about-hero__media,
.about-hero__scrim {
  position: absolute;
  inset: 0;
}

.about-hero__media {
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--color-brand-primary-darkened);
}

.about-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--about-hero-mobile-image-x) var(--about-hero-mobile-image-y);
}

@media (min-width: 600px) {
  .about-hero__image {
    object-position: var(--about-hero-image-x) var(--about-hero-image-y);
  }
}

.about-hero__scrim {
  z-index: -1;
  background-image: linear-gradient(
    180deg,
    rgb(3 8 50 / var(--about-hero-overlay-top)) 0%,
    rgb(5 12 64 / var(--about-hero-overlay-middle)) 36%,
    rgb(5 12 54 / 12%) 62%,
    rgb(3 8 42 / var(--about-hero-overlay-bottom)) 100%
  );
}

@media (min-width: 600px) {
  .about-hero__scrim {
    background-image: linear-gradient(
      90deg,
      transparent 34%,
      rgb(23 28 143 / 8%) 50%,
      rgb(23 28 143 / var(--about-hero-overlay-side)) 100%
    );
  }
}

.about-hero.is-missing-image {
  background-image:
    radial-gradient(circle at 16% 22%, rgb(0 183 189 / 48%), transparent 38%),
    linear-gradient(135deg, var(--color-brand-primary-darkened), var(--color-brand-primary));
}

.about-hero.is-missing-image .about-hero__scrim {
  background-image: linear-gradient(135deg, rgb(23 28 143 / 28%), rgb(5 13 70 / 84%));
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 144rem);
  min-height: inherit;
  flex-direction: column;
  justify-content: space-between;
  padding: 9rem 1rem 1.25rem;
  margin-inline: auto;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .about-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 45%) minmax(19rem, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    align-content: start;
    align-items: start;
    padding: 10rem clamp(2rem, 5vw, 4rem) 2.5rem;
    gap: 0 clamp(2rem, 5vw, 5rem);
  }
}

@media (min-width: 900px) {
  .about-hero__inner {
    grid-template-columns: minmax(0, 52%) minmax(26rem, 1fr);
    padding: 11rem clamp(2rem, 3vw, 3rem) 3.5rem 0;
    gap: 0;
  }
}

@media (min-width: 1200px) {
  .about-hero__inner {
    grid-template-columns: minmax(0, min(55.56vw, 80rem)) minmax(31rem, 1fr);
    padding-top: clamp(12rem, 16.2vw, 17.5rem);
    padding-right: clamp(2rem, 3vw, 3.25rem);
    padding-bottom: 4rem;
  }
}

.about-hero__content {
  width: min(100%, 34rem);
  margin-inline: auto;
  text-align: center;
  text-shadow: 0 0.125rem 1rem rgb(0 0 0 / 20%);
}

@media (min-width: 600px) {
  .about-hero__content {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    width: 100%;
    max-width: 40rem;
    margin-inline: 0;
    text-align: left;
  }
}

@media (min-width: 1200px) {
  .about-hero__content {
    margin-left: 0.5rem;
  }
}

.about-hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

@media (min-width: 1200px) {
  .about-hero__eyebrow {
    margin-bottom: 1.25rem;
    font-weight: 400;
  }
}

.about-hero__title {
  max-width: 15ch;
  margin: 0 auto;
  font-size: clamp(2.5rem, 10vw, 3.125rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.99;
  text-wrap: balance;
}

@media (min-width: 600px) {
  .about-hero__title {
    margin-inline: 0;
    font-size: clamp(3rem, 5.8vw, 3.75rem);
  }
}

@media (min-width: 1200px) {
  .about-hero__title {
    max-width: 14ch;
    font-size: clamp(3.5rem, 4.17vw, 4.5rem);
  }
}

.about-hero__body {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  font-size: 1rem;
  line-height: 1.45;
  text-wrap: pretty;
}

@media (min-width: 600px) {
  .about-hero__body {
    margin-inline: 0;
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  .about-hero__body {
    margin-top: 1rem;
    font-size: clamp(1rem, 1.04vw, 1.125rem);
    line-height: 1.4;
  }
}

.about-hero__cta {
  width: min(100%, 13.375rem);
  margin-top: 1.25rem;
}

@media (min-width: 600px) {
  .about-hero__cta {
    width: 13.375rem;
  }
}

@media (min-width: 1200px) {
  .about-hero__cta {
    margin-top: clamp(1.5rem, calc(5.56vw - 3.5rem), 2.5rem);
  }
}

.about-hero__cta:focus-visible {
  outline: 3px solid var(--color-surface-fixed-light);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--color-brand-accent);
}

.about-hero__stats {
  display: grid;
  width: 100%;
  max-width: 36rem;
  grid-template-columns: repeat(var(--about-hero-stat-columns), minmax(0, 1fr));
  padding-block: 0.75rem;
  border-block: 1px solid rgb(255 255 255 / 28%);
  border-radius: 0;
  margin: 0 auto;
  overflow: hidden;
  background-color: rgb(5 13 64 / 18%);
  box-shadow: none;
  gap: 0;
  -webkit-backdrop-filter: blur(0.375rem) saturate(110%);
  backdrop-filter: blur(0.375rem) saturate(110%);
}

@media (min-width: 600px) {
  .about-hero__stats {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    max-width: 40rem;
    padding: 0;
    border: 0;
    margin-inline: 0;
    margin-top: 2.5rem;
    overflow: visible;
    background-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (min-width: 1200px) {
  .about-hero__stats {
    margin-top: clamp(2rem, calc(4.17vw - 1.75rem), 2.75rem);
    margin-left: 0.5rem;
  }
}

.about-hero__stat {
  display: flex;
  min-width: 0;
  min-height: 5.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0.5rem;
  background-color: transparent;
  text-align: center;
  text-shadow: 0 0.125rem 0.75rem rgb(0 0 0 / 42%);
}

@media (min-width: 900px) {
  .about-hero__stat {
    min-height: 6rem;
    padding: 0 0.5rem;
  }
}

@media (min-width: 900px) {
  .about-hero__stat:first-child {
    padding-left: 0;
  }
}

@media (min-width: 900px) {
  .about-hero__stat:last-child {
    padding-right: 0;
  }
}

.about-hero__stat-label {
  order: 2;
  margin-top: 0.5rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-wrap: balance;
}

@media (min-width: 600px) {
  .about-hero__stat-label {
    font-size: 0.6875rem;
  }
}

@media (min-width: 1200px) {
  .about-hero__stat-label {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25;
  }
}

.about-hero__stat-value {
  order: 1;
  margin: 0;
  font-size: clamp(1.625rem, 7vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

@media (min-width: 600px) {
  .about-hero__stat-value {
    font-size: clamp(2.25rem, 4.5vw, 3rem);
  }
}

@media (min-width: 1200px) {
  .about-hero__stat-value {
    font-size: clamp(3rem, 4.17vw, 4.5rem);
  }
}

.about-hero.is-missing-stats .about-hero__inner {
  justify-content: flex-start;
}

@media (min-width: 600px) {
  .about-hero.is-missing-stats .about-hero__inner {
    grid-template-rows: 1fr;
  }
}
