/* ============================================================
   about.css — the About screen: what this is, who built it,
   and the people behind it.

   Same furniture as the rest of the site — .wrap for the shell,
   surface cards on the warm ground, the four cluster hues on the
   team avatars — so it reads as part of Campus Compass rather
   than a bolted-on page.
   ============================================================ */

.screen--about {
  position: relative;
  padding-bottom: var(--space-8);
}
.screen--about .wrap {
  position: relative;
  z-index: 1;
}

/* ---------- Heading ---------- */
.about-head {
  max-width: 720px;
  padding-block: var(--space-7) var(--space-6);
}
.about-head__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-3);
}
.about-head__title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.08;
  color: var(--ink);
}
.about-head__lede {
  margin-top: var(--space-4);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- Two cards: what it does, who made it ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.about-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.about-card__body {
  margin-top: var(--space-4);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.about-card__body strong { color: var(--ink); }

.about-list {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}
.about-list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
}
.about-list strong { color: var(--ink); }
.about-list em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--ocean-deep);
}

/* ---------- The GDG card ---------- */
.about-gdg {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.about-gdg__mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  max-width: none;
}
.about-gdg__org {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}
.about-card--gdg .btn { margin-top: var(--space-5); }

/* ---------- The team ---------- */
.about-team {
  margin-top: var(--space-7);
}
.about-team__title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--ink);
  margin-bottom: var(--space-5);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}

.person {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
}

/* Placeholder avatar: initials until a photo is dropped in.
   Sized and shaped so swapping in an <img> changes nothing. */
.person__avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
  border: 1px solid var(--border);
}
.person__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  display: block;
}

/* Leads (CEO, Project Head, Tech Lead) get a bigger, full-width
   card with a stronger avatar and a colored top edge so they read
   as the leadership row above the rest of the team. */
.person--featured {
  grid-column: 1 / -1;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  border-width: 2px;
  border-top: 4px solid var(--sun);
}
.person--featured .person__avatar {
  width: 76px;
  height: 76px;
  font-size: 25px;
}
.person--featured .person__role {
  font-size: 11.5px;
  letter-spacing: 1.3px;
}
.person--featured .person__name {
  font-size: 20px;
}
.person--featured .person__title {
  font-size: 13.5px;
}

.person__text { min-width: 0; }
.person__role {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
}
.person__name {
  margin-top: 3px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.person__title {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.35;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-head__title { font-size: 32px; }
  .about-head { padding-block: var(--space-6) var(--space-5); }
}

@media (max-width: 480px) {
  .about-head__title { font-size: 27px; }
  .about-head__lede { font-size: 15.5px; }
  .about-card { padding: var(--space-5); }
  .team-grid { grid-template-columns: 1fr; }
  .person { padding: var(--space-4); gap: var(--space-3); }
  .person__avatar { width: 48px; height: 48px; font-size: 17px; }
  .person--featured { padding: var(--space-4) var(--space-5); }
  .person--featured .person__avatar { width: 60px; height: 60px; font-size: 20px; }
  .person--featured .person__name { font-size: 18px; }
}

/* ============================================================
   CONTACT — rendered by screens/about.js from data/site.js.
   Full width under the two cards: it is the one thing on this
   screen a reader might have come looking for.
   ============================================================ */
.about-contact { margin-top: var(--space-5); }
.about-contact[hidden] { display: none; }

.about-card--contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  border-left: 4px solid var(--ocean);
}
.about-contact__text { min-width: 0; }
.about-contact__mail {
  display: inline-block;
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--ocean);
  word-break: break-all;
}
.about-contact__mail:hover { text-decoration: underline; }
.about-contact__alt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}
.about-contact__alt-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-contact__alt-mail {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ocean);
  word-break: break-all;
}
.about-contact__btn { flex: 0 0 auto; }

@media (max-width: 720px) {
  .about-card--contact { flex-direction: column; align-items: flex-start; }
  .about-contact__btn { width: 100%; }
}
