:root {
  --bg: #f2f7ec;
  --panel: #fffdf7;
  --text: #1f2c33;
  --muted: #5d6e73;
  --line: #d7dfd2;
  --accent: #2f6f7e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1040px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
}

.hero {
  padding: 6.2rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.6rem;
  align-items: center;
}

.hero-photo-wrap {
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(31, 44, 51, 0.12);
}

h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  margin: 0;
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 65ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  color: #fff;
  background: var(--accent);
  padding: 0.62rem 1rem;
  border-radius: 10px;
  font-weight: 600;
}

.button:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

.button.ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}

.section {
  padding: 2.4rem 0;
}

h2 {
  font-size: 1.6rem;
  margin: 0 0 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.card h3 {
  margin-top: 0.1rem;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.publication-list {
  margin: 0;
  padding-left: 1.1rem;
}

.publication-list li {
  margin: 0.5rem 0;
}

.publication-list span {
  display: block;
  color: var(--muted);
}

.pub-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 0.9rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.pub-thumb {
  width: 132px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #eef2ea;
}

.pub-links {
  display: block;
  margin-top: 0.3rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.contact-list li {
  margin: 0.35rem 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    width: 200px;
    height: 200px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 0.85rem 4vw 1rem;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .pub-item {
    grid-template-columns: 1fr;
  }

  .pub-thumb {
    width: 100%;
    height: 160px;
  }
}
