:root {
  --ink: #202327;
  --muted: #58616b;
  --paper: #ffffff;
  --surface: #ffffff;
  --line: #d8dee8;
  --pine: #24558a;
  --pine-dark: #173d68;
  --copper: #7b3f16;
  --sky: #eef5fb;
  --sage: #f4f7f5;
  --shadow: none;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  display: none;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 8px 12px;
  color: #fff;
  background: var(--pine-dark);
  transform: translateY(-140%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.site-header[data-scrolled="true"] {
  border-color: var(--line);
  box-shadow: none;
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--pine-dark);
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 7px 9px;
  color: var(--muted);
  border-radius: 7px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(31, 91, 77, 0.1);
}

.nav-links .nav-recruiting {
  color: #fff;
  background: var(--copper);
  border: 1px solid var(--copper);
  font-weight: 800;
}

.nav-links .nav-recruiting:hover,
.nav-links .nav-recruiting:focus-visible {
  color: #fff;
  background: var(--pine-dark);
  border-color: var(--pine-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.profile-band {
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--line);
}

.profile-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 260px;
  gap: 42px;
  align-items: start;
}

.profile-copy {
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.1rem, 5vw, 3.55rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.12rem;
}

h4 {
  font-size: 1rem;
}

.subtitle {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--pine-dark);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.45;
}

.focus-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.focus-line span,
.focus-line a,
.year-pill,
.source-pill,
.team-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  color: var(--pine-dark);
  background: #f6f8fa;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.focus-line a {
  text-decoration: none;
}

.focus-line a:hover,
.focus-line a:focus-visible {
  color: #fff;
  background: var(--pine-dark);
  border-color: var(--pine-dark);
}

.recruiting-note {
  max-width: 720px;
  margin: 14px 0 0;
  padding: 12px 14px;
  color: var(--pine-dark);
  background: #fff8ed;
  border: 1px solid rgba(123, 63, 22, 0.34);
  border-left: 4px solid var(--copper);
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  animation: recruiting-pulse 2.8s ease-in-out infinite;
}

.recruiting-note a {
  display: grid;
  gap: 3px;
  color: inherit;
  text-decoration: none;
}

.recruiting-note span {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes recruiting-pulse {
  0%,
  100% {
    border-color: rgba(123, 63, 22, 0.34);
    box-shadow: 0 0 0 0 rgba(123, 63, 22, 0);
  }

  50% {
    border-color: rgba(123, 63, 22, 0.72);
    box-shadow: 0 0 0 5px rgba(123, 63, 22, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .recruiting-note {
    animation: none;
  }
}

.intro {
  max-width: 750px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.profile-panel {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.portrait {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  object-position: center 22%;
  background: var(--sage);
}

.profile-card-body {
  padding: 16px;
}

.quick-facts {
  display: grid;
  gap: 16px;
  margin: 0;
}

.quick-facts div {
  display: grid;
  gap: 3px;
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0;
  font-weight: 700;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0;
}

.section.compact {
  padding: 42px 0 52px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-header p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.news-strip {
  display: grid;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.news-item,
.surface {
  background: var(--surface);
  border-radius: 4px;
}

.news-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(24, 33, 38, 0.1);
}

.news-item:last-child {
  border-bottom: 0;
}

.news-date {
  margin: 0 0 8px;
  color: var(--copper);
  font-size: 0.8rem;
  font-weight: 850;
}

.news-item p:last-child,
.theme-row p,
.surface li {
  color: var(--muted);
}

.news-item h3 {
  margin-bottom: 8px;
}

.news-item p {
  margin: 0;
}

.interest-lines {
  max-width: 920px;
  display: grid;
  gap: 10px;
}

.interest-line {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.interest-line strong {
  color: var(--ink);
  font-weight: 820;
}

.split {
  display: grid;
  grid-template-columns: minmax(230px, 0.58fr) minmax(0, 1.42fr);
  gap: 42px;
  align-items: start;
}

.sticky-block {
  position: sticky;
  top: 100px;
}

.text-link {
  color: var(--pine-dark);
  font-weight: 850;
}

.publication-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 18px 0 0;
}

.publication-type-tab {
  display: block;
  padding: 10px 11px;
  color: inherit;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-left: 3px solid var(--pine-dark);
  border-radius: 6px;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.publication-type-tab:hover,
.publication-type-tab:focus-visible {
  color: var(--pine-dark);
  background: #eef5fb;
  border-color: rgba(36, 85, 138, 0.45);
  outline: none;
}

.publication-types strong,
.publication-types span {
  display: block;
}

.publication-types strong {
  color: var(--pine-dark);
  font-size: 0.9rem;
}

.publication-types span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.publication-note {
  padding: 10px 0 0;
  background: transparent;
  border-top: 1px solid var(--line);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}

.publication-note span,
.author-team {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.16em;
}

.publication-groups {
  display: grid;
  gap: 36px;
}

.publication-group {
  display: grid;
  gap: 14px;
  scroll-margin-top: 86px;
}

.publication-group:target .publication-group-header {
  border-color: var(--copper);
}

.publication-group-header {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pine-dark);
}

.publication-group-header h3 {
  color: var(--pine-dark);
  font-size: 1.34rem;
}

.publication-group-header p {
  max-width: 780px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.publication-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: publications;
}

.publication-item {
  padding: 9px 0 10px;
  background: transparent;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  counter-increment: publications;
}

.publication-item::before {
  display: none;
  content: "";
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}

.venue-pill,
.ccf-pill,
.dept-pill,
.shtm-pill {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
}

.venue-pill {
  color: #fff;
  background: var(--pine-dark);
  border: 1px solid var(--pine-dark);
}

.ccf-pill {
  color: #174235;
  background: #e7f3ee;
  border: 1px solid rgba(23, 66, 53, 0.18);
}

.dept-pill {
  color: #243c68;
  background: #edf3ff;
  border: 1px solid rgba(36, 60, 104, 0.18);
}

.shtm-pill {
  color: #5b3518;
  background: #fbf3eb;
  border: 1px solid #ead3bf;
}

.source-pill {
  color: #1d4055;
  background: var(--sky);
  border-color: rgba(29, 64, 85, 0.14);
}

.team-pill {
  color: #5f2a12;
  background: #f9eadf;
  border-color: rgba(183, 88, 42, 0.18);
}

.publication-item h4 {
  max-width: 820px;
  font-size: 0.96rem;
  line-height: 1.2;
}

.authors,
.venue {
  margin: 3px 0 0;
  font-size: 0.88rem;
  line-height: 1.28;
}

.authors {
  color: var(--muted);
}

.author-self {
  color: #000;
  font-weight: 900;
}

.venue {
  color: var(--pine-dark);
  font-weight: 800;
}

.theme-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.theme-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.theme-index {
  color: var(--copper);
  font-size: 1.35rem;
  font-weight: 900;
}

.theme-row p {
  max-width: 760px;
  margin: 10px 0 0;
}

.surface {
  border: 1px solid rgba(24, 33, 38, 0.1);
  padding: 24px;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 20px;
}

.clean-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--copper);
  border-radius: 50%;
}

.service-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.service-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.service-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-list dt {
  color: var(--pine-dark);
  font-size: 0.86rem;
  font-weight: 850;
}

.service-list dd {
  display: grid;
  gap: 5px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.service-list dd span {
  display: block;
}

.course-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.course-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.course-code {
  color: var(--pine-dark);
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
}

.course-title {
  font-weight: 800;
  line-height: 1.28;
}

.course-meta {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.86rem;
}

.award-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.award-list li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.award-year {
  color: var(--copper);
  font-size: 0.88rem;
  font-weight: 900;
}

.award-list strong,
.award-list span,
.award-list em {
  display: block;
}

.award-list strong {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.25;
}

.award-list span {
  margin-top: 3px;
  color: var(--pine-dark);
  font-size: 0.88rem;
  font-weight: 780;
  line-height: 1.35;
}

.award-list em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.4;
}

.contact-band {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 50px;
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  gap: 34px;
  align-items: center;
  color: #fff;
  background: var(--pine-dark);
  border-radius: 8px;
}

.contact-band .eyebrow {
  color: #ffc7a5;
}

.contact-band h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.contact-band p:not(.eyebrow) {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a,
.contact-note {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 11px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  text-decoration: none;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .profile-grid,
  .split,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .profile-grid {
    gap: 34px;
  }

  .profile-panel {
    max-width: 440px;
  }

  .sticky-block {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav-shell {
    width: min(var(--max), calc(100% - 28px));
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links[data-open="true"] {
    display: grid;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-links .nav-recruiting {
    justify-content: center;
  }

  .profile-band {
    padding: 44px 0 36px;
  }

  .profile-grid,
  .section,
  .contact-band,
  .site-footer {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(2.85rem, 18vw, 4.8rem);
  }

  .focus-line {
    align-items: stretch;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .theme-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .course-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .award-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .course-meta {
    grid-column: auto;
  }

  .publication-types {
    grid-template-columns: 1fr;
  }

  .contact-band {
    padding: 28px;
  }

  .site-footer {
    display: grid;
  }
}
