@font-face {
  font-family: "Latin Modern Roman";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/lmroman-normal.woff") format("woff");
}
@font-face {
  font-family: "Latin Modern Roman";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/lmroman-italic.woff") format("woff");
}
@font-face {
  font-family: "Latin Modern Roman";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/lmroman-bold.woff") format("woff");
}

:root {
  --ink: #262a33;
  --heading: #1d1d1b;
  --muted: #625a50;
  --rule: #d8caa7;
  --paper: #f4e8da;
  --paper-soft: #f8eee3;
  --surface: #fff5ea;
  --burgundy: #990f3d;
  --teal: #0d7680;
  --gold: #b57614;
  --serif: "Latin Modern Roman", Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --shell: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.62; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--burgundy); }
.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--heading); color: var(--paper); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { border-bottom: 1px solid var(--rule); background: rgba(244,232,218,.96); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { color: var(--heading); font-family: var(--serif); font-weight: 700; font-size: 2rem; text-decoration: none; letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.35rem); }
.site-nav a { color: var(--heading); font-family: var(--sans); font-size: .84rem; font-weight: 700; text-decoration: none; padding-block: 1.8rem; position: relative; text-transform: uppercase; letter-spacing: 0; }
.site-nav a::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: 1.15rem; background: var(--burgundy); transform: scaleX(0); transition: transform .18s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; color: var(--heading); background: var(--surface); border: 1px solid var(--rule); padding: .55rem .8rem; font: 700 .78rem var(--sans); text-transform: uppercase; }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(4rem, 9vw, 9rem); align-items: center; padding-block: 3.6rem 3rem; }
.hero h1 { color: var(--heading); font-family: var(--serif); font-size: 3.2rem; line-height: .98; letter-spacing: 0; margin: 0; font-weight: 700; }
.hero h1 span { font-size: 1em; white-space: nowrap; }
.red-rule { display: block; width: 46px; height: 6px; background: var(--burgundy); margin: 1.75rem 0 1.2rem; }
.profile-line { color: var(--heading); font-family: var(--serif); font-size: 1.12rem; font-style: normal; font-weight: 400; line-height: 1.25; max-width: 760px; text-transform: none; }
.role { margin: 0; }
.profile-line span { font: inherit; }
.role span, .focus span { display: block; }
.role span + span, .focus span + span { margin-top: .3em; }
.institution { margin: .75rem 0 0; text-transform: uppercase; }
.focus { margin: .75rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .68rem 1.35rem; border: 1px solid var(--teal); font: 700 .82rem var(--sans); text-decoration: none; border-radius: 2px; text-transform: uppercase; }
.button-primary { background: var(--teal); color: var(--paper); }
.button-primary:hover { background: var(--heading); border-color: var(--heading); color: var(--paper); }
.button-secondary { background: transparent; color: var(--teal); }
.portrait-wrap { margin: 0; justify-self: end; width: min(100%, 390px); }
.portrait { width: 100%; height: auto; object-fit: cover; object-position: center; }

.overview { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 2.5rem; }
.overview article { min-width: 0; padding: 0 clamp(1.4rem, 2.5vw, 2.6rem); border-left: 1px solid var(--rule); }
.overview article:first-child { border-left: 0; padding-left: 0; }
.overview article:last-child { padding-right: 0; }
.overview h2, .content-prose h2, .content-prose h3 { color: var(--heading); font-family: var(--serif); line-height: 1.2; }
.overview h2 { font-size: 1.35rem; margin: 0 0 1.35rem; position: relative; }
.overview h2::after { content: ""; position: absolute; left: 0; bottom: -.55rem; width: 24px; height: 3px; background: var(--burgundy); }
.overview p { font-size: .95rem; line-height: 1.55; }
.text-link { display: inline-block; margin-top: .8rem; }
.contact-list { display: flex; flex-direction: column; gap: .75rem; }
.contact-list h2 { margin-bottom: .5rem; }

.biography { padding-block: 5rem; max-width: 960px; }
.page-main { min-height: 65vh; padding-block: clamp(3.5rem, 6vw, 6rem); }
.page-heading { max-width: 900px; border-bottom: 1px solid var(--rule); padding-bottom: 2rem; margin-bottom: 3rem; }
.page-heading h1 { color: var(--heading); font: 700 4.4rem/1 var(--serif); letter-spacing: 0; margin: 0; }
.page-heading p { color: var(--muted); font-size: 1.15rem; margin: 1rem 0 0; }
.content-prose { max-width: 980px; }
.content-prose h2 { margin: 3.5rem 0 1.2rem; font-size: 2rem; }
.content-prose h3 { margin: 2.4rem 0 1rem; font-size: 1.4rem; }
.content-prose p, .content-prose li { max-width: 880px; }
.content-prose li { margin-bottom: .75rem; }
.content-prose ol { padding-left: 1.45rem; }
.content-prose ol li { border-top: 1px solid var(--rule); padding: 1.05rem 0 1.05rem .35rem; margin: 0; }
.content-prose ol li:last-child { border-bottom: 1px solid var(--rule); }
.gallery { max-width: none; columns: 3 260px; column-gap: 1.2rem; }
.gallery p { break-inside: avoid; margin: 0 0 1.2rem; max-width: none; }
.gallery a { display: block; color: inherit; text-decoration: none; background: var(--surface); border: 1px solid var(--rule); padding: .45rem; transition: border-color .18s ease, transform .18s ease; }
.gallery a:hover { border-color: var(--burgundy); transform: translateY(-2px); }
.gallery img { width: 100%; height: auto; object-fit: contain; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(29,29,27,.88); padding: 2rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(100%, 1200px); max-height: 82vh; width: auto; height: auto; box-shadow: 0 22px 70px rgba(0,0,0,.38); }
.lightbox button { position: absolute; border: 1px solid rgba(244,232,218,.55); background: rgba(244,232,218,.1); color: var(--paper); font: 700 .8rem var(--sans); text-transform: uppercase; cursor: pointer; }
.lightbox button:hover { background: rgba(244,232,218,.2); }
.lightbox-close { top: 1rem; right: 1rem; padding: .6rem .8rem; }
.lightbox-prev, .lightbox-next { top: 50%; width: 42px; height: 42px; transform: translateY(-50%); border-radius: 999px; font-size: 1.2rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-caption { position: absolute; left: 2rem; right: 2rem; bottom: 1rem; color: var(--paper); text-align: center; font-size: .95rem; }

.site-footer { border-top: 1px solid var(--rule); margin-top: 4rem; background: var(--paper-soft); }
.footer-inner { min-height: 105px; display: flex; align-items: center; gap: 2rem; color: var(--muted); font-size: .9rem; }
.footer-mark { color: var(--heading); font-size: 1.8rem; font-weight: 900; letter-spacing: 0; text-decoration: none; margin-right: .5rem; }
.footer-inner p:last-child { border-left: 1px solid var(--rule); padding-left: 2rem; }

@media (min-width: 1100px) {
  .role span { white-space: nowrap; }
}

@media (max-width: 980px) {
  .overview { grid-template-columns: repeat(2, 1fr); }
  .overview article { border-top: 1px solid var(--rule); padding: 2rem; }
  .overview article:nth-child(-n+2) { border-top: 0; }
  .overview article:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero { gap: 3rem; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 36px), var(--shell)); }
  .header-inner { min-height: 68px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--paper); border-bottom: 1px solid var(--rule); padding: .5rem 18px 1rem; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .75rem 0; }
  .site-nav a::after { bottom: .45rem; right: auto; width: 28px; }
  .hero { grid-template-columns: 1fr; padding-block: 3.2rem; }
  .hero-copy { order: 2; }
  .portrait-wrap { order: 1; justify-self: start; width: 210px; }
  .hero h1 { font-size: 2.32rem; }
  .overview { grid-template-columns: 1fr; }
  .overview article, .overview article:nth-child(-n+2) { border-left: 0; border-top: 1px solid var(--rule); padding: 2rem 0; }
  .overview article:first-child { border-top: 0; }
  .gallery { columns: 1; }
  .lightbox { padding: 1rem; }
  .lightbox img { max-height: 76vh; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .4rem; padding-block: 2rem; }
  .footer-inner p { margin: 0; }
  .footer-inner p:last-child { border-left: 0; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
