@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

/* ============================================================
   CSS 自定义属性 & 重置
   ============================================================ */
:root {
  --noir: #1A0A0E;
  --gold: #B8860B;
  --cream: #F5ECD7;
  --gold-light: #D4A017;
  --noir-soft: #2C1219;
  --noir-mid: #3D1A24;
  --cream-dim: #E8D5B5;
  --gold-dim: #8B6508;
  --text-primary: #F5ECD7;
  --text-secondary: #C9A96E;
  --text-muted: #8B7355;
  --border-gold: rgba(184,134,11,0.35);
  --border-cream: rgba(245,236,215,0.15);

  --font-serif: 'Cormorant Garamond', 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body: 'Libre Baskerville', 'Cormorant Garamond', Georgia, serif;

  --radius-card: 28px;
  --transition-std: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 104px;
  --max-prose: 72ch;
  --max-site: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
  line-height: 1.7;
  background: var(--noir);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  background: var(--noir);
  color: var(--text-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-std);
}
a:hover { color: var(--gold-light); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--cream);
}

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   SITE WRAPPER
   ============================================================ */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   HEADER / NAV (两行：品牌行 + 菜单行)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(26,10,14,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  will-change: transform;
}

.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--border-cream);
}

.brand-link {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.brand-link:hover { color: var(--gold); }

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.4rem;
  background: var(--gold);
  color: var(--noir);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-radius: 4px;
  min-height: 40px;
  transition: background var(--transition-std), color var(--transition-std);
  white-space: nowrap;
}
.header-cta:hover {
  background: var(--gold-light);
  color: var(--noir);
}

/* 导航：nav > ol > li > a （有序，抽签要求） */
.site-nav {
  padding: 0 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }

.site-nav ol {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  counter-reset: nav-counter;
}

.site-nav ol li {
  flex-shrink: 0;
  counter-increment: nav-counter;
}

.site-nav ol li a {
  display: flex;
  align-items: center;
  padding: 0.65rem 1rem;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  white-space: nowrap;
  min-height: 44px;
  border-right: 1px solid var(--border-cream);
  transition: color var(--transition-std), background var(--transition-std);
}
.site-nav ol li:last-child a { border-right: none; }
.site-nav ol li a:hover {
  color: var(--gold);
  background: rgba(184,134,11,0.08);
}

/* ============================================================
   HERO — HOME (100vh, arc cut bottom, right-aligned copy)
   ============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--noir);
}

.hero-figure {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
}
.hero-figure--empty {
  background: linear-gradient(135deg, #2C1219 0%, #1A0A0E 50%, #0D0507 100%);
}
.hero-figure .hero-img,
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* parallax overlay */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to left,
    rgba(26,10,14,0.30) 0%,
    rgba(26,10,14,0.60) 40%,
    rgba(26,10,14,0.88) 75%,
    rgba(26,10,14,0.96) 100%
  );
}

/* arc cut bottom */
.hero-arc {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 4;
  height: 120px;
  background: var(--noir);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  text-align: right;
  padding: 2rem 3rem 8rem 2rem;
  max-width: 580px;
}

.hero-eyebrow {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 24px rgba(26,10,14,0.8);
}

.hero-desc {
  font-size: 1rem;
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 42ch;
  margin-left: auto;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 2rem;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  border-radius: 4px;
  min-height: 48px;
  transition: background var(--transition-std), color var(--transition-std);
}
.hero-cta:hover {
  background: var(--gold);
  color: var(--noir);
}

/* floating badge */
.hero-badge {
  position: absolute;
  top: 2.5rem;
  left: 3rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  border-left: 3px solid var(--gold);
  padding-left: 0.75rem;
}
.badge-label {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}
.badge-year {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

/* ============================================================
   HOME: content + sidebar (main > article > figure/aside)
   ============================================================ */
.home-content-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.home-sidebar {
  border-right: 1px solid var(--border-gold);
  padding-right: 2rem;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  align-self: start;
  max-height: calc(100vh - var(--nav-height) - 4rem);
  overflow-y: auto;
}

.home-main-text {
  min-width: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--cream-dim);
}

/* ============================================================
   TOPICS SECTION (home)
   ============================================================ */
.topics-section {
  background: var(--noir-soft);
  padding: 5rem 2rem;
  position: relative;
}

.section-inner {
  max-width: var(--max-site);
  margin: 0 auto;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.subtitle, p.subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  font-style: italic;
  line-height: 1.6;
}

/* ul > li > section > h3/p — 子页列表抽签要求 */
.topics-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.topics-list li { display: block; }

.topic-card {
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem;
  background: rgba(44,18,25,0.6);
  cursor: pointer;
  transition: border-color var(--transition-std), background var(--transition-std), transform var(--transition-std);
  display: block;
}
.topic-card:hover {
  border-color: var(--gold);
  background: rgba(44,18,25,0.9);
  transform: translateY(-3px);
}

.topic-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--cream);
}
.topic-card h3 a { color: inherit; }
.topic-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   LATEST ARTICLES (home)
   ============================================================ */
.latest-section {
  padding: 5rem 2rem;
  max-width: var(--max-site);
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.section-deco {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0;
}

.latest-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-gold);
}

.latest-item {
  border-bottom: 1px solid var(--border-cream);
}
.latest-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.5rem;
  color: var(--cream-dim);
  transition: color var(--transition-std), padding-left var(--transition-std);
  min-height: 52px;
}
.latest-item a:hover {
  color: var(--gold);
  padding-left: 1rem;
}

.latest-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
}
.latest-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.latest-date time { color: inherit; }

/* ============================================================
   PARALLAX LAYER
   ============================================================ */
.parallax-layer {
  will-change: transform;
}

/* ============================================================
   SIDEBAR (共用)
   ============================================================ */
.sidebar-heading {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sidebar-links li {
  border-bottom: 1px solid var(--border-cream);
}
.sidebar-links li a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.sidebar-links li a:hover { color: var(--gold); }

/* ============================================================
   TOPIC PAGE
   ============================================================ */
.topic-hero {
  padding: 5rem 2rem 3rem;
  background: linear-gradient(to bottom, var(--noir-soft), var(--noir));
  border-bottom: 1px solid var(--border-gold);
  text-align: right;
}
.topic-hero-inner {
  max-width: var(--max-site);
  margin: 0 auto;
}

.topic-eyebrow {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.topic-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--cream);
  margin-bottom: 1rem;
}

.topic-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 56ch;
  margin-left: auto;
  line-height: 1.7;
}

.topic-main {
  flex: 1;
}

/* main > article > figure/aside 交错 */
.topic-body-section {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 3.5rem 2rem;
  align-items: start;
}

.topic-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  align-self: start;
}

.topic-content-wrap {
  min-width: 0;
  margin: 0;
}

.topic-prose {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--cream-dim);
}

.related-topics {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-cream);
}

.sidebar-meta { margin-top: 1.5rem; }

/* children list — ul > li > section > h3/p */
.children-section {
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  position: relative;
}

.children-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.children-list li { display: block; }

.child-article {
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  background: rgba(44,18,25,0.5);
  transition: border-color var(--transition-std), transform var(--transition-std);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.child-article:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.child-thumb-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 0.5rem;
  aspect-ratio: 16/9;
}
.child-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.child-article h3 {
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.3;
}
.child-article h3 a { color: inherit; }
.child-article p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.child-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.child-date time { color: inherit; }

.child-readmore {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  font-size: 0.85rem;
  font-family: var(--font-serif);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  min-height: 36px;
}
.child-readmore:hover { color: var(--gold-light); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-main { flex: 1; }

/* breadcrumb */
.breadcrumb {
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--border-cream);
  max-width: var(--max-site);
  width: 100%;
  margin: 0 auto;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumb ol li {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumb ol li::after {
  content: '／';
  margin-left: 0.5rem;
  color: var(--border-gold);
}
.breadcrumb ol li:last-child::after { content: ''; }
.breadcrumb ol li a { color: var(--text-secondary); font-size: 0.8rem; }
.breadcrumb ol li a:hover { color: var(--gold); }

/* main > article > figure/aside 交错 */
.article-body-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  align-self: start;
}

.sidebar-back {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  min-height: 36px;
  margin-right: 1rem;
}
.sidebar-back:hover { color: var(--gold); }

.sidebar-nav-links { margin-top: 1.25rem; }

/* figure = 主内容列 */
.article-content-col {
  min-width: 0;
  margin: 0;
  display: block;
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-gold);
}

.article-h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}
.meta-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}
.meta-sep { color: var(--border-gold); }

.article-hero-figure {
  margin: 0 0 2rem;
  border-radius: 16px;
  overflow: hidden;
}
.article-hero-figure img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}
.article-hero-figure figcaption {
  padding: 0.5rem 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: right;
}

.article-desc-aside {
  margin-bottom: 2rem;
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
}

.article-lead {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.65;
  margin: 0;
}

.article-prose {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--cream-dim);
  max-width: var(--max-prose);
}
.article-prose h2 {
  font-size: 1.5rem;
  color: var(--cream);
  margin: 2.5rem 0 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-cream);
}
.article-prose h3 {
  font-size: 1.2rem;
  color: var(--cream);
  margin: 1.75rem 0 0.4rem;
}
.article-prose p { margin-bottom: 1.25rem; }
.article-prose ul, .article-prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.article-prose ul { list-style: disc; }
.article-prose ol { list-style: decimal; }
.article-prose li { margin-bottom: 0.4rem; }
.article-prose a { color: var(--gold); border-bottom: 1px solid rgba(184,134,11,0.3); }
.article-prose a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
.article-prose blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-style: italic;
}
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.article-prose th {
  background: var(--noir-mid);
  color: var(--gold);
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-gold);
}
.article-prose td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border-cream);
  color: var(--cream-dim);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-main { flex: 1; }

.about-hero-section {
  position: relative;
  padding: 5rem 2rem 3rem;
  text-align: right;
  border-bottom: 1px solid var(--border-gold);
  overflow: hidden;
  background: linear-gradient(135deg, var(--noir-soft) 0%, var(--noir) 100%);
}

.about-deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at left, rgba(184,134,11,0.08) 0%, transparent 70%);
  margin: 0;
  pointer-events: none;
}

.about-hero-text {
  max-width: var(--max-site);
  margin: 0 auto;
  position: relative;
}

.about-h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--cream);
  margin-top: 0.5rem;
}

.about-body-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
  align-items: start;
}

.about-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  align-self: start;
}

.about-content-col {
  min-width: 0;
  margin: 0;
  display: block;
}

.about-desc-aside {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.about-prose {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--cream-dim);
  max-width: var(--max-prose);
}
.about-prose h2 {
  font-size: 1.45rem;
  color: var(--cream);
  margin: 2.5rem 0 0.5rem;
  border-top: 1px solid var(--border-cream);
  padding-top: 1rem;
}
.about-prose p { margin-bottom: 1.2rem; }

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-main { flex: 1; }

.privacy-hero-section {
  position: relative;
  padding: 5rem 2rem 3rem;
  text-align: right;
  border-bottom: 1px solid var(--border-gold);
  overflow: hidden;
  background: linear-gradient(135deg, var(--noir-mid) 0%, var(--noir) 100%);
}

.privacy-deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at left, rgba(184,134,11,0.06) 0%, transparent 70%);
  margin: 0;
  pointer-events: none;
}

.privacy-hero-text {
  max-width: var(--max-site);
  margin: 0 auto;
  position: relative;
}

.privacy-h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin-top: 0.5rem;
}

.privacy-body-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
  align-items: start;
}

.privacy-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  align-self: start;
}

.privacy-content-col {
  min-width: 0;
  margin: 0;
  display: block;
}

.privacy-desc-aside {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.privacy-prose {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--cream-dim);
  max-width: var(--max-prose);
}
.privacy-prose h2 {
  font-size: 1.45rem;
  color: var(--cream);
  margin: 2.5rem 0 0.5rem;
  border-top: 1px solid var(--border-cream);
  padding-top: 1rem;
}
.privacy-prose p { margin-bottom: 1.2rem; }

/* ============================================================
   DEFAULT PAGE
   ============================================================ */
.default-main { flex: 1; }

.default-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
  align-items: start;
}

.default-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  align-self: start;
}

.default-content-col {
  min-width: 0;
  margin: 0;
  display: block;
}

.default-h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  color: var(--cream);
  margin-bottom: 1rem;
}

.default-desc-aside {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.default-prose {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--cream-dim);
  max-width: var(--max-prose);
}

/* ============================================================
   FOOTER — 四栏，address + ul
   ============================================================ */
.site-footer {
  background: var(--noir-soft);
  border-top: 1px solid var(--border-gold);
  padding: 4rem 2rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  max-width: var(--max-site);
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-cream);
}

.footer-col-heading {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.footer-col ul li a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color var(--transition-std);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-col--brand .footer-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.footer-col--brand .footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* footer address + ul — 抽签要求 */
.footer-col--contact address {
  font-style: normal;
}
.footer-col--contact address p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.footer-col--contact address ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-col--contact address ul li a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  min-height: 40px;
  display: flex;
  align-items: center;
}

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  max-width: var(--max-site);
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   PROSE CONTENT (shared into injected page.content)
   ============================================================ */
.topic-prose h2,
.default-prose h2,
.home-main-text h2 {
  font-size: 1.4rem;
  color: var(--cream);
  margin: 2rem 0 0.4rem;
}
.topic-prose p,
.default-prose p,
.home-main-text p {
  color: var(--cream-dim);
  margin-bottom: 1.1rem;
}
.topic-prose a,
.article-prose a,
.home-main-text a {
  color: var(--gold);
}
.topic-prose a:hover,
.article-prose a:hover,
.home-main-text a:hover {
  color: var(--gold-light);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .stagger-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .stagger-item.is-visible {
    opacity: 1;
    transform: none;
  }

  .topic-card,
  .child-article,
  .latest-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease, border-color var(--transition-std), background var(--transition-std);
  }
  .topic-card.is-visible,
  .child-article.is-visible,
  .latest-item.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* stagger delays */
  .topics-list li:nth-child(1) .topic-card,
  .children-list li:nth-child(1) .child-article { transition-delay: 0.05s; }
  .topics-list li:nth-child(2) .topic-card,
  .children-list li:nth-child(2) .child-article { transition-delay: 0.12s; }
  .topics-list li:nth-child(3) .topic-card,
  .children-list li:nth-child(3) .child-article { transition-delay: 0.19s; }
  .topics-list li:nth-child(4) .topic-card,
  .children-list li:nth-child(4) .child-article { transition-delay: 0.26s; }
  .topics-list li:nth-child(5) .topic-card,
  .children-list li:nth-child(5) .child-article { transition-delay: 0.33s; }
  .topics-list li:nth-child(6) .topic-card,
  .children-list li:nth-child(6) .child-article { transition-delay: 0.40s; }

  .latest-item:nth-child(1) { transition-delay: 0.05s; }
  .latest-item:nth-child(2) { transition-delay: 0.10s; }
  .latest-item:nth-child(3) { transition-delay: 0.15s; }
  .latest-item:nth-child(4) { transition-delay: 0.20s; }
  .latest-item:nth-child(5) { transition-delay: 0.25s; }
  .latest-item:nth-child(6) { transition-delay: 0.30s; }
}

/* ============================================================
   RESPONSIVE — 平板 & 手机
   ============================================================ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-content-section {
    grid-template-columns: 1fr;
  }
  .home-sidebar {
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border-gold);
    padding-right: 0;
    padding-bottom: 1.5rem;
    margin-bottom: 0;
    max-height: none;
  }

  .topic-body-section,
  .article-body-section,
  .about-body-section,
  .privacy-body-section,
  .default-section {
    grid-template-columns: 1fr;
  }

  .topic-sidebar,
  .article-sidebar,
  .about-sidebar,
  .privacy-sidebar,
  .default-sidebar {
    position: static;
    border-bottom: 1px solid var(--border-gold);
    padding-bottom: 1.5rem;
    margin-bottom: 0;
  }

  .topics-list {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .children-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root { --nav-height: 88px; }

  .header-brand-row {
    padding: 0.6rem 1rem;
  }
  .brand-link { font-size: 1rem; }
  .header-cta { padding: 0.5rem 1rem; font-size: 0.82rem; }

  .site-nav { padding: 0 1rem; }
  .site-nav ol li a {
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
  }

  .hero-copy {
    text-align: left;
    padding: 2rem 1.25rem 8rem;
    max-width: 100%;
  }
  .hero-desc { margin-left: 0; }
  .hero-badge { left: 1.25rem; }

  .topic-hero { padding: 3.5rem 1.25rem 2rem; text-align: left; }
  .topic-desc { margin-left: 0; }

  .about-hero-section { padding: 3.5rem 1.25rem 2rem; text-align: left; }
  .privacy-hero-section { padding: 3.5rem 1.25rem 2rem; text-align: left; }

  .topic-body-section,
  .article-body-section,
  .about-body-section,
  .privacy-body-section,
  .default-section {
    padding: 2rem 1.25rem 3rem;
    gap: 2rem;
  }

  .home-content-section { padding: 2.5rem 1.25rem; }
  .topics-section { padding: 3rem 1.25rem; }
  .latest-section { padding: 3rem 1.25rem; }
  .children-section { padding: 2rem 1.25rem 3rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .site-footer { padding: 3rem 1.25rem 0; }

  .breadcrumb { padding: 0.6rem 1.25rem; }
}

/* ============================================================
   FOCUS & ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   SCROLLBAR (装饰)
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--noir-soft); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
