/* Team member profile pages */
.profile-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}
.profile-hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border);
}
.profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 750px) {
  .profile-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}
.profile-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
}
.profile-initials {
  width: 100%;
  aspect-ratio: 1;
  background: var(--dark);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 6rem;
  color: var(--accent);
}
.profile-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.profile-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.profile-bio p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--body);
  margin-bottom: 1.25rem;
}
.profile-bio p:last-child { margin-bottom: 0; }
.profile-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.profile-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--body);
  text-decoration: none;
  transition: color 0.2s;
}
.profile-link:hover { color: var(--accent); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 3rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent); }
.back-link::before { content: '←'; }
