@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* =====================
   CSS 变量 & 基础
   ===================== */
:root {
  --c-bg: #0D0D0D;
  --c-red: #C0392B;
  --c-amber: #E67E22;
  --c-surface: #161616;
  --c-surface2: #1e1e1e;
  --c-border: #2a2a2a;
  --c-text: #e8e8e8;
  --c-text-muted: #888;
  --c-text-dim: #555;
  --nav-w: 220px;
  --radius: 28px;
  --font-body: 'Archivo', 'Space Grotesk', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Archivo', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--c-bg);
}

body, .page-body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--c-amber);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--c-red);
}

ul { list-style: none; }

/* =====================
   点阵底纹
   ===================== */
.dot-grid-bg {
  background-image: radial-gradient(circle, #2a2a2a 1px, transparent 1px);
  background-size: 24px 24px;
  position: relative;
}

/* =====================
   布局骨架
   ===================== */
.site-wrap {
  display: flex;
  min-height: 100vh;
}

.content-wrap {
  margin-left: var(--nav-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.main-content {
  flex: 1;
}

/* =====================
   左竖导航 aside > nav > ul > li > a
   ===================== */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-w);
  height: 100vh;
  background: var(--c-surface);
  border-right: 1px solid var(--c-border);
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

.side-nav-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.side-nav-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--c-border);
  min-height: 64px;
}

.brand-link {
  display: flex;
  align-items: center;
  color: var(--c-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  gap: 0.5rem;
}
.brand-link:hover { color: var(--c-amber); }

.site-logo-text {
  width: 36px;
  height: 36px;
  background: var(--c-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.site-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

/* 汉堡按钮 */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 40px;
  min-width: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background var(--transition);
}
.hamburger-btn:hover { background: var(--c-surface2); }
.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: background var(--transition);
}
.hamburger-btn:hover span { background: var(--c-amber); }

/* aside > nav > ul > li > a 结构 */
.side-nav nav {
  flex: 1;
  padding: 1rem 0;
}

.side-nav nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 0.75rem;
}

.side-nav nav ul li {
  border-radius: 10px;
  overflow: hidden;
}

.nav-link {
  display: block;
  padding: 0.65rem 0.9rem;
  color: var(--c-text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 10px;
  transition: all var(--transition);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.nav-link:hover {
  color: var(--c-text);
  background: var(--c-surface2);
}
.nav-link.active {
  color: var(--c-amber);
  background: rgba(230,126,34,0.1);
  border-left: 3px solid var(--c-amber);
}

.side-nav-contact {
  padding: 1rem 0.75rem 1.5rem;
  border-top: 1px solid var(--c-border);
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  background: var(--c-red);
  color: #fff;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 40px;
  transition: background var(--transition);
}
.contact-btn:hover {
  background: #a93226;
  color: #fff;
}

/* =====================
   全屏遮罩菜单
   ===================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,0.97);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.overlay-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  min-height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.overlay-close:hover {
  color: var(--c-red);
  border-color: var(--c-red);
}

.overlay-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.overlay-link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--c-text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  line-height: 1.3;
}
.overlay-link:hover,
.overlay-link.active {
  color: var(--c-amber);
  border-bottom-color: var(--c-amber);
}

.overlay-brand-big {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--c-surface2);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

/* =====================
   动态排版 Kinetic H1
   ===================== */
@keyframes letterReveal {
  from {
    opacity: 0;
    transform: translateY(20px) skewY(3deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}

.kinetic-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  color: var(--c-text);
}

.kinetic-h1 .letter {
  display: inline-block;
  opacity: 0;
  animation: letterReveal 0.5s forwards;
}

.kinetic-h1.revealed .letter {
  animation-play-state: running;
}

/* 未reveal时不播放 */
.kinetic-h1:not(.revealed) .letter {
  animation-play-state: paused;
}

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

.reveal-block {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-block.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease calc(var(--i, 0) * 0.08s), transform 0.5s ease calc(var(--i, 0) * 0.08s);
}
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger */
@keyframes staggerIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

.stagger-item {
  opacity: 0;
  animation: staggerIn 0.4s forwards;
  animation-play-state: paused;
}
.stagger-item.revealed,
.revealed .stagger-item {
  animation-play-state: running;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .kinetic-h1 .letter,
  .reveal-block,
  .reveal-item,
  .stagger-item {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =====================
   装饰线
   ===================== */
.body-deco-fig {
  display: block;
  margin: 0;
  padding: 0;
}
.deco-line {
  display: block;
  height: 3px;
  width: 80px;
  background: var(--c-amber);
  margin: 2rem 0 1.5rem;
  border-radius: 2px;
}
.red-line { background: var(--c-red); }
.amber-line { background: var(--c-amber); }
.amber-line-deco { background: var(--c-amber); }

/* =====================
   Aside 侧栏（内容区内）
   ===================== */
.aside-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-text-dim);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.page-aside-nav,
.hero-aside,
.cat-aside,
.article-aside-toc,
.about-aside,
.privacy-aside,
.tag-aside,
.privacy-nav-aside {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border-bottom: 3px solid var(--c-amber);
}

.page-aside-nav ul li,
.hero-aside ul li,
.cat-aside ul li,
.article-aside-toc ul li,
.about-aside ul li,
.privacy-aside ul li,
.tag-aside ul li,
.privacy-nav-aside ul li {
  border-bottom: 1px solid var(--c-border);
}

.page-aside-nav ul li:last-child,
.hero-aside ul li:last-child,
.cat-aside ul li:last-child,
.article-aside-toc ul li:last-child,
.about-aside ul li:last-child,
.privacy-aside ul li:last-child,
.tag-aside ul li:last-child,
.privacy-nav-aside ul li:last-child {
  border-bottom: none;
}

.page-aside-nav ul li a,
.hero-aside ul li a,
.cat-aside ul li a,
.article-aside-toc ul li a,
.about-aside ul li a,
.privacy-aside ul li a,
.tag-aside ul li a,
.privacy-nav-aside ul li a {
  display: block;
  padding: 0.5rem 0;
  color: var(--c-text-muted);
  font-size: 0.84rem;
  line-height: 1.4;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.page-aside-nav ul li a:hover,
.hero-aside ul li a:hover,
.cat-aside ul li a:hover,
.article-aside-toc ul li a:hover,
.about-aside ul li a:hover,
.privacy-aside ul li a:hover,
.tag-aside ul li a:hover,
.privacy-nav-aside ul li a:hover {
  color: var(--c-amber);
}

.aside-parent {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--c-border);
}
.aside-parent a {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.aside-parent a:hover { color: var(--c-red); }

/* =====================
   HERO — 首页 (左图右文 100vh)
   ===================== */
.home-hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.hero-fig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 4rem 3rem 4rem 2rem;
  gap: 3rem;
  margin: 0;
}

.hero-img-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-placeholder {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--c-surface2) 0%, #1a1a1a 100%);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.hero-logo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #2a2a2a 1px, transparent 1px);
  background-size: 20px 20px;
}

.hero-logo-text {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--c-red);
  position: relative;
  z-index: 1;
  line-height: 1;
}

.hero-logo { border-radius: var(--radius); }

.hero-text-side {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-red);
  text-transform: uppercase;
  font-family: var(--font-display);
}

.hero-h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  text-align: right;
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  max-width: 380px;
  text-align: right;
}

.hero-cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 44px;
  transition: all var(--transition);
  font-family: var(--font-display);
}
.cta-primary {
  background: var(--c-red);
  color: #fff;
}
.cta-primary:hover {
  background: #a93226;
  color: #fff;
  transform: translateY(-2px);
}
.cta-secondary {
  background: transparent;
  color: var(--c-amber);
  border: 1.5px solid var(--c-amber);
}
.cta-secondary:hover {
  background: var(--c-amber);
  color: var(--c-bg);
  transform: translateY(-2px);
}

.hero-aside {
  border-radius: 0;
  border-left: 1px solid var(--c-border);
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-bottom: 3px solid var(--c-amber);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.5rem;
}

/* =====================
   首页内容区
   ===================== */
.home-content-section {
  padding: 3rem 2rem 2rem;
  max-width: 820px;
}

.home-cats-section {
  padding: 2rem 2rem 3rem;
}

.home-articles-section {
  padding: 2rem 2rem 3rem;
}

/* =====================
   section-heading h2 > span
   ===================== */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-heading span {
  position: relative;
}
.section-heading span::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--c-amber);
  margin-top: 4px;
  border-radius: 2px;
  transition: width var(--transition);
  width: 100%;
}

/* =====================
   카드 - 栏目卡片 (底部强调线, 圆角28px)
   ===================== */
.cat-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.cat-card {
  background: var(--c-surface);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  border-bottom: 3px solid var(--c-red);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.cat-card:hover {
  transform: translateY(-4px);
  border-bottom-color: var(--c-amber);
}
.cat-card-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.cat-card-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-red);
  text-transform: uppercase;
  font-family: var(--font-display);
}
.cat-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.3;
}
.cat-card-title span { display: inline; }
.cat-card-desc {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}
.cat-card-count {
  font-size: 0.78rem;
  color: var(--c-text-dim);
  font-family: var(--font-display);
}
.cat-card-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--c-amber);
  margin-top: 0.25rem;
  min-height: 40px;
  transition: color var(--transition);
}
.cat-card-link:hover { color: var(--c-red); }

/* =====================
   文章列表
   ===================== */
.art-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.art-list-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-border);
  transition: background var(--transition);
}
.art-list-item:hover {
  background: transparent;
}
.art-list-item:hover .art-list-num { color: var(--c-red); }

.art-list-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-border);
  min-width: 2.5rem;
  line-height: 1;
  padding-top: 4px;
  transition: color var(--transition);
}

.art-list-body { flex: 1; }

.art-list-title {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}
.art-list-title span { display: inline; }
.art-list-title a {
  color: var(--c-text);
  transition: color var(--transition);
}
.art-list-title a:hover { color: var(--c-amber); }

.art-list-desc {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  margin-bottom: 0.35rem;
  line-height: 1.6;
}
.art-list-date {
  font-size: 0.75rem;
  color: var(--c-text-dim);
  font-family: var(--font-display);
}

.view-all-wrap {
  margin-top: 1.5rem;
}
.view-all-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  border: 1.5px solid var(--c-amber);
  border-radius: 12px;
  color: var(--c-amber);
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 44px;
  transition: all var(--transition);
}
.view-all-btn:hover {
  background: var(--c-amber);
  color: var(--c-bg);
}

/* =====================
   页面 Hero (通用)
   ===================== */
.page-hero-section,
.cat-hero-section,
.about-hero-section,
.privacy-hero-section,
.tag-hero-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  padding: 3rem 2rem 2rem;
  align-items: start;
  border-bottom: 1px solid var(--c-border);
}

.page-hero-fig,
.cat-hero-fig,
.about-hero-fig,
.privacy-hero-fig,
.tag-hero-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-meta,
.article-meta-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.page-meta time,
.article-meta-row time {
  font-size: 0.8rem;
  color: var(--c-text-dim);
  font-family: var(--font-display);
}

.cat-hero-eyebrow,
.article-eyebrow,
.privacy-eyebrow,
.tag-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-red);
  text-transform: uppercase;
  font-family: var(--font-display);
}

.cat-hero-desc,
.tag-hero-desc {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* =====================
   文章页 Hero
   ===================== */
.article-hero-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  padding: 3rem 2rem 2rem;
  align-items: start;
  border-bottom: 1px solid var(--c-border);
}

.article-hero-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.article-hero-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  max-height: 280px;
}
.article-hero-img { width: 100%; object-fit: cover; }

.article-hero-img-placeholder {
  height: 120px;
  background: var(--c-surface2);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}

.article-hero-caption {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-breadcrumb {
  font-size: 0.78rem;
  color: var(--c-text-dim);
}
.article-breadcrumb a {
  color: var(--c-text-muted);
}
.article-breadcrumb a:hover { color: var(--c-amber); }

/* =====================
   正文容器
   ===================== */
.page-body-section,
.cat-content-section,
.article-body-section,
.about-body-section,
.privacy-body-section,
.tag-content-section {
  padding: 0 2rem 2rem;
  max-width: 820px;
}

.prose-wrap {
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.8;
}

.prose-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 2rem 0 0.75rem;
}
.prose-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-amber);
  margin: 1.5rem 0 0.5rem;
}
.prose-wrap p {
  margin-bottom: 1rem;
  color: var(--c-text-muted);
}
.prose-wrap ul, .prose-wrap ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: disc;
}
.prose-wrap ol { list-style: decimal; }
.prose-wrap li {
  margin-bottom: 0.4rem;
  color: var(--c-text-muted);
}
.prose-wrap a {
  color: var(--c-amber);
  text-decoration: underline;
  text-decoration-color: rgba(230,126,34,0.4);
}
.prose-wrap a:hover {
  color: var(--c-red);
  text-decoration-color: var(--c-red);
}
.prose-wrap strong { color: var(--c-text); }
.prose-wrap blockquote {
  border-left: 3px solid var(--c-red);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--c-text-muted);
  font-style: italic;
}
.prose-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.prose-wrap th {
  background: var(--c-surface2);
  color: var(--c-text);
  padding: 0.6rem 0.9rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 2px solid var(--c-red);
}
.prose-wrap td {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text-muted);
}

/* =====================
   栏目子页列表 article > section×n
   ===================== */
.cat-children-section {
  padding: 2rem 2rem 3rem;
}

.cat-child-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--c-surface);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  border-bottom: 3px solid var(--c-red);
  margin-bottom: 0.75rem;
  transition: transform var(--transition), border-color var(--transition);
}
.cat-child-card:hover {
  transform: translateX(6px);
  border-bottom-color: var(--c-amber);
}

.child-card-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-surface2);
  min-width: 3rem;
  line-height: 1;
}
.cat-child-card:hover .child-card-num { color: var(--c-red); }

.child-card-body { flex: 1; }

.child-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}
.child-card-title span { display: inline; }
.child-card-title a {
  color: var(--c-text);
  transition: color var(--transition);
}
.child-card-title a:hover { color: var(--c-amber); }

.child-card-desc {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  margin-bottom: 0.25rem;
}
.child-card-date {
  font-size: 0.74rem;
  color: var(--c-text-dim);
  font-family: var(--font-display);
}

.child-card-arrow {
  font-size: 1.2rem;
  color: var(--c-text-dim);
  min-height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all var(--transition);
}
.cat-child-card:hover .child-card-arrow {
  color: var(--c-amber);
  background: rgba(230,126,34,0.08);
}

.cat-related-section {
  padding: 1rem 2rem 3rem;
}

.related-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.related-cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  min-height: 40px;
  transition: all var(--transition);
}
.related-cat-chip:hover {
  border-color: var(--c-amber);
  color: var(--c-amber);
}

/* =====================
   文章页 — 相关推荐
   ===================== */
.article-related-section {
  padding: 2rem 2rem 3rem;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.related-card {
  background: var(--c-surface);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  border-bottom: 3px solid var(--c-amber);
  padding: 1.25rem;
  transition: transform var(--transition);
}
.related-card:hover { transform: translateY(-3px); }

.related-card-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-surface2);
  margin-bottom: 0.5rem;
}
.related-card:hover .related-card-num { color: var(--c-red); }

.related-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.4;
  font-family: var(--font-display);
}
.related-card-title span { display: inline; }
.related-card-title a { color: var(--c-text); }
.related-card-title a:hover { color: var(--c-amber); }

.related-card-desc {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* =====================
   About 页
   ===================== */
.about-hero-label,
.cat-hero-eyebrow,
.privacy-eyebrow,
.tag-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-red);
  text-transform: uppercase;
  font-family: var(--font-display);
}

.about-hero-desc {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

.about-contact-section {
  padding: 2rem 2rem 3rem;
}

.contact-aside-block {
  background: var(--c-surface);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  border-bottom: 3px solid var(--c-amber);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--c-border);
  gap: 1rem;
}
.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-item-label {
  font-size: 0.78rem;
  color: var(--c-text-dim);
  font-weight: 600;
  font-family: var(--font-display);
}

.contact-item-val {
  font-size: 0.9rem;
  color: var(--c-text);
}

/* =====================
   Tag 页
   ===================== */
.tag-list-section {
  padding: 2rem 2rem 3rem;
}

.tag-list-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-border);
}

.tag-item-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-border);
  min-width: 2.5rem;
  line-height: 1;
  padding-top: 4px;
  transition: color var(--transition);
}
.tag-list-item:hover .tag-item-num { color: var(--c-red); }

.tag-item-body { flex: 1; }

.tag-item-title {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}
.tag-item-title span { display: inline; }
.tag-item-title a { color: var(--c-text); }
.tag-item-title a:hover { color: var(--c-amber); }

.tag-item-desc {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 0.35rem;
}
.tag-item-date {
  font-size: 0.75rem;
  color: var(--c-text-dim);
  font-family: var(--font-display);
}

.empty-tip {
  color: var(--c-text-dim);
  font-size: 0.9rem;
  padding: 1rem 0;
}

/* =====================
   Privacy 页
   ===================== */
.privacy-nav-section {
  padding: 2rem 2rem 3rem;
}

/* =====================
   页脚 footer (三栏)
   ===================== */
.site-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 2rem;
  border-bottom: 1px solid var(--c-border);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-text-dim);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 0.6rem;
}
.footer-desc {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

.footer-col-links nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-col-links nav ul li a {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.footer-col-links nav ul li a:hover { color: var(--c-amber); }

.footer-contact-text {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.6;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  background: var(--c-red);
  color: #fff;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 40px;
  transition: background var(--transition);
}
.footer-contact-btn:hover {
  background: #a93226;
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--c-text-dim);
  font-family: var(--font-display);
}

.footer-legal-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-legal-links li a {
  font-size: 0.78rem;
  color: var(--c-text-dim);
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.footer-legal-links li a:hover { color: var(--c-amber); }

/* =====================
   移动端响应
   ===================== */
@media (max-width: 900px) {
  :root { --nav-w: 0px; }

  .side-nav {
    width: 240px;
    transform: translateX(-100%);
    transition: transform var(--transition);
    z-index: 150;
  }
  .side-nav.is-open {
    transform: translateX(0);
  }

  .content-wrap {
    margin-left: 0;
  }

  .home-hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-fig {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
    gap: 2rem;
  }

  .hero-text-side {
    align-items: flex-start;
    text-align: left;
  }
  .hero-h1,
  .hero-sub { text-align: left; }
  .hero-cta-row { justify-content: flex-start; }

  .hero-aside {
    border-left: none;
    border-top: 1px solid var(--c-border);
    border-radius: 0;
    padding: 1.5rem 1.25rem;
  }

  .page-hero-section,
  .cat-hero-section,
  .article-hero-section,
  .about-hero-section,
  .privacy-hero-section,
  .tag-hero-section {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
    gap: 1.5rem;
  }

  .footer-bottom {
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cat-cards-grid {
    grid-template-columns: 1fr;
  }

  .related-articles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-content-section,
  .home-cats-section,
  .home-articles-section,
  .page-body-section,
  .cat-content-section,
  .article-body-section,
  .about-body-section,
  .privacy-body-section,
  .tag-content-section,
  .cat-children-section,
  .cat-related-section,
  .article-related-section,
  .about-contact-section,
  .privacy-nav-section,
  .tag-list-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .overlay-brand-big {
    display: none;
  }

  .overlay-nav ul { gap: 0.25rem; }
  .overlay-link { font-size: 1rem; }

  .nav-overlay {
    padding: 4rem 1.5rem 2rem;
  }
}

@media (max-width: 480px) {
  .kinetic-h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); }

  .related-articles-grid {
    grid-template-columns: 1fr;
  }

  .cat-child-card {
    flex-wrap: wrap;
  }
  .child-card-arrow {
    display: none;
  }

  .footer-legal-links {
    gap: 0.75rem;
  }

  .hero-logo-placeholder {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* =====================
   Hover 微交互
   ===================== */
.cat-card,
.related-card,
.cat-child-card {
  will-change: transform;
}

.nav-link,
.overlay-link,
.contact-btn,
.cta-btn,
.view-all-btn,
.related-cat-chip,
.footer-contact-btn {
  will-change: color, background;
}
