:root {
  --ink: #213f4c;
  --body: #303030;
  --muted: #6a6a66;
  --line: #e2ddd3;
  --paper: #f7f3ea;
  --pine: #397083;
  --warm: #f8f8f5;
  --accent: #dc7c5a;
  --callout: #edf7f8;
}

@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Manrope:wght@400;500;600&display=swap");

/* Quarto output overrides */
body.quarto-light {
  font-family: "Manrope", Arial, sans-serif;
  color: var(--body);
  background: var(--paper);
}
#quarto-header { border-bottom: 1px solid var(--line); }
.navbar { min-height: 50px; max-width: 1040px; margin: 0 auto; padding: 0 22px; background: var(--paper); }
.navbar-brand, .navbar-nav .nav-link { color: var(--ink); font-size: 12px; }
.navbar-brand { font-family: "Lora", Georgia, serif; font-weight: 700; }
.navbar-nav { gap: 16px; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--pine); }
#quarto-content { max-width: 1040px; margin: 0 auto; padding: 24px 22px 48px; }
#quarto-content { display: block; width: 100%; }
#quarto-content main.content, #quarto-document-content { width: 100%; max-width: 1040px; }
:root {
  --ink: #18252e;
  --muted: #5e6a72;
  --paper: #f7f3ea;
  --surface: #ffffff;
  --navy: #163a52;
  --blue: #26749a;
  --blue-soft: #e9f1f5;
  --coral: #c9634d;
  --gold: #d8a447;
  --rule: #dfe5e7;
  --shadow: 0 14px 36px rgba(25, 48, 62, 0.08);
}

body.quarto-light {
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(216, 164, 71, 0.11), transparent 26rem),
    radial-gradient(circle at 93% 36%, rgba(38, 116, 154, 0.08), transparent 30rem),
    var(--paper);
}

#quarto-document-content section { display: block; border: 0; padding: 0; gap: 0; }
#title-block-header { margin: 0; padding: 0; }
#title-block-header .title, #quarto-document-content > h1:first-child { font-family: Georgia, "Times New Roman", serif; color: var(--navy); letter-spacing: -0.025em; font-size: clamp(2.15rem, 4vw, 3rem); font-weight: 600; line-height: 1.12; margin: 0 0 8px; }
#quarto-document-content > h2 { margin-top: 2.25rem; margin-bottom: 0.85rem; padding-bottom: 0; border-bottom: 0; font-family: Georgia, "Times New Roman", serif; color: var(--navy); font-size: 1.48rem; font-weight: 700; line-height: 1.25; }
#quarto-document-content > h2::after, .profile-main > h2::after { content: ""; display: block; width: 2.4rem; height: 3px; margin-top: 0.55rem; border-radius: 3px; background: linear-gradient(90deg, var(--coral), var(--gold)); }
#quarto-document-content > h3, .reference-cards h3 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); font-size: 1.12rem; font-weight: 680; line-height: 1.3; margin-top: 26px; }
#quarto-document-content > p { max-width: 590px; }

.profile-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(17rem, 0.88fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.profile-grid::before {
  position: absolute;
  z-index: -1;
  top: -4rem;
  right: -5rem;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgba(201, 99, 77, 0.2);
  border-radius: 48% 52% 63% 37% / 44% 38% 62% 56%;
  content: "";
  transform: rotate(16deg);
}

.profile-main > h2:first-child,
.profile-side > h2:first-of-type {
  margin-top: 0;
}

.profile-side {
  padding: 0 0 1.25rem;
}

.homepage-photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 1.5rem;
  border: 7px solid white;
  border-radius: 46% 54% 48% 52% / 36% 42% 58% 64%;
  box-shadow: var(--shadow);
  transform: rotate(1.25deg);
}

.profile-side h2 {
  font-size: 1.35rem;
}

.profile-side p,
.profile-side a {
  line-height: 1.6;
}

.news-callout { max-width: 590px; background: var(--callout); border-left: 3px solid #4c9bcc; padding: 11px 12px; font-size: 13px; line-height: 1.55; margin-bottom: 16px; }
.reference-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px; width: 100%; max-width: 850px; }
.reference-cards > .interest-card { background: var(--warm); border: 1px solid #e7e4df; border-radius: 14px; box-shadow: 0 3px 8px rgba(37, 52, 50, .08); padding: 16px 20px 19px; }
.reference-cards > div p { font-size: 13px; line-height: 1.8; margin-bottom: 0; }
.reference-cards h3 { margin: 0 0 7px; }
.more-link { font-size: 13px; margin: 15px 0 0; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 28px 0 0; max-width: 780px; }
.split-section h2 { margin-top: 0 !important; }
.split-section p { font-size: 13px; }
.publication-list { max-width: 760px; }

.interest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  margin: 0.5rem 0 0;
}

.interest-group {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.interest-group h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.interest-group ul {
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.interest-group li {
  margin-bottom: 0.55rem;
  line-height: 1.55;
}

.interest-group li:last-child {
  margin-bottom: 0;
}
.publication-list dl { margin: 0; }
.publication-list dt { float: left; clear: left; width: 58px; color: var(--muted); font-size: 12px; }
.publication-list dd { margin: 0 0 16px 72px; padding-bottom: 15px; border-bottom: 1px solid #e0e5de; }
.publication-list dd p { margin: 3px 0 0; color: var(--muted); }
#quarto-footer { max-width: 1040px; margin: 0 auto; border-top: 1px solid var(--line); padding: 20px 22px 25px; color: var(--muted); font-size: 12px; }
@media (max-width: 700px) {
  #quarto-content { padding: 19px 20px 38px; }
  #title-block-header .title, #quarto-document-content > h1:first-child { font-size: 40px; }
  .home-grid, .split-section, .reference-cards { grid-template-columns: 1fr; gap: 24px; }
  .profile-panel { max-width: 260px; }
  .navbar { padding: 0 20px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--pine); text-decoration-color: #9fbdc6; text-underline-offset: 0.14em; }
a:hover { color: #275766; text-decoration-thickness: 2px; }
.site-header, main, footer { max-width: 1040px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.site-header {
  min-height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
}
.wordmark { color: var(--ink); text-decoration: none; font-family: "Lora", Georgia, serif; font-weight: 700; letter-spacing: 0; }
.wordmark span { color: var(--ink); margin-left: 3px; }
nav { display: flex; gap: 20px; margin-right: auto; margin-left: 28px; }
nav a { color: var(--ink); text-decoration: none; }
nav a:hover { color: var(--pine); }
nav a[aria-current="page"] { color: var(--pine); font-weight: 600; }
.intro { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 68px; padding: 78px 0 72px; }
.portrait {
  width: 180px;
  aspect-ratio: 1;
  display: block;
  margin: 0 auto 12px;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.caption, .eyebrow, .office, .section-label p, footer, time, .pub-year, .small-note {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}
.caption { margin: 7px 0 0; line-height: 1.35; }
.eyebrow { color: var(--pine); margin: 3px 0 12px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Lora", Georgia, serif; color: var(--ink); }
h1 { font-size: 51px; font-weight: 700; line-height: 1.1; margin-bottom: 9px; }
h2 { font-size: 25px; font-weight: 700; line-height: 1.15; margin-bottom: 21px; }
h2::after { content: ""; display: block; width: 29px; border-bottom: 3px solid var(--accent); margin-top: 6px; }
h3 { font-size: 17px; line-height: 1.25; font-weight: 700; margin-bottom: 7px; }
.role { font-size: 24px; line-height: 1.15; margin-bottom: 25px; }
.intro-copy > p:not(.eyebrow):not(.role):not(.office) { max-width: 650px; }
.page-hero { display: block; border-top: 0; padding: 54px 0 37px; }
.page-hero h1 { margin-bottom: 19px; }
.page-hero > p:last-child { font-size: 27px; line-height: 1.2; max-width: 680px; margin-bottom: 0; }
.contact-links { display: flex; flex-wrap: wrap; gap: 7px 21px; margin: 26px 0 9px; font-family: "DM Mono", monospace; font-size: 13px; }
.office { margin-bottom: 0; }
section { border-top: 1px solid var(--line); padding: 42px 0 48px; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 42px; }
.section-label p { color: var(--pine); margin-bottom: 8px; text-transform: uppercase; }
.news { padding-top: 30px; padding-bottom: 34px; }
.news-list, .publication-list { list-style: none; padding: 0; margin: 0; }
.news-list li { display: grid; grid-template-columns: 95px 1fr; gap: 18px; padding: 8px 0; }
.news-list li + li { border-top: 1px solid #e2e6e0; }
.lead { font-size: 25px; line-height: 1.25; max-width: 700px; }
.interest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0 54px; }
.interest-grid div { border-top: 3px solid var(--pine); padding-top: 11px; }
.interest-grid p { line-height: 1.25; }
.subheading { border-bottom: 1px solid var(--line); padding-bottom: 11px; margin-bottom: 0; }
.publication-list li { display: grid; grid-template-columns: 58px 1fr; gap: 16px; border-bottom: 1px solid #e0e5de; padding: 17px 0 16px; }
.publication-list a { font-size: 22px; font-weight: 600; }
.publication-list p { font-size: 18px; line-height: 1.2; color: var(--muted); margin: 4px 0 0; }
.text-link { margin: 22px 0 0; font-family: "DM Mono", monospace; font-size: 13px; }
.people-list article { padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid #e0e5de; }
.people-list article:last-child { border: 0; margin-bottom: 0; }
.people-list p { margin-bottom: 0; }
.open-call { background: var(--warm); padding: 19px 20px 22px !important; border-top: 2px solid var(--pine); }
.teaching-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
ul { padding: 0; list-style: none; margin: 0; }
.teaching-grid li { border-top: 1px solid #e0e5de; padding: 12px 0; line-height: 1.18; }
.teaching-grid li:last-child { border-bottom: 1px solid #e0e5de; }
.teaching-list { max-width: 700px; }
.teaching-list li { border-top: 1px solid #e0e5de; padding: 14px 0; line-height: 1.18; }
.teaching-list li:last-child { border-bottom: 1px solid #e0e5de; }
.teaching-list strong { display: block; font-family: "DM Mono", monospace; font-size: 12px; color: var(--pine); font-weight: 500; margin-bottom: 3px; }
.teaching-list span { display: block; color: var(--muted); font-size: 17px; margin-top: 4px; }
.teaching-grid strong { display: block; font-family: "DM Mono", monospace; font-size: 12px; color: var(--pine); font-weight: 500; margin-bottom: 3px; }
.teaching-grid span { display: block; color: var(--muted); font-size: 17px; margin-top: 4px; }
.small-note { margin: 18px 0 0; line-height: 1.45; }
.background { padding-bottom: 82px; }
.timeline p { display: grid; grid-template-columns: 130px 1fr; gap: 14px; border-top: 1px solid #e0e5de; padding: 12px 0; margin: 0; }
.timeline p:last-child { border-bottom: 1px solid #e0e5de; }
.timeline span { font-family: "DM Mono", monospace; font-size: 12px; color: var(--pine); }
footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 25px; }
footer p { margin: 0; }
.home-about { display: block; border: 0; padding: 25px 0 18px; }
.home-about > h2 { margin-bottom: 22px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 62px; max-width: 890px; }
.bio { max-width: 590px; }
.bio p { margin-bottom: 15px; }
.news-callout { background: var(--callout); border-left: 3px solid #4c9bcc; padding: 11px 12px; font-size: 13px; line-height: 1.55; }
.profile-panel { padding-top: 3px; font-size: 13px; }
.profile-panel .portrait { width: 188px; margin: 0 auto 12px; }
.profile-panel .caption { text-align: center; margin-bottom: 11px; }
.profile-panel p { margin-bottom: 8px; }
.profile-panel span { color: var(--muted); }
.home-section { display: block; border: 0; padding: 9px 0 20px; }
.reference-cards { grid-template-columns: 1fr 1fr; gap: 38px; margin: 0; max-width: 850px; }
.reference-cards div { background: var(--warm); border: 1px solid #e7e4df; border-top: 1px solid #e7e4df; border-radius: 14px; box-shadow: 0 3px 8px rgba(37, 52, 50, .08); padding: 16px 20px 19px; }
.reference-cards p { font-size: 13px; line-height: 1.8; margin-bottom: 0; }
.more-link { font-size: 13px; margin: 15px 0 0; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 22px 0 56px; }
.split-section p { font-size: 13px; line-height: 1.6; }
.split-section strong { color: var(--ink); }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .site-header, main, footer { padding-left: 20px; padding-right: 20px; }
  .site-header { min-height: 60px; align-items: flex-start; padding-top: 14px; gap: 12px; }
  nav { gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-left: 10px; font-size: 10px; }
  .intro, section { grid-template-columns: 1fr; gap: 27px; }
  .intro { padding: 42px 0 49px; }
  .page-hero { padding: 48px 0 43px; }
  .page-hero > p:last-child { font-size: 23px; }
  .portrait-wrap { max-width: 215px; }
  h1 { font-size: 40px; }
  .role { font-size: 22px; }
  .interest-grid, .teaching-grid { grid-template-columns: 1fr; gap: 25px; }
  .interest-grid { margin-bottom: 42px; }
  section { padding: 43px 0 47px; }
  .news { padding-top: 26px; padding-bottom: 27px; }
  .news-list li { grid-template-columns: 78px 1fr; gap: 12px; }
  .timeline p { grid-template-columns: 90px 1fr; }
  footer { padding-top: 17px; padding-bottom: 20px; }
  .home-about { padding-top: 19px; }
  .home-grid, .split-section { grid-template-columns: 1fr; gap: 24px; }
  .profile-panel { max-width: 260px; }
  .reference-cards { grid-template-columns: 1fr; gap: 17px; }
}