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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.4rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: 'Josefin Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
  letter-spacing: 0.005em;
}

h1, h2, h3 {
  margin: 0;
  font-family: 'Josefin Sans', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, menu { list-style: none; margin: 0; padding: 0; }

/* 顶栏 */
.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: #fff;
  border-bottom: 1px solid #000;
  z-index: 60;
}

.mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

.mark img { width: 100%; height: 100%; object-fit: cover; }

.mark-t {
  font-family: Cinzel, 'PingFang SC', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-end { display: flex; align-items: center; gap: 0.5rem; }

.contact {
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
}

.contact:hover { background: #fff; color: #000; box-shadow: inset 0 0 0 1px #000; }

.menu { position: relative; }

.menu summary {
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1.15rem;
  border: 1px solid #000;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  list-style: none;
  user-select: none;
}

.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: #000; color: #fff; }
.menu summary:hover .bars { background: #fff; box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff; }

.bars {
  display: block;
  width: 1rem;
  height: 2px;
  background: #000;
  box-shadow: 0 -5px 0 #000, 0 5px 0 #000;
}

.menu[open] summary { background: #000; color: #fff; }
.menu[open] .bars { background: #fff; box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff; }

.menu menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  min-width: 15rem;
  max-height: min(72vh, 32rem);
  overflow: auto;
  background: #fff;
  border: 1px solid #000;
  padding: 0.4rem;
  box-shadow: 0.45rem 0.45rem 0 #000;
  z-index: 70;
}

.menu menu a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.85rem;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.3;
}

.menu menu a:hover,
.menu menu a:focus-visible { background: #000; color: #fff; }

/* 版式骨架 */
main { padding-top: 4.5rem; }

article {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  column-gap: clamp(2rem, 5vw, 4.5rem);
}

/* 头图区 */
.hero {
  grid-column: 1 / -1;
  border-top: 0;
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  min-height: calc(100vh - 4.5rem);
  min-height: calc(100svh - 4.5rem);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(1rem, 3vw, 2rem);
}

.badge {
  position: absolute;
  top: clamp(3rem, 7vw, 5rem);
  right: 0;
  margin: 0;
  background: #000;
  color: #fff;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  font-weight: 500;
  line-height: 1.6;
}

.hero-txt { align-self: end; max-width: 52rem; }

.hero h1 {
  font-size: clamp(2.5rem, 10.5vw, 8.5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  margin: 0 0 1.5rem;
  overflow-wrap: break-word;
  text-transform: none;
}

.hero .lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.8;
  max-width: 36rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.hero-media { margin: 0; height: clamp(13rem, 34vh, 22rem); overflow: hidden; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

/* 正文章节 */
article > div {
  grid-column: 1;
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-top: 1px solid #000;
}

article > div h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  margin: 0 0 1.3rem;
  max-width: 40rem;
}

article > div h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  margin: 2rem 0 0.8rem;
}

article > div small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 1rem;
}

article > div small::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: #000;
  margin-bottom: 0.85rem;
}

article > div p,
article > div ul,
article > div ol { max-width: 44rem; }

article > div p { margin: 0 0 1.25em; }

article > div ul,
article > div ol {
  padding-left: 1.3rem;
  margin: 0 0 1.4em;
  list-style: disc;
}

article > div ol { list-style: decimal; }
article > div li { margin-bottom: 0.5em; }

article > div a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
  padding-bottom: 0.05em;
}

article > div a:hover { background: #000; color: #fff; border-color: #000; }

article > div img { margin: 1.6rem 0; width: 100%; filter: grayscale(1); }

article > div strong { font-weight: 700; }

article > div blockquote {
  margin: 1.8rem 0;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 3px solid #000;
  font-size: 1.1rem;
  max-width: 42rem;
}

article > div table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.97rem;
}

article > div th,
article > div td {
  border-bottom: 1px solid #000;
  padding: 0.7rem 0.5rem;
  text-align: left;
}

/* 右栏 */
article > aside {
  grid-column: 2;
  grid-row: 2 / span 60;
  align-self: start;
  position: sticky;
  top: 6rem;
  border-top: 2px solid #000;
  padding-top: 1.1rem;
}

article > aside small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.7rem;
}

article > aside h2 {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin: 0 0 1.2rem;
  font-weight: 700;
}

article > aside li { border-bottom: 1px solid rgba(0, 0, 0, 0.16); }

article > aside a {
  display: flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0 0.3rem;
  font-size: 1rem;
  text-decoration: none;
  color: #000;
  transition: padding-left 0.18s ease, background 0.18s ease;
}

article > aside a:hover { background: #000; color: #fff; padding-left: 0.7rem; }

.totop { margin: 1.4rem 0 0; }
.totop a { border-top: 1px solid rgba(0, 0, 0, 0.16); }

/* 页脚 */
footer {
  background: #000;
  color: #fff;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.1rem, 4vw, 2.5rem) 1.6rem;
}

.foot-top {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(15rem, 22rem);
  gap: 2rem;
}

address {
  font-style: normal;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

address span { display: block; }

address a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

address a:hover { color: #000; background: #fff; border-color: #fff; }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 1rem 0 0;
  max-width: 38rem;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid transparent;
}

.foot-links a:hover { border-color: #fff; }

.sub {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #fff;
  padding: 0.3rem;
  align-self: start;
}

.sub input {
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  padding: 0 0.7rem;
}

.sub input::placeholder { color: rgba(255, 255, 255, 0.65); }
.sub input:focus { outline: 2px solid #fff; outline-offset: -2px; }

.sub button {
  min-height: 2.75rem;
  border: 0;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  padding: 0 1.2rem;
  cursor: pointer;
}

.sub button:hover { background: #000; color: #fff; box-shadow: inset 0 0 0 1px #fff; }

.copy {
  max-width: 80rem;
  margin: 2.4rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
}

/* 动效 */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s 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; }
  article > aside a { transition: none; }
}

/* 断点 */
@media (max-width: 900px) {
  article { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .hero,
  article > div,
  article > aside { grid-column: 1; }
  article > aside {
    grid-row: auto;
    position: static;
    top: auto;
    margin-top: 1rem;
    padding-bottom: 2rem;
  }
  .foot-top { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .contact { padding: 0 0.9rem; font-size: 0.85rem; letter-spacing: 0.1em; }
  .menu summary { padding: 0 0.9rem; font-size: 0.85rem; letter-spacing: 0.1em; }
  .hero { grid-template-rows: auto auto; }
  .hero h1 { font-size: clamp(2.1rem, 11.5vw, 3.4rem); line-height: 1; }
  .badge {
    position: static;
    display: inline-block;
    margin-bottom: 1.1rem;
  }
  .hero-media { height: 40vh; }
  .menu menu { min-width: 13rem; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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