/* About page: motto hero, mission bento, founder, advisory council, team directory, network. */

.hero--motto h1 {
  max-width: none;
  font-size: clamp(3rem, 9.5vw, 9rem);
}

/* ---------- our mission: typographic bento ---------- */

.mission {
  padding: var(--section-space) var(--gutter);
}

/* 6 x 2 grid: the first goal takes 3 x 2, the other two take 3 x 1 each, so no cell is left empty */
.goals {
  display: grid;
  max-width: 1280px;
  grid-auto-flow: dense;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, minmax(230px, auto));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.goal {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  grid-column: span 3;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(154, 107, 255, 0.26), transparent 60%),
    var(--card);
  transition: border-color 0.4s;
}

.goal {
  position: relative;
  overflow: hidden;
}

.goal > :not(.card-photo) {
  position: relative;
}

.goal--lead {
  grid-row: span 2;
}

.goal:hover {
  border-color: rgba(201, 167, 255, 0.5);
}

.goal-number {
  color: var(--lilac);
  font-family: var(--font-accent);
  font-size: clamp(3.4rem, 6vw, 6rem);
  font-style: italic;
  line-height: 0.9;
}

.goal p {
  max-width: 20ch;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: var(--display-weight);
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-wrap: balance;
}

.goal--lead p {
  max-width: 14ch;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
}

@media (max-width: 800px) {
  .goals {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .goal,
  .goal--lead {
    min-height: 220px;
    grid-column: auto;
    grid-row: auto;
  }
}

/* ---------- founder: the portrait stays pinned while the story scrolls ---------- */

.founder {
  padding: 0 var(--gutter) var(--section-space);
}

.founder-profile {
  display: grid;
  max-width: 1280px;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}

.founder-portrait {
  position: sticky;
  top: 110px;
  overflow: hidden;
  max-height: calc(100svh - 140px);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform 1.1s var(--ease);
}

.founder-portrait:hover img {
  transform: scale(1.04);
}

.founder-title {
  color: var(--mute);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.founder-name {
  margin: 10px 0 28px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.founder-points {
  display: grid;
  max-width: 62ch;
  margin: 0 0 24px;
  padding: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  list-style: none;
}

.founder-points li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.founder-more summary {
  cursor: pointer;
  list-style: none;
}

.founder-more summary::-webkit-details-marker {
  display: none;
}

.founder-more[open] summary {
  margin-bottom: 24px;
}

.founder-bio {
  display: grid;
  max-width: 62ch;
  gap: 20px;
  color: var(--mute);
  font-size: 1.05rem;
  line-height: 1.65;
}



@media (max-width: 800px) {
  .founder-profile {
    grid-template-columns: minmax(0, 1fr);
  }

  .founder-portrait {
    position: static;
    max-width: 420px;
  }
}

/* ---------- astronaut advisory council and advisors ---------- */

.council-list,
.advisor-list {
  display: grid;
  max-width: 1280px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.council-member {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.4s;
}

.council-member:hover {
  border-color: rgba(201, 167, 255, 0.5);
}

.council-portrait {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 3;
}

.council-portrait img {
  width: 100%;
  height: 100%;
  filter: saturate(0.92) contrast(1.04);
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 1.1s var(--ease);
}

.council-member:hover .council-portrait img {
  transform: scale(1.05);
}

.council-body {
  padding: 18px 24px 20px;
}

.council-body h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
}

.council-body p {
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.5;
}

.advisors-title {
  margin: 64px 0 24px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.advisor-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.advisor {
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (max-width: 800px) {
  .council-list,
  .advisor-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- people and teams ---------- */

.council,
.people,
.network {
  padding: 0 var(--gutter) var(--section-space);
}

/* a compact roster: names and titles only */
.team {
  padding: 18px 0;
}

.team-name {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.person-portrait {
  overflow: hidden;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.person-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.person-name {
  margin: 0;
  font-size: 1.08rem;
  font-weight: var(--display-weight);
  line-height: 1.3;
}

.person-title {
  color: var(--lilac);
  font-size: 0.92rem;
}

.person-bio {
  margin-top: 6px;
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ---------- network: the institution names scroll past; logos are drawn for light backgrounds, so each sits on a light tile ---------- */

.network-label {
  margin-bottom: 4px;
}

/* full-bleed, and smaller than the home page marquee */
.network-marquee {
  margin: 0 calc(-1 * var(--gutter)) 56px;
}

.network-marquee span,
.network-marquee i {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.partner-list {
  display: grid;
  max-width: 1280px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.partner {
  display: grid;
  height: 150px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #14072b;
  font-weight: var(--display-weight);
  place-items: center;
  text-align: center;
  transition: transform 0.7s var(--ease);
}

.partner:hover {
  transform: translateY(-5px);
}

.partner img {
  max-height: 94px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .partner-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
