/* ============================================================
   CapraMind — 牧智未来 · 官网样式（全屏翻页版）
   色系：奶白 #fbf7ef / 浅绿 #bfe3cf / 浅蓝 #bcd9ee / 墨绿 #22473a
   ============================================================ */

:root {
  --cream: #fbf7ef;
  --cream-2: #f4eee1;
  --mint: #bfe3cf;
  --mint-deep: #7fc4a3;
  --sky: #bcd9ee;
  --sky-deep: #7fb3d9;
  --ink: #22473a;
  --ink-soft: #4a6b5c;
  --white: #ffffff;
  --radius: 28px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: "Noto Serif SC", "Fraunces", serif;
  --font-sans: "Noto Sans SC", "Inter", sans-serif;
  --nav-h: 76px;
}

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

html, body {
  height: 100%;
  overflow: hidden;            /* 全屏翻页：禁用原生滚动 */
  overscroll-behavior: none;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--mint); color: var(--ink); }

/* 英文排版切换 */
html[lang="en"] body { font-family: "Inter", var(--font-sans); }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] .hero__title,
html[lang="en"] .contact__inner h2 { font-family: "Fraunces", serif; }

/* ============ 加载幕布 ============ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
}
.loader__word { display: flex; overflow: hidden; }
.loader__word span {
  font-family: "Fraunces", serif; font-weight: 900; font-size: clamp(2rem, 6vw, 4rem);
  color: var(--cream); transform: translateY(120%); display: inline-block;
}
.loader__bar { width: 180px; height: 2px; background: rgba(251,247,239,0.2); border-radius: 2px; overflow: hidden; }
.loader__bar i { display: block; width: 0; height: 100%; background: var(--mint); }

/* ============ 自定义光标 ============ */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 150; border-radius: 50%; }
.cursor { width: 8px; height: 8px; background: var(--ink); transform: translate(-50%, -50%); }
.cursor-ring {
  width: 40px; height: 40px; border: 1.5px solid var(--mint-deep);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}
.cursor-ring.is-hover { width: 72px; height: 72px; border-color: var(--sky-deep); }
@media (hover: none) { .cursor, .cursor-ring { display: none; } body { cursor: auto; } }

/* 页面过渡幕布（位置完全由 JS 的 yPercent 控制） */
.page-wipe {
  position: fixed; inset: 0; z-index: 180; background: var(--mint);
  visibility: hidden; pointer-events: none;
}

/* ============ 导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 64px);
  transition: background 0.4s, box-shadow 0.4s, color 0.4s;
}
.nav.is-solid {
  background: rgba(251, 247, 239, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(34, 71, 58, 0.08);
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: "Fraunces", var(--font-serif); font-weight: 900; font-size: 1.35rem;
}
.logo-mark { width: 34px; height: 34px; color: currentColor; transition: transform 0.5s var(--ease-out); }
.nav__logo:hover .logo-mark { transform: rotate(-8deg) scale(1.08); color: var(--mint-deep); }

.nav__links { display: flex; gap: clamp(14px, 2.5vw, 36px); }
.nav__links a { position: relative; font-size: 0.92rem; font-weight: 500; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--mint-deep), var(--sky-deep));
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-out);
  border-radius: 2px;
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { font-weight: 700; }

/* 深色页（技术章节）时的导航反色 */
body.on-dark .nav:not(.is-solid) { color: var(--cream); }
body.on-dark .nav:not(.is-solid) .lang-toggle { border-color: var(--cream); color: var(--cream); }
body.on-dark .nav:not(.is-solid) .lang-toggle__track { background: var(--cream); }
body.on-dark .nav:not(.is-solid) .lang-toggle__track b { background: var(--ink); }

.lang-toggle {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 6px 12px; cursor: none; color: var(--ink);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.lang-toggle:hover { background: var(--mint); border-color: var(--mint-deep); color: var(--ink); }
.lang-toggle__opt { font-size: 0.78rem; font-weight: 700; opacity: 0.4; transition: opacity 0.3s; }
.lang-toggle__opt.is-active { opacity: 1; }
.lang-toggle__track { width: 26px; height: 14px; border-radius: 999px; background: var(--ink); position: relative; display: block; transition: background 0.3s; }
.lang-toggle__track b {
  position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--cream); transition: transform 0.35s var(--ease-out);
}
.lang-toggle.is-en .lang-toggle__track b { transform: translateX(12px); }

/* 翻页进度 */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 110;
  background: linear-gradient(90deg, var(--mint-deep), var(--sky-deep));
  transition: width 0.6s var(--ease-out);
}

/* ============ 右侧页点 ============ */
.fp-dots {
  position: fixed; right: clamp(14px, 2.5vw, 32px); top: 50%; transform: translateY(-50%);
  z-index: 100; display: flex; flex-direction: column; gap: 14px;
}
.fp-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid #fff; background: transparent; cursor: none; padding: 0;
  mix-blend-mode: difference;
  transition: transform 0.35s var(--ease-out), background 0.35s;
}
.fp-dots button:hover { transform: scale(1.4); }
.fp-dots button.is-active { background: #fff; transform: scale(1.5); }

/* ============ 全屏翻页容器 ============ */
#fullpage { height: 100vh; will-change: transform; }
.chapter {
  position: relative; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 20px) clamp(24px, 6vw, 80px) clamp(28px, 5vh, 56px);
}

/* ============ HERO ============ */
.hero {
  position: relative; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: var(--nav-h) 20px 100px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.93 0 0 0 0 0.88 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; z-index: 2; max-width: 1100px; }
.hero__kicker {
  display: inline-block; font-size: 0.85rem; letter-spacing: 0.35em; font-weight: 500;
  color: var(--ink-soft); text-transform: uppercase; margin-bottom: 28px;
}
.hero__kicker span {
  padding: 10px 22px; border: 1px solid var(--ink-soft); border-radius: 999px;
  background: rgba(251, 247, 239, 0.55); backdrop-filter: blur(6px);
}
.hero__title {
  font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(2.4rem, 7.2vh, 5.6rem); line-height: 1.18; letter-spacing: 0.01em;
}
.hero__title .line { display: block; }
.hero__title .line--accent {
  background: linear-gradient(100deg, var(--mint-deep) 10%, var(--sky-deep) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title b { font-weight: 900; white-space: nowrap; }
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero__title .word > span { display: inline-block; transform: translateY(110%); }
.hero__sub {
  margin: 26px auto 0; max-width: 560px; font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--ink-soft); line-height: 1.9;
}
.hero__cta { margin-top: 36px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 38px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  position: relative; overflow: hidden; transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--ink); color: var(--cream); z-index: 0; }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--mint-deep), var(--sky-deep));
  transform: translateY(101%); transition: transform 0.45s var(--ease-out);
}
.btn--primary:hover::before { transform: translateY(0); }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--cream-2); }
.btn--big { padding: 18px 54px; font-size: 1.05rem; }

.hero__scroll {
  position: absolute; bottom: 92px; left: 50%; translate: -50% 0;
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.75rem; letter-spacing: 0.3em; color: var(--ink-soft);
}
.hero__scroll-line { width: 1px; height: 44px; background: var(--ink-soft); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--mint-deep); animation: scrollDrop 1.8s var(--ease-out) infinite;
}
@keyframes scrollDrop { 0% { top: -100%; } 60%, 100% { top: 100%; } }

.hero__marquee {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 14px 0; border-top: 1px solid rgba(34, 71, 58, 0.12);
  overflow: hidden; white-space: nowrap; background: rgba(251,247,239,0.6); backdrop-filter: blur(6px);
}
.marquee__track { display: inline-flex; animation: marquee 26s linear infinite; }
.marquee__track span {
  font-family: var(--font-serif); font-size: 1rem; letter-spacing: 0.15em;
  color: var(--ink-soft); padding-right: 8px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ 章节头部 ============ */
.chapter__num {
  font-family: "Fraunces", serif; font-weight: 900; font-size: clamp(3rem, 8vh, 6rem);
  color: transparent; -webkit-text-stroke: 1.5px rgba(34, 71, 58, 0.25);
  line-height: 1; user-select: none; flex-shrink: 0;
}
.chapter__head { max-width: 900px; }
.chapter__head--row { display: flex; align-items: flex-end; gap: clamp(18px, 3vw, 40px); }
.chapter__head h2 {
  font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(1.7rem, 4.2vh, 3rem); margin-bottom: 8px; line-height: 1.25;
}
.chapter__head p { color: var(--ink-soft); font-size: clamp(0.92rem, 1.5vh, 1.05rem); line-height: 1.7; }

/* 通用 reveal 初始态（JS 驱动） */
[data-reveal] { opacity: 0; transform: translateY(46px); }

/* ============ 关于 ============ */
.about { background: linear-gradient(160deg, var(--cream) 0%, #eef5ee 55%, var(--cream) 100%); }
.about__inner { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: clamp(20px, 4vh, 44px); }
.about__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.pillar {
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(34, 71, 58, 0.08); border-radius: var(--radius);
  padding: clamp(22px, 3vh, 36px);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
  position: relative; overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--mint-deep), var(--sky-deep));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.pillar:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(34, 71, 58, 0.13); }
.pillar:hover::before { transform: scaleX(1); }
.pillar h3 { font-family: var(--font-serif); font-weight: 900; font-size: clamp(1.15rem, 2.2vh, 1.5rem); margin-bottom: 12px; }
.pillar p { color: var(--ink-soft); line-height: 1.85; font-size: clamp(0.85rem, 1.5vh, 0.95rem); }

.about__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 22px); }
.stat {
  background: var(--white); border-radius: 20px; padding: clamp(16px, 2.4vh, 26px) clamp(14px, 1.6vw, 24px);
  box-shadow: 0 10px 32px rgba(34, 71, 58, 0.08);
  border: 1px solid rgba(34, 71, 58, 0.06);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.stat:hover { transform: translateY(-6px) rotate(-0.5deg); box-shadow: 0 20px 48px rgba(34, 71, 58, 0.14); }
.stat b {
  font-family: "Fraunces", serif; font-weight: 900; font-size: clamp(1.6rem, 3.4vh, 2.6rem);
  display: block; color: var(--ink);
}
.stat span { font-size: clamp(0.75rem, 1.3vh, 0.9rem); color: var(--ink-soft); }

/* ============ 技术与产品（卡片轮播） ============ */
.tech { background: var(--ink); color: var(--cream); }
.tech .chapter__num { -webkit-text-stroke-color: rgba(251, 247, 239, 0.3); }
.tech .chapter__head p { color: rgba(251, 247, 239, 0.65); }
.tech__inner { display: flex; flex-direction: column; gap: clamp(18px, 3.5vh, 36px); height: 100%; justify-content: center; }
.tech__carousel { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); }
.tech__viewport { flex: 1; overflow: hidden; padding: 20px calc(50% - min(330px, 41vw)); }
.tech__track { display: flex; gap: clamp(20px, 3vw, 40px); will-change: transform; }
.card {
  flex: 0 0 auto; width: min(660px, 82vw);
  background: rgba(251, 247, 239, 0.05);
  border: 1px solid rgba(251, 247, 239, 0.14);
  border-radius: var(--radius); padding: clamp(24px, 3.4vh, 44px);
  position: relative; overflow: hidden;
  opacity: 0.35; transform: scale(0.92);
  transition: opacity 0.5s, transform 0.5s var(--ease-out), border-color 0.4s, background 0.4s;
}
.card.is-active { opacity: 1; transform: scale(1); }
.card.is-active:hover { border-color: var(--mint-deep); background: rgba(251, 247, 239, 0.09); }
.card__tag {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.2em; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
  background: var(--mint); color: var(--ink);
}
.card--eye .card__tag { background: var(--sky); }
.card--hand .card__tag { background: var(--cream-2); }
.card--cloud .card__tag { background: linear-gradient(90deg, var(--mint), var(--sky)); }
.card h3 { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vh, 1.9rem); margin-bottom: 12px; font-weight: 900; }
.card p { color: rgba(251, 247, 239, 0.75); line-height: 1.85; font-size: clamp(0.82rem, 1.5vh, 0.95rem); }
.card ul { list-style: none; margin-top: 16px; }
.card li {
  padding: 8px 0 8px 24px; position: relative; font-size: clamp(0.78rem, 1.4vh, 0.9rem);
  color: rgba(251, 247, 239, 0.85); border-top: 1px dashed rgba(251, 247, 239, 0.15);
}
.card li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px;
  border-radius: 50%; background: linear-gradient(135deg, var(--mint-deep), var(--sky-deep));
}
.card__orb { position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; pointer-events: none; }
.card__orb i {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(191, 227, 207, 0.5); animation: orbPulse 5s ease-in-out infinite;
}
.card__orb i:nth-child(2) { inset: 26px; animation-delay: 0.8s; }
.card__orb i:nth-child(3) { inset: 54px; animation-delay: 1.6s; background: radial-gradient(circle, rgba(191,227,207,0.35), transparent 70%); border: none; }
.card__orb--blue i { border-color: rgba(188, 217, 238, 0.55); }
.card__orb--cream i { border-color: rgba(244, 238, 225, 0.5); }
.card__orb--mint i { border-color: rgba(127, 196, 163, 0.55); }
@keyframes orbPulse { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.08); opacity: 1; } }

.tech__arrow {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid rgba(251, 247, 239, 0.4); background: transparent; color: var(--cream);
  font-size: 1.25rem; cursor: none;
  transition: background 0.35s, border-color 0.35s, transform 0.35s var(--ease-out);
}
.tech__arrow:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); transform: scale(1.1); }
.tech__dots { display: flex; justify-content: center; gap: 12px; }
.tech__dots button {
  width: 34px; height: 4px; border-radius: 4px; border: none; cursor: none;
  background: rgba(251, 247, 239, 0.22); transition: background 0.35s, transform 0.35s;
}
.tech__dots button.is-active { background: var(--mint); transform: scaleY(1.6); }

/* ============ 应用场景 ============ */
.scenes { justify-content: flex-start; }
.scenes .chapter__head { margin-bottom: clamp(16px, 3vh, 32px); }
.scenes__grid {
  flex: 1; min-height: 0; width: 100%; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: clamp(12px, 2vh, 22px);
}
.scene {
  position: relative; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; isolation: isolate; min-height: 0;
}
.scene--tall { grid-row: span 2; }
.scene--wide { grid-column: span 2; }
.scene__bg {
  position: absolute; inset: -8%; z-index: -1; transition: transform 0.8s var(--ease-out);
  background-size: cover; background-position: center;
}
.scene:hover .scene__bg { transform: scale(1.06); }
.scene__bg[data-bg="g1"] { background-image: linear-gradient(160deg, #7fc4a3, #4a8f6f 55%, #2c5f47); }
.scene__bg[data-bg="g2"] { background-image: linear-gradient(160deg, #bcd9ee, #7fb3d9 55%, #4d84ad); }
.scene__bg[data-bg="g3"] { background-image: linear-gradient(160deg, #bfe3cf, #8fd0b0 55%, #5aa887); }
.scene__bg[data-bg="g4"] { background-image: linear-gradient(160deg, #9ecfe8, #7fc4a3 60%, #4a8f6f); }
.scene__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(34, 71, 58, 0.55));
}
.scene::before {
  content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%;
  background: rgba(251, 247, 239, 0.18); filter: blur(2px);
  top: 10%; right: 8%; animation: floatY 7s ease-in-out infinite;
}
.scene:nth-child(2n)::before { border-radius: 40% 60% 55% 45%; left: 8%; right: auto; animation-delay: 1.5s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
.scene__body { padding: clamp(16px, 2.6vh, 30px); color: var(--cream); width: 100%; }
.scene__body h3 { font-family: var(--font-serif); font-weight: 900; font-size: clamp(1.1rem, 2.4vh, 1.7rem); margin-bottom: 6px; }
.scene__body p {
  color: rgba(251, 247, 239, 0.85); line-height: 1.75; font-size: clamp(0.78rem, 1.4vh, 0.92rem);
  max-width: 480px; opacity: 0; transform: translateY(14px); transition: opacity 0.45s, transform 0.45s var(--ease-out);
}
.scene:hover .scene__body p { opacity: 1; transform: translateY(0); }
.scene__more { display: inline-block; margin-top: 8px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; opacity: 0.85; }

/* ============ 新闻 ============ */
.news { background: var(--cream-2); }
.news .chapter__head { margin-bottom: clamp(14px, 3vh, 32px); }
.news__list { max-width: 1100px; margin: 0 auto; width: 100%; }
.news__item {
  display: grid; grid-template-columns: 96px 1fr 56px; align-items: center; gap: clamp(14px, 2vw, 24px);
  padding: clamp(18px, 3.2vh, 30px) 12px; border-top: 1px solid rgba(34, 71, 58, 0.15);
  position: relative; transition: padding 0.4s var(--ease-out); z-index: 0;
}
.news__item:last-child { border-bottom: 1px solid rgba(34, 71, 58, 0.15); }
.news__item::before {
  content: ""; position: absolute; inset: 0; background: var(--mint);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease-out); z-index: -1;
}
.news__item:hover::before { transform: scaleY(1); }
.news__item:hover { padding-left: 28px; }
.news__item time { font-family: "Fraunces", serif; font-weight: 600; color: var(--ink-soft); font-size: 0.92rem; }
.news__item h3 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(0.95rem, 2vh, 1.3rem); line-height: 1.6; }
.news__arrow { font-size: 1.5rem; justify-self: end; transition: transform 0.4s var(--ease-out); }
.news__item:hover .news__arrow { transform: translateX(10px) rotate(-45deg); }

/* ============ 联系 ============ */
.contact {
  justify-content: space-between; padding-bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(191, 227, 207, 0.55), transparent),
    radial-gradient(ellipse 55% 45% at 85% 85%, rgba(188, 217, 238, 0.55), transparent),
    var(--cream);
  text-align: center;
}
.contact__inner { max-width: 900px; margin: 0 auto; width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.contact__inner .chapter__num { text-align: left; }
.contact__inner h2 {
  font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(1.9rem, 5vh, 3.8rem); line-height: 1.25; margin-top: 10px;
}
.contact__inner h2 b {
  background: linear-gradient(100deg, var(--mint-deep), var(--sky-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact__inner > p { margin: 16px auto 0; color: var(--ink-soft); max-width: 520px; line-height: 1.85; font-size: clamp(0.88rem, 1.5vh, 1rem); }
.contact__cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: clamp(22px, 4vh, 40px) 0;
}
.contact__card {
  background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 71, 58, 0.1); border-radius: 18px; padding: clamp(16px, 2.6vh, 24px) 16px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.contact__card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(34, 71, 58, 0.12); }
.contact__card span { display: block; font-size: 0.75rem; letter-spacing: 0.2em; color: var(--ink-soft); margin-bottom: 6px; }
.contact__card b { font-size: clamp(0.82rem, 1.4vh, 0.95rem); }

/* ============ 页脚（联系页底部条） ============ */
.footer {
  background: var(--ink); color: var(--cream); text-align: center;
  padding: clamp(18px, 3vh, 32px) 20px;
  margin: 0 calc(-1 * clamp(24px, 6vw, 80px));
  overflow: hidden;
}
.footer__mark {
  font-family: "Fraunces", serif; font-weight: 900;
  font-size: clamp(1.8rem, 5vh, 3.4rem); line-height: 1.05;
  background: linear-gradient(100deg, var(--mint) 20%, var(--sky) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.9;
}
.footer p { margin-top: 8px; color: rgba(251, 247, 239, 0.7); font-size: 0.85rem; letter-spacing: 0.1em; }
.footer__copy { font-size: 0.75rem !important; opacity: 0.55; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .about__pillars { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
  .pillar p { display: none; }        /* 窄屏折叠正文，保证一屏放下 */
  .pillar { padding: 18px 20px; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .fp-dots { display: none; }
  .chapter { padding-top: calc(var(--nav-h) + 8px); }
  .chapter__head--row { align-items: flex-start; gap: 12px; }
  .scene__body p { display: none; }
  .news__item { grid-template-columns: 70px 1fr 30px; gap: 12px; }
  .contact__cards { grid-template-columns: 1fr; gap: 10px; }
  .tech__arrow { width: 42px; height: 42px; }
  .tech__viewport { padding: 14px calc(50% - 41vw); }
  .card { width: 82vw; }
  .hero__scroll { bottom: 76px; }
}
@media (max-height: 700px) {
  .hero__title { font-size: clamp(2rem, 6.5vh, 3.6rem); }
  .pillar p, .card ul { display: none; }
}
