:root {
  --bg: #f7fff9;
  --bg-alt: #ffffff;
  --text: #25332b;
  --muted: #7b8a80;
  --accent: #9bd8b3;
  --accent-soft: #e2f7ea;
  --border: #d6e9dd;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, -system-ui, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #f0fff4, #f7fff9 45%, #fefcf4 100%);
  color: var(--text);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  background: linear-gradient(135deg, #9bd8b3, #c6f3d0);
  color: #1f2933;
  padding: 2.6rem 0 2.1rem;
  box-shadow: 0 16px 40px rgba(31, 41, 55, 0.18);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.name {
  font-size: 2.2rem;
  margin: 0 0 0.4rem;
  letter-spacing: 0.03em;
}

.title {
  margin: 0 0 0.3rem;
  font-weight: 500;
}

.subtitle {
  margin: 0;
  color: rgba(37, 51, 43, 0.8);
}

.avatar-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 24px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #4b6353;
  flex-shrink: 0;
  background: #dff6e8;
  box-shadow: 0 16px 40px rgba(148, 190, 159, 0.35);
  overflow: hidden;
}

.site-nav {
  background: rgba(247, 255, 249, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(214, 233, 221, 0.8);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.6rem 1.5rem;
}

.nav-links a {
  color: #3f5a48;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #9bd8b3, #d5f4df);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.main-content {
  padding: 2.5rem 0 3rem;
}

.section {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 1.75rem 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(214, 233, 221, 0.9);
  box-shadow: 0 18px 50px rgba(163, 201, 173, 0.18);
  overflow-wrap: break-word;
}

.section h2 {
  margin: 0 0 0.9rem;
  font-size: 1.3rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  color: #304236;
}

.item-list {
  list-style: none;
  padding-left: 0;
  margin: 0.3rem 0 0;
}

.item-list li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(214, 233, 221, 0.8);
}

.item-list li:last-child {
  border-bottom: none;
}

.hint {
  margin: 0.2rem 0 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.pub-authors,
.pub-title,
.pub-venue,
.pub-links {
  display: block;
}

.pub-title {
  margin: 0.1rem 0;
}

.pub-venue {
  font-size: 0.9rem;
  color: var(--muted);
}

.pub-links a {
  font-size: 0.9rem;
}

.contact-list {
  list-style: none;
  padding-left: 0;
  margin: 0.3rem 0 0;
}

.contact-list li {
  padding: 0.25rem 0;
}

.site-footer {
  border-top: 1px solid rgba(214, 233, 221, 0.9);
  background: #f5fff8;
  color: #6b7c70;
  padding: 1rem 0 1.6rem;
  font-size: 0.88rem;
}

.site-footer a {
  color: #4a8060;
}

@media (max-width: 640px) {
  .header-content {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .avatar-placeholder {
    align-self: flex-end;
  }

  .section {
    padding: 1.4rem 1.3rem 1.1rem;
  }
}

