:root {
  --bg: #f7f8f4;
  --surface: #ffffff;
  --ink: #17201d;
  --muted: #5c6964;
  --line: #d9dfd8;
  --green: #1f6b53;
  --blue: #315e8a;
  --wine: #8e3e4b;
  --gold: #b2833d;
  --shadow: 0 18px 55px rgba(23, 32, 29, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(247, 248, 244, 0.35), var(--bg) 580px),
    var(--bg);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: rgba(247, 248, 244, 0.82);
  border-bottom: 1px solid rgba(217, 223, 216, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

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

.lang-toggle {
  min-width: 72px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding: 118px clamp(20px, 6vw, 76px) 56px;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 248, 244, 0.92) 0%, rgba(247, 248, 244, 0.7) 38%, rgba(247, 248, 244, 0.08) 100%),
    linear-gradient(0deg, rgba(247, 248, 244, 0.88) 0%, rgba(247, 248, 244, 0.08) 48%);
}

.hero-content {
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(3.8rem, 8.4vw, 8rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.45vw, 3.75rem);
  line-height: 1;
  max-width: 980px;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.3;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 26px;
  color: #34423d;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.name-native {
  margin-bottom: 22px;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.2;
}

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

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(23, 32, 29, 0.16);
}

.hero-highlights article {
  min-width: 0;
}

.hero-highlights span {
  display: block;
  margin-bottom: 8px;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.hero-highlights h2 {
  margin-bottom: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.hero-highlights p {
  margin-bottom: 0;
  color: #46534e;
  font-size: 0.94rem;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
}

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

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 850px;
}

.section-heading.wide {
  max-width: 1100px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  max-width: 1120px;
  margin-top: 42px;
}

.intro-grid p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.education-path {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1040px;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.education-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  column-gap: clamp(26px, 5vw, 64px);
  min-height: 0;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.education-card .date {
  grid-column: 1;
  grid-row: 1 / span 3;
  margin-bottom: 0;
}

.education-card h3,
.education-card p,
.education-card .inline-link {
  grid-column: 2;
}

.education-card h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.education-card p {
  max-width: 720px;
  margin-bottom: 10px;
}

.education-card p:last-of-type {
  margin-bottom: 0;
}

.inline-link,
.reference-links a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(49, 94, 138, 0.32);
  text-underline-offset: 4px;
}

.inline-link {
  display: inline-flex;
  margin-top: 8px;
  line-height: 1.5;
}

.research-brief {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  max-width: 1120px;
  margin-top: 42px;
}

.research-brief p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.research-list {
  display: grid;
  gap: 0;
  max-width: 1120px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.research-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.item-index {
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.research-item p {
  max-width: 760px;
  margin-bottom: 0;
}

.experience {
  background:
    linear-gradient(90deg, rgba(31, 107, 83, 0.09), transparent 42%),
    #fbfcf8;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 980px;
  margin-top: 46px;
}

.experience-card {
  position: relative;
  display: grid;
  min-height: 0;
  padding: 30px 32px 30px 42px;
  align-content: start;
  border: 1px solid rgba(217, 223, 216, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 22px;
  width: 3px;
  border-radius: 999px;
  background: var(--green);
}

.experience-card:nth-child(2) {
  border-top-color: rgba(49, 94, 138, 0.5);
}

.experience-card:nth-child(2)::before {
  background: var(--blue);
}

.experience-card:nth-child(3) {
  border-top-color: rgba(142, 62, 75, 0.5);
}

.experience-card:nth-child(3)::before {
  background: var(--wine);
}

.experience-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.experience-meta span,
.tag-list span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.experience-meta span {
  padding: 0 10px;
  color: var(--blue);
  background: rgba(49, 94, 138, 0.1);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-list span {
  padding: 0 9px;
  color: var(--green);
  background: rgba(31, 107, 83, 0.1);
}

.experience-detail,
.timeline-detail {
  margin-top: 12px;
  color: #46534e;
  font-size: 0.96rem;
  line-height: 1.68;
}

.reference-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.9rem;
}

.project-note {
  margin-top: 22px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(217, 223, 216, 0.95);
  background: transparent;
}

.project-note p {
  margin-bottom: 12px;
  color: #34423d;
  font-size: 0.98rem;
  line-height: 1.72;
}

.split {
  display: block;
  background: #eef3f1;
}

.split .section-heading {
  max-width: 1100px;
}

.timeline {
  display: grid;
  gap: 24px;
  max-width: 1040px;
  margin-top: 46px;
}

.timeline-item,
.interest-card {
  border: 1px solid rgba(217, 223, 216, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.timeline-item {
  position: relative;
  padding: 30px 34px 30px 42px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 22px;
  width: 3px;
  border-radius: 999px;
  background: var(--blue);
}

.timeline-item:nth-child(2)::before {
  background: var(--green);
}

.timeline-item:nth-child(3)::before {
  background: var(--gold);
}

.timeline-item:nth-child(4)::before {
  background: var(--wine);
}

.featured-paper {
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.88);
}

.featured-paper::before {
  top: 0;
  bottom: auto;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.featured-paper h3,
.featured-paper > p,
.featured-paper .project-note,
.featured-paper .reflection-block {
  max-width: 880px;
}

.featured-paper h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.18;
}

.timeline-item p:last-child,
.interest-card p:last-child {
  margin-bottom: 0;
}

.reflection-block {
  margin-top: 28px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(142, 62, 75, 0.22);
  background: transparent;
}

.reflection-label {
  margin-bottom: 16px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.reflection-block p:not(.reflection-label) {
  margin-bottom: 16px;
  color: #34423d;
  font-size: 1.02rem;
  line-height: 1.82;
}

.agora-section {
  background: #fbfcf8;
}

.agora-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 80px);
  max-width: 1180px;
  margin-top: 46px;
  align-items: start;
}

.agora-lead {
  position: sticky;
  top: 110px;
}

.agora-lead h3 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.6vw, 2.5rem);
  line-height: 1.08;
}

.agora-lead p {
  font-size: 1.04rem;
}

.agora-notes {
  display: grid;
  gap: 16px;
}

.agora-notes article {
  padding: 24px;
  border: 1px solid rgba(217, 223, 216, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 42px rgba(23, 32, 29, 0.08);
}

.agora-notes span {
  display: block;
  margin-bottom: 12px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agora-notes p {
  margin-bottom: 0;
  color: #34423d;
}

.engagement-section {
  background: #eef3f1;
}

.engagement-list {
  display: grid;
  gap: 0;
  max-width: 1040px;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.engagement-list article {
  display: grid;
  grid-template-columns: minmax(130px, 0.24fr) minmax(0, 1fr);
  column-gap: clamp(24px, 5vw, 58px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.engagement-list .date {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-bottom: 0;
}

.engagement-list h3,
.engagement-list p:not(.date) {
  grid-column: 2;
}

.engagement-list h3 {
  margin-bottom: 8px;
}

.engagement-list p:not(.date) {
  max-width: 760px;
  margin-bottom: 0;
}

.date {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.interests {
  background:
    linear-gradient(90deg, rgba(49, 94, 138, 0.08), transparent 38%),
    var(--bg);
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin-top: 42px;
}

.interest-card {
  min-height: 190px;
  padding: 24px;
}

.interest-card:nth-child(2) {
  border-top-color: rgba(31, 107, 83, 0.45);
}

.interest-card:nth-child(3) {
  border-top-color: rgba(142, 62, 75, 0.45);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(30px, 6vw, 80px);
  padding: clamp(72px, 10vw, 120px) clamp(20px, 6vw, 76px);
  color: #ffffff;
  background: #17201d;
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.72);
}

.contact h2 {
  color: #ffffff;
}

.contact-links {
  display: grid;
  align-content: center;
  gap: 12px;
}

.contact-links a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.contact-links a::after {
  content: "↗";
  color: var(--gold);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 76px);
  border-top: 1px solid #28332f;
  color: rgba(255, 255, 255, 0.6);
  background: #17201d;
}

.site-footer p {
  margin: 0;
  color: inherit;
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .lang-toggle {
    justify-self: end;
  }

  .hero {
    min-height: 88vh;
    padding-top: 150px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(247, 248, 244, 0.96), rgba(247, 248, 244, 0.66)),
      linear-gradient(0deg, rgba(247, 248, 244, 0.98) 0%, rgba(247, 248, 244, 0.28) 56%);
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 6rem);
  }

  .intro-grid,
  .education-path,
  .research-brief,
  .agora-layout,
  .engagement-list article,
  .split,
  .experience-grid,
  .hero-highlights,
  .interest-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .education-card {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .education-card .date,
  .education-card h3,
  .education-card p,
  .education-card .inline-link {
    grid-column: 1;
    grid-row: auto;
  }

  .agora-lead {
    position: static;
  }

  .engagement-list .date,
  .engagement-list h3,
  .engagement-list p:not(.date) {
    grid-column: 1;
    grid-row: auto;
  }

  .research-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 16px;
    gap: 12px;
  }

  .brand {
    width: 38px;
    height: 38px;
  }

  .nav {
    gap: 18px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 148px 18px 48px;
  }

  .button {
    width: 100%;
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .section,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .research-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer {
    flex-direction: column;
    padding-left: 18px;
    padding-right: 18px;
  }
}
