/* =========================================================
   豚鼠盒子 · CAVY BOX
   风格参考：laboiteaslides.fr（高饱和紫 + 荧光色块 + 高窄压缩巨型标题）
   ========================================================= */

/* ---------- 字体 ----------
   标题：Antonio（窄体，OFL）负责英文/数字，中文回退到思源黑体 Black。
   中文不做 CSS 压缩 —— 实测压缩到 .70 笔画就粘连糊掉，不压缩反而清晰有力。
   视觉冲击交给英文窄体，中文负责把话说清楚。 */
@font-face {
  font-family: "Antonio";
  src: url("../fonts/antonio-latin-700-normal.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
                 U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "InterVar";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "NotoSC";
  src: url("../fonts/noto-sans-sc-500.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
  unicode-range: U+2E80-9FFF, U+3000-303F, U+FF00-FFEF, U+F900-FAFF;
}
@font-face {
  font-family: "NotoSC";
  src: url("../fonts/noto-sans-sc-900.woff2") format("woff2");
  font-weight: 700 900; font-style: normal; font-display: swap;
  unicode-range: U+2E80-9FFF, U+3000-303F, U+FF00-FFEF, U+F900-FAFF;
}

/* ---------- 设计令牌 ---------- */
:root {
  /* 参考站原始色板 */
  --drk1: #120042;   /* 深紫：正文、按钮底 */
  --prm1: #6630FF;   /* 主紫：hero 底色、强调 */
  --lgh1: #ffffff;
  --scd1: #01DAF6;   /* 青 */
  --trt1: #29DAFF;
  --scd2: #FF61F8;   /* 粉 */
  --scd3: #62F740;   /* 绿 */
  --trt3: #70F74A;
  --gry1: #CECECE;
  --gry2: #ACA6BD;
  --gry3: #5F5F5F;
  --err1: #D00000;
  --tint: #F0ECFA;   /* 极浅紫：卡片底 */
  --tint2: #E7E1F7;

  /* 语义别名 */
  --ink: var(--drk1);
  --bg: var(--lgh1);
  --accent: var(--prm1);
  --neon-green: var(--trt3);
  --neon-cyan: var(--trt1);
  --neon-pink: var(--scd2);

  /* 字体栈 */
  --font-display: "Antonio", "NotoSC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-body: "InterVar", "NotoSC", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* 圆角（参考站：3.2 / 2.4 / 1.6 rem） */
  --r-xl: 3.2rem;
  --r-lg: 2.4rem;
  --r-md: 1.6rem;
  --r-sm: 1.2rem;
  --r-pill: 999px;

  /* 间距（已按「全面放松」调整：section +20%） */
  --gutter: clamp(2rem, 5.2vw, 6.4rem);
  --section: clamp(8.4rem, 16.8vw, 19.2rem);
  --container: 1440px;

  /* 动效 */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  /* 参考站用 clamp(7px,.60976vw,10.27778px) 做流体 rem */
  font-size: clamp(7px, 0.60976vw, 10.27778px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--drk1); color: #fff; padding: 1.2rem 2rem; border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 巨型标题（参考站灵魂） ----------
   做法：中英混排。英文/数字走 Antonio 窄体（复刻 FKScreamer 的高窄气质），
   中文走思源黑体 Black 不做压缩 —— 实测中文压缩到 .70 笔画就粘连糊掉。
   视觉冲击交给英文窄体，中文负责把话说清楚。
   行距已按「全面放松」从 .92 提到 1.05。 */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-transform: uppercase;
  font-size: clamp(4rem, 8.4vw, 12rem);
}
.display--xl { font-size: clamp(4.6rem, 9.8vw, 14rem); }
.display--lg { font-size: clamp(3.8rem, 7.6vw, 10.8rem); }
.display--md { font-size: clamp(3.2rem, 5.8vw, 8.2rem); }
.display--sm { font-size: clamp(2.6rem, 4.2vw, 5.8rem); }
.display--xs { font-size: clamp(2.2rem, 3vw, 4rem); }

/* 每行一个块。英文行用 .en 标记，走 Antonio 且字距收紧；
   中文行默认行高略大，避免上下行贴太紧。
   中文比英文占宽（等宽方块字），所以中文行字号自动降一档，
   避免在窄容器里折成孤字。 */
.display > .line,
.display > .line-reveal,
.display > span {
  display: block;
}
.display .en {
  font-family: "Antonio", sans-serif;
  font-weight: 700;
  letter-spacing: .005em;
  line-height: .98;
}
/* 中文行：字号降档 + 禁止折行 */
.display > .line:not(.en),
.display > span:not(.en) {
  font-size: .62em;
  line-height: 1.3;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.display--center { text-align: center; }
.display--right { text-align: right; }

/* 交错换色：白 / 深紫 / 紫 */
.display .w { color: #fff; }
.display .d { color: var(--drk1); }
.display .p { color: var(--prm1); }
.display .g { color: var(--neon-green); }
.display .c { color: var(--neon-cyan); }

.on-purple .display .w { color: #fff; }
.on-purple .display .d { color: var(--drk1); }
.on-dark .display .w { color: #fff; }
.on-dark .display .p { color: #8B5CFF; }
.on-green .display .d { color: var(--drk1); }

/* 单行内联压缩标题（卡片、跑马灯、导航等） */
.cond {
  display: inline-block;
  line-height: .8;
}
.cond--center { transform-origin: center bottom; }
.cond--right { transform-origin: right bottom; }

/* ---------- 常规标题 ---------- */
.h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(2.8rem, 4.2vw, 5.6rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(2.2rem, 2.8vw, 3.6rem);
  line-height: 1.14;
  letter-spacing: -.02em;
}
.lead {
  font-size: clamp(1.8rem, 2.1vw, 2.6rem);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.015em;
}
.body { font-size: 1.6rem; line-height: 1.78; }
.small { font-size: 1.4rem; line-height: 1.65; }
.eyebrow {
  font-size: 1.3rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- 按钮（参考站：胶囊 + 圆形箭头组合） ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 1.2rem;
  height: 4.8rem; padding: 0 2.4rem;
  border-radius: var(--r-pill);
  font-size: 1.5rem; font-weight: 500; letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.btn--dark { background: var(--drk1); color: #fff; }
.btn--dark:hover { background: var(--prm1); transform: translateY(-2px); }
.btn--purple { background: var(--prm1); color: #fff; }
.btn--purple:hover { background: var(--drk1); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--drk1); }
.btn--white:hover { background: var(--drk1); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--tint { background: var(--tint); color: var(--drk1); }
.btn--tint:hover { background: var(--tint2); }
.btn--on-green { background: rgba(18,0,66,.08); color: var(--drk1); }
.btn--on-green:hover { background: var(--drk1); color: #fff; }
.btn--on-cyan { background: rgba(18,0,66,.08); color: var(--drk1); }
.btn--on-cyan:hover { background: var(--drk1); color: #fff; }

/* 圆形箭头按钮 */
.arrow {
  display: inline-grid; place-items: center;
  width: 4.8rem; height: 4.8rem; flex: none;
  border-radius: 50%;
  background: var(--tint); color: var(--drk1);
  transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.arrow svg { width: 1.8rem; height: 1.8rem; }
.arrow--ghost { background: rgba(255,255,255,.1); color: #fff; }
.arrow--on-green { background: rgba(18,0,66,.08); }
.arrow--on-cyan { background: rgba(18,0,66,.08); }
.btn-group { display: inline-flex; align-items: center; gap: .6rem; }
a:hover > .arrow, .btn-group:hover .arrow { transform: translateX(4px); }
.arrow:hover { background: var(--drk1); color: #fff; }

/* 描边胶囊标签（卡片角标） */
.tag {
  display: inline-flex; align-items: center; height: 3.4rem; padding: 0 1.6rem;
  border-radius: var(--r-pill);
  font-size: 1.3rem; font-weight: 500; white-space: nowrap;
  box-shadow: inset 0 0 0 1px currentColor;
  color: #fff;
  backdrop-filter: blur(8px);
}
.tag--solid { box-shadow: none; background: #fff; color: var(--drk1); }
.tag--tint { box-shadow: none; background: var(--tint); color: var(--drk1); }
.tag--dark { box-shadow: none; background: var(--drk1); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 2rem var(--gutter);
  max-width: 100%;
  transition: background-color .35s, padding .35s, box-shadow .35s;
}
.site-header.is-solid { background: rgba(255,255,255,.86); backdrop-filter: blur(18px); padding-block: 1.4rem; box-shadow: 0 1px 0 rgba(18,0,66,.06); }
.site-header.on-purple .logo { color: #fff; }
.site-header.on-dark .logo { color: #fff; }

.logo {
  display: inline-flex; flex-direction: column;
  font-family: var(--font-display); font-weight: 900;
  font-size: 2.6rem; line-height: 1.06; letter-spacing: -.01em;
  text-transform: uppercase; color: var(--drk1);
  transition: color .3s;
}
.logo small { font-size: 1.1rem; letter-spacing: .22em; font-family: var(--font-body); font-weight: 600; margin-top: .9rem; opacity: .7; transform: none; }

.header-actions { display: flex; align-items: center; gap: 1.2rem; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: .9rem;
  height: 4.8rem; padding: 0 2rem; border-radius: var(--r-pill);
  font-size: 1.5rem; font-weight: 500;
  background: var(--drk1); color: #fff;
}
.menu-toggle:hover { background: var(--prm1); }
.menu-toggle .bars { display: grid; gap: .45rem; width: 1.8rem; }
.menu-toggle .bars i { display: block; height: .2rem; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* 全屏菜单 */
.menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--drk1); color: #fff;
  display: grid; grid-template-columns: 1.15fr 1fr;
  padding: 2rem var(--gutter) 4rem;
  max-width: 100%;
  transform: translateY(-100%);
  transition: transform .7s var(--ease);
  overflow-y: auto;
}
.menu.is-open { transform: translateY(0); }
.menu__top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.menu__nav { display: flex; flex-direction: column; justify-content: center; gap: .4rem; }
.menu__nav a {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(4rem, 6.6vw, 8.8rem); line-height: 1.14;
  color: #fff; transition: color .25s, transform .35s var(--ease);
  display: block; width: fit-content;
}
.menu__nav a:hover { color: var(--neon-green); }
.menu__nav a.is-current { color: var(--prm1); }
.menu__side { display: flex; flex-direction: column; justify-content: center; gap: 4rem; padding-left: 6rem; border-left: 1px solid rgba(255,255,255,.14); }
.menu__side h4 { font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase; opacity: .55; margin-bottom: 1.6rem; font-weight: 600; }
.menu__side ul { display: grid; gap: .9rem; }
.menu__side a { font-size: 1.8rem; opacity: .82; transition: opacity .25s, color .25s; }
.menu__side a:hover { opacity: 1; color: var(--neon-green); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--prm1);
  color: #fff;
  padding: 17rem var(--gutter) 8rem;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero__title { max-width: 96rem; }
.hero__title .line { display: block; }
.hero__title .line--right { text-align: right; }
.hero__sub {
  max-width: 62rem; margin: 8rem auto 0; text-align: center;
  font-size: clamp(2rem, 2.6vw, 3.4rem); font-weight: 600; line-height: 1.12; letter-spacing: -.035em;
  color: #fff;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 3.2rem; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 1rem;
  font-size: 1.3rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7;
}
.hero__deco {
  position: absolute; pointer-events: none; opacity: .9;
  animation: spin 14s linear infinite;
}
.hero__deco--1 { top: 14%; right: 8%; width: 7rem; }
.hero__deco--2 { bottom: 18%; left: 6%; width: 4.4rem; animation-duration: 20s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 通用 section ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(4rem, 8vw, 9rem); }
.section--purple { background: var(--prm1); color: #fff; }
.section--dark { background: var(--drk1); color: #fff; }
.section--green { background: var(--neon-green); color: var(--drk1); }
.section--cyan { background: var(--neon-cyan); color: var(--drk1); }
.section--tint { background: var(--tint); }

.section-head { display: grid; gap: 3rem; margin-bottom: clamp(5rem, 8.4vw, 9.6rem); }
.section-head--center { text-align: center; justify-items: center; }
.section-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 4rem; }

/* ---------- 绿/青色块：左标题 + 右小字 ---------- */
.blocks {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(4rem, 7.2vw, 9.6rem);
  align-items: start;
}
.blocks__sticky { position: sticky; top: 12rem; }

/* ---------- 卡片网格（参考站：大圆角图 + 左下压缩体标题 + 描边胶囊） ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem; }

.card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--drk1);
  color: #fff;
  min-height: 34rem;
  display: flex; align-items: flex-end;
  transition: transform .6s var(--ease);
}
.card:hover { transform: translateY(-6px); }
.card__media { position: absolute; inset: 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.12) 55%, transparent 78%);
}
.card__body { position: relative; z-index: 2; padding: 3.8rem; display: grid; gap: 1.2rem; align-content: end; justify-items: start; width: 100%; }
.card__title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 4.6vw, 5.8rem); line-height: 1.08;
}
.card__meta { width: 100%; font-size: 1.4rem; opacity: .85; margin-bottom: .6rem; }
.card--sm { min-height: 24rem; }
.card--sm .card__title { font-size: clamp(2.2rem, 3vw, 3.6rem); }

/* 纯色卡（无图） */
.card--flat { background: var(--tint); color: var(--drk1); }
.card--flat .card__media::after { display: none; }
.card--purple { background: var(--prm1); color: #fff; }
.card--dark { background: var(--drk1); color: #fff; }
.card--green { background: var(--neon-green); color: var(--drk1); }
.card--cyan { background: var(--neon-cyan); color: var(--drk1); }
.card--white { background: #fff; color: var(--drk1); box-shadow: inset 0 0 0 1px rgba(18,0,66,.07); }

/* 文字卡 */
.textcard {
  border-radius: var(--r-lg);
  background: var(--tint);
  padding: 4.4rem 3.8rem;
  display: grid; gap: 2.2rem; align-content: start;
  min-height: 26rem;
}
.textcard--white { background: #fff; box-shadow: inset 0 0 0 1px rgba(18,0,66,.07); }
.textcard--purple { background: var(--prm1); color: #fff; }
.textcard--dark { background: var(--drk1); color: #fff; }
.textcard--green { background: var(--neon-green); }
.textcard--cyan { background: var(--neon-cyan); }
.textcard__num {
  font-family: "Antonio", sans-serif; font-weight: 700; font-size: 8rem; line-height: 1;
  color: var(--prm1);
}
.textcard--purple .textcard__num, .textcard--dark .textcard__num { color: var(--neon-green); }

/* ---------- 跑马灯（参考站：紫色巨型压缩字 + 实心圆点分隔） ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  padding-block: clamp(3rem, 6vw, 6rem);
}
.marquee__track { display: inline-flex; align-items: center; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: "Antonio", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(5.6rem, 12.4vw, 17rem); line-height: 1;
  color: var(--prm1);
  padding-inline: 2.4rem;
}
.marquee__dot {
  width: clamp(3rem, 6vw, 8rem); aspect-ratio: 1; border-radius: 50%;
  background: var(--prm1); flex: none;
}
.marquee--dark .marquee__item, .marquee--dark .marquee__dot { color: #fff; background-color: transparent; }
.marquee--dark .marquee__dot { background: var(--neon-green); }
.marquee--white .marquee__item { color: #fff; }
.marquee--white .marquee__dot { background: #fff; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem; }
.stat { display: grid; gap: .8rem; padding-top: 2rem; border-top: 1px solid rgba(18,0,66,.16); }
.stat__num { font-family: "Antonio", sans-serif; font-weight: 700; font-size: clamp(4.6rem, 7.4vw, 9.8rem); line-height: 1; color: var(--drk1); }
.stat__label { font-size: 1.5rem; opacity: .8; }
.section--purple .stat, .section--dark .stat { border-top-color: rgba(255,255,255,.22); }
.section--purple .stat__num, .section--dark .stat__num { color: #fff; }

/* 徽章组（参考站：ISO / MOS / Google 三个圆角方块） */
.badges { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.badge {
  width: 10.4rem; height: 10.4rem; border-radius: var(--r-md);
  background: rgba(18,0,66,.06);
  display: grid; place-items: center; text-align: center; padding: 1.2rem;
  font-size: 1.2rem; font-weight: 600; line-height: 1.25;
}
.section--purple .badge, .section--dark .badge { background: rgba(255,255,255,.12); color: #fff; }
.badge__ico { font-family: "Antonio", sans-serif; font-weight: 700; font-size: 3.6rem; line-height: 1; display: inline-block; }

/* ---------- 清单（参考站：勾选小图标列表） ---------- */
.checklist { display: grid; gap: 1.4rem; }
.checklist li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1.4rem; align-items: start; font-size: 1.6rem; line-height: 1.7; }
.checklist .dot {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--tint2);
  display: grid; place-items: center; margin-top: .2rem;
}
.checklist .dot svg { width: 1.2rem; height: 1.2rem; color: var(--prm1); }
.section--purple .checklist .dot, .section--dark .checklist .dot { background: rgba(255,255,255,.14); }
.section--purple .checklist .dot svg, .section--dark .checklist .dot svg { color: var(--neon-green); }

/* ---------- 专家/标签竖排大标题（参考站 NOS EXPERTISES） ---------- */
.stacklist { display: grid; gap: 0; justify-items: center; text-align: center; }
.stacklist a {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(4rem, 8.4vw, 11rem); line-height: 1.12;
  color: var(--drk1); transition: color .25s;
}
.stacklist a:hover { color: var(--prm1); }
.stacklist--dark a { color: #fff; }
.stacklist--dark a:hover { color: var(--neon-green); }

/* ---------- 资源卡（参考站：类型胶囊 + 日期 + 压缩标题） ---------- */
.rescard {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--tint); color: var(--drk1);
  display: grid; grid-template-rows: auto 1fr;
  min-height: 40rem;
  transition: transform .6s var(--ease);
}
.rescard:hover { transform: translateY(-6px); }
.rescard--dark { background: var(--drk1); color: #fff; }
.rescard--purple { background: var(--prm1); color: #fff; }
.rescard__top { padding: 3.8rem 3.6rem 2.8rem; display: grid; gap: 1.6rem; justify-items: center; text-align: center; }
.rescard__date { font-size: 1.3rem; opacity: .7; }
.rescard__title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.4rem, 3vw, 3.8rem); line-height: 1.16;
}
.rescard__title > span {
  display: block;
  white-space: nowrap;
}
.rescard__media { position: relative; min-height: 18rem; overflow: hidden; }
.rescard__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 评价卡（参考站：浅紫圆角卡 + 头像 + 姓名 + 职位 + 引用） ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.review {
  border-radius: var(--r-lg); background: var(--tint);
  padding: 3.8rem; display: grid; gap: 2.4rem; align-content: start;
  min-height: 26rem;
}
.review__head { display: flex; align-items: center; gap: 1.4rem; }
.review__avatar {
  width: 5.2rem; height: 5.2rem; border-radius: 1.4rem; flex: none;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-size: 2rem;
}
.review__name { font-weight: 600; font-size: 1.6rem; }
.review__role { font-size: 1.3rem; opacity: .7; }
.review__text { font-size: 1.5rem; line-height: 1.55; }
.review__stars { display: flex; gap: .3rem; color: var(--prm1); }
.review__stars svg { width: 1.6rem; height: 1.6rem; }

/* ---------- FAQ 手风琴（参考站：细线 + 加号） ---------- */
.faq { max-width: 96rem; margin-inline: auto; border-top: 1px solid rgba(18,0,66,.14); }
.faq__item { border-bottom: 1px solid rgba(18,0,66,.14); }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 3rem;
  padding: 3.4rem 0; text-align: left;
  font-size: clamp(1.8rem, 2.1vw, 2.4rem); font-weight: 500; letter-spacing: -.015em;
  transition: color .25s;
}
.faq__btn:hover { color: var(--prm1); }
.faq__icon { position: relative; width: 2rem; height: 2rem; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; border-radius: 2px;
  transform: translate(-50%, -50%); transition: transform .35s var(--ease);
}
.faq__icon::before { width: 100%; height: .16rem; }
.faq__icon::after { width: .16rem; height: 100%; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__panel p { padding: 0 0 3.4rem; max-width: 76rem; font-size: 1.6rem; line-height: 1.6; opacity: .86; }
.section--dark .faq, .section--dark .faq__item { border-color: rgba(255,255,255,.16); }

/* ---------- 表格（饮食/尺寸对照） ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px rgba(18,0,66,.08); }
table { width: 100%; border-collapse: collapse; min-width: 60rem; }
th, td { text-align: left; padding: 2.4rem 2.8rem; font-size: 1.5rem; }
thead th { background: var(--drk1); color: #fff; font-weight: 600; font-size: 1.4rem; letter-spacing: .04em; text-transform: uppercase; }
tbody tr + tr { border-top: 1px solid rgba(18,0,66,.08); }
tbody tr:nth-child(even) { background: var(--tint); }
td strong { font-weight: 600; }
/* 表格里的难度星级 */
.stars { font-weight: 700; letter-spacing: .1em; color: var(--prm1); white-space: nowrap; }
.stars .off { color: var(--gry2); opacity: .55; }

/* ---------- 提示条 / 警告 ---------- */
.callout {
  border-radius: var(--r-md); padding: 3rem 3.4rem;
  background: var(--tint); display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: start;
}
.callout--warn { background: #FFF1F1; box-shadow: inset 0 0 0 1px rgba(208,0,0,.18); }
.callout--warn .callout__ico { color: var(--err1); }
.callout--tip { background: #EDFFE8; box-shadow: inset 0 0 0 1px rgba(98,247,64,.35); }
.callout__ico { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--prm1); }
.callout h4 { font-size: 1.7rem; font-weight: 600; margin-bottom: .6rem; }
.callout p { font-size: 1.5rem; line-height: 1.55; }

/* ---------- 时间线 ---------- */
.timeline { display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 14rem 1fr; gap: 3.6rem; padding: 3.8rem 0; border-top: 1px solid rgba(18,0,66,.14); }
.tl:last-child { border-bottom: 1px solid rgba(18,0,66,.14); }
.tl__time { font-family: var(--font-display); font-weight: 900; font-size: 3.4rem; line-height: 1.1; color: var(--prm1); }
.tl__body h4 { font-size: 2rem; font-weight: 600; margin-bottom: .8rem; }
.tl__body p { font-size: 1.6rem; line-height: 1.6; opacity: .88; }
/* 深色/紫色底上的时间线 */
.section--purple .tl, .section--dark .tl { border-top-color: rgba(255,255,255,.2); }
.section--purple .tl:last-child, .section--dark .tl:last-child { border-bottom-color: rgba(255,255,255,.2); }
.section--purple .tl__time, .section--dark .tl__time { color: var(--neon-green); }
.section--purple .tl__body p, .section--dark .tl__body p { opacity: .92; }

/* ---------- Footer ---------- */
.site-footer { background: var(--drk1); color: #fff; padding: clamp(8rem, 16vw, 18rem) var(--gutter) 4rem; }
.footer-cta { display: grid; gap: 3.2rem; justify-items: center; text-align: center; margin-bottom: clamp(8rem, 14vw, 16rem); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 4rem;
  padding-top: 4rem; border-top: 1px solid rgba(255,255,255,.14);
}
.footer-col h4 { font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase; opacity: .55; margin-bottom: 1.8rem; font-weight: 600; }
.footer-col ul { display: grid; gap: 1.1rem; }
.footer-col a { font-size: 1.5rem; opacity: .78; transition: opacity .25s, color .25s; }
.footer-col a:hover { opacity: 1; color: var(--neon-green); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  margin-top: 6rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 1.3rem; opacity: .6;
}
.footer-bottom a { margin-left: 2rem; }
.footer-bottom a:hover { color: var(--neon-green); opacity: 1; }
.footer-brand { display: grid; gap: 2rem; align-content: start; }
.footer-brand .logo { color: #fff; font-size: 3rem; }

/* ---------- 滚动揭示动画 ---------- */
[data-reveal] { opacity: 0; transform: translateY(3.2rem); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-3.2rem); }
[data-reveal="right"] { transform: translateX(3.2rem); }
[data-reveal="scale"] { transform: scale(.94); }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }

/* 标题逐行上滑 */
.line-reveal { display: block; overflow: hidden; }
.line-reveal > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.is-in .line-reveal > span, .line-reveal.is-in > span { transform: none; }

/* ---------- 页面头部（内页） ---------- */
.pagehead { background: var(--prm1); color: #fff; padding: 19rem var(--gutter) 9.6rem; }
.pagehead--dark { background: var(--drk1); }
.pagehead--green { background: var(--neon-green); color: var(--drk1); }
.pagehead__inner { display: grid; gap: 4rem; max-width: var(--container); margin-inline: auto; }
.pagehead__crumb { font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.pagehead__lead { max-width: 62rem; font-size: clamp(1.8rem, 2.2vw, 2.8rem); font-weight: 500; line-height: 1.35; letter-spacing: -.02em; }

/* ---------- 品种详情 ---------- */
.breed-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 5rem; align-items: center; }
.breed-hero__media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16/10; }
.breed-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.breed-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.fact { border-radius: var(--r-md); background: var(--tint); padding: 2.8rem; display: grid; gap: .6rem; }
.fact__k { font-size: 1.3rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.fact__v { font-family: var(--font-display); font-weight: 900; font-size: 3.2rem; line-height: 1.14; }
/* 难度星级：不做压缩，用独立样式避免字符错位 */
.fact__v--stars { font-family: var(--font-body); font-weight: 700; font-size: 2rem; letter-spacing: .12em; transform: none; color: var(--prm1); line-height: 1.2; }
.fact__v--stars .off { color: var(--gry2); opacity: .55; }

/* 品种快速切换条 */
.chips { display: flex; flex-wrap: wrap; gap: 1rem; }
.chip {
  height: 4rem; padding: 0 1.8rem; border-radius: var(--r-pill);
  background: var(--tint); color: var(--drk1);
  font-size: 1.4rem; font-weight: 500; display: inline-flex; align-items: center;
  transition: background-color .25s, color .25s;
}
.chip:hover { background: var(--drk1); color: #fff; }
.chip.is-active { background: var(--prm1); color: #fff; }

/* ---------- 表单 ---------- */
.form { display: grid; gap: 2rem; }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.field { display: grid; gap: .8rem; }
.field label { font-size: 1.4rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1.6rem; color: var(--drk1);
  padding: 1.6rem 1.8rem; border-radius: var(--r-sm);
  background: #fff; border: 1px solid rgba(18,0,66,.16);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 14rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--prm1); box-shadow: 0 0 0 3px rgba(102,48,255,.16);
}
.field--error input, .field--error select, .field--error textarea { border-color: var(--err1); }
.field__err { font-size: 1.3rem; color: var(--err1); display: none; }
.field--error .field__err { display: block; }
.form__ok {
  display: none; border-radius: var(--r-md); padding: 2.4rem;
  background: #EDFFE8; box-shadow: inset 0 0 0 1px rgba(98,247,64,.4); font-size: 1.6rem;
}
.form__ok.is-shown { display: block; }

/* ---------- 工具类 ---------- */
.flow > * + * { margin-top: 2.4rem; }
.flow-lg > * + * { margin-top: 3.8rem; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.mt-auto { margin-top: auto; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.w-full { width: 100%; }
.maxw-sm { max-width: 48rem; }
.maxw-md { max-width: 64rem; }
.maxw-lg { max-width: 84rem; }
.opacity-80 { opacity: .8; }
.opacity-70 { opacity: .7; }
.divider { height: 1px; background: rgba(18,0,66,.12); border: 0; margin-block: 4rem; }
.section--dark .divider, .section--purple .divider { background: rgba(255,255,255,.16); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  html { font-size: clamp(7px, 1.1vw, 10.27778px); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .menu { grid-template-columns: 1fr; }
  .menu__side { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 3rem; }
}
@media (max-width: 720px) {
  html { font-size: 10px; }
  :root { --gutter: 2.2rem; --section: 7rem; }
  .grid-2, .grid-3, .grid-4, .reviews, .stats, .blocks, .breed-hero, .section-head--split, .form__row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 3.2rem; }
  .card { min-height: 26rem; }
  .tl { grid-template-columns: 1fr; gap: 1.2rem; }
  .blocks__sticky { position: static; }
  .hero { padding-top: 13rem; }
  .hero__title .line--right { text-align: left; }
  .header-actions .btn--desktop { display: none; }
  .badge { width: 8.8rem; height: 8.8rem; }
  .breed-facts { grid-template-columns: 1fr; }
  /* 移动端标题放大：rem 基准变成固定 10px，需要重新给 vw 上下限 */
  .display { font-size: 5.6rem; }
  .display--xl { font-size: 6.4rem; }
  .display--lg { font-size: 5.6rem; }
  .display--md { font-size: 4.8rem; }
  .display--sm { font-size: 4rem; }
  .display--xs { font-size: 3.2rem; }
  .stacklist a { font-size: 5.4rem; }
  .menu__nav a { font-size: 4.8rem; }
  .marquee__item { font-size: 7rem; }
  .card__title { font-size: 4.4rem; }
  .rescard__title { font-size: 3.4rem; }
  .stat__num { font-size: 6.4rem; }
  .textcard__num { font-size: 6.4rem; }
  .fact__v { font-size: 3.4rem; }
  .breed-hero__media { aspect-ratio: 16/10; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .line-reveal > span { transform: none !important; }
  .marquee__track { animation: none; }
}
