:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5d6875;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #dfe3e6;
  --accent: #155e75;
  --accent-dark: #0e475a;
  --accent-soft: #e8f2f4;
  --award: #8a5a12;
  --award-soft: #fff5de;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  color: var(--accent-dark);
}

a:focus-visible {
  border-radius: 0.2rem;
  outline: 3px solid #f0a92e;
  outline-offset: 4px;
}

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

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

h1,
h2,
h3 {
  line-height: 1.2;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: #ffffff;
  background: var(--accent-dark);
  border-radius: 0.35rem;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgb(223 227 230 / 88%);
  background: rgb(251 250 247 / 92%);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 2.5rem), var(--content-width));
  min-height: 4.25rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

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

.profile {
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.eyebrow {
  margin-bottom: 0.65rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.profile h1,
.landing h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
}

.profile-role {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
}

.profile-summary {
  max-width: 48rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.topic-list span {
  padding: 0.35rem 0.7rem;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.external-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  margin-top: 1.25rem;
}

.external-profiles a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.content-section {
  padding-block: clamp(3.75rem, 8vw, 6.5rem);
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.publication-list {
  display: grid;
  gap: 1.2rem;
}

.publication {
  display: grid;
  grid-template-columns: minmax(230px, 31%) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 2.75rem);
  min-height: 15rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
}

.publication-figure {
  display: grid;
  min-height: 11rem;
  margin-bottom: 0;
  place-items: center;
  overflow: hidden;
  background: #f5f6f6;
  border: 1px solid #eaeced;
  border-radius: 0.25rem;
}

.publication-figure img {
  width: 100%;
  max-height: 15rem;
  object-fit: contain;
}

.venue {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.22rem 0.52rem;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 0.22rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.award-venue {
  color: var(--award);
  background: var(--award-soft);
}

.publication h3 {
  max-width: 45rem;
  margin-bottom: 0.9rem;
  font-size: clamp(1.13rem, 2.2vw, 1.45rem);
}

.publication h3 a {
  color: var(--ink);
  text-decoration-color: rgb(21 94 117 / 32%);
}

.publication h3 a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.authors {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.authors strong {
  color: var(--ink);
}

.contribution-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.timeline {
  max-width: 56rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 2rem;
  padding: 0 0 2rem 1.6rem;
  border-left: 1px solid #a9bbc1;
}

.timeline li::before {
  position: absolute;
  top: 0.45rem;
  left: -0.33rem;
  width: 0.6rem;
  height: 0.6rem;
  content: "";
  background: var(--paper);
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline time,
.detail-list time {
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.timeline p {
  margin-bottom: 0;
}

.detail-list,
.credential-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list {
  display: grid;
  max-width: 56rem;
  gap: 0;
}

.detail-list li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.5rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.detail-list li:first-child {
  border-top: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 8vw, 7rem);
}

.compact-heading {
  margin-bottom: 2rem;
}

.compact-heading h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.credential-list {
  display: grid;
  gap: 2.25rem;
}

.credential-list li {
  padding-left: 1.2rem;
  border-left: 2px solid #a9bbc1;
}

.credential-list p {
  margin-bottom: 0.15rem;
}

.credential-list time,
.credential-list li > p:not(.credential-title) {
  color: var(--muted);
  font-size: 0.9rem;
}

.credential-title {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
}

.site-footer {
  color: #dce7ea;
  background: #19333d;
}

.site-footer .section-shell {
  display: flex;
  min-height: 8rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer p {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

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

.landing-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgb(21 94 117 / 9%), transparent 32rem),
    var(--paper);
}

.landing {
  position: relative;
  width: min(calc(100% - 2.5rem), 50rem);
  padding-block: 4rem;
  text-align: center;
}

.landing h1 {
  max-width: 48rem;
  margin-inline: auto;
}

.landing-intro {
  max-width: 38rem;
  margin-bottom: 2.2rem;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.primary-link {
  display: inline-flex;
  min-height: 3.2rem;
  padding: 0.75rem 1.2rem;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0.3rem;
  box-shadow: 0 8px 22px rgb(21 94 117 / 17%);
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.primary-link:hover {
  color: #ffffff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

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

  .header-inner {
    min-height: 3.8rem;
  }

  .site-nav {
    gap: 0.85rem;
  }

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

  .profile h1 {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

  .profile-role {
    margin-bottom: 1.3rem;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .publication-figure {
    min-height: 0;
  }

  .publication-figure img {
    max-height: none;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

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

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

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .detail-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .site-footer .section-shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
  }
}

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

  .primary-link {
    transition: none;
  }
}
