:root {
  --ink: #17211d;
  --muted: #5d6a63;
  --soft: #eef2ed;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #d8dfd8;
  --forest: #174c3a;
  --moss: #7b8f4f;
  --clay: #b35f3a;
  --sky: #d7e7ee;
  --shadow: 0 22px 80px rgba(23, 33, 29, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(125deg, rgba(215, 231, 238, 0.7), rgba(251, 250, 246, 0) 34rem),
    radial-gradient(circle at 88% 8%, rgba(179, 95, 58, 0.12), transparent 18rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-color: rgba(23, 76, 58, 0.35);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest);
  text-decoration-color: currentColor;
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  color: var(--forest);
  font-weight: 800;
}

.brand-name {
  font-weight: 800;
  line-height: 1.1;
}

.brand-role {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  padding: clamp(38px, 6vw, 60px) 0 clamp(34px, 5vw, 48px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.05rem, 5.9vw, 4.6rem);
  font-weight: 650;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 650;
}

h3 {
  color: var(--forest);
  font-size: 1rem;
  font-weight: 800;
}

.hero-text {
  max-width: 740px;
}

.lede {
  max-width: 710px;
  margin: 28px 0 0;
  color: #2d3933;
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(23, 33, 29, 0.06);
}

.button.primary {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.portrait-panel {
  display: grid;
  gap: 14px;
}

.portrait-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  border: 1px solid rgba(23, 76, 58, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.signal-panel {
  width: calc(100% - 28px);
  margin: -54px 0 0 auto;
  padding: 18px;
  border: 1px solid rgba(23, 76, 58, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.signal-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.signal-panel dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-panel dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

.section {
  padding: clamp(54px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
}

.section-kicker {
  position: sticky;
  top: 24px;
  align-self: start;
}

.section-kicker p {
  max-width: 260px;
  margin: 18px 0 0;
  color: var(--muted);
}

.prose {
  max-width: 820px;
}

.prose p:first-child {
  margin-top: 0;
}

.prose p {
  color: #2d3933;
  font-size: 1.08rem;
}

.work-list,
.project-list,
.credential-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-item,
.project-item,
.credential-list li {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.work-item p,
.project-item p,
.credential-list p {
  margin: 0;
  color: var(--muted);
}

.meta {
  display: block;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
}

.meta + h3 {
  margin-top: 8px;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(23, 76, 58, 0.22);
  border-radius: var(--radius);
  background: rgba(238, 242, 237, 0.7);
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.selected-work {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.credential-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.publication {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.publication p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.publication .paper-link {
  margin-top: auto;
}

.research-thread {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.research-thread {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: rgba(238, 242, 237, 0.7);
}

.thread-intro p {
  margin: 10px 0 0;
  color: var(--muted);
}

.thread-papers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.thread-paper {
  padding-top: 14px;
  border-top: 1px solid rgba(23, 76, 58, 0.16);
}

.thread-paper h4 {
  margin: 0;
  font-size: 1.04rem;
}

.thread-paper p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.paper-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration-color: rgba(23, 76, 58, 0.28);
  text-underline-offset: 4px;
}

.footer {
  padding: 30px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer .site-shell {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 840px) {
  .site-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-nav,
  .footer .site-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero,
  .section-grid,
  .selected-work,
  .thread-papers,
  .credential-list {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    min-height: auto;
  }

  .signal-panel {
    width: auto;
    margin-top: -20px;
  }

  .section-kicker {
    position: static;
  }

  .signal-panel {
    box-shadow: 0 14px 48px rgba(23, 33, 29, 0.1);
  }

  .publication {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3.05rem;
  }

  .button {
    width: 100%;
  }
}
