
:root {
  --ink: #17201b;
  --muted: #627068;
  --paper: #fbfcfa;
  --surface: #ffffff;
  --line: #d8e0da;
  --green: #1f6f50;
  --blue: #315f9f;
  --amber: #b86b24;
  --rose: #a94a53;
  --soft-green: #e8f3ed;
  --soft-blue: #edf2fb;
  --soft-amber: #fff4e2;
  --soft-rose: #f9ecec;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
}
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 34px;
  border-bottom: 1px solid rgba(216, 224, 218, .88);
  background: rgba(251, 252, 250, .94);
  backdrop-filter: blur(12px);
}
.brand {
  color: var(--ink);
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
  letter-spacing: 0;
}
.brand span { color: var(--green); }
.nav-links { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: #2f3d36;
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 14px;
}
.nav-links a.active, .nav-links a:hover { background: #edf3ef; color: var(--green); }
.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 72px 44px 86px;
  background: #f7fbf8;
  border-bottom: 1px solid var(--line);
}
.hero-content { max-width: 760px; }
.home-main {
  max-width: 960px;
  min-height: calc(100vh - 190px);
  margin: 0 auto;
  padding: 72px 34px 82px;
}
.home-identity {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 4px 0 34px;
  text-align: center;
}
.home-identity img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #efe3cf;
}
.home-identity h1 {
  font-size: 68px;
  font-weight: 850;
  color: #26322d;
}
.home-copy-panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}
.home-copy-panel p {
  margin: 0 0 20px;
  color: #34433b;
  font-size: 20px;
}
.home-copy-panel p:last-child { margin-bottom: 0; }
.home-announcement {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f8f5;
}
.home-announcement p:not(.eyebrow) {
  margin: 0;
  color: #34433b;
  font-size: 18px;
}
.home-announcement a {
  margin-left: 4px;
  font-weight: 750;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3 { letter-spacing: 0; line-height: 1.16; }
h1 { margin: 0; font-size: 58px; }
h2 { margin: 0; font-size: 30px; }
h3 { margin: 0; font-size: 19px; }
.hero-copy {
  max-width: 660px;
  margin: 18px 0 0;
  color: #34433b;
  font-size: 20px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.button.primary { background: var(--green); color: white; }
.button.secondary { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.7); }
main, .page-main { max-width: 1200px; margin: 0 auto; padding: 34px 34px 64px; }
.page-heading { padding: 30px 0 18px; }
.page-heading h1 { max-width: 920px; font-size: 42px; }
.page-heading p:not(.eyebrow) { max-width: 820px; color: var(--muted); font-size: 18px; }
.section { margin-top: 42px; }
.section-heading { margin-bottom: 18px; }
.section-heading.inline { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.section-count { color: var(--muted); font-size: 14px; white-space: nowrap; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.metric-card, .work-card, .publication-card, .pillar-grid article, .process-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.metric-card { padding: 16px; }
.metric-card span, .metric-card small { color: var(--muted); display: block; }
.metric-card strong { display: block; margin: 8px 0 2px; font-size: 34px; line-height: 1; }
.metric-card.online { background: var(--soft-green); }
.metric-card.submitted { background: var(--soft-blue); }
.metric-card.active { background: var(--soft-amber); }
.metric-card.terminated { background: var(--soft-rose); }
.split-band {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) 1.25fr;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pillar-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pillar-grid article, .process-list article { padding: 17px; }
.pillar-grid strong, .process-list strong { color: var(--green); font-size: 20px; }
.pillar-grid p, .process-list p, .work-card p, .publication-card p { margin: 8px 0 0; color: #405049; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.publication-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 940px;
}
.publication-list.compact { grid-template-columns: 1fr; }
.work-card, .publication-card { padding: 18px; }
.card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}
.id-badge, .status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}
.id-badge { color: #17352c; background: #dcebe3; }
.status-badge.online { background: var(--soft-green); color: var(--green); }
.status-badge.submitted { background: var(--soft-blue); color: var(--blue); }
.status-badge.active { background: var(--soft-amber); color: var(--amber); }
.status-badge.terminated { background: var(--soft-rose); color: var(--rose); }
.status-badge.legacy { background: #eef0ed; color: #59635d; }
.publication-authors {
  color: #46564f;
  font-size: 14px;
}
.publication-journal {
  color: var(--green);
  font-weight: 700;
}
.publication-abstract {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.publication-abstract strong {
  display: block;
  color: #2e3b35;
  font-size: 14px;
  margin-bottom: 4px;
}
.publication-abstract p {
  margin: 0;
  color: #405049;
  font-size: 14px;
}
.publication-link {
  overflow-wrap: anywhere;
  font-size: 14px;
}
.work-card small, .publication-card small, td small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-strip div { padding: 22px 8px; }
.stats-strip strong { display: block; font-size: 38px; }
.stats-strip span { color: var(--muted); }
.text-link { font-weight: 750; white-space: nowrap; }
.filter-bar {
  display: grid;
  grid-template-columns: 180px minmax(240px, 1fr);
  gap: 12px;
  align-items: center;
  margin: 16px 0 20px;
}
.filter-bar label { color: var(--muted); font-weight: 700; }
input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 42px;
  padding: 9px 12px;
  font: inherit;
  background: white;
}
.archive-section { margin-top: 62px; padding-top: 28px; border-top: 2px solid var(--line); }
.archive-note { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: white; }
table { width: 100%; border-collapse: collapse; min-width: 900px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; }
th { color: #2e3b35; background: #edf3ef; }
tr:last-child td { border-bottom: 0; }
.status-controls { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.status-controls button {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 34px;
  padding: 6px 10px;
  background: white;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.status-controls button.active { background: var(--green); color: white; border-color: var(--green); }
.name-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}
.name-cloud li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px 12px;
  font-weight: 700;
}
.process-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.large-copy { font-size: 18px; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
  border-top: 1px solid var(--line);
  background: #f0f4f1;
}
.site-footer p { margin: 6px 0 0; color: var(--muted); }
.footer-links { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
[hidden] { display: none !important; }
@media (max-width: 980px) {
  .metric-grid, .work-grid, .pillar-grid, .stats-strip, .name-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .publication-list.compact, .split-band { grid-template-columns: 1fr; }
  h1, .page-heading h1 { font-size: 38px; }
}
@media (max-width: 680px) {
  .site-nav { align-items: flex-start; padding: 12px 16px; }
  .nav-links { justify-content: flex-start; }
  .hero { min-height: 460px; padding: 48px 18px 62px; }
  main, .page-main { padding: 24px 16px 48px; }
  .home-main { padding: 42px 18px 54px; }
  .home-identity { padding-bottom: 24px; }
  .home-identity img { width: 82px; height: 82px; }
  .home-identity h1 { font-size: 42px; }
  .home-copy-panel p { font-size: 17px; }
  .home-announcement { padding: 18px; }
  .home-announcement p:not(.eyebrow) { font-size: 16px; }
  h1, .page-heading h1 { font-size: 32px; }
  .hero-copy, .page-heading p:not(.eyebrow) { font-size: 16px; }
  .metric-grid, .work-grid, .pillar-grid, .stats-strip, .name-cloud { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .section-heading.inline, .site-footer { display: block; }
  .status-controls { justify-content: flex-start; margin-top: 14px; }
}
