:root {
  --bg: #f7f7f3;
  --surface: #ffffff;
  --surface-soft: #eef3ef;
  --text: #18201d;
  --muted: #62706b;
  --line: #dbe2dc;
  --accent: #126c61;
  --accent-dark: #0d4f47;
  --gold: #b7782f;
  --shadow: 0 18px 45px rgba(24, 32, 29, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 108, 97, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(18, 108, 97, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 72%);
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(219, 226, 220, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(24, 32, 29, 0.06);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #34413d;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  background: var(--surface-soft);
  color: var(--accent-dark);
  text-decoration: none;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 74px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding-top: 42px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.94;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.32;
}

.lead {
  color: #293531;
  font-size: 21px;
  line-height: 1.56;
}

.hero-copy p:not(.eyebrow) {
  max-width: 700px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(24, 32, 29, 0.06);
}

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

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.profile-panel {
  display: grid;
  gap: 22px;
  align-self: center;
  align-content: center;
  justify-items: center;
  min-height: 440px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.profile-photo {
  width: min(100%, 260px);
  aspect-ratio: 1;
  border: 5px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: var(--surface-soft);
  box-shadow: 0 16px 34px rgba(24, 32, 29, 0.12);
}

.profile-panel h2 {
  margin-bottom: 6px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}

.profile-panel p {
  margin-bottom: 4px;
  text-align: center;
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.section-heading--single {
  grid-template-columns: 1fr;
}

.publication {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 0.56fr);
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 32px rgba(24, 32, 29, 0.06);
}

.pub-media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eef1ef;
}

.pub-media img {
  width: 100%;
  height: auto;
  transition: transform 180ms ease;
}

.pub-media:hover img {
  transform: scale(1.02);
}

.venue {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.authors {
  color: #46524e;
  font-size: 15px;
  line-height: 1.55;
}

.pub-content p:last-of-type {
  color: var(--muted);
}

.pub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pub-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
}

.pub-links a:hover {
  border-color: rgba(18, 108, 97, 0.36);
  background: var(--surface-soft);
  text-decoration: none;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(230px, 0.32fr) minmax(0, 0.68fr);
  gap: 28px;
  align-items: start;
}

.split-section .section-heading {
  display: block;
  margin-bottom: 0;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.timeline-meta {
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.timeline-logo {
  width: 70px;
  height: 70px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  object-fit: contain;
}

.company-logo {
  width: 144px;
  height: 62px;
  padding: 8px 10px;
}

.neural-logo {
  width: 70px;
  height: 70px;
}

.wide-logo {
  width: 150px;
}

.time {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.timeline-item p {
  margin-bottom: 4px;
  color: var(--muted);
}

.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

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

  .nav-links {
    max-width: 74vw;
    overflow-x: auto;
    border-radius: 18px;
  }

  .nav-links a {
    min-height: 34px;
    padding: 0 11px;
    white-space: nowrap;
  }

  .hero,
  .publication,
  .split-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

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

  .profile-photo {
    max-width: 320px;
  }

  .split-section .section-heading {
    margin-bottom: 4px;
  }

}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header {
    display: grid;
    gap: 10px;
  }

  .site-header,
  .section,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    max-width: none;
    line-height: 1.15;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    max-width: none;
    width: 100%;
    border-radius: 18px;
  }

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

  .section {
    padding: 52px 0;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .lead {
    font-size: 18px;
  }

  .profile-panel,
  .publication,
  .timeline-item {
    padding: 16px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .button {
    width: 100%;
  }
}
