/* Shared expert card and application-preview component. */
:root {
  --people-canvas: #f6f8f9;
  --people-border: #e4e9eb;
  --people-cover: #d8e8f2;
  --people-icon-color: #476678;
  --people-icon-bg: #eef4f8;
  --people-icon-border: #d6e4ec;
  --people-radius: 24px;
}
.person-card-tone-blue {
  --people-cover: #d8e8f2;
  --people-icon-color: #476678;
  --people-icon-bg: #eef4f8;
  --people-icon-border: #d6e4ec;
}
.person-card-tone-green {
  --people-cover: #dde9df;
  --people-icon-color: #4c6c58;
  --people-icon-bg: #eff5f0;
  --people-icon-border: #dce7dd;
}
.person-card-tone-sand {
  --people-cover: #ede2d3;
  --people-icon-color: #7c6547;
  --people-icon-bg: #f7f3ec;
  --people-icon-border: #e9dfd0;
}
.person-card-tone-purple {
  --people-cover: #e7e0ed;
  --people-icon-color: #6f5b7c;
  --people-icon-bg: #f4f0f7;
  --people-icon-border: #e3daeb;
}
.person-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 10px 0;
  background: #fff;
  border: 1px solid var(--people-border);
  border-radius: var(--people-radius);
  box-shadow:
    0 2px 3px rgb(0 38 43 / 2%),
    0 12px 24px -12px rgb(0 38 43 / 12%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}
.person-card:hover {
  transform: translateY(-4px);
  border-color: #c8d9dd;
  box-shadow:
    0 3px 6px rgb(0 38 43 / 3%),
    0 20px 32px -12px rgb(0 38 43 / 15%);
}
.person-card:focus-visible {
  outline: 3px solid var(--brand-link);
  outline-offset: 5px;
}
.person-cover {
  height: 104px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--people-cover);
}
.person-cover::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 50%;
  right: -70px;
  top: -95px;
  opacity: 0.6;
}
.person-cover-brand {
  position: absolute;
  right: 18px;
  bottom: 17px;
  color: #53666d;
  font-size: 14px;
  font-weight: 500;
  z-index: 1;
}
.person-card-body {
  flex: 1;
  padding: 0 16px 22px;
  position: relative;
}
.person-avatar-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: -47px;
  margin-bottom: 18px;
  position: relative;
}
.person-portrait {
  display: block;
  width: 104px;
  height: 104px;
  border: 5px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #e9edee;
}
.person-location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 5px;
  color: var(--brand-muted);
  font-size: 12px;
}
.person-location svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.person-name {
  margin: 0 0 5px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.person-role {
  margin: 0;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.7;
  min-height: 3.4em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.person-specialty {
  margin: 18px 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--brand-text);
  max-width: 22em;
  min-height: 3.5em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 27px;
  align-content: flex-start;
}
.person-tags li {
  padding: 5px 9px;
  border-radius: 6px;
  background: #f3f6f7;
  color: #526b70;
  font-size: 11px;
  line-height: 1.45;
}
.person-featured {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid #edf0f1;
}
.person-project-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 42px;
  border: 1px solid var(--people-icon-border);
  border-radius: 9px;
  background: var(--people-icon-bg);
  color: var(--people-icon-color);
}
.person-project-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.person-project-label {
  margin: 0 0 4px;
  color: var(--brand-muted);
  font-size: 11px;
  line-height: 1.4;
}
.person-project-title {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
  min-height: 3.1em;
}
.person-portrait-placeholder {
  display: grid;
  place-items: center;
  color: var(--brand-muted);
  font-size: 30px;
}
.person-card-preview:hover {
  transform: none;
  border-color: var(--people-border);
  box-shadow: none;
}
.person-tags .person-method-tag {
  background: #fff;
  box-shadow: inset 0 0 0 1px #e4e9eb;
}
.person-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 16px 18px;
  margin: 0 -10px;
  border-top: 1px solid #edf0f1;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-link);
}
.person-card-footer span:last-child {
  font-size: 19px;
  line-height: 1;
  transition: transform 180ms ease;
}
.person-card:hover .person-card-footer span:last-child {
  transform: translate(2px, -2px);
}
@media (prefers-reduced-motion: reduce) {
  .person-card,
  .person-card-footer span:last-child {
    transition: none;
  }
  .person-card:hover {
    transform: none;
  }
}
