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

:root {
  --ink: #000000;
  --paper: #ffffff;
  --serif: 'Newsreader', "Songti SC", "Noto Serif SC", Georgia, serif;
  --sans: 'Roboto', "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
.top :focus-visible, .foot :focus-visible, .hero :focus-visible { outline-color: #fff; }

/* ---------- 吸顶导航 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem clamp(.6rem, 3vw, 2rem);
  background: #000;
  color: #fff;
  border-bottom: 2px solid #000;
}

.mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

.mark-img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }

.top nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.top nav p {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .1rem;
  margin: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.top nav p::-webkit-scrollbar { display: none; }

.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .6rem;
  color: #fff;
  text-decoration: none;
  font-size: .92rem;
  letter-spacing: .02em;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, opacity .2s ease;
}

.top nav a:hover { border-bottom-color: #fff; }

.cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 .85rem;
  border-radius: 10px;
  border-bottom: 3px solid #000;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.cta:hover { background: #000; color: #fff; border-bottom-color: #fff; }

/* ---------- 主栅格 ---------- */
main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

/* ---------- 首屏海报 ---------- */
.hero {
  grid-column: 1 / -1;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.hero-media { position: absolute; inset: 0; z-index: 0; }

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero-img.is-on { opacity: .42; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.22) 45%, rgba(0,0,0,.8));
}

.hero-word {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 0 1rem;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3rem, 15vw, 11rem);
  line-height: .82;
  letter-spacing: -.06em;
  white-space: nowrap;
  color: #fff;
  opacity: .16;
  pointer-events: none;
  user-select: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 62rem;
  padding: clamp(4rem, 12vh, 7rem) clamp(1.15rem, 5vw, 3rem);
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.35rem, 9vw, 6rem);
  line-height: .95;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hero-desc {
  margin: 1.4rem auto 0;
  max-width: 44ch;
  font-size: clamp(.95rem, 2vw, 1.12rem);
  line-height: 1.7;
  opacity: .84;
  text-wrap: pretty;
}

/* ---------- 正文 ---------- */
section.body {
  grid-column: auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 3rem);
}

section.body > div {
  background: #fff;
  border: 1px solid #000;
  border-bottom-width: 6px;
  border-radius: 10px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  scroll-margin-top: 92px;
  transition: border-bottom-width .25s ease;
}

section.body > div:hover { border-bottom-width: 12px; }
section.body > div:last-child { margin-bottom: 0; }

section.body h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -.03em;
}

section.body h2 span { display: inline; }

section.body h3 {
  margin: 1.8rem 0 .7rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}

section.body p {
  margin: 0 0 1.1rem;
  max-width: 66ch;
  font-size: 1.0625rem;
  line-height: 1.78;
}

section.body > div > :last-child { margin-bottom: 0; }

section.body a {
  color: #000;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

section.body strong { font-weight: 700; }

section.body ul, section.body ol {
  margin: 0 0 1.2rem;
  padding-left: 1.25rem;
  max-width: 66ch;
}

section.body li { margin: .4rem 0; line-height: 1.7; }

section.body blockquote {
  margin: 1.6rem 0;
  padding: .2rem 0 .2rem 1.15rem;
  border-left: 6px solid #000;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.6;
}

section.body blockquote p { margin-bottom: .6rem; }

section.body figure { margin: 1.6rem 0; }
section.body figure img { border-radius: 10px; width: 100%; }
section.body figcaption { font-size: .9rem; margin-top: .5rem; opacity: .7; }

section.body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: .98rem;
}

section.body th, section.body td {
  border-bottom: 1px solid #000;
  padding: .6rem .5rem;
  text-align: left;
}

section.body th { font-weight: 700; }

/* ---------- 侧栏 ---------- */
aside.side {
  grid-column: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 3rem);
}

aside.side .side-title {
  margin: 0 0 1rem;
  padding-bottom: .55rem;
  border-bottom: 2px solid #000;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .2em;
}

aside.side .side-title span { display: inline; }

.side-list { margin: 0; padding: 0; list-style: none; }

.side-list li { border-bottom: 1px solid rgba(0,0,0,.22); }

.side-list a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: .5rem 0;
  text-decoration: none;
  font-size: .96rem;
  transition: padding-left .2s ease;
}

.side-list a:hover { padding-left: .4rem; }

/* ---------- 页脚 ---------- */
.foot {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  background: #000;
  color: #fff;
}

.foot p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.15rem, 4vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.foot small { font-size: .88rem; opacity: .85; }

.foot small a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid #fff;
}

/* ---------- 断点 ---------- */
@media (max-width: 560px) {
  .top nav a { padding: 0 .48rem; font-size: .88rem; }
  .cta { padding: 0 .7rem; font-size: .84rem; }
  .hero { min-height: 66vh; }
  .hero-word { font-size: clamp(2.6rem, 17vw, 6rem); }
}

@media (min-width: 1000px) {
  main {
    grid-template-columns: minmax(0, 1fr) 17rem;
    column-gap: clamp(1.5rem, 3vw, 3rem);
  }

  .hero { grid-column: 1 / -1; }

  section.body { padding-right: 0; }

  aside.side {
    border-left: 1px solid #000;
    position: sticky;
    top: 84px;
    align-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .hero-img { transition: none !important; }
}

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