: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; }
}
.section-action{display:inline-block;margin-top:.35rem;color:var(--accent);font-size:.86rem;font-weight:700;text-decoration-thickness:1px;text-underline-offset:.25em}
