/* Team directory. Profile card styling below is retained from the approved design. */
.team-page #scrollhost { top: 0; padding-top: var(--nav-h); scroll-padding-top: calc(var(--nav-h) + 20px); scroll-snap-type: none; }
.team-page #scrollhost::-webkit-scrollbar-track { margin-top: var(--nav-h); }
.team-page .team-section { display: block; min-height: calc(100svh - var(--nav-h)); padding: clamp(32px, 3.8vw, 60px) 0 36px; }
.team-wrap { width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--home-gutter); }
.people-directory { display: grid; grid-template-columns: minmax(210px, .95fr) minmax(0, 4fr); gap: clamp(24px, 2.5vw, 42px); }
.people-intro {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 2vw, 32px) clamp(18px, 1.6vw, 26px);
  border: 1px solid #c1dfeaa8;
  border-radius: 1px;
  background: radial-gradient(ellipse at 12% 0%, #9ed8eb38, transparent 65%),
    linear-gradient(125deg, #3a647a80, #173c5099 52%, #508a9e73);
  box-shadow: inset 0 0 0 1px #e0f5ff55, inset 0 0 10px #cceeff18,
    inset 0 -1px 1px #e5f8ff88;
}
.people-intro::before {
  content: '';
  position: absolute;
  inset: 2px;
  border: 1px solid #d6effa1c;
  pointer-events: none;
}
.people-kicker { font: 400 10px/1.5 var(--font-mono); color: #a7c3cf; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 23px; }
.people-intro h2 { font: 300 clamp(24px, 2vw, 30px)/1.25 var(--font-display); letter-spacing: -.02em; text-transform: none; text-shadow: none; margin: 0; }
.people-intro h2 span { color: #a9c9da; }
.people-description { font: 400 12px/1.85 var(--font-body); color: #b2c8d2; margin: 28px 0 0; }
.people-rule { height: 1px; background: #9dbfce50; margin: 28px 0 21px; }
.team-page [hidden] { display: none !important; }
.people-filter-label { font: 400 10px/1.6 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: #b3cbd6; margin: 0 0 14px; }
.people-filters { display: grid; gap: 4px; }
.people-filter { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 39px; padding: 9px 0; border: 0; border-radius: 0; background: none; color: var(--muted); font: 400 clamp(14px, 1.1vw, 17px)/1.45 var(--font-body); text-align: left; cursor: pointer; }
.people-filter::before { content: ''; width: 7px; height: 7px; flex: 0 0 7px; background: transparent; }
.people-filter[aria-pressed="true"] { color: var(--text); }
.people-filter[aria-pressed="true"]::before { background: #a0e5cc; box-shadow: 0 0 10px #a0e5cc25; }
.people-filter:hover { color: #fff; }
.people-filter:focus-visible { outline: 1px solid #bcd4df; outline-offset: 3px; }
.people-empty { padding: 40px 20px; color: var(--muted); text-align: center; font: 400 14px/1.7 var(--font-body); }
.people-note { font: 400 11px/2 var(--font-body); color: #92b0bf; margin: 26px 0 32px; }
.people-collection { min-width: 0; }
.people-grid-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 27px; padding-bottom: 26px; border-bottom: 1px solid #9dbfce50; gap: 16px; }
/* Match the Insights h1 at every breakpoint. */
.people-grid-heading h1 { font: 300 clamp(42px, 4.2vw, 66px)/1.1 var(--font-display); letter-spacing: -.02em; text-transform: none; text-shadow: none; color: #d7eaf3; margin: 0 0 11px; }
.people-grid-heading > span { font: 400 9px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #7d9aa9; white-space: nowrap; }
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.people-preview-note { font: 400 10px/1.5 var(--font-mono); color: #829eac; margin: 18px 0; }
/* Stretch the sidebar to the section's bottom padding, as in Explore Insights. */
@media (min-width: 801px) {
  .team-page .team-section { display: grid; }
  .team-wrap { display: grid; }
}
@media (min-width: 1200px) and (min-height: 800px) {
  .team-page .team-section { padding-top: clamp(40px, 5vh, 65px); padding-bottom: 42px; }
  .people-grid-heading { margin-bottom: 32px; padding-bottom: 30px; }
}
@media (min-width: 801px) and (max-height: 900px) {
  .team-page .team-section { padding-top: 28px; padding-bottom: 28px; }
  .people-grid-heading { padding-bottom: 21px; margin-bottom: 24px; }
  .people-grid-heading h1 { font-size: clamp(40px, 4vw, 56px); }
  .people-filter { min-height: 34px; padding-block: 7px; }
  .people-filters { gap: 1px; }
}
@media (max-width: 1100px) {
  .people-directory { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; }
  .people-intro { padding: 22px 16px; }
  .people-intro h2 { font-size: 22px; }
  .people-filter { font-size: 13px; gap: 9px; }
  .people-grid-heading > span { display: none; }
}
@media (max-width: 900px) { .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .team-page .team-section { padding-top: 28px; }
  .people-directory { grid-template-columns: 1fr; gap: 32px; }
  .people-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .people-kicker { grid-column: 1 / -1; margin: 0; }
  .people-intro h2 { font-size: 26px; }
  .people-description { align-self: center; margin: 0; }
  .people-rule, .people-note { display: none; }
  .people-filter-label { grid-column: 1 / -1; margin: 8px 0 0; }
  .people-filters { grid-column: 1 / -1; display: flex; gap: 18px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: thin; }
  .people-filter { flex: 0 0 auto; width: auto; min-height: 44px; }
  .people-grid-heading { padding-bottom: 24px; margin-bottom: 25px; }
  .people-grid { gap: 20px; }
}
@media (max-width: 560px) {
  .people-intro { grid-template-columns: 1fr; }
  .people-grid-heading h1 { font-size: 44px; }
  .people-grid { grid-template-columns: 1fr; }
}
.team-profile {
  position: relative;
  min-width: 0;
  border: 1px solid #c1dfeaa8;
  border-radius: 1px;
  background: radial-gradient(ellipse at 12% 0%, #9ed8eb38, transparent 65%),
    linear-gradient(125deg, #3a647a80, #173c5099 52%, #508a9e73);
  box-shadow: inset 0 0 0 1px #e0f5ff55, inset 0 0 10px #cceeff18,
    inset 0 -1px 1px #e5f8ff88;
}
.team-profile::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid #d6effa1c;
  pointer-events: none;
}
.profile-glass {
  position: relative;
  aspect-ratio: 1.15;
  background: radial-gradient(ellipse at 85% 100%, #91c9df20, transparent 65%);
}
.profile-linkedin {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #d9eff7;
  text-decoration: none;
}
.profile-linkedin svg {
  display: block;
  width: 28px;
  height: 28px;
  background: #0a2736a3;
}
a.profile-linkedin:hover { color: #fff; }
a.profile-linkedin:focus-visible { outline: 2px solid #d9f4ff; outline-offset: 2px; }
.profile-caption {
  padding: 20px 25px 22px;
  border-top: 1px solid #acd3e19c;
  background: linear-gradient(115deg, #658c9e16, #315f7133);
}
.profile-caption h2 {
  margin: 0 0 7px;
  color: #eff9fc;
  font: 400 clamp(25px, 2vw, 30px)/1.2 var(--font-display);
  letter-spacing: -.01em;
}
.profile-caption p {
  margin: 0;
  color: #badbe9;
  font: 400 clamp(17px, 1.3vw, 20px)/1.4 var(--font-body);
}
@media (max-width: 600px) {
  .team-heading .eyebrow { margin-bottom: 14px; font-size: 11px; }
  .profile-caption { padding: 18px 20px 20px; }
  .profile-linkedin { top: 10px; right: 10px; }
}
