/* ─────────────────────────────────────────
   sections.css — hero, news, pubs, about, cv
   ───────────────────────────────────────── */

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--accent);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--accent);
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
  background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 60%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-title span { color: var(--gold); }

.hero-bio {
  margin-top: 28px;
  font-size: 1rem;
  color: #94a3b8;
  max-width: 540px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
  line-height: 1.85;
}

.hero-tags {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.0s forwards;
}

.hero-cta {
  margin-top: 42px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.1s forwards;
}

/* ─── AVATAR ─── */
.hero-avatar-wrap {
  opacity: 0;
  animation: fadeLeft 0.8s ease 0.5s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.avatar-card {
  position: relative;
  width: 250px;
  height: 250px;
}

.avatar-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: spinSlow 12s linear infinite;
}

.avatar-ring::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a4c 0%, #1a1f2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-initials {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.8;
}

.affiliation-badge {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 18px;
  text-align: center;
  width: 100%;
  max-width: 260px;
}

.affil-uni {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.affil-dept {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 3px;
}

.affil-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s infinite;
}

/* ─── NEWS ─── */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.news-item:first-child { border-top: 1px solid var(--border); }

.news-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  padding-top: 2px;
  white-space: nowrap;
}

.news-text {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.65;
}

.news-text strong { color: var(--text); font-style: italic; font-weight: 400; }
.news-text a      { color: var(--accent); text-decoration: none; }
.news-text a:hover { text-decoration: underline; }

/* ─── PUBLICATIONS ─── */
.pub-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pub-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pub-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent2);
  opacity: 0;
  transition: opacity 0.3s;
}

.pub-item:hover {
  border-color: var(--dim);
  transform: translateX(4px);
}

.pub-item:hover::before { opacity: 1; }

.pub-venue {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--accent2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pub-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
}

.pub-title a      { color: inherit; text-decoration: none; transition: color 0.2s; }
.pub-title a:hover { color: var(--accent); }

.pub-authors {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.pub-authors .me {
  color: #94a3b8;
  font-style: italic;
}

.pub-links { display: flex; gap: 8px; flex-wrap: wrap; }

.pub-award {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold);
  margin-left: 8px;
}

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 70px;
  align-items: start;
}

.about-text p {
  font-size: 0.97rem;
  color: #94a3b8;
  margin-bottom: 18px;
  line-height: 1.85;
}

.about-text p strong { color: var(--text); font-style: italic; }

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.edu-item {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s;
}

.edu-item:hover { border-color: var(--dim); }

.edu-degree {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.edu-school {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  margin-top: 3px;
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 3px;
}

/* ─── CV ─── */
.cv-download-card {
  background: linear-gradient(135deg, #0d1f2d 0%, #0d1117 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  transition: border-color 0.3s;
}

.cv-download-card:hover { border-color: var(--dim); }

.cv-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cv-info p {
  font-size: 0.9rem;
  color: var(--muted);
}

.cv-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 12px;
}

.cv-icon {
  font-size: 3.5rem;
  opacity: 0.2;
  flex-shrink: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  #hero { padding: 110px 24px 60px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-avatar-wrap {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cv-download-card {
    flex-direction: column;
    padding: 36px 28px;
    text-align: center;
  }

  .cv-download-card > div:last-child { display: none; }

  .news-item { grid-template-columns: 90px 1fr; gap: 20px; }
}

@media (max-width: 600px) {
  .hero-name { font-size: 2.8rem; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
}
