.identity-hero {
  --charcoal: #242426;
  --ivory: #eee7dd;
  --portrait-size: clamp(21rem, 48svh, 27.5rem);
  padding: 0;
}
.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.125rem;
}
.hero-name {
  margin: 0;
  color: var(--ink);
  font: 800 1rem/1.4 'Manrope', sans-serif;
}
.hero-name > span {
  display: inline-block;
  margin-left: .75rem;
  color: var(--muted);
  font: 400 .875rem/1.4 'DM Sans', sans-serif;
}
.hero-topline .eyebrow {
  font-size: .875rem;
  letter-spacing: 0;
  text-transform: none;
}
.duality-band {
  background: linear-gradient(90deg, var(--charcoal) 32%, #4b4846 44%, #bcb4aa 55%, var(--ivory) 68%);
}
.duality {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--portrait-size) minmax(0, 1fr);
  align-items: center;
  min-height: var(--portrait-size);
}
.identity-side {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-block: 1.5rem;
}
.geek-side { color: #faf8f4; }
.cto-side { text-align: right; color: #252426; }
.side-kicker {
  margin: 0 0 .875rem;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
}
.geek-side .side-kicker { color: #c6c4c4; }
.cto-side .side-kicker { color: #605b55; }
.identity-side h2 {
  margin: 0;
  font: 800 clamp(2.25rem, 3.85vw, 3.5rem)/1.08 'Manrope', sans-serif;
  letter-spacing: -.055em;
}
.role-detail {
  display: block;
  max-width: 16rem;
  margin: .75rem 0 0 auto;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  line-height: 1.4;
  letter-spacing: -.025em;
}
.identity-side > p:not(.side-kicker) {
  max-width: 18rem;
  margin: 1.125rem 0;
  font-size: 1rem;
  line-height: 1.55;
}
.geek-side > p:not(.side-kicker) { color: #d7d4d1; }
.cto-side > p:not(.side-kicker) { margin-left: auto; color: #58524c; }
.tech-orbit {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem .875rem;
  font-size: .875rem;
  font-weight: 600;
}
.cto-side .tech-orbit { justify-content: flex-end; }
.portrait-stage {
  align-self: stretch;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.portrait-labels { display: none; }
.portrait-stage img {
  display: block;
  width: 100%;
  height: var(--portrait-size);
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.hero-bottom {
  display: flex;
  justify-content: center;
  padding-block: 1.125rem;
}
.hero-bottom .hero-actions { margin: 0; gap: .75rem; }
.hero-bottom .btn {
  min-height: 3rem;
  padding: .75rem 1.25rem;
  border-radius: .375rem;
  font-size: .875rem;
}
.hero-bottom .btn.primary { background: var(--charcoal); }
.hero-bottom .btn.primary:hover { background: #414145; }
.hero-bottom .btn.secondary:hover { border-color: #777; }
.hero-bottom .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (min-width: 761px) and (max-width: 1040px) {
  .identity-hero { --portrait-size: clamp(18rem, 37vw, 23rem); }
  .identity-side h2 { font-size: clamp(1.875rem, 3.9vw, 2.5rem); }
  .hero-name > span { display: block; margin-left: 0; }
  .identity-side > p:not(.side-kicker) { margin-block: .875rem; }
}
@media (max-width: 760px) {
  .hero-topline {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    padding-block: .875rem;
  }
  .hero-name > span { margin-left: .375rem; }
  .duality-band {
    background: linear-gradient(90deg, var(--charcoal) 39%, #4b4846 46%, #bcb4aa 54%, var(--ivory) 61%);
  }
  .duality { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 0; }
  .portrait-stage {
    grid-column: 1 / -1;
    grid-row: 1;
    height: clamp(14rem, 65vw, 18rem);
  }
  .portrait-stage img { width: auto; max-width: 100%; height: 100%; aspect-ratio: 1; }
  .identity-side { align-self: start; padding-block: .75rem 1.25rem; }
  .geek-side { grid-column: 1; grid-row: 2; padding-right: 1rem; }
  .cto-side { grid-column: 2; grid-row: 2; padding-left: 1rem; }
  .identity-side h2 { font-size: clamp(1.375rem, 5.6vw, 2.25rem); }
  .side-kicker { margin-bottom: .5rem; letter-spacing: .04em; }
  .role-detail { margin-top: .5rem; font-size: .875rem; }
  .identity-side > p:not(.side-kicker) { display: none; }
  .tech-orbit { margin-top: .75rem; gap: .25rem .5rem; }
  .hero-bottom { padding-block: .875rem; }
  .hero-bottom .hero-actions {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .hero-bottom .btn { width: 100%; padding: .75rem; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
