:root {
  --paper: #f7f6f2;
  --ink: #151719;
  --muted: #5e6267;
  --line: #d8d6cf;
  --blue: #214e76;
  --blue-dark: #15344f;
  --max-width: 920px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.page-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.wordmark span {
  color: var(--muted);
  font-weight: 400;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 72px);
  min-height: 590px;
  padding: 64px 0;
}

.portrait-frame {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: #dfe5ea;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 16px 36px rgba(20, 35, 50, 0.09);
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 19%;
}

.eyebrow,
.item-meta {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.role {
  margin: 24px 0 0;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 600;
}

.role span {
  margin: 0 0.2em;
  color: #8d969e;
}

.introduction {
  max-width: 37rem;
  margin: 20px 0 0;
  color: #383c40;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.58;
}

.hero-links {
  display: flex;
  gap: 10px;
  margin: 24px 0 0;
  font-size: 14px;
}

.hero-links span {
  color: #a3a29e;
}

.content-section {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 62px);
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.content-section > h2 {
  margin: 3px 0 0;
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-body {
  min-width: 0;
}

.prose p {
  max-width: 41rem;
  margin: 0;
}

.prose p + p {
  margin-top: 18px;
}

.research-item h3,
.interests h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.25;
}

.research-item > p:not(.item-meta) {
  max-width: 42rem;
  margin: 14px 0 0;
  color: #3d4145;
}

.paper-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
}

.pdf-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.file-type {
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.interests {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.interests h3 {
  font-size: 18px;
}

.interests ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 26px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.interests li {
  position: relative;
  padding-left: 15px;
  color: #3d4145;
}

.interests li::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  content: "·";
  font-weight: 700;
}

.link-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.link-list a:first-child {
  padding-top: 0;
}

.link-list a span:last-child {
  color: var(--muted);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 34px), var(--max-width));
  }

  .site-header {
    align-items: flex-start;
    padding: 21px 0;
  }

  nav {
    justify-content: flex-end;
    gap: 9px 16px;
  }

  nav a:nth-child(2),
  nav a:nth-child(3) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding: 44px 0 56px;
  }

  .portrait-frame {
    width: min(72vw, 275px);
  }

  h1 {
    font-size: clamp(50px, 16vw, 68px);
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
  }

  .interests ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  :root {
    --paper: #fff;
  }

  .site-header,
  .hero-links,
  footer a {
    display: none;
  }

  .hero {
    min-height: 0;
  }
}
