:root {
  --paper: #ffffff;
  --soft: #fafafa;
  --soft-2: #f5f5f6;
  --line: #e5e7eb;
  --ink: #1f2937;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --purple: #7c4d92;
  --purple-dark: #6a4080;
  --purple-soft: #f4eef6;
  --shadow: 0 2px 16px rgba(17, 24, 39, 0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  background-image: none;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", "Microsoft YaHei", serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 12px rgba(17, 24, 39, 0.04);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: 176px; height: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #374151;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 15px;
}
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--purple); }
.nav-toggle { display: none; }

main { overflow: hidden; }
.hero,
.section-block,
.split-section,
.identity-band,
.quote-section,
.category-hero,
.category-intro,
.next-topics,
.article-index-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.clean-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  padding: 82px 0 70px;
}
.hero-copy { max-width: 720px; }
.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--muted-2);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.08;
  letter-spacing: 0;
}
.hero-name {
  margin: 0 0 22px;
  color: var(--purple);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: 0;
}
.hero-subtitle {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.5;
}
.hero-text {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.95;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 700;
  text-decoration: none;
}
.button.primary { color: #fff; background: var(--purple); border-color: var(--purple); }
.button.primary:hover { background: var(--purple-dark); }
.button.ghost:hover { color: var(--purple); border-color: var(--purple); }

.hero-portrait {
  position: relative;
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 48%;
}
.hero-portrait figcaption {
  position: absolute;
  right: 26px;
  bottom: 26px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  font-size: 14px;
}

.identity-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  box-shadow: var(--shadow);
}
.identity-band h2,
.section-heading h2,
.split-copy h2,
.category-hero h1,
.category-intro h2,
.next-topics h2,
.article-index-hero h1 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.18;
}
.identity-band p,
.section-heading p,
.split-copy p,
.category-hero p,
.category-intro p,
.category-intro li,
.article-card p,
.next-topics p,
.article-index-hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.88;
}

.section-block { padding: 74px 0 0; }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.topic-grid { display: grid; gap: 22px; }
.topic-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 30px;
  align-items: stretch;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.topic-card:nth-child(even) { grid-template-columns: minmax(320px, 0.46fr) minmax(0, 1fr); }
.topic-card:nth-child(even) .topic-copy { order: 2; }
.topic-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  background: var(--soft-2);
  border: 1px solid var(--line);
}
.topic-copy h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.22;
}
.topic-copy p { color: var(--muted); font-size: 17px; line-height: 1.88; }
.topic-copy ul {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}
.topic-copy li {
  color: var(--muted);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.65;
}
.topic-copy li::before { content: "—"; margin-right: 8px; color: var(--purple); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 800;
  text-decoration: none;
}
.text-link::after { content: "→"; }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 34px;
  align-items: center;
  margin-top: 74px;
  padding: 34px;
  background: var(--soft-2);
  border: 1px solid var(--line);
}
.split-section img { width: 100%; border: 1px solid var(--line); background: #fff; }

.muted-section {
  width: 100%;
  max-width: none;
  padding: 74px max(20px, calc((100vw - 1180px) / 2)) 0;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.method-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.method-grid span {
  color: var(--purple);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 900;
}
.method-grid h3 { margin: 12px 0; color: var(--ink); font-size: 22px; }
.method-grid p { margin: 0; color: var(--muted); line-height: 1.8; }

.home-article-groups { display: grid; gap: 26px; }
.home-article-group {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.group-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.group-heading span {
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
}
.group-heading a {
  color: var(--purple);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 800;
  text-decoration: none;
}
.article-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.article-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.article-card-body { padding: 20px; }
.article-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}
.article-card a {
  color: var(--purple);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.quote-section {
  margin-top: 74px;
  margin-bottom: 74px;
  padding: 42px;
  background: var(--purple-soft);
  border: 1px solid var(--line);
}
.quote-section p {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.4;
}
.quote-section span { display: block; max-width: 760px; color: var(--muted); font-size: 17px; line-height: 1.86; }

.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  gap: 36px;
  align-items: center;
  padding: 74px 0 34px;
}
.category-hero img {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.category-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 24px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  box-shadow: var(--shadow);
}
.category-intro ul { display: grid; gap: 12px; margin: 0; padding-left: 20px; }
.next-topics {
  margin-top: 56px;
  margin-bottom: 70px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
}
.next-topic-links { display: flex; gap: 12px; flex-wrap: wrap; }
.next-topic-links a {
  padding: 10px 14px;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: 6px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.article-index-hero {
  margin-top: 74px;
  margin-bottom: 34px;
  padding: 42px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.archive-main {
  padding: 72px 0 78px;
}

.archive-hero,
.archive-feature,
.archive-grid-section,
.refined-article-group,
.refined-index-hero {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.archive-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.62fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: stretch;
  margin-bottom: 48px;
}

.archive-hero-copy {
  padding: clamp(34px, 5vw, 58px);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  box-shadow: var(--shadow);
}

.archive-hero-copy h1,
.refined-index-hero h1 {
  max-width: 880px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.12;
}

.archive-hero-copy p,
.refined-index-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.9;
}

.archive-hero-note {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(28px, 4vw, 42px);
  background: var(--soft-2);
  border: 1px solid var(--line);
}

.archive-hero-note p,
.archive-hero-note li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.88;
}

.archive-hero-note ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-hero-note li {
  position: relative;
  padding-left: 18px;
}

.archive-hero-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.86em;
  width: 7px;
  height: 7px;
  background: var(--purple);
}

.archive-feature,
.archive-grid-section {
  margin-bottom: 52px;
}

.compact-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.compact-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
}

.refined-article-group {
  margin-bottom: 34px;
  padding: clamp(24px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.refined-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: #d7c6df;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.article-media {
  display: block;
  text-decoration: none;
}

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.article-chip {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 10px;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: 4px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.article-card h3 a {
  color: inherit;
  text-decoration: none;
}

.article-card p {
  flex: 1;
}

.read-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.article-card-featured {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: stretch;
}

.article-card-featured .article-card-body {
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.article-card-featured .article-card h3,
.article-card-featured h3 {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.22;
}

.article-card-featured img {
  height: 100%;
  min-height: 360px;
  aspect-ratio: auto;
}

.refined-index-hero {
  margin-top: 0;
  margin-bottom: 40px;
  padding: clamp(36px, 5vw, 58px);
  border-left: 4px solid var(--purple);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 58px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
.site-footer p { margin: 0; }

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
  }
  .nav-toggle span { width: 18px; height: 1px; background: var(--ink); }
  .site-nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 13px 10px; }
  .clean-hero,
  .identity-band,
  .topic-card,
  .topic-card:nth-child(even),
  .split-section,
  .category-hero,
  .category-intro {
    grid-template-columns: 1fr;
  }
  .topic-card:nth-child(even) .topic-copy { order: initial; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-hero,
  .article-card-featured {
    grid-template-columns: 1fr;
  }
  .refined-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand-logo { width: 150px; }
  .hero, .section-block, .split-section, .identity-band, .quote-section, .category-hero, .category-intro, .next-topics, .article-index-hero {
    width: min(100% - 28px, 1180px);
  }
  .clean-hero { padding-top: 44px; }
  .hero h1 { font-size: 42px; }
  .article-row,
  .refined-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }
  .identity-band,
  .topic-card,
  .split-section,
  .category-intro,
  .article-index-hero,
  .quote-section {
    padding: 24px;
  }
  .site-footer { display: grid; }
  .archive-main {
    padding-top: 34px;
  }
  .archive-hero,
  .archive-feature,
  .archive-grid-section,
  .refined-article-group,
  .refined-index-hero {
    width: min(100% - 28px, 1180px);
  }
  .archive-hero-copy,
  .archive-hero-note,
  .refined-index-hero {
    padding: 24px;
  }
  .article-card-featured img {
    min-height: 220px;
  }
}
