.about-h1-section {
  position: relative;
  background: var(--color-faragalla-navy-deep);
  color: var(--color-white);
  font-family: var(--font-body);
  isolation: isolate;
}

.about-h1-section__scroll {
  height: 175vh;
}

.about-h1-section__stage {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  overflow: hidden;
  height: 100vh;
  min-height: 560px;
  align-items: flex-end;
  --about-h1-wash-rise: 18%;
  --about-h1-wash-feather: 42%;
}

.about-h1-section__media,
.about-h1-section__shade,
.about-h1-section__readability-wash {
  position: absolute;
  inset: 0;
}

.about-h1-section__media {
  top: 3%;
  height: 108%;
  z-index: 0;
  opacity: calc(1 - var(--about-h1-hero-fade, 0));
  transform: translate3d(0, var(--about-h1-media-shift, 0px), 0) scale(var(--about-h1-media-scale, 1));
  transform-origin: center 18%;
  will-change: transform, opacity;
}

.about-h1-section__media picture,
.about-h1-section__image {
  display: block;
  width: 100%;
  height: 100%;
}

.about-h1-section__image {
  object-fit: cover;
  object-position: center 38%;
}

.about-h1-section__sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.about-h1-section__image--fallback {
  background:
    radial-gradient(circle at 48% 18%, rgba(149, 194, 255, 0.22), transparent 18%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.9)),
    url("../../../../assets/media/after-hero-bg.png") center 38% / cover no-repeat;
}

.about-h1-section__shade {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(12, 18, 32, 0.1) 0%,
    rgba(12, 18, 32, 0.18) 42%,
    rgba(12, 18, 32, 0.28) 100%
  );
  opacity: calc(1 - var(--about-h1-hero-fade, 0) * 0.55);
}

.about-h1-section__readability-wash {
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(30, 58, 138, 0) 0%,
    rgba(30, 58, 138, 0.14) 22%,
    rgba(12, 36, 97, 0.38) 44%,
    rgba(12, 36, 97, 0.62) 58%,
    rgba(12, 36, 97, 0.82) 72%,
    var(--color-faragalla-navy) 86%,
    var(--color-faragalla-navy-deep) 100%
  );
  opacity: calc(0.35 + var(--about-h1-wash-strength, 0) * 0.65);
  -webkit-mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 calc(var(--about-h1-wash-rise, 18%) - var(--about-h1-wash-feather, 42%)),
    rgba(0, 0, 0, 0.72) calc(var(--about-h1-wash-rise, 18%) - calc(var(--about-h1-wash-feather, 42%) * 0.58)),
    rgba(0, 0, 0, 0.34) calc(var(--about-h1-wash-rise, 18%) - calc(var(--about-h1-wash-feather, 42%) * 0.24)),
    transparent var(--about-h1-wash-rise, 18%)
  );
  mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 calc(var(--about-h1-wash-rise, 18%) - var(--about-h1-wash-feather, 42%)),
    rgba(0, 0, 0, 0.72) calc(var(--about-h1-wash-rise, 18%) - calc(var(--about-h1-wash-feather, 42%) * 0.58)),
    rgba(0, 0, 0, 0.34) calc(var(--about-h1-wash-rise, 18%) - calc(var(--about-h1-wash-feather, 42%) * 0.24)),
    transparent var(--about-h1-wash-rise, 18%)
  );
  pointer-events: none;
}

.about-h1-section__ticker {
  position: relative;
  z-index: 3;
  width: 100%;
  overflow: hidden;
  padding: 0 0 clamp(10px, 2vh, 24px);
  opacity: calc(1 - var(--about-h1-hero-fade, 0) * 0.88);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, var(--color-white) 8%, var(--color-white) 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, var(--color-white) 8%, var(--color-white) 92%, transparent 100%);
}

.about-h1-section__ticker-track {
  display: flex;
  width: max-content;
  align-items: flex-end;
  gap: clamp(28px, 4vw, 72px);
  animation: about-h1-section-ticker 36s linear infinite;
  will-change: transform;
}

.about-h1-section__ticker-item {
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: clamp(88px, 18vw, 248px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  text-wrap: nowrap;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, rgba(255, 255, 255, 0.42) 28%, var(--color-white) 100%);
  mask-image: linear-gradient(0deg, transparent 0%, rgba(255, 255, 255, 0.42) 28%, var(--color-white) 100%);
}

.about-h1-section__reveal {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  margin-top: calc(-46vh - 1px);
  padding: 54vh clamp(24px, 4vw, 48px) clamp(72px, 10vw, 112px);
  opacity: var(--about-h1-reveal-opacity, 0);
  transform: translate3d(0, var(--about-h1-reveal-shift, 56px), 0);
  will-change: transform, opacity;
}

.about-h1-section__body {
  width: min(980px, 100%);
  margin-inline: auto;
  color: var(--color-white);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
  text-align: center;
  text-shadow: 0 1px 18px rgba(12, 31, 63, 0.28);
  text-wrap: pretty;
}

.about-h1-section__body p {
  margin: 0 0 18px;
}

.about-h1-section__body > *:last-child {
  margin-bottom: 0;
}

.about-h1-section__body a {
  color: var(--color-faragalla-blue-light);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(147, 197, 253, 0.55);
  text-underline-offset: 0.16em;
}

.about-h1-section__body a:hover,
.about-h1-section__body a:focus-visible {
  color: var(--color-white);
  text-decoration-color: currentColor;
}

.about-h1-section__body strong,
.about-h1-section__body b {
  color: var(--color-white);
  font-weight: 800;
}

.about-h1-section__body em,
.about-h1-section__body i {
  font-style: italic;
}

.about-h1-section__body ul,
.about-h1-section__body ol {
  display: inline-block;
  margin: 0 0 20px;
  padding-left: 1.35em;
  text-align: left;
}

.about-h1-section__body li + li {
  margin-top: 8px;
}

.about-h1-section__body h2,
.about-h1-section__body h3,
.about-h1-section__body h4,
.about-h1-section__body h5,
.about-h1-section__body h6 {
  margin: 28px 0 12px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.about-h1-section__body h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.about-h1-section__body h3 {
  font-size: clamp(24px, 2.4vw, 32px);
}

.about-h1-section__body h4,
.about-h1-section__body h5,
.about-h1-section__body h6 {
  font-size: clamp(20px, 2vw, 24px);
}

.about-h1-section__body blockquote {
  margin: 28px auto;
  padding: 0 0 0 22px;
  border-left: 3px solid var(--color-faragalla-blue-light);
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05em;
  text-align: left;
}

@keyframes about-h1-section-ticker {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 760px) {
  .about-h1-section__scroll {
    height: 165vh;
  }

  .about-h1-section__stage {
    min-height: 520px;
  }

  .about-h1-section__ticker-item {
    font-size: clamp(64px, 24vw, 120px);
    line-height: 0.84;
  }

  .about-h1-section__reveal {
    margin-top: calc(-40vh - 1px);
    padding-top: 48vh;
    padding-inline: 18px;
  }

  .about-h1-section__body {
    width: min(100%, 100%);
    font-size: 16px;
    line-height: 1.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-h1-section__stage {
    --about-h1-hero-fade: 1;
  }

  .about-h1-section__readability-wash {
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 1;
  }

  .about-h1-section__ticker-track {
    animation: none;
    transform: none;
  }

  .about-h1-section__reveal {
    opacity: 1;
    transform: none;
  }
}
