:root {
  --accent: #0b4a8b;
  --accent-dark: #08376a;
  --text: #2f3d56;
  --muted: #5c6b80;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-alt: #eef3f8;
  --border: #d8e0ea;
  --max-width: 1180px;
  --radius: 20px;
  --shadow-soft: 0 18px 45px rgba(18, 42, 76, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

img,
svg {
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

button,
a {
  transition: all 0.2s ease;
}

a:hover {
  text-decoration: none;
}

.container {
  width: min(var(--max-width), calc(100% - 2.4rem));
  margin: 0 auto;
}

.narrow {
  width: min(780px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 224, 234, 0.8);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer {
  margin-top: 60px;
  padding: 25px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.brand {
  text-decoration: none;
  color: var(--text);
}

.brand-text {
  font-size: 1.7rem;
  font-weight: 700;
}


.site-nav {
  display: flex;
  gap: 1.2rem;
}

.site-nav a {
  font-size: 0.9rem;
  color: var(--text);
}

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

.menu-toggle {
  display: none;
}

.site-nav a.active {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}

.person-profile {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 25px;
}

.person-photo {
  width: 420px;
  height: auto;
  border-radius: 12px;
  flex: 0 0 420px;
}

.person-bio {
  flex: 1;
}

.person-bio p:first-child {
  margin-top: 0;
}

@media (max-width: 800px) {
  .person-profile {
    flex-direction: column;
  }
}

.person-bio h3,
.person-bio h4,
.person-bio p:first-child {
  margin-top: 0;
}


.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.tool-card h2 {
  font-size: 1.2rem;
  margin-top: 0;
}

.tool-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.tool-link {
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 900px) {
  .tools-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.tool-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px auto;
}

.tool-card h2 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.tool-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.tool-link {
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 900px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

.collaboration-list {
  margin-top: 18px;
  padding-left: 20px;
}

.collaboration-list li {
  margin-bottom: 16px;
}

.collaboration-list a {
  color: var(--accent);
  text-decoration: none;
}

.collaboration-list a:hover {
  text-decoration: underline;
}

.funding-section {
  text-align: center;
}

.funding-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.funding-logos img {
  height: 90px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.funding-logos img:hover {
  opacity: 1;
}

@media (max-width: 900px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 0;
  }

  .brand-text {
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

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