:root {
  --green-950: #05291f;
  --green-900: #073b2f;
  --green-800: #0b4a3a;
  --green-700: #14604c;
  --gold-500: #d6aa2f;
  --gold-300: #ebcf78;
  --cream: #f7f3e8;
  --paper: #ffffff;
  --ink: #17221d;
  --muted: #5d6963;
  --line: #d9e0dc;
  --soft-green: #eaf3ef;
  --shadow: 0 18px 55px rgba(5, 41, 31, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --page: min(1180px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 0; }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }

.page-width { width: var(--page); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--green-950);
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(217, 224, 220, .85);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  width: var(--page);
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-name {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--green-950);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .01em;
}
.site-initials {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--gold-300);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .94rem;
  font-weight: 700;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  position: relative;
  color: #2e3c35;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--gold-500);
  transition: right .2s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { right: 0; }
.nav-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 15%, rgba(214, 170, 47, .24), transparent 26%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500));
}
.hero-grid {
  min-height: 720px;
  padding-block: 82px 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, .82fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}
.hero-copy { max-width: 720px; }
.eyebrow {
  margin-bottom: 14px;
  color: var(--green-700);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--gold-300); }
.hero h1 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 700;
}
.hero h1 span { color: var(--gold-300); white-space: nowrap; }
.hero-role {
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 700;
}
.hero-intro {
  max-width: 675px;
  margin-bottom: 32px;
  color: rgba(255,255,255,.82);
  font-size: 1.09rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; }
.button-primary {
  color: var(--green-950);
  background: var(--gold-300);
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
}
.button-primary:hover { background: #f3dc94; box-shadow: 0 16px 32px rgba(0,0,0,.19); }
.button-secondary { color: #fff; border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.06); }
.button-secondary:hover { background: rgba(255,255,255,.13); }
.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.profile-links a {
  color: rgba(255,255,255,.83);
  font-size: .9rem;
  font-weight: 700;
  text-underline-offset: 4px;
}
.profile-links a:hover { color: var(--gold-300); }
.portrait-card {
  position: relative;
  max-width: 445px;
  margin-left: auto;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 32px;
  background: rgba(255,255,255,.09);
  box-shadow: 0 35px 75px rgba(0,0,0,.28);
}
.portrait-frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background: #113c31;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.portrait-meta { padding: 18px 8px 5px; display: grid; gap: 3px; }
.portrait-meta strong { color: #fff; }
.portrait-meta span { color: rgba(255,255,255,.7); font-size: .9rem; }

.quick-facts { border-bottom: 1px solid var(--line); background: var(--cream); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid > div { min-height: 98px; padding: 24px; border-right: 1px solid rgba(7,59,47,.14); display: grid; align-content: center; gap: 3px; }
.facts-grid > div:first-child { border-left: 1px solid rgba(7,59,47,.14); }
.facts-grid span { color: var(--green-700); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.facts-grid strong, .facts-grid a { color: var(--green-950); font-size: .98rem; font-style: normal; font-weight: 800; text-decoration: none; }
.facts-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }

.section { padding-block: clamp(78px, 10vw, 128px); }
.section-tint { background: var(--soft-green); }
.section-heading { margin-bottom: 48px; }
.section-heading h2 { max-width: 800px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: 48px; align-items: end; }
.split-heading > p { margin: 0; max-width: 540px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: clamp(45px, 8vw, 100px); align-items: start; }
.prose { font-size: 1.08rem; }
.prose p:last-child { margin-bottom: 0; }
.info-panel { padding: 30px; border: 1px solid var(--line); border-top: 5px solid var(--gold-500); border-radius: var(--radius-md); background: #fff; box-shadow: 0 14px 42px rgba(5,41,31,.08); }
.info-panel h3 { margin-bottom: 22px; color: var(--green-950); font-size: 1.45rem; }
.education-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.education-list li { display: grid; gap: 3px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.education-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.education-list strong { color: var(--ink); }
.education-list span { color: var(--muted); font-size: .9rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.research-card {
  position: relative;
  min-height: 355px;
  padding: 34px 30px;
  border: 1px solid rgba(7,59,47,.11);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 30px rgba(5,41,31,.055);
  transition: transform .18s ease, box-shadow .18s ease;
}
.research-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-number { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 32px; border-radius: 50%; color: var(--green-950); background: var(--gold-300); font-weight: 900; }
.research-card h3 { margin-bottom: 15px; color: var(--green-950); font-size: 1.48rem; }
.research-card p { margin-bottom: 24px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 6px 10px; border-radius: 999px; color: var(--green-800); background: var(--soft-green); font-size: .78rem; font-weight: 800; }

.publication-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.text-link { color: var(--green-800); font-weight: 800; text-underline-offset: 4px; }
.publication-list { border-top: 1px solid var(--line); }
.publication-item { display: grid; grid-template-columns: 92px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.publication-year { color: var(--green-700); font-weight: 900; }
.publication-item h3 { margin-bottom: 9px; font-family: Arial, Helvetica, sans-serif; font-size: 1.13rem; line-height: 1.42; letter-spacing: 0; }
.publication-item h3 a { color: var(--ink); text-decoration: none; }
.publication-item h3 a:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.publication-item p { margin-bottom: 3px; font-size: .92rem; }
.publication-item span { color: var(--green-700); font-size: .87rem; font-weight: 800; }
.dissertation-card { margin-top: 34px; padding: 30px 34px; border-radius: var(--radius-md); color: #fff; background: var(--green-900); display: flex; justify-content: space-between; gap: 35px; align-items: center; text-decoration: none; }
.dissertation-card span { color: var(--gold-300); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dissertation-card h3 { max-width: 790px; margin: 7px 0 4px; color: #fff; font-size: 1.35rem; }
.dissertation-card p { margin-bottom: 0; color: rgba(255,255,255,.72); }
.dissertation-card > strong { flex: 0 0 auto; color: #fff; }
.dissertation-card:hover { background: var(--green-800); }

.section-dark { color: #fff; background: var(--green-950); }
.light-heading .eyebrow { color: var(--gold-300); }
.light-heading h2 { color: #fff; }
.light-heading > p { color: rgba(255,255,255,.7); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 26px; }
.timeline article { min-height: 145px; padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); background: rgba(255,255,255,.055); display: grid; grid-template-columns: 110px 1fr; gap: 18px; }
.timeline time { color: var(--gold-300); font-size: .84rem; font-weight: 900; }
.timeline h3 { margin-bottom: 7px; color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 1.12rem; letter-spacing: 0; }
.timeline p { margin-bottom: 0; color: rgba(255,255,255,.66); font-size: .92rem; }

.teaching-layout { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.current-course { padding: 34px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(145deg, var(--green-900), var(--green-700)); box-shadow: var(--shadow); }
.term-label { color: var(--gold-300); font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.current-course h3 { margin: 12px 0 28px; color: #fff; font-size: 1.8rem; }
.current-course dl { margin: 0; display: grid; gap: 17px; }
.current-course dl div { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.17); }
.current-course dt { color: var(--gold-300); font-size: .75rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.current-course dd { margin: 4px 0 0; color: #fff; }
.teaching-history { display: grid; gap: 0; border-top: 1px solid var(--line); }
.teaching-history article { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.teaching-history > article > span { color: var(--green-700); font-size: .85rem; font-weight: 900; }
.teaching-history h3 { margin-bottom: 5px; font-family: Arial, Helvetica, sans-serif; font-size: 1.08rem; letter-spacing: 0; }
.teaching-history p { margin-bottom: 0; font-size: .92rem; }

.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: clamp(45px, 8vw, 100px); align-items: center; }
.contact-grid h2 { max-width: 700px; margin-bottom: 20px; }
.contact-grid > div > p:not(.eyebrow) { max-width: 660px; margin-bottom: 28px; font-size: 1.06rem; }
.contact-card { padding: 34px; border-radius: var(--radius-md); background: #fff; box-shadow: 0 14px 44px rgba(5,41,31,.09); font-style: normal; display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 22px; }
.contact-card div { display: grid; gap: 6px; }
.contact-card span { color: var(--green-700); font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-card strong, .contact-card a { color: var(--ink); font-weight: 800; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-footer { color: rgba(255,255,255,.72); background: var(--green-950); }
.footer-grid { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-grid p { margin: 0; color: inherit; font-size: .88rem; }
.footer-grid div { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-grid a { color: #fff; font-size: .86rem; font-weight: 700; text-underline-offset: 4px; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }

@media (max-width: 980px) {
  :root { --page: min(100% - 32px, 900px); }
  .nav-toggle {
    display: grid;
    width: 46px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    align-content: center;
    gap: 5px;
    cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { width: 100%; height: 2px; background: var(--green-950); }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 0 0 16px 16px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(5,41,31,.13);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 11px 10px; }
  .site-nav a::after { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 66px 80px; }
  .hero-copy { max-width: none; }
  .portrait-card { max-width: 520px; margin: 0; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid > div:nth-child(odd) { border-left: 1px solid rgba(7,59,47,.14); }
  .about-grid, .teaching-layout, .contact-grid { grid-template-columns: 1fr; }
  .split-heading { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .card-grid { grid-template-columns: 1fr; }
  .research-card { min-height: auto; }
  .timeline { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  :root { --page: calc(100% - 24px); }
  .site-name > span:last-child { font-size: .92rem; }
  .hero-grid { padding-block: 52px 68px; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .profile-links { gap: 10px 16px; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid > div { min-height: 80px; padding: 19px 22px; border-left: 1px solid rgba(7,59,47,.14); }
  .section { padding-block: 72px; }
  .publication-heading { display: grid; align-items: start; }
  .publication-item { grid-template-columns: 1fr; gap: 6px; }
  .dissertation-card { padding: 26px; display: grid; }
  .timeline article { grid-template-columns: 1fr; }
  .teaching-history article { grid-template-columns: 1fr; gap: 7px; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-grid { padding-block: 30px; display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .hero-actions, .profile-links, .site-footer, .nav-toggle { display: none !important; }
  .hero { color: #000; background: #fff; }
  .hero h1, .hero-role { color: #000; }
  .hero .eyebrow, .hero h1 span { color: #333; }
  .hero-intro { color: #333; }
  .hero-grid { min-height: auto; padding: 20px 0; grid-template-columns: 1fr 220px; }
  .portrait-card { box-shadow: none; border: 1px solid #bbb; }
  .portrait-meta strong, .portrait-meta span { color: #000; }
  .section { padding-block: 30px; }
  .section-dark { color: #000; background: #fff; }
  .light-heading h2, .timeline h3 { color: #000; }
  .light-heading > p, .timeline p { color: #333; }
  .timeline article { border-color: #ccc; background: #fff; }
  a { color: #000; text-decoration: none; }
}
