:root {
  --navy: #10263d;
  --ink: #182b3d;
  --muted: #647383;
  --blue: #1769aa;
  --blue-soft: #eef5fa;
  --line: #dbe3e9;
  --line-dark: #b9c6d0;
  --paper: #ffffff;
  --wash: #f6f8fa;
  --content: 70rem;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.55;
}

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

a:hover {
  color: var(--blue);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #e5b84b;
  outline-offset: 3px;
}

.page-shell {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-200%);
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 0.85rem;
  border-radius: 0.25rem;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(calc(100% - 3rem), var(--content));
  min-height: 4.5rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 2.2rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand strong {
  font-family: Iowan Old Style, Charter, Georgia, serif;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.45rem;
}

.site-nav a,
.profile-links a {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 620;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active,
.profile-links a:hover {
  color: var(--blue);
}

.profile-links {
  display: flex;
  gap: 0.8rem;
}

.menu-toggle {
  display: none;
  justify-self: end;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.menu-icon {
  width: 1.1rem;
  height: 0.7rem;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.intro {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.2rem, 6vw, 4.8rem);
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(19rem, 0.7fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  margin-top: 1rem;
}

.intro-main {
  grid-column: 2;
}

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

h1,
h2 {
  font-family: Iowan Old Style, Charter, Georgia, serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 540;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.intro-copy {
  max-width: 46rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.62;
}

.appointments {
  max-width: 42rem;
  margin-top: 2rem;
  border-top: 2px solid var(--navy);
}

.appointments p {
  display: grid;
  gap: 0.12rem;
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.appointments strong {
  font-size: 0.82rem;
  font-weight: 700;
}

.appointments p > span {
  color: var(--muted);
  font-size: 0.78rem;
}

.role-link {
  margin-left: 0.12rem;
  color: var(--blue);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78em;
  text-decoration: none;
}

.role-link:hover {
  color: var(--navy);
}

.intro-portrait {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--wash);
}

.intro-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(16, 38, 61, 0.12);
  pointer-events: none;
}

.intro-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-strip {
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--navy);
  color: #fff;
}

.news-strip-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
}

.news-label {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1rem 1.5rem 1rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  color: #8fc8f0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.news-window {
  min-width: 0;
  overflow: hidden;
}

.news-track {
  display: flex;
  width: max-content;
  animation: news-scroll 56s linear infinite;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.news-window:hover .news-track,
.news-window:focus-within .news-track {
  animation-play-state: paused;
}

.news-items {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  white-space: nowrap;
}

.news-item {
  position: relative;
  color: #dce8f1;
  font-size: 0.9rem;
  line-height: 1.4;
}

.news-item * {
  font-size: inherit;
}

.news-item + .news-item::before {
  content: "•";
  position: absolute;
  left: -1.4rem;
  color: #8fc8f0;
}

.news-item time {
  margin-right: 0.42rem;
  color: #fff;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.news-item a {
  color: #fff;
  font-weight: 700;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.news-item a:hover {
  color: #8fc8f0;
}

@keyframes news-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.content-section {
  padding-top: clamp(3.8rem, 7vw, 5.6rem);
  padding-bottom: clamp(3.8rem, 7vw, 5.6rem);
}

.content-section + .content-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.45fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2rem;
}

h2 {
  margin: 0.32rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.subsection-heading {
  margin-top: clamp(3.5rem, 7vw, 5rem);
}

.subsection-heading h3 {
  margin: 0.32rem 0 0;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.paper-list,
.publication-list {
  border-top: 2px solid var(--navy);
}

.paper-entry,
.publication-entry {
  display: grid;
  grid-template-columns: 6.6rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.entry-marker {
  display: grid;
  align-content: start;
  gap: 0.18rem;
}

.entry-marker span,
.publication-entry time {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.entry-marker small {
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.35;
}

.entry-content h3,
.publication-entry h3,
.publication-entry h4 {
  margin: 0;
  font-family: Iowan Old Style, Charter, Georgia, serif;
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.012em;
}

.authors,
.publication-entry p {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.summary,
.publication-entry .summary {
  max-width: 51rem;
  margin: 0.55rem 0 0;
  color: #495d70;
  font-size: 0.86rem;
}

.materials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.72rem;
}

.materials:empty {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.72rem;
  padding: 0.22rem 0.62rem;
  border: 1px solid #c9d6df;
  border-radius: 999px;
  background: var(--paper);
  color: #415b70;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.chip:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue);
}

.chip span {
  font-size: 0.72rem;
}

.record-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin: -0.65rem 0 1.35rem 8rem;
}

.record-links a,
.text-link {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.publication-entry {
  grid-template-columns: 5rem minmax(0, 1fr);
  padding-block: 1.15rem;
}

.publication-entry h3,
.publication-entry h4 {
  font-size: 1.08rem;
}

.publication-entry p {
  line-height: 1.45;
}

.publication-entry .materials {
  margin-top: 0.62rem;
}

.bio-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.bio-section {
  padding: clamp(3.7rem, 7vw, 5.2rem) 0;
  border-top: 1px solid var(--line);
  background: var(--wash);
}

.bio-copy p {
  max-width: 48rem;
  margin: 0;
  color: #415466;
  font-size: 0.92rem;
  line-height: 1.68;
}

.bio-copy p + p {
  margin-top: 1rem;
}

.contact-section {
  padding: clamp(3.6rem, 7vw, 5rem) 0;
  background: var(--navy);
  color: #fff;
}

.contact-section .eyebrow {
  color: #75c3ea;
}

.contact-section h2 {
  max-width: 20ch;
}

.contact-grid > div:last-child {
  align-self: end;
}

.email-link {
  color: #9dd8f3;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-section p {
  margin: 1rem 0 0;
  color: #c0ccd6;
  font-size: 0.8rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a1d30;
  color: #90a1b1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.75rem;
}

.footer-inner p:last-child {
  max-width: 42rem;
  text-align: right;
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav,
  .profile-links {
    display: none;
  }

  .site-header.open .site-nav,
  .site-header.open .profile-links {
    display: flex;
  }

  .site-header.open .header-inner {
    padding-bottom: 1.2rem;
  }

  .site-header.open .site-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

  .site-header.open .site-nav a {
    width: 100%;
    padding: 0.55rem 0;
  }

  .site-header.open .profile-links {
    grid-column: 1 / -1;
    padding-top: 0.8rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .intro-main,
  .intro-portrait {
    grid-column: auto;
    grid-row: auto;
  }

  .appointments {
    max-width: 36rem;
  }

  .intro-portrait {
    width: min(100%, 38rem);
  }
}

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

  .brand span {
    display: none;
  }

  .intro {
    padding-top: 3rem;
  }

  .news-strip-inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .news-label {
    width: min(calc(100% - 2rem), var(--content));
    margin-inline: auto;
    padding: 0.7rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
  }

  .news-window {
    padding: 0.85rem 1rem;
  }

  .section-heading,
  .bio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .paper-entry,
  .publication-entry {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .entry-marker {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
  }

  .record-links {
    margin-left: 0;
  }

  .footer-inner {
    display: grid;
  }

  .footer-inner p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .news-window {
    overflow-x: auto;
  }

  .news-track {
    animation: none;
  }

  .news-items[aria-hidden="true"] {
    display: none;
  }
}

@media print {
  .site-header,
  .news-strip,
  .contact-section {
    display: none;
  }

  .content-section,
  .bio-section {
    padding-block: 2rem;
  }

  .chip {
    border: 0;
    padding: 0;
  }
}
