:root {
  --bg: #faf7f2;
  --text: #1c1917;
  --muted: #625b53;
  --border: #e7ded4;
  --white: #ffffff;
  --dark: #1c1917;
  --accent: #047857;
  --accent-light: #d9f7e8;
  --shadow: 0 24px 70px rgba(28, 25, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
  padding: 96px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1, h2 {
  font-family: "Playfair Display", serif;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
}

h3 {
  margin: 0;
  font-size: 1.2rem;
}

.hero-text,
.large-text,
.section-heading p,
.research-card p,
.contact-box p,
.profile-inner p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 680px;
  margin: 26px 0 0;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.button.primary {
  background: var(--dark);
  color: white;
}

.button.primary:hover {
  background: #3b332d;
}

.button.secondary {
  border: 1px solid var(--border);
  background: transparent;
}

.button.secondary:hover {
  border-color: var(--text);
}

.profile-card {
  border: 1px solid var(--border);
  border-radius: 34px;
  background: var(--white);
  padding: 22px;
  box-shadow: var(--shadow);
}

.profile-inner {
  min-height: 510px;
  border-radius: 26px;
  background: linear-gradient(135deg, #c6f6dc, #f3f9df 55%, #eee7de);
  padding: 34px;
}

.icon-circle {
  display: grid;
  width: 92px;
  height: 92px;
  margin-bottom: 84px;
  place-items: center;
  border-radius: 50%;
  background: white;
  font-size: 2.5rem;
  box-shadow: 0 8px 25px rgba(28, 25, 23, 0.08);
}

.tags-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.tags-grid span,
.pill-list span {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
  color: var(--text);
  font-size: 0.9rem;
}

.section {
  padding: 86px 0;
}

.section-white {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}

.large-text {
  margin: 0;
  font-size: 1.08rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pill-list span {
  background: #f3eee8;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 42px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.research-card {
  min-height: 280px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  padding: 28px;
  box-shadow: 0 8px 30px rgba(28, 25, 23, 0.05);
  transition: 0.2s ease;
}

.research-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(28, 25, 23, 0.1);
}

.card-icon {
  margin-bottom: 24px;
  font-size: 2rem;
}

.section-dark {
  background: var(--dark);
  color: white;
}

.section-heading.light p {
  color: #d5cbc1;
}

.publication-list {
  display: grid;
  gap: 14px;
}

.publication-item {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  background: rgba(255,255,255,0.055);
  padding: 24px;
}

.publication-item span {
  display: block;
  margin-bottom: 8px;
  color: #a7f3d0;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-box {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  border-radius: 34px;
  background: var(--white);
  padding: 46px;
  box-shadow: var(--shadow);
}

.contact-links {
  display: grid;
  gap: 14px;
}

.contact-links > a,
.contact-links > p {
  margin: 0;
  border-radius: 18px;
  background: #f7f2ec;
  padding: 16px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.92rem;
}

.social-links a:hover {
  border-color: var(--text);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 30px 20px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.75s ease forwards;
}

.profile-card.reveal {
  animation-delay: 0.12s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 850px) {
  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .profile-inner {
    min-height: auto;
  }

  .icon-circle {
    margin-bottom: 42px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero-actions,
  .social-links,
  .pill-list {
    flex-direction: column;
  }

  .button,
  .social-links a {
    width: 100%;
  }

  .tags-grid {
    grid-template-columns: 1fr;
  }

  .contact-box,
  .profile-inner {
    padding: 28px;
  }
}
