/* ════════════════════════════════════════
   OUR TEAM — management + faculty
   (replaces the old Alumni Success block on the home page;
    also reused on people.html)
════════════════════════════════════════ */
[data-reveal].team-visible { opacity: 1; transform: none; }

.team-section { background: var(--mist-warm); padding: 8rem 0; position: relative; overflow: hidden; }
.team-section::before {
  content: ''; position: absolute; right: -120px; top: 40px; width: 560px; height: 400px;
  background: url('../assets/logos/mcas-mark-purple.png') no-repeat center/contain;
  opacity: 0.05; pointer-events: none;
}
.team-wrap { max-width: 1240px; margin: 0 auto; padding: 0 5vw; position: relative; }

.team-head { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.team-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.team-eyebrow-line { width: 28px; height: 1.5px; background: var(--red); }
.team-eyebrow-text { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); }
.team-big-h { font-family: var(--serif); font-size: clamp(38px, 4.5vw, 58px); font-weight: 400; line-height: 1.1; color: var(--navy-dark); }
.team-big-h em { font-style: italic; color: var(--purple); }
.team-body-l { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--ink2-50); }

.team-group-label {
  display: flex; align-items: center; gap: 14px; margin: 0 0 1.5rem;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--navy);
}
.team-group-label::after { content: ''; flex: 1; height: 1px; background: rgba(13,27,94,0.12); }

/* Management — feature cards */
.mgmt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 4rem; }
.mgmt-card {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--navy-dark); aspect-ratio: 3 / 4;
  transition: transform 0.4s var(--r), box-shadow 0.4s;
}
.mgmt-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(13,27,94,0.25); }
.mgmt-card .t-photo { position: absolute; inset: 0; }
.mgmt-card .t-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,15,56,0.96) 0%, rgba(8,15,56,0.55) 42%, transparent 72%);
}
.mgmt-card .t-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.75rem; }
.t-badge {
  display: inline-block; margin-bottom: 0.7rem;
  background: var(--red); color: var(--white);
  font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
}
.mgmt-card .t-name { font-family: var(--serif); font-size: 24px; line-height: 1.1; color: var(--white); margin-bottom: 4px; }
.mgmt-card .t-role { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* Photo with initials fallback (if hot-linked photo can't load) */
.t-photo { background: linear-gradient(135deg, var(--navy-mid), var(--purple)); overflow: hidden; }
.t-photo .t-initials {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 44px; color: rgba(255,255,255,0.35); letter-spacing: 0.04em;
}
.t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Faculty — compact cards */
.fac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fac-card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(13,27,94,0.08);
  transition: transform 0.3s var(--r), box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.fac-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(13,27,94,0.1); }
.fac-card .t-photo { position: relative; aspect-ratio: 1; }
.fac-card .t-body { padding: 1.25rem 1.25rem 1.5rem; }
.fac-card .t-name { font-family: var(--serif); font-size: 18px; line-height: 1.2; color: var(--navy-dark); margin-bottom: 6px; }
.fac-card .t-bio { font-size: 12.5px; font-weight: 300; line-height: 1.65; color: var(--ink-mid);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.team-more-grid { display: none; margin-top: 20px; }
.team-more-grid.open { display: grid; }

.team-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 3rem; flex-wrap: wrap; }
.team-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: transparent; border: 1.5px solid rgba(13,27,94,0.25); color: var(--navy);
  font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em;
  padding: 14px 28px; border-radius: 8px; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.team-btn-ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.team-btn-red {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: var(--white);
  font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em;
  padding: 15px 30px; border-radius: 8px; box-shadow: 0 4px 24px rgba(232,62,49,0.3);
  transition: background 0.2s, transform 0.2s;
}
.team-btn-red:hover { background: var(--red-warm); transform: translateY(-2px); }

/* People page: full bios */
.people-mgmt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pm-card { background: var(--white); border: 1px solid rgba(13,27,94,0.08); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.3s, transform 0.3s; }
.pm-card:hover { box-shadow: 0 24px 60px rgba(13,27,94,0.12); transform: translateY(-4px); }
.pm-card .t-photo { position: relative; aspect-ratio: 4 / 4.4; }
.pm-card .t-body { padding: 1.75rem; }
.pm-card .t-name { font-family: var(--serif); font-size: 24px; line-height: 1.15; color: var(--navy-dark); margin-bottom: 6px; }
.pm-card .t-role { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.pm-card .t-bio { font-size: 13.5px; font-weight: 300; line-height: 1.8; color: var(--ink-mid); }
.people-fac { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.people-fac .fac-card .t-bio { -webkit-line-clamp: unset; display: block; font-size: 13px; line-height: 1.75; }
