/* ─── PAGE HEADER ─── */
.page-header {
  position: relative; padding: 80px 0 60px;
  background: var(--navy); overflow: hidden;
}
.ph-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, rgba(26,158,143,0.1) 0%, transparent 60%),
    linear-gradient(160deg, #0B1D3A 0%, #0e2448 100%);
}
.ph-bg::before {
  content:''; position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size:32px 32px;
}
.ph-inner { position: relative; z-index: 1; }

/* ─── PROFILE GRID ─── */
.profile-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 4rem; align-items: start;
}

/* Bio card */
.bio-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  box-shadow: var(--shadow-md); position: sticky; top: 90px;
}
.bio-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: white;
  margin: 0 auto 1rem; border: 3px solid rgba(26,158,143,0.25);
}
.bio-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.bio-position { font-size: 0.82rem; color: var(--teal); font-weight: 600; margin-bottom: 4px; }
.bio-dept { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.bio-divider { height: 1px; background: var(--border); margin: 1.2rem 0; }
.bio-links { display: flex; flex-direction: column; gap: 0.5rem; }
.bio-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 8px; text-decoration: none;
  font-size: 0.83rem; color: var(--text-mid); font-weight: 500;
  border: 1px solid var(--border); transition: var(--transition);
}
.bio-link:hover { border-color: var(--teal); color: var(--teal); background: rgba(26,158,143,0.04); }
.bl-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700; flex-shrink: 0;
}

/* Quick stats */
.quick-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0; background: white; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-top: 1rem;
  box-shadow: var(--shadow-sm);
}
.qs-item {
  text-align: center; padding: 1rem 0.5rem;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.qs-item:nth-child(3n) { border-right: none; }
.qs-item:nth-last-child(-n+3) { border-bottom: none; }
.qs-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.qs-lbl { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; }

/* Bio text */
.bio-text p { margin-bottom: 1rem; color: var(--text-mid); line-height: 1.85; font-size: 0.97rem; }

/* Expertise */
.subsection-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.expertise-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.1rem;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.expertise-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ec-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 1px; }
.ec-title { font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.ec-desc { font-size: 0.75rem; color: var(--text-muted); }

/* Timeline */
.two-col-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 2.5rem; }
.edu-exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex; gap: 1.2rem; padding-bottom: 2rem;
  position: relative;
}
.timeline-item::before {
  content: ''; position: absolute; left: 7px; top: 20px; bottom: 0;
  width: 1px; background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.tl-dot {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal); border: 3px solid white;
  box-shadow: 0 0 0 2px var(--teal); margin-top: 3px;
}
.tl-dot-gold { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.tl-content { flex: 1; }
.tl-year { font-size: 0.72rem; font-weight: 600; color: var(--teal); letter-spacing: 0.05em; font-family: var(--font-mono); margin-bottom: 3px; }
.tl-title { font-size: 0.92rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.tl-org { font-size: 0.8rem; color: var(--text-muted); }

/* Awards */
.awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.award-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.award-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--gold); }
.ac-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.ac-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.ac-year { font-size: 0.78rem; color: var(--gold); font-weight: 600; font-family: var(--font-mono); margin-bottom: 0.3rem; }
.ac-org { font-size: 0.8rem; color: var(--text-muted); }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .profile-grid { grid-template-columns: 1fr; }
  .bio-card { position: static; }
  .edu-exp-grid { grid-template-columns: 1fr; gap: 2rem; }
  .two-col-header { grid-template-columns: 1fr; gap: 0; }
  .two-col-header > div:last-child { margin-top: 1rem; }
  .awards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .quick-stats { grid-template-columns: 1fr 1fr; }
  .qs-item:nth-child(3n) { border-right: 1px solid var(--border); }
  .qs-item:nth-child(2n) { border-right: none; }
}
