:root {
  color-scheme: light;
  --content-width: 70rem;
  --gutter: clamp(1.1rem, 4vw, 3.25rem);
  --reading-width: 69ch;
  --entry-space: clamp(1.05rem, 2.7vw, 1.65rem);
  --canvas: #fbfaf6;
  --paper: #fffefa;
  --ink: #202c27;
  --muted: #526058;
  --green: #20584a;
  --green-dark: #153c32;
  --green-soft: #eaf1ea;
  --rule: #d9dfd6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1.2rem; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
}

h1, h2, h3, p { margin: 0; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--content-width)); margin-inline: auto; }
.arrow { white-space: nowrap; }
.prose { max-width: var(--reading-width); }

.skip-link {
  position: absolute;
  z-index: 2;
  top: .7rem;
  left: var(--gutter);
  padding: .45rem .8rem;
  background: var(--paper);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .9rem 1.6rem;
  min-height: 4.6rem;
  padding-block: .8rem;
}

.wordmark {
  color: var(--ink);
  font: 600 1.14rem/1.2 var(--serif);
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem clamp(.95rem, 2.4vw, 1.65rem);
}

.site-nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.kicker {
  color: var(--green);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
  align-items: center;
  gap: 2.2rem clamp(2rem, 7vw, 5.75rem);
  padding-block: clamp(3rem, 8vw, 6.25rem) clamp(2.8rem, 6vw, 4.6rem);
}

h1, h2, .paper-title { font-family: var(--serif); }
h1 {
  margin-top: .6rem;
  font-size: clamp(2.75rem, 6.1vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.lead {
  max-width: 56ch;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.15rem; margin-top: 1.6rem; }
.hero-links a { font-size: .92rem; font-weight: 650; }
.primary-link { padding: .62rem .95rem; border-radius: .25rem; color: #fffefa; background: var(--green); text-decoration: none; }
.primary-link:hover { color: #fffefa; background: var(--green-dark); }

.contact-card {
  padding: 1.25rem 1.35rem 1.35rem;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--green);
  border-radius: 0 0 .35rem .35rem;
  background: var(--paper);
}

.contact-card h2 { margin-bottom: .55rem; font-size: 1.3rem; }
.contact-card address { color: var(--muted); font-size: .91rem; font-style: normal; }
.contact-card a { display: inline-block; margin-top: .65rem; font-size: .88rem; overflow-wrap: anywhere; }

.home-section { border-top: 1px solid var(--rule); padding-block: 1.75rem 2.35rem; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 500; line-height: 1.15; letter-spacing: -.026em; }
.section-heading > a { font-size: .9rem; font-weight: 650; }
.selected-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.selected-paper { padding: 1.1rem 1.25rem 1.2rem; border: 1px solid var(--rule); border-radius: .35rem; background: var(--paper); }
.selected-paper .kicker { font-size: .7rem; }
.selected-paper h3 { margin-top: .4rem; font: 600 1.23rem/1.35 var(--serif); }
.selected-paper h3 a { color: var(--ink); text-decoration-color: var(--rule); }
.selected-paper h3 a:hover { text-decoration-color: var(--green); }
.selected-paper p:last-child { margin-top: .55rem; color: var(--muted); font-size: .93rem; }
.background p { color: var(--muted); }
.background p + p { margin-top: .6rem; }

.research-intro { padding-block: clamp(2.7rem, 7vw, 5rem) 2.4rem; }
.research-intro .lead { max-width: 62ch; }
.jump-links { display: flex; flex-wrap: wrap; gap: .45rem 1.35rem; margin-top: 1.3rem; }
.jump-links a { font-size: .92rem; font-weight: 650; }
.paper-group { margin-bottom: 2.6rem; }
.paper-group > h2 { margin-bottom: .75rem; }
.paper {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: .2rem 1rem;
  padding: var(--entry-space) .75rem;
  border-top: 1px solid var(--rule);
}

.paper:first-of-type { margin-top: 1rem; }
.paper:last-of-type { border-bottom: 1px solid var(--rule); }
.paper.featured { border-top-color: #bdcec1; background: var(--green-soft); }
.paper-number { padding-top: .16rem; color: var(--green); font-size: .76rem; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.paper-title { max-width: 65ch; font-size: clamp(1.16rem, 2.5vw, 1.42rem); font-weight: 600; line-height: 1.35; letter-spacing: -.012em; }
.paper-meta, .paper-copy { max-width: var(--reading-width); margin-top: .48rem; }
.paper-meta { color: var(--muted); font-size: .87rem; }
.paper-meta a { font-weight: 640; }
.paper-copy { font-size: .96rem; }

.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; padding-block: 1rem 1.35rem; color: var(--muted); font-size: .84rem; }
.footer-inner a { overflow-wrap: anywhere; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .contact-card { width: min(100%, 28rem); }
}

@media (max-width: 500px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .selected-grid { grid-template-columns: 1fr; }
  .paper { grid-template-columns: 1.3rem minmax(0, 1fr); gap: .2rem .5rem; padding-inline: .4rem; }
}
