/* Company people directory and hash-addressable member profile views. */
main > section[hidden] { display: none !important; }
#team { scroll-margin-top: calc(var(--header) + 22px); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 42px; }
.team-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow); transition: border-color .18s var(--ease), transform .18s var(--ease); }
.team-card:hover { border-color: var(--strong); transform: translateY(-3px); }
.team-card__identity { display: flex; align-items: flex-start; gap: 17px; }
.team-monogram { display: grid; place-items: center; flex: 0 0 70px; width: 70px; aspect-ratio: 1; border: 1px solid var(--strong); border-radius: 18px; background: var(--soft); color: var(--fg); font-size: 1.5rem; font-weight: 850; letter-spacing: -.05em; }
.team-card__group { margin: 0 0 6px; color: var(--muted); font-size: .67rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.team-card h3 { margin: 0 0 5px; font-size: 1.35rem; line-height: 1.15; }
.team-card h3 a, .team-card__title a { text-decoration: none; }
.team-card h3 a:hover, .team-card__title a:hover { text-decoration: underline; text-underline-offset: .2em; }
.team-card__title { margin: 0; font-size: .9rem; font-weight: 750; }
.team-card__summary { color: var(--muted); margin: 23px 0 16px; }
.team-skills { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; margin: 0; padding: 0; list-style: none; }
.team-skills li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); color: var(--fg); font-size: .77rem; font-weight: 660; line-height: 1.4; }
.team-card__more { display: inline-flex; align-items: center; gap: 10px; width: max-content; margin-top: auto; padding-top: 25px; font-weight: 800; text-decoration: none; }
.team-card__more:hover { text-decoration: underline; text-underline-offset: 4px; }
.team-profile { min-height: 66vh; padding-block: 50px 100px; }
.team-back { display: inline-flex; margin-bottom: 46px; padding: 8px 0; font-weight: 800; text-decoration: none; }
.team-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.team-profile__intro { display: flex; align-items: flex-start; gap: 32px; padding-bottom: 58px; border-bottom: 1px solid var(--line); }
.team-monogram--large { flex-basis: 132px; width: 132px; border-radius: 28px; font-size: 2.8rem; }
.team-profile h1 { max-width: none; margin-bottom: 12px; font-size: clamp(3rem, 6vw, 6rem); }
.team-profile__title { margin: 0; font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 750; }
.team-profile__lead { max-width: 760px; color: var(--muted); font-size: 1.2rem; }
.team-profile__content { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, .85fr); gap: 64px; padding-top: 56px; }
.team-profile__content h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0 0 20px; }
.team-profile__content p { max-width: 65ch; color: var(--muted); }
.team-profile__roles { display: grid; gap: 18px; margin-top: 30px; }
.team-profile__roles section { padding: 22px 0; border-top: 1px solid var(--line); }
.team-profile__roles h3 { font-size: 1.2rem; }
.team-profile__roles p { margin: 0; }
.team-profile__aside { align-self: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.team-profile__aside .team-skills { margin-bottom: 28px; }
.team-profile__aside .team-skills li { background: var(--bg); }
.team-profile__aside .button { width: 100%; margin-top: 10px; }
.team-profile__note { font-size: .8rem; line-height: 1.55; }
.team-profile__aside a:not(.button) { font-weight: 750; text-underline-offset: 3px; }
@media(max-width: 1050px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width: 820px) { .team-profile__content { grid-template-columns: 1fr; gap: 32px; } }
@media(max-width: 620px) { .team-grid { grid-template-columns: 1fr; } .team-card { padding: 23px; } .team-profile { padding-top: 28px; } .team-profile__intro { flex-direction: column; gap: 20px; padding-bottom: 34px; } .team-monogram--large { width: 96px; flex-basis: 96px; font-size: 2rem; } .team-profile__content { padding-top: 36px; } .team-profile__aside { padding: 22px; } }
@media(prefers-reduced-motion:reduce) { .team-card { transition: none; } }
