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

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

:root {
  --ink: #000000;
  --paper: #ffffff;
  --wash: #efefec;
  --rule: rgba(0, 0, 0, .14);
  --rule-w: rgba(255, 255, 255, .22);
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --serif: "Cormorant Infant", "Songti SC", "Noto Serif SC", "SimSun", serif;
  --script: "Great Vibes", "Cormorant Infant", "Songti SC", serif;
}

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

body {
  margin: 0;
  padding-top: 64px;
  background: var(--wash);
  color: var(--ink);
  font: 400 17px/1.75 var(--sans);
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid #000; outline-offset: 3px; }

/* 顶栏 */
.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.1rem;
  background: rgba(255, 255, 255, .87);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.brand .mark { width: 34px; height: 34px; display: block; }
.mark-txt {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .1em;
  line-height: 1;
  padding: .38rem .5rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.top-r { display: flex; align-items: center; gap: .6rem; }

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1.05rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 1rem;
  letter-spacing: .08em;
  transition: background .22s ease;
}
.cta:hover { background: #363636; }

.burger {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: 0 .85rem;
  background: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: background .22s ease, color .22s ease;
}
.burger:hover { background: var(--ink); color: var(--paper); }
.burger-b { display: grid; gap: 4px; width: 16px; }
.burger-b i { display: block; height: 1.5px; background: currentColor; }

/* 全屏菜单 */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: 1.1rem 1.4rem 1.6rem;
  background: #000;
  color: #fff;
  transform: translateY(-101%);
  visibility: hidden;
  transition: transform .48s cubic-bezier(.5, 0, .2, 1), visibility .48s;
}
body.menu-open { overflow: hidden; }
body.menu-open .menu { transform: none; visibility: visible; }

.menu-x {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  background: none;
  border: 1px solid var(--rule-w);
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: background .22s ease, color .22s ease;
}
.menu-x:hover { background: #fff; color: #000; }

.menu-nav { align-self: center; overflow-y: auto; padding: 1rem 0; }
.menu-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 820px;
}
.menu-list li { border-bottom: 1px solid var(--rule-w); }
.menu-list li:first-child { border-top: 1px solid var(--rule-w); }
.menu-list a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: .5rem 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 5.6vw, 2.4rem);
  line-height: 1.2;
  transition: padding-left .22s ease, opacity .22s ease;
}
.menu-list a:hover { padding-left: .7rem; opacity: .72; }
.menu-brand {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: .32em;
  opacity: .55;
}

/* 首屏 */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - 64px);
  padding: 6rem 1.4rem 3rem;
  background: #000;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  opacity: 0;
  transition: opacity .9s ease;
}
.hero-shot:first-child,
.hero-shot.on { opacity: 1; }
.hero-veil { position: absolute; inset: 0; background: rgba(0, 0, 0, .56); }

.hero-in {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-k {
  display: block;
  font-size: 1rem;
  letter-spacing: .34em;
  margin-bottom: .9rem;
  color: #fff;
}
.hero h1 {
  margin: 0;
  max-width: 17ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.15rem, 7.2vw, 5.4rem);
  line-height: 1.03;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.hero-more {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 1.6rem;
  padding: 0 1.25rem;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: 1rem;
  letter-spacing: .12em;
  transition: background .22s ease, color .22s ease;
}
.hero-more:hover { background: #fff; color: #000; }

/* 主体 */
.main { display: block; }

.grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.4rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 3rem;
  align-items: start;
}

.content { min-width: 0; display: grid; gap: 1.5rem; }

.content > article {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 1.9rem 1.6rem;
  scroll-margin-top: 84px;
}

.content h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 3.6vw, 2.1rem);
  line-height: 1.22;
  margin: 0 0 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--ink);
}
.content h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.24rem;
  margin: 1.7rem 0 .6rem;
}
.content ul,
.content ol { margin: 0 0 1.1em; padding-left: 1.35em; }
.content li { margin-bottom: .45em; }
.content strong { font-weight: 600; }
.content a { text-decoration: underline; text-underline-offset: 3px; }
.content blockquote {
  margin: 0 0 1.2em;
  padding: .2em 0 .2em 1.1em;
  border-left: 3px solid var(--ink);
  font-family: var(--serif);
  font-size: 1.1rem;
}
.content figure { margin: 0 0 1.2em; }
.content figcaption { font-size: 1rem; margin-top: .5em; opacity: .7; }
.content img { border-radius: 12px; display: block; }
.content table { width: 100%; border-collapse: collapse; font-size: 1rem; margin-bottom: 1.2em; }
.content th,
.content td { border-bottom: 1px solid var(--rule); padding: .6em .5em; text-align: left; vertical-align: top; }
.content hr { border: 0; border-top: 1px solid var(--ink); margin: 1.6em 0; }

/* 侧栏 */
.side {
  position: sticky;
  top: 88px;
  align-self: start;
  border-left: 1px solid var(--rule);
  padding-left: 1.4rem;
}
.side-k { display: block; font-size: 1rem; letter-spacing: .3em; color: #4c4c4c; }
.side-h {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: .35rem 0 1.2rem;
}
.side-list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.side-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  border-bottom: 1px solid var(--rule);
  transition: padding-left .2s ease;
}
.side-list a:hover { padding-left: .45rem; }
.side-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  letter-spacing: .08em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 页脚 */
.foot {
  background: #000;
  color: #fff;
  padding: 3rem 1.4rem 1.4rem;
}
.foot-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 2rem;
}
.foot-addr { font-style: normal; display: flex; flex-direction: column; gap: .3rem; }
.foot-b { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .08em; }
.foot-k { font-size: 1rem; letter-spacing: .06em; opacity: .62; }
.foot-l { list-style: none; margin: 0; padding: 0; }
.foot-l a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  border-bottom: 1px solid var(--rule-w);
  transition: opacity .2s ease;
}
.foot-l a:hover { opacity: .6; }
.foot-mark { justify-self: end; }
.foot-mark .mark { width: 38px; height: 38px; filter: invert(1); }
.foot-mark .mark-txt { border-color: #fff; color: #fff; }
.foot-base {
  max-width: 1200px;
  margin: 2.4rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-w);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.foot-base p { margin: 0; font-family: var(--script); font-size: 1.15rem; letter-spacing: .05em; }
.foot-base a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  letter-spacing: .1em;
  opacity: .75;
}

/* 滚动显现 */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding: 2.5rem 1.1rem 4rem;
  }
  .side {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding: 1.4rem 0 0;
  }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-mark { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 620px) {
  .top { padding: 0 .8rem; }
  .cta { padding: 0 .85rem; letter-spacing: .04em; }
  .hero { padding: 5rem 1.1rem 2.6rem; }
  .content > article { padding: 1.5rem 1.1rem; border-radius: 14px; }
  .foot { padding: 2.4rem 1.1rem 1.2rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

@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}
