/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:       #6080c0;
  --purple-dark:  #6080c0;
  --purple-light: #eaf0f8;
  --purple-mid:   #4565b0;
  --text:         #2c2c2c;
  --muted:        #666;
  --border:       #c8d8ec;
  --bg:           #ffffff;
}

body {
  font-family: 'Lora', Georgia, serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--purple-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

.accent { color: var(--purple-mid); font-weight: 600; }

/* ── Nav ── */
header {
  background: var(--purple-dark);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

nav {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-name {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

nav ul a {
  color: #ddd5ef;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover { color: #fff; text-decoration: none; }

/* ── Main wrapper ── */
main {
  flex: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
}

/* ── About layout ── */
.about-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.about-photo {
  flex: 0 0 260px;
  text-align: center;
}

.about-photo img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  object-position: center 85%;
  border-radius: 50%;
  border: 3px solid var(--border);
  background: var(--purple-light);
}

/* ── Round icon links ── */
.about-links {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.about-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--purple-dark);
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.about-links a:hover {
  background: var(--purple-light);
  border-color: var(--purple-mid);
  text-decoration: none;
}

.about-links a svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  fill: var(--purple-dark);
}

.about-links a img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.about-text h1 {
  font-family: 'Lora', serif;
  font-size: 2.3rem;
  color: var(--purple-dark);
  margin-bottom: 0.2rem;
}

.about-position {
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  line-height: 1.5;
}

.about-text h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--purple-dark);
  margin: 1.6rem 0 0.6rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3rem;
}

.about-text p { margin-bottom: 0.9rem; }

.about-text ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.about-text ul li { margin-bottom: 0.3rem; }

/* ── Generic page ── */
.page-content h1 {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  color: var(--purple-dark);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

.page-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--purple-dark);
  margin: 2rem 0 0.6rem;
}

.page-content p { margin-bottom: 0.9rem; }

/* ── News ── */
.news-list { list-style: none; }

.news-list li {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.news-date {
  flex: 0 0 110px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 0.2rem;
}

.news-body { flex: 1; }

/* ── Publications ── */
.pub-list { list-style: none; }

.pub-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.pub-row {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.pub-label {
  flex: 0 0 38px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-dark);
  padding-top: 0.1rem;
}

.pub-title { font-style: italic; color: var(--text); }

.pub-authors {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.2rem 0;
}

.pub-venue {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--purple-mid);
}

.pub-links { margin-top: 0.4rem; }

.pub-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  background: var(--purple-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-right: 0.4rem;
  color: var(--purple-dark);
}

.pub-links a:hover { background: var(--border); text-decoration: none; }

/* ── CV ── */
.cv-section { margin-bottom: 2rem; }

.cv-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-dark);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3rem;
  margin-bottom: 0.8rem;
}

.cv-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.9rem;
}

.cv-year {
  flex: 0 0 90px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 0.1rem;
}

.cv-detail strong { display: block; }

.cv-detail span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.contact-block h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-block p {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 1.2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--purple-light);
}

/* ── Responsive ── */
@media (max-width: 680px) {
  .about-layout { flex-direction: column; align-items: center; }
  .about-text { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
  nav ul { gap: 1rem; }
  .nav-name { display: none; }
}
