.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-action {
  display: inline-flex;
  width: 146.67px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid var(--text-hero);
  border-radius: 999px;
  color: var(--text-hero);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  text-decoration: none;
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.hero-action-primary { background: var(--text-hero); color: var(--bg-canvas); }
.hero-action-secondary { background: transparent; }
.hero-action:hover { transform: translateY(-2px); }
.hero-action-primary:hover { background: transparent; color: var(--text-hero); }
.hero-action-secondary:hover { background: rgba(255, 255, 255, .14); }
.hero-action:focus-visible { outline: 2px solid var(--text-hero); outline-offset: 4px; }

.personal-profile-section {
  position: relative;
  padding: clamp(82px, 8vw, 116px) 44px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #f4f4f5;
  background: #0a0b10;
  scroll-margin-top: 92px;
  --text-hero: #f4f4f5;
  --text-muted: #a6a9b2;
  --border-subtle: rgba(255, 255, 255, .16);
}

.personal-profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: clamp(36px, 5vw, 72px);
  max-width: 1400px;
  margin: 0 auto;
}

.personal-profile-portrait {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #0a0b10;
}

.personal-profile-portrait::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to right, transparent calc(100% - 140px), #0a0b10 100%);
  pointer-events: none;
}

.personal-profile-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: 60% 20%;
}

.personal-profile-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 10px 0;
}

.personal-profile-heading { margin-bottom: 28px; }
.personal-profile-heading .header-tag { margin-bottom: 14px; color: var(--text-muted); }
.personal-profile-heading h2 {
  color: var(--text-hero);
  font-size: clamp(46px, 5.2vw, 68px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
}

.profile-facts-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  border-top: 1px solid var(--border-subtle);
}

.profile-fact {
  min-width: 0;
  padding: 20px 20px 18px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.profile-fact:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--border-subtle); }
.profile-fact-wide {
  grid-column: 1 / -1;
  display: block;
  padding-right: 0;
}
.profile-fact-wide > .profile-fact-label { margin: 0 0 12px; }
.profile-fact-label {
  display: block;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}
.profile-fact strong {
  display: block;
  color: var(--text-hero);
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.35;
}
.profile-fact small { display: block; margin-top: 6px; color: var(--text-muted); font-size: 13px; }

.profile-target-list { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 4px; }
.profile-target-list strong { display: inline; font-size: clamp(22px, 2.1vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.35; }
.profile-target-list span { color: var(--text-muted); font-size: 16px; }

.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--text-hero);
  font-size: 14px;
  line-height: 1.4;
}

.profile-education-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: baseline;
  gap: 8px 0;
  padding: 17px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.profile-education-compact span { grid-column: 1 / -1; color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; }
.profile-education-compact strong { color: #d0d1d4; font-size: 14px; font-weight: 500; }
.profile-education-compact small { justify-self: start; color: var(--text-muted); font-size: 13px; }

.profile-mentor-strip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
}
.profile-mentor-strip > .profile-fact-label { margin: 0 0 4px; }
.profile-mentor-list { display: flex; flex-direction: column; gap: 12px; }
.profile-mentor-item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: baseline;
  column-gap: 0;
  min-width: 0;
  padding: 4px 0;
}
.profile-mentor-item strong { color: var(--text-hero); font-size: 14px; font-weight: 600; }
.profile-mentor-item span { color: var(--text-muted); font-size: 13px; line-height: 1.55; }

@media (max-width: 900px) {
  .personal-profile-layout { grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); gap: 28px; }
  .personal-profile-portrait, .personal-profile-portrait img { min-height: 500px; }
  .profile-mentor-item { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hero-ctas { margin-top: 20px; gap: 9px; }
  .hero-action { width: 146.67px; min-height: 42px; padding: 0 12px; }
  .personal-profile-section { padding: 72px 24px; scroll-margin-top: 70px; }
  .personal-profile-layout { grid-template-columns: 1fr; gap: 28px; }
  .personal-profile-portrait { min-height: 0; aspect-ratio: 4 / 4.6; }
  .personal-profile-portrait img { min-height: 0; }
  .personal-profile-portrait::after { background: linear-gradient(to bottom, transparent calc(100% - 100px), #0a0b10 100%); }
  .personal-profile-heading { margin-bottom: 20px; }
  .profile-fact { padding-top: 17px; padding-bottom: 16px; }
  .profile-fact:nth-child(2n) { padding-left: 16px; }
  .profile-fact-wide > .profile-fact-label { margin-bottom: 12px; }
  .profile-target-list { column-gap: 6px; }
  .profile-target-list strong { font-size: clamp(20px, 5vw, 25px); }
  .profile-mentor-item { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
  .personal-profile-section { padding-inline: 18px; }
  .profile-tags { gap: 6px; }
  .profile-tags span { padding: 0 9px; font-size: 12px; }
}
