/* Oxford Research PSC pages: the site's navy and gold, serif headings, and a
   plain table of companies for each person. */
:root {
  --navy: #0E1B31; --navy-deep: #091324; --panel: #152742;
  --ink: #EEF2F7; --muted: rgba(238, 242, 247, 0.64); --faint: rgba(238, 242, 247, 0.42);
  --rule: rgba(238, 242, 247, 0.14); --wire: rgba(238, 242, 247, 0.40);
  --gold: #C9A04A; --gold-soft: #E2C47E;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--navy); color: var(--ink); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--gold-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.logo img { display: block; height: 40px; width: auto; }
.bar nav { display: flex; gap: 26px; }
.bar nav a { font-size: 14px; letter-spacing: 0.04em; color: var(--muted); }
.bar nav a:hover { color: var(--ink); text-decoration: none; }

.intro { padding-top: 34px; }
.eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
h1 { margin: 0 0 6px; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.1; overflow-wrap: anywhere; text-wrap: balance; }
.ident { margin: 0; color: var(--muted); }
.ident b { color: var(--ink); font-weight: 600; }
.lede { margin: 16px 0 0; max-width: 74ch; font-size: 16.5px; }
.src { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.src a { font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; margin: 22px 0 0; background: var(--rule); border: 1px solid var(--rule); }
.stats div { background: var(--navy); padding: 14px 16px; }
.stats dt { font-size: 12.5px; color: var(--muted); }
.stats dd { margin: 2px 0 0; font-family: var(--serif); font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stats dd.small { font-family: var(--sans); font-size: 15px; line-height: 1.4; padding-top: 6px; }

section.wrap { margin-top: 34px; }
h2 { margin: 0 0 10px; font-size: 22px; }
.tw { overflow-x: auto; border: 1px solid var(--rule); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th, td { text-align: left; vertical-align: top; padding: 8px 12px; border-bottom: 1px solid var(--rule); }
th { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--panel); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.co { min-width: 220px; font-weight: 600; }
td.id, td.dt { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
td .st { display: block; font-size: 12px; font-weight: 400; color: #E2A64C; }
td .nn { font-weight: 400; color: var(--muted); font-style: italic; }

.project { padding-bottom: 12px; }
.find { margin: 28px 0 0; max-width: 720px; }
.find label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.find input { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--panel); border: 1px solid var(--wire); border-radius: 10px; padding: 12px 14px; }
.find input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
#found { list-style: none; margin: 10px 0 0; padding: 0; }
#found li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; padding: 9px 2px; border-bottom: 1px solid var(--rule); }
#found li a { font-weight: 600; }
#found li span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
#found li.none { color: var(--muted); }
.method { margin-top: 40px; max-width: 78ch; }
.method h2 { margin: 0 0 8px; font-size: 22px; }
.method p { margin: 0; color: var(--muted); }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 48px; padding: 26px clamp(16px, 4vw, 48px); background: var(--navy-deep); font-size: 12.5px; color: var(--faint); }
.foot img { display: block; border-radius: 4px; }
.foot nav { display: flex; gap: 18px; margin-left: auto; }
.foot nav a { color: var(--muted); }
.foot nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .bar nav { display: none; } }
