
/* Team profile pages */
.team-profile-card { display:block; color:inherit; text-decoration:none; }
.team-profile-card .project-meta { min-height: 220px; display:flex; flex-direction:column; align-items:flex-start; }
.team-profile-link { margin-top:auto; padding-top:1rem; font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--lux-orange, #ff8a00); }
.team-profile-card:hover .team-profile-link { letter-spacing:.12em; }
.team-profile-hero { padding-top: 190px !important; padding-bottom: 110px; }
.team-profile-hero-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(320px,.75fr); gap:clamp(2.5rem,7vw,7rem); align-items:end; }
.team-profile-copy { max-width: 780px; }
.back-link { display:inline-flex; margin-bottom:2.5rem; color:inherit; text-decoration:none; font-size:.8rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; opacity:.7; transition:opacity .2s ease, transform .2s ease; }
.back-link:hover { opacity:1; transform:translateX(-3px); }
.team-profile-portrait { position:relative; overflow:hidden; border-radius:24px; background:#e9e7e1; box-shadow:0 24px 70px rgba(20,20,18,.14); }
.team-profile-portrait img { display:block; width:100%; aspect-ratio:4/5; object-fit:cover; object-position:center top; }
.portrait-caption { display:flex; justify-content:space-between; gap:1rem; padding:.9rem 1rem; background:#fff; color:#1b1b1a; font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; }
.team-profile-content { border-top:1px solid rgba(20,20,18,.08); }
.team-profile-content-grid { display:grid; grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr); gap:clamp(2.5rem,8vw,9rem); }
.profile-story { max-width:760px; font-size:clamp(1.05rem,1.6vw,1.28rem); line-height:1.8; color:#343431; }
.profile-story > p { margin:0; }
.profile-keywords { margin-top:3.5rem; padding-top:1.75rem; border-top:1px solid rgba(20,20,18,.12); }
.keyword-list { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1rem; }
.keyword-list span { padding:.55rem .75rem; border:1px solid rgba(20,20,18,.12); border-radius:999px; font-size:.72rem; line-height:1.2; color:#55534d; background:#faf9f6; }
@media (max-width:900px){
 .team-profile-hero { padding-top:150px !important; }
 .team-profile-hero-grid,.team-profile-content-grid { grid-template-columns:1fr; }
 .team-profile-portrait { max-width:560px; width:100%; margin-left:auto; }
}
@media (max-width:600px){
 .team-profile-hero { padding-top:120px !important; padding-bottom:70px; }
 .team-profile-portrait { border-radius:18px; }
 .portrait-caption { flex-direction:column; gap:.3rem; }
 .team-profile-card .project-meta { min-height:0; }
}
