/* Team page. The member cards sit side by side: 3 per row, 2 at <=900px, 1 at <=600px; a row with fewer cards
   (also a team of one or two) is centred. */
.team-hero{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:end}
.team-hero .ph{height:540px}
.values{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.values .outline-num{font-size:40px;margin-bottom:20px}
.team-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:24px}
.member{flex:0 1 calc((100% - 48px) / 3);display:flex;flex-direction:column;padding:0;overflow:hidden}
.member-photo{aspect-ratio:4/5;width:100%;overflow:hidden}
.member-photo img{display:block;width:100%;height:100%;object-fit:cover}
.member-body{display:flex;flex-direction:column;padding:24px 24px 26px;flex:1}
.member h4{font-family:var(--display);font-weight:800;font-size:22px;letter-spacing:-.01em}
.member .role{font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-top:6px;font-weight:600}
.member-bio{margin-top:14px;font-size:15px;color:var(--ink-2);white-space:pre-line}
.member .li{display:inline-flex;margin-top:auto;padding-top:14px;color:var(--ink);align-self:flex-start}
.member .li svg{width:17px;height:17px;fill:currentColor}
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.split p{color:var(--ink-2)}
.split h2{margin-bottom:20px}
.split .tags{margin-top:24px}
.careers-card{padding:36px}
.careers-card h2{margin-bottom:16px}
.careers-card .btn{margin-top:26px}

@media (max-width:1100px){
  .values{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
  .team-hero,.split{grid-template-columns:1fr;gap:32px}
  .team-hero .ph{height:420px}
  .member{flex-basis:calc((100% - 24px) / 2)}
}
@media (max-width:600px){
  .values{grid-template-columns:1fr}
  .member{flex-basis:100%}
  .member h4{font-size:20px}
  .member-body{padding:20px}
  .team-hero .ph{height:300px}
  .careers-card{padding:24px}
}
