:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --green-950: #052e16;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --color-primary: var(--green-700);
  --color-primary-dark: var(--green-800);
  --color-bg: #ffffff;
  --color-bg-alt: var(--green-50);
  --color-text: var(--gray-800);
  --color-text-muted: var(--gray-500);
  --color-border: var(--gray-200);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);

  --max-width: 1340px;
  --nav-height: 72px;
  --transition: 250ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ---- Accessibility ---- */

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 2000;
  padding: 12px 24px;
  background: var(--green-950);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: white;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul { list-style: none; }
::selection { background: var(--green-200); color: var(--green-900); }

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

.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }

/* ---- Navigation ---- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: white;
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gray-900);
  border-bottom-color: var(--gray-900);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Search ---- */

.nav-search-wrap {
  position: relative;
  flex-shrink: 0;
}

.nav-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 5px 10px;
  transition: all var(--transition);
}

.nav-search-bar:focus-within {
  border-color: var(--color-primary);
  background: var(--gray-50);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.nav-search-bar svg {
  color: var(--gray-400);
  flex-shrink: 0;
}

.nav-search-bar:focus-within svg {
  color: var(--gray-600);
}

.nav-search-input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-900);
  width: 120px;
}

.nav-search-input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.nav-search-input::placeholder {
  color: var(--gray-500);
}

.nav-search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 420px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  max-height: 440px;
  overflow-y: auto;
  z-index: 1100;
  padding: 6px;
}

.nav-search-dropdown.open {
  display: block;
}

.search-empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

.search-group {
  margin-bottom: 4px;
}

.search-group-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  padding: 8px 10px 4px;
}

.search-result-item {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: background 100ms ease;
}

.search-result-item:hover {
  background: var(--gray-50);
  color: inherit;
}

.search-result-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.3;
}

.search-result-snippet {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-top: 1px;
}

.search-result-item mark {
  background: var(--green-200);
  color: var(--green-900);
  padding: 0 1px;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-search-wrap { margin-left: 0; position: static; }
  .nav-search-bar { margin-top: 8px; }
  .nav-search-input { width: 100%; }
  .nav-search-dropdown { width: calc(100vw - 48px); left: 24px; right: 24px; }
}

/* ---- Hero ---- */

.hero {
  margin-top: var(--nav-height);
  background: #000;
}

.hero-sidecar {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.hero-text {
  background: var(--green-950);
  color: white;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-carousel {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
}

.hero-slideshow {
  position: relative;
  width: 100%;
}

.hero-slide {
  display: none;
  width: 100%;
}

.hero-slide.active {
  display: block;
  animation: heroFadeIn 0.8s ease;
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slide-caption {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px 0 36px;
  z-index: 2;
  color: white;
}

.slide-label {
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.slide-finding {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 14px;
  transition: opacity 0.4s ease;
}

.slide-citation {
  font-size: clamp(11px, 1vw, 13px);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  font-style: italic;
  transition: opacity 0.4s ease;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 32px;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}

.hero-arrow-prev { left: 12px; }
.hero-arrow-next { right: 12px; }

.hero-controls {
  position: absolute;
  bottom: 16px;
  left: 30%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.hero-counter {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  user-select: none;
}

.hero-pause {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.8);
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.hero-pause:hover {
  background: rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.8);
  color: white;
}

.hero-inner {
  max-width: 700px;
}

.hero-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-300);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 17px;
  line-height: 1.7;
  color: var(--green-200);
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  border-radius: 4px;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.btn-green {
  background: var(--color-primary);
  color: white;
}

.btn-green:hover {
  background: var(--color-primary-dark);
  color: white;
}

/* ---- Page Header ---- */

.page-header {
  margin-top: var(--nav-height);
  padding: 72px 0;
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-900) 50%, var(--green-800) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cdefs%3E%3Cstyle%3E.r%7Bfill:none;stroke:rgba(134,239,172,0.1);stroke-width:1.5;stroke-linecap:round%7D.c%7Bfill:rgba(134,239,172,0.08)%7D.f%7Bfill:none;stroke:rgba(134,239,172,0.06);stroke-width:0.8%7D%3C/style%3E%3C/defs%3E%3Cellipse class='r' cx='90' cy='70' rx='14' ry='5' transform='rotate(-30 90 70)'/%3E%3Cellipse class='r' cx='220' cy='50' rx='16' ry='5' transform='rotate(15 220 50)'/%3E%3Cellipse class='r' cx='400' cy='80' rx='13' ry='4.5' transform='rotate(-45 400 80)'/%3E%3Cellipse class='r' cx='530' cy='55' rx='15' ry='5' transform='rotate(20 530 55)'/%3E%3Cellipse class='r' cx='150' cy='180' rx='12' ry='4' transform='rotate(40 150 180)'/%3E%3Cellipse class='r' cx='340' cy='160' rx='17' ry='5.5' transform='rotate(-10 340 160)'/%3E%3Cellipse class='r' cx='500' cy='190' rx='14' ry='4.5' transform='rotate(55 500 190)'/%3E%3Cellipse class='r' cx='70' cy='300' rx='15' ry='5' transform='rotate(-20 70 300)'/%3E%3Cellipse class='r' cx='260' cy='320' rx='13' ry='4.5' transform='rotate(35 260 320)'/%3E%3Cellipse class='r' cx='440' cy='310' rx='16' ry='5' transform='rotate(-40 440 310)'/%3E%3Cellipse class='r' cx='560' cy='340' rx='12' ry='4' transform='rotate(10 560 340)'/%3E%3Ccircle class='c' cx='310' cy='90' r='5'/%3E%3Ccircle class='c' cx='55' cy='150' r='4'/%3E%3Ccircle class='c' cx='470' cy='130' r='6'/%3E%3Ccircle class='c' cx='180' cy='260' r='5'/%3E%3Ccircle class='c' cx='380' cy='250' r='4'/%3E%3Ccircle class='c' cx='520' cy='280' r='5'/%3E%3Ccircle class='c' cx='120' cy='370' r='4'/%3E%3Ccircle class='c' cx='350' cy='370' r='5'/%3E%3Cpath class='f' d='M104 70q12-18 8-35'/%3E%3Cpath class='f' d='M236 50q10 15 5 30'/%3E%3Cpath class='f' d='M413 76q-8-20-3-38'/%3E%3Cpath class='f' d='M545 55q8 12 15 25'/%3E%3Cpath class='f' d='M160 175q15-10 20-28'/%3E%3Cpath class='f' d='M357 160q10 12 6 28'/%3E%3Cpath class='f' d='M508 183q-12-15-8-32'/%3E%3Cpath class='f' d='M84 300q-10 14-6 30'/%3E%3Cpath class='f' d='M273 315q12-12 18-28'/%3E%3Cpath class='f' d='M453 305q-15 10-12 28'/%3E%3Cpath class='r' cx='0' cy='0' rx='0' ry='0' style='stroke-width:0.6' d='M58 148q-15 8-28 4'/%3E%3Cpath class='f' d='M472 125q18-5 25 8s-5 18-15 12'/%3E%3Cpath class='f' d='M312 85q-12 12-20 8s-4-14 8-16'/%3E%3C/svg%3E");
  background-size: 600px 400px;
  opacity: 0.7;
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-header .subtitle {
  margin-top: 8px;
  font-size: 16px;
  color: var(--green-200);
  max-width: 600px;
}

/* ---- Section Titles ---- */

.section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-300);
  display: inline-block;
}

/* ---- Highlight Cards (Home) ---- */

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 24px;
}

.highlight-card {
  display: block;
  padding: 48px 40px;
  background: white;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition);
  text-decoration: none;
  color: inherit;
}

.highlight-card:hover {
  border-color: var(--gray-400);
  color: inherit;
}

.highlight-card h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--gray-900);
}

.highlight-card p {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.highlights-section {
  padding: 64px 0;
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
}

.card-link:hover { color: var(--color-primary-dark); }

/* ---- Recent News (Home) ---- */

.recent-news-list { max-width: 900px; }

.recent-news-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.recent-news-item:last-child { border-bottom: none; }

.recent-news-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.recent-news-text {
  font-size: 16px;
  color: var(--gray-700);
  margin-top: 4px;
  line-height: 1.5;
}

/* ---- Prose (About) ---- */

.prose {
  max-width: 840px;
  font-size: 17px;
  line-height: 1.85;
}

.prose p + p { margin-top: 24px; }

.lead {
  font-size: 20px;
  line-height: 1.7;
  color: var(--gray-700);
  font-weight: 400;
}

/* ---- People ---- */

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.person-card {
  background: white;
  border: 1px solid var(--color-border);
  padding: 28px;
  transition: border-color var(--transition);
}

.person-card:hover { border-color: var(--color-border); }

.person-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.person-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}

.person-card:nth-child(4n+2) .person-avatar { background: var(--green-600); }
.person-card:nth-child(4n+3) .person-avatar { background: var(--green-800); }
.person-card:nth-child(4n+4) .person-avatar { background: var(--green-900); }

.person-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.3;
}

.person-role {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 2px;
}

.person-email {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.person-email a { color: var(--color-text-muted); }
.person-email a:hover { color: var(--color-primary); }

.former-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.former-card {
  padding: 20px 24px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: all var(--transition);
}

.former-card:hover { border-color: var(--color-primary); }

.former-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.former-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ---- Publications ---- */

.pub-year {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-100);
}

.pub-year:first-of-type { margin-top: 0; }

.pub-entry {
  padding: 16px 0 16px 20px;
  border-left: 3px solid var(--green-100);
  margin-bottom: 12px;
  transition: border-color var(--transition);
}

.pub-entry:hover { border-left-color: var(--color-primary); }

.pub-authors {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 2px;
}

.pub-authors strong { color: var(--gray-800); font-weight: 600; }

.pub-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
  line-height: 1.4;
}

.pub-journal {
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: italic;
}

.pub-links {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pub-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  padding: 3px 10px;
  background: var(--gray-50);
  border: 1px solid var(--color-border);
  transition: background var(--transition);
}

.pub-links a:hover { background: var(--gray-100); }

.pub-note {
  margin-top: 48px;
  padding: 16px 24px;
  background: var(--gray-50);
  border: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---- News ---- */

.news-year-header {
  font-size: 22px;
  font-weight: 700;
  color: var(--green-800);
  margin-top: 48px;
  margin-bottom: 0;
  padding: 12px 0;
  border-bottom: 2px solid var(--green-200);
}

.news-year-header:first-of-type { margin-top: 0; }

.news-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.news-item:last-child { border-bottom: none; }

.news-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.news-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
}

.news-text a { text-decoration: underline; text-underline-offset: 2px; }

.news-item.hidden { display: none; }

.load-more-container {
  text-align: center;
  margin-top: 40px;
}

#load-more-btn {
  padding: 13px 36px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

#load-more-btn:hover { background: var(--color-primary-dark); }

/* ---- Laboratory ---- */

.lab-section { margin-bottom: 48px; }

.lab-section:last-child { margin-bottom: 0; }

.lab-section h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.lab-section p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.lab-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.lab-stat {
  text-align: center;
  padding: 24px 16px;
  background: white;
  border: 1px solid var(--color-border);
}

.lab-stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.lab-stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.capability-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--color-border);
}

.capability-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.capability-card ul {
  list-style: disc;
  padding-left: 20px;
}

.capability-card li {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 8px;
  line-height: 1.5;
}

.shared-resources { margin-top: 40px; }

.shared-resources h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.resource-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.resource-link {
  display: inline-block;
  padding: 10px 18px;
  background: var(--gray-50);
  border: 1px solid var(--color-border);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  transition: all var(--transition);
}

.resource-link:hover {
  background: var(--gray-100);
  color: var(--color-primary-dark);
}

/* ---- Research ---- */

.research-intro {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.75;
  color: var(--color-text);
  max-width: 900px;
  margin-bottom: 48px;
}


/* ---- Research Tabs ---- */

.research-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

.research-box {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 2px solid var(--color-border);
  background: white;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.research-box:hover {
  border-color: var(--gray-400);
  box-shadow: var(--shadow-sm);
}

.research-box.active {
  background: var(--green-950);
  border-color: var(--green-800);
  box-shadow: var(--shadow-md);
}

.research-box h2 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.research-box.active h2 {
  color: white;
}

.research-box p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  transition: color var(--transition);
}

.research-box.active p {
  color: var(--green-200);
}

.research-detail {
  display: none;
  margin-top: 36px;
  padding: 36px;
  border: 1px solid var(--color-border);
  background: white;
}

.research-detail.active {
  display: block;
}

.research-detail-description {
  max-width: 900px;
  margin-bottom: 32px;
}

.research-detail-description p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 16px;
}

.research-detail-description p:last-child {
  margin-bottom: 0;
}

.research-papers-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.research-papers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.research-paper {
  display: flex;
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--color-border);
  background: var(--gray-50);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), background var(--transition);
}

.research-paper:hover {
  border-color: var(--gray-400);
  background: white;
  color: inherit;
}

.research-paper-fig {
  width: 220px;
  height: 160px;
  object-fit: cover;
  object-position: top left;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  background: white;
}

.research-paper-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.research-paper-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 8px;
}

.research-paper-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 8px;
}

.research-paper-cite {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .research-boxes { grid-template-columns: 1fr; }
  .research-detail { padding: 24px 20px; margin-top: 24px; }
  .research-paper { flex-direction: column; gap: 12px; }
  .research-paper-fig { width: 100%; height: auto; max-height: 200px; }
  .research-box h2 { font-size: 16px; }
}

/* ---- Contact ---- */

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

.contact-card {
  padding: 36px;
  background: white;
  border: 1px solid var(--color-border);
}

.contact-card-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.contact-card h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.contact-card p {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.contact-card a { color: var(--color-primary); }

.address-section {
  margin-top: 48px;
  padding: 36px;
  background: var(--gray-50);
  border: 1px solid var(--color-border);
}

.address-section h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.address-section p {
  font-size: 16px;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.address-section a { color: var(--color-primary); }

/* ---- Footer ---- */

.footer {
  background: var(--green-950);
  color: white;
  padding: 64px 0 0;
}

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

.footer h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-300);
  margin-bottom: 16px;
}

.footer p {
  font-size: 14px;
  color: var(--green-200);
  line-height: 1.8;
  margin-bottom: 2px;
}

.footer a { color: var(--green-200); transition: color var(--transition); }
.footer a:hover { color: white; }

.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--green-400);
}

/* ---- People Photos ---- */

.person-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 16px;
}

.person-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--gray-100);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 600;
  color: var(--color-primary);
}

.person-card > h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 6px;
}

.person-bio {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-600);
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}

.person-bio.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.person-bio-toggle {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
}

.person-bio-toggle:hover {
  color: var(--color-primary-dark);
}

/* ---- About Layout ---- */

.about-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.about-image-col {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.about-image {
  width: 100%;
}

/* ---- Lab Photo ---- */

.lab-photo {
  width: 100%;
  margin-bottom: 12px;
}

.lab-photo-caption {
  font-size: 14px;
  font-style: italic;
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .people-grid { grid-template-columns: repeat(3, 1fr); }
  .highlights { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr 1fr; }
  .lab-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-right {
    display: contents;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 8px 24px 16px;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: none;
  }

  .hero-sidecar { grid-template-columns: 1fr; }
  .hero-text { padding: 48px 24px 40px; }
  .slide-caption {
    position: relative;
    width: 100%;
    padding: 24px;
  }
  .hero-dots { left: 50%; }
  .section { padding: 56px 0; }

  .highlights { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .former-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .lab-stats { grid-template-columns: 1fr 1fr; }

  .about-layout { grid-template-columns: 1fr; }
  .about-image-col { position: static; max-width: 200px; margin: 0 auto; }
  .page-header { padding: 48px 0; }

}

@media (max-width: 480px) {
  .lab-stats { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
