:root {
  --ink: #182434;
  --muted: #617084;
  --accent: #245a9a;
  --border: #dde4ec;
  --wash: #f4f7fb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible,
video:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
.project-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}
.project-nav nav {
  max-width: 1160px;
  margin: auto;
  padding: 17px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  font-weight: 550;
}
.project-nav a {
  color: var(--muted);
  white-space: nowrap;
}
.section-links {
  display: flex;
  gap: 26px;
  overflow-x: auto;
}
.project-hero {
  max-width: 1050px;
  margin: 0 auto;
  padding: 76px 28px 62px;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 19px;
}
h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin: 0 0 22px;
  font-weight: 750;
}
h1 span {
  color: var(--accent);
}
.project-subtitle {
  font-size: clamp(23px, 3.1vw, 35px);
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 0 auto 32px;
  font-weight: 450;
}
.project-authors {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.95;
}
.project-authors p {
  margin: 0;
  text-wrap: balance;
}
.project-authors a {
  color: var(--ink);
  white-space: nowrap;
}
.contributions {
  color: var(--muted);
  font-size: 12px;
  margin: 14px 0 28px;
}
.resource-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.resource-links a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 20px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.resource-links a:hover {
  background: var(--wash);
  text-decoration: none;
}
.resource-links .primary {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.resource-links .primary:hover {
  background: var(--accent);
}
.project-overview {
  max-width: 846px;
  margin: auto;
  padding: 38px 28px 66px;
  text-align: center;
}
h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 650;
}
.project-overview h2 {
  margin: 0 0 22px;
}
.lead {
  width: calc(100% + 32px);
  max-width: 822px;
  margin: 0 -16px 36px;
  text-wrap: pretty;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}
figure {
  margin: 36px 0;
}
video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  background: var(--wash);
  border: 1px solid var(--border);
  border-radius: 10px;
}
figcaption {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 13px;
  text-align: center;
}
.mechanisms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  gap: 40px;
  padding: 24px 0 38px;
}
.mechanisms > div {
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.mechanism-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.mechanisms h3 {
  font-size: 21px;
  line-height: 1.3;
  margin: 9px 0;
  letter-spacing: -0.025em;
}
.mechanisms p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}
.project-content {
  max-width: 846px;
  margin: 0 auto;
  padding: 0 28px;
}
.project-content > p,
.project-content > ul,
.project-content > ol,
.project-content > h3,
.project-content > h2,
.project-content > div.highlighter-rouge {
  max-width: 790px;
  margin-left: auto;
  margin-right: auto;
}
.project-content > h2 {
  border-top: 1px solid var(--border);
  padding-top: 52px;
  margin-top: 58px;
  margin-bottom: 24px;
}
.project-content > h3 {
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-top: 36px;
  margin-bottom: 16px;
}
.project-content p {
  margin-top: 0;
  margin-bottom: 22px;
}
.project-content li {
  margin-bottom: 9px;
}
.project-content li p {
  margin-bottom: 10px;
}
.project-content figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0;
}
/* Hide the thin gray frame baked into this screenshot. */
.project-content img[src$="curator-task-diagnoses.png"] {
  clip-path: inset(2px);
}
.project-content figure {
  margin: 36px 0;
}
.table-responsive {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
}
table {
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.5;
  width: 100%;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
th {
  background: var(--wash);
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}
th,
td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--border);
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  color: var(--accent);
}
pre {
  overflow-x: auto;
  padding: 24px;
  background: var(--wash);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
p code {
  font-size: 0.88em;
  background: var(--wash);
  padding: 2px 4px;
}
.citation {
  max-width: 846px;
  margin: 70px auto;
  padding: 40px 28px 0;
  border-top: 1px solid var(--border);
}
.citation h2 {
  margin: 0 0 24px;
}
.project-footer {
  max-width: 1044px;
  margin: 0 auto;
  padding: 24px 28px 36px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 26px;
  font-size: 13px;
}
.project-footer a:first-child {
  margin-right: auto;
  font-weight: 650;
}
@media (max-width: 650px) {
  body {
    font-size: 16px;
  }
  .project-nav nav {
    gap: 16px;
    padding: 14px 18px;
  }
  .section-links {
    gap: 18px;
  }
  .home-link {
    display: none;
  }
  .project-hero {
    padding: 48px 22px 36px;
  }
  .project-authors {
    font-size: 14px;
    line-height: 1.9;
  }
  .project-overview {
    padding: 28px 20px 25px;
  }
  .lead {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    font-size: 17px;
  }
  .mechanisms {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-content {
    padding: 0 20px;
  }
  .project-content > h2 {
    padding-top: 36px;
    margin-top: 40px;
  }
  .project-content > h3 {
    font-size: 22px;
  }
  th,
  td {
    min-width: 90px;
    padding: 10px;
  }
  th:first-child,
  td:first-child {
    min-width: 150px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
