:root {
  --navy: #102f4c;
  --navy-dark: #0a2136;
  --blue: #245d89;
  --blue-soft: #eaf1f6;
  --ink: #1d2a33;
  --muted: #61717d;
  --line: #dce4ea;
  --paper: #ffffff;
  --background: #f4f7f9;
  --shadow: 0 18px 50px rgba(15, 47, 76, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "Lato", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: white;
  background: rgba(10, 33, 54, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.identity {
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.identity:hover {
  color: white;
}

.name {
  font-size: 1.32rem;
  font-weight: 900;
}

.role {
  color: #ccdae5;
  font-size: 0.78rem;
  margin-top: 4px;
}

nav {
  display: flex;
  gap: 22px;
  white-space: nowrap;
}

nav a {
  color: #e7eef4;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

nav a:hover {
  color: white;
}

main {
  width: min(1060px, calc(100% - 40px));
  margin: 42px auto;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 58px;
  align-items: center;
  padding: 72px;
  background: linear-gradient(145deg, #ffffff 0%, #f7fafc 70%, #edf3f7 100%);
  border-bottom: 1px solid var(--line);
}

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

h1,
h2,
h3,
h4 {
  line-height: 1.28;
  color: var(--navy);
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 6vw, 4.35rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.48rem;
  font-weight: 900;
}

h4 {
  margin: 0 0 22px;
  font-size: clamp(1.22rem, 2.5vw, 1.48rem);
  font-weight: 900;
}

h4 a {
  color: var(--navy);
}

.lead {
  font-size: 1.14rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--navy);
  color: white;
}

.button.primary:hover {
  background: var(--navy-dark);
  color: white;
}

.button.secondary {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: white;
}

.portrait-wrap {
  margin: 0;
}

.portrait {
  width: 280px;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
  object-fit: cover;
  object-position: 50% 34%;
  box-shadow: 0 16px 38px rgba(16, 47, 76, 0.2);
  border: 7px solid white;
}

.contact-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding: 54px 72px;
  background: var(--navy);
  color: #e8f0f5;
  border-bottom: 1px solid var(--line);
}

.contact-section h2,
.contact-section .eyebrow {
  color: white;
}

.contact-section p:last-child {
  margin-bottom: 0;
}

.contact-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.contact-links a {
  color: white;
  font-weight: 700;
}

.section {
  padding: 64px 72px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 34px;
}

.research-group + .research-group {
  margin-top: 58px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.group-title {
  margin: 0 0 22px;
}

.paper-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  margin-top: 22px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(16, 47, 76, 0.05);
}

.paper-card p:last-child {
  margin-bottom: 0;
}

.abstract-label {
  display: inline-block;
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coauthors {
  margin: -10px 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.coauthors a {
  font-weight: 700;
}

.media {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.media a {
  font-weight: 700;
}

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

.timeline li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 0;
}

.timeline span {
  color: var(--blue);
  font-weight: 900;
  font-size: 0.86rem;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  padding: 12px 20px 34px;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    padding: 14px 0;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 54px 42px;
  }

  .portrait-wrap {
    order: -1;
  }

  .portrait {
    width: 230px;
  }

  .section,
  .contact-section {
    padding: 52px 42px;
  }
}

@media (max-width: 650px) {
  html {
    scroll-padding-top: 0;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    width: min(100% - 28px, 1120px);
    display: block;
  }

  nav {
    margin-top: 14px;
    justify-content: flex-start;
  }

  .role {
    max-width: 320px;
  }

  main {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero,
  .section,
  .contact-section {
    padding: 42px 24px;
  }

  .hero {
    gap: 34px;
  }

  .portrait {
    width: min(250px, 82vw);
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .paper-card {
    padding: 22px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
