:root {
  --ink: #19201d;
  --muted: #626b66;
  --paper: #f6f4ef;
  --surface: #fffdf8;
  --accent: #315c4b;
  --accent-dark: #234638;
  --line: #dcded7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: 0.6rem 1rem;
  color: white;
  background: var(--accent-dark);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(49, 92, 75, 0.12);
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.04em;
}

nav { display: flex; gap: clamp(1rem, 2.5vw, 2rem); }

nav a {
  color: #3e4742;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

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

h1 {
  margin-bottom: 0.45rem;
  font-size: clamp(4rem, 9vw, 7.25rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 1.2rem;
  font-size: 0.8rem;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.role {
  margin-bottom: 2rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.intro {
  max-width: 43rem;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.7rem;
}

.button {
  display: inline-block;
  padding: 0.72rem 1.1rem;
  border: 1px solid var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: 160ms ease;
}

.button.primary { color: white; background: var(--accent); }
.button.primary:hover { color: white; background: var(--accent-dark); }
.button.secondary { color: var(--accent); }
.button.secondary:hover { background: rgba(49, 92, 75, 0.07); }

.distinctions {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.distinctions span { padding-inline: 0.5rem; color: var(--accent); }

.portrait-wrap {
  position: relative;
  margin: 0;
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid rgba(49, 92, 75, 0.28);
}

.portrait {
  position: relative;
  width: 100%;
  max-height: 480px;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.76) contrast(1.03);
}

.statement {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  color: #f4f2eb;
  background: var(--accent-dark);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 3rem;
}

.statement .section-label { color: #b8c9c0; }
.statement h2 { max-width: 750px; }
.statement .lead { max-width: 760px; font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.55; }
.statement p:not(.section-label):not(.lead) { color: #cdd6d1; }

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2rem;
}

.text-links a { color: white; font-size: 0.88rem; font-weight: 700; }

.section { padding-block: clamp(5rem, 10vw, 8.5rem); }

.section-heading { max-width: 660px; margin-bottom: 3.5rem; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }

.people-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem 5rem;
}

.people-group {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.people-group.mphil { grid-column: 2; }
.people-group p { color: var(--muted); }

.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list li { margin-bottom: 0.65rem; }
.link-list a { text-decoration-color: #aeb8b2; }
.two-column { columns: 2; column-gap: 2rem; }
.two-column li { break-inside: avoid; }
.note { color: var(--muted); font-size: 0.86em; }

.teaching { background: var(--surface); border-top: 1px solid var(--line); }

.teaching-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 8vw, 7rem);
}

.course-list { border-top: 1px solid var(--ink); }

.course-list > a {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.course-list > a:hover { padding-left: 0.35rem; }
.course-code { color: var(--accent); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.04em; }
.letter-link { margin: 2rem 0 0; color: var(--muted); font-size: 0.9rem; }

footer { padding-block: 3.5rem; color: #cbd4cf; background: #171d1a; font-size: 0.83rem; }

.footer-grid { display: flex; justify-content: space-between; gap: 3rem; }
.footer-grid p { margin-bottom: 0; }
.footer-name { margin-bottom: 0.45rem !important; color: white; font-family: var(--serif); font-size: 1.2rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; }
.footer-links a { color: #e6ebe8; }

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 680px); }
  .nav-wrap { min-height: 66px; }
  nav a:nth-child(2), nav a:nth-child(3) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-copy { order: 2; }
  .portrait-wrap { width: min(72%, 330px); }
  .portrait { max-height: 360px; }
  h1 { font-size: clamp(3.6rem, 18vw, 5.5rem); }
  .statement-grid, .teaching-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .people-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .people-group.mphil { grid-column: auto; }
  .footer-grid { flex-direction: column; }
  .footer-links { align-items: flex-start; }
}

@media (max-width: 440px) {
  nav { gap: 1rem; }
  nav a { font-size: 0.75rem; }
  nav a:nth-child(4) { display: none; }
  .two-column { columns: 1; }
  .course-list > a { grid-template-columns: 1fr; gap: 0.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
body{background:var(--surface)}.page-nav{position:sticky;z-index:10;top:0;min-height:76px;width:min(1120px,calc(100% - 48px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:2rem;background:rgba(255,253,248,.94);border-bottom:1px solid var(--line)}.page-nav nav{display:flex;gap:clamp(1rem,2.5vw,2rem)}.page-main,.archive-page{width:min(900px,calc(100% - 48px));min-height:70vh;margin:auto;padding-block:clamp(4rem,9vw,7rem)}.page-main.wide{width:min(1050px,calc(100% - 48px))}.page-kicker{color:var(--accent);font-size:.72rem;font-weight:750;letter-spacing:.16em;text-transform:uppercase}.page-title{font-size:clamp(3.1rem,8vw,6rem);line-height:.98}.page-deck{max-width:720px;margin-bottom:4rem;color:var(--muted);font-family:var(--serif);font-size:clamp(1.2rem,2.2vw,1.55rem)}.content-section{padding-block:2.25rem;border-top:1px solid var(--line)}.content-section h2{font-size:clamp(1.8rem,4vw,2.7rem)}.content-section li{margin-bottom:.65rem}.timeline{padding:0;list-style:none}.timeline li{display:grid;grid-template-columns:9rem 1fr;gap:1.5rem;padding:1rem 0;border-bottom:1px solid var(--line)}.timeline time{color:var(--accent);font-weight:750}.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.card{padding:1.5rem;border:1px solid var(--line);background:var(--paper);scroll-margin-top:100px}.card h2{font-size:1.45rem}.card p{color:var(--muted)}.card a{font-weight:700}.callout{margin-block:2rem;padding:1.4rem 1.6rem;border-left:3px solid var(--accent);background:var(--paper)}.page-footer{padding:2rem max(24px,calc((100% - 1120px)/2));display:flex;justify-content:space-between;color:#cbd4cf;background:#171d1a}.page-footer a{color:white}.publication-page>h2{font-size:clamp(3rem,7vw,5rem)}.publication-page>p{max-width:780px;color:var(--muted)}.publication-page hr,.publication-page>br{display:none}.publication-page ol{padding:0;list-style:none;counter-reset:papers}.publication-page li{position:relative;padding:1.5rem 0 1.5rem 3.5rem;border-top:1px solid var(--line);counter-increment:papers}.publication-page li:before{content:counter(papers,decimal-leading-zero);position:absolute;left:0;color:var(--accent);font-weight:750}.publication-page li a{color:var(--accent-dark);font-family:var(--serif);font-weight:700}@media(max-width:700px){.page-nav,.page-main,.archive-page,.page-main.wide{width:min(100% - 32px,680px)}.page-nav nav a:nth-child(3),.page-nav nav a:nth-child(4){display:none}.cards{grid-template-columns:1fr}.timeline li{grid-template-columns:1fr;gap:.2rem}.page-footer{flex-direction:column;gap:1rem}}
.section-intro{margin-bottom:2rem;color:var(--muted)}.pc-list{border-top:1px solid var(--ink)}.pc-row{display:grid;grid-template-columns:minmax(240px,1.35fr) minmax(210px,1fr);gap:.6rem 2.5rem;padding:1.4rem 0;border-bottom:1px solid var(--line)}.pc-row>div:first-child{display:flex;flex-direction:column}.pc-row strong{color:var(--accent);font-size:1.05rem;letter-spacing:.04em}.pc-row>div:first-child span{color:var(--muted);font-size:.78rem;line-height:1.45}.pc-row>p{margin:0;align-self:center;font-variant-numeric:tabular-nums}.role-tags{grid-column:2;display:flex;flex-wrap:wrap;gap:.4rem}.role-tags span{padding:.2rem .55rem;color:var(--accent-dark);background:rgba(49,92,75,.09);font-size:.69rem;font-weight:700;letter-spacing:.02em}@media(max-width:700px){.pc-row{grid-template-columns:1fr;gap:.75rem}.role-tags{grid-column:1}}
.archive-note{margin:-2.5rem 0 4rem;color:var(--muted);font-size:.9rem}.archive-note a{font-weight:700}.record-section{padding-block:3rem;border-top:1px solid var(--line)}.record-heading{display:grid;grid-template-columns:3rem 1fr;gap:1rem;align-items:start;margin-bottom:2rem}.record-heading>span{padding-top:.45rem;color:var(--accent);font-size:.72rem;font-weight:750;letter-spacing:.1em}.record-heading h2{margin:0;font-size:clamp(2rem,4vw,3rem)}.record-list{margin:0;padding:0;list-style:none}.record-list li{display:grid;grid-template-columns:10rem 1fr auto;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line)}.record-list strong{font-size:.82rem}.record-list span{color:#3f4843}.record-list time{color:var(--muted);font-size:.82rem;font-variant-numeric:tabular-nums;white-space:nowrap}.record-intro{margin-bottom:2rem;color:var(--muted)}.full-pc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 2.5rem;border-top:1px solid var(--ink)}.full-pc-grid article{padding:1.1rem 0;border-bottom:1px solid var(--line)}.full-pc-grid h3{margin:0 0 .35rem;color:var(--accent);font-size:.78rem;letter-spacing:.08em}.full-pc-grid p{margin:0;color:#3f4843;font-size:.9rem;line-height:1.6}.full-pc-grid em{color:var(--accent-dark);font-style:normal;font-weight:700}.record-cta{margin-top:3rem;padding:2rem;display:flex;align-items:center;justify-content:space-between;gap:2rem;color:white;background:var(--accent-dark)}.record-cta p{margin:0}.record-cta .button{flex:none;border-color:#fff}.record-cta .button:hover{background:#fff;color:var(--accent-dark)}@media(max-width:700px){.archive-note{margin-top:-2rem}.record-heading{grid-template-columns:2rem 1fr}.record-list li{grid-template-columns:1fr;gap:.2rem}.full-pc-grid{grid-template-columns:1fr}.record-cta{align-items:flex-start;flex-direction:column}}
.service-list{border-top:1px solid var(--ink)}.service-row{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:.6rem 2rem;padding:1.2rem 0;border-bottom:1px solid var(--line)}.service-row>div:first-child{display:flex;flex-direction:column}.service-row strong{color:var(--accent);font-size:.98rem}.service-row>div:first-child span{color:var(--muted);font-size:.78rem}.service-row time{align-self:center;color:#3f4843;font-size:.86rem;font-variant-numeric:tabular-nums;white-space:nowrap}.service-row>.role-tags{grid-column:1/-1;display:flex;flex-direction:row;flex-wrap:wrap}@media(max-width:700px){.service-row{grid-template-columns:1fr}.service-row time{justify-self:start}.service-row>.role-tags{grid-column:1}}
.publication-filter{margin:2.5rem 0 3rem;padding:1.35rem 1.5rem;border:1px solid var(--line);background:var(--paper)}.publication-filter-heading{display:flex;align-items:start;justify-content:space-between;gap:2rem}.publication-filter h3{margin:0 0 .2rem;color:var(--accent-dark);font-size:.75rem}.publication-filter p{margin:0;color:var(--muted);font-size:.82rem}.publication-filter-options,.pub-tags{display:flex;flex-wrap:wrap;gap:.45rem}.publication-filter-options{margin-top:1rem}.publication-filter button,.pub-tags button{padding:.25rem .65rem;border:1px solid rgba(49,92,75,.22);color:var(--accent-dark);background:rgba(49,92,75,.05);font:700 .7rem/1.45 var(--sans);letter-spacing:.02em;cursor:pointer;transition:background 140ms ease,border-color 140ms ease,color 140ms ease}.publication-filter button:hover,.publication-filter button.is-active,.pub-tags button:hover,.pub-tags button.is-active{border-color:var(--accent);color:white;background:var(--accent)}.publication-filter-clear{flex:none;padding:.3rem 0!important;border:0!important;background:transparent!important;color:var(--accent)!important;text-decoration:underline;text-underline-offset:.2em}.publication-filter-status{min-height:1.4em;margin-top:.8rem!important}.pub-tags{margin-top:.75rem}.publication-page li[hidden]{display:none}@media(max-width:700px){.publication-filter{padding:1.1rem}.publication-filter-heading{gap:1rem}}
.publication-page li[data-number]:before{content:attr(data-number)}
.publication-filter-groups{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem 2rem;margin-top:1rem}.publication-filter-group{padding-top:.8rem;border-top:1px solid var(--line)}.publication-filter-group h4{margin:0 0 .65rem;color:var(--muted);font-size:.66rem;line-height:1.4;letter-spacing:.09em;text-transform:uppercase}.publication-filter-group .publication-filter-options{margin-top:0}@media(max-width:700px){.publication-filter-groups{grid-template-columns:1fr;gap:.75rem}}
.publication-filter button[data-category="system"],.pub-tags .tag-system{border-color:rgba(49,93,145,.25);color:#315d91;background:rgba(49,93,145,.06)}.publication-filter button[data-category="system"]:hover,.publication-filter button[data-category="system"].is-active,.pub-tags .tag-system:hover,.pub-tags .tag-system.is-active{border-color:#315d91;color:white;background:#315d91}
