
:root {
  --ink: #202938;
  --body: #3e4857;
  --muted: #647084;
  --line: #e8e3dc;
  --paper: #ffffff;
  --soft: #faf9f7;
  --accent: #8B3047;
  --accent-dark: #7A263A;
  --accent-hover: #651F31;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--body);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.nav-wrap, .container, .footer-wrap { width: min(1080px, calc(100% - 56px)); margin: 0 auto; }
.nav-wrap { height: 70px; display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px; font-weight: 700; color: var(--ink);
}
nav { display: flex; gap: 28px; }
nav a { color: #344054; font-size: 14px; }
nav a.active { color: var(--accent); font-weight: 600; }
.container { padding: 64px 0 52px; }
.hero {
  display: grid;
  grid-template-columns: 235px 1fr;
  gap: 48px;
  align-items: center;
  padding: 0 0 48px;
}
.portrait {
  width: 235px; height: 293px; object-fit: cover; border-radius: 6px;
  box-shadow: 0 15px 30px rgba(31,41,55,.11);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .19em; font-size: 12px; font-weight: 800;
  color: var(--accent); margin-bottom: 10px;
}
h1,h2,.paper-title { font-family: Georgia, "Times New Roman", serif; color: var(--ink); }
h1 { font-size: 58px; line-height: 1.02; margin: 0 0 12px; letter-spacing: -.02em; }
.subtitle { font-size: 17px; color: #46556b; margin: 0 0 10px; }
.fields { color: var(--muted); margin: 0 0 22px; }
.lead { margin-top: 0; }
.hero p { max-width: 700px; }
.actions { margin-top: 20px; }
.btn { display: inline-block; padding: 9px 15px; border-radius: 4px; font-size: 14px; font-weight: 700; }
.btn.primary { color: white; background: var(--accent-dark); }
.btn.primary:hover { background: var(--accent-hover); color: white; }
.section { border-top: 1px solid var(--line); padding: 32px 0 6px; }
.section + .section { margin-top: 12px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
h2 { font-size: 34px; line-height: 1.2; margin: 0 0 25px; }
.section-head > a { font-size: 14px; }
.paper { padding: 4px 0 25px; }
.paper + .paper { border-top: 1px solid var(--line); padding-top: 26px; }
.paper-title { font-weight: 700; font-size: 20px; line-height: 1.35; }
.paper-meta { color: var(--muted); margin: 10px 0; }
.paper-status { color: var(--accent); font-weight: 700; }
.paper p:not(.paper-meta) { max-width: 980px; }
.site-footer { border-top: 1px solid var(--line); margin-top: 38px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0 28px; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) {
  .nav-wrap,.container,.footer-wrap { width: min(100% - 30px,1080px); }
  .nav-wrap { height: auto; padding: 18px 0; align-items: flex-start; gap: 18px; }
  nav { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .container { padding-top: 38px; }
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .portrait { width: 210px; height: 262px; }
  h1 { font-size: 45px; }
  h2 { font-size: 29px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .footer-wrap { flex-direction: column; }
}


/* Page-specific layout styles */
.page-title { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.page-title h1 { font-size: 2.7rem; }
.page-title p { max-width: 760px; color: var(--muted); }

.btn.secondary { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
.btn.secondary:hover { background: var(--soft); color: var(--accent-hover); }

.teaching-group { margin: 32px 0 0; }
.teaching-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 110px;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.teaching-row .term { color: var(--muted); text-align: right; white-space: nowrap; }

.pdf-shell {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 26px;
}
.pdf-shell iframe {
  display: block;
  width: 100%;
  height: 820px;
  border: 0;
  background: #fff;
}
.pdf-fallback { padding: 16px; font-size: .95rem; }

@media (max-width: 760px) {
  .teaching-row { grid-template-columns: 1fr; gap: 2px; }
  .teaching-row .term { text-align: left; }
  .pdf-shell iframe { height: 620px; }
  .page-title h1 { font-size: 2.2rem; }
}
