:root {
  --ink: #17202a;
  --muted: #66707b;
  --paper: #f6f2e9;
  --white: #fffdf8;
  --line: #d9d2c3;
  --accent: #8b2f2f;
  --accent-dark: #632121;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(139,47,47,.055), transparent 34rem),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
}

a { color: inherit; }

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

.narrow { max-width: 780px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246,242,233,.88);
  border-bottom: 1px solid rgba(23,32,42,.10);
}

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

.brand {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: .04em;
}

nav { display: flex; gap: 28px; }

nav a {
  text-decoration: none;
  color: #3f4954;
  font-size: .92rem;
  font-weight: 650;
}

nav a:hover { color: var(--accent); }

.hero {
  padding: 110px 0 95px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 84px;
  align-items: end;
}

.eyebrow,
.section-label,
.paper-meta {
  margin: 0 0 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 800;
}

h1, h2, h3 {
  font-family: var(--serif);
  letter-spacing: -.025em;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 9vw, 7.3rem);
  line-height: .89;
  font-weight: 600;
}

.lede {
  max-width: 720px;
  margin: 34px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.72rem);
  line-height: 1.48;
  color: #38424d;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-block;
  padding: 12px 17px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 750;
  font-size: .92rem;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button.secondary:hover { background: rgba(23,32,42,.05); }

.pullquote {
  padding: 28px 0 3px 28px;
  border-left: 1px solid var(--accent);
}

.quote-mark {
  display: block;
  height: 42px;
  font-family: var(--serif);
  font-size: 4.8rem;
  line-height: .7;
  color: var(--accent);
}

.pullquote p {
  margin: 18px 0 24px;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.45;
}

.pullquote .rule {
  display: block;
  width: 64px;
  height: 1px;
  margin-bottom: 15px;
  background: var(--line);
}

.pullquote small { color: var(--muted); }

.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.section h2,
.closing h2 {
  margin: 0 0 24px;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 1.05;
  font-weight: 600;
}

.section p { font-size: 1.08rem; }

.publications h2 { margin-bottom: 48px; }

.paper {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 28px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.paper:last-child { border-bottom: 1px solid var(--line); }

.paper-number {
  font-family: var(--serif);
  font-size: 2.15rem;
  color: #9a9184;
}

.paper-body { max-width: 850px; }

.paper-meta { margin-bottom: 9px; }

.paper h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.08;
  font-weight: 600;
}

.subtitle {
  margin: 9px 0 20px;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem !important;
}

.paper-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.theme-grid > div {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.theme-grid h3 {
  margin: 0 0 12px;
  font-size: 1.65rem;
}

.theme-grid p {
  margin: 0;
  color: #4e5964;
  font-size: .98rem;
}

.closing {
  padding: 110px 0;
  background: var(--ink);
  color: var(--white);
}

.closing .section-label { color: #d7a9a9; }
.closing p:last-child { color: #d8d9dc; font-size: 1.08rem; }

footer {
  background: #10161d;
  color: #bcc2c8;
}

.footer-inner {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: .85rem;
}

@media (max-width: 780px) {
  .wrap { width: min(100% - 28px, 1120px); }
  nav { gap: 15px; }
  nav a { font-size: .84rem; }

  .hero { padding: 72px 0 66px; }
  .hero-grid { grid-template-columns: 1fr; gap: 58px; }
  .pullquote { max-width: 560px; }

  .section { padding: 68px 0; }
  .paper { grid-template-columns: 1fr; gap: 4px; }
  .paper-number { font-size: 1.35rem; }

  .theme-grid { grid-template-columns: 1fr; gap: 40px; }
  .closing { padding: 78px 0; }
}

@media (max-width: 520px) {
  .brand { width: 38px; height: 38px; }
  nav a:first-child { display: none; }
  h1 { font-size: clamp(3.3rem, 17vw, 5.2rem); }
  .footer-inner { flex-direction: column; justify-content: center; align-items: flex-start; }
}
