/* ============================================================
   cg动漫 · weikuku.com 整站样式表
   设计方向：高端服务风 · 米白纸张底 · 暖土色点缀
   分组：base / layout / components / pages / responsive
   ============================================================ */

/* ============================================================
   1. BASE — 变量、重置、全局基础
   ============================================================ */
:root {
  --bg-paper: #FAF8F5;
  --bg-surface: #FFFFFF;
  --text-ink: #222222;
  --text-muted: #667085;
  --line: #E5E1DA;
  --accent: #9A6B4F;
  --accent-soft: #F1E8E0;
  --ok: #5F7A61;

  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Consolas, monospace;

  --container-wide: 1280px;
  --container-main: 720px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --header-h: 72px;
  --space-section: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-ink);
  background-color: var(--bg-paper);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover {
  color: #7d543c;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.4;
  letter-spacing: 0.02em;
  font-weight: 600;
}

/* ============================================================
   2. LAYOUT — 全站骨架：页头 / 页脚 / 主容器 / 内页侧栏
   ============================================================ */

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}
.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-ink);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--text-ink);
}
.nav-toggle-icon {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text-ink);
  position: relative;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--text-ink);
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav-toggle-text {
  font-size: 14px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--text-ink);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-list li a:hover {
  background: var(--accent-soft);
}
.nav-list li a.is-current {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.header-cta:hover {
  background: #7d543c;
  color: #fff;
}

/* ---------- 主容器 ---------- */
.site-main {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.home-main {
  padding-top: 0;
}

/* ---------- 内页布局：侧栏 + 正文 ---------- */
.page-layout,
.layout-shell {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* 侧栏在左：侧栏在前，正文在后 */
.sidebar-left {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.inner-main {
  min-width: 0;
  max-width: 100%;
}

.page-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  min-width: 0;
}

.aside-nav,
.aside-related {
  border-left: 1px solid var(--line);
  padding-left: 16px;
  margin-bottom: 32px;
}
.aside-heading,
.aside-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.aside-nav ul li,
.aside-related ul li {
  margin-bottom: 2px;
}
.aside-nav ul li a,
.aside-related ul li a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -17px;
}
.aside-nav ul li a:hover,
.aside-related ul li a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
}

.aside-link {
  margin-top: 8px;
}
.aside-link a,
.aside-entry {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.aside-link a::after,
.aside-entry::after {
  content: "→";
  margin-left: 6px;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb-sep {
  color: var(--line);
}
.breadcrumb-current {
  color: var(--text-ink);
}

/* ---------- 内页标题区 ---------- */
.page-header {
  padding: 16px 0 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.page-title {
  font-size: 30px;
  line-height: 1.4;
  color: var(--text-ink);
  margin-bottom: 12px;
}
.page-description {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 80px;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-ink);
  margin-bottom: 8px;
}
.footer-brand p:not(.footer-brand-name) {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 360px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-ink);
  margin-bottom: 12px;
}
.footer-nav ul li {
  margin-bottom: 6px;
}
.footer-nav ul li a {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-nav ul li a:hover {
  color: var(--accent);
}
.footer-contact p:not(.footer-heading) {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-bottom {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-paper);
  color: var(--text-muted);
  font-size: 18px;
  flex-shrink: 0;
}
.back-to-top:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ============================================================
   3. COMPONENTS — 通用组件
   ============================================================ */

/* ---------- 按钮 ---------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #7d543c;
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent-soft);
}

/* ---------- 文本链接 ---------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  min-height: 44px;
}
.text-link::after {
  content: "→";
  transition: transform .2s ease;
}
.text-link:hover::after {
  transform: translateX(4px);
}

/* ---------- 图片与说明 ---------- */
figure {
  margin: 0;
}
figcaption {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 8px;
}

.content-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
}
.content-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-media figcaption {
  padding: 12px 16px;
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
}

/* ---------- 详情折叠 ---------- */
details.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  margin-bottom: 12px;
}
details.faq-item summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-ink);
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
details.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
details.faq-item[open] summary::after {
  content: "−";
}
details.faq-item .faq-answer {
  padding: 0 20px 16px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- 表格 ---------- */
.field-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}
.field-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.field-table thead th {
  background: var(--accent-soft);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-ink);
  border-bottom: 1px solid var(--line);
}
.field-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text-ink);
}
.field-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- 普通列表 ---------- */
.plain-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-ink);
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 相关链接 ---------- */
.related-links {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.related-links h2 {
  font-size: 18px;
  margin-bottom: 12px;
}
.related-links p {
  color: var(--text-muted);
  margin-bottom: 16px;
}
.related-links ul li {
  margin-bottom: 8px;
}
.related-links ul li a {
  font-weight: 600;
}

.related-links-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-right: 12px;
}
.related-links-item {
  font-size: 14px;
  font-weight: 600;
  margin-right: 16px;
}

/* ---------- 内容区块通用 ---------- */
.content-section {
  margin-bottom: 48px;
}
.content-section h2 {
  font-size: 22px;
  color: var(--text-ink);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.content-section p {
  margin-bottom: 16px;
  color: var(--text-ink);
}

/* ============================================================
   4. PAGES — 首页与各内页业务模块
   ============================================================ */

/* ==================== 首页 ==================== */

/* ---------- 首屏工作台 ---------- */
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
  padding: 72px 0 56px;
}

.hero-content {
  min-width: 0;
}
.hero-title {
  font-size: 36px;
  line-height: 1.4;
  color: var(--text-ink);
  margin-bottom: 16px;
  max-width: 560px;
}
.hero-lead {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  min-width: 0;
}
.hero-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero-visual figcaption {
  margin-top: 12px;
  font-size: 14px;
}

/* 首页次级配图 */
.content-media-primary {
  margin-top: 24px;
}
.content-media-primary img {
  height: 260px;
}

/* ---------- 定位说明带 ---------- */
.intro-band {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}
.intro-text {
  max-width: 720px;
  font-size: 17px;
  color: var(--text-ink);
  margin-bottom: 24px;
}
.scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.scope-tags li {
  padding: 6px 16px;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

/* ---------- 能力索引区 ---------- */
.capability-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 56px;
  padding: 72px 0;
}

.capability-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.capability-item {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  min-width: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.capability-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(154, 107, 79, 0.08);
}
.capability-no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.capability-name {
  font-size: 18px;
  color: var(--text-ink);
  margin-bottom: 8px;
}
.capability-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

.capability-tags {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  align-self: start;
}
.tags-title {
  font-size: 18px;
  color: var(--text-ink);
  margin-bottom: 20px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-list li {
  padding: 8px 16px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-ink);
}

/* ---------- 案例档案摘要 ---------- */
.archive-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.archive-title {
  font-size: 22px;
  color: var(--text-ink);
  margin-bottom: 12px;
}
.archive-intro p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.archive-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.archive-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.archive-card-title {
  font-size: 16px;
  color: var(--text-ink);
  margin-bottom: 6px;
}
.archive-card-meta {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}
.archive-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- 创作流程缩略条 ---------- */
.process-strip {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.process-strip-title {
  font-size: 22px;
  color: var(--text-ink);
  margin-bottom: 32px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.process-steps li {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-ink);
}
.step-no {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

/* ---------- 动画制作资讯摘要 ---------- */
.insight-summary {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.insight-title {
  font-size: 22px;
  color: var(--text-ink);
  margin-bottom: 32px;
}
.insight-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.insight-feature {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.insight-feature h3 {
  font-size: 18px;
  color: var(--text-ink);
  margin-bottom: 10px;
}
.insight-feature p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.insight-item {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.insight-item h3 {
  font-size: 16px;
  color: var(--text-ink);
  margin-bottom: 6px;
}
.insight-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- 合作咨询引导区 ---------- */
.contact-guide {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.contact-guide-title {
  font-size: 22px;
  color: var(--text-ink);
  margin-bottom: 32px;
}
.guide-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.guide-card {
  display: block;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .2s ease;
}
.guide-card:hover {
  border-color: var(--accent);
}
.guide-card h3 {
  font-size: 18px;
  color: var(--text-ink);
  margin-bottom: 8px;
}
.guide-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==================== 创作服务页 ==================== */

.page-hero-image {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.page-hero-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.page-hero-image figcaption {
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-top: none;
}

.service-section {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.service-section h2 {
  font-size: 22px;
  color: var(--text-ink);
  margin-bottom: 20px;
}
.service-detail {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}
.service-detail h3 {
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 600;
}
.service-detail p {
  font-size: 15px;
  color: var(--text-ink);
  margin-bottom: 16px;
}
.service-detail p:last-child {
  margin-bottom: 0;
}

.combination-list {
  margin: 16px 0;
}
.combination-list li {
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text-ink);
}
.combination-list li strong {
  color: var(--accent);
  font-weight: 600;
}

/* ==================== 作品档案页 ==================== */

.works-visual-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
}
.visual-figure {
  min-width: 0;
}
.visual-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.visual-hero-text h2 {
  font-size: 22px;
  color: var(--text-ink);
  margin-bottom: 12px;
}
.visual-hero-text p {
  font-size: 15px;
  color: var(--text-muted);
}

.works-category {
  margin-bottom: 56px;
}
.works-category h2 {
  font-size: 22px;
  color: var(--text-ink);
  margin-bottom: 8px;
}
.section-lead {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.category-item {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.category-item-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.category-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.category-item h3 {
  font-size: 17px;
  color: var(--text-ink);
}
.category-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.category-item a {
  font-size: 14px;
  font-weight: 600;
}

.works-archive {
  margin-bottom: 56px;
}
.works-archive h2 {
  font-size: 22px;
  color: var(--text-ink);
  margin-bottom: 8px;
}

.archive-item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  align-items: center;
}
.archive-media {
  min-width: 0;
}
.archive-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.archive-content h3 {
  font-size: 17px;
  color: var(--text-ink);
  margin-bottom: 12px;
}
.archive-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 6px;
  font-size: 14px;
}
.archive-row dt {
  color: var(--text-muted);
  font-weight: 600;
}
.archive-row dd {
  color: var(--text-ink);
}

.works-3d-boundary {
  margin-bottom: 40px;
}
.works-3d-boundary h2 {
  font-size: 22px;
  color: var(--text-ink);
  margin-bottom: 8px;
}
.boundary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.boundary-item {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.boundary-mark {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ok);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.boundary-item h3 {
  font-size: 16px;
  color: var(--text-ink);
  margin-bottom: 8px;
}
.boundary-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.works-cta {
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.works-cta p {
  font-size: 15px;
  color: var(--text-ink);
}
.works-cta a {
  font-weight: 600;
  margin-left: 16px;
}

/* ==================== 项目案例页 ==================== */

.rule-list {
  margin: 16px 0;
}
.rule-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-ink);
}
.rule-list li strong {
  color: var(--accent);
  font-weight: 600;
}
.rule-list li::before {
  content: "—";
  position: absolute;
  left: 4px;
  color: var(--accent);
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 20px 0 24px;
}
.mode-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.mode-card h3 {
  font-size: 16px;
  color: var(--text-ink);
  margin-bottom: 10px;
}
.mode-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.mode-card p:last-child {
  margin-bottom: 0;
}

.related-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.related-card {
  display: block;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.related-card:hover {
  border-color: var(--accent);
}
.related-card-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-ink);
  margin-bottom: 6px;
}
.related-card-desc {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
}

.content-media-inline {
  margin-top: 32px;
}
.content-media-inline img {
  height: 240px;
}

/* ==================== 创作流程页 ==================== */

.page-article {
  min-width: 0;
}
.page-media {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.page-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ==================== 制作资讯页 ==================== */

.insight-media {
  margin-bottom: 40px;
}
.insight-media figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.insight-section {
  margin-bottom: 48px;
}
.insight-section h2 {
  font-size: 22px;
  color: var(--text-ink);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.topic-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.topic-card h3 {
  font-size: 18px;
  color: var(--text-ink);
  margin-bottom: 12px;
}
.topic-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.topic-card p:last-child {
  margin-bottom: 0;
}

.insight-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.insight-list .insight-item {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.insight-list .insight-item h3 {
  font-size: 16px;
  color: var(--text-ink);
  margin-bottom: 6px;
}
.insight-list .insight-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.archive-grid .archive-item {
  display: block;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.archive-grid .archive-item h3 {
  font-size: 16px;
  color: var(--text-ink);
  margin-bottom: 6px;
}
.archive-grid .archive-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.recommend-list {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}
.recommend-intro {
  font-size: 15px;
  color: var(--text-ink);
  margin-bottom: 16px;
}
.recommend-list ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.recommend-list ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.recommend-list ul li strong {
  color: var(--text-ink);
  font-weight: 600;
}

.link-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.link-pair a {
  display: block;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-ink);
}
.link-pair a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ==================== 常见问题页 ==================== */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}
.faq-main {
  min-width: 0;
}
.faq-group {
  margin-bottom: 40px;
}
.faq-group h2 {
  font-size: 22px;
  color: var(--text-ink);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-visual {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.faq-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.faq-links {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.faq-links p {
  font-size: 15px;
  color: var(--text-ink);
}
.faq-links a {
  font-weight: 600;
  margin-right: 16px;
}

/* ==================== 404 页 ==================== */

.error-main {
  padding-top: 80px;
  padding-bottom: 80px;
}
.error-content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.error-content h1 {
  font-size: 64px;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 700;
}
.error-content p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.error-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.error-back:hover {
  background: #7d543c;
  color: #fff;
}

/* ============================================================
   5. RESPONSIVE — 断点适配
   ============================================================ */

/* ---------- 1024px：窄栏 ---------- */
@media (max-width: 1024px) {
  .sidebar-left {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 32px;
  }

  .hero-section {
    gap: 40px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-visual img {
    height: 360px;
  }

  .capability-section {
    gap: 40px;
  }

  .archive-summary {
    gap: 40px;
  }

  .works-visual-hero {
    grid-template-columns: 1fr;
  }
  .visual-figure img {
    height: 280px;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 32px;
  }
}

/* ---------- 768px：单栏 ---------- */
@media (max-width: 768px) {
  :root {
    --space-section: 48px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .site-nav {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 8px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-list.is-open {
    display: flex;
  }
  .nav-list li a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .header-cta {
    display: none;
  }

  .site-main,
  .page-layout,
  .layout-shell {
    padding: 0 16px;
  }

  .home-main {
    padding-top: 0;
  }

  .sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .page-aside {
    position: static;
    order: 2;
    margin-top: 40px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .aside-nav,
  .aside-related {
    border-left: none;
    padding-left: 0;
  }
  .aside-nav ul,
  .aside-related ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .aside-nav ul li a,
  .aside-related ul li a {
    border-left: none;
    margin-left: 0;
    padding: 6px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
  }

  .inner-main {
    order: 1;
  }

  .page-header {
    padding: 12px 0 24px;
    margin-bottom: 32px;
  }
  .page-title {
    font-size: 26px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 24px;
  }
  .footer-bottom {
    padding: 16px;
  }

  /* 首页单栏化 */
  .hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 40px;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-visual img {
    height: 300px;
  }

  .intro-band {
    padding: 40px 0;
  }

  .capability-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }
  .capability-list {
    grid-template-columns: 1fr;
  }

  .archive-summary {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }
  .archive-cards {
    grid-template-columns: 1fr;
  }

  .process-strip {
    padding: 48px 0;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .insight-summary {
    padding: 48px 0;
  }
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .contact-guide {
    padding: 48px 0;
  }
  .guide-cards {
    grid-template-columns: 1fr;
  }

  /* 内页模块单栏化 */
  .category-grid {
    grid-template-columns: 1fr;
  }

  .archive-item {
    grid-template-columns: 1fr;
  }
  .archive-media img {
    height: 200px;
  }

  .boundary-list {
    grid-template-columns: 1fr;
  }

  .mode-grid {
    grid-template-columns: 1fr;
  }

  .related-pair {
    grid-template-columns: 1fr;
  }

  .insight-list {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .link-pair {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-visual {
    position: static;
  }
  .faq-figure img {
    height: 200px;
  }

  .works-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 480px：小屏微调 ---------- */
@media (max-width: 480px) {
  .brand-name {
    font-size: 20px;
  }

  .hero-title {
    font-size: 26px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-visual img {
    height: 240px;
  }

  .capability-item {
    padding: 24px 20px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 24px;
  }

  .faq-visual {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   6. PRINT — 打印样式
   ============================================================ */
@media print {
  .site-header,
  .page-aside,
  .back-to-top,
  .nav-toggle {
    display: none !important;
  }

  .site-main,
  .page-layout,
  .layout-shell {
    max-width: 100%;
    padding: 0;
  }

  .sidebar-left {
    display: block;
  }

  .page-header {
    border-bottom: 1px solid #ccc;
  }

  .site-footer {
    margin-top: 24px;
    border-top: 1px solid #ccc;
  }

  body {
    background: #fff;
  }
}
