/*
 * About page — measured from phoenixgoldnetwork.org/about at 1440 / 810 / 390.
 * .page-hero and .crumbs are shared with the other subpages.
 */

/* ============================================================ page hero */
.page-hero {
  margin-top: 3px;
  min-height: 451px;
  background: #1c1c1c;
}
.page-hero-in {
  max-width: 1245px;
  margin: 0 auto;
  padding: 81px 0 60px;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 50px;
  font-size: 16px;
  line-height: 19.2px;
  font-weight: 400;
}
.crumbs a {
  opacity: 0.6;
  transition: opacity 0.2s;
}
.crumbs a:hover {
  opacity: 1;
}
.crumbs svg {
  width: 16px;
  height: 24px;
}
.page-hero-grid {
  display: flex;
  justify-content: space-between;
  gap: 69px;
}
.page-hero h1 {
  margin-top: 14px;
  max-width: 574px;
  font-size: 45px;
  line-height: 63px;
  font-weight: 700;
}
.page-hero-lead {
  margin-top: 14px;
  max-width: 600px;
  text-align: right;
  font-size: 17px;
  line-height: 34px;
  font-weight: 300;
  letter-spacing: 0.51px;
}

/* ========================================================== layout */
.about {
  display: grid;
  grid-template-columns: 144px 863px;
  column-gap: 144px;
  max-width: 1151px;
  margin: 50px auto 0;
  padding-bottom: 260px; /* footer starts 260px under the FAQ on Framer */
}
/* Sticky in-page menu: starts beside "Our Story", then holds 109px from the
   top of the viewport. */
.about-side-in {
  position: sticky;
  top: 109px;
  margin-top: 9px;
  display: grid;
  gap: 29px;
  justify-items: end;
  text-align: right;
}
.about-side {
  align-self: stretch;
}
.about-side a {
  font-size: 15px;
  line-height: 18px;
  font-weight: 500;
  color: #999999;
  transition: color 0.2s;
}
.about-side a:hover,
.about-side a.current {
  color: #ffffff;
}

.about h2 {
  font-size: 50px;
  line-height: 70px;
  font-weight: 800;
}
.about-split {
  display: grid;
  grid-template-columns: 531px 302px;
  column-gap: 30px;
  align-items: center;
  padding-top: 50px;
}
.about-split + .about-split {
  padding-top: 100px;
}
.about-split.flip {
  grid-template-columns: 302px 531px;
}
.about-split.flip > div {
  grid-column: 2;
  grid-row: 1;
}
.about-split.flip > img {
  grid-column: 1;
  grid-row: 1;
}
.about-split img {
  width: 302px;
  height: 369px;
  object-fit: cover;
  border-radius: 15px;
}
.about-copy {
  margin-top: 10px;
  font-size: 16px;
  line-height: 32px;
  font-weight: 300;
}
.about-copy.small {
  font-size: 15px;
  line-height: 30px;
}
/* Framer fades the body copy to 70% as part of its reveal. */
.about-copy.in,
html:not(.js) .about-copy {
  opacity: 0.7;
}

/* ============================================================ team */
.about-team {
  padding-top: 100px;
}
.about-team h2,
.about-faq h2 {
  text-align: center;
}
.team {
  display: grid;
  grid-template-columns: repeat(3, 268px);
  justify-content: space-between;
  margin-top: 30px;
}
.member {
  display: grid;
  grid-template-columns: 1fr 24px;
  align-content: start;
  padding: 15px 15px 47px;
  border-radius: 15px;
  --bd: #333333;
  transition: transform 0.3s var(--ease-out);
}
.member:hover {
  transform: scale(1.03);
}
.member img {
  grid-column: 1 / -1;
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-radius: 15px;
}
.member img.logo-tile {
  object-fit: contain;
  background: #ffffff;
}
.member-name {
  margin-top: 20px;
  font-size: 22px;
  line-height: 30.8px;
  font-weight: 800;
}
.member-role {
  grid-column: 1;
  margin-top: 2px;
  font-size: 13px;
  line-height: 18.2px;
  font-weight: 500;
  opacity: 0.7;
}
.member-in {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  width: 24px;
  height: 24px;
  margin: 22px 7px 0 -7px;
}

/* ============================================================= faq */
.about-faq {
  padding-top: 130px;
}
/* one grid, so both columns share row heights as on Framer */
.faq-cards {
  margin-top: 30px;
  grid-template-columns: 1fr 1fr;
  gap: 25px 24px;
}
.faq-cards details {
  border-radius: 15px;
  background: #1c1c1c;
  --bd: #333333;
}
.faq-cards summary {
  position: relative;
  display: block;
  padding: 20px 20px 20px 50px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
/* 13px plus at 30% opacity; turns into a minus when open */
.faq-cards summary::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 25px;
  width: 13px;
  height: 13px;
  opacity: 0.3;
  background:
    linear-gradient(#fff, #fff) center / 13px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 13px no-repeat;
  transition: transform 0.3s var(--ease-out);
}
.faq-cards details[open] summary::before {
  transform: rotate(90deg);
  background: linear-gradient(#fff, #fff) center / 13px 2px no-repeat;
}
.faq-cards details p {
  padding: 0 20px 24px 50px;
  font-size: 20px;
  line-height: 34px;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================== tablet */
@media (max-width: 1199px) {
  .page-hero {
    min-height: 646px;
  }
  .page-hero-in {
    padding: 81px 41px 60px;
  }
  .crumbs {
    margin-left: 0;
  }
  .page-hero-grid {
    display: block;
  }
  .page-hero h1 {
    max-width: 729px;
  }
  .page-hero-lead {
    margin-top: 20px;
    text-align: left;
  }
  .about {
    display: block;
    max-width: none;
    margin-top: 0;
    padding: 0 60px 209px 61px;
  }
  #story .about-copy {
    max-width: 392px;
  }
  #mission .about-copy {
    max-width: 412px;
  }
  .about-side {
    display: none;
  }
  .about-split {
    grid-template-columns: 418px 241px;
    align-items: start;
    padding-top: 100px;
  }
  .about-split.flip {
    grid-template-columns: 241px 418px;
  }
  .about-split img {
    width: 241px;
    height: 400px;
  }
  .about-split.flip img {
    height: 530px;
  }
  .team {
    grid-template-columns: repeat(2, 329px);
    gap: 30px;
  }
  .member img {
    height: 284px;
  }
  .about-faq {
    padding-top: 100px;
  }
}

/* ============================================================ phone */
@media (max-width: 809px) {
  .page-hero {
    min-height: 518px;
  }
  .page-hero-in {
    padding: 41px 20px 40px;
  }
  .page-hero h1 {
    font-size: 30px;
    line-height: 42px;
  }
  .page-hero-lead {
    margin-top: 15px;
    max-width: 337px;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0.36px;
  }
  .about {
    padding: 0 19px 125px 20px;
  }
  /* Framer sets this one name larger on phones */
  .member:last-child .member-name {
    font-size: 25px;
    line-height: 35px;
  }
  .about h2 {
    font-size: 30px;
    line-height: 42px;
  }
  .about-split,
  .about-split.flip {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }
  .about-split + .about-split {
    padding-top: 100px;
  }
  .about-split > img,
  .about-split.flip > img {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    height: 217px;
    margin-bottom: 30px;
  }
  .about-split.flip img {
    height: 217px;
  }
  .about-split > div,
  .about-split.flip > div {
    grid-row: 2;
    grid-column: 1;
  }
  .team {
    grid-template-columns: 1fr;
  }
  .member img {
    height: 304px;
  }
  .member-role {
    font-size: 15px;
    line-height: 21px;
  }
  .faq-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
