:root {
  --black: #0a0a0a;
  --ink: #191919;
  --gray-1: #474747;
  --gray-2: #737373;
  --gray-3: #b8b8b8;
  --gray-4: #e8e8e8;
  --paper: #f7f7f4;
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--gray-3);
  background: rgba(247, 247, 244, 0.98);
}

.header-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
}

.wordmark-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.wordmark-role {
  margin-top: 5px;
  color: var(--gray-1);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 26px;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  text-decoration: underline;
}

.hero {
  padding: clamp(64px, 8vw, 118px) 0 clamp(72px, 9vw, 130px);
  border-bottom: 1px solid var(--gray-3);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow,
.section-number,
.item-index,
.pub-year,
.milestone-year {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--gray-1);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 850px;
  margin: 24px 0 28px;
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  line-height: 0.96;
}

h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.6vw, 5.2rem);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.hero-lede {
  max-width: 680px;
  margin: 0;
  color: var(--gray-1);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.45;
}

.hero-role {
  max-width: 680px;
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--gray-3);
  color: var(--gray-1);
  font-size: 0.98rem;
  line-height: 1.6;
}

.hero-role strong {
  color: var(--ink);
}

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

.button {
  display: inline-block;
  padding: 13px 18px;
  border: 1px solid var(--black);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-dark {
  background: var(--black);
  color: var(--white);
}

.button-light {
  background: transparent;
  color: var(--black);
}

.button:hover,
.button:focus-visible {
  background: var(--white);
  color: var(--black);
}

.portrait-frame {
  margin: 0;
  width: 100%;
}

.portrait-container {
  position: relative;
  display: block;
  width: 100%;
}

.portrait-container::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--black);
  z-index: -1;
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(100%) contrast(1.04);
  background: var(--gray-4);
}

.portrait-frame figcaption {
  margin-top: 12px;
  color: var(--gray-1);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: clamp(78px, 9vw, 132px) 0;
  border-bottom: 1px solid var(--gray-3);
}

.split {
  display: grid;
  grid-template-columns: minmax(200px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 8vw, 120px);
}

.section-number {
  margin-bottom: 24px;
  color: var(--gray-2);
}

.prose p:first-child {
  margin-top: 0;
}

.prose p:last-child {
  margin-bottom: 0;
}

.large-prose {
  max-width: 780px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.55;
}

.section-invert {
  background: var(--black);
  color: var(--white);
}

.section-invert .section-number,
.section-invert .section-intro,
.section-invert article p {
  color: #cfcfcf;
}

/* Adjusted from a two-column layout to a clean, stacked configuration */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 66px;
}

.section-intro {
  max-width: 620px;
  margin: 0;
  color: var(--gray-1);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.45;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #444;
  border-left: 1px solid #444;
}

.research-grid article {
  min-height: 260px;
  padding: 32px;
  border-right: 1px solid #444;
  border-bottom: 1px solid #444;
}

.research-grid h3 {
  margin: 68px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  font-weight: 400;
}

.research-grid article p:last-child {
  max-width: 440px;
  margin-bottom: 0;
}

.item-index {
  color: #909090;
}

.fellowship {
  background: var(--white);
}

.fellowship-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: start;
}

.fellowship-label {
  padding-top: 4px;
}

.fellowship-year {
  margin: 30px 0 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 6.3rem);
  line-height: 0.9;
}

.fellowship h2 {
  max-width: 900px;
}

.fellowship-copy {
  max-width: 820px;
  margin: 34px 0 0;
  font-size: 1.12rem;
}

.publication-list {
  border-top: 1px solid var(--black);
}

.publication {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-3);
}

.publication h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 400;
}

.publication p {
  margin: 8px 0 0;
  color: var(--gray-1);
}

.pub-year {
  padding-top: 5px;
  color: var(--gray-2);
}

.milestones {
  background: #eeeeea;
}

.compact-heading {
  margin-bottom: 54px;
}

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.milestone-grid article {
  min-height: 255px;
  padding: 28px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.milestone-grid h3 {
  margin: 56px 0 12px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.milestone-grid p:last-child {
  margin-bottom: 0;
  color: var(--gray-1);
}

.milestone-year {
  color: var(--gray-2);
}

.contact-section {
  padding: clamp(78px, 9vw, 132px) 0;
  background: var(--black);
  color: var(--white);
}

.contact-section .section-number {
  color: #a7a7a7;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(44px, 8vw, 120px);
}

.contact-details {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.contact-details p {
  margin-top: 0;
  margin-bottom: 30px;
}

.site-footer {
  padding: 26px 0;
  border-top: 1px solid #333;
  background: var(--black);
  color: #bdbdbd;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-inner p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 22px;
  }

  nav {
    flex-wrap: wrap;
    gap: 13px 22px;
  }

  .hero-grid,
  .split,
  .fellowship-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .portrait-frame {
    width: min(76vw, 430px);
    order: 2;
  }

  .milestone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    position: static;
  }

  nav {
    font-size: 0.7rem;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5.4rem);
  }

  .hero-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    text-align: center;
  }

  .portrait-frame {
    width: calc(100% - 14px);
  }

  .research-grid,
  .milestone-grid {
    grid-template-columns: 1fr;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .research-grid article,
  .milestone-grid article {
    min-height: auto;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .site-footer {
    display: none;
  }

  body {
    background: var(--white);
    color: var(--black);
  }

  .section,
  .hero,
  .contact-section {
    padding: 34px 0;
    background: var(--white) !important;
    color: var(--black) !important;
    break-inside: avoid;
  }

  .portrait-frame img {
    filter: grayscale(100%);
  }
}