:root {
  color-scheme: light;
  --ink: #101114;
  --muted: #5f636b;
  --paper: #f5f5f7;
  --white: #ffffff;
  --line: #d9d9de;
  --blue: #1768e5;
  --blue-dark: #0b4db3;
  --green: #b8f4cd;
  --header-height: 52px;
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 28px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 9px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.scrolled {
  border-color: rgba(16, 17, 20, 0.1);
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
}

.nav-shell,
.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.nav-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.wordmark {
  width: max-content;
  font-size: 15px;
  font-weight: 760;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  color: #2f3237;
}

.desktop-nav a,
.nav-contact {
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.nav-contact:hover {
  color: var(--blue);
}

.nav-contact {
  justify-self: end;
  font-size: 13px;
  font-weight: 650;
}

.hero {
  position: relative;
  width: var(--shell);
  min-height: 720px;
  height: 92svh;
  max-height: 920px;
  margin-inline: auto;
  padding: calc(var(--header-height) + 68px) 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(60px, 9vw, 140px);
}

.hero-copy {
  padding-bottom: 36px;
}

.eyebrow,
.section-index {
  margin: 0 0 24px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 720;
  color: var(--blue);
}

.hero h1 {
  margin: 0;
  font-size: clamp(80px, 9.5vw, 144px);
  line-height: 0.9;
  font-weight: 760;
}

.hero-role {
  margin: 26px 0 0;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1;
  font-weight: 660;
  color: #6a6e75;
}

.hero-intro {
  max-width: 620px;
  margin: 34px 0 0;
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.55;
  color: #34373c;
}

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

.button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 650;
  transition: transform 180ms ease, background-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.button-secondary:hover {
  background: var(--white);
}

.hero-portrait {
  width: min(100%, 410px);
  justify-self: end;
}

.portrait-frame {
  overflow: hidden;
  aspect-ratio: 0.755;
  border-radius: var(--radius);
  background: #dce7f2;
  box-shadow: 0 26px 70px rgba(22, 32, 49, 0.14);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-note {
  margin: 14px 0 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.scroll-cue i {
  width: 44px;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    transform: scaleX(0.35);
  }
  50% {
    transform: scaleX(1);
  }
}

.section {
  padding: 136px 0;
}

.profile {
  background: var(--white);
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 10vw;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.08;
  font-weight: 700;
}

.profile-copy {
  align-self: end;
}

.profile-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.profile-copy .lead {
  margin-bottom: 24px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.6;
  color: var(--ink);
  font-weight: 540;
}

.signal {
  padding: 78px 0;
  background: var(--ink);
  color: var(--white);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-item {
  min-height: 150px;
  padding: 6px 36px;
  border-left: 1px solid #3b3d42;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.signal-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.signal-item strong {
  font-size: clamp(54px, 6vw, 84px);
  line-height: 1;
  font-weight: 620;
}

.signal-item span {
  font-size: 14px;
  color: #aaaeb5;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 54px;
}

.split-heading > p {
  max-width: 360px;
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

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

.publication {
  min-height: 196px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 80px;
  gap: 22px;
  align-items: start;
}

.publication-number,
.publication time {
  padding-top: 5px;
  font-size: 13px;
  color: #888c93;
}

.publication time {
  text-align: right;
}

.publication-meta {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--blue);
  font-weight: 650;
}

.publication h3 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(22px, 2.25vw, 32px);
  line-height: 1.34;
  font-weight: 620;
}

.publication.featured h3 {
  font-size: clamp(28px, 2.7vw, 39px);
}

.authors {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.edited-work {
  margin-top: 72px;
  padding: 32px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;
}

.edited-label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.edited-work div p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

.edited-work div p + p {
  margin-top: 14px;
}

.projects {
  background: var(--blue-dark);
  color: var(--white);
}

.light .section-index,
.projects .section-index {
  color: var(--green);
}

.split-heading.light > p {
  color: #c7d4e8;
}

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

.project-card {
  min-height: 430px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 200ms ease, background-color 200ms ease,
    border-color 200ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.07);
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-year {
  font-size: 14px;
  color: #bcd0ed;
}

.status {
  font-size: 12px;
  color: #bfd0e9;
}

.status.active {
  color: var(--green);
}

.project-card h3 {
  margin: 54px 0 18px;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.35;
  font-weight: 620;
}

.project-card > p {
  margin: 0;
  color: #c7d4e8;
  font-size: 14px;
  line-height: 1.7;
}

.project-card dl {
  margin: auto 0 0;
}

.project-card dl div {
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.project-card dl div + div {
  margin-top: 11px;
}

.project-card dt {
  color: #9cb2d1;
}

.project-card dd {
  margin: 0;
}

.experience {
  background: var(--white);
}

.experience .section-heading {
  margin-bottom: 72px;
}

.timeline {
  border-top: 2px solid var(--ink);
}

.timeline-row {
  min-height: 170px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 80px;
  gap: 32px;
  align-items: start;
}

.timeline-row time,
.timeline-row > span {
  padding-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.timeline-row > span {
  text-align: right;
}

.timeline-row h3 {
  margin: 0;
  font-size: clamp(24px, 2.45vw, 34px);
  font-weight: 620;
}

.timeline-row p {
  margin: 12px 0 0;
  color: var(--muted);
}

.honors-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 9vw;
}

.honors-content {
  min-width: 0;
}

.award-list {
  border-top: 2px solid var(--ink);
}

.award {
  min-height: 112px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
}

.award time {
  padding-top: 4px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.award p {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 560;
}

.credentials {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
}

.credentials-label {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.credentials ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.credentials li {
  padding: 8px 11px;
  border: 1px solid #cdd0d5;
  border-radius: 5px;
  background: var(--white);
  font-size: 13px;
}

.contact {
  padding: 120px 0;
  background: var(--ink);
  color: var(--white);
}

.contact .section-index {
  color: var(--green);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.contact h2 {
  margin: 0;
  font-size: clamp(52px, 6.2vw, 92px);
  line-height: 1.02;
  font-weight: 670;
}

.contact-details {
  border-top: 1px solid #3c3e43;
}

.contact-details a {
  min-height: 94px;
  padding: 22px 0;
  border-bottom: 1px solid #3c3e43;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: color 180ms ease;
}

.contact-details a:hover {
  color: var(--green);
}

.contact-details span {
  margin-bottom: 8px;
  color: #92969e;
  font-size: 11px;
}

.contact-details strong {
  overflow-wrap: anywhere;
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 520;
}

footer {
  padding: 30px 0;
  border-top: 1px solid #2f3135;
  background: var(--ink);
  color: #92969e;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal[data-delay="1"] {
  transition-delay: 100ms;
}

.reveal[data-delay="2"] {
  transition-delay: 180ms;
}

.reveal[data-delay="3"] {
  transition-delay: 260ms;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .desktop-nav {
    display: none;
  }

  .nav-shell {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: calc(100svh - 12px);
    height: auto;
    max-height: none;
    padding-top: calc(var(--header-height) + 54px);
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.6fr);
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(68px, 12vw, 104px);
  }

  .hero-intro {
    font-size: 18px;
  }

  .hero-portrait {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 104px 0;
  }

  .profile-grid,
  .honors-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 0;
  }

  .signal-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

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

  .project-card {
    min-height: 350px;
  }

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

@media (max-width: 640px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  .hero {
    padding-top: calc(var(--header-height) + 38px);
    padding-bottom: 20px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 24px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: 66px;
  }

  .hero-role {
    margin-top: 18px;
    font-size: 31px;
  }

  .hero-intro {
    margin-top: 25px;
    font-size: 17px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .button {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 14px;
  }

  .hero-portrait {
    width: min(58%, 230px);
    justify-self: end;
  }

  .portrait-note {
    font-size: 11px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .profile-grid {
    gap: 44px;
  }

  .profile-copy .lead {
    font-size: 21px;
  }

  .signal {
    padding: 62px 0;
  }

  .signal-grid {
    gap: 34px 0;
  }

  .signal-item {
    min-height: 112px;
    padding: 4px 20px;
  }

  .signal-item strong {
    font-size: 52px;
  }

  .split-heading {
    display: block;
    padding-bottom: 42px;
  }

  .split-heading > p {
    margin-top: 24px;
  }

  .publication {
    min-height: 0;
    padding: 27px 0;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .publication time {
    display: none;
  }

  .publication h3,
  .publication.featured h3 {
    font-size: 22px;
    line-height: 1.45;
  }

  .edited-work {
    margin-top: 52px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-card {
    min-height: 390px;
    padding: 24px;
  }

  .project-card h3 {
    margin-top: 42px;
    font-size: 25px;
  }

  .experience .section-heading {
    margin-bottom: 48px;
  }

  .timeline-row {
    min-height: 0;
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .timeline-row time {
    grid-column: 1;
    padding-top: 0;
  }

  .timeline-row div {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .timeline-row > span {
    grid-column: 2;
    grid-row: 1;
    padding-top: 0;
  }

  .timeline-row h3 {
    font-size: 24px;
  }

  .honors-layout {
    gap: 48px;
  }

  .award {
    grid-template-columns: 54px 1fr;
    gap: 12px;
  }

  .award p {
    font-size: 17px;
  }

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

  .contact {
    padding: 82px 0;
  }

  .contact-layout {
    gap: 54px;
  }

  .contact h2 {
    font-size: 48px;
  }
}

@media (max-width: 640px) and (max-height: 760px) {
  .hero {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 14px;
    gap: 18px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 9px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-role {
    margin-top: 10px;
    font-size: 25px;
  }

  .hero-intro {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .button {
    min-height: 40px;
  }

  .hero-portrait {
    width: min(44%, 170px);
  }

  .portrait-note {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 56px;
  }

  .hero-role {
    font-size: 27px;
  }

  .hero-portrait {
    width: 64%;
  }

  .button {
    width: 100%;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 38px;
  }
}

@media (max-width: 380px) and (max-height: 760px) {
  .hero-portrait {
    width: min(44%, 170px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
