:root {
  --black: #050505;
  --white: #ffffff;
  --gray-100: #f7f7f7;
  --gray-200: #e8e8e8;
  --gray-500: #777777;
  --gray-800: #222222;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

.logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 16px;
}

.nav-links a {
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
  padding: 140px 24px 80px;
  max-width: none;
}

.hero-content,
.hero-image {
  max-width: 590px;
}

.hero-content {
  justify-self: end;
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a9a9a9;
  margin-bottom: 20px;
}

.eyebrow.dark {
  color: var(--gray-500);
}

.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  margin-bottom: 28px;
}

.hero-text {
  max-width: 560px;
  font-size: 20px;
  color: #d3d3d3;
  margin-bottom: 36px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 46px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;

  box-sizing: border-box;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.dark-button {
  background: var(--black);
  color: var(--white);
  margin-top: 24px;
}

.image-placeholder {
  height: 520px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.32), transparent 28%),
    radial-gradient(circle at 70% 70%, rgba(130,130,130,0.35), transparent 30%),
    linear-gradient(135deg, #202020, #070707);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: #bdbdbd;
  font-size: 14px;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 110px 24px;
}

.section.muted {
  max-width: none;
  background: var(--gray-100);
}

.section.muted > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: 52px;
}

.section h2 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.person-card {
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 30px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.card h3,
.person-card h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.card p,
.person-card p,
.join-box p {
  color: var(--gray-500);
}

.publication-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--gray-200);
}

.publication {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--gray-200);
}

.pub-number {
  font-size: 14px;
  color: var(--gray-500);
  letter-spacing: 0.08em;
}

.pub-content h3 {
  max-width: 880px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.pub-meta {
  font-size: 16px;

  color: var(--gray-500);

  margin-bottom: 14px;

  line-height: 1.6;
}

.author-highlight {
  font-weight: 600;
  color: var(--black);
}

.journal-name {
  font-style: italic;
  font-weight: 600;
  color: var(--black)
}

.pub-note {
  max-width: 760px;
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

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

.pub-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  border-bottom: 1px solid var(--black);
}

.avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background:
    linear-gradient(135deg, #efefef, #dcdcdc);
  margin-bottom: 22px;
}

.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--gray-200);
}

.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}

.news-item span {
  color: var(--gray-500);
  font-size: 14px;
}

.join-box {
  padding: 58px;
  border-radius: 32px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}

.join-box h2 {
  max-width: 850px;
  margin-bottom: 22px;
}

.join-box p {
  max-width: 720px;
  font-size: 18px;
}

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

.contact-grid div {
  padding-top: 22px;
  border-top: 1px solid var(--gray-200);
}

.contact-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-grid p {
  color: var(--gray-500);
}

.footer {
  padding: 38px 24px;
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
  border-top: 1px solid var(--gray-200);
}

@media (max-width: 850px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 65px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 5, 5, 0.96);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    overflow: hidden;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }

  .hero-content {
    justify-self: start;
  }

  .hero-image,
  .hero-content {
    max-width: 100%;
  }

  .image-placeholder {
    height: 360px;
  }

  .grid.three,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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



  .join-box {
    padding: 34px;
  }
}

/* Team Section */
.pi-profile {
  display: grid;
  grid-template-columns: 480px 1fr; 
  align-items: start;
}

.pi-photo {
  width: 320px;
  aspect-ratio: 4 / 5;

  border-radius: 24px;
  overflow: hidden;
    
  margin-left: auto;
  margin-right: auto;
}

.pi-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pi-info {
  /*
  border: 1px solid var(--gray-200);
  border-radius: 32px;
  padding: 44px;
  background: var(--white);
  */
}

.pi-info h3 {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.pi-title {
  font-size: 18px;
  color: var(--gray-800);
  margin-bottom: 24px;
}

.pi-bio {
  font-size: 17px;
  color: var(--gray-500);
  margin-bottom: 30px;
}

.pi-details {

  display: flex;

  flex-direction: column;

  gap: 28px;

  padding-top: 26px;

  border-top: 1px solid var(--gray-200);

  margin-bottom: 28px;
}

.pi-details h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.pi-details p {
  color: var(--gray-500);
  font-size: 17px;
  margin-bottom: 8px;
}

.research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.research-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  font-size: 13px;
  color: var(--gray-800);
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.outline-button {
  border: 1px solid var(--gray-200);
  color: var(--black);
  background: var(--white);
}

.team-subsection {
  margin-top: 40px;
}

.team-subsection > h3 {
  font-size: 28px;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

@media (max-width: 850px) {
  .pi-profile {
    grid-template-columns: 1fr;
  }

  .pi-photo {
    min-height: 360px;
  }

  .pi-info {
    padding: 30px;
  }

  .pi-details {
    grid-template-columns: 1fr;
  }
}
