/* =============================================================
   心晴山海 · V3 设计基座
   深海军蓝 + 粉蓝科技渐变 + 玻璃拟态
   动画只用 transform / opacity，全部可在 prefers-reduced-motion 下关闭
   ============================================================= */

:root {
  --bg: #0b1020;
  --bg-deep: #070b18;
  --bg-raise: #0e1530;

  --ink: #eef3ff;
  --ink-2: #a9b8d8;
  --muted: #6f7fa3;

  --blue: #60a5fa;
  --pink: #f9a8d4;
  --violet: #a9b9ff;
  --grad: linear-gradient(110deg, #60a5fa, #f9a8d4);
  /* 正文链接色：深色区用亮蓝，浅色天光区覆盖成深蓝，保证对比度 */
  --link: #60a5fa;

  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.075);
  --line: rgba(148, 178, 255, 0.14);
  --line-strong: rgba(148, 178, 255, 0.26);

  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --sect: clamp(44px, 4.4vw, 62px);

  /* 首屏上下两条分隔线到各自边缘的距离，页头与落款区共用同一个值 */
  --edge-h: 66px;

  /* 内页板块柔光：蓝色块用深色底上的冷光晕；
     粉色块恢复上一版的亮粉渐变（浅粉底 + 深色文字） */
  --tint-blue-a: rgba(52, 108, 206, 0.4);
  --tint-blue-b: rgba(96, 165, 250, 0.2);

  /* 光晕上下渐隐带的宽度：够宽，板块才不会显出一条"框边" */
  --tint-fade: clamp(130px, 26%, 320px);

  /* 粉块坡道有两条：cool 从夜色起（接标题区 / 落款），warm 从靛蓝起
     （接蓝色板块——蓝块在接缝处保有微光，所以坡道不必坠回纯黑，
     粉与蓝之间是一条连续的色相带，没有黑色断层） */
  /* 色标按「亮度等间距」排布：每 1% 位置的明暗变化量相同，
     所以坡道上看不到亮得快 / 慢的拐点，也就没有"分界"的感觉 */
  --ramp-cool: #0b1020 0%, #101a36 0.8%, #16224b 1.6%, #1e2c60 2.8%,
    #283a72 5%, #354a85 8.1%, #475c96 12.7%, #5f73a6 20.2%, #7a86b0 28.5%,
    #9a9bbc 40%, #b9aec9 53%, #d3c1d6 67.4%, #e9d3e3 82.5%, #f5e3ef 95.8%,
    rgba(251, 233, 244, 0) 100%;

  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1.05em;
}

p:last-child {
  margin-bottom: 0;
}

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

::selection {
  background: rgba(96, 165, 250, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 布局 ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.sect {
  position: relative;
  padding-block: var(--sect);
}

.sect--tight {
  padding-block: clamp(44px, 4.2vw, 56px);
}

/* 板块底色：深色基座上的柔和光晕，一块一个主色。
   光晕层上下各渐隐 --tint-fade 那么宽（84–170px），
   相邻板块相接处是缓慢的明暗起伏，看不出板块边界。 */
.sect::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--tint, none);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent,
    #000 var(--tint-fade),
    #000 calc(100% - var(--tint-fade)),
    transparent
  );
  mask-image: linear-gradient(
    180deg,
    transparent,
    #000 var(--tint-fade),
    #000 calc(100% - var(--tint-fade)),
    transparent
  );
}

/* 蓝：只有光团，没有整块色层。
   光团在横向本身就有明暗衰减，配合上下宽渐隐带，
   板块边缘自然融回基色，不会显出一个"方框" */
.sect--blue {
  --tint:
    radial-gradient(82% 62% at 20% 30%, rgba(42, 92, 186, 0.32), transparent 74%),
    radial-gradient(66% 54% at 86% 72%, rgba(96, 165, 250, 0.14), transparent 80%),
    radial-gradient(104% 78% at 54% 52%, rgba(28, 60, 122, 0.2), transparent 82%);
}

/* 粉：恢复上一版的亮粉渐变——浅粉底 + 粉蓝双柔光，文字整块切到深色域。
   上下各铺一条宽坡道（--ramp-t / --ramp-b），并向相邻板块的留白里溢出一段，
   让夜色 → 亮粉的过渡发生在空白里，内容始终落在纯粉段上 */
.sect--pink {
  /* 浅色段作用域：卡片、正文、按钮靠变量继承自动切换，不用逐组件改 */
  --ink: #0b1020;
  --ink-2: #38465f;
  --muted: #4b5776;
  --line: rgba(11, 16, 32, 0.12);
  --line-strong: rgba(11, 16, 32, 0.22);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-2: #ffffff;
  /* 浅底上亮蓝对比不足，链接压深一档 */
  --link: #1d4ed8;

  /* 坡道几何：坡道分两段——
     ① 板块内边距（--pad-t/--pad-b）里走「亮粉 → 中间紫」；
     ② 再向相邻板块溢出一段（--ramp-out-t/b）走「中间紫 → 页面基色」。
     板块交界处正好是中间紫，两侧同色，不形成暗缝；
     基色那端落在邻居的留白里，也不会留下一条边。
     坡道长度 = 内边距 + 溢出量，改内边距时坡道自动跟随。 */
  --pad-t: 76px;
  --pad-b: 76px;
  --ramp-out-t: 44px;
  --ramp-out-b: 44px;
  --ramp-t: calc(var(--pad-t) + var(--ramp-out-t));
  --ramp-b: calc(var(--pad-b) + var(--ramp-out-b));
  --ramp-top: var(--ramp-cool);
  --ramp-bottom: var(--ramp-cool);

  padding-top: var(--pad-t);
  padding-bottom: var(--pad-b);

  color: var(--ink);
}

.sect--pink::before {
  inset: calc(-1 * var(--ramp-out-t)) 0 calc(-1 * var(--ramp-out-b));
  background-color: #fbe9f4;
  background-image:
    linear-gradient(180deg, var(--ramp-top)),
    linear-gradient(0deg, var(--ramp-bottom)),
    radial-gradient(72% 46% at 12% 50%, rgba(96, 165, 250, 0.18), transparent 72%),
    radial-gradient(66% 44% at 88% 62%, rgba(249, 168, 212, 0.36), transparent 74%);
  background-size: 100% var(--ramp-t), 100% var(--ramp-b), 100% 100%, 100% 100%;
  background-position: 0 0, 0 100%, 0 0, 0 0;
  background-repeat: no-repeat;
  -webkit-mask-image: none;
  mask-image: none;
}

/* 浅粉段内组件切换成白纸卡片（沿用上一版天光页的配色） */
.sect--pink .kicker {
  color: var(--link);
}

.sect--pink .prose a {
  color: var(--link);
  border-bottom-color: rgba(37, 99, 235, 0.35);
}

.sect--pink .svc,
.sect--pink .svc-detail__item,
.sect--pink .contact-card,
.sect--pink .prac {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(11, 16, 32, 0.08);
  box-shadow: 0 20px 44px -34px rgba(23, 43, 99, 0.45);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.sect--pink .svc:hover {
  background: #fff;
  border-color: transparent;
  box-shadow: 0 26px 50px -30px rgba(37, 99, 235, 0.42);
}

.sect--pink .prac:hover {
  background: #fff;
  border-color: rgba(11, 16, 32, 0.06);
  box-shadow: 0 26px 50px -30px rgba(37, 99, 235, 0.42);
}

.sect--pink .prac__num {
  color: #2563eb;
}

.sect--pink .svc__index {
  color: rgba(11, 16, 32, 0.28);
}

.sect--pink .svc__icon {
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.28);
}

.sect--pink .tag {
  color: #be185d;
  border-color: rgba(219, 39, 119, 0.26);
  background: rgba(249, 168, 212, 0.22);
}

.sect--pink .cta {
  border-color: rgba(11, 16, 32, 0.1);
  background:
    radial-gradient(70% 120% at 8% 0%, rgba(96, 165, 250, 0.18), transparent 60%),
    radial-gradient(70% 120% at 92% 100%, rgba(249, 168, 212, 0.2), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68));
  box-shadow: 0 26px 60px -48px rgba(23, 43, 99, 0.55);
}

/* 光晕会抬高背景亮度，蓝色块内的次要文字同步提亮一档，
   保证落在光晕最亮处仍有 4.5:1 以上对比度（页头/落款不受影响） */
.sect--blue {
  --muted: #a0b1d8;
}

/* 内页内容较短时，让落款停在视口底部，避免页面中段出现大片空白（不影响首页） */
body.is-page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

body.is-page main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* ---------- 星空背景 ---------- */

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.2px 1.2px at 78% 12%, rgba(186, 214, 255, 0.7), transparent),
    radial-gradient(1.6px 1.6px at 42% 72%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.1px 1.1px at 88% 62%, rgba(249, 168, 212, 0.65), transparent),
    radial-gradient(1.3px 1.3px at 24% 88%, rgba(148, 190, 255, 0.6), transparent),
    radial-gradient(1.1px 1.1px at 63% 34%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 8% 54%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.2px 1.2px at 96% 88%, rgba(255, 255, 255, 0.5), transparent);
  background-size: 520px 520px, 640px 640px, 480px 480px, 700px 700px, 580px 580px,
    620px 620px, 740px 740px, 540px 540px;
  opacity: 0.85;
}

.stars::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 72% 8%, rgba(96, 165, 250, 0.16), transparent 70%),
    radial-gradient(50% 40% at 12% 2%, rgba(249, 168, 212, 0.1), transparent 70%);
}

/* ---------- 页头 ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 16, 32, 0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand__en {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-top: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}

.nav a {
  position: relative;
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  padding-block: 6px;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--grad);
  transition: right 0.25s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  right: 0;
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav__cta {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 18px !important;
  color: var(--ink) !important;
  background: var(--glass);
}

.nav__cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  padding-block: clamp(56px, 9vh, 108px) clamp(48px, 8vh, 96px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(32px, 4vw, 56px);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--glass);
  border-radius: 999px;
  padding: 6px 16px 6px 10px;
  margin-bottom: clamp(22px, 3.4vw, 34px);
}

.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.9);
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin-bottom: clamp(20px, 2.6vw, 28px);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  text-wrap: pretty;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-2);
  max-width: 36em;
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3.6vw, 40px);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero__stat b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.hero__stat span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- 星球视觉 ---------- */

.planet {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  isolation: isolate;
}

.planet__svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.planet__halo {
  position: absolute;
  inset: -12%;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 34%, rgba(96, 165, 250, 0.4), transparent 62%),
    radial-gradient(circle at 34% 72%, rgba(249, 168, 212, 0.3), transparent 60%);
  filter: blur(34px);
  opacity: 0.95;
  animation: breathe 14s ease-in-out infinite;
}

.planet__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(148, 190, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 190, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, #000 42%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 42%, transparent 72%);
  opacity: 0.5;
}

.ring-flow {
  animation: dashFlow 14s linear infinite;
}

.ring-flow--slow {
  animation-duration: 26s;
  animation-direction: reverse;
}

.spark {
  animation: twinkle 4.5s ease-in-out infinite;
}

.spark--d1 {
  animation-delay: 0.8s;
}

.spark--d2 {
  animation-delay: 1.9s;
}

.spark--d3 {
  animation-delay: 2.7s;
}

.satellite {
  transform-origin: 310px 310px;
  animation: sway 18s ease-in-out infinite;
}

.satellite--2 {
  animation-duration: 24s;
  animation-direction: reverse;
}

/* ---------- 波浪 ---------- */

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 260px;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 55%);
  mask-image: linear-gradient(to bottom, transparent, #000 55%);
}

.wave svg {
  width: 100%;
  height: 100%;
}

.wave__path {
  animation: waveShift 22s linear infinite;
}

.wave__path--2 {
  animation-duration: 34s;
  animation-direction: reverse;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease,
    border-color 0.22s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--grad);
  color: #0a1024;
  font-weight: 600;
  box-shadow: 0 10px 30px -12px rgba(96, 165, 250, 0.75), 0 6px 24px -14px rgba(249, 168, 212, 0.7);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px rgba(96, 165, 250, 0.85), 0 10px 30px -14px rgba(249, 168, 212, 0.8);
}

.btn--ghost {
  background: var(--glass);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: var(--glass-2);
  border-color: rgba(96, 165, 250, 0.5);
  transform: translateY(-2px);
}

.btn__arrow {
  font-size: 15px;
  line-height: 1;
}

/* ---------- 章节标头 ---------- */

.sect-head {
  max-width: 44em;
  margin-bottom: clamp(18px, 2vw, 28px);
}

.sect-head--center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--grad);
}

.sect-head--center .kicker::before {
  display: none;
}

.sect-head h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.sect-head p {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.85;
}

/* ---------- 玻璃卡片（核心业务） ---------- */

.svc-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .svc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.svc {
  position: relative;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022));
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.svc::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.svc::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.35), transparent 68%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.svc:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 24px 50px -28px rgba(96, 165, 250, 0.65);
}

.svc:hover::before,
.svc:hover::after {
  opacity: 1;
}

.svc__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(148, 190, 255, 0.22);
  margin-bottom: 22px;
  color: var(--blue);
  transition: color 0.3s ease, background 0.3s ease;
}

.svc:hover .svc__icon {
  color: var(--pink);
  background: rgba(249, 168, 212, 0.1);
}

.svc h3 {
  font-size: 18px;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.svc p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.85;
}

.svc__index {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(169, 184, 216, 0.4);
}


.prac-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 700px) {
  .prac-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .prac-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.prac {
  position: relative;
  padding: 24px 22px 26px;
  border-radius: var(--r-md);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.prac:hover {
  transform: translateY(-5px);
  border-color: rgba(148, 178, 255, 0.3);
  box-shadow: 0 26px 50px -30px rgba(96, 165, 250, 0.5);
}

.prac__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(96, 165, 250, 0.85);
  display: block;
  margin-bottom: 16px;
}

.prac h3 {
  font-size: 17px;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.prac p {
  font-size: 13.8px;
  color: var(--ink-2);
  line-height: 1.85;
}

.prac__bar {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.prac:hover .prac__bar {
  transform: scaleX(1);
}

/* ---------- 动态 ---------- */

.news-list {
  border-top: 1px solid var(--line);
}

.news-row {
  display: grid;
  gap: 8px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, padding-left 0.25s ease;
}

@media (min-width: 760px) {
  .news-row {
    grid-template-columns: 128px minmax(0, 1fr) 28px;
    gap: 28px;
    align-items: baseline;
  }
}

.news-row:hover {
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.08), transparent 70%);
  padding-left: 12px;
}

.news-row time {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.news-row__title {
  display: block;
  font-size: 16.5px;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.news-row__summary {
  display: block;
  font-size: 13.8px;
  color: var(--ink-2);
  margin-top: 6px;
  max-width: 44em;
}

.news-row__arrow {
  color: var(--blue);
  font-size: 14px;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  border-radius: 26px;
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(70% 120% at 8% 0%, rgba(96, 165, 250, 0.22), transparent 60%),
    radial-gradient(70% 120% at 92% 100%, rgba(249, 168, 212, 0.2), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.cta h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 14px;
}

.cta p {
  color: var(--ink-2);
  max-width: 34em;
}

.cta__row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ---------- 通用文本 ---------- */

.lede {
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  color: var(--ink-2);
  line-height: 1.9;
  max-width: 38em;
}

/* ---------- 内页 Page Hero（紧凑标题区，仅作用于 .page-head，不影响首页） ---------- */

.page-head {
  padding-block: clamp(40px, 3.6vw, 54px) clamp(24px, 2.2vw, 30px);
  /* 不再用 1px 分隔线切断标题与正文：过渡交给下方板块的柔光渐入 */
}

.page-head .kicker {
  font-size: 12.5px;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}

.page-head h1 {
  font-size: clamp(36px, 3.3vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

/* 简介：只覆盖字号/行高/宽度，颜色沿用 .lede */
.page-head .lede {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.62;
  max-width: 46em;
}

.crumb {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 14px;
}

/* 标题区与首个板块之间：留白合计约 46–54px，标题与内容保持同一条视线 */
.page-head + .sect {
  padding-top: clamp(16px, 1.6vw, 24px);
}

/* 相邻两个板块：上边缘留给粉坡（不小于坡道的溢出量），避免粉坡盖住内容 */
.sect--tight + .sect--tight {
  padding-top: clamp(44px, 4.2vw, 52px);
}

/* 紧跟标题区的粉块：上面直接是页面基色，不需要溢出 */
.page-head + .sect--pink {
  --ramp-out-t: 0px;
}

/* 内边距即坡道长度，必须躲开 .page-head + .sect / .sect--tight + .sect--tight
   这两条相邻规则的覆盖，所以放在它们后面用同权重选择器再声明一次 */
.sect--pink,
.sect--tight + .sect--pink,
.sect--tight + .sect--tight.sect--pink,
.page-head + .sect--pink {
  padding-top: var(--pad-t);
  padding-bottom: var(--pad-b);
}

/* 落款前的粉块：下面就是页脚，坡道收在内边距里，避免被页脚盖住 */
.sect.sect--pink:last-child {
  --ramp-out-b: 0px;
}

/* 平板与手机：标题与留白同步缩小，高度由内容自适应 */
@media (max-width: 900px) {
  .page-head {
    padding-block: 36px 22px;
  }

  .page-head h1 {
    font-size: clamp(28px, 5.4vw, 36px);
    margin-bottom: 14px;
  }

  .page-head .lede {
    font-size: 15.5px;
    line-height: 1.68;
  }

  .page-head + .sect {
    padding-top: 16px;
  }

  .sect--tight {
    padding-block: 40px;
  }

  .sect--tight + .sect--tight {
    padding-top: 40px;
  }

  .sect--pink,
  .sect--tight + .sect--pink {
    --pad-t: 60px;
    --pad-b: 60px;
    --ramp-out-t: 34px;
    --ramp-out-b: 34px;
  }
}

@media (max-width: 600px) {
  .page-head {
    padding-block: 30px 20px;
  }

  .page-head .kicker {
    font-size: 11.5px;
    margin-bottom: 12px;
  }

  .page-head h1 {
    font-size: clamp(28px, 7.6vw, 33px);
    margin-bottom: 12px;
  }

  .page-head .lede {
    font-size: 15px;
    line-height: 1.72;
  }

  .page-head + .sect {
    padding-top: 14px;
  }

  .sect--tight {
    padding-block: 34px;
  }

  .sect--tight + .sect--tight {
    padding-top: 34px;
  }

  .sect--pink,
  .sect--tight + .sect--pink {
    --pad-t: 50px;
    --pad-b: 50px;
    --ramp-out-t: 28px;
    --ramp-out-b: 28px;
  }
}

/* 矮屏（横屏手机、压扁的窗口）：标题区与天光带一起收紧，
   否则首屏只剩一片渐变、看不到任何内容 */
@media (max-height: 560px) {
  :root {
    --sky-h: 240px;
    --sky-back-h: 140px;
  }

  .page-head {
    padding-block: 22px 18px;
  }

  .page-head .kicker {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .page-head h1 {
    font-size: clamp(24px, 3.4vw, 30px);
    margin-bottom: 10px;
  }

  .page-head .lede {
    font-size: 14px;
    line-height: 1.6;
  }

  .page-head + .sect {
    padding-top: 14px;
  }

  .sect--pink,
  .sect--tight + .sect--pink {
    --pad-t: 40px;
    --pad-b: 40px;
    --ramp-out-t: 22px;
    --ramp-out-b: 22px;
  }
}

.crumb a:hover {
  color: var(--ink-2);
}

.prose {
  max-width: 42em;
}

.prose p {
  word-break: auto-phrase;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.95;
  margin-bottom: 1.15em;
}

.prose h2 {
  font-size: 19px;
  margin: 2.2em 0 0.9em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
  letter-spacing: 0.02em;
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose a {
  color: var(--link);
  border-bottom: 1px solid rgba(96, 165, 250, 0.45);
}

/* ---------- 数据列表 ---------- */

.dl {
  border-top: 1px solid var(--line);
}

.dl__row {
  display: grid;
  gap: 4px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 620px) {
  .dl__row {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;
  }
}

.dl__row dt {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.dl__row dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  word-break: break-word;
}

.pending {
  color: var(--muted);
  font-size: 13.5px;
}

.pending::after {
  content: "待公布";
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  border: 1px solid var(--line);
  padding: 1px 7px;
  margin-left: 8px;
  border-radius: 999px;
  color: var(--muted);
}

/* ---------- 服务详情列表 ---------- */

.svc-detail {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 860px) {
  .svc-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.svc-detail__item {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  backdrop-filter: blur(14px);
}

.svc-detail__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.svc-detail__top h2 {
  font-size: 19px;
  letter-spacing: 0.02em;
}

.svc-detail p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.9;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  border: 1px solid rgba(249, 168, 212, 0.32);
  background: rgba(249, 168, 212, 0.08);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ---------- 联系 ---------- */

.contact-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 64px;
  }
}

.contact-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  padding: clamp(24px, 3vw, 34px);
  backdrop-filter: blur(14px);
}

/* 左列：两张卡片纵向排布 */
.contact-col {
  display: grid;
  gap: 20px;
  align-content: start;
}

/* ---------- 邮件撰写表单 ---------- */

.mail-card {
  display: flex;
  flex-direction: column;
}

.mail-card__title {
  font-size: 21px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.mail-card__note {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.9;
  margin-bottom: 22px;
}

.mail-card__note strong {
  color: var(--ink);
  font-weight: 500;
  word-break: break-all;
}

.mail {
  display: grid;
  gap: 16px;
}

.mail__row {
  display: grid;
  gap: 16px;
}

@media (min-width: 620px) {
  .mail__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mail__field {
  display: grid;
  gap: 8px;
}

.mail__label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.mail__label i {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.mail input[type="text"],
.mail input[type="email"],
.mail select,
.mail textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mail select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
  cursor: pointer;
}

.mail select option {
  background: #10182f;
  color: var(--ink);
}

.mail textarea {
  resize: vertical;
  min-height: 120px;
}

.mail input::placeholder,
.mail textarea::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.mail input:focus,
.mail select:focus,
.mail textarea:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.mail__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 4px;
}

.mail__copy {
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 0 0 2px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mail__copy:hover {
  color: var(--ink);
  border-color: var(--link);
}

.mail__copy.is-copied {
  color: var(--link);
  border-color: var(--link);
}

/* ---------- 页脚 ---------- */

.site-foot {
  position: relative;
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 76px) 34px;
  background: linear-gradient(180deg, rgba(11, 16, 32, 0) 0%, rgba(7, 11, 24, 0.9) 60%);
}

.site-foot__grid {
  display: grid;
  gap: 38px;
}

@media (min-width: 880px) {
  .site-foot__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }
}

.site-foot h2 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.site-foot__name {
  font-size: 16px;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  color: var(--ink);
}

.site-foot p,
.site-foot li {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.95;
}

.site-foot a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-foot__bottom {
  margin-top: clamp(36px, 5vw, 60px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- 404 ---------- */

.mini {
  padding-block: clamp(90px, 18vh, 190px);
  text-align: center;
}

.mini h1 {
  font-size: clamp(40px, 9vw, 88px);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.mini .btn-row {
  justify-content: center;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- 跳转链接 ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
}


/* ---------- 左侧标题 / 右侧内容 ---------- */

.split {
  display: grid;
  gap: 22px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(40px, 5vw, 72px);
  }

  .split__aside {
    position: sticky;
    top: 104px;
    align-self: start;
  }
}

.split__aside h2 {
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-top: 14px;
}

.aside-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.85;
}

@media (max-width: 560px) {
  .planet {
    max-width: 320px;
  }
}

/* ---------- 动效 ---------- */

@keyframes breathe {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -560;
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-2.5deg);
  }
  50% {
    transform: rotate(2.5deg);
  }
}

@keyframes waveShift {
  to {
    transform: translateX(-80px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rise {
  animation: rise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.rise--2 {
  animation-delay: 0.12s;
}

.rise--3 {
  animation-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 22px;
    background: #0a0f1e;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav[data-open="true"] {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav a {
    padding-block: 14px;
    border-bottom: 1px solid rgba(148, 178, 255, 0.08);
    font-size: 15px;
  }

  .nav a::after {
    display: none;
  }

  .nav__cta {
    margin-top: 14px;
    text-align: center;
    padding: 12px 18px !important;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 34px;
  }

  .planet {
    max-width: 440px;
    order: -1;
  }

  .hero__stats {
    gap: 16px 28px;
  }

}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(30px, 8.4vw, 40px);
  }

  .btn {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .news-row:hover {
    padding-left: 0;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================
   V5 · 首页：左文右图 + 科技海上升太阳
   ============================================================= */

/* ---------- 首页骨架 ---------- */

body.is-home {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

body.is-home main {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

body.is-home .site-head {
  background: transparent;
  /* 与落款上边框同一条线，形成上下对称 */
  border-bottom-color: rgba(148, 178, 255, 0.1);
  backdrop-filter: none;
}

.site-head__inner {
  min-height: 66px;
}

.brand__name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hero--home {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  width: 100%;
  padding-block: clamp(18px, 3.6vh, 54px);
  overflow: visible;
}

.hero--home .hero__grid {
  width: 100%;
}

/* 布局方向由「横屏 / 竖屏」决定，而不是窗口宽度：
   横屏（宽 ≥ 高）无论多窄都保持左文右图，绝不把太阳挤到下面；
   竖屏（宽 < 高）一律上文下图。 */
@media (min-aspect-ratio: 1/1) {
  .hero--home .hero__grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: clamp(16px, 2.4vw, 44px);
    align-items: center;
  }
}

/* ---------- 左侧文案 ---------- */

.is-home .hero__eyebrow {
  font-size: clamp(11.5px, 0.92vw, 12.5px);
  letter-spacing: 0.06em;
  padding: 6px 15px 6px 11px;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.is-home .hero__eyebrow::before {
  content: none;
}

.is-home .hero h1 {
  font-size: clamp(33px, 3.42vw, 50px);
  line-height: 1.24;
  letter-spacing: -0.012em;
  margin-bottom: clamp(18px, 2.2vw, 24px);
}

.is-home .hero__sub {
  max-width: 31em;
  word-break: auto-phrase;
  font-size: clamp(13px, 0.95vw, 14px);
  letter-spacing: 0.004em;
  line-height: 1.85;
  color: #b3c1de;
}

.is-home .hero__actions {
  margin-top: clamp(24px, 3vw, 34px);
}

.is-home .btn {
  height: 48px;
  padding: 0 26px;
  font-size: 14px;
}

/* 竖屏：上文下图（宽 < 高） */
@media (max-aspect-ratio: 999/1000) {
  .hero--home .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(20px, 3.6vw, 36px);
    justify-items: center;
  }

  .hero--home .hero__copy {
    width: 100%;
    max-width: 620px;
  }

  .is-home .hero h1 {
    font-size: clamp(28px, 5.2vw, 42px);
    line-height: 1.28;
  }
}

/* 窄屏（手机竖屏 / 极窄横屏）：副标题不断行、主按钮并排等分 */
@media (max-width: 600px) {
  .is-home .hero__sub {
    font-size: 13.5px;
    line-height: 1.8;
  }

  .is-home .hero__sub br {
    display: none;
  }

  .is-home .hero__actions {
    flex-direction: row;
    gap: 10px;
  }

  .is-home .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    font-size: 13.5px;
  }
}

/* ---------- 右侧主视觉 ---------- */

.hero-visual {
  position: relative;
  width: min(100%, 700px, 70svh);
  margin-inline: auto;
  justify-self: center;
}

@media (max-aspect-ratio: 999/1000) {
  .hero-visual {
    width: min(100%, 560px, 62svh);
  }
}

/* ---------- 轨道上的交互节点 ---------- */

.orbits {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(168, 200, 255, 0.34);
  background:
    linear-gradient(118deg, rgba(96, 165, 250, 0.2), rgba(249, 168, 212, 0.14) 58%, rgba(216, 164, 248, 0.18)),
    rgba(11, 19, 40, 0.72);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  box-shadow:
    0 10px 28px rgba(6, 10, 24, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 20px -6px rgba(96, 165, 250, 0.5);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: #edf3ff;
  white-space: nowrap;
  animation: nodeFloat 7.5s ease-in-out infinite;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease,
    color 0.3s ease;
}

.orb-node--services {
  animation-delay: -2.5s;
}

.orb-node--practice {
  animation-delay: -5s;
}

.orb-node__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #7dd3fc, #f9a8d4);
  box-shadow: 0 0 9px rgba(125, 211, 252, 0.9), 0 0 16px rgba(249, 168, 212, 0.55);
}

/* 脚本接管后位置改由 transform 驱动（替代 --x/--y 百分比），
   关掉 nodeFloat 避免与轨道位移叠加成抖动 */
.orbits.is-live .orb-node {
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  animation: none;
  will-change: transform;
}

.orb-node:hover,
.orb-node:focus-visible {
  border-color: rgba(249, 168, 212, 0.62);
  background:
    linear-gradient(118deg, rgba(96, 165, 250, 0.32), rgba(249, 168, 212, 0.26) 58%, rgba(216, 164, 248, 0.3)),
    rgba(16, 25, 48, 0.88);
  color: #ffffff;
  box-shadow:
    0 14px 34px rgba(6, 10, 24, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 26px -4px rgba(249, 168, 212, 0.6),
    0 0 34px -10px rgba(96, 165, 250, 0.7);
}

.orb-node:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 3px;
}

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

@media (max-width: 900px) {
  .orb-node {
    font-size: 12.5px;
    padding: 8px 13px 8px 11px;
    gap: 7px;
  }

  .orb-node__dot {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 420px) {
  .orb-node {
    font-size: 11.5px;
    padding: 7px 11px 7px 9px;
    letter-spacing: 0.02em;
  }
}

/* 横屏但列很窄：把视觉块收到 90%，给轨道节点留出溢出缓冲，
   确保胶囊不会压到左侧文字 */
@media (min-aspect-ratio: 1/1) and (max-width: 820px) {
  .hero-visual {
    width: min(100%, 90%);
  }

  .orb-node {
    font-size: 11px;
    padding: 6px 10px 6px 8px;
    gap: 5px;
    letter-spacing: 0.01em;
  }

  .orb-node__dot {
    width: 5px;
    height: 5px;
  }
}

/* ---------- 落款 ---------- */

.sign {
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(148, 178, 255, 0.1);
  background: linear-gradient(180deg, rgba(7, 11, 24, 0), rgba(7, 11, 24, 0.9));
}

.sign__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-block: clamp(16px, 2.2vh, 26px);
}

/* 首页：落款区高度锁定为同一个 --edge-h，使上下两条线到页面边缘的距离完全相等 */
body.is-home .sign__inner {
  min-height: var(--edge-h);
  padding-block: 0;
}

.sign__id {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.sign__name {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.sign__loc {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.sign__mail {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.sign__mail:hover {
  color: var(--link);
}
.sign__icp {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.sign__icp:hover {
  color: var(--link);
}

.sign__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--ink-2);
}

.sign__links a {
  transition: color 0.2s ease;
}

.sign__links a:hover {
  color: var(--ink);
}

@media (max-width: 760px) {
  .sign__inner {
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding-block: 18px 22px;
  }

  .sign__links {
    gap: 20px;
  }
}

/* 竖屏手机：入口保持在轨道上，由脚本驱动（此前这里把节点改成 static 排成一行，
   等价于关掉了轨道动画）。整体收窄 12% 给轨道两端的胶囊留出溢出缓冲。 */
@media (max-aspect-ratio: 999/1000) and (max-width: 600px) {
  .hero-visual {
    width: 86%;
    max-width: 430px;
  }

  .orb-node {
    font-size: 12.5px;
    padding: 9px 15px 9px 12px;
  }
}

/* 横屏但窗口很矮（手机横屏 / 小笔记本）：保持左文右图，整体等比收缩，保证一屏可见 */
@media (min-aspect-ratio: 1/1) and (max-height: 640px) {
  .site-head__inner {
    min-height: 54px;
  }

  .hero--home {
    padding-block: clamp(8px, 2vh, 20px);
  }

  .is-home .hero__eyebrow {
    font-size: 11px;
    padding: 4px 12px 4px 9px;
    margin-bottom: clamp(9px, 1.8vh, 16px);
  }

  .is-home .hero h1 {
    font-size: clamp(22px, min(3.4vw, 5vh), 36px);
    line-height: 1.22;
    margin-bottom: clamp(9px, 1.6vh, 16px);
  }

  .is-home .hero__sub {
    font-size: 12.5px;
    line-height: 1.66;
  }

  .is-home .hero__actions {
    margin-top: clamp(12px, 2.2vh, 22px);
  }

  .is-home .btn {
    height: 40px;
    padding: 0 18px;
    font-size: 13px;
  }

  body.is-home {
    --edge-h: 54px;
  }
}

/* 横屏且极矮（手机横屏 375/390 高）：再收一档，让落款也落在首屏内 */
@media (min-aspect-ratio: 1/1) and (max-height: 430px) {
  .site-head__inner {
    min-height: 48px;
  }

  .brand__name {
    font-size: 15px;
  }

  .hero--home {
    padding-block: 6px;
  }

  .hero-visual {
    width: min(100%, 66svh);
  }

  .is-home .hero__sub {
    font-size: 12px;
    line-height: 1.6;
  }

  .is-home .hero__actions {
    margin-top: 10px;
  }

  body.is-home {
    --edge-h: 48px;
  }
}

/* 横屏且 320~340 高（iPhone SE 一类老机型横屏）：最后一档压缩，仍保持一屏 */
@media (min-aspect-ratio: 1/1) and (max-height: 340px) {
  .hero--home {
    padding-block: 0;
  }

  .is-home .hero__eyebrow {
    margin-bottom: 6px;
  }

  .is-home .hero h1 {
    margin-bottom: 7px;
  }

  .is-home .hero__sub {
    font-size: 11.5px;
    line-height: 1.52;
  }

  .is-home .hero__actions {
    margin-top: 8px;
  }

  .sign__inner {
    padding-block: 7px 8px;
  }
}

.hero-art {
  width: 100%;
  aspect-ratio: 620 / 600;
}

.hero-art .art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* 轨道流光 */
.art-flow {
  animation: artFlow 18s linear infinite;
}

@keyframes artFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -570;
  }
}

/* 海面倒影微闪 */
.art-refl {
  transform-origin: 310px 356px;
  animation: artShimmer 8s ease-in-out infinite;
}

@keyframes artShimmer {
  0%,
  100% {
    opacity: 0.88;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.03);
  }
}

/* 星尘呼吸 */
.art-pt {
  animation: artTwinkle 6s ease-in-out infinite;
}

@keyframes artTwinkle {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

/* 光路呼吸 */
.art-link {
  animation: artLink 9s ease-in-out infinite;
}

.art-link--services {
  animation-delay: -3s;
}

.art-link--practice {
  animation-delay: -6s;
}

@keyframes artLink {
  0%,
  100% {
    opacity: 0.62;
  }
  50% {
    opacity: 0.95;
  }
}

/* ---------- 减少动效 ---------- */

@media (prefers-reduced-motion: reduce) {
  .art-flow,
  .art-refl,
  .art-pt,
  .art-link,
  .orb-node {
    animation: none !important;
  }

  .orb-node {
    transition: none !important;
  }
}
