:root {
  --paper: #ffffff;
  --ink: #121212;
  --muted: #6b6b66;
  --line: #c9c8c1;
  --red: #121212;
  --black: #0b0b0b;
  --max-width: 1460px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  color: white;
  background: var(--black);
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.monogram {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
  width: fit-content;
  font-size: 1.05rem;
  text-decoration: none;
}

.monogram span {
  color: var(--red);
  font-size: 0.75em;
}

.site-header nav {
  display: flex;
  gap: clamp(18px, 3vw, 46px);
}

.site-header nav a,
.header-contact {
  text-decoration: none;
}

.site-header nav a:hover,
.header-contact:hover {
  color: var(--red);
}

.header-contact {
  justify-self: end;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  width: min(calc(100% - 48px), var(--max-width));
  margin-right: auto;
  margin-left: auto;
}

.hero {
  position: relative;
  min-height: 650px;
  padding: clamp(60px, 7vw, 96px) 0 52px;
  border-bottom: 1px solid var(--ink);
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

.hero-index {
  grid-column: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 20px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-title-wrap {
  z-index: 2;
  grid-column: 3 / 10;
  align-self: start;
}

.kicker,
.eyebrow,
.rule-label {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(5rem, 12.2vw, 11.5rem);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.09em;
}

h1 span {
  display: block;
}

h1 span:last-child {
  margin-left: 0.43em;
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.12vw, 2px) var(--ink);
}

.hero-role {
  margin: 44px 0 0 44%;
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.portrait-frame {
  position: absolute;
  z-index: 3;
  right: 1.5%;
  bottom: 52px;
  width: clamp(210px, 22vw, 320px);
  margin: 0;
}

.portrait-frame::before {
  display: none;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 0.89;
  object-fit: cover;
  object-position: 50% 35%;
  filter: none;
}

.portrait-frame figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-institution {
  grid-column: 3 / 7;
  align-self: end;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.hero-institution p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.contact-strip {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 14px 0 42px;
}

.contact-strip dl {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr 2.5fr;
  margin: 0;
}

.contact-strip dl > div {
  min-height: 56px;
  padding: 2px 18px;
  border-left: 1px solid var(--line);
}

.contact-strip dl > div:first-child {
  padding-left: 0;
  border-left: 0;
}

dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.55;
}

.content-section {
  padding: 68px 0 84px;
  border-top: 1px solid var(--ink);
  scroll-margin-top: 20px;
}

.section-marker {
  grid-column: 1 / 4;
  padding-right: 38px;
}

.section-marker > span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
}

.section-marker h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.section-content {
  grid-column: 4 / 13;
}

.profile-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 6%;
}

.profile-summary p {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.62;
}

.profile-summary .lead {
  grid-column: 1 / -1;
  font-family: inherit;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.timeline article,
.feature-row {
  display: grid;
  grid-template-columns: 2fr 7fr;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
}

.timeline time,
.feature-row time,
.activity-list time {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.timeline h3,
.feature-row h3,
.project-list h3,
.award-grid h3 {
  margin: 0 0 7px;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.timeline p,
.feature-row p {
  margin: 0 0 6px;
}

.timeline small,
.feature-row small,
.meta {
  color: var(--muted);
  font-size: 0.76rem;
}

.feature-row .eyebrow {
  margin-bottom: 12px;
}

.project-list article {
  display: grid;
  grid-template-columns: 2fr 7fr;
  gap: 20px;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
}

.project-code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.7rem;
  line-height: 1.5;
}

.project-list p {
  max-width: 860px;
  margin: 0;
  line-height: 1.6;
}

.markdown-copy > :first-child {
  margin-top: 0;
}

.markdown-copy > :last-child {
  margin-bottom: 0;
}

.project-list .eyebrow {
  margin-bottom: 10px;
}

.project-list .meta {
  margin-top: 12px;
}

.publication-list {
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
  counter-reset: papers;
}

.publication-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  counter-increment: papers;
}

.publication-list li > span {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
}

.publication-list p {
  position: relative;
  max-width: 960px;
  padding-right: 48px;
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(0.98rem, 1.3vw, 1.16rem);
  line-height: 1.55;
}

.publication-list p::after {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--muted);
  content: counter(papers, decimal-leading-zero);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.64rem;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.award-grid article {
  min-height: 180px;
  padding: 24px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.award-grid article > span {
  display: block;
  margin-bottom: 42px;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
}

.award-grid p {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.55;
}

.activity-list article {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
}

.activity-list p {
  max-width: 900px;
  margin: 0;
  line-height: 1.6;
}

.developments {
  padding: 72px max(24px, calc((100vw - var(--max-width)) / 2)) 86px;
  border-top: 1px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
}

.developments-header {
  width: 100%;
  margin-bottom: 44px;
}

.section-marker.light {
  grid-column: 1 / 5;
}

.developments-header > p {
  grid-column: 5 / 10;
  align-self: end;
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.development-card {
  width: min(100%, var(--max-width));
  margin: 0 auto 70px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.development-card:last-child {
  margin-bottom: 0;
}

.development-card a {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  text-decoration: none;
}

.development-card.reverse a {
  grid-template-columns: 5fr 7fr;
}

.development-card.reverse img {
  order: 2;
}

.development-card img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  filter: none;
}

.development-card span,
.development-card b {
  color: var(--red);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.development-card h3 {
  margin: 20px 0 22px;
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.development-card p {
  max-width: 400px;
  margin: 0 0 38px;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  min-height: 180px;
  padding: 40px 0;
  border-top: 1px solid var(--ink);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  grid-column: 1 / 5;
}

.site-footer p:nth-child(2) {
  grid-column: 5 / 9;
}

.site-footer a {
  grid-column: 11 / 13;
  justify-self: end;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr 1fr;
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header nav {
    display: none;
  }

  .page-grid,
  .contact-strip {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero {
    min-height: 640px;
    padding-top: 56px;
  }

  .hero-index {
    grid-column: 1 / 3;
  }

  .hero-title-wrap {
    grid-column: 3 / 13;
  }

  .hero-role {
    margin: 38px 0 0 18%;
  }

  .hero-institution {
    grid-column: 3 / 8;
  }

  .portrait-frame {
    right: 0;
    width: 230px;
  }

  .contact-strip dl {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-strip dl > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .contact-strip dl > div {
    margin-top: 10px;
  }

  .section-marker {
    grid-column: 1 / 4;
  }

  .section-content {
    grid-column: 4 / 13;
  }

  .profile-summary {
    grid-template-columns: 1fr;
  }

  .profile-summary .lead {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  body {
    background: var(--paper);
  }

  .hero {
    display: block;
    min-height: 680px;
    padding-top: 48px;
  }

  .hero-index {
    display: none;
  }

  h1 {
    font-size: clamp(4.2rem, 26vw, 7.2rem);
  }

  h1 span:last-child {
    margin-left: 0.12em;
  }

  .hero-role {
    margin: 30px 0 0;
  }

  .hero-institution {
    position: absolute;
    bottom: 44px;
    left: 0;
    width: 48%;
  }

  .portrait-frame {
    right: 0;
    bottom: 40px;
    width: 44%;
  }

  .contact-strip {
    padding-bottom: 42px;
  }

  .contact-strip dl {
    grid-template-columns: 1fr;
  }

  .contact-strip dl > div,
  .contact-strip dl > div:nth-child(3) {
    min-height: 0;
    padding: 16px 0;
    margin: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .content-section {
    display: block;
    padding: 48px 0 60px;
  }

  .section-marker {
    padding: 0 0 30px;
  }

  .section-marker h2 {
    max-width: 270px;
    font-size: 2.3rem;
  }

  .profile-summary {
    display: block;
  }

  .profile-summary p + p {
    margin-top: 30px;
  }

  .timeline article,
  .feature-row,
  .project-list article,
  .publication-list li,
  .activity-list article {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .publication-list p {
    padding-right: 38px;
  }

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

  .award-grid article {
    min-height: 170px;
  }

  .award-grid article > span {
    margin-bottom: 36px;
  }

  .developments {
    padding: 52px 14px 64px;
  }

  .developments-header {
    display: block;
    margin-bottom: 36px;
  }

  .developments-header > p {
    margin-top: 10px;
  }

  .development-card {
    margin-bottom: 52px;
  }

  .development-card a,
  .development-card.reverse a {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .development-card.reverse img {
    order: 0;
  }

  .development-card h3 {
    font-size: 4.8rem;
  }

  .site-footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .site-footer p:first-child,
  .site-footer p:nth-child(2),
  .site-footer a {
    grid-column: auto;
  }

  .site-footer a {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .development-card img {
    transition: none;
  }
}

@media print {
  .site-header,
  .developments,
  .skip-link {
    display: none;
  }

  body {
    background: white;
  }

  .content-section {
    break-inside: avoid;
  }
}
