@charset "utf-8";

:root {
  --paper: #fdfbf7;
  --paper-2: #f5f5f5;
  --ink: #1a1a1a;
  --rule: #e0e0e0;
  --ghost: #eeeae1;
  --muted: #4a4a4a;
  --wrap: 1180px;
  --pad: clamp(18px, 5vw, 56px);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Epilogue", "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='.6'/></svg>");
}

h1,
h2,
h3 {
  font-family: "Anton", "Epilogue", sans-serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.02em;
  margin: 0;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- 顶部细条 ---------- */

.strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px var(--pad);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.strip__tag {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.28em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strip::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--rule);
}

/* ---------- 头部两行 ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.masthead__brand {
  padding: 10px var(--pad) 0;
}

.brandlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  font-family: "Anton", sans-serif;
  font-size: clamp(1.35rem, 4.4vw, 1.95rem);
  line-height: 1;
  letter-spacing: 0.04em;
}

.mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
  border: 1px solid var(--ink);
  border-radius: 9px;
  padding: 3px;
}

.mark--empty {
  border-radius: 50%;
  background: var(--ink);
}

.nav {
  margin-top: 8px;
  border-top: 1px solid var(--rule);
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0 var(--pad);
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.nav__list li {
  flex: 0 0 auto;
  animation: rise 0.28s ease-out both;
}

.nav__list li:nth-child(2) { animation-delay: 0.03s; }
.nav__list li:nth-child(3) { animation-delay: 0.06s; }
.nav__list li:nth-child(4) { animation-delay: 0.09s; }
.nav__list li:nth-child(5) { animation-delay: 0.12s; }
.nav__list li:nth-child(6) { animation-delay: 0.15s; }
.nav__list li:nth-child(7) { animation-delay: 0.18s; }

.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: background-color 0.08s linear, border-color 0.08s linear;
}

.nav__list a:hover {
  background: var(--paper-2);
  border-bottom-color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(22px, 5vw, 46px);
  border-bottom: 2px solid var(--ink);
}

.hero__figure {
  margin: 0;
  height: clamp(128px, 26vh, 280px);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
  background: var(--paper-2);
}

.hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.06);
}

.hero__ghost {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: 100%;
  transform: translateX(-50%);
  text-align: center;
  font-family: "Anton", sans-serif;
  font-size: clamp(3.4rem, 16vw, 11rem);
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: var(--ghost);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero__lede {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(16px, 4vw, 30px) var(--pad) 0;
  text-align: center;
}

.hero__h1 {
  max-width: 20ch;
  margin: 0 auto;
  font-size: clamp(2.1rem, 8vw, 4.4rem);
}

.hero__desc {
  max-width: 44ch;
  margin: 14px auto 0;
  font-size: 16px;
  color: #3b3b3b;
}

/* ---------- 右侧目录 ---------- */

.board {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(26px, 6vw, 54px) var(--pad) clamp(8px, 3vw, 22px);
  display: grid;
  grid-template-columns: 1fr;
}

.jump {
  width: min(100%, 350px);
  margin-left: auto;
  padding: 16px 20px 8px;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: 28px;
}

.jump__h {
  margin-bottom: 6px;
  font-family: "Epilogue", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.18em;
}

.jump__h > span {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--ink);
}

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

.jump__list li + li {
  border-top: 1px solid var(--rule);
}

.jump__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 44px;
  padding: 10px 0;
  font-size: 16px;
}

.jump__list em {
  font-family: "Anton", sans-serif;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #6d6d6d;
}

.jump__list a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- 正文各区 ---------- */

main {
  display: block;
}

main > section[id] {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) var(--pad);
  border-top: 1px solid var(--rule);
  scroll-margin-top: 150px;
}

main > section[id] > :first-child {
  margin-top: 0;
}

main > section[id] h2 {
  margin: 0 0 0.55em;
  font-size: clamp(1.5rem, 4.4vw, 2.35rem);
}

main > section[id] h3 {
  margin: 1.5em 0 0.4em;
  font-size: clamp(1.15rem, 3.4vw, 1.55rem);
}

main > section[id] h2 > span,
main > section[id] h3 > span {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 5px solid var(--ink);
}

main > section[id] p,
main > section[id] ul,
main > section[id] ol {
  max-width: 66ch;
}

main > section[id] ul,
main > section[id] ol {
  padding-left: 1.3em;
  margin: 0 0 1.1em;
}

main > section[id] li {
  margin: 0.35em 0;
}

main > section[id] a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

main > section[id] a:hover {
  background: var(--ink);
  color: var(--paper);
}

main > section[id] img {
  height: auto;
  border-radius: 28px;
}

main > section[id] figure {
  margin: 1.4em 0;
}

main > section[id] aside {
  margin: 1.6em 0;
  padding: 16px 20px;
  border: 1px solid var(--rule);
  border-radius: 28px;
  background: var(--paper-2);
}

main > section[id] blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--ink);
  font-size: 1.05em;
}

main > section[id] hr {
  height: 0;
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

/* ---------- 页脚 ---------- */

.foot {
  margin-top: clamp(30px, 6vw, 62px);
  padding: clamp(26px, 5vw, 52px) var(--pad) 22px;
  border-top: 2px solid var(--ink);
  background: var(--paper-2);
}

.foot__top {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.foot__addr {
  font-family: "Anton", sans-serif;
  font-style: normal;
  font-size: clamp(1.45rem, 5vw, 2.15rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
}

.foot__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.foot__links a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 6px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.08s linear;
}

.foot__links a:hover {
  border-bottom-color: var(--ink);
}

.cta {
  max-width: var(--wrap);
  margin: 32px auto 0;
  padding: clamp(24px, 5vw, 46px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
}

.cta__h {
  font-size: clamp(1.5rem, 6vw, 2.9rem);
  line-height: 1.03;
}

.cta__h > span {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 5px solid var(--paper);
}

.cta__go {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--paper);
  border-radius: 999px;
  transition: background-color 0.08s linear, color 0.08s linear;
}

.cta__go:hover {
  background: var(--paper);
  color: var(--ink);
}

.foot__copy {
  max-width: var(--wrap);
  margin: 24px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 断点 ---------- */

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .strip {
    padding-inline: 12px;
  }

  .nav__list {
    padding-inline: 8px;
  }

  .hero__ghost {
    font-size: clamp(3rem, 21vw, 6rem);
  }

  .jump {
    width: 100%;
  }

  .foot__links {
    grid-template-columns: 1fr;
  }

  main > div[id] {
    scroll-margin-top: 170px;
  }
}

@media (min-width: 861px) {
  .foot__top {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: start;
  }

  .hero__figure {
    height: clamp(200px, 30vh, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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