/* ============================================================
   何卓键 · 作品集 — 暗色画廊 Dark Gallery
   ============================================================ */
:root {
  --bg: #0b0b0d;
  --bg-2: #101013;
  --bg-3: #16161a;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eceae6;
  --text-2: #a8a49c;
  --text-3: #6d6a63;
  --accent: #c9a86a;       /* 黄铜 */
  --accent-2: #e2c78f;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", SimSun, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "JetBrains Mono", Consolas, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

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

::selection { background: var(--accent); color: #0b0b0d; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); letter-spacing: 0.08em; }

.wrap { width: min(1200px, 92vw); margin: 0 auto; }

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 1000; transition: width 0.1s linear;
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px min(4vw, 48px);
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 11, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px min(4vw, 48px);
  border-bottom-color: var(--line);
}
.nav-logo { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.nav-logo-mark { font-family: var(--mono); font-size: 18px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-1); }
.nav-logo-en { font-family: var(--mono); font-size: 10px; color: var(--text-3); letter-spacing: 0.18em; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 13.5px; color: var(--text-2); letter-spacing: 0.06em;
  position: relative; padding: 4px 0; transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--line-2); padding: 7px 18px !important; border-radius: 999px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }
.nav-burger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 6px; z-index: 950;
}
.nav-burger span {
  width: 24px; height: 1.5px; background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: flex-start;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(11,11,13,0.5) 50%, rgba(11,11,13,0.92) 100%),
    linear-gradient(90deg, rgba(11,11,13,0.78) 0%, rgba(11,11,13,0.25) 45%, rgba(11,11,13,0.15) 100%),
    linear-gradient(rgba(11,11,13,0.35), rgba(11,11,13,0.15) 40%, rgba(11,11,13,0.96) 100%);
}
.hero-content { position: relative; text-align: left; padding: 0 6vw; max-width: 760px; }
.hero-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.5em;
  color: var(--accent-2); margin-bottom: 26px;
}
.hero-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(58px, 11vw, 130px); letter-spacing: 0.14em;
  line-height: 1.05; text-shadow: 0 8px 40px rgba(0,0,0,0.55);
}
.hero-sub {
  font-family: var(--serif); font-size: clamp(16px, 2.4vw, 24px);
  color: var(--accent-2); letter-spacing: 0.42em; margin-top: 20px;
}
.hero-line {
  margin-top: 30px; font-size: 15px; color: var(--text-2);
  letter-spacing: 0.14em; line-height: 2.1;
}
.hero-chips { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; margin-top: 36px; }
.hero-chips span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--text-2); border: 1px solid var(--line-2);
  padding: 7px 16px; border-radius: 999px;
  background: rgba(11,11,13,0.45); backdrop-filter: blur(6px);
}
.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero-scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(var(--text-2), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}
.hero-scroll-text { font-family: var(--mono); font-size: 9px; letter-spacing: 0.4em; color: var(--text-3); }

/* ---------- 章节头 ---------- */
.sec-head { margin-bottom: 64px; }
.sec-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.42em;
  color: var(--accent); margin-bottom: 16px;
}
.sec-title {
  font-family: var(--serif); font-size: clamp(34px, 5vw, 54px);
  font-weight: 700; letter-spacing: 0.1em; line-height: 1.2;
}
.sec-desc { margin-top: 18px; color: var(--text-2); max-width: 560px; font-size: 15px; }

/* ---------- 宣言 ---------- */
.manifesto { padding: 130px 0 110px; border-bottom: 1px solid var(--line); }
.manifesto-title {
  font-family: var(--serif); font-size: clamp(26px, 4vw, 42px);
  font-weight: 700; letter-spacing: 0.06em; line-height: 1.5; max-width: 800px;
}
.manifesto-text {
  margin-top: 34px; color: var(--text-2); font-size: 15.5px;
  line-height: 2.3; letter-spacing: 0.05em;
}
.manifesto-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 70px; border-top: 1px solid var(--line); padding-top: 44px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--serif); font-size: clamp(42px, 5vw, 64px);
  font-weight: 700; color: var(--text); line-height: 1;
}
.stat-plus { font-family: var(--serif); font-size: 22px; color: var(--accent); display: inline; }
.stat-label { margin-top: 12px; font-size: 13px; color: var(--text-3); letter-spacing: 0.12em; }

/* ---------- 作品总区 ---------- */
.works { padding: 110px 0 0; }

/* ---------- 案例 ---------- */
.case { padding: 90px 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: none; }
.case-head { display: flex; align-items: flex-start; gap: 28px; flex-wrap: wrap; }
.case-no {
  font-family: var(--serif); font-size: clamp(56px, 8vw, 96px);
  font-weight: 700; color: transparent; line-height: 0.9;
  -webkit-text-stroke: 1px var(--accent); opacity: 0.85;
}
.case-title-wrap { flex: 1; min-width: 240px; }
.case-title {
  font-family: var(--serif); font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700; letter-spacing: 0.08em;
}
.case-meta { margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--text-3); letter-spacing: 0.12em; }
.case-tags { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-top: 8px; }
.case-tags span {
  font-size: 12px; color: var(--text-2); letter-spacing: 0.08em;
  border: 1px solid var(--line-2); padding: 5px 14px; border-radius: 999px;
}
.case-brief {
  margin: 34px 0 44px; max-width: 760px; color: var(--text-2);
  font-size: 15.5px; line-height: 2.2;
}
.case-hero { position: relative; margin-bottom: 70px; }
.case-hero img {
  width: 100%; max-height: 78vh; object-fit: cover;
  border-radius: 4px; cursor: zoom-in;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.case-hero figcaption {
  margin-top: 14px; font-family: var(--mono); font-size: 11.5px;
  color: var(--text-3); letter-spacing: 0.12em;
}
.case-block { margin-bottom: 70px; }
.case-block-title {
  font-family: var(--serif); font-size: 19px; font-weight: 700;
  letter-spacing: 0.1em; margin-bottom: 8px;
  display: flex; align-items: center; gap: 12px;
}
.case-block-title .mono {
  font-size: 11px; color: var(--accent); border: 1px solid rgba(201,168,106,0.35);
  width: 26px; height: 26px; display: inline-flex; align-items: center;
  justify-content: center; border-radius: 4px; flex-shrink: 0;
}
.case-block-desc { color: var(--text-3); font-size: 13.5px; margin-bottom: 22px; letter-spacing: 0.04em; }

/* ---------- 图片网格 ---------- */
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.ph { position: relative; overflow: hidden; border-radius: 4px; cursor: zoom-in; background: var(--bg-3); }
.ph img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: saturate(0.96);
}
.ph:hover img { transform: scale(1.045); filter: saturate(1.05); }
.ph figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.92);
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.ph:hover figcaption { opacity: 1; transform: translateY(0); }

/* ---------- 对比滑块 ---------- */
.compare {
  position: relative; border-radius: 4px; overflow: hidden;
  user-select: none; touch-action: none; cursor: ew-resize;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  aspect-ratio: 16 / 9;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-after-wrap {
  position: absolute; inset: 0; width: 50%; overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.65);
}
.compare-after { width: 100vw; max-width: none; }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 44px; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
}
.compare-knob {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(11,11,13,0.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.75); color: #fff;
  font-size: 16px; cursor: grab;
}
.compare-label {
  position: absolute; top: 16px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em;
  color: #fff; background: rgba(11,11,13,0.6); padding: 5px 12px;
  border-radius: 3px; backdrop-filter: blur(6px);
}
.compare-label-l { left: 16px; }
.compare-label-r { right: 16px; }

/* ---------- 规格表 ---------- */
.spec-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec-list li {
  display: flex; gap: 24px; padding: 15px 4px;
  border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--text-2);
}
.spec-k {
  flex-shrink: 0; width: 110px; font-family: var(--mono);
  font-size: 11.5px; color: var(--accent); letter-spacing: 0.14em;
  padding-top: 3px;
}
.spec-strip { grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.spec-strip li { padding: 13px 4px; }
.case-tail { margin-top: 60px; }

/* ---------- 视频框 ---------- */
.video-frame {
  position: relative; border-radius: 4px; overflow: hidden;
  background: var(--bg-3); box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.video-frame video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.video-frame-xl video { aspect-ratio: 16 / 8; }
.video-tag {
  position: absolute; right: 14px; top: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: #fff; background: rgba(11,11,13,0.62); padding: 5px 12px;
  border-radius: 3px; backdrop-filter: blur(6px);
}

/* ---------- 品牌孵化 ---------- */
.brand { padding: 120px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.brand-intro {
  margin-top: 30px;
  padding: 6px 0 6px 24px;
  border-left: 2px solid var(--accent);
  max-width: 780px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 2.05;
}
.brand-block { margin-top: 64px; }
.brand-block:first-of-type { margin-top: 10px; }
.brand-block-desc {
  margin: -6px 0 28px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.9;
  max-width: 660px;
}
.brand-logo-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 20px; }
.brand-logo-cell {
  position: relative; overflow: hidden; border-radius: 4px;
  background: var(--bg-3); cursor: zoom-in;
}
.brand-logo-cell img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transition: transform 0.7s var(--ease);
}
.brand-logo-cell:hover img { transform: scale(1.03); }
.brand-colors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.swatch {
  border-radius: 4px; padding: 16px 14px 14px; aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; gap: 5px; color: #1a1917;
}
.swatch.light { color: #f5f2ec; }
.swatch strong { font-size: 13px; letter-spacing: 0.06em; }
.swatch span { font-family: var(--mono); font-size: 10.5px; opacity: 0.85; }
.swatch em {
  font-family: var(--mono); font-size: 9px; font-style: normal;
  letter-spacing: 0.18em; opacity: 0.6; margin-top: auto;
}
.brand-spec { max-width: 720px; }
.brand-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 80px; }
.brand-stat { border: 1px solid var(--line); border-radius: 4px; padding: 24px 22px; background: var(--bg-3); }
.brand-stat-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--accent); }
.brand-stat p { margin-top: 12px; font-size: 13.5px; line-height: 1.9; color: var(--text-2); }
@media (max-width: 900px) {
  .brand-logo-grid { grid-template-columns: 1fr; }
  .brand-colors { grid-template-columns: repeat(3, 1fr); }
  .brand-stats { grid-template-columns: 1fr; }
}
.brand-block-title {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  color: var(--text);
}
.brand-block-title .mono {
  display: inline-block;
  color: var(--accent);
  margin-right: 12px;
  font-size: 0.75em;
}
.brand-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
}
.brand-scroll::-webkit-scrollbar { height: 4px; }
.brand-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 2px; }
.brand-scroll .brand-card {
  flex: 0 0 auto;
  width: min(320px, 72vw);
  scroll-snap-align: start;
}
.brand-grid {
  display: grid;
  gap: 18px;
}
.brand-grid-4 { grid-template-columns: repeat(4, 1fr); }
.brand-grid-5 { grid-template-columns: repeat(5, 1fr); }
.brand-card {
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-3);
  cursor: zoom-in;
}
.brand-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.brand-card:hover img { transform: scale(1.045); }

/* ---------- 产品设计 ---------- */
.products { padding: 120px 0; border-top: 1px solid var(--line); }
.prod {
  display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 54px;
  align-items: start; padding: 60px 0; border-bottom: 1px solid var(--line);
}
.prod:first-of-type { padding-top: 10px; }
.prod-flip .prod-info { order: 2; }
.prod-no { font-size: 12px; color: var(--accent); letter-spacing: 0.3em; margin-bottom: 16px; }
.prod-name { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: 0.06em; }
.prod-desc { margin: 22px 0 26px; color: var(--text-2); font-size: 14.5px; line-height: 2.1; }
.prod-main { border-radius: 4px; overflow: hidden; cursor: zoom-in; margin-bottom: 14px; background: var(--bg-3); }
.prod-main img, .prod-main video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.7s var(--ease); }
.prod-main:hover img, .prod-main:hover video { transform: scale(1.03); }
.prod-bloom .prod-main, .prod-bloom .prod-main img, .prod-bloom .prod-main video { aspect-ratio: 4 / 3; }
.prod-bloom { grid-template-columns: 0.75fr 1.65fr; }
.prod-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prod-thumbs .ph img { aspect-ratio: 4 / 3; }

/* ---------- 建模探索 ---------- */
.modeling { padding: 120px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.model-cell { position: relative; }
.model-cell img, .model-cell video {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 4px; background: var(--bg-3);
  transition: transform 0.7s var(--ease);
}
.model-cell:hover img { transform: scale(1.045); }
.model-cell figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.92);
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  opacity: 0; transition: opacity 0.4s;
}
.model-cell:hover figcaption { opacity: 1; }
.model-video { cursor: pointer; }

/* ---------- 关于 ---------- */
.about { padding: 120px 0; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 70px; }
.about-text p { color: var(--text-2); font-size: 15.5px; line-height: 2.3; margin-bottom: 24px; letter-spacing: 0.03em; }
.about-text p:first-child { color: var(--text); font-family: var(--serif); font-size: 20px; letter-spacing: 0.08em; }
.about-skill-box, .about-exp {
  border: 1px solid var(--line); border-radius: 6px; padding: 30px;
  background: var(--bg-2);
}
.about-exp { margin-top: 20px; }
.about-skill-title {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em;
  color: var(--accent); margin-bottom: 20px;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tags span {
  font-size: 13px; color: var(--text-2); border: 1px solid var(--line-2);
  padding: 6px 16px; border-radius: 999px; transition: all 0.3s;
}
.skill-tags span:hover { border-color: var(--accent); color: var(--accent-2); }
.about-exp-item { font-size: 14px; color: var(--text-2); line-height: 2; }
.about-exp-item strong { color: var(--text); display: block; font-size: 15px; }

/* ---------- 联系 ---------- */
.contact {
  padding: 150px 0 130px; text-align: center; position: relative;
  border-top: 1px solid var(--line); overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(201,168,106,0.13), transparent 62%),
    var(--bg);
}
.contact-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.42em; color: var(--accent); }
.contact-title {
  font-family: var(--serif); font-size: clamp(34px, 6vw, 64px);
  font-weight: 700; letter-spacing: 0.1em; line-height: 1.5; margin-top: 30px;
}
.contact-cards { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 64px; }
.contact-card {
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  border: 1px solid var(--line-2); border-radius: 8px;
  padding: 28px 44px; min-width: 280px;
  transition: border-color 0.35s, transform 0.35s var(--ease), background 0.35s;
}
.contact-card:hover {
  border-color: var(--accent); transform: translateY(-4px);
  background: rgba(201,168,106,0.05);
}
.contact-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--text-3); }
.contact-v { font-size: 17px; letter-spacing: 0.06em; color: var(--text); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer span { font-size: 12px; color: var(--text-3); letter-spacing: 0.1em; }
.footer .mono { color: var(--text-3); font-size: 10px; }
.footer-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--text-3); text-decoration: none; transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: var(--accent); }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(5, 5, 6, 0.94); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-body { max-width: 80vw; max-height: 76vh; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px; }
.lb-body img {
  max-width: 76vw; max-height: 66vh; object-fit: contain;
  border-radius: 4px; box-shadow: 0 40px 120px rgba(0,0,0,0.7);
  transform: scale(0.96); transition: transform 0.4s var(--ease);
}
.lightbox.open .lb-body img { transform: scale(1); }
.lb-body figcaption {
  font-family: var(--mono); font-size: 12px; color: var(--text-2);
  letter-spacing: 0.14em;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2); color: var(--text);
  width: 52px; height: 52px; border-radius: 50%;
  font-size: 26px; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: all 0.3s; backdrop-filter: blur(6px);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--accent); color: #0b0b0d; border-color: var(--accent);
}
.lb-close { top: 26px; right: 30px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--text-3); letter-spacing: 0.24em;
}

/* ---------- 渐入动画 ---------- */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .model-grid { grid-template-columns: repeat(3, 1fr); }
  .manifesto-stats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 0; background: rgba(11,11,13,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; gap: 34px;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 20px; font-family: var(--serif); letter-spacing: 0.2em; }
  .nav-burger { display: flex; }
  .hero { justify-content: center; }
  .hero-content { text-align: center; max-width: none; }
  .hero-chips { justify-content: center; }
  .hero-shade {
    background:
      radial-gradient(ellipse at center 42%, transparent 0%, rgba(11,11,13,0.42) 68%, rgba(11,11,13,0.9) 100%),
      linear-gradient(rgba(11,11,13,0.35), rgba(11,11,13,0.15) 40%, rgba(11,11,13,0.96) 100%);
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .bloom-steps { grid-template-columns: 1fr; }
  .brand-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .brand-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .prod { grid-template-columns: 1fr; gap: 30px; }
  .prod-flip .prod-info { order: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-head { gap: 16px; }
  .compare { aspect-ratio: 4 / 5; }
  .compare-after { width: 100vw; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid-4, .brand-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .spec-strip { grid-template-columns: 1fr; }
  .manifesto-stats { grid-template-columns: 1fr 1fr; }
  .contact-card { width: 100%; }
  .case-brief { line-height: 2; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lb-close { right: 10px; top: 14px; }
}

/* ---------- 减少动画偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img { animation: none; }
  .hero-scroll-line { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ph img, .prod-main img { transition: none; }
}
