:root {
  --ink: #17202a;
  --muted: #5b6673;
  --line: #dfe5eb;
  --blue: #1f5d8f;
  --blue-dark: #153f61;
  --wash: #f4f7fa;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--blue-dark); }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
}

.hero {
  padding-block: clamp(76px, 11vw, 130px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 500;
}

.lede {
  max-width: 820px;
  margin: 0;
  color: #3f4b57;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.55;
}

.research {
  padding-block: 72px 92px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-weight: 500;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

.paper-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.paper-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--wash);
}

.paper-card h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 500;
}

.paper-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.paper-card h3 a:hover {
  color: var(--blue);
}

.paper-meta {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.authors {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.paper-card > p:not(.paper-meta, .authors) {
  margin-top: 0;
  color: #3f4b57;
}

.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.92rem;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-block: 30px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer p { margin: 0; }

@media (max-width: 760px) {
  .nav, .footer {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
  }

  .section-heading, .paper-grid {
    grid-template-columns: 1fr;
  }

  .section-heading { gap: 16px; }
}
