:root {
  --paper: #f3efe5;
  --ink: #18221e;
  --muted: #66706a;
  --line: #c9c7bb;
  --accent: #d84f32;
  --accent-dark: #a83622;
  --forest: #173f34;
  --white: #fffdf7;
  --max-width: 1240px;
  color-scheme: light;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-dark);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

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

.site-header,
main,
footer {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  justify-self: start;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.06em;
}

.wordmark span,
.dot {
  color: var(--accent);
}

nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.8rem);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.header-link {
  justify-self: end;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: 5rem;
}

.eyebrow,
.section-number,
.tag,
.pub-meta,
.timeline-date,
.profile-status {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--accent-dark);
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.055em;
}

h1 {
  margin-bottom: 1.9rem;
  font-size: clamp(5.5rem, 13vw, 10.5rem);
  line-height: 0.74;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 0.98;
}

h3 {
  line-height: 1.25;
}

.intro {
  max-width: 670px;
  margin-bottom: 2.25rem;
  color: #35413b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.75rem 1.3rem;
  border: 1px solid var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

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

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

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

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

.profile-card {
  position: relative;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--white) 38%, transparent);
  box-shadow: 20px 20px 0 color-mix(in srgb, var(--forest) 11%, transparent);
}

.portrait-wrap {
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 1.2rem;
  background:
    radial-gradient(circle at 65% 20%, rgb(216 79 50 / 26%), transparent 28%),
    linear-gradient(145deg, #e1d9ca, #c9d0c5);
}

.portrait-wrap img {
  width: 132px;
  height: 132px;
  border: 5px solid rgb(255 253 247 / 75%);
  border-radius: 50%;
  object-fit: cover;
  image-rendering: auto;
  filter: saturate(0.8) contrast(1.03);
  box-shadow: 0 16px 45px rgb(24 34 30 / 24%);
}

.profile-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.3rem;
  color: var(--forest);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2b9b69;
  box-shadow: 0 0 0 4px rgb(43 155 105 / 13%);
}

.profile-card dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.profile-card dl > div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding-block: 0.72rem;
  border-bottom: 1px solid var(--line);
}

.profile-card dt {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.profile-card dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.profile-links {
  display: flex;
  justify-content: space-between;
  padding-top: 1.2rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-section {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
}

.section-number {
  margin-bottom: 2rem;
  color: var(--accent-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.about-copy {
  padding-top: 2.6rem;
  color: #39443f;
  font-size: 1.03rem;
}

.about-copy .lead {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.45;
}

.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2.2rem;
}

.interest-list span {
  padding: 0.42rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 4rem;
}

.section-heading h2,
.section-heading .section-number {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 300px;
  margin: 0 0 0.55rem;
  color: var(--muted);
}

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

.timeline-item {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 3rem;
  padding-block: 2.2rem;
  border-bottom: 1px solid var(--line);
}

.timeline-date {
  color: var(--muted);
}

.tag {
  margin-bottom: 0.55rem;
  color: var(--accent-dark);
}

.timeline h3 {
  max-width: 760px;
  margin-bottom: 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 500;
}

.timeline-item > div > p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
}

.institution {
  color: var(--ink) !important;
  font-size: 0.82rem;
  font-weight: 700;
}

.publications {
  position: relative;
}

.text-link {
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.publication-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
  counter-reset: publication;
}

.publication-list li {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(180px, 0.35fr);
  gap: 1.8rem;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: publication;
}

.publication-list li::before {
  content: "0" counter(publication);
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.pub-meta {
  grid-column: 2 / -1;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.publication-list h3 {
  grid-column: 2;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
}

.publication-list p {
  grid-column: 3;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.publication-list li > a {
  grid-column: 2 / -1;
  justify-self: start;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.education {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(300px, 1fr) minmax(230px, 0.55fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}

.education-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--ink);
}

.education-item > p:first-child {
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.education-item h3 {
  margin-bottom: 0.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.education-item > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.toolbox {
  padding: 1.5rem;
  background: var(--forest);
  color: var(--white);
}

.toolbox h3 {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(255 255 255 / 25%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 500;
}

.toolbox ul {
  padding: 0;
  margin: 0;
  list-style: none;
  columns: 2;
}

.toolbox li {
  padding-block: 0.35rem;
  font-size: 0.82rem;
}

.contact-section {
  margin-bottom: 3rem;
  padding: clamp(3rem, 7vw, 6rem);
  background: var(--accent);
  color: #fff8ed;
}

.contact-section .section-number {
  color: #fff8ed;
}

.contact-section h2 {
  max-width: 850px;
}

.contact-section > a {
  display: inline-block;
  color: white;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem 2.5rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

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

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 5rem 7rem;
  }

  .profile-card {
    max-width: 520px;
  }

  .about-grid,
  .education {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding-top: 0;
  }

  .publication-list li {
    grid-template-columns: 44px 1fr;
  }

  .pub-meta,
  .publication-list h3,
  .publication-list p,
  .publication-list li > a {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .site-header {
    min-height: 72px;
  }

  .hero {
    min-height: auto;
    padding-block: 4rem 6rem;
  }

  h1 {
    font-size: clamp(4.3rem, 24vw, 7rem);
  }

  .section-heading {
    display: block;
  }

  .section-heading > p,
  .section-heading .text-link {
    display: block;
    margin-top: 1rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .publication-list li {
    gap: 1rem;
  }

  .pub-meta {
    display: block;
  }

  .pub-meta span {
    display: block;
  }

  .contact-section {
    margin-inline: -0.25rem;
    padding: 2rem 1.35rem;
  }

  footer {
    display: block;
  }

  footer p + p {
    margin-top: 0.4rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
