.profile-page {
  min-height: 100vh;
  padding: clamp(8.5rem, 13vw, 12rem) var(--pad) clamp(4rem, 8vw, 8rem);
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(22rem, 1.22fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: end;
  min-height: min(46rem, calc(100vh - 10rem));
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.profile-portrait {
  position: relative;
  min-height: min(38rem, 68vh);
  overflow: hidden;
  background: var(--bg-2);
  clip-path: polygon(0 4%, 96% 0, 100% 96%, 5% 100%);
}

.profile-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 8, 10, 0.72));
  pointer-events: none;
}

.profile-portrait img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: var(--portrait-position, center);
  filter: saturate(0.82) contrast(1.04);
}

.profile-copy {
  max-width: 48rem;
  padding-bottom: clamp(1rem, 3vw, 3rem);
}

.profile-copy h1 {
  font-family: var(--display);
  font-size: clamp(4.25rem, 10vw, 9.5rem);
  line-height: 0.78;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.profile-role {
  color: var(--accent-2);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  margin-bottom: 1.5rem;
}

.profile-lead {
  max-width: 65ch;
  color: #cbc9c1;
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
}

.profile-details {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(22rem, 1.28fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(4.5rem, 9vw, 9rem) 0;
}

.profile-details h2 {
  max-width: 10ch;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.profile-story { max-width: 70ch; }
.profile-story p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.2rem; }
.profile-story strong { color: var(--ink); font-weight: 600; }

.profile-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.profile-links a {
  min-height: 9.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  border-right: 1px solid var(--line-strong);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.profile-links a:last-child { border-right: 0; }
.profile-links a span { color: var(--accent); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.profile-links a strong { font-family: var(--display); font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.15; }
.profile-links a:hover { background: rgba(201, 160, 108, 0.08); color: var(--accent-2); }

.team-member { position: relative; }
.team-profile-hit { position: absolute; inset: 0; z-index: 5; }
.team-profile-hit:focus-visible { outline-offset: -5px; }

@media (max-width: 800px) {
  .profile-hero { grid-template-columns: 1fr; min-height: auto; align-items: start; }
  .profile-portrait { min-height: 62vh; }
  .profile-copy { order: -1; }
  .profile-copy h1 { font-size: clamp(4rem, 22vw, 7rem); }
  .profile-details { grid-template-columns: 1fr; }
  .profile-links { grid-template-columns: 1fr; }
  .profile-links a { min-height: 7rem; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .profile-links a:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .profile-links a { transition: none; }
}
