﻿/* ============================================================
   叩寂珠宝 · KouJi Gems & Meteorites
   深空墨蓝 · 月白 · 克制鎏金
   ============================================================ */

:root {
  --bg: #0A0E19;
  --bg-2: #0D1424;
  --bg-3: #111A2E;
  --bg-card: #0F1626;
  --line: rgba(201, 167, 106, 0.16);
  --line-soft: rgba(241, 237, 227, 0.08);
  --ink: #F1EDE3;
  --ink-2: #A7AFC2;
  --ink-3: #6E7690;
  --gold: #C9A76A;
  --gold-2: #E4C98F;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --latin: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(201, 167, 106, .28); color: #fff; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 14, 25, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: baseline; gap: 14px; }
.nav-brand-cn { font-size: 22px; font-weight: 700; letter-spacing: .35em; }
.nav-brand-en { font-family: var(--latin); font-size: 11px; letter-spacing: .32em; color: var(--gold); text-transform: uppercase; }
.nav-links { display: flex; gap: 38px; }
.nav-links a {
  position: relative;
  font-size: 14px;
  letter-spacing: .18em;
  color: var(--ink-2);
  transition: color .3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); margin: 6px 0; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 主视觉 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(35, 54, 96, .55), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(22, 34, 64, .5), transparent 65%),
    linear-gradient(180deg, #070A13 0%, #0A0E19 45%, #0C1220 100%);
}
.hero-stars { position: absolute; inset: 0; }
.hero::after {
  content: "";
  position: absolute;
  left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  width: 64vw; height: 64vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(201, 167, 106, .07), transparent 62%);
  pointer-events: none;
  z-index: 1;
}
.hero-stars i {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: .12; transform: scale(.8); }
  50% { opacity: .9; transform: scale(1.1); }
}
.hero-inner { position: relative; z-index: 2; padding: 120px 24px 80px; }
.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  letter-spacing: .42em;
  color: var(--gold);
  margin-bottom: 44px;
}
.hero-kicker .line { width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-kicker .line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.hero-title {
  font-size: clamp(54px, 9vw, 110px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: .12em;
  color: var(--ink);
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-2), var(--gold) 55%, #8a6a35);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-family: var(--latin);
  font-size: clamp(16px, 2.2vw, 24px);
  letter-spacing: .5em;
  color: var(--gold);
  margin-top: 30px;
  text-transform: uppercase;
}
.hero-text {
  margin-top: 26px;
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--ink-2);
  letter-spacing: .22em;
  line-height: 2.3;
}
.hero-cta {
  display: inline-block;
  margin-top: 46px;
  padding: 15px 52px;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-size: 14px;
  letter-spacing: .34em;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s;
}
.hero-cta:hover {
  background: var(--gold);
  color: #0A0E19;
  box-shadow: 0 0 40px rgba(201, 167, 106, .35);
}
.hero-scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-size: 10px;
  letter-spacing: .5em;
  z-index: 2;
}
.hero-scroll i {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drip 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 40% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 章节通用 ---------- */
.section { padding: 130px 0; position: relative; }
.section-head { margin-bottom: 72px; text-align: center; }
.section-index {
  display: inline-block;
  font-family: var(--latin);
  font-size: 15px;
  letter-spacing: .4em;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 46px; height: 46px;
  line-height: 44px;
  margin-bottom: 22px;
}
.section-title { font-size: clamp(30px, 4vw, 42px); font-weight: 600; letter-spacing: .3em; }
.section-en { font-family: var(--latin); font-size: 12px; letter-spacing: .5em; color: var(--ink-3); margin-top: 12px; text-transform: uppercase; }

/* ---------- 品牌理念 ---------- */
.philosophy { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 90px;
  align-items: center;
}
.philosophy-words { display: flex; gap: 60px; justify-content: center; }
.word-block { text-align: center; }
.word-char {
  display: block;
  font-size: clamp(96px, 12vw, 160px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  background: linear-gradient(160deg, #fff 10%, #9aa4bd 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.word-en { margin-top: 18px; font-family: var(--latin); font-size: 13px; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; }
.word-text { margin-top: 10px; font-size: 13px; letter-spacing: .12em; color: var(--ink-3); }
.philosophy-body .lead { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: .12em; color: var(--ink); margin-bottom: 26px; }
.philosophy-body p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 20px; letter-spacing: .05em; }
.philosophy-mark {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.philosophy-mark span:first-child { font-size: 14px; letter-spacing: .14em; color: var(--ink); }
.philosophy-mark span:last-child { font-family: var(--latin); font-size: 12px; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; }

/* ---------- 收藏系列 ---------- */
.lines { background: var(--bg); }
.lines-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.line-card {
  position: relative;
  padding: 64px 56px 58px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-card));
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color .5s, transform .5s var(--ease);
}
.line-card:hover { border-color: var(--line); transform: translateY(-6px); }
.line-num { font-family: var(--latin); font-size: 64px; line-height: 1; color: rgba(201, 167, 106, .16); }
.line-title { font-size: 30px; font-weight: 600; letter-spacing: .22em; margin: 20px 0 6px; }
.line-sub { font-family: var(--latin); font-size: 12px; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; margin-bottom: 22px; }
.line-text { color: var(--ink-2); font-size: 14.5px; line-height: 2.1; letter-spacing: .04em; }
.line-link { display: inline-block; margin-top: 30px; font-size: 13px; letter-spacing: .24em; color: var(--gold-2); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: color .3s; }
.line-link:hover { color: var(--ink); }
.line-soon {
  display: inline-block;
  margin-top: 30px;
  padding: 7px 18px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--ink-3);
}
.line-card-jade::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 80% 0%, rgba(139, 169, 141, .08), transparent 60%);
  pointer-events: none;
}

/* ---------- 作品集 ---------- */
.works { background: linear-gradient(180deg, var(--bg-2), var(--bg) 30%); }
.works-intro { text-align: center; color: var(--ink-2); font-size: 15px; letter-spacing: .12em; margin: -34px 0 44px; }
.filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.filter-btn {
  background: none;
  border: 1px solid var(--line-soft);
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .22em;
  padding: 11px 26px;
  cursor: pointer;
  transition: all .35s var(--ease);
}
.filter-btn span { font-family: var(--latin); color: var(--ink-3); margin-left: 6px; }
.filter-btn:hover { border-color: var(--line); color: var(--ink); }
.filter-btn.active { border-color: var(--gold); color: var(--gold-2); background: rgba(201, 167, 106, .06); }
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}
.work-card {
  position: relative;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color .45s, transform .45s var(--ease);
}
.work-card:hover { border-color: var(--line); transform: translateY(-4px); }
.work-card::after {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid rgba(201, 167, 106, 0);
  transition: border-color .45s;
  pointer-events: none;
  z-index: 1;
}
.work-card:hover::after { border-color: rgba(201, 167, 106, .5); }
.work-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #0B101D; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .6s; }
.work-card:hover .work-media img { transform: scale(1.06); }
.work-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 10, 18, .55));
  opacity: 0;
  transition: opacity .45s;
}
.work-card:hover .work-media::after { opacity: 1; }
.work-info { padding: 18px 20px 20px; }
.work-name { font-size: 15px; letter-spacing: .12em; color: var(--ink); }
.work-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.work-cat { font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.work-no { font-family: var(--latin); font-size: 11px; letter-spacing: .18em; color: var(--ink-3); }
.work-card.hide { display: none; }

/* ---------- 收藏服务 ---------- */
.service { background: var(--bg); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-item {
  padding: 44px 32px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(170deg, var(--bg-3), var(--bg-card));
  text-align: center;
  transition: border-color .4s, transform .4s var(--ease);
}
.service-item:hover { border-color: var(--line); transform: translateY(-4px); }
.service-icon {
  width: 52px; height: 52px;
  margin: 0 auto 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  line-height: 50px;
  font-size: 18px;
  color: var(--gold);
}
.service-item h3 { font-size: 17px; letter-spacing: .24em; font-weight: 600; margin-bottom: 12px; }
.service-item p { font-size: 13px; color: var(--ink-3); line-height: 2; letter-spacing: .04em; }

/* ---------- 联系我们 ---------- */
.contact { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.contact-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--line-soft);
  background: linear-gradient(170deg, var(--bg-3), var(--bg-card));
  padding: 64px 56px;
}
.contact-lead { font-size: 24px; letter-spacing: .3em; font-weight: 600; margin-bottom: 16px; }
.contact-text { color: var(--ink-2); font-size: 14px; letter-spacing: .06em; margin-bottom: 40px; }
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.contact-label { font-size: 13px; letter-spacing: .28em; color: var(--ink-3); }
.contact-value { font-size: 14.5px; letter-spacing: .06em; color: var(--ink); }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 64px;
  text-align: center;
  background: var(--bg);
}
.footer-brand { display: flex; justify-content: center; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.footer-cn { font-size: 20px; font-weight: 700; letter-spacing: .3em; }
.footer-en { font-family: var(--latin); font-size: 11px; letter-spacing: .32em; color: var(--gold); text-transform: uppercase; }
.footer-note { font-size: 13px; color: var(--ink-2); letter-spacing: .18em; margin-bottom: 14px; }
.footer-legal { font-size: 12px; color: var(--ink-3); letter-spacing: .1em; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(5, 8, 15, .94);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { max-width: min(860px, 88vw); text-align: center; transform: translateY(14px); transition: transform .4s var(--ease); }
.lightbox.open .lb-figure { transform: none; }
#lbImg {
  max-width: 100%;
  max-height: 66vh;
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid rgba(201, 167, 106, .28);
  background: #0B101D;
}
.lb-caption { margin-top: 22px; color: var(--ink); }
.lb-caption .lb-no { font-family: var(--latin); font-size: 13px; letter-spacing: .3em; color: var(--ink-3); display: block; margin-bottom: 8px; }
.lb-caption .lb-name { font-size: 22px; letter-spacing: .2em; font-weight: 600; }
.lb-caption .lb-cat { display: inline-block; margin-left: 14px; font-size: 11px; letter-spacing: .22em; color: var(--gold); }
.lb-note { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); letter-spacing: .06em; }
.lb-archive { margin-top: 14px; font-size: 11px; letter-spacing: .24em; color: var(--gold); border-top: 1px solid var(--line-soft); padding-top: 12px; display: inline-block; }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: none;
  border: 1px solid var(--line-soft);
  color: var(--ink);
  cursor: pointer;
  z-index: 3;
  transition: border-color .3s, color .3s, background .3s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { border-color: var(--gold); color: var(--gold-2); }
.lb-close { top: 26px; right: 30px; width: 44px; height: 44px; font-size: 26px; line-height: 40px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 52px; height: 76px; font-size: 34px; line-height: 70px; }
.lb-prev { left: 26px; }
.lb-next { right: 26px; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .philosophy-grid { grid-template-columns: 1fr; gap: 56px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
}
@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .nav-inner { padding: 18px 22px; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: rgba(10, 14, 25, .97);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    padding-left: 48px;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    border-left: 1px solid var(--line-soft);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 16px; }
  .nav-toggle { display: block; position: relative; z-index: 120; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 52px; }
  .lines-grid { grid-template-columns: 1fr; }
  .line-card { padding: 44px 32px; }
  .philosophy-words { gap: 40px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .work-info { padding: 12px 14px 14px; }
  .work-name { font-size: 13px; }
  .work-cat { font-size: 10px; }
  .service-grid { grid-template-columns: 1fr; }
  .contact-box { padding: 44px 26px; }
  .contact-item { flex-direction: column; gap: 6px; }
  #lbImg { max-height: 52vh; }
  .lb-caption .lb-name { font-size: 17px; }
}

/* ---------- 页脚 VI 入口 ---------- */
.footer-vi { margin-top: 6px; }
.footer-vi a { font-size: 12px; letter-spacing: .22em; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.footer-vi a:hover { color: var(--gold-2); border-color: var(--gold); }


/* ---------- 英文版适配 ---------- */
html[lang="en"] body { font-family: var(--latin); }
html[lang="en"] .nav-brand-cn,
html[lang="en"] .footer-cn { font-family: var(--serif); }
html[lang="en"] .nav-links { gap: 30px; }
html[lang="en"] .hero-title { font-family: var(--latin); font-weight: 600; letter-spacing: .04em; line-height: 1.15; }
html[lang="en"] .hero-kicker { letter-spacing: .3em; font-size: 12px; }
html[lang="en"] .nav-links a,
html[lang="en"] .section-en,
html[lang="en"] .footer-note { letter-spacing: .18em; }
html[lang="en"] .word-en { letter-spacing: .14em; }
html[lang="en"] .contact-label { letter-spacing: .2em; }
html[lang="en"] .line-text { letter-spacing: .02em; }
.nav-lang { font-size: 13px; letter-spacing: .14em; color: var(--gold); }
.nav-lang::after { display: none; }
