/* 庚戌堂母品牌官网 —— 共享样式
 * 视觉方向：东方书卷气 + 现代编辑式极简
 * 主色：米白 #F4F0E6 / 墨黑 #292621 / 古金 #A8874A
 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@400;600;700;900&display=swap');

:root {
  --paper: #F4F0E6;
  --paper-2: #FAF8F3;
  --ink: #292621;
  --ink-soft: #4A443D;
  --ink-muted: #7D756C;
  --gold: #A8874A;
  --gold-light: #D9C9A8;
  --gold-pale: #EDE4D3;
  --vermilion: #8B1A1A;

  /* 子品牌识别色（仅作点缀，不主导母品牌） */
  --xuetang-blue: #2563EB;
  --dongming-purple: #5B3A7E;
  --lantai-teal: #1F6B63;
  --xuanjian-brown: #8B5A3C;

  /* 子品牌印色（取自各印章主色，用于品牌字标） */
  --xuetang-ink: #1A3C7A;
  --dongming-ink: #4B2D61;
  --lantai-ink: #194D50;
  --xuanjian-ink: #7D451B;

  --radius: 8px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 5px rgba(41, 38, 33, 0.05);
  --shadow-md: 0 8px 24px rgba(41, 38, 33, 0.08);
  --shadow-lg: 0 18px 42px rgba(41, 38, 33, 0.12);

  --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(168, 135, 74, 0.55);
  outline-offset: 3px;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .container { padding: 0 48px; }
}

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.header.is-scrolled {
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  height: 72px;
  flex-shrink: 0;
}

.logo-seal {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-type {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.logo-cn {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.logo-en {
  margin-top: 7px;
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

.nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.25s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, color 0.25s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #3E3832;
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

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

.btn-gold:hover {
  background: #94763E;
}

.btn-ghost {
  color: var(--ink-soft);
}

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

.btn-sm { padding: 7px 16px; font-size: 0.85rem; }

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--paper-2);
  border-top: 1px solid var(--gold-pale);
  padding: 20px 24px 28px;
  box-shadow: var(--shadow-md);
}

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

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--gold-pale);
}

.mobile-nav a:last-child { border-bottom: none; }

@media (min-width: 768px) {
  .nav { display: flex; }
  .mobile-menu-btn { display: none; }
}

@media (min-width: 768px) and (max-width: 900px) {
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding-inline: 14px; }
  .logo-cn { font-size: 1.42rem; }
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 96px 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 620px;
  margin: 0 0 48px;
}

.section-head {
  margin-bottom: 56px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 120px;
  background:
    linear-gradient(135deg, rgba(168, 135, 74, 0.10), transparent 42%),
    linear-gradient(315deg, rgba(41, 38, 33, 0.035), transparent 38%),
    var(--paper);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a8874a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
    gap: 24px;
  }
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 24px;
  color: var(--ink);
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 36px;
}

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

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: min(100%, 760px);
  height: auto;
  opacity: 0.96;
  filter: drop-shadow(0 20px 40px rgba(41,38,33,0.12));
  animation: float 8s ease-in-out infinite;
}

@media (min-width: 1200px) {
  .hero-visual {
    margin-right: -72px;
  }

  .hero-logo {
    width: 760px;
    max-width: none;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- 产品矩阵 ---------- */
.matrix {
  background: var(--paper-2);
}

.matrix-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover::before { transform: scaleX(1); }

.product-card.is-xuetang::before { background: var(--xuetang-blue); }
.product-card.is-dongming::before { background: var(--dongming-purple); }
.product-card.is-lantai::before { background: var(--lantai-teal); }
.product-card.is-xuanjian::before { background: var(--xuanjian-brown); }

/* 卡片头部：印章 + 品牌字标（文字由网页字体渲染，任意尺寸清晰） */
.product-card-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
}

.product-card-brand .brand-seal {
  width: 58px;
  height: 58px;
  flex: none;
}

.brand-lockup-text .brand-cn {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.brand-lockup-text .brand-en {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  opacity: 0.85;
}

.product-card.is-xuetang .brand-cn, .product-card.is-xuetang .brand-en { color: var(--xuetang-ink); }
.product-card.is-dongming .brand-cn, .product-card.is-dongming .brand-en { color: var(--dongming-ink); }
.product-card.is-lantai .brand-cn, .product-card.is-lantai .brand-en { color: var(--lantai-ink); }
.product-card.is-xuanjian .brand-cn, .product-card.is-xuanjian .brand-en { color: var(--xuanjian-ink); }

.product-card-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 0 0 20px;
  line-height: 1.65;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-live {
  background: #EAF6EC;
  color: #2E7D32;
}
.status-live::before { background: #2E7D32; }

.status-soon {
  background: #FFF4E5;
  color: #B45309;
}
.status-soon::before { background: #B45309; }

.status-plan {
  background: #F0EFED;
  color: var(--ink-muted);
}
.status-plan::before { background: var(--ink-muted); }

/* ---------- 价值主张 ---------- */
.value-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.value-card {
  padding: 28px;
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gold-pale);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.value-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.value-text {
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- 主理人/CTA ---------- */
.cta-section {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(168,135,74,0.18), transparent 60%);
}

.cta-inner {
  position: relative;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin: 0 0 16px;
}

.cta-desc {
  color: var(--gold-light);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.founder-quote {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(168,135,74,0.25);
}

.founder-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.8;
  margin: 0 auto 16px;
  max-width: 680px;
}

.founder-quote cite {
  font-style: normal;
  color: var(--gold-light);
  font-size: 0.95rem;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  margin-bottom: 56px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo {
  height: auto;
  margin-bottom: 20px;
}

.footer-brand .logo-seal {
  width: 66px;
  height: 66px;
  filter: brightness(0) invert(1);
}

.footer-brand .logo-cn {
  color: var(--paper);
  font-size: 1.7rem;
}

.footer-brand .logo-en {
  color: var(--paper);
  font-size: 0.62rem;
}

.footer-brand p {
  color: var(--gold-light);
  font-size: 0.9rem;
  margin: 0;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.footer-col a {
  display: block;
  color: var(--gold-light);
  font-size: 0.95rem;
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(168,135,74,0.2);
  font-size: 0.85rem;
  color: var(--gold-light);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal a { color: var(--gold-light); }
.footer-legal a:hover { color: #fff; }

.disclaimer {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 760px;
}

/* ---------- 生态页专属 ---------- */
.eco-hero {
  padding: 150px 0 80px;
  background:
    radial-gradient(circle at 20% 30%, rgba(168,135,74,0.10), transparent 40%),
    var(--paper);
}

.eco-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  margin: 0 0 16px;
}

.eco-hero-desc {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0;
}

.eco-layer {
  margin-bottom: 72px;
}

.eco-layer-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-pale);
}

.eco-layer-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.eco-layer-desc {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.eco-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.eco-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.eco-card-logo {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-2);
  flex-shrink: 0;
}

.eco-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.eco-card-body {
  display: flex;
  flex-direction: column;
}

.eco-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.eco-card-tagline {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.eco-card-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.keyword {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--paper-2);
  color: var(--ink-soft);
}

.eco-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- 通用动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(120px);
  background: var(--ink);
  color: var(--paper);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
  pointer-events: none;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ---------- 品牌使命条 ---------- */
.mission-strip {
  background: var(--paper-2);
  border-top: 1px solid var(--gold-pale);
  border-bottom: 1px solid var(--gold-pale);
  padding: 72px 0;
  text-align: center;
}

.mission-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 auto 24px;
  max-width: 820px;
}

.mission-quote em {
  font-style: normal;
  color: var(--gold);
}

.mission-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.mission-tags span {
  position: relative;
}

.mission-tags span:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -20px;
  color: var(--gold-light);
}

.hide-on-wide { display: none; }
@media (max-width: 640px) {
  .hide-on-wide { display: block; }
}

/* ---------- 四种需求 ---------- */
.needs-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.need-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 3px solid var(--gold);
}

.need-card:nth-child(1) { border-top-color: var(--xuetang-blue); }
.need-card:nth-child(2) { border-top-color: var(--dongming-purple); }
.need-card:nth-child(3) { border-top-color: var(--lantai-teal); }
.need-card:nth-child(4) { border-top-color: var(--xuanjian-brown); }

.need-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.need-question {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.need-product {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.need-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- 不是算命工作室 ---------- */
.manifesto-section {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0;
}

.manifesto-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 48px;
}

.manifesto-item {
  padding: 24px;
  border-left: 2px solid var(--gold);
  background: rgba(255,255,255,0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.manifesto-item h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0 0 10px;
  color: var(--gold-light);
}

.manifesto-item p {
  margin: 0;
  color: var(--gold-light);
  opacity: 0.85;
  font-size: 0.95rem;
}

.manifesto-lead {
  color: var(--gold-light);
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
}

/* ---------- 决策四问 ---------- */
.decision-section {
  background: var(--paper-2);
}

.decision-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 40px;
}

.decision-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.decision-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
}

.decision-text {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- 生态页补充 ---------- */
.eco-summary {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 64px;
  border-left: 4px solid var(--gold);
}

.eco-summary p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.eco-summary strong {
  color: var(--ink);
}

/* ---------- 细节修正 ---------- */
@media (max-width: 480px) {
  .logo { gap: 8px; }
  .logo-seal { width: 48px; height: 48px; }
  .logo-cn { font-size: 1.32rem; }
  .logo-en { margin-top: 6px; font-size: 0.5rem; letter-spacing: 0.22em; }
  .hero-logo { width: min(100%, 620px); }
  .hero { padding: 130px 0 80px; }
  .section { padding: 64px 0; }
  .hero-actions .btn { width: 100%; }
  .eco-card { grid-template-columns: 1fr; }
  .eco-card-logo { width: 72px; height: 72px; }
  .mission-tags span:not(:last-child)::after { display: none; }
}

/* =========================================================
   关于页 About
   ========================================================= */
.page-hero {
  padding: 150px 0 72px;
  background:
    linear-gradient(135deg, rgba(168,135,74,0.10), transparent 42%),
    var(--paper);
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  margin: 0 0 16px;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0;
}

.story-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .story-block { grid-template-columns: 1fr; gap: 32px; }
}

.story-text p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
  line-height: 1.9;
}

.story-text p:last-child { margin-bottom: 0; }

.story-quote {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.story-quote::before {
  content: '“';
  position: absolute;
  top: -8px;
  left: 20px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.6;
}

.story-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.7;
  margin: 0 0 16px;
}

.story-quote cite {
  font-style: normal;
  color: var(--gold-light);
}

/* 使命/愿景/价值观 */
.mv-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.mv-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
}

.mv-card .label { color: var(--gold); }

.mv-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 14px;
}

.mv-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mv-card ul li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--gold-pale);
}

.mv-card ul li:last-child { border-bottom: none; }

.mv-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* 时间线 */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--gold-light), var(--gold-pale));
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 56px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--gold);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 6px;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.timeline-desc {
  color: var(--ink-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* =========================================================
   内容页 Content
   ========================================================= */
.featured-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

@media (max-width: 900px) {
  .featured-card { grid-template-columns: 1fr; padding: 28px; }
}

.featured-card::after {
  content: '精选';
  position: absolute;
  top: 20px;
  right: -36px;
  transform: rotate(45deg);
  background: var(--gold);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 6px 44px;
}

.featured-body .label { color: var(--gold); }

.featured-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.4;
  margin: 0 0 14px;
}

.featured-title a { color: inherit; }
.featured-title a:hover { color: var(--gold); }

.featured-excerpt {
  color: var(--ink-muted);
  margin: 0 0 24px;
  line-height: 1.8;
}

.layer-list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.layer-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}

.layer-card:nth-child(1) { border-left-color: var(--xuetang-blue); }
.layer-card:nth-child(2) { border-left-color: var(--lantai-teal); }
.layer-card:nth-child(3) { border-left-color: var(--dongming-purple); }

.layer-no {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}

.layer-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 6px;
}

.layer-goal {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 14px;
}

.layer-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #fff;
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}

.platform-chip:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* =========================================================
   单篇页 Article
   ========================================================= */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  padding: 20px 0;
  border-top: 1px solid var(--gold-pale);
  border-bottom: 1px solid var(--gold-pale);
  margin-bottom: 32px;
}

.article-meta .tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  background: var(--gold-pale);
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.prose {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 2;
}

.prose p { margin: 0 0 20px; }

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--ink);
  margin: 40px 0 16px;
}

.prose h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
  margin: 32px 0 12px;
}

.prose blockquote {
  margin: 28px 0;
  padding: 20px 28px;
  border-left: 4px solid var(--gold);
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.prose ul {
  margin: 0 0 20px;
  padding: 0 0 0 24px;
}

.prose li { margin-bottom: 10px; }

.article-footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--gold-pale);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.article-back:hover { color: var(--gold); }

/* =========================================================
   联系页 Contact
   ========================================================= */
.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--gold-pale);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
}

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.contact-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0 0 16px;
}

.contact-card .mail {
  color: var(--gold);
  font-weight: 600;
  word-break: break-all;
}

/* 用户反馈渠道 */
.channel-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.channel-item {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
}

.channel-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--paper-2);
}

.channel-placeholder {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
  border: 1px dashed var(--gold-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.channel-placeholder img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.channel-item h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.channel-item p {
  color: var(--ink-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* 表单 */
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field { margin-bottom: 20px; }

.form-field label {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper-2);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(168,135,74,0.12);
}

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

.form-submit {
  width: 100%;
}

/* =========================================================
   隐私政策页 Privacy
   ========================================================= */
.legal-updated {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--ink-muted);
  background: var(--paper-2);
  border: 1px solid var(--gold-pale);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
}

/* =========================================================
   2026-09-02 品牌官网首页视觉升级
   ========================================================= */
:root {
  --jade: #2E6B5E;
  --jade-deep: #1F4E45;
  --jade-soft: #E7F0EC;
}

.section {
  padding: 108px 0;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.14em;
}

.label::before {
  content: '';
  width: 20px;
  height: 20px;
  flex: none;
  background: url("../assets/logos/seal-gengxutang-transparent.png?v=20260821f") center / contain no-repeat;
  opacity: 0.92;
}

/* ---------- Hero 重构图 ---------- */
.hero {
  padding: 168px 0 120px;
}

.hero-inner {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
  }
}

.hero-content {
  max-width: 560px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--gold-light);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
}

.hero-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-visual {
  position: relative;
  width: 100%;
  justify-content: flex-end;
}

@media (min-width: 1200px) {
  .hero-visual {
    margin-right: 0;
  }
}

.hero-emblem {
  position: relative;
  width: min(100%, 460px);
  max-width: 100%;
  flex: 0 0 auto;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid rgba(168, 135, 74, 0.45);
  background: linear-gradient(160deg, #FBF8F1, #F1EADB);
  box-shadow: var(--shadow-lg);
}

.hero-emblem::before,
.hero-emblem::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--gold);
}

.hero-emblem::before {
  top: -14px;
  left: -14px;
  border-right: 0;
  border-bottom: 0;
}

.hero-emblem::after {
  bottom: -14px;
  right: -14px;
  border-left: 0;
  border-top: 0;
}

.hero-logo {
  width: min(82%, 380px);
  height: auto;
  opacity: 1;
  filter: none;
  animation: none;
}

@media (min-width: 1200px) {
  .hero-logo {
    width: min(82%, 380px);
    max-width: none;
  }
}

.hero-seal {
  position: absolute;
  top: -30px;
  right: -24px;
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 8px 14px rgba(41, 38, 33, 0.18));
}

.hero-emblem-note {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
  text-indent: 0.28em;
}

.hero-caption {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--ink-muted);
}

/* ---------- 品牌使命条压缩 ---------- */
.mission-strip {
  padding: 56px 0;
}

/* ---------- 产品矩阵强调 ---------- */
.matrix-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card {
  padding: 26px;
  border: 1px solid rgba(41, 38, 33, 0.06);
}

.product-card::before {
  height: 5px;
}

.product-card.is-xuetang {
  background: linear-gradient(180deg, var(--jade-soft), #fff 62%);
  box-shadow: inset 0 0 0 1px rgba(46, 107, 94, 0.28), var(--shadow-md);
}

.product-card.is-xuetang::before {
  background: var(--jade);
  transform: scaleX(1);
}

.product-card.is-xuetang .brand-cn,
.product-card.is-xuetang .brand-en {
  color: var(--jade-deep);
}

.status-badge {
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
}

.status-badge::before {
  width: 7px;
  height: 7px;
}

.status-live {
  background: var(--jade-soft);
  color: var(--jade-deep);
}

.status-live::before {
  background: var(--jade-deep);
}

.status-soon {
  background: #FCEFDC;
  color: #9A5B16;
}

.need-card {
  padding: 30px 28px;
  border-top-width: 4px;
}

.need-card:nth-child(1) {
  border-top-color: var(--jade);
}

/* ---------- 品牌立场：暗色面板化 ---------- */
.manifesto-section {
  background: var(--paper-2);
  color: var(--ink);
  padding: 108px 0;
}

.manifesto-box {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  padding: 64px 56px;
  border: 1px solid rgba(168, 135, 74, 0.4);
  overflow: hidden;
}

.manifesto-box::before {
  content: '庚';
  position: absolute;
  right: -30px;
  bottom: -70px;
  font-family: var(--font-serif);
  font-size: 220px;
  line-height: 1;
  color: rgba(168, 135, 74, 0.08);
  pointer-events: none;
}

.manifesto-box .section-head {
  margin-bottom: 36px;
}

.manifesto-box .manifesto-lead {
  margin-bottom: 8px;
}

/* ---------- CTA 与页脚修正 ---------- */
.cta-section {
  padding: 96px 0;
}

.footer .disclaimer {
  color: rgba(217, 201, 168, 0.78);
  font-size: 0.88rem;
}

/* ---------- 响应式收尾 ---------- */
@media (max-width: 899px) {
  .hero-inner {
    gap: 44px;
  }

  .hero-visual {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-emblem {
    width: min(72vw, 320px);
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 76px 0;
  }

  .hero {
    padding: 124px 0 72px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-emblem {
    width: min(70vw, 260px);
    max-width: 100%;
  }

  .hero-seal {
    width: 72px;
    height: 72px;
    top: -20px;
    right: -14px;
  }

  .hero-emblem-note {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
  }

  .hero-caption {
    position: static;
    transform: none;
    margin-top: 14px;
    text-align: center;
    width: 100%;
  }

  .manifesto-box {
    padding: 44px 24px;
  }

  .manifesto-box::before {
    font-size: 150px;
  }
}

/* ---------- 终审打磨（2026-09-02） ---------- */
.manifesto-box .manifesto-lead {
  line-height: 1.9;
}

.manifesto-item p {
  opacity: 1;
  line-height: 1.9;
}

.cta-desc {
  line-height: 1.9;
}

.product-card.is-xuetang {
  background: linear-gradient(180deg, #DCEBE4, #F3F8F5 55%, #fff 88%);
}

.product-card.is-xuetang .product-card-desc {
  color: var(--ink-soft);
}

.footer {
  padding: 72px 0 36px;
}

.footer-bottom {
  line-height: 1.7;
}

@media (max-width: 640px) {
  .hero-desc {
    font-size: 1rem;
    line-height: 1.85;
  }

  .manifesto-item {
    padding: 22px;
  }

  .footer {
    padding: 56px 0 28px;
  }

  .footer-grid {
    gap: 36px;
    margin-bottom: 40px;
  }
}
