/* ============================================================
   林屿 LY · 单页作品集 — 深色高级感设计系统
   8pt 网格 / clamp 连续缩放 / 三档断点 / 无障碍 / 减弱动效
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --bg: #0b0d10;
  --bg-raise: #11151c;
  --line: rgba(233, 237, 244, 0.08);
  --line-strong: rgba(233, 237, 244, 0.16);
  --text: #edf0f4;
  --text-2: #a3abb8;
  --text-3: #6a7380;

  --accent: #d6a96b;
  --accent-strong: #e6c089;
  --accent-2: #7fb7c9;
  --accent-glow: rgba(214, 169, 107, 0.35);
  --accent-2-glow: rgba(127, 183, 201, 0.28);
  --hero-art-split: 55%;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 20px;

  /* 连续缩放阶梯（8pt 端点为基数） */
  --step-1: clamp(2.75rem, 5.5vw + 1rem, 5.5rem);
  --step-2: clamp(1.75rem, 1.8vw + 1.2rem, 2.75rem);
  --step-3: clamp(1.25rem, 1vw + 0.9rem, 1.625rem);
  --text-lg: clamp(1rem, 0.6vw + 0.85rem, 1.25rem);
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  --gutter: clamp(1.25rem, 5vw, 2rem);
  --side: var(--gutter);
  --header-h: clamp(3.5rem, 5vw, 4.25rem);
  --space-section: clamp(5rem, 10vw, 8rem);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", serif;
}

@media (min-width: 1200px) {
  :root {
    --side: max(var(--gutter), calc((100% - 1140px) / 2));
  }
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: rgba(214, 169, 107, 0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #242c37;
  border-radius: 5px;
  border: 2px solid var(--bg);
}

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

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* 可访问性工具类 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #14100a;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-s);
  text-decoration: none;
  transition: top 0.25s ease-out;
}
.skip-link:focus {
  top: 1rem;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 背景视差层 ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg > * {
  position: absolute;
  will-change: transform;
}
.bg__grid {
  inset: -12% -12%;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 72% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 72% at 50% 0%, #000 30%, transparent 78%);
  opacity: 0.55;
}
.bg__orb {
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  filter: blur(90px);
}
.bg__orb--gold {
  background: radial-gradient(circle, rgba(214, 169, 107, 0.32), transparent 65%);
  top: -18vw;
  right: -12vw;
}
.bg__orb--cyan {
  background: radial-gradient(circle, rgba(127, 183, 201, 0.2), transparent 65%);
  bottom: -22vw;
  left: -14vw;
}
.bg__particles {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

/* ---------- 顶部进度条 ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}
.progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 12px var(--accent-glow);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- 头部导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease-out, border-color 0.3s ease-out;
}
.site-header.is-scrolled {
  background: rgba(11, 13, 16, 0.8);
  border-bottom-color: var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: var(--side);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  text-decoration: none;
  color: var(--text);
}
.brand__mark {
  width: 30px;
  height: 30px;
  color: var(--accent);
}
.brand__text {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand__text em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95em;
  color: var(--accent);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1.4vw, 1.25rem);
}
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  color: var(--text-2);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.25s ease-out;
}
.site-nav__link:hover {
  color: var(--text);
}
.site-nav__link:not(.site-nav__link--cta)::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.5rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}
.site-nav__link:not(.site-nav__link--cta):hover::after {
  transform: scaleX(1);
}
.site-nav__link--cta {
  color: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 1.25rem;
}
.site-nav__link--cta:hover {
  border-color: rgba(214, 169, 107, 0.55);
}

/* 汉堡按钮：无 JS 时保持隐藏 */
.nav-toggle {
  display: none;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 clamp(1.25rem, 2.4vw, 1.75rem);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out, background-color 0.3s ease-out;
}
.btn--primary {
  background: var(--accent);
  color: #16100a;
  box-shadow: 0 8px 24px -10px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px var(--accent-glow);
}
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover {
  border-color: rgba(214, 169, 107, 0.6);
  color: var(--accent-strong);
  transform: translateY(-2px);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: calc(var(--header-h) + clamp(2rem, 6vw, 4.5rem)) var(--side) clamp(4rem, 8vw, 6rem);
}
.hero__inner {
  max-width: 640px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.72);
  }
}

.hero__title {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.02;
}
.hero__title-cn {
  display: block;
  font-size: var(--step-1);
  font-weight: 800;
  letter-spacing: 0.06em;
}
.hero__title-en {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: 0.22em;
  color: var(--text-3);
}
.hero__title-en b {
  color: var(--accent);
  font-size: 1.35em;
  font-weight: 400;
}

.hero__lead {
  margin-top: clamp(1.25rem, 2.4vw, 1.75rem);
  font-size: var(--text-lg);
  line-height: 1.9;
  color: var(--text-2);
  max-width: 34em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(2rem, 3.4vw, 2.5rem);
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.hero__stat dt {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero__stat dd {
  margin-top: 0.25rem;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--text-3);
}

/* 首屏右侧装饰（平板及以上显示） */
.hero__art {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none; /* 装饰层不拦截点击（P0-2） */
}
@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  .hero__art {
    display: block;
    /* 限定在右列（≈45% 宽），卡片/轨道不再压住左列正文与按钮（P0-1）；分界 55% 与下方 grid 1.1fr/0.9fr 同源，改分列需同步改 --hero-art-split */
    inset: 0 0 0 var(--hero-art-split);
  }
}
.hero__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, 92%);
  height: auto;
  transform: translate(-50%, -52%);
  color: var(--accent);
}
.hero__orbit circle,
.hero__orbit ellipse,
.hero__orbit path {
  vector-effect: non-scaling-stroke;
}
.orbit-dot {
  animation: orbitPulse 4s ease-in-out infinite;
}
@keyframes orbitPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.sparkle {
  position: absolute;
  width: clamp(14px, 2.4vw, 22px);
  height: clamp(14px, 2.4vw, 22px);
  color: var(--accent);
  pointer-events: none;
}
.sparkle--a {
  top: 18%;
  right: 12%;
  animation: floaty 5s ease-in-out infinite;
}
.sparkle--b {
  top: 12%;
  right: 22%;
  animation: floaty 6.5s ease-in-out infinite reverse;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(18deg);
  }
}

.hero__card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(340px, 80%);
  pointer-events: auto; /* 恢复 3D 倾角交互（父层 hero__art 已 pointer-events:none） */
}
.hero__card-inner {
  position: relative;
  padding: 1rem;
  background: rgba(19, 23, 31, 0.88);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.75);
}
.hero__card-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}
.hero__card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
}
.hero__card-dot:first-child {
  background: var(--accent);
}
.hero__card-url {
  margin-left: auto;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.hero__card-body {
  padding: 1rem 0.375rem 0.375rem;
}
.hero__card-rows {
  display: grid;
  gap: 0.5rem;
}
.hero__card-row {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--line-strong);
}
.hero__card-row--l {
  width: 82%;
}
.hero__card-row--m {
  width: 64%;
}
.hero__card-row--s {
  width: 46%;
}
.hero__card-chart {
  width: 100%;
  margin-top: 1rem;
}
.hero__card-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.hero__card-tags span {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
}

.hero__scroll {
  position: absolute;
  left: var(--side);
  bottom: clamp(1.25rem, 3vw, 2rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--text-3);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease-out;
}
.hero__scroll:hover {
  color: var(--text-2);
}
.hero__scroll .icon {
  width: 14px;
  height: 14px;
  animation: nudge 2.2s ease-in-out infinite;
}
@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* ---------- 章节通用 ---------- */
.section {
  position: relative;
  padding: var(--space-section) var(--side);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.section__head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.section__kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.section__title {
  margin-top: 0.875rem;
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: 0.04em;
}
.section__intro {
  margin-top: 1rem;
  font-size: var(--text-lg);
  line-height: 1.9;
  color: var(--text-2);
}

/* ---------- 作品 ---------- */
.works__list {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem);
}
.work__inner {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}
@media (min-width: 768px) {
  .work__inner {
    grid-template-columns: 1.1fr 1fr;
  }
  .work:nth-child(even) .work__media {
    order: 2;
  }
}
.work__media {
  position: relative;
  aspect-ratio: 7 / 5;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.work__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.work__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.work__index {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.75rem, 4vw, 4rem);
  line-height: 1;
  color: var(--text-3);
}
@supports (-webkit-text-stroke: 1px rgba(233, 237, 244, 0.22)) {
  .work__index {
    color: transparent;
    -webkit-text-stroke: 1px rgba(233, 237, 244, 0.22);
  }
}
.work__title {
  margin-top: 1rem;
  font-size: var(--step-3);
  letter-spacing: 0.03em;
}
.work__desc {
  margin-top: 0.75rem;
  max-width: 34em;
  line-height: 1.85;
  color: var(--text-2);
}
.work__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.work__tags li {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(214, 169, 107, 0.28);
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
}
.work__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-top: 1.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s ease-out;
}
.work__link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease-out;
}
.work__link:hover {
  color: var(--accent);
}
.work__link:hover .icon {
  transform: translateX(4px);
}

/* ---------- 服务 ---------- */
.services__grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
}
@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.service {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: transform 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out;
}
.service:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 169, 107, 0.4);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}
.service__icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--accent);
  background: rgba(214, 169, 107, 0.1);
  border: 1px solid rgba(214, 169, 107, 0.22);
  border-radius: 12px;
}
.service:nth-child(even) .service__icon {
  color: var(--accent-2);
  background: rgba(127, 183, 201, 0.1);
  border-color: rgba(127, 183, 201, 0.22);
}
.service h3 {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}
.service p {
  margin-top: 0.5rem;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--text-2);
}

/* ---------- 关于 ---------- */
.about__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1.4fr 1fr;
  }
}
.about__text p {
  max-width: 40em;
  font-size: var(--text-lg);
  line-height: 1.9;
  color: var(--text-2);
}
.about__text p + p {
  margin-top: 1rem;
}
.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.about__chips li {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  color: var(--text-2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: color 0.25s ease-out, border-color 0.25s ease-out;
}
.about__chips li:hover {
  color: var(--text);
  border-color: rgba(214, 169, 107, 0.45);
}
.about__tools {
  margin-top: 2rem;
  font-size: var(--text-sm);
  color: var(--text-3);
}
.about__tools b {
  margin-right: 0.25rem;
  color: var(--text-2);
  font-weight: 600;
}
.about__quote {
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--text);
}
.about__mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(240px, 30vw, 360px);
}
.about__rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--accent);
}
.about__rings circle,
.about__rings path {
  vector-effect: non-scaling-stroke;
}
.about__glyph {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8vw, 6.5rem);
  color: var(--accent);
  opacity: 0.9;
  text-shadow: 0 0 40px var(--accent-glow);
}

/* ---------- 联系 ---------- */
.contact {
  text-align: center;
  overflow: hidden;
}
.contact .section__kicker {
  justify-content: center;
}
.contact .section__kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.contact__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact__rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, 92vw);
  height: auto;
  transform: translate(-50%, -50%);
  color: var(--accent);
  opacity: 0.5;
}
.contact__rings circle,
.contact__rings ellipse,
.contact__rings path {
  vector-effect: non-scaling-stroke;
}
.contact__title {
  position: relative;
  margin: 1rem auto 0;
  max-width: 14em;
  font-size: var(--step-2);
  line-height: 1.2;
  letter-spacing: 0.04em;
}
.contact__lead {
  position: relative;
  margin: 1.25rem auto 0;
  max-width: 34em;
  font-size: var(--text-lg);
  line-height: 1.9;
  color: var(--text-2);
}
.contact__actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.contact__wechat {
  font-size: var(--text-sm);
  color: var(--text-3);
}
.contact__wechat b {
  color: var(--text-2);
  font-weight: 600;
}
.contact__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.contact__qr-img {
  width: 148px;
  height: 148px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2rem) var(--side);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer__copy {
  font-size: var(--text-sm);
  color: var(--text-3);
}
.site-footer__links {
  display: flex;
  gap: 0.5rem;
}
.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0.75rem;
  font-size: var(--text-sm);
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.25s ease-out;
}
.site-footer__link:hover {
  color: var(--accent);
}
.site-footer__link .icon {
  width: 15px;
  height: 15px;
}

/* ---------- 移动端导航折叠（仅 JS 启用后，无 JS 时导航直接可见） ---------- */
@media (max-width: 767px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-s);
    cursor: pointer;
  }
  .nav-toggle__line {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  }
  .nav-toggle__line + .nav-toggle__line {
    margin-top: 5px;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: rgba(11, 13, 16, 0.92);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: max-height 0.35s ease-out, border-color 0.35s ease-out, visibility 0s linear 0.35s;
  }
  .js .site-nav.is-open {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    visibility: visible;
    border-bottom-color: var(--line);
    transition: max-height 0.35s ease-out, border-color 0.35s ease-out, visibility 0s;
  }
  .js .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--side) 1.25rem;
  }
  .js .site-nav__link {
    min-height: 48px;
    padding: 0 1rem;
    font-size: 1.0625rem;
    border-radius: var(--radius-s);
  }
  .js .site-nav__link--cta {
    margin-top: 0.5rem;
    justify-content: center;
  }
}

/* ---------- 3D 微倾角（仅桌面精确指针设备） ---------- */
@media (hover: hover) and (pointer: fine) {
  .tilt-wrap {
    perspective: 1100px;
  }
  .tilt {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.18s ease-out;
  }
  .tilt::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.07), transparent 62%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
  }
  .tilt-wrap:hover .tilt::after {
    opacity: 1;
  }
}

/* ---------- 减弱动效：真正关闭/降级（进度条、视差、倾角、动画） ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .progress {
    display: none;
  }
  .bg > *,
  [data-parallax] {
    transform: none !important;
  }
  .tilt {
    transform: none !important;
  }
  .hero__eyebrow-dot,
  .orbit-dot,
  .sparkle,
  .hero__scroll .icon {
    animation: none;
  }
}