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

:root {
  --bg: #faf8f3;
  --bg-alt: #f3efe5;
  --text: #1a1a1a;
  --text-soft: #2c2c2c;
  --muted: #6b655c;
  --border: #e2dccd;
  --rule: #1a1a1a;
  --serif: 'EB Garamond', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --measure: 38rem;
  --measure-wide: 52rem;
  --measure-hero: 60rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

/* ── Nav ── */
nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.6rem 2.5rem 1.4rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

nav .brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.005em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

nav ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

nav ul a:hover { color: var(--text); }
nav ul a.active { color: var(--text); border-bottom-color: var(--text); }

/* ── Layout containers ── */
main { padding: 0 2.5rem 6rem; }

.container {
  max-width: var(--measure);
  margin: 0 auto;
}

.container-wide {
  max-width: var(--measure-wide);
  margin: 0 auto;
}

.container-hero {
  max-width: var(--measure-hero);
  margin: 0 auto;
}

/* ── Hero ── */
.hero { padding: 5.5rem 2.5rem 4.5rem; }

.hero-inner {
  max-width: var(--measure-hero);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 4rem;
  align-items: start;
}

.hero-photo {
  width: 220px;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(0.95);
  border-radius: 2px;
}

.hero-photo-placeholder {
  width: 220px;
  height: 280px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  border-radius: 2px;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.4rem;
}

.hero .lede {
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.45;
  font-weight: 400;
  color: var(--text-soft);
  margin-bottom: 1.3rem;
  max-width: 38rem;
}

.hero p.intro {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 0.5rem;
}

.hero-cta a {
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--text);
  transition: opacity 0.15s;
}

.hero-cta a:hover { opacity: 0.55; }

/* ── Section ── */
section { padding: 4rem 0; }
section + section { border-top: 1px solid var(--border); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.section-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.005em;
}

.section-intro {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: var(--measure);
  margin-bottom: 2.5rem;
}

/* ── Page header (non-home pages) ── */
.page-header {
  padding: 4rem 2.5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.page-header .container { max-width: var(--measure-wide); }

.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.page-header .lede {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text-soft);
  max-width: var(--measure);
}

/* ── Featured-in strip ── */
.featured-in {
  text-align: center;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.featured-in span:first-child {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

/* ── Credential badges (About page) ── */
.credential-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.credential-badge:hover {
  border-color: var(--text);
  background: var(--bg-alt);
}

.credential-badge.credential-award {
  border-color: #c8a84b;
  background: #fdf8ec;
}

.credential-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.credential-org {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ── Pull-quote / why-this-matters ── */
.feature {
  background: var(--bg-alt);
  margin: 0 -2.5rem;
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature .container { max-width: var(--measure); }

.feature .eyebrow { margin-bottom: 1.6rem; }

.feature-questions {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.5;
  color: var(--text);
  margin: 2rem 0;
}

.feature-questions p + p { margin-top: 0.6rem; }

.feature-prose {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.feature-prose p + p { margin-top: 1rem; }

/* ── Theme list ── */
.themes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.theme {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.theme h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
}

.theme .body {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.theme .body p + p { margin-top: 0.7rem; }

/* ── Question list ── */
.questions {
  border-top: 1px solid var(--border);
}

.question {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
}

.question h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.question p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: var(--measure);
}

/* ── Generic prose ── */
.prose {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: var(--measure);
}

.prose p + p { margin-top: 1rem; }
.prose ul { padding-left: 1.4rem; margin-top: 0.6rem; }
.prose ul li { margin-bottom: 0.35rem; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { text-decoration-thickness: 2px; }

/* ── Item / publication list ── */
.item-list {
  list-style: none;
  border-top: 1px solid var(--border);
}

.item-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.item-list .item-title {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.item-list .item-meta {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.item-list .item-desc {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
  margin-top: 0.35rem;
  opacity: 0.8;
}

.item-list a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.item-list a:hover { opacity: 0.65; }

.pub-group + .pub-group { margin-top: 3rem; }

.pub-group h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  letter-spacing: -0.005em;
}

/* ── Contact details list ── */
.contact-list {
  list-style: none;
  margin-top: 1.5rem;
  font-size: 1rem;
}

.contact-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: baseline;
}

.contact-list li:first-child { border-top: 1px solid var(--border); }

.contact-list .label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list .value { color: var(--text); }

.contact-list a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2.5rem 3rem;
  font-size: 0.85rem;
  color: var(--muted);
}

footer .footer-inner {
  max-width: var(--measure-hero);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer a:hover { color: var(--text); }

/* ── Inline link style for prose-y content outside .prose ── */
.text-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Responsive ── */
@media (max-width: 820px) {
  .hero { padding: 3.5rem 1.5rem 3rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-photo, .hero-photo-placeholder {
    width: 180px;
    height: 220px;
    order: -1;
  }
  .theme { grid-template-columns: 1fr; gap: 0.6rem; }
  .feature { margin: 0 -1.5rem; padding: 3.5rem 1.5rem; }
  nav { padding: 1.2rem 1.5rem; flex-wrap: wrap; gap: 0.8rem; }
  nav ul { gap: 1.1rem; flex-wrap: wrap; }
  main { padding: 0 1.5rem 4rem; }
  .page-header { padding: 3rem 1.5rem 2.5rem; }
  .contact-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  footer { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .section-title { font-size: 1.6rem; }
  .feature-questions { font-size: 1.2rem; }
  .question h3 { font-size: 1.25rem; }
}

/* ── About / Profile page ── */
.about-page { padding: 0 2.5rem 6rem; }

.profile-header {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
}

.profile-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.profile-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}

.profile-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.45;
  color: var(--text-soft);
  max-width: var(--measure);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 5rem;
  align-items: start;
}

/* ── Aside ── */
.profile-aside {
  position: sticky;
  top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-portrait {
  margin: 0;
  overflow: hidden;
}

.profile-portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%) contrast(0.96);
  transition: filter 0.4s ease;
}

.profile-portrait:hover img { filter: grayscale(0%) contrast(1); }

/* At a glance facts */
.at-a-glance {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
}

.at-a-glance .fact { display: flex; flex-direction: column; gap: 0.15rem; }

.at-a-glance dt {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.at-a-glance dd {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
}

.at-a-glance dd.fact-sub {
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  font-style: normal;
}

.profile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.profile-links li { padding: 0; }

.profile-links a {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.profile-links a:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* ── Body ── */
.profile-body {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: var(--measure);
}

.profile-section { scroll-margin-top: 2rem; }

.profile-section h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.section-number {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.profile-lead {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.6;
}

.profile-lead strong { font-weight: 600; }

/* Lists */
.profile-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.profile-list > li {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.5;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.profile-list > li:last-child { border-bottom: 0; }

.profile-list--detailed > li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.list-label {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.list-year {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.list-meta {
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .profile-aside {
    position: static;
    max-width: 480px;
  }
  .profile-header { padding: 3rem 0 2rem; margin-bottom: 2.5rem; }
}

@media (max-width: 600px) {
  .about-page { padding: 0 1.25rem 4rem; }
  .profile-section h2 { font-size: 1.25rem; }
}
