:root {
  --ink: #17202a;
  --muted: #65717e;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: #dfe4e1;
  --accent: #197c74;
  --accent-dark: #105c56;
  --warm: #e2c84c;
  --max-width: 1120px;
  --shadow: 0 18px 50px rgba(23, 32, 42, 0.08);
}

* {
  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;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 228, 225, 0.85);
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  position: relative;
  width: 22px;
  height: 14px;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.brand-mark::before {
  left: 0;
  background: var(--accent);
}

.brand-mark::after {
  right: 0;
  background: var(--warm);
  opacity: 0.88;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  text-transform: lowercase;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 3px 16px rgba(23, 32, 42, 0.07);
}

main {
  overflow: hidden;
}

.hero,
.page-hero,
.section,
.contact-layout {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.hero {
  min-height: 680px;
  padding: 112px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(4rem, 11vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.page-hero h1 {
  font-size: clamp(3.4rem, 9vw, 7rem);
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.3vw, 1.75rem);
  line-height: 1.35;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  top: 16%;
  width: 68%;
  height: 68%;
  border-radius: 50%;
}

.hero-visual::before {
  left: 0;
  background: var(--accent);
}

.hero-visual::after {
  right: 0;
  background: var(--warm);
  opacity: 0.88;
}

.section {
  padding: 90px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 44px;
}

.section-heading h2,
.contact-card h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.045eme
}

.section-heading p,
.contact-card p,
.research-card p {
  color: var(--muted);
}

.partners {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.partner {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.partner:hover {
  opacity: 0.68;
}

.partner img {
  display: block;
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
}

.partner .bu-partner-logo {
  filter: invert(1);
}

.page-hero {
  padding: 105px 0 65px;
}

.page-hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.2rem;
}

.research-grid {
  display: grid;
  gap: 22px;
}

.research-card {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(190px, 27%) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.research-image {
  min-height: 180px;
  padding: 20px 30px 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  border-right: 1px solid var(--line);
}

.research-image img {
  display: block;
  width: 100%;
  max-height: 250px;
  object-fit: contain;
}

.research-card h2 {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.research-card h2 a {
  text-decoration: none;
}

.research-card h2 a:hover {
  color: var(--accent-dark);
}

.research-card .authors {
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 700;
}

.research-card .authors a {
  text-decoration-color: rgba(23, 32, 42, 0.25);
  text-underline-offset: 3px;
}

.research-card .authors a:hover {
  color: var(--accent-dark);
  text-decoration-color: var(--accent-dark);
}

.research-meta {
  margin-bottom: 18px;
}

.materials {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.materials a {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 750;
}

.materials a:hover {
  border-color: var(--accent);
  background: #eef7f5;
}

.text-link {
  width: fit-content;
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
}

.contact-layout {
  padding: 20px 0 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.contact-card.accent {
  color: var(--white);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.contact-card.accent p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card.accent .text-link {
  color: var(--white);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-wrap {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-wrap p {
  margin: 0;
}

@media (max-width: 800px) {
  .hero {
    min-height: auto;
    padding-top: 78px;
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-visual {
    width: min(78vw, 420px);
    justify-self: center;
  }

  .research-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .partners {
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    width: min(calc(100% - 28px), var(--max-width));
    min-height: 64px;
  }

  .brand {
    font-size: 0;
  }

  .brand-mark {
    margin-right: 9px;
  }

  .nav {
    gap: 2px;
  }

  .nav a {
    padding: 7px 9px;
    font-size: 0.82rem;
  }

  .hero,
  .page-hero,
  .section,
  .contact-layout {
    width: min(calc(100% - 28px), var(--max-width));
  }

  h1 {
    font-size: clamp(3.65rem, 21vw, 6rem);
  }

  .hero {
    padding-bottom: 58px;
  }

  .section {
    padding: 68px 0;
  }

  .research-card {
    padding: 28px;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .research-image {
    min-height: 0;
    padding: 0 0 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .research-image img {
    width: auto;
    max-width: 100%;
    max-height: 220px;
  }

  .partners {
    padding: 20px 0;
    flex-direction: column;
    gap: 32px;
  }

  .partner {
    width: 100%;
  }

  .partner img {
    max-height: 76px;
  }

  .contact-card {
    padding: 28px;
  }

  .footer-wrap {
    width: min(calc(100% - 28px), var(--max-width));
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
}

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

  .button,
  .partner {
    transition: none;
  }
}
