:root {
  --deep-navy: #18324A;
  --slate-blue: #3E6C8F;
  --teal: #2E7D7A;
  --burgundy: #8A3B3B;
  --forest-green: #3F6B53;
  --mustard: #C79A1B;
  --soft-cream: #FFFFFF;
  --charcoal: #222222;
  --light-rule: #D6D6D6;
  --light-gray: #F2F2F2;

  --ink: var(--charcoal);
  --muted: #62666a;
  --paper: var(--soft-cream);
  --surface: var(--soft-cream);
  --rule: var(--light-rule);
  --soft: var(--light-gray);
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  border-top: 8px solid var(--deep-navy);
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--slate-blue);
  text-decoration-color: rgba(62, 108, 143, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--burgundy);
  text-decoration-color: currentColor;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--deep-navy);
  color: white;
  padding: 0.55rem 0.8rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--soft-cream);
}

.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
}

.site-title {
  color: var(--deep-navy);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.site-nav a {
  color: var(--charcoal);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--teal);
}

.page-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}

.profile {
  align-self: start;
  position: sticky;
  top: 1.5rem;
}

.portrait-photo {
  display: block;
  width: 230px;
  aspect-ratio: 1;
  margin-bottom: 1.4rem;
  border: 1px solid var(--rule);
  object-fit: cover;
}

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

h1 {
  margin-bottom: 0.25rem;
  color: var(--deep-navy);
  font-size: 2.15rem;
  line-height: 1.08;
}

.role,
.affiliation {
  margin-bottom: 0.2rem;
  color: var(--muted);
}

.affiliation {
  color: var(--forest-green);
  font-weight: 700;
}

.field-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.25rem 0 0;
  padding: 1rem 0 0;
  border-top: 3px solid var(--mustard);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.field-list div {
  display: grid;
  gap: 0.15rem;
}

.field-list dt {
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field-list dd {
  margin: 0;
  color: var(--deep-navy);
  font-weight: 700;
  line-height: 1.35;
}

.contact-block,
.link-block {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.93rem;
  line-height: 1.5;
}

.contact-block h2 {
  margin-bottom: 0.45rem;
  color: var(--deep-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.contact-block a,
.contact-block span,
.link-block a,
.link-block span {
  display: block;
  overflow-wrap: anywhere;
}

.muted-link {
  margin-bottom: 0.35rem;
  color: var(--slate-blue);
}

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

.intro-section {
  margin-bottom: 3.2rem;
  padding-bottom: 2.2rem;
  border-bottom: 3px solid var(--mustard);
}

.eyebrow {
  margin-bottom: 0.45rem;
  color: var(--burgundy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro-section h2,
.section-heading h2 {
  color: var(--deep-navy);
  font-size: 1.75rem;
  line-height: 1.2;
}

.intro-section h2 {
  max-width: 760px;
  margin-bottom: 1.1rem;
}

.intro-section p,
.section p,
.simple-list {
  max-width: 820px;
}

.section {
  margin-bottom: 3rem;
}

.section-heading {
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--rule);
}

.section-heading h2 {
  margin-bottom: 0.7rem;
}

.papers-group-heading {
  margin: 2rem 0 0.25rem;
  color: var(--burgundy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.papers-group-heading:first-of-type {
  margin-top: 2.5rem;
}

.paper {
  padding: 1.25rem 0 1.3rem;
  border-bottom: 1px solid var(--rule);
}

.paper-featured {
  border-top: 4px solid var(--teal);
  background: var(--soft);
  padding: 1.4rem 1.6rem 1.5rem;
}

.paper-featured p:not(.paper-label):not(.paper-meta):not(.paper-links) {
  font-size: 0.97rem;
  line-height: 1.7;
}

.paper-label {
  margin-bottom: 0.25rem;
  color: var(--burgundy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.paper h3 {
  margin-bottom: 0.2rem;
  color: var(--deep-navy);
  font-size: 1.2rem;
  line-height: 1.3;
}

.paper-meta,
.paper-links {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
  color: var(--teal);
  font-weight: 700;
}

.paper-links span::before,
.paper-links a::before {
  color: var(--mustard);
  content: "[";
}

.paper-links span::after,
.paper-links a::after {
  color: var(--mustard);
  content: "]";
}

.paper-links a {
  color: var(--teal);
  text-decoration: none;
}

.paper-links a:hover {
  color: var(--burgundy);
}

.simple-list {
  margin: 0;
  padding-left: 1.2rem;
}

.simple-list li::marker {
  color: var(--mustard);
}

.two-column-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 2rem;
  max-width: 820px;
}

.two-column-list article {
  min-width: 0;
}

.two-column-list h3 {
  margin-bottom: 0.45rem;
  color: var(--deep-navy);
  font-size: 1.08rem;
}
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.88rem;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .page-shell {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding-top: 2rem;
  }

  .profile {
    position: static;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    column-gap: 1.2rem;
  }

  .portrait-photo {
    width: 120px;
    grid-row: span 3;
    margin-bottom: 0;
  }

  .contact-block,
  .link-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .site-nav {
    gap: 0.75rem;
  }

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

  .portrait-photo {
    width: 132px;
    margin-bottom: 1.1rem;
  }

  h1 {
    font-size: 1.95rem;
  }

  .intro-section h2,
  .section-heading h2 {
    font-size: 1.45rem;
  }

  .paper-featured {
    padding: 1rem 1rem 1.1rem;
  }

  .two-column-list {
    grid-template-columns: 1fr;
  }
}