:root {
  --bg: #fafaf8;
  --paper: #ffffff;
  --ink: #0f1419;
  --muted: #5c6569;
  --line: #e2e0d8;
  --soft: #f3f2ed;
  --teal: #0d6b63;
  --teal-soft: rgba(13, 107, 99, 0.08);
  --gold: #9a6b1a;
  --shadow-sm: 0 1px 3px rgba(15, 20, 25, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 20, 25, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 20, 25, 0.08);
  --radius: 6px;
  --radius-lg: 10px;
  --max: 1080px;
  --font-sans: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 30;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  padding: 0.65rem 0.9rem;
  font-weight: 600;
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(226, 224, 216, 0.7);
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--teal-soft);
}

.site-nav a.is-active {
  color: var(--teal);
  background: var(--teal-soft);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  gap: 4px;
  transition: border-color 180ms ease, background 180ms ease;
}

.menu-toggle:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.hero {
  padding: 4.5rem 2rem 5rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.section {
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3.5rem;
  align-items: start;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero-inner.hero-profile {
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.profile-photo {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.profile-photo img {
  width: 180px;
  height: 180px;
  object-fit: cover;
}

.profile-details {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  line-height: 1.85;
}

.profile-details li span {
  color: var(--teal);
  font-weight: 700;
  margin-right: 0.35rem;
}

.profile-details a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(13, 107, 99, 0.3);
  text-underline-offset: 3px;
}

.profile-details a:hover {
  color: var(--teal);
  text-decoration-color: var(--teal);
}

.hero-copy {
  max-width: 640px;
}

.section-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  margin: 0;
}

.lead {
  max-width: 580px;
  margin-top: 1.1rem;
  color: #3a4448;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.academic-title {
  margin-top: 0.6rem;
  color: var(--teal);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.hero-card dl {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 0.6rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: #c8c5ba;
  box-shadow: var(--shadow-sm);
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.button.primary:hover {
  background: #0a5a54;
  border-color: #0a5a54;
  box-shadow: var(--shadow-md);
}

.button:focus-visible,
.site-nav a:focus-visible,
.footer-grid a:focus-visible,
dd a:focus-visible,
address a:focus-visible,
.work-list a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.muted-section,
.profile-section {
  background: var(--soft);
}

.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.profile-list div {
  padding: 1.15rem 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.profile-list div:hover {
  background: var(--bg);
}

.profile-list div:nth-child(2n) {
  border-right: 0;
}

.profile-list div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 0.3rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
}

dd a,
address a,
.work-list a,
.content-list a,
.pub-list a,
.grant-list a,
.link-list a,
.nested-list a,
.course-block h3 a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(13, 107, 99, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 180ms ease;
}

dd a:hover,
address a:hover,
.work-list a:hover,
.content-list a:hover,
.pub-list a:hover,
.grant-list a:hover,
.link-list a:hover,
.nested-list a:hover,
.course-block h3 a:hover {
  text-decoration-color: var(--teal);
}

.content-list,
.pub-list,
.link-list,
.nested-list {
  margin: 0;
  padding-left: 1.25rem;
}

.content-list {
  list-style: disc;
}

.content-list.spaced li + li {
  margin-top: 1.25rem;
}

.pub-list li,
.link-list li,
.grant-list li {
  margin-bottom: 0.85rem;
}

.pub-list img {
  display: block;
  margin-top: 0.35rem;
  max-height: 48px;
  width: auto;
}

.grant-list {
  padding-left: 1.35rem;
}

.grant-list li + li {
  margin-top: 1.15rem;
}

.subsection {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--line);
}

.subsection h3,
.course-block h3,
.course-block h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.course-block {
  margin-bottom: 2rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.course-block h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.nested-list.numbered {
  list-style: decimal;
}

.meta-note {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.presentation-links {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--line);
}

.presentation-links h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
}

.presentation-links h3 a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(13, 107, 99, 0.3);
  text-underline-offset: 3px;
}

.presentation-links h3 a:hover {
  text-decoration-color: var(--teal);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.cards.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards article,
.work-list article,
address {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.cards article:hover,
.work-list article:hover {
  border-color: #d0cdc2;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cards p,
.timeline p,
.work-list p,
.contact-section p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 2rem;
  padding: 1.35rem 0 1.35rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.65rem;
  width: 8px;
  height: 8px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: var(--paper);
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 2.35rem;
  bottom: -0.5rem;
  width: 2px;
  background: var(--line);
}

.timeline li:last-child::after {
  display: none;
}

.timeline time {
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-top: 0.15rem;
}

.work-list {
  display: grid;
  gap: 1rem;
}

.work-list a {
  display: inline-flex;
  margin-top: 0.65rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.work-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

address {
  display: grid;
  gap: 0.5rem;
  font-style: normal;
}

address strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.site-footer {
  padding: 2rem;
  color: var(--muted);
  font-size: 0.875rem;
  background: var(--paper);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-grid a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 180ms ease;
}

.footer-grid a:hover {
  color: var(--teal);
}

@media (max-width: 980px) {
  .site-header {
    padding-inline: 1.25rem;
  }

  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(250, 250, 248, 0.97);
    backdrop-filter: blur(12px);
    transform: translateY(-130%);
    transition: transform 200ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-inner,
  .hero-inner.hero-profile,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .profile-photo {
    justify-self: center;
  }

  .hero-card {
    max-width: 400px;
  }

  .cards,
  .cards.compact,
  .profile-list {
    grid-template-columns: 1fr;
  }

  .profile-list div,
  .profile-list div:nth-child(2n),
  .profile-list div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .profile-list div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .brand-text {
    display: none;
  }

  .hero {
    padding: 3rem 1.25rem 3.5rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding-left: 1.25rem;
  }

  .footer-grid {
    display: grid;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .cards article:hover,
  .work-list article:hover {
    transform: none;
  }
}

