.hero-right-column {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 48px;
  align-self: center;
}

.hero-system-profile,
.hero-system,
.hero-profile-card,
.hero-right-column .system-window {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.hero-system-profile {
  position: relative;
  z-index: 2;
}

.hero-system {
  perspective: none;
}

.hero-right-column .system-window {
  transform: none;
}

.hero-profile-card {
  padding: 26px;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #111827, #202a3d);
  box-shadow: 0 24px 64px rgba(17, 24, 39, .2);
}

.hero-profile-visual,
.hero-profile-details {
  min-width: 0;
}

.hero-profile-visual {
  display: grid;
  place-items: center;
}

.hero-profile,
.hero-profile-frame {
  width: 156px;
  height: 156px;
}

.hero-profile {
  display: block;
  border-radius: 50%;
}

.hero-profile-frame {
  padding: 6px;
  display: block;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.hero-profile-frame img {
  width: 100%;
  height: 100%;
  display: block;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  background: #fff;
}

.hero-profile-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--lime);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-profile-card h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: clamp(29px, 2.8vw, 40px);
  line-height: 1;
  letter-spacing: -.05em;
}

.hero-profile-title {
  margin: 0 0 17px;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 700;
}

.hero-profile-role {
  padding: 13px 0;
  display: grid;
  gap: 5px;
  border-top: 1px solid rgba(255, 255, 255, .11);
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.hero-profile-role strong {
  font-size: 14px;
}

.hero-profile-role span,
.hero-profile-education span {
  color: rgba(255, 255, 255, .63);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero-profile-education {
  margin: 14px 0 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-profile-education span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
}

.hero-profile-availability {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  line-height: 1.5;
}

.hero-profile-contact {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 9px;
}

.hero-profile-contact a,
.hero-profile-links a {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.hero-profile-contact a {
  min-width: 0;
  padding: 10px 11px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .055);
}

.hero-profile-contact a:hover {
  border-color: rgba(203, 255, 92, .45);
  background: rgba(255, 255, 255, .09);
}

.hero-profile-contact small {
  color: var(--lime);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .14em;
}

.hero-profile-contact strong {
  overflow: hidden;
  color: #fff;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-profile-links {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-profile-links a {
  color: rgba(255, 255, 255, .76);
  font-size: 9px;
  font-weight: 790;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-profile-links a:hover {
  color: var(--lime);
}

.window-badges {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid var(--soft-line);
  background: #fff;
}

.system-window .float-badge,
.system-window .badge-left,
.system-window .badge-right {
  position: relative;
  z-index: auto;
  inset: auto;
  flex: 1 1 180px;
  min-width: 0;
  padding: 10px 12px;
  box-shadow: none;
  backdrop-filter: none;
}

/* Match the sovereign-model platform header to the existing green diagram accent. */
.platform-diagram > svg > g:first-of-type rect {
  fill: #f5ffe4;
  stroke: #88b831;
}

.platform-diagram > svg > g:first-of-type text {
  fill: #5f7f22;
}

@media (max-width: 1100px) {
  .hero-profile-card {
    grid-template-columns: 138px minmax(0, 1fr);
    gap: 22px;
    padding: 22px;
  }

  .hero-profile,
  .hero-profile-frame {
    width: 128px;
    height: 128px;
  }

  .hero-profile-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-right-column {
    gap: 30px;
  }

  .hero-profile-card {
    padding: 20px 18px;
    grid-template-columns: 1fr;
    gap: 18px;
    border-radius: 19px;
  }

  .hero-profile,
  .hero-profile-frame {
    width: 120px;
    height: 120px;
  }

  .hero-profile-card h3 {
    font-size: 30px;
  }

  .hero-profile-contact {
    grid-template-columns: 1fr;
  }

  .window-badges {
    padding: 10px 12px;
  }

  .system-window .float-badge {
    flex-basis: 100%;
  }
}
