:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --ink: #202522;
  --muted: #5c6862;
  --line: #d7ded8;
  --teal: #006d77;
  --teal-dark: #0f2f33;
  --coral: #b64a3d;
  --moss: #4f6f52;
  --gold: #9b7426;
  --shadow: 0 18px 45px rgba(22, 38, 34, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration-color: rgba(0, 109, 119, 0.38);
  text-underline-offset: 0.2em;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(215, 222, 216, 0.92);
  background: rgba(246, 247, 244, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  text-decoration: none;
}

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

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.lang-option {
  min-width: 48px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
}

.lang-option[aria-pressed="true"] {
  background: var(--teal-dark);
  color: #fff;
}

.lang-option:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 72px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 28px 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 4.7rem;
  line-height: 0.96;
}

.hero h1 span {
  display: block;
  margin-top: 14px;
  color: var(--teal);
  font-size: 2rem;
  font-weight: 700;
}

.lead {
  max-width: 740px;
  margin: 26px 0 0;
  color: #38433d;
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  color: #fff;
}

.button.secondary {
  background: var(--surface);
}

.button.ghost {
  border-color: transparent;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 780px;
  margin: 34px 0 0;
}

.quick-facts div {
  padding-top: 14px;
  border-top: 2px solid var(--line);
}

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

.quick-facts dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.profile-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
  padding: 24px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #f3fbf9;
  box-shadow: var(--shadow);
}

.profile-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 8px;
  background: #dfe8e4;
}

.profile-meta {
  margin-top: 24px;
}

.panel-label {
  margin: 0 0 8px;
  color: #9bd1ce;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-meta p:last-child,
.status-line p {
  margin: 0;
}

.status-line {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  margin-top: 20px;
  color: #d5e7e3;
  font-size: 0.93rem;
}

.status-line span {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: #f4bf4f;
}

.section,
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 28px;
}

.research-strip {
  background: #e9efec;
  border-block: 1px solid var(--line);
}

.research-strip .section-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 52px;
}

.section-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.12;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading.compact h2 {
  font-size: 2rem;
}

.research-topics {
  display: grid;
  gap: 18px;
}

.research-topics article {
  padding: 0 0 18px 20px;
  border-left: 3px solid var(--teal);
  border-bottom: 1px solid rgba(32, 37, 34, 0.12);
}

.research-topics h3,
.publication-copy h3,
.project-card h3,
.timeline h3 {
  margin: 0;
  line-height: 1.24;
}

.research-topics p,
.publication-copy p,
.project-card p,
.timeline p,
.contact-panel p,
.award-list p,
.news-list p {
  color: var(--muted);
}

.news-list,
.award-list {
  border-top: 1px solid var(--line);
}

.news-list article,
.award-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

time {
  color: var(--gold);
  font-weight: 800;
}

.publication-card {
  display: grid;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.paper-teaser {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.paper-teaser img {
  width: 100%;
  aspect-ratio: 3686 / 1039;
  object-fit: contain;
  background: #fff;
}

.venue,
.project-kicker {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.pub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.pub-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: #eef4f1;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card,
.contact-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.project-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.project-card li + li {
  margin-top: 9px;
}

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

.timeline {
  border-left: 3px solid var(--moss);
}

.timeline article {
  padding: 0 0 26px 22px;
}

.timeline article:last-child {
  padding-bottom: 0;
}

.timeline time {
  display: block;
  margin-bottom: 8px;
}

.contact-panel {
  position: sticky;
  top: 100px;
}

.contact-panel h2 {
  margin: 0;
}

.contact-panel a {
  display: inline-block;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 960px) {
  .hero,
  .research-strip .section-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .profile-panel {
    min-height: auto;
  }

  .profile-photo {
    max-height: 420px;
  }

  .contact-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }

  .header-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .hero,
  .section,
  .section-inner {
    padding-inline: 20px;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .hero h1 span {
    font-size: 1.5rem;
  }

  .quick-facts,
  .project-grid,
  .news-list article,
  .award-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .section-heading h2,
  .section-heading.compact h2 {
    font-size: 1.85rem;
  }

  .publication-card,
  .project-card,
  .contact-panel {
    padding: 18px;
  }

  .paper-teaser {
    margin-inline: -6px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px;
  }
}
