@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500&display=swap");

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #FFF5EC;
  color: #333;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 1.1em;
  line-height: 1.75;
}

main {
  padding: 40px 10%;
}

/* ── Intro ── */
.intro {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.intro-text {
  flex: 1;
}

.intro-photo {
  flex-shrink: 0;
}

.intro-photo img {
  width: 190px;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
}

h1 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #333;
}

.intro-text p {
  margin-bottom: 12px;
  color: #333;
  font-size: 0.9em;
}

.social-links {
  margin-top: 8px;
  margin-bottom: 16px;
  font-size: 0.93rem;
  color: #666;
}

.social-links a {
  color: #555;
  text-decoration: none;
}

.social-links a:hover {
  color: #333;
  text-decoration: underline;
}

/* ── Section spacing ── */
section {
  margin-bottom: 32px;
}

/* ── Section headings ── */
h2 {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 20px;
}

/* ── Publications ── */
.pub {
  margin-bottom: 22px;
}

.pub p {
  color: #333;
  font-size: 0.92rem;
}

.pub strong {
  color: #333;
  font-weight: 500;
  font-size: 1rem;
}

.pub em {
  color: #777;
  font-style: normal;
}

/* ── Projects ── */
.project {
  margin-bottom: 18px;
}

.project p {
  color: #333;
  font-size: 0.92rem;
}

.project strong {
  color: #333;
  font-weight: 500;
  font-size: 1rem;
}

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

.news-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 0.94rem;
  color: #333;
  align-items: baseline;
}

.date {
  flex-shrink: 0;
  width: 72px;
  color: #999;
  font-size: 0.88rem;
}

/* ── Fun facts ── */
section ul {
  list-style: disc;
  padding-left: 20px;
  color: #333;
}

section ul li {
  margin-bottom: 8px;
  font-size: 0.94rem;
}

/* ── Links ── */
a {
  color: #333;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-color: #333;
}


/* ── Mobile ── */
@media (max-width: 560px) {
  main {
    padding: 40px 18px 72px;
  }

  .intro {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .intro-photo img {
    width: 100px;
    height: 120px;
  }

  .news-list li {
    flex-direction: column;
    gap: 2px;
  }

  .date {
    width: auto;
  }
}
