:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --white: #fffefa;
  --ink: #202620;
  --muted: #71766f;
  --green: #496a54;
  --green-dark: #263a30;
  --line: #dedfd8;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.section-wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.section-space {
  padding-block: 120px;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 10;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  background: var(--white);
}

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid rgb(32 38 32 / 8%);
  background: rgb(247 246 242 / 94%);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(1280px, calc(100% - 64px));
  height: 78px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.wordmark {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -2px;
}

.wordmark span {
  color: var(--green);
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  font-weight: 500;
}

.site-nav a,
.back-to-top {
  transition: color 160ms ease;
}

.site-nav a:hover,
.back-to-top:hover {
  color: var(--green);
}

.site-nav .nav-contact {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.nav-contact span {
  padding-left: 7px;
  color: var(--green);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 112px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  padding-bottom: 10px;
}

.eyebrow,
.section-label,
.research-card-index,
.info-number {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 23px;
  color: var(--green);
}

.eyebrow-mark {
  width: 20px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(76px, 10vw, 132px);
  font-weight: 500;
  letter-spacing: -7px;
  line-height: 0.93;
}

.hero h1 span {
  color: var(--green);
  font-style: italic;
  font-weight: 500;
}

.hero-bio {
  max-width: 510px;
  margin: 0 0 17px;
  color: #555d54;
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 23px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: background 160ms ease, transform 160ms ease;
}

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

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

.button-primary:hover {
  background: var(--green);
}

.button-primary span,
.button-light span {
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
}

.text-link span {
  color: var(--green);
  font-size: 14px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 57px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.note-line {
  width: 30px;
  height: 1px;
  background: #a5aaa1;
}

.portrait-area {
  width: min(100%, 365px);
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  margin-top: -10px;
}

.portrait-frame {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  place-items: center;
  border: 1px solid #d8dbd2;
  background:
    radial-gradient(ellipse at 50% 34%, rgb(255 255 255 / 85%) 0 18%, transparent 18.5%),
    radial-gradient(ellipse at 50% 94%, rgb(255 255 255 / 85%) 0 38%, transparent 38.5%),
    linear-gradient(145deg, #e9ece4, #e1e5dc);
  box-shadow: 13px 13px 0 #e9e9e1;
}

.portrait-frame::before,
.portrait-frame::after {
  position: absolute;
  z-index: 1;
  width: 22px;
  height: 22px;
  content: "";
  pointer-events: none;
}

.portrait-frame::before {
  top: 13px;
  left: 13px;
  border-top: 1px solid rgb(73 106 84 / 55%);
  border-left: 1px solid rgb(73 106 84 / 55%);
}

.portrait-frame::after {
  right: 13px;
  bottom: 13px;
  border-right: 1px solid rgb(73 106 84 / 55%);
  border-bottom: 1px solid rgb(73 106 84 / 55%);
}

.portrait-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--green-dark);
  text-align: center;
}

.portrait-placeholder-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 8px;
  border: 1px solid rgb(73 106 84 / 35%);
  border-radius: 50%;
  color: var(--green);
  font-size: 23px;
  font-weight: 300;
}

.portrait-placeholder-title {
  font-family: var(--serif);
  font-size: 20px;
}

.portrait-placeholder-note {
  color: #70786d;
  font-size: 9px;
}

.portrait-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-frame [hidden] {
  display: none;
}

.portrait-caption {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  z-index: 2;
  padding: 7px 9px;
  background: rgb(32 38 32 / 65%);
  color: white;
  font-size: 8px;
  letter-spacing: 1.2px;
}

.portrait-caption span {
  padding-inline: 5px;
  color: #c5d2c1;
}

.scroll-cue {
  position: absolute;
  bottom: 37px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-cue span {
  color: var(--green);
  font-size: 17px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}

.section-label span {
  color: var(--green);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0;
}

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

.intro-content {
  display: block;
  margin-top: 52px;
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(43px, 6vw, 70px);
  font-weight: 500;
  letter-spacing: -2.3px;
  line-height: 1.12;
}

.section-title em {
  color: var(--green);
  font-weight: 500;
}

.intro-text {
  max-width: 900px;
}

.intro-text p {
  margin: 0 0 20px;
  color: #424a42;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.85;
}

.research-heading > p,
.section-aside,
.cv-copy,
.contact-content > div > p {
  margin: 0 0 17px;
  color: #595f58;
  font-size: 13px;
  line-height: 1.9;
}

.intro-text .muted,
.contact-content .contact-hint {
  color: #858a82;
  font-size: 11px;
}

.intro-text .text-link {
  margin-top: 10px;
}

.research-section {
  background: var(--green-dark);
  color: #f9f8f3;
}

.light-label {
  color: #bdc5ba;
}

.light-label span {
  color: #b2c8b2;
}

.research-heading,
.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-top: 48px;
}

.research-heading {
  display: block;
}

.research-heading > p.research-summary {
  max-width: 900px;
  margin: 0;
  color: #edf0e9;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.8;
}

.research-heading .section-title em {
  color: #adc1a8;
}

.research-heading > p {
  max-width: 320px;
  margin-bottom: 7px;
  color: #c0c8bd;
}

.research-card {
  max-width: 820px;
  margin-top: 65px;
  margin-inline: auto;
  padding: 27px 30px 30px;
  border: 1px solid rgb(255 255 255 / 22%);
  background: rgb(255 255 255 / 3%);
}

.research-card-index {
  color: #b1bcb0;
  font-size: 10px;
}

.research-card-index span {
  padding-inline: 7px;
  color: #80947f;
}

.research-card-main {
  display: grid;
  grid-template-columns: 1fr 25px;
  align-items: center;
  gap: 22px;
  padding-top: 32px;
}

.research-card-main h3,
.empty-state h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.research-card-main p {
  max-width: 620px;
  margin: 0;
  color: #bdc8bc;
  font-size: 13px;
  line-height: 1.8;
}

.card-arrow {
  align-self: start;
  color: #cad5c5;
  font-size: 19px;
}

.paper-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.paper-upload h3 {
  margin: 0 0 3px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.paper-title-link {
  color: #f9f8f3;
  text-decoration-color: rgb(201 215 195 / 45%);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.paper-title-link:hover {
  color: #cbd9c5;
}

.paper-upload p {
  margin: 0;
  color: #bdc8bc;
  font-size: 11px;
}

.paper-pdf-link {
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgb(255 255 255 / 28%);
  color: #f9f8f3;
  font-size: 11px;
  transition: background 160ms ease;
}

.paper-pdf-link:hover {
  background: rgb(255 255 255 / 9%);
}

.paper-pdf-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #cad8c6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.research-horizon {
  margin-top: 43px;
}

.research-horizon h3 {
  margin: 0 0 17px;
  color: #e7ebe3;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.research-horizon ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 35px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.research-horizon li {
  position: relative;
  padding: 12px 0 12px 20px;
  border-top: 1px solid rgb(255 255 255 / 17%);
  color: #d0d7cd;
  font-size: 11px;
  line-height: 1.7;
}

.research-horizon li::before {
  position: absolute;
  left: 1px;
  color: #adc1a8;
  content: "↗";
}

.research-footnote {
  margin: 19px 0 0;
  color: #bbc5b9;
  font-size: 9px;
}

.research-footnote span {
  padding-right: 8px;
  color: #acc4a8;
}

.section-heading-row {
  align-items: end;
  margin-bottom: 50px;
}

.section-aside {
  max-width: 300px;
  margin: 0 0 8px;
}

.empty-state {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 27px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.empty-symbol {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 1px solid #d6dbd1;
  border-radius: 50%;
  color: var(--green);
  font-size: 18px;
}

.empty-state h3 {
  font-size: 18px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.empty-count {
  color: #8a9087;
  font-size: 12px;
}

.teaching-section {
  background: #eeeee7;
}

.teaching-section .section-heading-row {
  margin-bottom: 45px;
}

.teaching-section .section-aside {
  max-width: none;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.75;
  white-space: nowrap;
}

.teaching-records {
  display: grid;
  gap: 38px;
  scroll-margin-top: 100px;
}

.teaching-record-group h3 {
  margin: 0 0 13px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.course-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #d5d7ce;
  list-style: none;
}

.course-list li {
  padding: 13px 0;
  border-bottom: 1px solid #d5d7ce;
  color: #51584f;
  font-size: 12px;
  line-height: 1.8;
}

.course-code {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 24px 20px 21px;
  border-right: 1px solid var(--line);
  scroll-margin-top: 105px;
}

.info-card:first-child {
  padding-left: 0;
}

.info-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.info-number {
  color: #81877e;
  font-size: 10px;
}

.info-card h3 {
  margin: 22px 0 6px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.info-card p {
  margin: 0;
  color: #70766e;
  font-size: 10px;
  line-height: 1.8;
}

.award-list {
  display: grid;
  gap: 16px;
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
}

.info-card#awards h3 {
  font-size: 26px;
}

.award-list li {
  display: grid;
  gap: 5px;
  color: #555d54;
  font-size: 14px;
  line-height: 1.65;
}

.award-list time {
  color: var(--green);
  font-size: 12px;
}

.info-card-footer {
  margin-top: auto;
  padding-top: 20px;
  color: var(--green);
  font-size: 9px;
}

.cv-section {
  background: var(--green-dark);
  color: #f9f8f3;
}

.cv-section .section-title {
  margin-top: 46px;
}

.cv-section .section-title em {
  color: #adc1a8;
}

.cv-copy {
  max-width: 340px;
  margin-top: 22px;
  color: #c0c8bd;
  font-size: 11px;
}

.button-light {
  border-color: rgb(255 255 255 / 35%);
  background: transparent;
  color: white;
}

.button-light:hover {
  background: rgb(255 255 255 / 10%);
}

.cv-file-link {
  max-width: 100%;
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.contact-section {
  border-bottom: 1px solid var(--line);
}

.contact-content {
  display: block;
  margin-top: 35px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.contact-invitation,
.contact-detail {
  margin: 0;
  color: #595f58;
  font-size: 14px;
  line-height: 1.8;
}

.contact-invitation {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 21px;
}

.contact-detail a {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-color: #afb7ab;
  text-underline-offset: 3px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  margin-top: 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid #afb7ab;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 21px;
}

.contact-email span {
  color: var(--green);
  font-family: var(--sans);
  font-size: 15px;
}

.contact-location {
  margin-top: 30px !important;
  color: #858a82 !important;
  font-size: 9px !important;
}

.contact-location span {
  padding-right: 8px;
  color: var(--green);
  font-size: 15px;
}

.site-footer {
  padding-block: 23px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-mark {
  font-size: 22px;
}

.footer-inner p,
.back-to-top,
.copyright {
  margin: 0;
  color: #777d74;
  font-size: 9px;
}

.back-to-top span {
  padding-left: 5px;
  color: var(--green);
  font-size: 14px;
}

@media (max-width: 900px) {
  .section-wrap {
    width: min(100% - 48px, 720px);
  }

  .header-inner {
    width: calc(100% - 48px);
  }

  .site-nav {
    gap: 11px;
    font-size: 9px;
  }

  .hero {
    min-height: 590px;
    grid-template-columns: 0.85fr 1fr;
  }

  .portrait-area {
    width: min(100%, 290px);
    max-width: 100%;
  }

  .intro-content,
  .contact-content {
    gap: 50px;
  }

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

  .info-card:nth-child(2) {
    border-right: 0;
  }

  .info-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .info-card:nth-child(3) {
    padding-left: 0;
  }

  .info-card:nth-child(4) {
    padding-right: 0;
  }

}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .section-wrap {
    width: calc(100% - 40px);
  }

  .section-space {
    padding-block: 82px;
  }

  .header-inner {
    width: calc(100% - 40px);
    height: 68px;
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 16px;
    height: 1px;
    background: currentColor;
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::before,
  .menu-icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-icon::before {
    top: -5px;
  }

  .menu-icon::after {
    top: 5px;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .site-nav a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .site-nav .nav-contact {
    align-self: flex-start;
    margin-top: 11px;
    padding: 8px 13px;
    border: 1px solid var(--line);
  }

  .hero {
    min-height: unset;
    grid-template-columns: 1fr;
    padding-top: 66px;
    padding-bottom: 86px;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .hero h1 {
    font-size: clamp(80px, 23vw, 116px);
  }

  .hero-bio {
    font-size: 14px;
  }

  .portrait-area {
    width: min(300px, 88%);
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin-top: 38px;
  }

  .hero-note {
    margin-top: 33px;
  }

  .scroll-cue {
    bottom: 27px;
  }

  .section-title {
    font-size: clamp(44px, 13vw, 62px);
  }

  .intro-text {
    padding-top: 0;
  }

  .research-heading,
  .section-heading-row {
    align-items: start;
    flex-direction: column;
    gap: 18px;
    margin-top: 38px;
    margin-bottom: 35px;
  }

  .research-heading > p,
  .section-aside {
    max-width: 420px;
  }

  .teaching-section .section-aside {
    white-space: normal;
  }

  .research-card {
    margin-top: 40px;
    padding: 23px 18px 24px;
  }

  .research-card-main {
    grid-template-columns: 1fr 15px;
    gap: 14px;
    padding-top: 25px;
  }

  .research-horizon ul {
    grid-template-columns: 1fr;
  }

  .research-card-main h3 {
    font-size: 19px;
  }

  .empty-state {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .empty-symbol {
    width: 40px;
    height: 40px;
  }

  .empty-state h3 {
    font-size: 16px;
  }

  .empty-count {
    display: none;
  }

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

  .info-card {
    min-height: 205px;
    padding: 20px 12px 17px;
  }

  .info-card:first-child {
    padding-left: 0;
  }

  .info-card:nth-child(2) {
    padding-right: 0;
  }

  .info-card:nth-child(3) {
    padding-left: 0;
  }

  .info-card:nth-child(4) {
    padding-right: 0;
  }

  .info-card h3 {
    font-size: 20px;
  }

  .cv-section .section-title {
    margin-top: 36px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
  }

  .footer-inner p {
    text-align: right;
  }

  .back-to-top {
    justify-self: start;
  }

  .copyright {
    justify-self: end;
  }
}

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