:root {
  --navy: #123f62;
  --navy-deep: #0b2b43;
  --gold: #b38a2e;
  --ink: #202a33;
  --muted: #5d6975;
  --line: #d9dfe4;
  --paper: #ffffff;
  --page: #f4f6f7;
  --soft: #eef2f4;
  --measure: 70rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.62;
}

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

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

a:hover {
  color: #071f31;
}

a:focus-visible {
  outline: 3px solid rgba(179, 138, 46, 0.5);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  color: var(--paper);
  background: var(--navy-deep);
  transform: translateY(-160%);
}

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

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.page-shell,
.site-footer-inner {
  width: min(calc(100% - 2.5rem), var(--measure));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 7.25rem;
}

.identity {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.university-logo {
  width: 10rem;
  flex: 0 0 auto;
}

.identity-text {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
}

.site-name {
  margin: 0;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
}

.site-role {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.35;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  padding: 0.35rem 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy-deep);
  border-bottom-color: var(--gold);
}

.page-shell {
  min-height: calc(100vh - 14rem);
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
  gap: clamp(2.25rem, 6vw, 5.5rem);
  align-items: center;
}

.portrait-frame {
  margin: 0;
  padding: 0.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--gold);
  border-radius: 50%;
}

.portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 22%;
  border: 0;
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.25rem, 5.8vw, 4.35rem);
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: none;
}

.name-line {
  display: block;
  white-space: nowrap;
}

.lead {
  max-width: 47rem;
  margin: 1.5rem 0 0;
  color: #35414b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.profile-links a {
  font-weight: 700;
}

.contact-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact-block h2 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-block p,
.contact-block address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
}

.page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 28rem);
  gap: 2rem;
  align-items: end;
  margin-bottom: 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.page-heading h1 {
  max-width: none;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.page-heading p {
  margin: 0;
  color: var(--muted);
}

.research-content {
  max-width: 54rem;
}

.research-content h2 {
  margin: 4rem 0 1.25rem;
  padding-top: 0.9rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  border-top: 3px solid var(--gold);
}

.research-content h2:first-child {
  margin-top: 0;
}

.research-entry {
  margin: 0;
  padding: 1.15rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.research-content a {
  text-decoration: none;
}

.work-title {
  color: var(--navy-deep);
  font-weight: 700;
}

.work-title a {
  font-weight: inherit;
}

.work-authors {
  margin-top: 0.16rem;
  color: var(--muted);
}

.work-authors a {
  font-weight: 400;
}

.work-meta {
  margin-top: 0.12rem;
}

.journal-name {
  font-style: italic;
}

.teaching-group + .teaching-group {
  margin-top: 3.75rem;
}

.teaching-group h2 {
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 3px solid var(--gold);
}

.course-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.course {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.course-title {
  margin: 0;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-weight: 600;
}

.course-meta,
.course-year {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.course-year {
  white-space: nowrap;
  text-align: right;
}

.site-footer {
  color: #d9e1e7;
  background: var(--navy-deep);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem;
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffffff;
}

.affiliation-link,
.affiliation-link:hover {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

@media (max-width: 800px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.15rem;
    padding-block: 1.25rem;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    justify-content: flex-start;
    gap: clamp(0.85rem, 5vw, 1.4rem);
  }

  .hero,
  .page-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
  }

  .portrait-frame {
    width: min(72vw, 16rem);
  }

  .page-heading {
    gap: 1rem;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .page-shell,
  .site-footer-inner {
    width: min(calc(100% - 2rem), var(--measure));
  }

  .identity {
    align-items: flex-start;
  }

  .university-logo {
    width: 7.75rem;
  }

  .identity-text {
    padding-left: 0.85rem;
  }

  .site-role {
    display: none;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .contact-block {
    grid-template-columns: 1fr;
  }

  .course {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .course-year {
    text-align: left;
  }

  .site-footer-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media print {
  body {
    color: #000000;
    background: #ffffff;
  }

  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  a {
    color: inherit;
  }
}
