/**
 * 艺彩包装 — 印刷包装企业站样式
 * 米白暖调 + 烫金点缀 + 纸张纹理 + 杂志感排版
 * 纯原生 CSS，无框架依赖
 */

/* ============================================================
   CSS 变量体系
   ============================================================ */
:root {
  /* ── 基底色 — 米白纸张 ── */
  --paper-light: #F5F0E8;
  --paper-warm: #EDE6D8;
  --paper-cream: #F8F4EC;
  --paper-white: #FDFAF5;
  --paper-dark: #E8E0CE;

  /* ── 点缀色 ── */
  --gold: #C8A84E;
  --gold-light: #D4B96A;
  --gold-dark: #A8883A;
  --gold-dim: rgba(200, 168, 78, 0.15);
  --gold-glow: rgba(200, 168, 78, 0.3);

  /* ── 暖灰系 ── */
  --warm-gray-50: #F7F5F0;
  --warm-gray-100: #EFECE5;
  --warm-gray-200: #E0DBD0;
  --warm-gray-300: #C5BFB2;
  --warm-gray-400: #A0998A;
  --warm-gray-500: #7A7365;
  --warm-gray-600: #5C564B;

  /* ── 文字色阶 ── */
  --text-primary: #3D3226;
  --text-secondary: #6B5E4E;
  --text-muted: #968B7A;
  --text-on-dark: #F5F0E8;

  /* ── 深棕 / 深蓝 ── */
  --brown-deep: #4A3728;
  --brown-dark: #2C1F14;
  --navy-deep: #1E2D3D;

  /* ── 边框 ── */
  --border-light: rgba(180, 170, 150, 0.25);
  --border-medium: rgba(160, 148, 128, 0.4);
  --border-dark: rgba(120, 108, 88, 0.6);
  --border-gold: rgba(200, 168, 78, 0.5);

  /* ── 圆角 — 小圆角精致感 ── */
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* ── 阴影 — 温润柔和 ── */
  --shadow-sm: 0 1px 4px rgba(60, 40, 20, 0.06);
  --shadow-md: 0 4px 16px rgba(60, 40, 20, 0.08);
  --shadow-lg: 0 8px 32px rgba(60, 40, 20, 0.1);
  --shadow-card: 0 2px 12px rgba(60, 40, 20, 0.06);
  --shadow-gold: 0 2px 16px rgba(200, 168, 78, 0.15);

  /* ── 间距 ── */
  --section-py: 90px;
  --section-py-sm: 60px;
  --container-max: 1200px;
  --header-h: 72px;

  /* ── 字体 ── */
  --font-heading: 'Noto Serif SC', 'Source Han Serif SC', 'STSong', 'SimSun', 'Songti SC', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Source Han Sans SC', sans-serif;
  --font-handwrite: 'ZCOOL XiaoWei', 'Ma Shan Zheng', 'STKaiti', 'KaiTi', cursive;

  /* ── 过渡 ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

/* ============================================================
   CSS 纸张纹理
   ============================================================ */
.paper-texture {
  background-color: var(--paper-light);
  background-image:
    /* 纤维纹理 */
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(180, 160, 130, 0.03) 2px,
      rgba(180, 160, 130, 0.03) 4px
    ),
    /* 细微噪点 */
    radial-gradient(
      ellipse at 20% 50%,
      rgba(200, 180, 150, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(190, 170, 140, 0.06) 0%,
      transparent 50%
    );
}

.paper-texture--warm {
  background-color: var(--paper-warm);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(170, 150, 120, 0.03) 2px,
      rgba(170, 150, 120, 0.03) 4px
    ),
    radial-gradient(
      ellipse at 30% 70%,
      rgba(190, 160, 130, 0.07) 0%,
      transparent 55%
    );
}

/* 卡片纸张纹理 */
.card--paper {
  background-color: var(--paper-white);
  background-image:
    linear-gradient(
      135deg,
      rgba(200, 180, 150, 0.04) 0%,
      transparent 40%,
      rgba(200, 180, 150, 0.04) 100%
    );
  border: 1px solid var(--border-light);
  position: relative;
}

.card--paper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(180, 165, 135, 0.015) 1px,
      rgba(180, 165, 135, 0.015) 2px
    );
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--paper-light);
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(180, 160, 130, 0.02) 2px,
      rgba(180, 160, 130, 0.02) 4px
    );
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   排版
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

h1 { font-size: 2.8rem; letter-spacing: 0.02em; }
h2 { font-size: 2.2rem; letter-spacing: 0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  padding: 4px 14px;
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  background: var(--gold-dim);
}

.section-title {
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 32px;
}

/* 手写感文字 */
.text-handwrite {
  font-family: var(--font-handwrite);
  color: var(--gold-dark);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* 烫金效果 */
.text-gold {
  color: var(--gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold-fallback {
  color: var(--gold);
}

/* ============================================================
   容器与布局
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1320px;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--sm {
  padding: var(--section-py-sm) 0;
}

.section--paper {
  background-color: var(--paper-white);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(180, 160, 130, 0.025) 2px,
      rgba(180, 160, 130, 0.025) 4px
    );
}

.section--warm {
  background-color: var(--paper-warm);
}

.section--dark {
  background-color: var(--brown-dark);
  color: var(--text-on-dark);
}

/* 分隔线 */
.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
  margin: 0 auto 40px;
}

.section-divider--left {
  margin: 0 0 40px;
}

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn--primary {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
}

.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--brown-deep);
  border: 1.5px solid var(--border-dark);
}

.btn--outline:hover {
  background: var(--brown-deep);
  color: var(--paper-light);
  border-color: var(--brown-deep);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
}

.btn--outline-gold:hover {
  background: var(--gold);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 8px 20px;
}

.btn--ghost:hover {
  color: var(--gold-dark);
}

.btn--lg {
  padding: 14px 36px;
  font-size: 1rem;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* 脉冲动画按钮 */
.btn--pulse {
  animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 168, 78, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(200, 168, 78, 0); }
}

/* ============================================================
   网格系统
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* 杂志感非对称网格 */
.grid-magazine {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.grid-magazine--reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.grid-masonry {
  columns: 3;
  column-gap: 24px;
}

.grid-masonry > * {
  break-inside: avoid;
  margin-bottom: 24px;
}

/* ============================================================
   Header — 米白半透背景
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(253, 250, 245, 0.97);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo — 印章风格 */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  border-radius: var(--radius-xs);
  color: var(--gold-dark);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  position: relative;
  background: var(--gold-dim);
}

.header__logo-icon::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid var(--border-gold);
  border-radius: 1px;
  pointer-events: none;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}

.header__logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 导航 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header__nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  letter-spacing: 0.02em;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--gold-dark);
  background: var(--gold-dim);
}

/* 导航下拉 */
.header__nav-item {
  position: relative;
}

.header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  background: var(--paper-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.header__dropdown a {
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--duration-fast);
}

.header__dropdown a:hover {
  background: var(--paper-light);
  color: var(--gold-dark);
}

/* 右侧操作区 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brown-deep);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.header__cta:hover {
  background: var(--brown-deep);
  color: var(--paper-light);
  border-color: var(--brown-deep);
}

/* 汉堡菜单 — 独立于 header__actions */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   移动端侧滑菜单
   ============================================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--paper-white);
  z-index: 1100;
  padding: 80px 24px 24px;
  transition: right var(--duration-normal) var(--ease-out);
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
}

.mobile-nav.is-open {
  right: 0;
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1099;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
}

.mobile-nav__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  transition: color var(--duration-fast);
}

.mobile-nav__link:hover {
  color: var(--gold-dark);
}

.mobile-nav__sub {
  padding-left: 20px;
  display: none;
}

.mobile-nav__sub.is-open {
  display: block;
}

.mobile-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

/* ============================================================
   Hero Banner — 全宽轮播
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  overflow: hidden;
  background: var(--brown-dark);
}

.hero .swiper {
  width: 100%;
  height: 100%;
}

.hero .swiper-slide {
  position: relative;
}

.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 31, 20, 0.55) 0%,
    rgba(44, 31, 20, 0.2) 50%,
    rgba(44, 31, 20, 0.5) 100%
  );
  z-index: 2;
}

.hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--header-h);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  max-width: 680px;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero__title span {
  color: var(--gold-light);
}

.hero__subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__actions .btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  font-size: 1rem;
  padding: 14px 32px;
}

.hero__actions .btn--outline {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  font-size: 1rem;
  padding: 14px 32px;
}

.hero__actions .btn--outline:hover {
  background: #fff;
  color: var(--brown-deep);
  border-color: #fff;
}

/* Swiper 分页器 */
.hero-pagination {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
  border-radius: 50%;
  transition: all var(--duration-normal);
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
}

/* 滚动指示器 */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.3; }
  50% { transform: scaleY(1.5); opacity: 0.8; }
}

/* ============================================================
   内页 Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  overflow: hidden;
}

.inner-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 31, 20, 0.6) 0%,
    rgba(44, 31, 20, 0.3) 100%
  );
}

.inner-banner__content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.inner-banner__title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.inner-banner__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
}

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  background: var(--paper-white);
}

.breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb__inner a {
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.breadcrumb__inner a:hover {
  color: var(--gold-dark);
}

.breadcrumb__inner .separator {
  font-size: 0.7rem;
}

/* ============================================================
   卡片系统
   ============================================================ */
/* 产品卡片 — 印刷样张质感 */
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(180, 165, 135, 0.012) 1px,
      rgba(180, 165, 135, 0.012) 2px
    );
  z-index: 0;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-warm);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__image--contain img {
  object-fit: contain;
  padding: 16px;
}

.card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold-dark);
  background: var(--gold-dim);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  width: fit-content;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 8px;
}

.card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card--featured {
  grid-column: span 2;
  flex-direction: row;
}

.card--featured .card__image {
  width: 50%;
  flex-shrink: 0;
  aspect-ratio: auto;
}

.card--featured .card__body {
  justify-content: center;
}

/* 案例卡片 — 大图叠加信息 */
.card--case {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.card--case img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.card--case:hover img {
  transform: scale(1.06);
}

.card--case__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(44, 31, 20, 0.7) 0%,
    rgba(44, 31, 20, 0.1) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background var(--duration-normal);
}

.card--case:hover .card--case__overlay {
  background: linear-gradient(
    0deg,
    rgba(44, 31, 20, 0.85) 0%,
    rgba(44, 31, 20, 0.2) 60%,
    transparent 100%
  );
}

.card--case__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.card--case__sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* 流程步骤卡片 */
.step-card {
  text-align: center;
  padding: 36px 20px;
  position: relative;
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
  border-radius: 50%;
  margin-bottom: 20px;
  background: var(--gold-dim);
  position: relative;
}

.step-card__icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.step-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 步骤连线 */
.step-card--arrow::after {
  content: '';
  position: absolute;
  top: 44px;
  right: -14px;
  width: 28px;
  height: 1px;
  background: var(--border-gold);
}

/* ============================================================
   工艺实拍墙 — 全宽画廊
   ============================================================ */
.craft-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.craft-wall__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.craft-wall__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.craft-wall__item:hover img {
  transform: scale(1.08);
}

.craft-wall__info {
  position: absolute;
  inset: 0;
  background: rgba(44, 31, 20, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-normal);
  padding: 20px;
  text-align: center;
}

.craft-wall__item:hover .craft-wall__info {
  opacity: 1;
}

.craft-wall__info h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.craft-wall__info p {
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ============================================================
   数字实力统计
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 32px 16px;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brown-deep);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-item__number span:first-child {
  color: var(--gold-dark);
}

.stat-item__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

/* ============================================================
   CTA 区块
   ============================================================ */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: var(--paper-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cta-section__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ============================================================
   新闻列表
   ============================================================ */
.news-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
  transition: all var(--duration-fast);
}

.news-item:hover {
  padding-left: 8px;
}

.news-item__image {
  width: 200px;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-warm);
}

.news-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow);
}

.news-item:hover .news-item__image img {
  transform: scale(1.05);
}

.news-item__body {
  flex: 1;
  min-width: 0;
}

.news-item__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item__date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-item__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   产品详情页
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
}

.product-detail__gallery {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper-warm);
}

.product-detail__gallery .swiper {
  width: 100%;
  aspect-ratio: 1;
}

.product-detail__gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__thumbs {
  margin-top: 12px;
}

.product-detail__thumbs .swiper-slide {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--duration-fast);
}

.product-detail__thumbs .swiper-slide-thumb-active {
  border-color: var(--gold);
}

.product-detail__thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-detail__name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.product-detail__brief {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

/* 参数网格 */
.param-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.param-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  background: var(--paper-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.param-item__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.param-item__value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Tab 标签页 */
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 24px;
}

.tab-nav__btn {
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--duration-fast);
  cursor: pointer;
}

.tab-nav__btn:hover {
  color: var(--gold-dark);
}

.tab-nav__btn.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ============================================================
   列表页
   ============================================================ */
.list-page {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 48px 0;
}

/* 侧边栏 */
.sidebar {
  flex-shrink: 0;
}

.sidebar__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border-light);
  position: relative;
}

.sidebar__title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar__nav a {
  display: block;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}

.sidebar__nav a:hover,
.sidebar__nav a.active {
  background: var(--gold-dim);
  color: var(--gold-dark);
  font-weight: 500;
}

/* 筛选栏 */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.filter-bar__btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  transition: all var(--duration-fast);
  cursor: pointer;
}

.filter-bar__btn:hover,
.filter-bar__btn.active {
  background: var(--gold-dim);
  color: var(--gold-dark);
  border-color: var(--border-gold);
}

/* 列表网格 */
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.list-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================================
   分页
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 32px 0;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}

.pagination a:hover,
.pagination a.active {
  background: var(--gold-dim);
  color: var(--gold-dark);
  border-color: var(--border-gold);
}

.pagination a.active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* 空状态 */
.no-data {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.no-data i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
  color: var(--border-medium);
}

/* ============================================================
   联系页
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold-dark);
  background: var(--gold-dim);
  border-radius: 50%;
  border: 1px solid var(--border-gold);
}

.contact-info__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* 表单 */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--paper-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ============================================================
   流程时间线
   ============================================================ */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--border-light), var(--gold));
}

.timeline__item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  padding-left: 52px;
  position: relative;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 32px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border: 3px solid var(--paper-white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold-dim);
}

.timeline__content {
  flex: 1;
}

.timeline__content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline__content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   搜索页
   ============================================================ */
.search-header {
  padding: 32px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 600px;
}

.search-form .form-input {
  flex: 1;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--brown-dark);
  color: rgba(245, 240, 232, 0.7);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--paper-light);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
  position: relative;
}

.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.footer__brand-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: rgba(245, 240, 232, 0.55);
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.5);
  border: 1px solid rgba(245, 240, 232, 0.15);
  border-radius: 50%;
  transition: all var(--duration-fast);
}

.footer__social a:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: var(--gold-dim);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.55);
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(245, 240, 232, 0.55);
}

.footer__contact-item i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__qrcode {
  width: 120px;
  height: 120px;
  background: var(--paper-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  border: 1px solid rgba(245, 240, 232, 0.1);
  margin-bottom: 8px;
}

/* 友情链接 */
.friend-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  font-size: 0.82rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 24px;
}

.friend-links__label {
  color: rgba(245, 240, 232, 0.4);
  flex-shrink: 0;
}

.friend-links a {
  color: rgba(245, 240, 232, 0.4);
  transition: color var(--duration-fast);
}

.friend-links a:hover {
  color: var(--gold-light);
}

/* 底部版权 */
.footer__bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  padding: 20px 24px;
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.35);
}

.footer__bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom-inner a {
  color: rgba(245, 240, 232, 0.35);
}

.footer__bottom-inner a:hover {
  color: var(--gold-light);
}

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-white);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-normal);
  z-index: 900;
  cursor: pointer;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* ============================================================
   懒加载
   ============================================================ */
img[data-src] {
  opacity: 0;
  transition: opacity var(--duration-normal);
}

img[data-src].loaded {
  opacity: 1;
}

/* ============================================================
   工具类
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

.hidden { display: none !important; }

.show-mobile { display: none; }
.hide-mobile { display: block; }

/* 淡入动画 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-out);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   响应式 — 768px 断点
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: 60px;
    --section-py-sm: 40px;
  }

  .header__nav { display: none; }
  .header__cta { display: none; }
  .hamburger { display: flex; }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .list-page {
    grid-template-columns: 1fr;
  }

  .sidebar {
    margin-bottom: 24px;
  }

  .hero__title { font-size: 2.2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --container-max: 100%;
  }

  .container { padding: 0 16px; }

  .hero {
    height: 80vh;
    min-height: 480px;
    max-height: 600px;
  }

  .hero__title { font-size: 1.8rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .inner-banner {
    height: 220px;
    margin-top: var(--header-h);
  }

  .inner-banner__title { font-size: 1.6rem; }

  .grid-2, .grid-3, .grid-4, .grid-5 {
    grid-template-columns: 1fr;
  }

  .grid-magazine,
  .grid-magazine--reverse {
    grid-template-columns: 1fr;
  }

  .grid-masonry {
    columns: 1;
  }

  .list-grid,
  .list-grid--4col {
    grid-template-columns: 1fr;
  }

  .craft-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item__number { font-size: 2.2rem; }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .news-item {
    flex-direction: column;
  }

  .news-item__image {
    width: 100%;
  }

  .card--featured {
    flex-direction: column;
    grid-column: span 1;
  }

  .card--featured .card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .param-grid {
    grid-template-columns: 1fr;
  }

  .show-mobile { display: block; }
  .hide-mobile { display: none; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.5rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .tab-nav__btn {
    padding: 10px 16px;
    font-size: 0.82rem;
  }
}

/* ============================================================
   匠心动画系统 — Craft Animations
   米白暖调 + 印刷工艺感 + 温润过渡
   ============================================================ */

/* ── 烫金闪光动画 ── */
@keyframes goldShimmer {
  0%, 100% { background-position: -200% center; }
  50% { background-position: 200% center; }
}

.gold-shimmer {
  background: linear-gradient(
    110deg,
    var(--gold-dark) 0%,
    var(--gold-light) 25%,
    #F5E6B8 40%,
    var(--gold-light) 55%,
    var(--gold-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 3.5s ease-in-out infinite;
}

/* ── 纸张渐显纹理动画 ── */
@keyframes paperReveal {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: scale(0.97);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

.paper-reveal {
  animation: paperReveal 0.8s var(--ease-out) forwards;
}

/* ── 卡片浮起阴影 ── */
@keyframes cardFloat {
  0%, 100% {
    box-shadow: 0 2px 12px rgba(60, 40, 20, 0.06);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 12px 36px rgba(60, 40, 20, 0.12);
    transform: translateY(-6px);
  }
}

.card--float {
  animation: cardFloat 4s ease-in-out infinite;
}

.card--float:hover {
  animation: none;
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(60, 40, 20, 0.12);
}

/* ── 印章盖印动画 ── */
@keyframes stampIn {
  0% {
    opacity: 0;
    transform: scale(1.8) rotate(-5deg);
  }
  60% {
    opacity: 1;
    transform: scale(0.95) rotate(1deg);
  }
  80% {
    transform: scale(1.03) rotate(-0.5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.stamp-in {
  animation: stampIn 0.7s var(--ease-spring) forwards;
}

/* ── 墨迹渐显 ── */
@keyframes inkReveal {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

.ink-reveal {
  animation: inkReveal 0.9s var(--ease-out) forwards;
}

/* ── 金线描边动画 ── */
@keyframes goldStrokeDraw {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.6;
  }
}

/* ── 温润光晕呼吸 ── */
@keyframes warmGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(200, 168, 78, 0.2),
                0 0 0 0 rgba(200, 168, 78, 0.1);
  }
  50% {
    box-shadow: 0 0 20px 4px rgba(200, 168, 78, 0.15),
                0 0 40px 8px rgba(200, 168, 78, 0.05);
  }
}

.warm-glow {
  animation: warmGlow 3s ease-in-out infinite;
}

/* ── 层次渐现（stagger children） ── */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  animation: staggerFadeIn 0.6s var(--ease-out) forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.12s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.19s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.26s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.33s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.40s; }
.stagger-children > *:nth-child(7) { animation-delay: 0.47s; }
.stagger-children > *:nth-child(8) { animation-delay: 0.54s; }

@keyframes staggerFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Banner文字逐字显现 ── */
@keyframes textReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: -0.05em;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.03em;
  }
}

.hero__title {
  animation: textReveal 1s var(--ease-out) forwards;
}

/* ── 分隔线延展 ── */
@keyframes dividerExtend {
  0% { width: 0; opacity: 0; }
  100% { width: 60px; opacity: 1; }
}

.section-divider {
  animation: dividerExtend 0.8s var(--ease-out) forwards;
  animation-play-state: paused;
}

.section-divider.is-visible {
  animation-play-state: running;
}

/* ── 卡片hover微动 ── */
.card {
  transition: all 0.45s var(--ease-out);
}

.card:hover {
  transition: all 0.25s var(--ease-out);
}

/* ── 按钮涟漪效果 ── */
.btn--ripple {
  position: relative;
  overflow: hidden;
}

.btn--ripple::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn--ripple:hover::after {
  opacity: 1;
}

/* ── 滚动驱动渐现（Intersection Observer 备用） ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
