.team-hero { min-height: 440px; display: flex; align-items: end; padding: 130px max(24px, calc((100vw - 1180px) / 2)) 58px; color: white; background: linear-gradient(90deg, rgba(5,21,39,.91), rgba(5,21,39,.48)), url('../images/hero_5.jpg') center 42% / cover no-repeat; }
.team-hero > div { max-width: 770px; }
.team-hero h1 { margin: 0 0 18px; font-family: Newsreader, Georgia, serif; font-size: clamp(56px, 7vw, 94px); font-weight: 500; line-height: .95; letter-spacing: -.05em; }
.team-hero p:last-child { max-width: 670px; margin: 0; color: rgba(255,255,255,.82); font-size: 18px; }

.team-section, .alumni-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: clamp(58px, 6vw, 80px) 0; }
.team-intro, .alumni-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: end; margin-bottom: 38px; }
.team-intro h2, .alumni-heading h2, .placements-heading h2 { margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(42px, 4.8vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.team-intro > p, .alumni-heading > p { margin: 0; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 22px; }
.member-card { min-width: 0; }
.member-photo { position: relative; aspect-ratio: 4 / 4.7; overflow: hidden; border: 1px solid #ccd6df; border-bottom: 5px solid var(--blue); background: var(--cream); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.9); transition: transform .35s ease, filter .35s ease; }
.member-card:hover .member-photo img { transform: scale(1.025); filter: saturate(1); }
.member-info { padding-top: 17px; }
.member-info .member-role { min-height: 35px; margin: 0 0 6px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.member-info h3 { margin: 0 0 4px; font-family: Newsreader, Georgia, serif; font-size: 24px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.member-info > p:not(.member-role) { min-height: 42px; margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.member-info a { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 12px; font-weight: 700; }
.member-info a:hover { color: #2c6195; }

.placements-section { padding: clamp(52px, 6vw, 72px) max(24px, calc((100vw - 1180px) / 2)); color: white; background: var(--navy); }
.placements-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.placements-heading .eyebrow { flex: 0 0 auto; margin-bottom: 9px; }
.placements-heading h2 { max-width: 750px; color: white; text-align: right; }
.logo-wall { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.placement-logo { display: grid; aspect-ratio: 1.2 / 1; min-height: 112px; place-content: center; place-items: center; gap: 8px; padding: 12px 8px; border: 0; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); color: white; background: rgba(255,255,255,.025); cursor: default; opacity: 1; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.placement-logo img { width: 48px; height: 48px; object-fit: contain; opacity: 1; transition: transform .25s ease; }
.placement-logo span { max-width: 120px; overflow: hidden; font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
.placement-logo:hover, .placement-logo:focus-visible { position: relative; z-index: 2; background: rgba(255,255,255,.14); box-shadow: 0 12px 28px rgba(0,0,0,.2); transform: scale(1.06) translateY(-3px); }
.placement-logo:hover img, .placement-logo:focus-visible img { transform: scale(1.06); }
.placement-logo:hover span, .placement-logo:focus-visible span { opacity: 1; transform: translateY(0); }

.alumni-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d9dfe4; }
.alumni-list a { display: flex; min-height: 98px; flex-direction: column; justify-content: center; padding: 18px 24px 18px 0; border-bottom: 1px solid #d9dfe4; }
.alumni-list a:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid #d9dfe4; }
.alumni-list a::after { content: '↗'; align-self: flex-end; height: 0; color: var(--blue); transform: translateY(-34px); }
.alumni-list strong { font-family: Newsreader, Georgia, serif; font-size: 19px; font-weight: 600; }
.alumni-list span { color: var(--muted); font-size: 12px; }
.alumni-list a:hover strong { color: var(--blue); }

@media (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-wall { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 740px) {
  .team-hero { min-height: 420px; padding-bottom: 46px; background-position: 58% center; }
  .team-hero p:last-child { font-size: 16px; }
  .team-intro, .alumni-heading { grid-template-columns: 1fr; gap: 28px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .placements-heading { display: block; }
  .placements-heading h2 { text-align: left; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .placement-logo { min-height: 90px; }
  .alumni-list { grid-template-columns: 1fr 1fr; }
  .alumni-list a:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .alumni-list a:nth-child(even) { padding-left: 20px; border-left: 1px solid #d9dfe4; }
}

@media (max-width: 480px) {
  .team-grid { gap: 30px 13px; }
  .member-info h3 { font-size: 16px; }
  .member-info .member-role { min-height: 45px; font-size: 9px; }
  .member-info > p:not(.member-role) { min-height: 54px; font-size: 11px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .placement-logo img { width: 44px; height: 44px; }
  .alumni-list { grid-template-columns: 1fr; }
  .alumni-list a:nth-child(even) { padding-left: 0; border-left: 0; }
}
