/* ===== 字体 ===== */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700&family=Noto+Sans:wght@300;400;500;600;700&display=swap');

/* ===== CSS 变量 ===== */
:root {
  --mint: #5cc6b0;
  --sand: #d4c4a8;
  --forest: #172623;
  --cream: #f5f0e8;
  --warm-bg: #ede7da;
  --terra: #c67b5c;
  --olive: #6b7b3c;
  --text: #1e2d2a;
  --text-muted: #5a6b67;
  --card-bg: #f0ebe0;
  --radius-card: 28px;
  --radius-sm: 12px;
  --radius-xs: 6px;
  --shadow-soft: 0 4px 24px rgba(23,38,35,0.10);
  --shadow-card: 0 2px 16px rgba(23,38,35,0.08);
  --nav-h: 64px;
  --font-main: 'Be Vietnam Pro', 'Noto Sans', system-ui, sans-serif;
  --transition: 0.3s ease-out;
}

/* ===== 重置 & 基础 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 17px;
  scroll-behavior: smooth;
  background: var(--warm-bg);
  color: var(--text);
}

body {
  font-family: var(--font-main);
  line-height: 1.7;
  background: var(--warm-bg);
  color: var(--text);
  padding-bottom: var(--nav-h);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

a {
  color: var(--forest);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--mint); }

/* ===== 粒纹质感 ===== */
.hero-grain,
.about-grain,
.tag-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  z-index: 2;
  opacity: 0.5;
}

/* ===== site-wrap ===== */
.site-wrap {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* ===== Hero 全宽 ===== */
.hero-full {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  height: 100vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--forest);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(0.85) brightness(0.75);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(23,38,35,0.55) 0%, rgba(92,198,176,0.18) 100%);
  z-index: 1;
}

/* 点阵底纹 */
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(circle, rgba(212,196,168,0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-body {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 2rem 1.5rem;
  max-width: 700px;
  animation: heroFadeUp 0.9s ease-out both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.75rem;
}
.hero-eyebrow span { border-bottom: 1px solid var(--mint); padding-bottom: 2px; }

.hero-h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(23,38,35,0.4);
}

.hero-tagline {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}

.btn-hero {
  display: inline-block;
  background: var(--mint);
  color: var(--forest);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 18px rgba(92,198,176,0.35);
}
.btn-hero:hover {
  background: #4db5a0;
  color: var(--forest);
  transform: translateY(-2px);
}

/* ===== 通用 section-title ===== */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.section-title span {
  border-bottom: 2px solid var(--mint);
  padding-bottom: 3px;
}

/* ===== sections-grid (首页栏目区) ===== */
.sections-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: 3rem 1.5rem 2rem;
  align-items: start;
}
.sections-aside h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sections-aside h2 span { border-bottom: 1px solid var(--sand); padding-bottom: 2px; }

.sections-aside nav dl { display: flex; flex-direction: column; gap: 0; }
.sections-aside nav dt {
  border-top: 1px solid var(--sand);
  padding: 0.6rem 0;
}
.sections-aside nav dt a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--forest);
}
.sections-aside nav dt a:hover { color: var(--mint); }
.sections-aside nav dd {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0 0 0.4rem 0;
  border-top: none;
}

.sections-feature {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.feature-block--mint {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--mint) 0%, var(--sand) 100%);
  opacity: 0.22;
}
.sections-feature figcaption {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* ===== home-content-section ===== */
.home-content-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 2rem 1.5rem;
  align-items: start;
}
.content-aside {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}
.content-aside h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.content-aside h3 span { border-bottom: 1px solid var(--sand); padding-bottom: 2px; }
.content-aside p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.aside-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mint);
}

/* ===== 首页故事区 ===== */
.stories-section {
  padding: 2.5rem 1.5rem 3rem;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.card-fig {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  height: 180px;
}
.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.5s ease-out;
}
.card:hover .card-thumb { transform: scale(1.04); }
.card-body {
  padding: 1.25rem 1.4rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.card-cat {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mint);
}
.card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}
.card-title a { color: var(--forest); }
.card-title a:hover { color: var(--mint); }
.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
.card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ===== 页脚 ===== */
.site-footer {
  width: 100vw;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  background: var(--forest);
  padding: 3.5rem 2rem 2rem;
  margin-top: 4rem;
  text-align: center;
}
.footer-brand {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--sand);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.2rem;
  opacity: 0.85;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(212,196,168,0.6);
  display: block;
}
.footer-copy a {
  color: var(--mint);
  font-weight: 500;
}
.footer-copy a:hover { color: #fff; }

/* ===== 底部固定导航条 ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(23,38,35,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(92,198,176,0.18);
  height: var(--nav-h);
}
.bottom-nav-dl {
  display: flex;
  align-items: stretch;
  height: 100%;
  max-width: 900px;
  margin: 0 auto;
  justify-content: space-between;
}
.bnav-item {
  display: flex;
  align-items: center;
  flex: 1;
}
.bnav-brand {
  flex: 0 0 auto;
  padding: 0 0.5rem;
}
.bnav-brand-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mint);
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0.5rem;
  min-height: 44px;
}
.bnav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: rgba(212,196,168,0.7);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.5rem 0.3rem;
  min-height: 44px;
  width: 100%;
  text-align: center;
  transition: color var(--transition);
}
.bnav-link:hover { color: var(--mint); }
.bnav-icon {
  font-size: 0.9rem;
  line-height: 1;
  color: rgba(92,198,176,0.55);
}
.bnav-label {
  font-size: 0.65rem;
  white-space: nowrap;
  overflow: hidden;
  max-width: 48px;
  text-overflow: ellipsis;
}
.bnav-cta {
  background: var(--mint);
  color: var(--forest);
  border-radius: var(--radius-xs);
  font-weight: 700;
  margin: 0.5rem 0.25rem;
  min-height: 38px;
  border-radius: 8px;
}
.bnav-cta:hover { background: #4db5a0; color: var(--forest); }
.bnav-cta .bnav-icon { color: var(--forest); }

/* ===== 栏目页 ===== */
.section-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  height: 52vh;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--forest);
}
.section-hero-fig {
  position: absolute;
  inset: 0;
  margin: 0;
}
.section-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(0.75) brightness(0.6);
}
.section-hero-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--forest) 60%, #2a4a42 100%);
}
.section-hero-body {
  position: relative;
  z-index: 3;
  padding: 2rem 2.5rem;
  color: #fff;
  max-width: 700px;
}
.section-h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(23,38,35,0.5);
}
.page-date {
  font-size: 0.82rem;
  color: rgba(212,196,168,0.75);
  font-weight: 400;
}

.section-main { padding: 0 1.5rem; }

.section-content-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  align-items: start;
}
.section-aside {
  position: sticky;
  top: 1rem;
}
.section-aside h2 {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.section-aside h2 span { border-bottom: 1px solid var(--sand); padding-bottom: 2px; }
.section-aside nav dl { display: flex; flex-direction: column; }
.section-aside nav dt {
  border-top: 1px solid var(--sand);
  padding: 0.55rem 0;
}
.section-aside nav dt a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--forest);
}
.section-aside nav dt a:hover { color: var(--mint); }

.section-content-area {
  margin: 0;
}
.section-prose { /* handled by .prose */ }

/* ===== 子页列表 ===== */
.children-section {
  padding: 2rem 0 3rem;
}
.children-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.child-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-top: 1px solid var(--sand);
  transition: background var(--transition);
}
.child-item:last-of-type { border-bottom: 1px solid var(--sand); }
.child-item a {
  display: contents;
  color: var(--forest);
}
.child-fig {
  margin: 0;
  grid-row: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 70px;
}
.child-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.4s ease-out;
}
.child-item:hover .child-thumb { transform: scale(1.05); }
.child-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--forest);
  transition: color var(--transition);
}
.child-item a:hover .child-title { color: var(--mint); }
.child-desc {
  grid-column: 2;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.child-desc time {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.child-cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== 文章页 ===== */
.story-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  height: 62vh;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--forest);
}
.story-hero-fig {
  position: absolute;
  inset: 0;
  margin: 0;
}
.story-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(0.8) brightness(0.55);
}
.story-hero-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--forest), #2d5048);
}
.story-hero-body {
  position: relative;
  z-index: 3;
  padding: 2rem 2.5rem;
  color: #fff;
  max-width: 760px;
}
.breadcrumb-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mint);
  margin-bottom: 0.5rem;
  display: block;
}
.breadcrumb-link:hover { color: #fff; }
.story-h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(23,38,35,0.5);
}
.story-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.story-date {
  font-size: 0.82rem;
  color: rgba(212,196,168,0.8);
}
.story-modified {
  font-size: 0.78rem;
  color: rgba(212,196,168,0.6);
}

.story-main { padding: 0 1.5rem; }

.story-body-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  align-items: start;
}

.story-aside {
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.aside-block {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.4rem;
}
.aside-block h2 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.aside-block h2 span { border-bottom: 1px solid var(--sand); padding-bottom: 2px; }
.aside-block h3 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.aside-block h3 span { border-bottom: 1px solid var(--sand); padding-bottom: 2px; }
.aside-block nav dl { display: flex; flex-direction: column; }
.aside-block nav dt {
  border-top: 1px solid rgba(212,196,168,0.4);
  padding: 0.45rem 0;
}
.aside-block nav dt:first-child { border-top: none; }
.aside-block nav dt a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--forest);
}
.aside-block nav dt a:hover { color: var(--mint); }
.aside-cta { background: transparent; padding: 0; }
.btn-aside {
  display: block;
  background: var(--mint);
  color: var(--forest);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.btn-aside:hover { background: #4db5a0; color: var(--forest); transform: translateY(-1px); }

.story-content-wrap {
  margin: 0;
}
.story-prose { /* handled by .prose */ }
.story-figcaption {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sand);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.back-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mint);
}
.back-link:hover { color: var(--forest); }

/* ===== About 页 ===== */
.about-header {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest);
  padding: 6rem 2rem 4rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}
.about-header-body {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 640px;
}
.about-h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.about-tagline {
  font-size: 1.05rem;
  color: rgba(212,196,168,0.85);
  line-height: 1.65;
}

.about-main { padding: 0 1.5rem; }

.about-content-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  align-items: start;
}
.about-aside {
  position: sticky;
  top: 1rem;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}
.about-aside h2 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.about-aside h2 span { border-bottom: 1px solid var(--sand); padding-bottom: 2px; }
.about-aside nav dl { display: flex; flex-direction: column; }
.about-aside nav dt { border-top: 1px solid var(--sand); padding: 0.5rem 0; }
.about-aside nav dt a { font-size: 0.88rem; font-weight: 500; color: var(--forest); }
.about-aside nav dt a:hover { color: var(--mint); }
.about-aside nav dd { font-size: 0.78rem; color: var(--text-muted); padding: 0 0 0.25rem; }
.about-content-fig { margin: 0; }
.about-figcaption {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: normal;
}

.about-brand-section { padding: 2rem 0 3rem; }
.about-sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.about-section-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}
.about-section-card:hover { transform: translateY(-3px); }
.about-section-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
}
.about-section-card h3 span { border-bottom: 1px solid var(--mint); padding-bottom: 2px; }
.about-section-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
.card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mint);
  margin-top: 0.25rem;
}
.card-link:hover { color: var(--forest); }

/* ===== Privacy 页 ===== */
.privacy-header {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(160deg, var(--forest) 0%, #2a4a42 100%);
  padding: 5rem 2rem 3.5rem;
  text-align: center;
  min-height: 38vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.privacy-header-body {
  position: relative;
  z-index: 2;
}
.privacy-h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.privacy-main { padding: 0 1.5rem; }
.privacy-content-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0 3rem;
  align-items: start;
}
.privacy-aside {
  position: sticky;
  top: 1rem;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 1.25rem;
}
.privacy-aside h2 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.privacy-aside h2 span { border-bottom: 1px solid var(--sand); padding-bottom: 2px; }
.privacy-aside nav dl { display: flex; flex-direction: column; }
.privacy-aside nav dt { border-top: 1px solid var(--sand); padding: 0.5rem 0; }
.privacy-aside nav dt a { font-size: 0.88rem; font-weight: 500; color: var(--forest); }
.privacy-aside nav dt a:hover { color: var(--mint); }
.privacy-aside nav dd { font-size: 0.78rem; color: var(--text-muted); padding-bottom: 0.25rem; }
.privacy-content-fig { margin: 0; }
.privacy-figcaption {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== Tag 页 ===== */
.tag-header {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest);
  padding: 5.5rem 2rem 3.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42vh;
}
.tag-header-body {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 600px;
}
.tag-h1 {
  font-size: clamp(1.7rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.tag-desc {
  font-size: 1rem;
  color: rgba(212,196,168,0.85);
  line-height: 1.65;
}
.tag-main { padding: 0 1.5rem; }
.tag-content-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  align-items: start;
}
.tag-aside {
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.tag-aside h2 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.tag-aside h2 span { border-bottom: 1px solid var(--sand); padding-bottom: 2px; }
.tag-aside > nav > dl,
.tag-aside .aside-block nav dl { display: flex; flex-direction: column; }
.tag-aside > nav > dl dt,
.tag-aside .aside-block nav dl dt {
  border-top: 1px solid var(--sand);
  padding: 0.5rem 0;
}
.tag-aside > nav > dl dt a,
.tag-aside .aside-block nav dl dt a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--forest);
}
.tag-aside > nav > dl dt a:hover,
.tag-aside .aside-block nav dl dt a:hover { color: var(--mint); }
.tag-content-fig { margin: 0; }
.tag-figcaption {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.tag-stories-section { padding: 2rem 0 3rem; }

/* ===== 正文 prose ===== */
.prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 720px;
}
.prose h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--forest);
  margin: 2.25rem 0 0.9rem;
  letter-spacing: -0.01em;
}
.prose h2 span { border-bottom: 2px solid var(--mint); padding-bottom: 2px; }
.prose h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
  margin: 1.75rem 0 0.65rem;
}
.prose h3 span { border-bottom: 1px solid var(--sand); padding-bottom: 2px; }
.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol {
  margin: 0 0 1.25rem 1.5rem;
}
.prose li { margin-bottom: 0.4rem; }
.prose strong { font-weight: 600; color: var(--forest); }
.prose em { font-style: italic; color: var(--text-muted); }
.prose a { color: var(--mint); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--forest); }
.prose blockquote {
  border-left: 3px solid var(--mint);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--card-bg);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  color: var(--text-muted);
  font-style: italic;
}
.prose img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}
.prose hr {
  border: none;
  border-top: 1px solid var(--sand);
  margin: 2rem 0;
}
.prose time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== 动效 ===== */
@media (prefers-reduced-motion: no-preference) {
  .card {
    animation: fadeUpCard 0.5s ease-out both;
  }
  .cards-grid .card:nth-child(1) { animation-delay: 0.05s; }
  .cards-grid .card:nth-child(2) { animation-delay: 0.12s; }
  .cards-grid .card:nth-child(3) { animation-delay: 0.19s; }
  .cards-grid .card:nth-child(4) { animation-delay: 0.26s; }
  .cards-grid .card:nth-child(5) { animation-delay: 0.33s; }
  .cards-grid .card:nth-child(6) { animation-delay: 0.40s; }

  @keyframes fadeUpCard {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .child-item {
    animation: fadeInItem 0.4s ease-out both;
  }
}

@keyframes fadeInItem {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ===== 移动端 ===== */
@media (max-width: 768px) {
  :root { --nav-h: 58px; }

  html { font-size: 16px; }

  .sections-grid,
  .home-content-section {
    grid-template-columns: 1fr;
  }
  .sections-aside {
    order: -1;
  }
  .sections-feature { display: none; }

  .section-content-row,
  .story-body-row,
  .about-content-row,
  .privacy-content-row,
  .tag-content-row {
    grid-template-columns: 1fr;
  }
  .section-aside,
  .story-aside,
  .about-aside,
  .privacy-aside,
  .tag-aside {
    position: static;
  }

  .hero-full { height: 100svh; }
  .hero-h1 { font-size: 2rem; }

  .section-hero,
  .story-hero { height: 45vh; min-height: 280px; }

  .about-header,
  .tag-header,
  .privacy-header { min-height: 38vh; }

  .footer-brand { font-size: 2.5rem; }

  .bottom-nav-dl {
    max-width: 100%;
    padding: 0 0.25rem;
  }
  .bnav-label { font-size: 0.6rem; max-width: 38px; }
  .bnav-icon { font-size: 0.8rem; }

  .child-item {
    grid-template-columns: 80px 1fr;
  }
  .child-fig { height: 60px; }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .card-fig { height: 130px; }

  .prose { max-width: 100%; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .about-sections-grid { grid-template-columns: 1fr; }
  .section-hero-body,
  .story-hero-body { padding: 1.5rem 1.25rem; }
  .bnav-cta {
    margin: 0.35rem 0.1rem;
    font-size: 0.6rem;
    padding: 0 0.3rem;
  }
}

/* ===== 无障碍 ===== */
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}
