@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;500;600;700&family=Jost:wght@300;400;500;600;700&display=swap');

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

:root {
  --grape: #56228b;
  --clay: #8b4513;
  --ink: #1f1726;
  --deep: #130e1a;
  --paper: #f5eef8;
  --dim: #c6b5d4;
  --line: rgba(245, 238, 248, .14);
  --glass: rgba(255, 255, 255, .055);
  --glass2: rgba(255, 255, 255, .105);
  --r1: 28px;
  --r2: 22px;
  --r3: 16px;
  --serif: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --shadow: 0 26px 60px -28px rgba(0, 0, 0, .85);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--deep);
  color: var(--paper);
  font: 400 17px/1.75 var(--sans);
  letter-spacing: .01em;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 18px; }

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

body::before,
body::after { content: ''; position: fixed; pointer-events: none; z-index: 0; }

body::before {
  top: -22%; left: -12%; right: -12%; height: 82vh;
  background:
    radial-gradient(42% 52% at 20% 22%, rgba(86, 34, 139, .55), transparent 70%),
    radial-gradient(36% 46% at 78% 10%, rgba(139, 69, 19, .42), transparent 72%);
  border-radius: 52% 48% 42% 58% / 58% 44% 56% 42%;
  filter: blur(8px);
}

body::after {
  bottom: -26%; left: -15%; right: -15%; height: 72vh;
  background:
    radial-gradient(46% 56% at 28% 78%, rgba(86, 34, 139, .38), transparent 70%),
    radial-gradient(42% 50% at 82% 90%, rgba(139, 69, 19, .3), transparent 72%);
  border-radius: 46% 54% 58% 42% / 44% 56% 44% 56%;
  filter: blur(10px);
}

/* 品牌图钉 */
.brandpin {
  position: fixed; top: 14px; left: 14px; z-index: 60;
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 20px 24px 18px 22px;
  background: var(--glass2);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  transition: transform .3s ease, background .3s ease;
}
.brandpin:hover, .brandpin:focus-visible { transform: translateY(-2px) rotate(-4deg); background: rgba(255, 255, 255, .18); }
.brandpin img { width: 26px; height: 26px; object-fit: contain; }
.brandmark { font-family: var(--serif); font-size: 17px; letter-spacing: .04em; }

/* 首屏 */
.hero {
  position: relative; z-index: 1;
  min-height: 70vh;
  display: grid; place-items: center;
  padding: 108px 20px 70px;
  text-align: center;
  overflow: hidden;
  border-radius: 0 0 46px 42px;
}
.collage { position: absolute; inset: 0; z-index: 0; }
.shot {
  position: absolute;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px #000;
  filter: saturate(.92) brightness(.8);
}
.shot-a {
  width: min(38vw, 300px); height: min(46vh, 330px);
  left: 4%; top: 9%;
  border-radius: 34px 26px 40px 24px;
  transform: rotate(-7deg);
}
.shot-b {
  width: min(34vw, 270px); height: min(40vh, 290px);
  right: 5%; bottom: 8%;
  border-radius: 26px 38px 24px 40px;
  transform: rotate(6deg);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(60% 64% at 50% 52%,
    rgba(19, 14, 26, .94),
    rgba(19, 14, 26, .72) 55%,
    rgba(19, 14, 26, .3) 82%,
    transparent 100%);
}
.hero-txt { position: relative; z-index: 2; max-width: 760px; }
.hero h1 {
  margin: 0 0 18px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 7.2vw, 68px);
  line-height: 1.14;
  letter-spacing: .004em;
  text-shadow: 0 2px 34px rgba(0, 0, 0, .55);
}
.lead {
  margin: 0 auto; max-width: 46ch;
  color: var(--dim); font-weight: 300;
  font-size: clamp(16px, 1.6vw, 19px);
}

/* 主体骨架：aside 在左 */
main { position: relative; z-index: 1; }
.wrap {
  max-width: 1180px; margin: 0 auto;
  padding: 12px 20px 152px;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.rail {
  position: sticky; top: 22px;
  padding: 18px;
  border-radius: 26px 20px 28px 22px;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.rail-title {
  margin: 0 0 9px;
  font-family: var(--serif); font-weight: 500; font-size: 19px;
  letter-spacing: .02em;
}
.rail-rule {
  border: 0; height: 2px; margin: 0 0 14px; border-radius: 2px;
  background: linear-gradient(90deg, var(--grape), var(--clay), transparent);
}
.rail-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rail-list a {
  display: flex; align-items: center; min-height: 40px;
  padding: 8px 10px; border-radius: 14px;
  font-size: 16px; color: var(--dim); text-decoration: none;
  transition: background .25s ease, color .25s ease, padding-left .25s ease;
}
.rail-list a:hover, .rail-list a:focus-visible, .rail-list a.on {
  background: var(--glass2); color: var(--paper); padding-left: 16px;
}

.body {
  padding: clamp(20px, 4vw, 46px);
  border-radius: 28px 22px 28px 22px;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

/* 正文 */
.prose { max-width: 72ch; overflow-wrap: break-word; }
.prose section[id] { scroll-margin-top: 84px; }
.prose section + section {
  margin-top: 46px; padding-top: 34px;
  border-top: 1px solid var(--line);
}
.prose h2 {
  margin: 0 0 10px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 3.4vw, 32px); line-height: 1.22;
}
.prose h3 {
  margin: 28px 0 10px;
  font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.3;
}
.prose h2 + hr,
.prose h3 + hr {
  border: 0; height: 2px; width: 78px; margin: 0 0 22px; border-radius: 2px;
  background: linear-gradient(90deg, var(--grape), var(--clay));
}
.prose p { color: #e9e0f0; }
.prose a {
  color: #d6bcf6; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.prose a:hover { color: #fff; }
.prose strong { color: #fff; font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 1.25em; }
.prose li { margin: 0 0 8px; }
.prose blockquote {
  margin: 22px 0; padding: 4px 0 4px 18px;
  border-left: 3px solid var(--clay);
  font-family: var(--serif); font-size: 19px; color: var(--dim);
}
.prose img { margin: 24px 0; border-radius: 24px; border: 1px solid var(--line); }
.prose figure { margin: 24px 0; }
.prose figcaption { font-size: 16px; color: var(--dim); }

/* 页脚 */
.foot {
  position: relative; z-index: 1;
  padding: 46px 20px 138px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(31, 23, 38, .42), rgba(19, 14, 26, .96));
  border-radius: 42px 42px 0 0;
}
.foot-top {
  max-width: 1180px; margin: 0 auto 34px;
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between;
}
.foot-brand { margin: 0; font-family: var(--serif); font-size: 24px; letter-spacing: .03em; }
.subs { display: flex; flex-wrap: wrap; gap: 10px; }
.subs input {
  min-height: 44px; padding: 0 16px;
  border-radius: var(--r3);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .07);
  color: var(--paper); font: 400 16px var(--sans);
}
.subs input::placeholder { color: #a294b3; }
.subs button {
  min-height: 44px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--r3);
  background: linear-gradient(120deg, var(--grape), var(--clay));
  color: #fff; font: 500 16px var(--sans); cursor: pointer;
}
.subs button:hover { filter: brightness(1.12); }

.foot-cols {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
  border-top: 1px solid var(--line); padding-top: 28px;
}
.foot-cols dl { margin: 0; }
.foot-cols dt {
  font-size: 16px; letter-spacing: .18em; color: var(--dim);
  margin: 0 0 10px;
}
.foot-cols dd { margin: 0; font-size: 16px; }
.foot-cols dd a {
  display: inline-block; min-height: 40px; padding: 8px 0;
  color: var(--dim); text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.foot-cols dd a:hover, .foot-cols dd a:focus-visible { color: #fff; transform: translateX(3px); }

.foot-base {
  max-width: 1180px; margin: 28px auto 0;
  padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: 16px; color: var(--dim);
}
.foot-base p { margin: 0; }
.foot-base a {
  display: inline-flex; align-items: center; min-height: 40px;
  text-decoration: none; color: var(--dim);
}
.foot-base a:hover { color: #fff; }

/* 底部固定导航 */
.dock {
  position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%);
  z-index: 70;
  max-width: calc(100vw - 20px);
  padding: 7px;
  border-radius: 26px;
  background: rgba(31, 23, 38, .74);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 26px 60px -24px #000;
}
.dock ol {
  display: flex; gap: 4px; margin: 0; padding: 0 4px;
  list-style: none;
  overflow-x: auto; scrollbar-width: none;
}
.dock ol::-webkit-scrollbar { display: none; }
.dock a {
  display: flex; align-items: center; min-height: 44px; padding: 0 15px;
  border-radius: 18px; white-space: nowrap;
  font-size: 16px; color: var(--dim); text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.dock a:hover, .dock a:focus-visible, .dock a.on {
  background: linear-gradient(120deg, rgba(86, 34, 139, .9), rgba(139, 69, 19, .72));
  color: #fff;
  transform: translateY(-1px);
}

:focus-visible { outline: 2px solid #d6bcf6; outline-offset: 2px; }

@media (max-width: 900px) {
  .wrap { grid-template-columns: minmax(0, 1fr); padding: 10px 16px 158px; }
  .rail {
    position: static;
    padding: 14px;
    border-radius: 22px 18px 24px 20px;
  }
  .rail-list {
    flex-direction: row; gap: 6px;
    overflow-x: auto; scrollbar-width: none;
    padding-bottom: 2px;
  }
  .rail-list::-webkit-scrollbar { display: none; }
  .rail-list a {
    white-space: nowrap; padding: 8px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .05);
  }
  .rail-list a:hover, .rail-list a.on { padding-left: 14px; }
  .hero { min-height: 62vh; padding: 96px 18px 56px; }
  .shot-a { width: 44vw; height: 34vh; left: -2%; top: 6%; }
  .shot-b { width: 40vw; height: 30vh; right: -2%; bottom: 6%; }
  .foot { padding: 40px 16px 148px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 520px) {
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .foot-brand { font-size: 21px; }
  .dock a { padding: 0 13px; }
  .shot-a { width: 46vw; height: 28vh; top: 4%; }
  .shot-b { width: 42vw; height: 26vh; }
}

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

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