:root {
  --background: #faf9f6;
  --surface: #f3f3ef;
  --text: #292e2c;
  --muted: #66706b;
  --green: #34564b;
  --border: #dedfda;
  --serif: 'Iowan Old Style', Baskerville, 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
a:focus-visible, summary:focus-visible { outline: 3px solid #789889; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
.container { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 18px; z-index: 100; padding: 10px 14px; background: white; border: 1px solid var(--border); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250,249,246,.97); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--text); white-space: nowrap; }
.desktop-nav { display: flex; justify-content: center; gap: 28px; margin-left: auto; }
.desktop-nav a, .header-cv { font-size: 13px; }
.desktop-nav a { color: #4d5752; }
.header-cv { padding: 8px 0; border-bottom: 1px solid var(--green); color: var(--green); font-weight: 650; white-space: nowrap; }
.mobile-menu { display: none; margin-left: auto; position: relative; }

.hero { border-bottom: 1px solid var(--border); }
.hero-content { max-width: 900px; margin-inline: auto; padding-block: clamp(64px, 9vw, 104px); }
.hero-kicker, .section-label { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin: 10px 0 30px; font-family: var(--serif); font-size: clamp(48px, 7vw, 76px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.appointments { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 760px; margin-bottom: 30px; }
.appointments p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.appointments strong { color: var(--text); font-weight: 650; }
.hero-description { max-width: 710px; margin-bottom: 26px; color: #4f5a55; font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.5; }
.cv-link { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: 13px; font-weight: 700; border-bottom: 1px solid #9aaca4; padding-bottom: 3px; }

.section { padding-block: clamp(64px, 8vw, 88px); border-bottom: 1px solid var(--border); }
.section-muted { background: var(--surface); }
.section-layout { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.6fr); gap: clamp(48px, 8vw, 100px); }
.section-heading h2 { margin: 9px 0 18px; font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); font-weight: 500; line-height: 1.16; letter-spacing: -.025em; }
.section-heading > p:last-child { max-width: 360px; color: var(--muted); }
.section-content { max-width: 690px; }
.lead-copy { margin-bottom: 22px; font-family: var(--serif); font-size: clamp(20px, 2.3vw, 25px); line-height: 1.55; }
.section-content > p:not(.lead-copy) { color: var(--muted); }
.credentials { margin: 34px 0 0; border-top: 1px solid var(--border); }
.credentials div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.credentials dt { color: var(--muted); font-size: 13px; }
.credentials dd { margin: 0; display: flex; flex-direction: column; }
.credentials strong { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.credentials span { color: var(--muted); font-size: 13px; }

.section-heading-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; align-items: end; margin-bottom: 36px; }
.section-heading-wide .section-label { grid-column: 1 / -1; margin: 0; }
.section-heading-wide h2 { margin-bottom: 0; }
.section-heading-wide > p:last-child { justify-self: end; margin: 0; }
.teaching-list { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.teaching-list article { border-top: 2px solid var(--green); padding-top: 18px; }
.teaching-list h3 { margin-bottom: 14px; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.teaching-list ul { list-style: none; padding: 0; margin: 0; }
.teaching-list li { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.teaching-list li span { color: var(--muted); font-size: 12px; white-space: nowrap; }

.interest-list { list-style: none; margin: 26px 0 0; padding: 0; }
.interest-list li { padding: 5px 0; color: var(--muted); font-size: 14px; }
.research-list { border-top: 1px solid var(--border); }
.research-list article { padding: 21px 0; border-bottom: 1px solid var(--border); }
.research-list h3 { max-width: 670px; margin-bottom: 7px; font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); font-weight: 500; line-height: 1.4; }
.research-list article p { margin: 0; color: var(--muted); font-size: 13px; }
.research-note { margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.research-note a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.contact-section { background: var(--surface); }
.contact-list { border-top: 1px solid var(--border); }
.contact-list div { padding: 19px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; }
.contact-list span { color: var(--muted); font-size: 12px; }
.contact-list div a { width: fit-content; font-family: var(--serif); font-size: clamp(20px, 2.5vw, 27px); overflow-wrap: anywhere; }
.contact-list > .cv-link { margin-top: 26px; }

.site-footer { background: var(--background); }
.footer-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 12px; }
.error-page { min-height: 75vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.error-page h1 { margin: 8px 0 14px; font-family: var(--serif); font-size: clamp(42px, 7vw, 66px); font-weight: 500; letter-spacing: -.03em; }
.error-page > p:not(.section-label) { color: var(--muted); }

@media (max-width: 820px) {
  .container { width: min(720px, calc(100% - 44px)); }
  .desktop-nav, .header-cv { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { cursor: pointer; list-style: none; color: var(--green); font-size: 13px; font-weight: 650; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; top: 35px; right: 0; min-width: 220px; display: flex; flex-direction: column; padding: 8px 18px; background: white; border: 1px solid var(--border); box-shadow: 0 12px 28px rgba(35,45,40,.09); }
  .mobile-menu nav a { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
  .mobile-menu nav a:last-child { border: 0; color: var(--green); font-weight: 650; }
  .section-layout { grid-template-columns: 1fr; gap: 30px; }
  .section-heading h2 { max-width: 600px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 68px; }
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; }
  .brand { font-size: 18px; }
  .hero-content { padding-block: 54px 62px; }
  .hero h1 { font-size: clamp(43px, 14vw, 58px); margin-bottom: 24px; }
  .appointments { grid-template-columns: 1fr; gap: 15px; margin-bottom: 25px; }
  .hero-description { font-size: 19px; }
  .section { padding-block: 56px; }
  .section-heading-wide { display: block; margin-bottom: 28px; }
  .section-heading-wide h2 { margin: 8px 0 10px; }
  .teaching-list { grid-template-columns: 1fr; gap: 36px; }
  .credentials div { grid-template-columns: 1fr; gap: 3px; }
  .contact-list div a { font-size: 20px; }
  .footer-inner { min-height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
