:root {
  --bg: #ffffff;
  --text: #1f2933;
  --muted: #667085;
  --heading: #111827;
  --border: #e5e7eb;
  --soft-bg: #f8fafc;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

/* Header */

.site-header {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--heading);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.brand-title {
  font-size: 1.42rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-subtitle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
}

.site-nav a {
  color: var(--heading);
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
}

/* Layout */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 54px 28px 80px;
}

.section {
  margin-bottom: 52px;
}

.page-title {
  margin-bottom: 36px;
}

.page-title h1 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 1.45rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.page-title p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Hero */

.hero {
  max-width: 820px;
  margin-bottom: 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0 0 18px;
  color: var(--heading);
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-text {
  margin: 0 0 14px;
  color: var(--heading);
  font-size: 1.35rem;
  line-height: 1.5;
}

.hero-desc {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Text */

h2 {
  margin: 0 0 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--heading);
  font-size: 1.38rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 1.08rem;
  line-height: 1.4;
}

p {
  margin-top: 0;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-dark);
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

/* News */

.news-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.news-item:first-of-type {
  padding-top: 0;
}

.news-date {
  flex: 0 0 92px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.news-item p {
  margin: 0;
}

/* Notice */

.notice {
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: var(--soft-bg);
  color: var(--text);
}

/* Research cards */

.theme-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.theme-item {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--soft-bg);
}

.theme-item h3 {
  margin: 0;
}

.theme-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.theme-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.theme-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.theme-card:first-of-type {
  padding-top: 0;
}

.theme-number {
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.theme-card p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}

/* People */

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.person-card {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--soft-bg);
}

.person-card h3 {
  font-size: 1.16rem;
}

.person-card p {
  font-size: 1.02rem;
}

.person-photo {
  width: 135px;
  height: 135px;
  border-radius: 14px;
  object-fit: cover;
}

.placeholder-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--heading);
  color: white;
  font-size: 1.62rem;
  font-weight: 800;
}

.small-text {
  color: var(--muted);
  font-size: 1rem;
}

/* Publications */

.section .publication:first-of-type {
  padding-top: 8px;
}

.publication {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.publication p {
  margin: 0;
}

.authors {
  color: var(--muted);
}

/* Projects */

.project-list {
  margin: 0;
  list-style: none;
  padding-left: 0;
}

.project-list li {
  padding: 14px 8px;
  border-bottom: 1px solid var(--border);
}

.project-list li:first-child {
  padding-top: 4px;
}

/* Footer */

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 26px 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Mobile */

@media (max-width: 1000px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-nav {
    gap: 20px;
    flex-wrap: wrap;
  }

  .brand {
    white-space: normal;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-text {
    font-size: 1.16rem;
  }
}

@media (max-width: 560px) {
  .site-header,
  .container,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 0.82rem;
  }

  .brand-title {
    font-size: 1.06rem;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 0.94rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .news-item {
    display: block;
  }

  .news-date {
    display: block;
    margin-bottom: 4px;
  }

  .theme-list {
    grid-template-columns: 1fr;
  }

  .theme-card {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .person-card {
    grid-template-columns: 1fr;
  }
}