/* Design 1 — Editorial
   One serif family (EB Garamond), a 36rem reading column, small-caps labels,
   hairline rules, and a single ink-blue accent. */

:root {
  --ink: #1d1b19;
  --muted: #5b5650;
  --rule: #d9d4cc;
  --accent: #24476b;      /* ink blue, 9.6:1 on white */
  --paper: #ffffff;
  --column: 36rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "EB Garamond", "Garamond", "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.6;
  font-variant-numeric: oldstyle-nums proportional-nums;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: 0.5rem 1rem; z-index: 10; }

.column { max-width: var(--column); margin: 0 auto; padding: 0 1.25rem; }
.nowrap { white-space: nowrap; }

/* ---------- Masthead ---------- */
.masthead { padding: 3.5rem 0 0; text-align: center; }
.masthead__name {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
}
.masthead__name a { color: var(--ink); text-decoration: none; }
.masthead__role { margin: 0.25rem 0 1.75rem; font-style: italic; color: var(--muted); font-size: 1.05rem; }

.nav {
  list-style: none;
  margin: 0;
  padding: 0.7rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.6rem;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.12em;
  font-size: 1.1rem;
}
.nav a:hover { color: var(--accent); }

/* ---------- Intro ---------- */
.intro { padding: 4.5rem 0 1rem; text-align: center; }
.intro h1 {
  margin: 0 0 1.25rem;
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.intro__lede { font-size: 1.35rem; line-height: 1.45; margin: 0 auto 1rem; max-width: 30rem; }
.intro__text { color: var(--muted); font-style: italic; margin: 0 auto; max-width: 30rem; }

/* ---------- Sections ---------- */
section { padding-top: 3.75rem; scroll-margin-top: 1rem; }

.label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.label::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

p { margin: 0 0 1rem; hyphens: auto; }

.note { color: var(--muted); font-size: 1.1rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 120px 1fr; gap: 1.75rem; align-items: start; }
.about__photo { width: 120px; height: 128px; object-fit: cover; filter: grayscale(0.15); }
.award {
  border-top: 1px solid var(--rule);
  padding-top: 0.9rem;
  font-size: 1.1rem;
  color: var(--muted);
}
.award__year { font-variant-caps: all-small-caps; letter-spacing: 0.1em; color: var(--accent); margin-right: 0.4rem; }

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: 13rem 1fr; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.book__cover { margin: 0; }
.book__cover img { width: 100%; box-shadow: 0 1px 2px rgba(0,0,0,0.12), 0 10px 24px -12px rgba(0,0,0,0.35); }
.book__title { margin: 0; font-size: 2.6rem; font-weight: 500; line-height: 1; }
.book__title cite { font-style: normal; }
.book__subtitle { font-style: italic; font-size: 1.35rem; line-height: 1.3; margin: 0.4rem 0 1rem; }
.book__imprint { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.5rem; }

.button {
  display: inline-block;
  padding: 0.45rem 1.1rem 0.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.12em;
  font-size: 1.1rem;
}
.button:hover { background: var(--accent); color: #fff; }

.dropcap::first-letter {
  float: left;
  font-size: 3.9em;
  line-height: 0.82;
  padding: 0.08em 0.08em 0 0;
  color: var(--accent);
}

.endorsement { margin: 2.25rem 0; padding: 0 0 0 1.4rem; border-left: 1px solid var(--accent); }
.endorsement blockquote { margin: 0; font-style: italic; font-size: 1.15rem; line-height: 1.55; }
.endorsement figcaption { margin-top: 0.75rem; font-size: 1.05rem; color: var(--muted); }
.endorsement figcaption cite { font-style: italic; }

.editions { width: 100%; border-collapse: collapse; font-size: 1.1rem; font-variant-numeric: lining-nums tabular-nums; }
.editions caption {
  text-align: left;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-bottom: 0.4rem;
}
.editions th, .editions td { text-align: left; padding: 0.45rem 0.5rem 0.45rem 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.editions thead th { font-variant-caps: all-small-caps; letter-spacing: 0.1em; color: var(--muted); border-bottom-color: var(--ink); }
.editions .num { text-align: right; padding-right: 0; }

/* ---------- Research ---------- */
.interests { margin: 0 0 1.25rem; padding-left: 1.2rem; }
.interests li { margin-bottom: 0.35rem; }
.interests li::marker { color: var(--accent); }

/* ---------- Publications ---------- */
.bib { list-style: none; margin: 0; padding: 0; }
.bib li {
  padding-left: 2rem;
  text-indent: -2rem;
  margin-bottom: 1.1rem;
  line-height: 1.5;
}
.bib cite { font-style: italic; }
.trans { color: var(--muted); }

/* ---------- Teaching ---------- */
.courses { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.courses li { break-inside: avoid; padding: 0.35rem 0; border-bottom: 1px solid var(--rule); }

/* ---------- Education ---------- */
.edu { margin: 0 0 1.5rem; }
.edu div { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 0.35rem 0; }
.edu dt { color: var(--accent); font-variant-numeric: lining-nums; }
.edu dd { margin: 0; }

/* ---------- Contact ---------- */
address { font-style: normal; }
address p { margin: 0 0 0.6rem; }

/* ---------- Footer ---------- */
.colophon { margin-top: 5rem; padding: 1.5rem 0 3rem; border-top: 1px solid var(--rule); text-align: center; color: var(--muted); font-size: 1rem; }
.colophon p { margin: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  body { font-size: 1.15rem; }
  .masthead { padding-top: 2rem; }
  .nav { gap: 0.15rem 1.1rem; }
  .intro { padding-top: 3rem; }
  .about { grid-template-columns: 1fr; gap: 1.25rem; }
  .book { grid-template-columns: 1fr; gap: 1.5rem; }
  .book__cover { max-width: 12rem; }
  .book__title { font-size: 2.2rem; }
  .courses { columns: 1; }
  .edu div { grid-template-columns: 3.25rem 1fr; gap: 0.75rem; }
  .bib li { padding-left: 1.25rem; text-indent: -1.25rem; }
}

/* ================= Multi-page additions ================= */
.nav a[aria-current="page"] { color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 0.1rem; }

.page-head { padding: 4rem 0 0.5rem; text-align: center; }
.page-head h1 { margin: 0; font-weight: 400; font-size: clamp(2.2rem, 6vw, 3rem); line-height: 1.1; }
.page-head__sub { margin: 0.6rem 0 0; font-style: italic; color: var(--muted); }

.more { font-style: italic; }
.more::after { content: " \2192"; font-style: normal; }

.teaser { display: grid; grid-template-columns: 8rem 1fr; gap: 1.75rem; align-items: start; }
.teaser__cover img { width: 100%; box-shadow: 0 1px 2px rgba(0,0,0,0.12), 0 8px 18px -10px rgba(0,0,0,0.35); }
.teaser__title { margin: 0; font-size: 2rem; font-weight: 500; line-height: 1; }
.teaser__title cite { font-style: normal; }
.teaser .book__subtitle { font-size: 1.2rem; margin-bottom: 0.5rem; }
.teaser .book__imprint { margin-bottom: 0.75rem; }
.teaser__text { font-size: 1.1rem; }
.teaser__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin: 0; }

.placeholder { border: 1px dashed var(--rule); padding: 1rem 1.2rem; color: var(--muted); font-style: italic; }

@media (max-width: 600px) {
  .page-head { padding-top: 2.75rem; }
  .teaser { grid-template-columns: 6rem 1fr; gap: 1.1rem; }
  .teaser__title { font-size: 1.7rem; }
}
/* Seven nav items must fit on one line inside the 36rem column on desktop. */
@media (min-width: 601px) { .nav { gap: 0.25rem 1.05rem; } .nav a { letter-spacing: 0.1em; } }
