/* Shared refinements to the established team/profile layout. */
.agent-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:42px 36px; }
.agent-grid>article { display:flex; flex-direction:column; min-width:0; }
.agent-grid img,.profile>img { width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; }
.agent-grid h3,.profile-copy h1 { text-transform:uppercase; }
.agent-grid h3 { font-size:clamp(28px,2.5vw,36px); line-height:1.15; }
.agent-grid>article>.text-link { align-self:flex-start; margin-top:auto; }
.agent-grid p { font-size:16px; line-height:1.7; }
.agent-grid .agent-card-positioning { color:var(--ink); }
.profile-copy { min-width:0; }
.profile-copy>p:not(.label):not(.note):not(.lead) { font-size:18px; line-height:1.8; margin-bottom:1.5em; }
.profile-copy .agent-positioning { color:var(--red); font-family:var(--serif); font-size:25px; line-height:1.45; margin-bottom:1.4em; }
.profile-copy>.actions { margin-top:32px; flex-wrap:wrap; }
.profile-copy .note a { overflow-wrap:anywhere; }
@media(max-width:1000px) and (min-width:701px) {
 .agent-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:700px) {
 .agent-grid { grid-template-columns:1fr; gap:50px; }
 .agent-grid>article>.text-link { margin-top:10px; }
 .profile-copy>p:not(.label):not(.note):not(.lead) { font-size:18px; line-height:1.8; }
 .profile-copy .agent-positioning { font-size:24px; }
}
.team-directory { padding-top:30px; }
.team-person .team-photo-link { display:block; margin-bottom:25px; overflow:hidden; }
.team-person .team-photo-link img { margin:0; transition:transform .3s ease; }
.team-person .team-photo-link:hover img { transform:scale(1.015); }
.team-person h3 a:hover { color:var(--red); }
.team-person .eyebrow { line-height:1.6; letter-spacing:.07em; }
.team-home { padding:65px 0; }
.team-home .section-heading { margin-bottom:18px; }
.team-home-intro { max-width:600px; margin-bottom:30px; }
.team-mini-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; }
.team-mini-link { display:flex; gap:20px; align-items:center; min-width:0; }
.team-mini-link img { width:105px; height:132px; flex-shrink:0; object-fit:cover; }
.team-mini-link h3 { font-size:25px; margin-bottom:10px; }
.team-mini-link p { font-size:14px; margin-bottom:5px; }
.team-mini-link .label { font-size:12px; letter-spacing:.025em; }
.team-mini-link:hover h3 { color:var(--red); }
@media(max-width:1100px) and (min-width:701px) { .team-mini-link { flex-direction:column; align-items:flex-start; } }
@media(max-width:700px) { .team-home { padding:50px 0; } .team-mini-grid { grid-template-columns:1fr; gap:24px; } .team-mini-link img { width:85px; height:106px; } .team-mini-link h3 { font-size:25px; } .team-directory { padding-top:15px; } }
@media(prefers-reduced-motion:reduce) { .team-person .team-photo-link img { transition:none; } }
