:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f7;
  --text: #182230;
  --muted: #5b6776;
  --navy: #081f3a;
  --blue: #0f4c81;
  --teal: #1f6f68;
  --gold: #b6862c;
  --border: #dce4ec;
  --shadow: 0 18px 50px rgba(8, 31, 58, 0.12);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 104, 0.16), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 28rem);
  line-height: 1.55;
}
a { color: var(--blue); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--teal); }
.skip-link { position: absolute; top: -40px; left: 1rem; padding: 0.5rem 0.75rem; background: var(--navy); color: white; z-index: 100; border-radius: 0 0 0.5rem 0.5rem; }
.skip-link:focus { top: 0; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(220, 228, 236, 0.85); }
.nav, .hero, .section, .footer { max-width: 1120px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--navy); font-weight: 800; text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--navy); color: white; font-size: 0.86rem; }
.nav-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 650; font-size: 0.94rem; }
.nav-links a:hover { color: var(--navy); }
.hero { padding-top: 5rem; padding-bottom: 4.25rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: center; }
.eyebrow { color: var(--teal); font-weight: 800; text-transform: uppercase; letter-spacing: 0.11em; font-size: 0.78rem; margin: 0 0 0.75rem; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; }
h1 { font-size: clamp(3rem, 8vw, 5.6rem); letter-spacing: -0.07em; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.045em; margin: 0 0 1rem; }
h3 { margin: 0 0 0.5rem; letter-spacing: -0.02em; }
.title { margin: 1rem 0 0; font-size: 1.2rem; color: var(--muted); max-width: 760px; }
.lead { font-size: clamp(1.18rem, 2vw, 1.45rem); max-width: 820px; color: #2a3647; margin: 1.5rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0.65rem 1rem; border-radius: 999px; border: 1px solid var(--border); background: white; color: var(--navy); font-weight: 750; text-decoration: none; box-shadow: 0 4px 14px rgba(8, 31, 58, 0.08); }
.button:hover { color: var(--navy); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(8, 31, 58, 0.12); }
.button.primary { background: var(--navy); border-color: var(--navy); color: white; }
.lab-card { background: rgba(255, 255, 255, 0.9); border: 1px solid var(--border); border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow); padding: 1.35rem; }
.lab-logo { display: block; width: 100%; max-width: 230px; height: auto; margin: 0 auto 1.25rem; border-radius: 18px; border: 1px solid var(--border); background: white; padding: 0.8rem; }
.lab-card p { margin: 0 0 1rem; color: var(--muted); }
.lab-card strong { color: var(--navy); }
.section { padding-top: 3rem; padding-bottom: 3rem; }
.section-heading { max-width: 760px; margin-bottom: 1.5rem; }
.intro-section, .split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr); gap: 3rem; align-items: start; }
.intro-text { font-size: 1.1rem; color: #2a3647; }
.theme-grid, .people-grid, .publication-grid, .recognition-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.theme-card, .project-card, .publication, .people-card, .recognition-card, .callout, .service-list { background: rgba(255, 255, 255, 0.9); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(8, 31, 58, 0.06); }
.theme-card, .recognition-card, .people-card, .callout { padding: 1.2rem; }
.theme-card p, .people-card li, .people-card p, .project-card p, .publication p, .recognition-card p, .callout p, .service-list p { color: var(--muted); }
.project-list, .publication-list { display: grid; gap: 1rem; }
.project-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem; padding: 1.35rem; align-items: center; }
.project-card span { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }
.project-tag, .venue { display: inline-flex; width: fit-content; margin: 0 0 0.65rem; padding: 0.28rem 0.58rem; border-radius: 999px; background: #edf7f5; color: var(--teal); font-size: 0.78rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.07em; }
.project-card > a, .project-card span a { white-space: nowrap; font-weight: 800; }
.publication-list { margin-top: 1rem; }
.publication { padding: 1.25rem; }
.publication h3 { font-size: 1.08rem; }
.publication h3 a { color: var(--navy); text-decoration: none; }
.publication h3 a:hover { color: var(--teal); text-decoration: underline; }
.people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.people-card ul { margin-top: 0.5rem; margin-bottom: 0; padding-left: 1.15rem; }
.people-card li + li { margin-top: 0.5rem; }
.recognition-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.callout { border-left: 5px solid var(--gold); }
.service-list { padding: 1.35rem; }
.footer { padding-top: 2rem; padding-bottom: 3rem; color: var(--muted); border-top: 1px solid var(--border); margin-top: 3rem; }
.footer p { margin: 0.3rem 0; }
@media (max-width: 900px) {
  .hero-grid, .intro-section, .split { grid-template-columns: 1fr; }
  .lab-card { max-width: 440px; }
  .theme-grid, .recognition-grid, .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card { grid-template-columns: 1fr; }
  .project-card span { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .nav { align-items: flex-start; flex-direction: column; padding-top: 0.85rem; padding-bottom: 0.85rem; }
  .nav-links { gap: 0.75rem; }
  .hero { padding-top: 3rem; }
  .theme-grid, .recognition-grid, .people-grid { grid-template-columns: 1fr; }
  h1 { font-size: 3.1rem; }
}
