:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eef5f2;
  --text: #16202a;
  --muted: #5e6a76;
  --line: #dbe3ea;
  --accent: #0d6b78;
  --accent-strong: #084b55;
  --warm: #b76f2b;
  --shadow: 0 14px 34px rgba(22, 32, 42, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 72px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

a:hover,
a:focus {
  color: var(--accent-strong);
  text-decoration: none;
}

.site-nav {
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  box-shadow: 0 8px 24px rgba(22, 32, 42, 0.08);
}

.navbar-brand {
  color: var(--text) !important;
  font-weight: 800;
}

.navbar-default .navbar-nav > li > a {
  color: #2d3a45;
  font-weight: 700;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > li > a:hover {
  background: transparent;
  color: var(--accent);
}

.hero-band {
  background: linear-gradient(135deg, #ffffff 0%, #edf6f4 58%, #f6efe7 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-grid:before,
.hero-grid:after,
.split-section:before,
.split-section:after,
.site-footer .container:before,
.site-footer .container:after {
  display: none;
}

.hero-copy h1,
.page-header-block h1 {
  margin: 8px 0 16px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  font-weight: 850;
}

.lead {
  max-width: 760px;
  color: #344351;
  font-size: 21px;
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-portrait img {
  width: 100%;
  max-height: 460px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
}

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

.button:hover,
.button:focus {
  border-color: var(--accent);
  color: var(--accent);
}

.button.primary:hover,
.button.primary:focus {
  background: var(--accent-strong);
  color: #fff;
}

.section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 850;
}

.section-heading.compact h2 {
  font-size: 27px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.panel,
.content-card,
.path-item,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(22, 32, 42, 0.05);
}

.feature-card,
.content-card,
.contact-card {
  padding: 22px;
}

.feature-card h3,
.content-card h3,
.path-item h3,
.publication-item h3 {
  margin-top: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
}

.feature-card p,
.content-card p,
.path-item p,
.publication-item p,
.timeline-item p {
  margin-bottom: 0;
}

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

.panel {
  padding: 24px;
}

.timeline-list,
.publication-list {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.timeline-item,
.publication-item {
  border-left: 3px solid var(--accent);
  padding-left: 15px;
}

.timeline-item time,
.meta {
  display: block;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.text-link {
  font-weight: 850;
}

.path-grid {
  display: grid;
  gap: 16px;
}

.path-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.path-item img,
.logo-badge img {
  max-width: 72px;
  max-height: 64px;
  object-fit: contain;
}

.page-header-block {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff 0%, #eef5f2 100%);
  padding: 64px 0 44px;
}

.page-header-block p:last-child {
  max-width: 780px;
  margin-bottom: 0;
}

.content-list {
  display: grid;
  gap: 18px;
}

.content-card {
  display: grid;
  gap: 8px;
}

.logo-card {
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: start;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.publication-card h3 {
  margin-bottom: 4px;
}

.publication-section + .publication-section {
  margin-top: 58px;
}

.publication-card .authors,
.publication-card .venue {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.site-footer span {
  color: var(--text);
  font-weight: 850;
}

@media (max-width: 991px) {
  .hero-grid,
  .card-grid.three,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-portrait {
    max-width: 280px;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 62px;
  }

  .hero-grid,
  .section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .lead {
    font-size: 18px;
  }

  .path-item,
  .logo-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .path-item img,
  .logo-badge,
  .logo-badge img {
    width: 58px;
    max-width: 58px;
    height: 58px;
    max-height: 52px;
  }
}
