.team-main {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 4rem) clamp(1.25rem, 5vw, 5rem) 4rem;
}
.team-intro { max-width: 850px; margin-bottom: 4rem; }
.team-intro .eyebrow { color: #53624f; }
.team-intro h1 {
  margin: 1rem 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.1;
}
.team-lead { max-width: 36rem; font-size: 1.25rem; line-height: 1.7; }
.team-jump-links, .team-next { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.team-jump-links a, .team-next a { padding: .65rem 0; font-weight: 700; text-underline-offset: .3em; }
.team-section { margin-bottom: 4rem; scroll-margin-top: calc(var(--header-height) + 2rem); }
.team-section h2 { padding-bottom: 1rem; border-bottom: 1px solid #a6ab98; font: 600 clamp(1.5rem, 3vw, 2rem) var(--font-display); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 2rem 1.5rem; margin-top: 1.5rem; }
.team-profile { min-width: 0; display: flex; flex-direction: column; }
.team-headshot { display: block; width: min(100%, 160px); height: auto; aspect-ratio: 5 / 6; object-fit: cover; object-position: center 25%; border-radius: 20px; background: #e6e3d7; }
.team-profile-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding-top: 1rem; }
.team-profile h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.25; }
.team-role { margin: .5rem 0 0; color: #465541; font-size: 1rem; font-weight: 700; }
.team-bio { margin: 1rem 0 1.25rem; font-size: 1rem; line-height: 1.75; }
.team-linkedin { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; margin-top: auto; color: #29492d; font-size: 1rem; font-weight: 700; text-underline-offset: .25em; }
.team-linkedin svg { width: 20px; height: 20px; fill: currentColor; }
.team-next { padding-top: 1.5rem; border-top: 1px solid #a6ab98; }
.team-page a:focus-visible { outline: 3px solid #42603e; outline-offset: 5px; }
.team-page .site-nav a[aria-current="page"] { color: #1d211c; text-decoration: underline; text-decoration-color: #42603e; text-underline-offset: .4em; }
@media (max-width: 760px) {
  .team-main { padding-top: calc(var(--header-height) + 2.5rem); }
  .team-intro { margin-bottom: 2.5rem; }
  .team-section { margin-bottom: 3rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
