@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo-400-normal.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo-700-normal.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo-400-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --background: #F6ECE7;
  --ink: #000000;
  --muted: #000000;
  --paper: rgba(0, 0, 0, .07);
  --rule: rgba(0, 0, 0, .35);
  --accent: #000000;
  --hover: rgba(0, 0, 0, .14);
  --serif: "Cardo", "Times New Roman", Times, serif;
  --wordmark-font: Arial, Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.page { max-width: 1120px; margin: 0 auto; padding: 64px 40px 0; }
a { color: inherit; text-decoration-thickness: 1px; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 5; transform: translateY(-200%); padding: 8px 12px; background: var(--background); }
.skip:focus { transform: none; }
.masthead { text-align: center; margin-bottom: 64px; }
.wordmark {
  display: block;
  width: fit-content;
  margin: 0 auto 38px;
  font-family: var(--wordmark-font);
  font-size: clamp(76px, 12vw, 112px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.9;
  text-decoration: none;
}
.site-title {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.affiliation { margin: 0; color: var(--muted); font-size: 17px; }
.site-frame { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 64px; align-items: start; min-height: 380px; }
.sidebar { position: sticky; top: 28px; max-height: calc(100vh - 56px); overflow-y: auto; padding: 4px; margin: -4px; }
.section-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.section-nav a {
  display: block;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}
.section-nav a:hover { background: var(--paper); color: var(--ink); }
.section-nav a[aria-current="page"] { background: var(--paper); color: var(--accent); border-color: var(--rule); box-shadow: inset 3px 0 var(--accent); }
.section-nav a.is-section-active { background: var(--paper); color: var(--accent); }
.section-nav .research-subnav { margin: 10px 0 12px 12px; padding: 0 0 0 10px; border-left: 1px solid var(--rule); gap: 2px; }
.research-subnav a { padding: 8px; font-size: 11px; line-height: 1.5; }
.research-back { margin: 0 0 20px; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.research-diagram { margin: 32px 0 24px; }
.diagram-help { margin: 0 0 12px; color: var(--muted); font-size: 16px; }
.research-map { display: block; width: 100%; height: auto; }
.research-map image { pointer-events: none; }
.diagram-target { fill: transparent; stroke: transparent; stroke-width: 3px; pointer-events: all; cursor: pointer; }
.research-map a:hover .diagram-target, .research-map a:focus .diagram-target { fill: rgb(0 0 0 / 8%); stroke: var(--accent); }
.research-map a:focus { outline: none; }
.research-diagram figcaption { margin-top: 20px; color: var(--muted); font-size: 16px; font-style: italic; text-align: center; }
main { min-width: 0; }
.article { max-width: 760px; }
h1, h2, h3 { font-family: var(--serif); }
.article > h1 { margin: 0 0 30px; font-size: 36px; font-weight: 400; line-height: 1.2; letter-spacing: -0.025em; }
.article > h2 { margin: 36px 0 15px; font-size: 23px; font-weight: 700; line-height: 1.4; }
.article > h1 + h2 { margin-top: 0; }
h3 { font-size: 21px; margin: 30px 0 15px; }
p { margin: 0 0 24px; }
.article > p { text-align: left; }
strong { font-weight: 700; }
blockquote { margin: 24px 0 36px; padding: 4px 0 4px 26px; border: 0; border-left: 3px solid var(--accent); font-size: 30px; font-style: italic; line-height: 1.35; text-align: left; }
blockquote p { margin: 0; }
img { display: block; width: 100%; max-width: 760px; height: auto; margin: 32px auto 20px; }
table { width: 100%; margin: 0 0 34px; border-collapse: collapse; font-size: 18px; }
th:has(> .visually-hidden) { padding: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
td { padding: 13px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; text-align: left; }
td:first-child { width: 42%; padding-right: 20px; }
td + td { color: var(--muted); font-size: 17px; }
td a { display: inline-block; border-radius: 6px; background: var(--paper); padding: 6px 10px; color: var(--ink); font: 400 16px/1.5 var(--wordmark-font); text-decoration: none; }
td a:hover { background: var(--hover); color: var(--ink); }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: 72px; padding: 24px 0 36px; border-top: 1px solid var(--rule); color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.theme-toggle { padding: 5px 9px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); color: var(--muted); font: 11px/1.3 system-ui, sans-serif; cursor: pointer; }
.theme-toggle:hover { background: var(--hover); color: var(--ink); border-color: var(--accent); }
@media (max-width: 820px) {
  .site-frame { grid-template-columns: minmax(0, 1fr); gap: 32px; min-height: 300px; }
  .sidebar { position: static; max-height: none; overflow: visible; margin: 0; padding: 0 0 24px; border-bottom: 1px solid var(--rule); }
  .section-nav > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .nav-item--research { display: contents; }
  .section-nav .research-subnav { grid-column: 1 / -1; order: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 12px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--rule); gap: 4px 8px; }
  .section-nav a { text-align: center; padding: 10px 6px; }
  .research-subnav a { text-align: left; }
  .section-nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--accent); }
  .masthead { margin-bottom: 36px; }
}
@media (max-width: 600px) {
  body { font-size: 18px; }
  .page { padding: 40px 22px 0; }
  .wordmark { margin-bottom: 30px; }
  .site-title { font-size: 34px; line-height: 1.1; }
  .affiliation { font-size: 15px; }
  .section-nav a { font-size: 12px; }
  .article > h1 { font-size: 30px; margin-bottom: 24px; }
  .article > h2 { font-size: 21px; }
  blockquote { padding: 2px 0 2px 20px; margin-bottom: 28px; font-size: 26px; }
  td { padding: 12px 0; }
  td:first-child { width: 48%; padding-right: 12px; }
  td + td { font-size: 16px; }
  td a { font-size: 15px; padding: 6px; }
  .site-footer { margin-top: 52px; }
}
@media (max-width: 380px) {
  td:first-child { width: 49%; }
  .section-nav a { font-size: 11px; }
}
@media print {
  body { font-size: 11pt; background: #fff; }
  .page { max-width: none; padding: 0; }
  .site-frame { display: block; min-height: 0; }
  .sidebar, .skip, .theme-toggle { display: none; }
  .masthead { margin-bottom: 28px; }
  .wordmark { font-size: 48pt; margin-bottom: 20px; }
  .site-title { font-size: 24pt; }
  .article > h1 { font-size: 20pt; }
  h1, h2, h3 { break-after: avoid; }
  blockquote, table, img, .research-diagram { break-inside: avoid; }
  .diagram-help { display: none; }
  .site-footer { margin-top: 28px; }
  .site-footer a[href="#top"] { display: none; }
}
