:root {
  --bg: #ffffff;
  --bg-alt: #f2fbff;
  --ink: #231f20;
  --ink-soft: #5d5a5b;
  --brand: #00aeef;
  --border: #e3ecf1;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(35, 31, 32, 0.20);
  --maxw: 1120px;
  --space: clamp(4rem, 8vw, 7rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
}
.brand:hover { text-decoration: none; }
.brand__logo {
  height: 34px;
  width: auto;
  flex: none;
}

.nav__menu {
  list-style: none;
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
}
.nav__menu a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__menu a:hover { color: var(--ink); text-decoration: none; }
.nav__menu a.is-active { color: var(--ink); }
.nav__menu a:hover::after,
.nav__menu a.is-active::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border: none;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle:hover,
.nav__toggle:focus,
.nav__toggle:active,
.nav__toggle:focus-visible {
  background: #fff;
  outline: none;
  box-shadow: none;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 1rem;
}
.hero__title {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 16ch;
}
.hero__lead {
  margin: 1.4rem 0 0;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.075rem;
}

.hero__visual { display: flex; justify-content: center; }
.hero__banner {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.hero__meta {
  margin: clamp(2.75rem, 5vw, 3.75rem) 0 0;
  padding-top: 1.85rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.5rem 2.5rem;
}
.hero__meta-item { margin: 0; }
.hero__meta dt {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 0.4rem;
}
.hero__meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}

.section { padding-block: var(--space); }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 640px; margin-bottom: 3rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 0.5rem;
}
.section__title {
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  font-weight: 800;
}
.section__intro {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.objectives {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.objectives__head {
  align-self: start;
  position: sticky;
  top: 110px;
}

.objectives__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.objective {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--border);
}
.objective:first-child { padding-top: 0; border-top: 0; }
.objective__num {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}
.objective__title {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.objective__body p { margin: 0; color: var(--ink-soft); }
.objective__body p + p { margin-top: 0.9rem; }

.publications__empty {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  color: var(--ink-soft);
}
.publications__empty p { margin: 0; }

.partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}
.partners__item { min-width: 0; }
.partners__heading {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  padding: 1rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-box:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.logo-box img {
  max-height: 56px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-box--lg {
  width: 100%;
  height: 130px;
  min-height: 0;
  padding: 1.25rem 2rem;
}
.logo-box--lg img {
  max-height: 90px;
  max-width: 260px;
}

.meta {
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.5rem;
}
.partners__meta { max-width: calc((100% - 3rem) / 2); }
.meta__row {
  display: flex;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}
.meta dt { font-weight: 700; min-width: 3rem; color: var(--ink); margin: 0; }
.meta dd { margin: 0; color: var(--ink-soft); }

.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.member {
  flex: 1 1 200px;
  max-width: 240px;
  display: flex;
  flex-direction: column;
}

.member__avatar {
  width: 120px; height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #cdf0ff, #eafaf2);
  border: 1px solid var(--border);
  overflow: hidden;
}

.member__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.member__name { font-size: 1.2rem; }
.member__affiliation {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.member__role { margin: 0.25rem 0 0; color: var(--ink-soft); font-weight: 700; }

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.footer__logo { height: 220px; width: auto; }

.footer__heading {
  color: var(--ink);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  margin: 0 0 1rem;
}

.footer__address {
  font-style: normal;
  display: grid;
  gap: 0.6rem;
  line-height: 1.5;
}

.footer__address a { color: var(--ink); }
.footer__address a:hover { color: var(--brand); text-decoration: none; }

.footer__map iframe {
  width: 100%;
  height: 170px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: block;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom p { margin: 0; }
.footer__bottom ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.footer__bottom a { color: var(--ink-soft); }
.footer__bottom a:hover { color: var(--ink); text-decoration: none; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.objective.reveal:nth-child(2) { transition-delay: 0.08s; }
.objective.reveal:nth-child(3) { transition-delay: 0.16s; }
.objective.reveal:nth-child(4) { transition-delay: 0.24s; }
.team .reveal:nth-child(2) { transition-delay: 0.1s; }
.team .reveal:nth-child(3) { transition-delay: 0.2s; }

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: clamp(2rem, 6vw, 3rem); }
  .hero__visual { order: -1; }
  .hero__banner { max-width: 420px; }
  .objectives { grid-template-columns: 1fr; gap: 2rem; }
  .objectives__head { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .partners { grid-template-columns: 1fr; gap: 2rem; }
  .partners__meta { max-width: none; }
}

@media (max-width: 680px) {
  .brand { margin-left: 0; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 78px; right: 0; left: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav__menu.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__menu li { padding-inline: clamp(1.25rem, 4vw, 2.5rem); padding-block: 0.3rem; }
  .nav__menu a { display: inline-block; padding: 0.5rem 0; }
  .nav__menu a::after { height: 2px; bottom: 0.35rem; }
  .hero__banner { max-width: 220px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
