:root {
  --bg: #fbfbf8;
  --ink: #171815;
  --muted: #6b6f67;
  --soft: #eeeee8;
  --line: #dcded6;
  --accent: #2e6d64;
  --accent-warm: #8a4b2f;
  --max: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  font-weight: 650;
  text-decoration-color: rgba(46, 109, 100, 0.28);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-warm);
  text-decoration-color: rgba(138, 75, 47, 0.38);
}

:focus-visible {
  outline: 2px solid rgba(46, 109, 100, 0.4);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 0.45rem 0.7rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 248, 0.92);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.brand-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.91rem;
  white-space: nowrap;
}

.nav-links a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.intro {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: clamp(1.35rem, 3vw, 2.1rem);
  align-items: center;
  padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(2.2rem, 5vw, 3.4rem);
}

.intro-copy,
.news-item > div,
.related-work li {
  min-width: 0;
}

.intro-figure {
  width: 216px;
  margin: 0;
}

.intro-photo-frame {
  display: block;
  width: 216px;
  height: 216px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: var(--soft);
  contain: paint;
  overflow: clip;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(20, 22, 18, 0.08);
}

.intro-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.intro-figure figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.kicker {
  margin: 0 0 0.65rem;
  color: var(--accent-warm);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1,
h2 {
  line-height: 1.13;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  font-weight: 500;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  font-weight: 500;
}

h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  line-height: 1.35;
}

.lead {
  max-width: 680px;
  margin-bottom: 0.8rem;
  color: #323530;
  font-size: 1rem;
  line-height: 1.62;
}

.lead-secondary {
  max-width: 680px;
  margin-bottom: 1.25rem;
  color: #454942;
  font-size: 0.98rem;
  line-height: 1.62;
}

.inline-links,
.news-links,
.work-links,
.item-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
}

.inline-links a,
.inline-links .plain-email,
.news-links a,
.work-links a,
.item-links a {
  font-size: 0.94rem;
}

.inline-links {
  gap: 0.5rem;
}

.inline-links a,
.inline-links .plain-email {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.42);
  color: var(--accent);
  line-height: 1;
}

.inline-links a {
  text-decoration: none;
}

.inline-links .plain-email {
  color: var(--muted);
  font-weight: 650;
}

.inline-links a:hover {
  border-color: rgba(46, 109, 100, 0.45);
}

.news-links span {
  color: var(--muted);
  font-size: 0.94rem;
}

.work-links span,
.item-links span {
  color: var(--muted);
  font-size: 0.94rem;
}

.focus-section,
.featured-section,
.news-section,
.compact-section,
.research-program {
  padding: clamp(2rem, 4.5vw, 3.4rem) 0;
  border-top: 1px solid var(--line);
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-copy {
  max-width: 720px;
  color: #333631;
  font-size: 1.03rem;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.focus-card {
  min-width: 0;
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.45);
}

.focus-card h3 {
  margin-bottom: 0.55rem;
}

.focus-card p {
  margin-bottom: 0;
  color: #3c4139;
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.featured-list {
  border-top: 1px solid var(--line);
}

.featured-item {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.featured-item h3 {
  margin-bottom: 0;
}

.featured-item p {
  max-width: 680px;
  margin-bottom: 0;
  color: #3c4139;
  font-size: 0.97rem;
  line-height: 1.65;
}

.featured-item .item-links {
  grid-column: 2;
  margin-top: 0.35rem;
}

.news-list,
.plain-list,
.related-work ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.news-item time {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 680;
}

.news-item.is-upcoming time {
  color: var(--accent-warm);
  font-weight: 760;
}

.news-item p {
  margin-bottom: 0.35rem;
}

.plain-action {
  margin: 1.1rem 0 0;
}

.page-hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.page-hero h1 {
  margin-bottom: 1.2rem;
}

.page-intro {
  max-width: 760px;
  color: #30342e;
  font-size: clamp(1.02rem, 1.7vw, 1.14rem);
}

.about-narrative {
  max-width: 760px;
}

.about-narrative p {
  margin-bottom: 1rem;
}

.about-photo {
  max-width: 460px;
  margin: 1.35rem 0 1.25rem;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 10px 24px rgba(20, 22, 18, 0.08);
}

.about-photo figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.music-list {
  max-width: 760px;
  margin: 0.25rem 0 0;
  padding-left: 1.15rem;
}

.music-list li + li {
  margin-top: 0.55rem;
}

.research-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  padding-bottom: 2rem;
}

.research-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.research-nav a:hover {
  color: var(--ink);
}

.research-program h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
}

.primary-program {
  border-top-color: var(--ink);
  border-top-width: 2px;
}

.research-program > p {
  max-width: 780px;
  color: #30342e;
  font-size: 1.02rem;
}

.related-work {
  max-width: 780px;
  margin-top: 1.7rem;
}

.related-work h3 {
  margin-bottom: 0.5rem;
}

.related-work li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.related-work li:last-child {
  border-bottom: 1px solid var(--line);
}

.related-work strong,
.related-work span {
  display: block;
}

.related-work span {
  color: var(--muted);
}

.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  margin-top: 0.35rem;
}

.related-work .work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  align-items: center;
}

.related-work .work-links a,
.related-work .work-links span {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
}

.related-work .work-links span {
  color: var(--muted);
}

.fact-list {
  max-width: 760px;
  margin: 0;
}

.fact-list div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.fact-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  color: var(--accent);
  font-weight: 760;
}

.fact-list dd {
  margin: 0;
}

.plain-list {
  max-width: 760px;
  border-top: 1px solid var(--line);
}

.plain-list li {
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.plain-list span {
  color: var(--muted);
}

.teaching-groups {
  max-width: 800px;
  border-top: 1px solid var(--line);
}

.teaching-group {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.teaching-group h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1rem;
}

.teaching-courses {
  min-width: 0;
}

.teaching-course + .teaching-course {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.teaching-course strong,
.teaching-course span {
  display: block;
}

.teaching-course span {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 760px;
}

.two-column p {
  color: var(--muted);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  font-size: 0.92rem;
}

.footer-shell p {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .nav-shell {
    min-height: auto;
    padding: 0.75rem 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .intro-photo {
    width: 100%;
    height: 100%;
  }

  .intro-figure {
    width: 156px;
    margin-top: 0;
  }

  .intro-photo-frame {
    width: 156px;
    height: 156px;
  }

  .lead,
  .lead-secondary {
    max-width: min(100%, 32ch);
    font-size: 0.96rem;
  }

  .news-item,
  .featured-item,
  .teaching-group,
  .fact-list div,
  .plain-list li,
  .two-column {
    grid-template-columns: 1fr;
  }

  .focus-grid {
    display: block;
    width: 100%;
  }

  .focus-card + .focus-card {
    border-top: 1px solid var(--line);
  }

  .featured-item .item-links {
    grid-column: auto;
  }

  .news-item {
    gap: 0.35rem;
  }

  .footer-shell {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .section-shell,
  .nav-shell {
    width: min(var(--max), calc(100% - 48px));
  }

  .nav-links {
    gap: 0.85rem;
  }
}
