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

:root {
  --ink: #000000;
  --paper: #ffffff;
  --mist: #f2f2f2;
  --hh: 64px;
  --pad: clamp(1rem, 4.5vw, 3.5rem);
  --serif: 'Cormorant Infant', 'Songti SC', Georgia, 'Times New Roman', serif;
  --script: 'Great Vibes', cursive;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

@media (min-width: 780px) {
  :root { --hh: 80px; }
}

* { 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.66;
  overflow-x: clip;
}

a { color: inherit; }
img { max-width: 100%; }

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

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.topbar-in {
  max-width: 1500px;
  margin: 0 auto;
  min-height: var(--hh);
  padding: 0 clamp(0.7rem, 2.6vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  font-weight: 900;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  letter-spacing: -0.045em;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.35rem;
}

.topnav { display: none; align-items: center; }

@media (min-width: 1000px) {
  .topnav { display: flex; gap: 0.1rem; }
}

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s ease;
}

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

.topbar-b {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.05rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.drop { position: relative; display: inline-flex; }

.drop-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  cursor: default;
}

.drop:hover .drop-btn,
.drop:focus-within .drop-btn { border-bottom-color: var(--ink); }

.drop-list {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 11rem;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 18px;
  padding: 0.45rem;
  display: grid;
  gap: 0.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  box-shadow: 0 22px 44px -26px #000;
}

.drop:hover .drop-list,
.drop:focus-within .drop-list {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.drop-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.65rem;
  text-decoration: none;
  border-radius: 12px;
  border-bottom: 0;
  font-size: 0.95rem;
}

.drop-list a:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- 版面骨架 ---------- */
.wrap {
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1000px) {
  .wrap {
    grid-template-columns: 15rem minmax(0, 1fr);
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
  }
  .hero,
  .band { grid-column: 1 / -1; }
  .rail { grid-column: 1; }
  .content { grid-column: 2; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100svh - var(--hh));
  margin-inline: calc(-1 * var(--pad));
  padding: clamp(4rem, 14vh, 8rem) var(--pad) clamp(2rem, 5vh, 3.5rem);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.88) 10%, rgba(0, 0, 0, 0.32) 74%);
}

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

.hero-type { position: relative; z-index: 1; }

.hero-h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 12rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

/* ---------- 斜切色带 ---------- */
.band {
  margin: 0 calc(-1 * var(--pad)) clamp(2rem, 6vw, 5rem);
  background: var(--ink);
  color: var(--paper);
  clip-path: polygon(0 30%, 100% 0, 100% 70%, 0 100%);
  padding: clamp(3.4rem, 9vw, 6.2rem) 0;
  overflow: hidden;
}

.mq-track {
  display: flex;
  white-space: nowrap;
  animation: mq 34s linear infinite;
  will-change: transform;
}

.mq {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: 0.08em;
  padding-inline: 0.2em;
}

.mq::after {
  content: "·";
  margin-left: 0.7em;
  opacity: 0.6;
}

@keyframes mq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 侧栏 ---------- */
.rail {
  position: sticky;
  top: var(--hh);
  z-index: 20;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  margin-inline: calc(-1 * var(--pad));
  padding: 0.55rem var(--pad) 0.35rem;
}

.rail h2 {
  display: none;
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.rail hr {
  display: none;
  border: 0;
  border-top: 3px solid var(--ink);
  margin: 0 0 1rem;
}

.rail-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.rail-nav ul::-webkit-scrollbar { display: none; }

.rail-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 3px solid transparent;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.rail-nav a:hover,
.rail-nav a.on { border-bottom-color: var(--ink); }

@media (min-width: 1000px) {
  .rail {
    position: sticky;
    top: calc(var(--hh) + 1.5rem);
    margin-inline: 0;
    padding: 0;
    border-bottom: 0;
    background: transparent;
    max-height: calc(100svh - var(--hh) - 3rem);
    overflow-y: auto;
  }
  .rail h2 { display: block; }
  .rail hr { display: block; }
  .rail-nav ul {
    flex-direction: column;
    gap: 0;
    overflow: visible;
  }
  .rail-nav a {
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
    font-size: 1rem;
  }
  .rail-nav a:hover,
  .rail-nav a.on { border-bottom-color: var(--ink); }
}

/* ---------- 正文 ---------- */
.content {
  padding-block: clamp(2rem, 5vw, 4rem);
  min-width: 0;
}

.prose {
  font-size: 1.0625rem;
  overflow-wrap: break-word;
}

.prose > div {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-bottom: 8px solid var(--ink);
  border-radius: 28px;
  padding: clamp(1.4rem, 4vw, 3rem);
  margin-block-end: clamp(2.4rem, 6vw, 5rem);
  scroll-margin-top: calc(var(--hh) + 78px);
  transition: transform 0.25s ease;
}

@media (min-width: 1000px) {
  .prose > div { scroll-margin-top: calc(var(--hh) + 2.5rem); }
  .prose > div:hover { transform: translateY(-3px); }
}

.prose > div:last-child { margin-block-end: 0; }

.prose h2 {
  margin: 0.1em 0 0.55em;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.prose h3 {
  margin: 1.6em 0 0.5em;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
}

.prose p { margin: 0 0 1.05em; max-width: 64ch; }
.prose p:last-child { margin-bottom: 0; }

.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}

.prose li { margin-bottom: 0.35em; }

.prose a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose hr {
  border: 0;
  border-top: 2px solid var(--ink);
  margin: 1.6rem 0;
}

.prose img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 18px;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 6px solid var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.prose strong { font-weight: 800; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: 0.98rem;
}

.prose th,
.prose td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  padding: 0.55rem 0.5rem;
  text-align: left;
}

/* ---------- 页脚 ---------- */
.foot {
  background: var(--ink);
  color: var(--paper);
  margin-top: clamp(2.5rem, 7vw, 5rem);
  padding: clamp(2.4rem, 6vw, 4.5rem) var(--pad) 1.6rem;
}

.foot-in {
  max-width: 1200px;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 760px) {
  .foot-in {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 2.5rem;
  }
}

.foot address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.foot-brand {
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.foot-host {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.09em;
  opacity: 0.72;
}

.foot-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

.foot-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.2rem;
}

.foot-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--paper);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: opacity 0.18s ease;
}

.foot-nav a:hover { opacity: 0.6; }

.sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sub input {
  flex: 1 1 8rem;
  min-height: 44px;
  padding: 0.4rem 1rem;
  background: transparent;
  border: 1px solid var(--paper);
  border-radius: 999px;
  color: var(--paper);
  font-family: inherit;
  font-size: 1rem;
}

.sub input::placeholder { color: rgba(255, 255, 255, 0.6); }

.sub button {
  min-height: 44px;
  padding: 0.4rem 1.5rem;
  border: 1px solid var(--paper);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.sub button:hover {
  background: transparent;
  color: var(--paper);
}

.copy {
  max-width: 1200px;
  margin: 2.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mq-track { animation: none; }
  .prose > div { transition: none; }
  .prose > div:hover { transform: none; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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