/* Shared layout for the smaller project pages (Patterns of Life, geopolitics,
   interval statistics). Builds on site.css tokens; TRACE and TRIBE keep their
   own bespoke pages. */

.project-hero { padding-block: clamp(44px, 6vw, 76px) clamp(20px, 3vw, 32px); }
.project-years {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px; font-variant-numeric: tabular-nums;
}
.project-hero h1 { max-width: 24ch; margin-bottom: 18px; }
.project-hero .lede { max-width: 52ch; margin-bottom: 26px; }

.project-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.project-actions .button { border-radius: 999px; }

.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0; margin-top: 34px; border-top: 1px solid var(--rule);
}
.facts div { padding: 16px 24px 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 6px;
}
.facts dd { font-size: 15px; color: var(--ink-body); line-height: 1.5; margin: 0; }

.project-body h2 {
  font-size: clamp(21px, 2.1vw, 26px); font-weight: 600; color: var(--ink);
  letter-spacing: -0.028em; line-height: 1.25; margin: 0 0 16px;
}
.project-body h3 {
  font-size: 17px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.018em; margin: 28px 0 10px;
}
.project-body p { max-width: 66ch; margin: 0 0 16px; line-height: 1.7; color: var(--ink-body); }
.project-body ul { max-width: 66ch; margin: 0 0 16px; padding-left: 20px; }
.project-body li { margin-bottom: 10px; line-height: 1.65; color: var(--ink-body); }

.results { width: 100%; max-width: 760px; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; }
.results th, .results td {
  text-align: left; vertical-align: top; padding: 12px 18px 12px 0;
  border-bottom: 1px solid var(--rule); line-height: 1.5;
}
.results th {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.results td:first-child { font-weight: 600; color: var(--ink); }
.results .mono { font-variant-numeric: tabular-nums; white-space: nowrap; }

.project-body .paper-list { list-style: none; padding: 0; margin: 0; max-width: 72ch; }
.paper-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.paper-list li:first-child { border-top: 1px solid var(--rule); }
.paper-list b { color: var(--ink); font-weight: 600; }
.paper-list a { margin-right: 14px; font-size: 14.5px; }
.paper-list .meta { display: block; font-size: 14.5px; color: var(--ink-soft); margin: 3px 0 4px; }

.back { display: inline-block; margin-top: 8px; font-size: 15px; }

@media (max-width: 560px) {
  .results th:nth-child(3), .results td:nth-child(3) { display: none; }
}
