:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #111111;
  --muted: #5b5b5b;
  --border: #111111;
  --divider: #d9d9d9;
  --footer: #eeeeee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

@font-face {
  font-family: "Nimbus Sans Novus Ultra Light";
  src: url("./fonts/HelveticaNeue.ttc") format("truetype-collection");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

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

.top-line {
  height: 8px;
  background: var(--border);
}

.page-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px 120px;
}

.intro-section {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 2px;
  align-items: center;
  margin-bottom: 10px;
}

.photo-card {
  width: 70px;
  height: 70px;
  border: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.intro-text {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 4px;
  gap: 4px;
}

.intro-text h1 {
  margin: 0;
  font-family: "Nimbus Sans Novus Ultra Light", "Inter", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.1;
}

.name-link {
  color: var(--text);
  text-decoration: none;
  transition: color 160ms ease;
}

.name-link:hover,
.name-link:focus-visible {
  color: #2563eb;
}

.role {
  margin: 0;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.2;
}

.menu-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 25px;
  padding: 12px 0 14px;
  background: white;
  border-bottom: 1px solid var(--divider);
}
.bottom-links {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: var(--footer);
  border-top: 0;
}

.bottom-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.bottom-link:hover,
.bottom-link:focus-visible {
  opacity: 0.75;
  transform: translateY(-1px);
}

.bottom-icon {
  width: 40px;
  height: 40px;
  display: block;
}
.menu-button {
  border: 0;
  background: transparent;
  padding: 0 2px;
  font-family: "Nimbus Sans Novus Ultra Light", "Inter", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 200;
  color: var(--text);
  cursor: pointer;
  position: relative;
  transition: color 160ms ease;
}

.menu-button:hover,
.menu-button:focus-visible {
  color: #2563eb;
}

.menu-button.active {
  font-weight: 200;
}

.content-area {
  padding-top: 24px;
}

.content-panel {
  display: none;
}

.content-panel.active {
  display: block;
}

.content-panel h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  font-weight: 700;
  text-align: center;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
  font-size: 1rem;
}

.content-panel ul {
  margin: 0;
  padding-left: 0;
}

.pub-subtitle {
  margin: 2px 0 12px;
  padding: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
}

.pub-divider {
  height: 1px;
  background: var(--divider);
  margin-bottom: 12px;
}

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

.pub-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  margin: 0;
  border-top: 1px solid var(--divider);
}

.pub-item:first-of-type {
  border-top: 1px solid var(--divider);
}

.pub-figure {
  width: 140px;
  aspect-ratio: 4 / 3;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pub-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-body {
  min-width: 0;
}

.pub-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.pub-meta {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.pub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pub-links a,
.info-body a,
.content-panel a,
.content-panel p a {
  color: #5182bf;
  text-decoration: none;
  font-size: 0.95rem;
}

.pub-links a:hover,
.pub-links a:focus-visible,
.info-body a:hover,
.info-body a:focus-visible,
.content-panel a:hover,
.content-panel a:focus-visible,
.content-panel p a:hover,
.content-panel p a:focus-visible {
  text-decoration: none;
}

.info-group {
  display: block;
  margin-top: 28px;
}

.info-group-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}

.info-body {
  margin-top: 6px;
  padding-left: 0;
}

.info-body p {
  margin: 0 0 8px;
  line-height: 1.6;
  position: relative;
  padding-left: 16px;
}

.info-body p:not(.info-detail)::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text);
}

.info-body p.info-detail {
  padding-left: 24px;
  margin-top: 0;
}

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

  .photo-card {
    width: 72px;
    height: 72px;
  }

  .intro-text {
    padding-left: 0;
    min-height: 80px;
  }

  .menu-bar {
    justify-content: flex-start;
  }
}
