.people-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: stretch;
}

.people-hero-panel {
  border-radius: 26px;
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 210, 148, 0.38), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 251, 245, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 58px rgba(39, 94, 73, 0.1);
}

.people-hero-panel h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.people-hero-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.people-stat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.people-stat div {
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.people-stat strong {
  display: block;
  font-size: 1.45rem;
  color: var(--primary-strong);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.profile-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(34, 99, 77, 0.1);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(102, 53, 48, 0.14);
}

.profile-cover {
  position: relative;
  min-height: 132px;
  border-radius: 16px;
  overflow: hidden;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 218, 171, 0.76), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(76, 186, 148, 0.5), transparent 32%),
    linear-gradient(145deg, #361a28, #8f3132 55%, #d88f4a);
}

.profile-avatar {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  z-index: 1;
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(25, 12, 18, 0.22);
}

.profile-avatar-large {
  width: 82px;
  height: 82px;
  border-radius: 24px;
}

.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(150deg, #000, transparent 75%);
}

.profile-cover span,
.profile-cover strong {
  position: relative;
  z-index: 1;
}

.profile-cover span {
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.16);
  padding: 0.18rem 0.54rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.profile-cover strong {
  max-width: 12ch;
  font-size: 1.35rem;
  line-height: 1.2;
}

.profile-detail-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: center;
}

.profile-detail-hero .people-hero-panel,
.profile-detail-hero .profile-cover {
  position: relative;
  z-index: 1;
}

.profile-detail-hero .people-hero-panel {
  padding: clamp(1.25rem, 2.5vw, 2.2rem);
}

.profile-detail-hero .people-hero-panel h1 {
  margin-top: 0.45rem;
}

.profile-detail-hero .people-hero-panel p:not(.eyebrow) {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.profile-detail-hero .profile-cover {
  min-height: 242px;
  padding: clamp(1rem, 2vw, 1.35rem);
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: 0.9rem;
  align-items: end;
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 233, 192, 0.58), transparent 28%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.24), transparent 26%),
    linear-gradient(145deg, #2f4e43 0%, #7b2f35 55%, #dc9b59 100%);
  box-shadow: 0 22px 48px rgba(69, 42, 35, 0.16);
}

.profile-detail-hero .profile-cover .profile-avatar-large {
  position: static;
  grid-column: 1;
  grid-row: 2;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 34px rgba(20, 11, 16, 0.24);
}

.profile-detail-hero .profile-cover span {
  grid-column: 1 / -1;
  grid-row: 1;
  width: fit-content;
  padding: 0.28rem 0.72rem;
  font-size: 0.78rem;
}

.profile-detail-hero .profile-cover strong {
  grid-column: 2;
  grid-row: 2;
  max-width: none;
  align-self: end;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.16;
  text-wrap: balance;
}

.profile-card h3 {
  margin: 0.8rem 0 0;
  font-size: 1.08rem;
}

.profile-card p {
  color: var(--muted);
  line-height: 1.65;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.profile-tags span,
.tag-pill {
  border-radius: 999px;
  color: var(--primary-strong);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.18rem 0.52rem;
  font-size: 0.76rem;
  font-weight: 800;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.2rem;
  align-items: start;
}

.profile-section {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(34, 99, 77, 0.08);
  padding: 1rem;
  margin-top: 1rem;
}

.profile-section h2 {
  margin: 0 0 0.75rem;
}

.profile-sidebar {
  position: sticky;
  top: 96px;
}

.timeline-list,
.prediction-list,
.simple-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list li,
.prediction-list li,
.simple-list li {
  border-radius: 14px;
  background: rgba(248, 255, 251, 0.8);
  border: 1px solid rgba(20, 149, 104, 0.12);
  padding: 0.78rem;
}

.timeline-list strong {
  display: block;
  color: var(--primary-strong);
}

.prediction-list h3 {
  margin: 0;
  font-size: 1rem;
}

.prediction-list p {
  margin: 0.38rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.quote-strip {
  display: grid;
  gap: 0.7rem;
}

.quote-strip blockquote {
  margin: 0;
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  background: rgba(255, 248, 238, 0.82);
  padding: 0.75rem 0.9rem;
  line-height: 1.75;
}

.source-list a,
.related-list a {
  color: var(--primary-strong);
  font-weight: 800;
  text-decoration: none;
}

.risk-note {
  color: #7a4a41;
  background: rgba(255, 246, 236, 0.92);
  border: 1px solid rgba(209, 139, 89, 0.22);
}

@media (max-width: 980px) {
  .people-hero,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-sidebar {
    position: static;
  }

  .profile-detail-hero .profile-cover {
    min-height: 210px;
  }
}

@media (max-width: 680px) {
  .profile-grid,
  .people-stat {
    grid-template-columns: 1fr;
  }

  .profile-detail-hero .profile-cover {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 178px;
  }

  .profile-detail-hero .profile-cover .profile-avatar-large {
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }
}
