/* =====================================================
   TEAM PAGE STYLES
   Extends style.css + page.css
   ===================================================== */
@import 'page.css';

/* ─── PRINCIPAL ANCHOR ────────────────────────────── */
.principal-anchor {
  padding: 56px 0;
  background: var(--onyx);
  border-bottom: 1px solid rgba(21,104,184,.2);
}
.anchor-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 64px;
}
.anchor-left { flex: 1; }
.anchor-name {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1;
  margin: 8px 0 6px;
}
.anchor-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--silver);
  margin-bottom: 20px;
}
.anchor-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(208,213,221,.65);
  max-width: 520px;
  margin-bottom: 24px;
}
.anchor-links {
  display: flex;
  gap: 32px;
}
.anchor-strengths { flex-shrink: 0; }

@media (max-width: 768px) {
  .anchor-inner { flex-direction: column; gap: 32px; }
  .anchor-links { flex-wrap: wrap; }
}


.team-section { padding: 80px 0; background: var(--ivory); }
.team-section--alt { background: var(--white); }

/* ─── MEMBER CARD ─────────────────────────────────── */
.member-card {
  margin-top: 40px;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--steel);
  border-top: 2px solid var(--circuit-blue);
  transition: border-top-color .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease);
}
.member-card:hover {
  box-shadow: 0 8px 40px rgba(13,17,23,.1);
  border-top-color: var(--champagne-dark);
  transform: translateY(-3px);
}
.member-card--principal {
  border-top-color: var(--champagne);
  background: var(--ivory);
}
.member-card--emeritus {
  border-top-color: var(--silver);
  background: var(--ivory);
  opacity: .95;
}

/* Member header */
.member-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--steel);
}
.member-identity .bracket-mark { margin-bottom: 12px; }

.member-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--onyx);
  letter-spacing: -.01em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.member-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--graphite);
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.member-since {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(138,144,153,.85);
}

/* Wendy key line callout */
.wendy-callout {
  font-family: var(--font-body);
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: var(--champagne-dark);
  border-left: 3px solid var(--champagne);
  padding: 16px 0 16px 24px;
  margin: 24px 0;
  background: rgba(201,165,90,.06);
}

/* Strengths */
.member-strengths { flex-shrink: 0; min-width: 220px; }
.strengths-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--champagne-dark);
  margin-bottom: 10px;
}
/* Override for dark-background anchor section */
.principal-anchor .strengths-label {
  color: var(--champagne-lt);
}
.strength-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.strength-tags span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  letter-spacing: .04em;
  padding: 5px 12px;
  background: var(--ivory);
  border: 1px solid var(--steel);
  border-left: 3px solid var(--circuit-blue);
}
.member-card--principal .strength-tags span {
  border-left-color: var(--champagne);
}

/* Member body */
.member-body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--graphite);
  margin-bottom: 18px;
}
.member-body p:last-child { margin-bottom: 0; }

.inline-link {
  color: var(--circuit-blue);
  border-bottom: 1px solid rgba(21,104,184,.3);
  transition: color .2s, border-color .2s;
}
.inline-link:hover {
  color: var(--circuit-blue-lt);
  border-color: var(--circuit-blue-lt);
}

/* Credentials */
.member-credentials {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--steel);
}
.cred-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--champagne-dark);
  margin-bottom: 12px;
}
.cred-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cred-list li {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--graphite);
  padding-left: 16px;
  position: relative;
}
.cred-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--circuit-blue);
  opacity: .5;
}

/* Member links */
.member-links {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--steel);
}

/* Emeritus quote */
.emeritus-quote {
  border-left: 2px solid var(--silver);
  padding-left: 24px;
  margin-top: 28px;
  font-family: var(--font-body);
  font-size: 17px;
  font-style: italic;
  line-height: 1.65;
  color: var(--graphite);
}
.emeritus-quote .bracket-mark {
  border-color: var(--silver);
  margin-bottom: 12px;
}
.emeritus-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--silver);
}

/* Divider between members */
.member-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel), transparent);
  margin: 48px 0;
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .member-header {
    flex-direction: column;
    gap: 28px;
  }
  .member-strengths { min-width: unset; width: 100%; }
  .strength-tags { flex-direction: row; flex-wrap: wrap; }
  .strength-tags span { flex: 0 0 auto; }
  .member-card { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .member-links { flex-direction: column; gap: 16px; }
  .nav-links { gap: 20px; }
}

/* External website link in member-since line */
.member-link {
  color: var(--circuit-blue);
  border-bottom: 1px solid rgba(21,104,184,.35);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  transition: color .2s, border-color .2s;
}
.member-link:hover {
  color: var(--circuit-blue-lt);
  border-bottom-color: var(--circuit-blue-lt);
}
