* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #f6f7f9;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 22px 0 16px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.eth-logo {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-top: 2px;
  flex-shrink: 0;
}

.mets-logo {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-top: 2px;
  flex-shrink: 0;
}

.brand h1 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #111827;
}

.tagline {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 0.98rem;
}

.nav {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  color: #374151;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: #111827;
  border-bottom-color: #111827;
}

.hero {
  padding: 72px 0 56px;
  background: linear-gradient(to bottom, #ffffff, #f6f7f9);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  font-weight: 700;
}

.hero h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.18;
  max-width: 900px;
  color: #111827;
}

.hero-text {
  margin: 18px 0 0;
  font-size: 1.08rem;
  max-width: 760px;
  color: #4b5563;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

.button.primary {
  background: #111827;
  color: #ffffff;
}

.button.primary:hover {
  background: #000000;
}

.button.secondary {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
}

.button.secondary:hover {
  background: #f3f4f6;
}

.section {
  padding: 56px 0;
}

.page-title {
  margin: 0 0 28px;
  font-size: 2.2rem;
  color: #111827;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.stack {
  display: grid;
  gap: 20px;
}

.card,
.team-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.card h3,
.team-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #111827;
}

.card p,
.team-card p {
  margin: 0 0 12px;
  color: #4b5563;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.team-photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
}

.role {
  font-weight: 600;
  color: #6b7280;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 22px 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

a {
  color: #111827;
}

a:hover {
  opacity: 0.8;
}

@media (max-width: 900px) {
  .grid-3,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .eth-logo {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-top: 4px;
  margin-bottom: 32px;
  flex-shrink: 0;
}
}
.research-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.tab-button {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.tab-button:hover {
  background: #f3f4f6;
}

.tab-button.active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.publication-list {
  margin: 0;
  padding-left: 20px;
}

.publication-list li {
  margin-bottom: 14px;
  color: #4b5563;
}

.publication-list a {
  font-weight: 600;
}
.section-top {
  margin-top: 48px;
  margin-bottom: 20px;
}

.section-top h3 {
  margin: 0;
  font-size: 1.6rem;
  color: #111827;
}

.funding-block {
  padding: 18px 0 8px;
  border-top: 1px solid #e5e7eb;
}

.funding-title {
  margin: 0 0 12px;
  text-align: center;
  font-weight: 700;
  color: #374151;
}

.funding-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.funding-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}
.content-logo {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 24px;
}
