:root {
  --paper: #f5f2ea;
  --paper-deep: #ebe5da;
  --ink: #182028;
  --muted: #65707a;
  --line: rgba(24, 32, 40, 0.16);
  --mit: #a31f34;
  --blue: #78a9ef;
  --blue-deep: #315f9f;
  --white: #fffefa;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(24, 32, 40, 0.12);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 4%, rgba(120,169,239,.13), transparent 24rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.54;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--mit); }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: rgba(245, 242, 234, .88);
  backdrop-filter: blur(16px);
}
.site-header.scrolled { border-color: var(--line); }
.nav-wrap {
  width: min(calc(100% - 2.5rem), var(--max));
  min-height: 62px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  text-decoration: none;
}
.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.brand span {
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav a {
  position: relative;
  font-size: .86rem;
  font-weight: 650;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.5rem;
  height: 2px;
  background: var(--mit);
}
.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  padding: .5rem .75rem;
  color: var(--ink);
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
}

.shell { width: min(calc(100% - 2.5rem), var(--max)); margin: auto; }
.eyebrow {
  margin: 0 0 .7rem;
  color: var(--mit);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.03em;
}
h1 { font-size: clamp(2.45rem, 4.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 2.7vw, 2.8rem); }
h3 { font-size: 1.4rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .75fr);
  align-items: center;
  gap: clamp(1.75rem, 3.2vw, 3rem);
  padding-block: 2.2rem 2.65rem;
}
.hero h1 { margin-bottom: .85rem; }
.hero .role {
  margin: 0 0 1.05rem;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
}
.hero .intro {
  max-width: 43rem;
  margin: 0 0 1.3rem;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.56;
}
.button-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: .72rem 1.15rem;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 700;
}
.button.primary { background: var(--ink); color: var(--white); }
.button.primary:hover { background: var(--mit); border-color: var(--mit); color: white; }
.button::after { content: "\2197"; font-size: .9em; }
.button.internal::after { content: "\2192"; }

.hero-portrait {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 3 / 4;
  justify-self: end;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.42);
  pointer-events: none;
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.section { padding-block: clamp(2.2rem, 3.5vw, 3.45rem); border-top: 1px solid var(--line); }
.section-heading {
  display: grid;
  grid-template-columns: .65fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.55rem;
}
.section-heading p:last-child {
  max-width: 42rem;
  margin-top: .35rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.section-heading h2 { margin-bottom: 0; }

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.research-card {
  position: relative;
  min-height: 205px;
  overflow: hidden;
  padding: clamp(1.45rem, 2.4vw, 2rem);
  background: var(--white);
}
.research-card .number { color: var(--mit); font-size: .75rem; font-weight: 750; letter-spacing: .12em; }
.research-card h3 { margin: 1.2rem 0 .55rem; font-size: clamp(1.4rem, 2vw, 1.85rem); }
.research-card p { max-width: 29rem; margin-bottom: 0; color: var(--muted); }
.research-card.art-card { background: var(--ink); color: white; }
.research-card.art-card p { color: #c5ced5; }
.research-card.art-card img {
  position: absolute;
  width: 52%;
  right: -6%;
  bottom: -12%;
  opacity: .32;
  transform: rotate(8deg);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact { padding: 1.15rem 1.4rem; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong {
  display: block;
  margin-bottom: .3rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 500;
}
.fact span { color: var(--muted); font-size: .83rem; }

.feature-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2.5rem; align-items: start; }
.work-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.work-list li { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 1.35rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.work-list .year { color: var(--mit); font-size: .8rem; font-weight: 750; }
.work-list a { font-family: Georgia, "Times New Roman", serif; font-size: 1.16rem; text-decoration: none; }
.work-list .venue { color: var(--muted); font-size: .8rem; text-align: right; }
.side-art {
  padding: 2rem;
  border-radius: 50% 50% 46% 54% / 48% 43% 57% 52%;
  background: rgba(120,169,239,.12);
}
.side-art img { filter: saturate(.75); }

.quote-panel {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 2.5rem;
  padding: clamp(2rem, 3.3vw, 3.25rem);
  background: var(--ink);
  color: white;
}
.quote-panel img { max-height: 380px; margin: auto; opacity: .75; }
.quote-panel blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.35;
}
.quote-panel p { color: #cbd3d9; }
.mentoring-panel h2 { margin-bottom: .8rem; color: white; font-size: clamp(1.65rem, 2.5vw, 2.35rem); }
.mentoring-panel p:not(.eyebrow) { max-width: 44rem; }

.page-hero { padding-block: 2.4rem 2rem; }
.page-hero h1 { max-width: 55rem; margin-bottom: .8rem; font-size: clamp(2.25rem, 3.8vw, 3.6rem); }
.page-hero .lead { max-width: 49rem; margin-bottom: .5rem; color: var(--muted); font-size: 1.1rem; }
.page-hero.compact { padding-bottom: 1.6rem; }

.content-grid { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 2.75rem; align-items: start; }
.side-index { position: sticky; top: 105px; }
.side-index a { display: block; padding: .42rem 0; color: var(--muted); font-size: .84rem; text-decoration: none; }
.side-index a:hover { color: var(--mit); }
.prose { max-width: 760px; }
.prose h2 { margin: 2.15rem 0 .7rem; font-size: clamp(1.6rem, 2.3vw, 2.25rem); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.05rem; }
.prose .art-wide { margin: 1.6rem 0; max-height: 290px; }

.publication-group { margin-bottom: 2.75rem; }
.publication-group h2 { font-size: 1.85rem; }
.pub-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); counter-reset: pub; }
.pub-list li { position: relative; padding: .95rem 0 .95rem 3.25rem; border-bottom: 1px solid var(--line); counter-increment: pub; }
.pub-list li::before { content: counter(pub, decimal-leading-zero); position: absolute; left: 0; top: 1.3rem; color: var(--mit); font-size: .73rem; font-weight: 750; }
.pub-title { margin-bottom: .32rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; line-height: 1.35; }
.pub-meta { color: var(--muted); font-size: .87rem; }
.pub-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .55rem; }
.pub-links a { font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }

.compact-heading { margin-bottom: 1.6rem; }
.lecture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.lecture-card {
  padding: clamp(1.35rem, 2.4vw, 2rem);
  background: var(--white);
}
.lecture-card.featured-lecture { grid-column: 1 / -1; }
.lecture-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1rem; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lecture-meta span:first-child { color: var(--mit); }
.lecture-card h3 { margin-bottom: .6rem; font-size: clamp(1.4rem, 2.1vw, 1.9rem); }
.lecture-card p { max-width: 50rem; margin: 0; color: var(--muted); }
.lecture-links { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin-top: 1rem; }
.lecture-links a, .video-list a { color: var(--blue-deep); font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.video-list { border-top: 1px solid var(--line); }
.video-list article { display: grid; grid-template-columns: 6rem minmax(0, 1fr) 11rem; gap: 1.35rem; align-items: start; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.video-list h3 { margin: 0 0 .35rem; font-size: 1.25rem; letter-spacing: -.02em; }
.video-list p { margin: 0; color: var(--muted); font-size: .92rem; }
.video-date { color: var(--mit); font-size: .78rem; font-weight: 750; letter-spacing: .08em; }
.video-list > article > a, .stacked-links { justify-self: end; text-align: right; }
.stacked-links { display: grid; gap: .35rem; }
.verification-note { margin: 1.5rem 0 0; color: var(--muted); font-size: .82rem; }

.people-table { width: 100%; border-collapse: collapse; }
.table-scroll { overflow-x: auto; }
.people-table { min-width: 860px; }
.people-table th, .people-table td { padding: .6rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.people-table th { color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.people-table td:first-child { font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.people-table th:nth-child(1), .people-table td:nth-child(1) { width: 20%; }
.people-table th:nth-child(2), .people-table td:nth-child(2) { width: 17%; }
.people-table th:nth-child(3), .people-table td:nth-child(3) { width: 8%; white-space: nowrap; }
.people-table td:last-child { color: var(--muted); }
.people-note { margin: 1rem 0 1.6rem; padding: .85rem 1rem; border-left: 3px solid var(--blue); background: rgba(120,169,239,.1); color: var(--muted); }
.people-subsection { margin-top: 3rem; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 8rem 1fr; gap: 1.75rem; padding: .78rem 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--mit); font-size: .8rem; font-weight: 750; }
.timeline strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.timeline span { color: var(--muted); font-size: .9rem; }
.cv-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.2rem 0 1.8rem; }

.site-footer { margin-top: 2.5rem; padding-block: 2.3rem 1.25rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; }
.footer-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.9rem; }
.footer-contact { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem 2rem; }
.footer-contact p { margin: 0; }
.footer-label { display: block; color: var(--muted); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }

@media (max-width: 900px) {
  .menu-button { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: 62px;
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
    padding: 1rem;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: .7rem; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .hero-portrait { justify-self: start; width: min(100%, 310px); }
  .section-heading, .feature-grid, .quote-panel, .footer-grid, .content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .video-list article { grid-template-columns: 5rem minmax(0, 1fr); }
  .video-list > article > a, .video-list .stacked-links { grid-column: 2; justify-self: start; text-align: left; }
  .side-index { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .shell, .nav-wrap { width: min(calc(100% - 1.5rem), var(--max)); }
  .brand span { display: none; }
  .hero { min-height: 0; padding-block: 1.8rem 2.3rem; }
  .hero-portrait { width: min(100%, 270px); }
  .research-grid { grid-template-columns: 1fr; }
  .lecture-grid { grid-template-columns: 1fr; }
  .lecture-card.featured-lecture { grid-column: auto; }
  .video-list article { grid-template-columns: 1fr; gap: .55rem; }
  .video-list > article > a, .video-list .stacked-links { grid-column: 1; }
  .work-list li { grid-template-columns: 3.4rem 1fr; }
  .work-list .venue { display: none; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .people-table { min-width: 720px; }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .timeline li { grid-template-columns: 5.7rem 1fr; gap: 1rem; }
}

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