.about-page {
  position: relative;
  overflow: hidden;
}

.about-page::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 20%;
  z-index: -1;
  background: linear-gradient(90deg, #b5d0e9 0%, transparent 80%);
  background-repeat: no-repeat;
  pointer-events: none;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 30%,
    black 75%,
    black 100%
  );
}

.about-page::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 20%;
  z-index: -2;
  background:
    radial-gradient(
      ellipse 620px 320px at var(--content-gold-x, 75%)
        var(--content-gold-y, 50%),
      #f2b57e 0%,
      #f2b57e 35%,
      transparent 120%
    ),
    radial-gradient(
      ellipse 700px 900px at var(--content-orange-x, 75%)
        var(--content-orange-y, 100%),
      #f37321 0%,
      #f37321 20%,
      transparent 120%
    );
  background-repeat: no-repeat;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 50%, black 100%);
}

@media (max-width: 1023px) {
  .about-page::before,
  .about-page::after {
    height: 40%;
  }
}

.about-hero {
  --orange-x: 50%;
  --orange-y: 100%;
  --gold-x: 55%;
  --gold-y: 18%;
  --linear-angle: 100deg;
  --linear-opacity: 1;

  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background-color: #ffffff;
  z-index: 0;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: var(--linear-opacity);
  filter: saturate(1.2);
  pointer-events: none;

  background-image:
    radial-gradient(
      ellipse 70% 80% at 70% 100%,
      rgba(242, 181, 126, 0.95) 0%,
      rgba(242, 181, 126, 0.95) 35%,
      transparent 65%
    ),
    linear-gradient(
      var(--linear-angle),
      #a8c8df 0%,
      #a8c8df 30%,
      rgba(168, 200, 223, 0) 75%
    ),
    radial-gradient(
      ellipse 60% 100% at 80% 0%,
      rgba(243, 115, 33, 0.75) 0%,
      rgba(243, 115, 33, 0.5) 75%,
      transparent 100%
    );
  background-image:
    radial-gradient(
      ellipse 70% 70% at 100% 0%,
      rgba(243, 115, 33, 0.75) 0%,
      rgba(243, 115, 33, 0.5) 40%,
      transparent 100%
    ),
    linear-gradient(90deg, #a8c8df, rgba(242, 181, 126));
  background-size: cover, cover, cover;
}

.about-hero__gradient-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero__gradient-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.about-hero__svg {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 0 0 1.5rem;
  position: relative;
  z-index: 10;
}

.about-hero__description {
  font-size: 2.4vw;
  line-height: 1.2;
  max-width: 32ch;
  position: relative;
  z-index: 10;
}

@media (max-width: 1023px) {
  .about-hero {
    min-height: 100svh;
    justify-content: flex-end;
  }

  .about-hero {
    --orange-x: 100%;
    --orange-y: 100%;
    --gold-x: 100%;
    --gold-y: 55%;
    --blue-x: 15%;
    --blue-y: 15%;
  }

  .about-hero::before {
    background-image:
      radial-gradient(
        ellipse 380px 320px at var(--gold-x) var(--gold-y),
        #fdcd84 0%,
        #fdcd84 30%,
        transparent 70%
      ),
      radial-gradient(
        ellipse 900px 1100px at var(--blue-x) var(--blue-y),
        #b5d0e9 0%,
        #b5d0e9 35%,
        transparent 70%
      ),
      radial-gradient(
        ellipse 1000px 900px at var(--orange-x) var(--orange-y),
        #f37321 0%,
        #f37321 45%,
        transparent 85%
      );
  }

  .about-hero__description {
    font-size: 24px;
    margin-top: 2rem;
  }
}

.about-accordion__heading {
  margin-bottom: 2rem;
}

.accordion-item {
  border-bottom: 1px solid #e2e2e2;
  width: 100%;
  max-width: 900px;
}

.accordion-item:first-of-type {
  border-top: 1px solid #e2e2e2;
}

.accordion-item__summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 1.5rem 3rem;
  font-size: 1.125rem;
  line-height: 1.125rem;
  font-weight: 400;
  color: #000000;
}

.accordion-item__summary::-webkit-details-marker {
  display: none;
}

.accordion-item__summary::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform 0.2s ease;
}

.accordion-item[open] .accordion-item__summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-item__body {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  align-items: center;
  padding-left: 3rem;
}

.accordion-item__text p {
  font-size: 14px;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #717171;
  font-weight: 400;
  max-width: 35ch;
}

.accordion-item__cta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
  color: #000000;
}

.accordion-item__cta a:hover {
  opacity: 0.65;
}

.accordion-item__images {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.accordion-item__image figcaption {
  font-size: 0.8125rem;
  color: #767676;
  margin-bottom: 0.5rem;
}

.accordion-item__image img,
.accordion-item__image video {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1023px) {
  .accordion-item__body {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
}

.about-map__heading {
  margin-bottom: 2rem;
}

.about-map__frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
}

.about-map__canvas {
  position: relative;
}

.about-map__background {
  width: 100%;
  height: auto;
  display: block;
}

.map-dot {
  --dot-color: #000000;
  position: absolute;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--dot-color);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.map-dot--labeled {
  z-index: 10;
}

.map-dot:hover,
.map-dot.is-active {
  z-index: 20;
  transform: translate(-50%, -50%) scale(1.125);
}

.map-dot--no-legend {
  cursor: default;
}

.map-dot--no-legend:hover {
  transform: translate(-50%, -50%);
}

.map-dot__label {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 1.125rem;
  color: #000000;
  pointer-events: none;
}

.map-legend {
  position: absolute;
  right: 0;
  bottom: -2rem;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-legend__group {
  text-align: right;
  transition: transform 0.2s ease;
  transform-origin: right center;
}

.map-legend__group.is-active {
  transform: scale(1.05);
}

.map-legend__group.is-active .map-legend__label {
  color: var(--group-color, #000000);
}

.map-legend__label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 24px;
  transition: color 0.2s ease;
  line-height: 1.1;
}

.map-legend__label--stacked {
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.map-legend__label-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-legend__number {
  line-height: 1.1;
}

.map-legend__swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.map-legend__names {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 0.6em;
  font-size: 0.8125rem;
  color: #767676;
}

.map-legend__name {
  display: inline-block;
  transition:
    color 0.2s ease,
    transform 0.2s ease,
    margin 0.2s ease;
  transform-origin: right center;
}

.map-legend__name.is-active {
  color: var(--group-color, #000000);
  font-weight: 600;
  transform: scale(1.1);
  margin-inline: 0.25em;
}

.about-map__intro {
  margin-top: -4rem;
  max-width: 40ch;
  position: relative;
}

.about-map__intro h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.about-map__intro-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0;
}

.about-map__intro p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  .about-map {
    display: flex;
    flex-direction: column;
  }

  .about-map__frame {
    max-width: 100%;
    order: 1;
  }

  .about-map__intro {
    margin-top: 0;
    margin-bottom: 2rem;
  }

  .map-legend {
    position: relative;
    max-width: none;
    margin-top: -2rem;
    bottom: 0;
  }

  .map-dot__label {
    font-size: 0.625rem;
  }

  .map-legend__label {
    font-size: 1.125rem;
  }

  .map-legend__swatch {
    width: 8px;
    height: 8px;
  }

  .accordion-item__text p {
    max-width: none;
  }
}

.about-partners__heading {
  margin-bottom: 2.5rem;
}

.about-partners__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  width: 100%;
  max-width: 900px;
}

.partner-card__photo-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.partner-card__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.partner-card__bio {
  font-size: 0.9375rem;
  line-height: 1.2;
  color: #000000;
  margin-top: 0.75rem;
}

.partner-card__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.partner-card__name {
  font-weight: 500;
}

.partner-card__icons {
  gap: 0.75rem;
  flex-shrink: 0;
}

.partner-card__role {
  font-size: 0.875rem;
  color: #767676;
  margin-top: 0.25rem;
}

.partner-card .social-icon:nth-child(2) {
  width: 22px;
}

@media (max-width: 1023px) {
  .about-partners__grid {
    grid-template-columns: 1fr;
  }
}

.about-cta__button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid #000000;
  color: #000000;
  transition: opacity 0.2s ease;
}

.about-cta__button:hover {
  opacity: 0.65;
}

.about-cta__button--secondary {
  display: block;
  margin-top: 1.25rem;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
