/* ─── Hero ─── */
.team-hero {
  background: var(--navy);
  padding: 0 40px;
}

.team-hero-inner {
  max-width: 640px;
  padding: 80px 0 52px;
}

.team-h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
  font-style: italic;
}

.team-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--navy-pale);
  max-width: 540px;
  font-weight: 300;
}

.team-hero-stats {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--navy-light);
  padding: 28px 0;
}

.tstat { flex: 1; padding: 0 32px; }
.tstat:first-child { padding-left: 0; }

.tstat-num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.tstat-num span { font-size: 22px; color: var(--gold); }

.tstat-label {
  font-size: 12px;
  color: var(--navy-pale);
  line-height: 1.5;
  font-weight: 300;
  max-width: 160px;
}

.tstat-div {
  width: 1px;
  height: 44px;
  background: var(--navy-light);
  flex-shrink: 0;
}

/* ─── Intro cards ─── */
.team-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-intro-card {
  padding: 28px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--white);
}

.tic-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 16px;
}

.tic-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.tic-body {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ─── Principal cards ─── */
.principals-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.principal-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.principal-card:hover { border-color: rgba(12,35,64,0.2); }

.pc-photo-wrap {
  position: relative;
  background: var(--cream);
  flex-shrink: 0;
}

.pc-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  min-height: 160px;
}

.pc-photo-fallback {
  width: 100%;
  min-height: 160px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy-pale);
}

.pc-body {
  padding: 20px 20px 20px 0;
}

.pc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.pc-name {
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
}

.pc-role {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pc-email {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.pc-email:hover { border-color: var(--navy); color: var(--navy); }

.pc-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.pc-cred {
  font-size: 11px;
  background: var(--blue-pale);
  color: var(--blue-mid);
  padding: 3px 8px;
  border-radius: 3px;
}

.pc-bio {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 10px;
}

.pc-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.55;
  padding: 12px 16px;
  border-left: 2px solid var(--gold);
  margin: 14px 0;
  background: var(--gold-pale);
  border-radius: 0 4px 4px 0;
}

.pc-prev {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.pc-prev-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.pc-prev-firm {
  font-size: 11px;
  background: var(--cream);
  color: var(--text-mid);
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid var(--border-light);
}

/* ─── Full team grid ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.team-member-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s;
}

.team-member-card:hover { border-color: rgba(12,35,64,0.2); }

.tm-photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--cream);
  flex-shrink: 0;
}

.tm-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.tm-photo-fallback {
  width: 100%;
  height: 100%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy-pale);
}

.tm-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
}

.tm-role {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.tm-credentials {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}

.tm-credentials span {
  font-size: 11px;
  color: var(--blue-mid);
  background: var(--blue-pale);
  padding: 2px 7px;
  border-radius: 3px;
  display: inline-block;
  width: fit-content;
}

.tm-bio {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}

.tm-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.tm-contact a { color: var(--blue-mid); }
.tm-phone { color: var(--text-muted); }

/* ─── Partner card ─── */
.partner-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.partner-photo-wrap {
  background: var(--cream);
  position: relative;
}

.partner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  min-height: 260px;
}

.partner-photo-fallback {
  width: 100%;
  min-height: 260px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy-pale);
}

.partner-body {
  padding: 28px 28px 28px 0;
}

.partner-org {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.partner-org-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--amber-pale);
  color: var(--amber-mid);
  padding: 3px 9px;
  border-radius: 3px;
}

.partner-org-rel {
  font-size: 12px;
  color: var(--text-muted);
}

.partner-name {
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
}

.partner-role {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.partner-bio {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 10px;
}

.partner-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  margin-top: 14px;
}

.partner-contact a { color: var(--blue-mid); }
.partner-contact span { color: var(--text-muted); }

/* ─── Photo credit ─── */
.photo-credit {
  text-align: center;
  padding: 14px 20px;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  background: var(--white);
}

.photo-credit a { color: var(--text-muted); text-decoration: underline; }

/* ─── Reveal ─── */

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .team-hero { padding: 0 20px; }
  .team-hero-inner { padding: 60px 0 40px; }
  .team-hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 0; }
  .tstat { padding: 0; }
  .tstat-div { width: 40px; height: 1px; }
  .team-intro-grid { grid-template-columns: 1fr; }
  .principal-card { grid-template-columns: 1fr; }
  .pc-photo { min-height: 180px; width: 100%; }
  .pc-photo-fallback { min-height: 120px; }
  .pc-body { padding: 20px; }
  .team-grid { grid-template-columns: 1fr; }
  .partner-card { grid-template-columns: 1fr; }
  .partner-photo { min-height: 240px; }
  .partner-body { padding: 24px; }
}

@media (max-width: 600px) {
  .pc-photo { min-height: 140px; }
}
