/* ============================================================
   CIEL · 首页样式 v4
   白底 + 紫色强调 / 深色网格肖像 Hero（完整画面 contain）
   户外庇护产品组 + 点击展开产品详情
   ============================================================ */

/* ============ 背景点线装饰（全站） ============ */
.dotted-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(109, 47, 184, 0.16) 1px, transparent 1px),
    linear-gradient(to right, rgba(109, 47, 184, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(109, 47, 184, 0.045) 1px, transparent 1px);
  background-size: 44px 44px, 88px 88px, 88px 88px;
  animation: bgDrift 24s linear infinite;
}
@keyframes bgDrift {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 44px 44px, 0 0, 0 0; }
}

/* ============ Hero：白色舞台 + 完整肖像 + 紫色网格装饰 ============ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: var(--bg);
  z-index: 1;
}

.hero-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;      /* 关键：完整显示整张照片，任何设备不裁剪 */
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

/* 左上角名字：英文（小）在上，中文（大）在下 */
.hero-name {
  position: absolute;
  top: calc(var(--nav-h) + clamp(14px, 3vh, 32px));
  left: clamp(20px, 4vw, 56px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.hero-name-en {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

/* ---- 全页背景：网格 + 点阵花纹（低透明度固定层） ---- */
body.page-home::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(109, 47, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 47, 184, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(109, 47, 184, 0.10) 1px, transparent 1.6px);
  background-size: 72px 72px, 72px 72px, 18px 18px;
  background-position: 0 0, 0 0, 9px 9px;
}

/* 「想法」：非衬线加粗（保持紫色） */
.display .accent-sans {
  font-family: var(--font-body);
  font-weight: 800;
  font-style: normal;
}

/* 右上角：个人作品集（与 Ciel 同字体 · 不倾斜 · 灰色） */
.hero-corner {
  position: absolute;
  top: calc(var(--nav-h) + clamp(14px, 3vh, 32px) + 4px);
  right: clamp(20px, 4vw, 56px);
  z-index: 5;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(13px, 1.4vw, 17px);
  line-height: 1;
  color: var(--text-dim);
  letter-spacing: 0.28em;
  pointer-events: none;
}

/* 肖像周围：数字坐标 + 点线动态标注 */
.hero-marks {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  font-family: var(--font-mono);
}
.hm-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(155, 93, 229, 0.14);
  animation: starBreath 3.2s ease-in-out infinite;
}
.hm-line {
  position: absolute;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-bright), rgba(155, 93, 229, 0));
  transform-origin: left center;
  animation: hmDraw 1.1s var(--ease-out) forwards, hmFlow 4.5s ease-in-out 1.2s infinite;
  opacity: 0.75;
}
@keyframes hmDraw { from { width: 0; } to { width: var(--len, 48px); } }
@keyframes hmFlow { 0%, 100% { opacity: 0.75; } 50% { opacity: 0.3; } }
.hm-num {
  position: absolute;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(109, 47, 184, 0.28);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  animation: constFloat 6s ease-in-out infinite;
}
@media (max-width: 900px) {
  .hero-marks { display: none; }
}

/* ---- Hero 两侧装饰：呼应肖像网格坐标特效 ---- */
.hero-deco {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(80px, 10vw, 160px);
  z-index: 4;
  pointer-events: none;
  font-family: var(--font-mono);
}
.hero-deco-l { left: 0; }
.hero-deco-r { right: 0; }

/* 左：竖向刻度尺（CSS 渐变生成刻度） */
.hd-ruler {
  position: absolute;
  left: clamp(14px, 2vw, 30px);
  top: 16%;
  bottom: 16%;
  width: 14px;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--accent-bright) 0 1px,
    transparent 1px 14px
  );
  background-size: 8px 100%;
  background-repeat: no-repeat;
  opacity: 0.55;
}
/* 刻度尺上的扫描游标 */
.hd-ruler::after {
  content: "";
  position: absolute;
  left: -4px;
  width: 16px;
  height: 2px;
  background: var(--accent);
  animation: rulerScan 5s var(--ease-inout) infinite;
}
@keyframes rulerScan {
  0%, 100% { top: 0; opacity: 0; }
  12% { opacity: 1; }
  50% { top: calc(100% - 2px); }
  88% { opacity: 1; }
}

.hd-dial {
  position: absolute;
  left: clamp(18px, 2.4vw, 34px);
  bottom: 22%;
  width: clamp(44px, 4.6vw, 72px);
  height: clamp(44px, 4.6vw, 72px);
  border: 1px dashed var(--accent-bright);
  border-radius: 50%;
  opacity: 0.6;
  animation: dialSpin 18s linear infinite;
}
.hd-dial::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--accent);
}
.hd-dial-s {
  width: clamp(30px, 3.2vw, 48px);
  height: clamp(30px, 3.2vw, 48px);
  border-color: var(--accent);
  opacity: 0.5;
  animation-duration: 12s;
  animation-direction: reverse;
}
@keyframes dialSpin {
  to { transform: rotate(360deg); }
}

.hd-coord {
  position: absolute;
  left: clamp(10px, 1.6vw, 22px);
  top: 8%;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.hd-tick {
  position: absolute;
  width: 26px;
  height: 1px;
  background: var(--accent-bright);
  opacity: 0.6;
}
.hd-tick-1 { top: 30%; right: 12%; animation: tickPulse 3.2s ease-in-out infinite; }
.hd-tick-2 { top: 64%; right: 32%; animation: tickPulse 3.2s ease-in-out 1.4s infinite; }
@keyframes tickPulse {
  0%, 100% { transform: scaleX(0.4); opacity: 0.25; }
  50% { transform: scaleX(1); opacity: 0.8; }
}

/* 右：十字标记 + 括角 + HUD 坐标 */
.hd-plus {
  position: absolute;
  font-size: 15px;
  color: var(--accent-bright);
  opacity: 0.65;
  animation: plusFloat 6s ease-in-out infinite;
}
@keyframes plusFloat {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-10px); opacity: 0.9; }
}

.hd-bracket {
  position: absolute;
  top: 20%;
  right: clamp(16px, 2.2vw, 32px);
  width: clamp(60px, 6.5vw, 100px);
  height: clamp(80px, 9vw, 140px);
  border: 1px solid var(--accent-bright);
  opacity: 0.45;
  clip-path: polygon(0 0, 30% 0, 30% 2px, 2px 2px, 2px 30%, 0 30%);
  /* 只显示左上角括角 */
}
.hd-bracket::before {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 30%;
  height: 30%;
  border-right: 1px solid var(--accent-bright);
  border-bottom: 1px solid var(--accent-bright);
}

.hd-hud {
  position: absolute;
  right: clamp(12px, 1.8vw, 26px);
  bottom: 10%;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.6);
  padding: 3px 6px;
  border: 1px solid var(--border);
}

/* ---- 星座图装饰：节点呼吸 + 虚线流动 + 整体漂浮 ---- */
.hd-const {
  position: absolute;
  width: clamp(110px, 12vw, 190px);
  height: auto;
  overflow: visible;
  animation: constFloat 11s ease-in-out infinite;
}
.hero-deco-l .hd-const { left: clamp(6px, 1vw, 18px); bottom: 8%; }
.hero-deco-r .hd-const { right: clamp(6px, 1vw, 18px); top: 32%; animation-delay: -5s; }
@keyframes constFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hd-const .cl {
  stroke: rgba(109, 47, 184, 0.30);
  stroke-width: 1;
}
.hd-const .cl-dash {
  stroke: rgba(109, 47, 184, 0.20);
  stroke-width: 1;
  stroke-dasharray: 3 7;
  animation: dashFlow 9s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -200; }
}
.hd-const circle {
  fill: #fff;
  stroke: var(--accent-bright);
  stroke-width: 1.2;
  filter: drop-shadow(0 0 4px rgba(155, 93, 229, 0.55));
  animation: starBreath 4.2s ease-in-out infinite;
}
@keyframes starBreath {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* 移动端：隐藏两侧装饰，保持画面干净 */
@media (max-width: 760px) {
  .hero-deco { display: none; }
}
.hero-name-cn {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1;
  color: var(--text);
  letter-spacing: 0.06em;
}

/* 右下角定位 */
.hero-role {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(24px, 5vh, 52px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  pointer-events: none;
}

/* 向下滚动指示 */
.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll .scroll-line {
  width: 1px; height: 40px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.hero-scroll .scroll-line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--accent-bright);
  animation: scrollDrop 2s var(--ease-inout) infinite;
}
@keyframes scrollDrop {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}
.hero-scroll .scroll-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============ 连接动效：生长线 ============ */
.connector {
  position: relative;
  height: clamp(90px, 14vh, 150px);
  display: flex;
  justify-content: center;
  z-index: 1;
}
.connector-line {
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--accent-bright));
  transform-origin: top center;
  transform: scaleY(0);
}
.connector-dot {
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-bright);
  transform: translateX(-50%) scale(0);
  transition: transform 0.4s var(--ease-out) 0.9s;
}
.connector.is-on .connector-dot { transform: translateX(-50%) scale(1); }

/* ============ 个人简介 ============ */
.profile {
  background: var(--bg);
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) 1.18fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.profile-name {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.05;
  color: var(--text);
}
.profile-name .pn-en {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 30px);
  color: var(--accent);
}
.profile-role {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.profile-facts {
  list-style: none;
  margin-top: clamp(24px, 3vw, 38px);
  display: grid;
  gap: 12px;
}
.profile-facts li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.profile-facts b {
  min-width: 96px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1;
  color: var(--accent);
}
.profile-facts span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.profile-tools { margin-top: clamp(26px, 3vw, 40px); }
.pt-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.pt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.pt-chips span {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.pt-chips span:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(109, 47, 184, 0.06);
}

.profile-main {
  counter-reset: pp;
  display: grid;
  gap: clamp(14px, 1.6vw, 22px);
}
.profile-p {
  position: relative;
  padding-left: clamp(38px, 4vw, 58px);
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.95;
  color: #2C2833;
  counter-increment: pp;
}
.profile-p::before {
  content: counter(pp, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.45em;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.profile-p:first-child {
  font-size: clamp(15px, 1.5vw, 20px);
  color: var(--text);
}
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
}

/* ============ 宣言区（衬线关键词，不倾斜） ============ */
.manifesto { background: transparent; z-index: 1; }
.mani-line {
  font-family: var(--font-display);
  font-size: clamp(34px, 7.4vw, 104px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
}
.mani-line .serif {
  font-family: var(--font-serif);
  font-style: normal;      /* 用户要求：衬线但不倾斜 */
  font-weight: 700;
  color: var(--accent);
}
.mani-sub {
  margin-top: clamp(24px, 4vw, 44px);
  font-size: clamp(14px, 1.7vw, 19px);
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.8;
}

/* ============ 跑马灯区（灰底大字 + 签名） ============ */
.message-section {
  position: relative;
  padding: clamp(44px, 6vw, 84px) 0;
  overflow: hidden;
  background: var(--surface);
  z-index: 1;
}
.message-marquee { position: relative; z-index: 1; }
.message-marquee .row-top {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(48px, 12vw, 160px);
  color: var(--text);
  --marquee-speed: 36s;
  text-transform: uppercase;
  line-height: 1;
}
.message-marquee .row-top .dash { color: var(--accent-bright); }
.message-marquee .row-bottom {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 7.6vw, 116px);
  --marquee-speed: 28s;
  text-transform: uppercase;
  line-height: 1;
  margin-top: clamp(10px, 1.6vw, 20px);
}
.message-marquee .row-bottom span { color: var(--accent); }
.message-marquee .row-bottom span.dot { color: var(--text-dim); }

/* 签名：居中叠在跑马灯上 */
.message-sign {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  width: clamp(260px, 34vw, 480px);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 10px 28px rgba(109, 47, 184, 0.35));
}

/* ============ 部分作品：双行自动播放画廊（棋盘交错） ============ */
.gallery-flow {
  position: relative;
  background: var(--bg);
  z-index: 1;
  padding: clamp(64px, 10vw, 120px) 0;
  overflow: hidden;
}
.gf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

/* ---- 画廊背景：星座连线装饰（复用 Hero 的呼吸/流动动画） ---- */
.gf-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.gf-const {
  position: absolute;
  width: clamp(120px, 14vw, 220px);
  height: auto;
  overflow: visible;
  opacity: 0.55;
  animation: constFloat 13s ease-in-out infinite;
}
.gfc-1 { left: 2%;  top: 4%; }
.gfc-2 { right: 3%; top: 8%;  animation-delay: -4s; }
.gfc-3 { left: 16%; bottom: 6%; animation-delay: -8s; width: clamp(100px, 11vw, 170px); }
.gfc-4 { right: 18%; bottom: 12%; animation-delay: -6s; width: clamp(100px, 11vw, 170px); }
.gf-const .cl {
  stroke: rgba(109, 47, 184, 0.22);
  stroke-width: 1;
}
.gf-const .cl-dash {
  stroke: rgba(109, 47, 184, 0.16);
  stroke-width: 1;
  stroke-dasharray: 3 7;
  animation: dashFlow 9s linear infinite;
}
.gf-const circle {
  fill: #fff;
  stroke: var(--accent-bright);
  stroke-width: 1.2;
  filter: drop-shadow(0 0 4px rgba(155, 93, 229, 0.45));
  animation: starBreath 4.2s ease-in-out infinite;
}
.gfc-plus {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 15px;
  color: rgba(109, 47, 184, 0.3);
  animation: plusFloat 7s ease-in-out infinite;
}
.gf-head, .gf-stage { position: relative; z-index: 1; }
@media (max-width: 640px) {
  .gf-const { opacity: 0.35; }
  .gfc-3, .gfc-4 { display: none; }
}
.gf-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.gf-stage {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.6vw, 36px);
}
.gf-row {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: gfScroll var(--gf-speed, 46s) linear infinite;
}
.gf-row-b { animation-direction: reverse; }
/* 应要求：鼠标悬停不暂停，画廊持续自动播放 */

@keyframes gfScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* 图片卡片：黑白交错（棋盘格） */
.gf-item {
  flex: none;
  margin: 0;
  padding: 10px;
  transition: transform 0.4s var(--ease-out);
}
.gf-item img {
  display: block;
  width: clamp(200px, 24vw, 340px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  user-select: none;
}
.gf-item figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
/* 黑卡：近黑底 + 白字（棋盘格的"黑格"） */
.gf-item.is-dark {
  background: #101014;
  border: 1px solid #101014;
}
.gf-item.is-dark figcaption { color: rgba(255, 255, 255, 0.72); }
/* 白卡：白底 + 描边 + 黑字（棋盘格的"白格"） */
.gf-item.is-light {
  background: #fff;
  border: 1px solid var(--border);
}
.gf-item.is-light figcaption { color: var(--text-dim); }
.gf-item:hover { transform: translateY(-8px); }
/* 图片加载失败兜底：不显示破图图标，用紫色占位块代替 */
.gf-item.is-broken img {
  visibility: hidden;
  background: linear-gradient(135deg, rgba(109, 47, 184, 0.12), rgba(155, 93, 229, 0.3));
}

/* 图片之间的英文装饰词（无衬线粗体） */
.gf-word {
  flex: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 54px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent-bright);
}
/* 第二行的词用实心紫，与第一行形成黑白交错之外的节奏 */
.gf-row-b .gf-word {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

/* reduce-motion：停住动画，内容静态可见 */
@media (prefers-reduced-motion: reduce) {
  .gf-row { animation: none; }
}

/* 移动端：同样自动播放，卡片更小、速度更快 */
@media (max-width: 640px) {
  .gf-item img { width: 46vw; }
  .gf-word { font-size: clamp(24px, 7vw, 40px); }
  .gf-row { --gf-speed: 32s; }
}

/* ============ 作品区 ============ */
.works-section { background: transparent; z-index: 1; }
.works-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.works-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 140px);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text);
}
.works-title .my {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}
.works-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

/* ---- 主打：户外庇护 ---- */
.feature {
  border-top: 1px solid var(--border);
  padding-top: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.feature-head {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2vw, 28px);
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.feature-no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--accent-bright);
}
.feature-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1;
  color: var(--text);
}
.feature-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* 三个产品 */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }

.product {
  position: relative;
  margin: 0;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.product:hover {
  border-color: var(--accent-bright);
  transform: translateY(-5px);
  box-shadow: 0 22px 48px -24px rgba(109, 47, 184, 0.35);
}
.product.is-toggle { cursor: pointer; }
.product.is-toggle.is-open { border-color: var(--accent); }

.product-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.product:hover .product-media img { transform: scale(1.05); }

.product-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 14px;
}
.product-name {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 22px);
  letter-spacing: 0.02em;
  color: var(--text);
  text-transform: uppercase;
}
.product-type {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.product-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.product-more i {
  font-style: normal;
  font-size: 15px;
  transition: transform 0.4s var(--ease-out);
}
.product.is-toggle.is-open .product-more i { transform: rotate(45deg); }

/* 产品详情（手风琴展开） */
.product-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-inout);
}
.product-detail.is-open { grid-template-rows: 1fr; }
.product-detail-inner {
  overflow: hidden;
  min-height: 0;
}
.detail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(18px, 3vw, 30px);
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.detail-close {
  border: 1px solid var(--border);
  background: transparent;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.detail-close:hover { border-color: var(--accent); color: var(--accent); }
.product-detail-inner > img {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto clamp(18px, 3vw, 30px);
  border: 1px solid var(--border);
  background: #fff;
}

/* ---- 三级手风琴树：一级分类 → 二级产品 → 三级详情 ---- */
.tree {
  border-top: 1px solid var(--border);
}
.tree-cat {
  border-bottom: 1px solid var(--border);
}
.tree-cat-head {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  width: 100%;
  padding: clamp(20px, 3vw, 34px) 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: background 0.3s var(--ease-out);
}
.tree-cat-head:hover { background: rgba(109, 47, 184, 0.04); }
.tree-cat .mini-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent-bright);
  flex: none;
}
.tree-cat-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 34px);
  line-height: 1.1;
  color: var(--text);
}
.is-open > .tree-cat-head .tree-cat-title { color: var(--accent); }
.tree-cat-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: right;
}
/* 加号：展开时旋转成 × */
.tree-plus {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: transform 0.5s var(--ease-out), border-color 0.3s, background 0.3s;
}
.tree-plus::before,
.tree-plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--accent);
  transition: background 0.3s;
}
.tree-plus::before { width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; }
.tree-plus::after { width: 1.5px; height: 12px; margin: -6px 0 0 -0.75px; }
.is-open > .tree-cat-head .tree-plus,
.tree-prod.is-open .tree-plus {
  transform: rotate(135deg);
  border-color: var(--accent-bright);
  background: rgba(109, 47, 184, 0.08);
}

/* 手风琴展开动画：JS 测量高度 + height 过渡（兼容性最好） */
.tree-panel,
.tree-detail,
.auto-detail {
  height: 0;
  overflow: hidden;
  transition: height 0.6s var(--ease-inout);
}

/* 二级：三个产品并列 */
.tree-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 24px);
  padding: clamp(8px, 1.6vw, 20px) 4px clamp(24px, 3.4vw, 44px);
}
@media (max-width: 860px) { .tree-products { grid-template-columns: 1fr; } }
.tree-prod {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s var(--ease-out);
}
.tree-prod:hover,
.tree-prod.is-open {
  transform: translateY(-6px);
  border-color: var(--accent-bright);
  box-shadow: 0 18px 44px rgba(109, 47, 184, 0.14);
}
.tree-prod img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  user-select: none;
}
.tree-prod .tp-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  color: var(--text);
}
.tree-prod.is-open .tp-name { color: var(--accent); }
.tree-prod .tp-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.tree-prod .tree-plus {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.82);
}

/* 三级：详情长图（放大到可读宽度） */
.tree-detail,
.auto-detail { padding: 0 4px; }
.tree-detail-inner { padding-bottom: clamp(28px, 4vw, 52px); }
.detail-sheet {
  margin: 0;
  max-width: min(94vw, 1200px);   /* 占据大部分版面，保证长图文字可读 */
  margin-left: auto;
  margin-right: auto;
}
.detail-sheet img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  background: #fff;
  cursor: zoom-in;
  user-select: none;
  box-shadow: 0 24px 70px rgba(16, 16, 20, 0.12);
}
.detail-tip {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
/* 返回上一级：圆形图标按钮 */
.detail-back {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px auto 0;
  padding: 10px 22px 10px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  background: none;
  border: 1px solid var(--accent-bright);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.detail-back svg { width: 16px; height: 16px; }
.detail-back:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* 其他分类：简介 + 案例链接 */
.tree-brief {
  padding: 6px 4px clamp(26px, 3.6vw, 48px);
  max-width: 640px;
}
.tree-brief p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-dim);
}
.tree-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-bright);
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}
.tree-link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* ---- 品牌文档嵌入（探步山海 · MONTARA） ---- */
.brand-doc {
  margin: 18px 0 4px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0c;
  box-shadow: 0 18px 60px -30px rgba(109, 47, 184, 0.55);
}
.bd-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #14141a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #a5a2a0;
  flex-wrap: wrap;
}
.bd-lights { display: inline-flex; gap: 5px; }
.bd-lights i {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.bd-lights i:nth-child(1) { background: #ff5f57; }
.bd-lights i:nth-child(2) { background: #febc2e; }
.bd-lights i:nth-child(3) { background: #28c840; }
.bd-title { color: #f4f1ec; text-transform: uppercase; }
.bd-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(109, 47, 184, 0.28);
  border: 1px solid rgba(180, 144, 223, 0.5);
  color: #d9c6f5;
}
.bd-hint { margin-left: auto; color: #8b8886; }
.bd-open {
  color: #b490df;
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 144, 223, 0.5);
  padding-bottom: 2px;
}
.bd-open:hover { color: #fff; border-color: #fff; }
.bd-progress { height: 2px; background: rgba(255, 255, 255, 0.07); }
.bd-progress > i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #31e3e3, #8c4bdb, #ff3fa0);
  transition: width 90ms linear;
}
.bd-stage { position: relative; background: #0a0a0c; }
.bd-frame {
  display: block;
  width: 100%;
  height: clamp(520px, 86vh, 940px);
  border: 0;
}
.bd-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0a0a0c;
  color: #8b8886;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  transition: opacity 0.4s;
}
.bd-loading.is-hidden { opacity: 0; pointer-events: none; }
.bd-spin {
  width: 14px; height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: #b490df;
  border-radius: 50%;
  animation: bdSpin 0.9s linear infinite;
}
@keyframes bdSpin { to { transform: rotate(360deg); } }
.bd-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #101016;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #8b8886;
}

/* ---- 车企广告创意脚本（NISSAN N7） ---- */
.auto-brief {
  padding: 10px 4px 6px;
  max-width: 860px;
}
.ab-head { padding-right: 4px; }
.ab-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ab-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.ab-role {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.ab-collapse {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.ab-collapse:hover {
  color: var(--accent);
  border-color: var(--accent-bright);
  transform: translateY(-1px);
}
.ab-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 20px;
}
.ab-row .ab-badges { margin: 18px 0; }
.ab-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #111112;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.ab-badge b {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0;
}
.ab-text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-dim);
}
.ab-text b {
  color: var(--text);
  font-weight: 700;
}
.ab-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 8px;
}
.ab-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.ab-tab::after {
  content: '+';
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.3s;
}
.ab-tab:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -14px rgba(109, 47, 184, 0.65);
}
.ab-tab.is-open {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}
.ab-tab.is-open::after { content: '−'; color: rgba(255, 255, 255, 0.85); transform: rotate(180deg); }
.ab-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 18px 0 8px;
}
.ab-actions .detail-back { margin: 0; }
.ab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent-bright);
  background: rgba(109, 47, 184, 0.08);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.ab-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
.video-shell {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 18px 60px -30px rgba(109, 47, 184, 0.55);
}
.video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.auto-detail .detail-sheet { margin: 10px 0 6px; }

/* ---- 世界杯海报：作品网格 ---- */
.wc-brief {
  padding: 10px 4px 2px;
  max-width: 860px;
}
.wc-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.wc-role {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.wc-text {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text-dim);
}
.wc-text b {
  color: var(--text);
  font-weight: 700;
}
.wc-text:last-child { margin-bottom: 0; }
.bd-brief { padding-bottom: 16px; }

.wc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 24px);
  padding: 18px 4px 6px;
}
.wc-grid--two { grid-template-columns: repeat(2, 1fr); }
.wc-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 14px 40px -26px rgba(17, 17, 18, 0.4);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.wc-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 54px -26px rgba(109, 47, 184, 0.55);
}
.wc-item img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}
.wc-item figcaption {
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}
@media (max-width: 760px) {
  .wc-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .wc-item figcaption { font-size: 10px; padding: 8px 10px; }
}

@media (max-width: 640px) {
  .ab-top { flex-direction: column; }
  .ab-collapse { align-self: flex-end; }
  .ab-badge b { font-size: 15px; }
  .ab-tab { padding: 10px 20px; font-size: 13px; }
}

@media (max-width: 720px) {
  .bd-frame { height: 76vh; }
  .bd-hint { display: none; }
  .bd-bar { font-size: 10px; gap: 8px; }
  .bd-title { display: none; }
}

/* ---- 灯箱：点击长图放大阅读 ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(14, 14, 17, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 40px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-stage {
  max-width: min(94vw, 1080px);
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-bright) transparent;
}
.lightbox-stage img {
  display: block;
  width: 100%;
  height: auto;
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s;
}
.lightbox-close:hover { background: var(--accent); border-color: var(--accent); }
.lightbox-hint {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

/* ============ 联系 CTA ============ */
.cta-section {
  text-align: center;
  background: var(--surface);
  z-index: 1;
  position: relative;
  overflow: hidden;
}
.cta-section .lead { margin-left: auto; margin-right: auto; }

/* ---- 尾页装饰：星座连线 + 漂浮坐标方框 ---- */
.cta-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-const {
  position: absolute;
  width: clamp(120px, 13vw, 190px);
  height: auto;
  opacity: 0.5;
  animation: constFloat 12s ease-in-out infinite;
}
.cc-1 { top: 8%; left: 4%; }
.cc-2 { top: 12%; right: 5%; animation-duration: 14s; animation-direction: reverse; }
.cc-3 { bottom: 10%; left: 10%; width: clamp(100px, 10vw, 150px); animation-duration: 16s; }
.cta-const .cl {
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0.55;
  stroke-dasharray: 3 5;
  animation: dashFlow 3.2s linear infinite;
}
.cta-const .cl-dash {
  stroke: var(--accent);
  stroke-width: 0.8;
  opacity: 0.3;
  stroke-dasharray: 2 7;
  animation: dashFlow 5s linear infinite reverse;
}
.cta-const circle {
  fill: var(--accent);
  animation: starBreath 2.8s ease-in-out infinite;
}
.cta-plus {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent);
  opacity: 0.45;
  animation: plusFloat 5.5s ease-in-out infinite;
}
/* 坐标方框：上下漂浮 + 数字随机跳变（JS） */
.cb-box {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--accent-bright);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
  animation: cbFloat var(--cb-dur, 7s) ease-in-out infinite;
  animation-delay: var(--cb-delay, 0s);
}
.cb-box::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: starBreath 2.8s ease-in-out infinite;
}
.cb-box b {
  font-weight: 500;
  color: var(--accent);
}
@keyframes cbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}
@media (prefers-reduced-motion: reduce) {
  .cb-box, .cta-const, .cta-plus { animation: none; }
}
@media (max-width: 900px) {
  .cta-const { opacity: 0.3; }
  .cc-3, .cta-plus { display: none; }
  .cb-box { font-size: 10px; padding: 4px 9px; }
}
@media (max-width: 640px) {
  .cb-box:nth-child(n+5) { display: none; }
  .cta-const { opacity: 0.22; }
}

/* 邮箱 + 电话（放大醒目） */
.cta-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 36px);
}
.cta-mail {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4.6vw, 60px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.4s var(--ease-out);
}
.cta-mail:hover { color: var(--accent); }
.cta-sep {
  width: 1px;
  height: clamp(28px, 4vw, 56px);
  background: var(--border);
}
.cta-tel {
  font-family: var(--font-mono);
  font-size: clamp(16px, 2.2vw, 26px);
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.4s var(--ease-out);
}
.cta-tel:hover { color: var(--accent); }
/* 手机号 + 电话 / 微信图标 */
.cta-tel-wrap {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 16px);
}
.cta-tel-wrap .foot-ic {
  width: clamp(36px, 3.4vw, 46px);
  height: clamp(36px, 3.4vw, 46px);
  flex: none;
}
.cta-tel-wrap .foot-ic svg { width: 19px; height: 19px; }

@media (max-width: 640px) {
  .cta-sep { display: none; }
  .cta-contacts { flex-direction: column; gap: 14px; }
}

/* ============ 移动端微调 ============ */
@media (max-width: 640px) {
  .hero-name-cn { font-size: 26px; }
  .hero-name-en { font-size: 13px; }
  .hero-role { display: none; } /* 手机端保持画面干净 */
  .feature-head { gap: 10px; }
  .message-sign { width: clamp(150px, 44vw, 220px); }
}

/* ---- 页尾联系方式图标 ---- */
.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-contact .fc-sep { color: var(--text-dim); }
.foot-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent);
  background: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
  vertical-align: middle;
}
.foot-ic svg { width: 18px; height: 18px; }
.foot-ic:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}
/* 目标工作地点 */
.footer-loc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 16px 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text);
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.footer-loc svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.footer-loc:hover { border-color: var(--accent); color: var(--accent); }

/* 复制提示 toast */
.wx-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 16px);
  z-index: 10000;
  padding: 10px 22px;
  background: #101014;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  border: 1px solid var(--accent-bright);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.wx-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
