:root {
  --paper: #fbfbf8;
  --surface: #ffffff;
  --ink: #17212b;
  --muted: #5b6670;
  --line: #dce1dc;
  --accent: #a51c30;
  --blue: #2f6f8f;
  --green: #5f7f4c;
  --gold: #b18a42;
  --shadow: 0 18px 60px rgba(23, 33, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: #741323;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  transform: translateY(-160%);
  padding: 0.55rem 0.75rem;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
}

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

.site-header {
  border-bottom: 1px solid rgba(220, 225, 220, 0.8);
  background: rgba(251, 251, 248, 0.92);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.nav {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 1.8rem);
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent);
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 5.5rem);
  padding: clamp(2.75rem, 6vw, 4rem) 0 clamp(3rem, 6vw, 4rem);
}

.intro-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

p,
a {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 5.8rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
}

.role {
  margin: 1.2rem 0 0;
  color: var(--blue);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 680;
}

.lead {
  margin-top: 1.7rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.48;
  color: #2b3742;
}

.intro-copy p:not(.eyebrow, .role, .lead) {
  max-width: 620px;
  color: var(--muted);
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.profile-links a,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0.58rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 680;
  box-shadow: 0 1px 0 rgba(23, 33, 43, 0.04);
}

.profile-links a:hover,
.text-link:hover {
  border-color: rgba(165, 28, 48, 0.35);
  color: var(--accent);
}

.profile-photo {
  margin: 0;
}

.profile-photo img {
  width: min(100%, 365px);
  height: auto;
  min-width: 0;
  aspect-ratio: 777 / 1100;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--surface);
  margin-left: auto;
}

.section {
  display: grid;
  grid-template-columns: minmax(340px, 0.45fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(4rem, 9vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-body {
  max-width: 780px;
}

.section-body > p:first-child {
  margin-top: 0;
}

.section-body p {
  color: var(--muted);
  font-size: 1.05rem;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.research-grid article {
  min-height: 13rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px;
  background: var(--surface);
}

.research-grid article:nth-child(2) {
  border-top-color: var(--blue);
}

.research-grid article:nth-child(3) {
  border-top-color: var(--gold);
}

.research-grid h3 {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  line-height: 1.25;
}

.research-grid p {
  margin: 0;
  font-size: 0.97rem;
}

.split {
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: minmax(8rem, 0.3fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  font-weight: 750;
}

.contact-list a {
  overflow-wrap: anywhere;
}

.email-text {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .intro,
  .section {
    grid-template-columns: 1fr;
  }

  .intro {
    min-height: auto;
    gap: 2.5rem;
  }

  .profile-photo {
    max-width: 600px;
  }

  .profile-photo img {
    margin-left: 0;
  }

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

  .research-grid article {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    min-height: 0;
    padding: 0.9rem 0;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
  }

  .intro {
    padding: 3rem 0 4rem;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 3.75rem);
  }

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

  .profile-links a,
  .text-link {
    width: 100%;
    justify-content: center;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
