:root {
  --bg:       #F8F6F0;
  --bg-warm:  #F0EDE4;
  --bg-dark:  #0F0F0F;
  --white:    #FFFFFF;
  --text:     #1A1A1A;
  --text-2:   #4A4A4A;
  --text-3:   #888888;
  --gold:     #B8892A;
  --gold-lt:  #F0E4C0;
  --gold-dk:  #8B6820;
  --border:   #DDD9CE;
  --radius:   14px;
  --shadow:   0 2px 20px rgba(0,0,0,0.06);
  --shadow-lg:0 8px 40px rgba(0,0,0,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248,246,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.nav-cta {
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { background: var(--gold-dk); transform: translateY(-1px); }

/* Hero */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-2);
  box-shadow: var(--shadow);
}
.stat-pill strong { color: var(--gold); font-size: 18px; }

/* Main */
.main { max-width: 1160px; margin: 0 auto; padding: 0 24px 100px; }

/* Cohort section */
.cohort { margin-bottom: 80px; }
.cohort-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold-lt);
}
.cohort-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  color: var(--text);
  margin-bottom: 6px;
}
.cohort-desc {
  font-size: 15px;
  color: var(--text-3);
}

/* Kid grid */
.kid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Kid card */
.kid-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.kid-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.kid-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 24px 16px;
}
.kid-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}
.kid-meta { min-width: 0; }
.kid-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.kid-intro {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.kid-projects {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--text-2);
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.project-link:hover {
  background: var(--gold-lt);
  color: var(--gold-dk);
}
.project-link::after {
  content: "→";
  color: var(--gold);
  font-weight: 700;
}
.kid-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.kid-site-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}
.kid-site-link:hover { color: var(--gold-dk); }

/* Empty state */
.empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-3);
}
.empty-icon { font-size: 48px; margin-bottom: 16px; }

/* Footer */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 40px 24px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 640px) {
  .hero { padding: 120px 20px 60px; }
  .hero-title { font-size: 34px; }
  .kid-grid { grid-template-columns: 1fr; }
  .nav-brand { font-size: 15px; }
}
