@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #0A0A0F;
  --ink-2: #101018;
  --gold: #E3C071;
  --wine: #8A3141;
  --paper: #EDE8DE;
  --body: #D9D3C8;
  --muted: #9A9184;
  --line: rgba(227, 192, 113, 0.16);
  --hair: rgba(255, 255, 255, 0.07);
  --r: 28px;
  --font-h: 'Space Grotesk', 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --font-b: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --font-m: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--body);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(227, 192, 113, 0.3); color: #fff; }

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

/* ---------- 顶栏 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px clamp(14px, 4vw, 38px);
  background: rgba(10, 10, 15, 0.86);
  border-bottom: 1px solid var(--hair);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-right: 6px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line), 0 6px 18px -8px rgba(227, 192, 113, 0.7);
}

.brand-name {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  white-space: nowrap;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-list::-webkit-scrollbar { display: none; }

.nav-a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.nav-a:hover,
.nav-a.on {
  color: var(--gold);
  border-color: var(--line);
  background: rgba(227, 192, 113, 0.07);
}

.cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1rem;
  color: #1B1109;
  background: linear-gradient(135deg, var(--gold), #C79A4B 60%, var(--wine));
  box-shadow: 0 14px 34px -18px rgba(227, 192, 113, 0.9);
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -16px rgba(227, 192, 113, 0.95); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  perspective: 1px;
  background:
    radial-gradient(120% 78% at 84% -6%, rgba(138, 49, 65, 0.42), transparent 62%),
    radial-gradient(90% 60% at 6% 8%, rgba(227, 192, 113, 0.1), transparent 66%),
    var(--ink);
}

.hero-glow {
  position: absolute;
  z-index: 0;
  inset: -18% -14% auto -14%;
  height: 74%;
  background: radial-gradient(closest-side, rgba(227, 192, 113, 0.18), transparent 72%);
  filter: blur(26px);
  pointer-events: none;
  will-change: transform;
}

.hero-lines {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  will-change: transform;
  background-image:
    linear-gradient(90deg, transparent 0 18%, rgba(227, 192, 113, 0.12) 18% calc(18% + 1px), transparent calc(18% + 1px)),
    linear-gradient(90deg, transparent 0 66%, rgba(227, 192, 113, 0.09) 66% calc(66% + 1px), transparent calc(66% + 1px)),
    linear-gradient(90deg, transparent 0 88%, rgba(138, 49, 65, 0.28) 88% calc(88% + 1px), transparent calc(88% + 1px));
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: clamp(30px, 8vw, 78px) clamp(18px, 5vw, 64px) clamp(18px, 3vw, 30px);
  text-align: right;
}

.hero-title {
  margin: 0;
  font-family: var(--font-h);
  font-size: clamp(1.95rem, 5.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--paper);
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.hero-title::after {
  content: "";
  display: block;
  width: 78px;
  height: 3px;
  margin: 20px 0 0 auto;
  background: linear-gradient(90deg, var(--wine), var(--gold));
}

.hero-media {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 42vh;
  overflow: hidden;
  border-top-left-radius: var(--r);
  background:
    linear-gradient(180deg, rgba(138, 49, 65, 0.26), rgba(10, 10, 15, 0.94)),
    var(--ink-2);
}

.hero-shift {
  height: 114%;
  margin-top: -7%;
  will-change: transform;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.28) contrast(1.06) brightness(0.92);
}

.hero-slash {
  position: absolute;
  z-index: 2;
  left: -6%;
  right: -6%;
  bottom: -46px;
  height: 96px;
  background: linear-gradient(90deg, rgba(138, 49, 65, 0.92), rgba(227, 192, 113, 0.6) 68%, rgba(10, 10, 15, 0));
  transform: rotate(-1.8deg);
  pointer-events: none;
  box-shadow: 0 -18px 60px -30px rgba(227, 192, 113, 0.55);
}

/* ---------- 主体 ---------- */
main { position: relative; z-index: 4; background: var(--ink); }

.wrap {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 54px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 78px) clamp(16px, 4vw, 40px) clamp(40px, 7vw, 88px);
}

.rail {
  position: sticky;
  top: 84px;
  align-self: start;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(22, 22, 31, 0.94), rgba(11, 11, 17, 0.94));
  box-shadow: 0 34px 70px -46px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  counter-reset: rail;
}

.rail-title {
  margin: 0 0 6px;
  font-family: var(--font-h);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.subtitle {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hair);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.rail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.rail-list li { counter-increment: rail; }

.rail-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--muted);
  transition: color 0.22s ease, background 0.22s ease;
}

.rail-list a::before {
  content: counter(rail, decimal-leading-zero);
  font-family: var(--font-m);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(227, 192, 113, 0.55);
}

.rail-list a:hover,
.rail-list a.on {
  color: var(--paper);
  background: rgba(227, 192, 113, 0.08);
}

.rail-list a.on::before { color: var(--gold); }

.story { min-width: 0; }

.prose {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--body);
}

.prose > article {
  position: relative;
  margin: 0 0 clamp(18px, 3vw, 28px);
  padding: clamp(22px, 3.4vw, 42px);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(21, 21, 30, 0.78), rgba(11, 11, 17, 0.82));
  box-shadow: 0 40px 90px -60px rgba(0, 0, 0, 1);
  scroll-margin-top: 96px;
}

.prose > article::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 192, 113, 0.45), rgba(227, 192, 113, 0) 62%);
  border-top-left-radius: var(--r);
  border-top-right-radius: var(--r);
  pointer-events: none;
}

.prose h2 {
  margin: 0 0 14px;
  font-family: var(--font-h);
  font-size: clamp(1.42rem, 3.2vw, 2.05rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.008em;
  color: var(--paper);
}

.prose h2::before {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, var(--wine), var(--gold));
}

.prose h3 {
  margin: 26px 0 10px;
  font-family: var(--font-h);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--gold);
}

.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 1.35em;
}

.prose li { margin: 0 0 9px; }
.prose li::marker { color: var(--gold); }

.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover { color: #F5DFAC; }

.prose strong { color: #FFF7E6; font-weight: 600; }
.prose em { color: var(--gold); font-style: normal; }

.prose time {
  font-family: var(--font-m);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.prose blockquote {
  margin: 0 0 20px;
  padding: 18px 22px;
  border-left: 2px solid var(--wine);
  border-radius: 0 var(--r) var(--r) 0;
  background: rgba(138, 49, 65, 0.13);
  color: #E7DFD2;
}

.prose img {
  margin: 6px 0 22px;
  border-radius: var(--r);
  box-shadow: 0 30px 70px -44px rgba(0, 0, 0, 1);
}

.prose figure { margin: 0 0 22px; }

.prose figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.prose table {
  width: 100%;
  margin: 0 0 22px;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.prose th,
.prose td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--hair);
  text-align: left;
  vertical-align: top;
}

.prose th { color: var(--gold); font-weight: 600; }

.prose hr {
  height: 1px;
  margin: 26px 0;
  border: 0;
  background: var(--line);
}

/* ---------- 页脚 ---------- */
.foot {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.35fr);
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(38px, 6vw, 68px) max(clamp(16px, 4vw, 40px), calc((100% - 1180px) / 2)) 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 16, 24, 0.5), rgba(10, 10, 15, 1));
}

.foot-col { min-width: 0; }

.foot-brand {
  margin: 0 0 8px;
  font-family: var(--font-h);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.foot-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
}

.foot-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.foot-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 1rem;
  color: var(--muted);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.foot-links a:hover { color: var(--gold); padding-left: 4px; }

.sub-label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-m);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.sub-row { display: flex; gap: 8px; flex-wrap: wrap; }

.sub-input {
  flex: 1 1 130px;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper);
  font-size: 1rem;
}

.sub-input::placeholder { color: rgba(154, 145, 132, 0.85); }

.sub-btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1rem;
  color: #1B1109;
  background: linear-gradient(135deg, var(--gold), #C79A4B);
  cursor: pointer;
  transition: filter 0.2s ease;
}

.sub-btn:hover { filter: brightness(1.08); }

.foot-bar {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--hair);
  text-align: center;
}

.foot-copy {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---------- 动效 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  [data-depth] { transform: none !important; }
  .cta, .nav-a, .foot-links a { transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .wrap { grid-template-columns: 220px minmax(0, 1fr); }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .nav { flex-wrap: wrap; gap: 8px; padding-bottom: 8px; }
  .nav-list { order: 3; width: 100%; margin: 0; padding-bottom: 2px; }
  .cta { margin-left: auto; }

  .hero { min-height: 92vh; min-height: 92svh; }
  .hero-copy { padding-top: clamp(24px, 8vw, 44px); }
  .hero-media { min-height: 40vh; }

  .wrap { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 22px; }
  .rail { position: static; padding: 18px 16px 20px; }
  .rail-list { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); display: grid; }
  .subtitle { padding-bottom: 12px; margin-bottom: 12px; }

  .prose > article { border-radius: 22px; }
  .prose h2::before { margin-bottom: 12px; }

  .foot { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .nav-a { padding: 0 10px; }
  .rail-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sub-row { flex-direction: column; }
  .sub-input, .sub-btn { width: 100%; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

button[aria-expanded]{min-width:44px;min-height:44px}
