/* About page. Mobile first; desktop layout (matches the original at 1440 px) from 1200 px. */

.about-hero {
  background:
    radial-gradient(circle at 94% 90%, #D1E3E5 0%, rgba(209, 227, 229, 0) 40%),
    radial-gradient(circle at 6.5% 88%, rgba(221, 203, 183, 0.99) 0%, rgba(221, 203, 183, 0) 50%),
    linear-gradient(100deg, #E2DED6 0%, #D1E3E5 28%, #9DB9CE 58%, #93B3CB 100%);
}
.about-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 36px 24px 40px;
  text-align: center;
}
.about-hero__logo { width: 150px; height: 150px; }
.about-hero__title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.2;
  color: var(--teal);
}
.about-hero__lead {
  max-width: 560px;
  margin-top: 8px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.4px;
  text-align: center;
}

.about-heading {
  padding: 0 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.25;
  color: var(--teal);
  text-align: center;
}

/* ---------- The ways of a resilient community, and the principles tabs ---------- */
.about-ways { padding: 32px 0 40px; }
.about-ways__body { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 28px; }
.about-ways__diagram { width: min(100%, 497px); height: auto; }
.about-ways__list,
.about-tabs__list,
.about-objectives__list {
  padding-left: 22px;
  list-style: disc;
}
.about-ways__list {
  width: 100%;
  max-width: 560px;
  padding: 0 24px 0 44px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--teal);
}
.about-ways__list li { margin-bottom: 3px; }
.about-heading--principles { margin-top: 36px; }

.about-tabs { margin: 28px 16px 0; }
.about-tabs .tabs__list { gap: 9px; }
.about-tabs .tabs__tab {
  padding: 6px;
  background: #E6E6E6;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: var(--black);
}
.about-tabs .tabs__tab[aria-selected="true"] { background: var(--teal); color: var(--off-white); }
.about-tabs__panel {
  margin-top: 5px;
  padding: 24px 20px;
  background: rgba(230, 230, 230, 0.49);
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
  color: var(--teal);
}
.about-tabs__list { padding-left: 24px; }
.about-tabs__list li + li { margin-top: 2px; }

/* ---------- Objectives ---------- */
.about-objectives {
  background:
    radial-gradient(circle at 97% 99%, #A4C6CA 0%, rgba(164, 198, 202, 0) 35%),
    radial-gradient(circle at 94% 90%, #D1E3E5 0%, rgba(209, 227, 229, 0) 40%),
    linear-gradient(100deg, #FCFCFC 0%, #FCFCFC 40%, #D1E3E5 100%);
}
.about-objectives__inner { padding: 36px 24px 40px; }
.about-objectives__title {
  margin-bottom: 20px;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.2;
  color: var(--teal);
  text-align: center;
}
.about-objectives__list {
  max-width: 480px;
  margin: 0 auto;
  padding-left: 22px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
}
.about-objectives__list li + li { margin-top: 2px; }

/* ---------- Video ---------- */
.about-video { padding: 36px 20px 40px; }
.about-video__title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
  color: var(--teal);
  text-align: center;
}
.about-video__frame {
  width: 100%;
  max-width: 636px;
  margin: 24px auto 0;
  aspect-ratio: 636 / 360;
}
.about-video__frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- People at Proto ---------- */
.about-people { padding: 20px 0 40px; }
.about-people__title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  color: var(--teal);
  text-align: center;
}
.about-people__panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 24px 16px 0;
  padding: 36px 0 44px;
  background: rgba(209, 227, 229, 0.8);
}
.about-people__row { display: contents; }
.person { position: relative; width: min(287px, 72vw); margin: 0 auto; padding-bottom: 36px; }
.person__photo { width: 100%; aspect-ratio: 287 / 323; object-fit: cover; }
.person__label {
  position: absolute;
  left: 50px;
  right: -20px;
  bottom: 0;
  height: 80px;
  padding: 14px 13px 0;
  background: var(--white);
  color: var(--teal);
}
.person__name { font-weight: 700; font-size: 20px; line-height: 26px; }
.person__role { margin-top: 4px; font-size: 16px; line-height: 21px; }
@media (max-width: 420px) {
  .person__label { left: 28px; right: -12px; }
}

@media (min-width: 760px) {
  .about-hero__inner { flex-direction: row; justify-content: center; gap: 40px; padding: 40px 40px; text-align: left; }
  .about-hero__text { max-width: 560px; }
  .about-hero__lead { text-align: left; }
  .about-ways__body { flex-direction: row; align-items: center; justify-content: center; padding: 0 20px; }
  .about-ways__diagram { flex: none; width: 400px; }
  .about-ways__list { flex: 1; padding-left: 20px; }
  .about-tabs { max-width: 980px; margin-left: auto; margin-right: auto; }
  .about-objectives__inner { display: flex; align-items: flex-start; justify-content: center; gap: 40px; }
  .about-objectives__title { margin: 0; text-align: left; }
  .about-people__panel { flex-direction: column; align-items: center; gap: 34px; margin: 28px 20px 0; }
  .about-people__row { display: flex; justify-content: center; gap: 39px; width: 100%; }
  .person { width: 287px; margin: 0; }
}

@media (min-width: 1200px) {
  .about-hero { height: 351px; }
  .about-hero__inner { align-items: flex-start; justify-content: flex-start; gap: 0; width: 980px; margin: 0 auto; padding: 71px 0 0 27px; }
  .about-hero__logo { width: 208px; height: 208px; }
  .about-hero__text { max-width: none; width: 654px; margin: -2px 0 0 51px; }
  .about-hero__title { font-size: 63px; line-height: 75px; }
  .about-hero__lead { max-width: 635px; margin-top: 17px; font-size: 23px; line-height: 30.2px; letter-spacing: 0.46px; }

  .about-ways { height: 1110px; padding: 35px 0 0; }
  .about-ways__inner { width: 980px; margin: 0 auto; }
  .about-heading { font-size: 55px; line-height: 60.5px; padding: 0; }
  .about-ways__body { display: block; position: relative; height: 493px; margin-top: 72px; padding: 0; }
  .about-ways__diagram { position: absolute; left: 7px; top: 0; width: 497px; }
  .about-ways__list { position: absolute; left: 520px; top: 31px; width: 440px; max-width: none; padding: 0 0 0 17px; }
  .about-heading--principles { margin-top: 43px; }
  .about-tabs { width: 980px; margin: 44px auto 0; }
  .about-tabs__panel { height: 230px; margin-top: 5px; padding: 38px 70px 0 88px; font-size: 23px; line-height: 32.2px; }
  .about-tabs__list { padding-left: 0; }
  .about-tabs__list li { padding-left: 0; }
  .about-tabs__text { padding-left: 20px; }

  .about-objectives { height: 590px; }
  .about-objectives__inner { position: relative; width: 980px; margin: 0 auto; padding: 0; }
  .about-objectives__title { position: absolute; left: 54px; top: 54px; font-size: 55px; line-height: 65px; }
  .about-objectives__list { position: absolute; left: 475px; top: 50px; width: 520px; margin: 0; padding-left: 0; font-weight: 400; font-size: 23px; line-height: 32.2px; }
  .about-objectives__list li { padding-left: 0; }
  .about-objectives__list li + li { margin-top: 4px; }

  .about-video { height: 614px; padding: 48px 0 0; }
  .about-video__title { font-size: 55px; line-height: 73px; }
  .about-video__frame { margin-top: 31px; }

  .about-people { height: 1022px; padding: 21px 0 0; }
  .about-people__title { font-size: 56px; line-height: 66px; }
  .about-people__panel { display: block; margin: 24px 40px 0; padding: 0; }
  .about-people__row { padding: 39px 16px 0 0; }
  .about-people__row--two { height: 412px; align-items: flex-start; }
  .about-people__row--three { height: 445px; align-items: flex-start; }
  .person { padding-bottom: 0; height: 323px; }
  .person__label { left: 50px; right: auto; width: 255px; top: 274px; bottom: auto; height: 80px; }
}
