:root {
  --ink: #26171f;
  --deep: #160d13;
  --mag: #ff0080;
  --fux: #ff00ff;
  --text: #f8eaf2;
  --dim: #e4c3d5;
  --line: rgba(255, 0, 128, 0.28);
  --serif: "Crimson Pro", Georgia, "Songti SC", "SimSun", serif;
  --sans: "Atkinson Hyperlegible", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--deep);
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--deep);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
}

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

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.veil {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(45% 40% at 15% 12%, rgba(255, 0, 128, 0.62), transparent 62%),
    radial-gradient(42% 38% at 84% 6%, rgba(255, 0, 255, 0.5), transparent 64%),
    radial-gradient(55% 45% at 74% 84%, rgba(150, 0, 120, 0.58), transparent 68%),
    radial-gradient(48% 40% at 22% 90%, rgba(255, 0, 190, 0.4), transparent 66%),
    conic-gradient(from 210deg at 50% 45%, #2d1622, #40142c, #1a0f16, #2a1420);
  background-size: 180% 180%, 180% 180%, 180% 180%, 180% 180%, 100% 100%;
  background-position: 0% 0%, 100% 0%, 70% 100%, 10% 100%, 0 0;
  animation: flow 26s ease-in-out infinite alternate;
}

.veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 10, 15, 0.52), rgba(18, 10, 15, 0.82));
}

@keyframes flow {
  0% { background-position: 0% 0%, 100% 0%, 70% 100%, 10% 100%, 0 0; }
  100% { background-position: 32% 18%, 68% 24%, 44% 68%, 34% 74%, 0 0; }
}

/* ── 页头：细条 + 品牌行 + 菜单行 ── */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(20, 11, 17, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 0, 128, 0.38);
}

.strip {
  margin: 0;
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.44em;
  color: #ff8ac4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-row { padding: 0.35rem 1rem 0.15rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  text-decoration: none;
  color: #fff;
}

.mark {
  width: 36px;
  height: 36px;
  object-fit: cover;
  flex: 0 0 auto;
}

.mark--type {
  background: conic-gradient(from 40deg, var(--mag), var(--fux), #ff7ab8, var(--mag));
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.wordmark--sm { font-size: 1.1rem; margin: 0 0 0.5rem; }

.menu {
  display: flex;
  gap: 0.1rem;
  padding: 0 0.55rem 0.35rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.menu a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.7rem;
  font-size: 0.95rem;
  color: #ffd8ea;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: #fff;
  border-bottom-color: var(--fux);
}

/* ── 首屏 ── */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-content: start;
  min-height: 100vh;
  padding: clamp(1.4rem, 5vw, 3.5rem) clamp(1rem, 5vw, 3.5rem) 2.5rem;
}

.hero--bare { min-height: 62vh; }

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 10vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  background: linear-gradient(96deg, #ffffff 0%, #ffb3d8 36%, #ff00ff 70%, #ff0080 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iris 12s ease-in-out infinite alternate;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 { color: #fff; }
}

@keyframes iris {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(-24deg); }
}

.collage {
  position: relative;
  min-height: 46vh;
  will-change: transform;
}

.shot {
  width: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.03);
}

.shot--a {
  width: 78%;
  aspect-ratio: 4 / 5;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}

.shot--b {
  position: absolute;
  right: 0;
  bottom: -1.5rem;
  width: 54%;
  aspect-ratio: 1 / 1;
  outline: 6px solid rgba(255, 0, 128, 0.45);
  outline-offset: -6px;
}

/* ── 主体 ── */
main { position: relative; z-index: 1; }

.wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3.5rem) 3rem;
}

.rail {
  order: 0;
  padding: 1.05rem 1rem;
  background: rgba(255, 0, 128, 0.16);
}

.rail small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  color: #ff9ecb;
}

.rail h2 {
  margin: 0.15rem 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.rail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rail;
}

.rail-list li { counter-increment: rail; }

.rail-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.35rem 0;
  color: #ffd8ea;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rail-list a::before {
  content: counter(rail, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 0.85rem;
  color: #ff7ab8;
}

.rail-list a:hover { color: #fff; }

.sheet {
  background: rgba(38, 23, 31, 0.74);
  padding: clamp(1.2rem, 4vw, 2.6rem);
}

.prose { max-width: 68ch; }

.prose section {
  scroll-margin-top: 9.5rem;
  padding-top: clamp(1.2rem, 3vw, 2rem);
  margin-top: clamp(1.6rem, 4vw, 2.6rem);
  border-top: 1px solid var(--line);
}

.prose section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: #ff9ecb;
  margin-bottom: 0.2rem;
}

.prose h2 {
  margin: 0 0 0.7em;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.4vw, 2.05rem);
  font-weight: 600;
  line-height: 1.24;
  color: #fff;
}

.prose h3 {
  margin: 1.5em 0 0.5em;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffe3f1;
}

.prose ul,
.prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }

.prose a {
  color: #ff9ecb;
  text-underline-offset: 3px;
}

.prose a:hover { color: #fff; }

.prose img + img { margin-top: 1rem; }

.prose blockquote {
  margin: 1.2em 0;
  padding: 0.2em 0 0.2em 1em;
  border-left: 3px solid var(--fux);
  color: var(--dim);
}

.prose strong { color: #fff; }

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  color: #ffc9e4;
}

/* ── 页脚 ── */
.foot {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  background: rgba(17, 9, 14, 0.9);
  border-top: 2px solid rgba(255, 0, 128, 0.5);
}

.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.4rem clamp(1rem, 5vw, 3.5rem);
  background: linear-gradient(100deg, rgba(255, 0, 128, 0.36), rgba(255, 0, 255, 0.16));
}

.cta-brand {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  background: var(--mag);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.cta-btn:hover { background: var(--fux); color: #fff; }

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem 2rem;
  padding: 2.2rem clamp(1rem, 5vw, 3.5rem) 1.6rem;
}

.foot-desc {
  color: var(--dim);
  font-size: 0.98rem;
  max-width: 40ch;
}

.foot-nav dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.foot-nav dt {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: #ff9ecb;
  margin-bottom: 0.35rem;
}

.foot-nav dd { margin: 0; }

.foot-nav dd a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #ffd8ea;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.foot-nav dd a:hover { color: #fff; }

.foot-base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  color: #d6b6c8;
}

.foot-base p { margin: 0; }

.foot-base a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #ff9ecb;
  text-decoration: none;
}

/* ── 动效 ── */
.js .prose > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .prose > .in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .veil { animation: none; }
  h1 { animation: none; }
}

/* ── 桌面 ── */
@media (min-width: 760px) {
  .foot-grid { grid-template-columns: 1.15fr 0.85fr; }
  .foot-nav dl { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 920px) {
  .menu { padding-left: 0.9rem; }

  .hero {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 3rem;
  }

  .wrap {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 2.4rem;
    align-items: start;
  }

  .rail {
    position: sticky;
    top: 9.6rem;
    z-index: 2;
  }

  .collage { min-height: 62vh; }
  .shot--b { bottom: -2.5rem; }
}

@media (min-width: 1180px) {
  .prose { max-width: 70ch; }
}

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