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

:root {
  --pink: #ff0080;
  --magenta: #ff00ff;
  --ink: #26171f;
  --paper: #33202b;
  --text: #f8edf4;
  --muted: #d3b8c8;
  --line: rgba(255, 0, 128, 0.28);
  --soft: rgba(255, 255, 255, 0.09);
  --serif: 'Newsreader', 'Songti SC', 'Noto Serif SC', Georgia, serif;
  --sans: 'Roboto', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  color: var(--text);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 18% 14%, rgba(255, 0, 128, 0.62), transparent 68%),
    radial-gradient(34% 30% at 82% 22%, rgba(255, 0, 255, 0.46), transparent 70%),
    radial-gradient(46% 42% at 64% 86%, rgba(126, 0, 176, 0.5), transparent 72%),
    radial-gradient(30% 28% at 8% 78%, rgba(255, 78, 170, 0.32), transparent 70%),
    conic-gradient(from 210deg at 50% 50%, rgba(255, 0, 255, 0.18), rgba(255, 0, 128, 0.06), rgba(90, 0, 140, 0.18), rgba(255, 0, 255, 0.18));
  filter: blur(38px) saturate(1.15);
  animation: aurora 26s ease-in-out infinite alternate;
}

@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(-4%, 3%, 0) scale(1.12) rotate(4deg); filter: blur(42px) hue-rotate(26deg) saturate(1.25); }
  100% { transform: translate3d(3%, -3%, 0) scale(1.06) rotate(-3deg); filter: blur(40px) hue-rotate(-14deg); }
}

img,
figure,
svg,
video { max-width: 100%; height: auto; }

a { color: #ff7ac2; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  padding: 10px 16px;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 顶部两行：品牌行 + 菜单行 */
.top {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  padding: 18px clamp(16px, 5vw, 60px) 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 9, 16, 0.86), rgba(38, 23, 31, 0.28));
}

.top__brand { padding-bottom: 10px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 4.6vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}

.brand::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--pink), var(--magenta));
}

.top__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  border-top: 1px solid var(--soft);
}

.menu { flex: 1 1 auto; min-width: 0; }

.menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-right: 6px;
  cursor: pointer;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}
.menu summary::-webkit-details-marker { display: none; }

.menu summary::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--pink);
  box-shadow: 0 5px 0 var(--pink), 0 -5px 0 var(--pink);
}
.menu[open] summary::before {
  background: var(--magenta);
  box-shadow: 0 5px 0 var(--magenta), 0 -5px 0 var(--magenta);
}

.menu menu,
.foot menu,
.rail__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.menu menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  padding-bottom: 6px;
}

.menu menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.menu menu a:hover,
.menu menu a:focus-visible { color: #fff; border-bottom-color: var(--pink); }

.tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--pink);
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  flex: 0 0 auto;
}
.tel:hover { background: var(--pink); }

@media (max-width: 899px) {
  .menu menu { flex-direction: column; gap: 0; border-top: 1px solid var(--soft); margin-top: 4px; width: 100%; }
  .menu menu li { width: 100%; }
  .menu menu a { border-bottom: 1px solid var(--soft); width: 100%; }
}

@media (min-width: 900px) {
  .menu > summary { display: none; }
  .menu:not([open]) > menu { display: flex; }
}

/* 主区 */
main { position: relative; z-index: 1; width: 100%; max-width: 100%; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  min-height: 100vh;
  padding: clamp(30px, 5vw, 72px) clamp(18px, 5vw, 60px);
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  min-width: 0;
}

.hero h1 {
  margin: 0;
  max-width: 100%;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 6vw, 4.3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  background: linear-gradient(98deg, #ffffff 8%, #ffd7ec 38%, var(--pink) 66%, var(--magenta) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  overflow-wrap: break-word;
}

.hero__lede {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid var(--pink);
  color: #fff;
  font-size: 0.98rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  background: rgba(255, 0, 128, 0.12);
}
.hero__cta:hover { background: var(--pink); }

.hero__media {
  position: relative;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, #44212f, #26171f 58%, #4a2044);
}

.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
  filter: saturate(1.08) contrast(1.02);
}

.badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  max-width: calc(100% - 32px);
  padding: 6px 14px;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: #fff;
  border: 1px solid var(--pink);
  background: rgba(38, 23, 31, 0.78);
}

/* 正文骨架 */
.wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 76px) clamp(18px, 5vw, 60px);
}

.wrap > * { min-width: 0; }

.rail {
  position: sticky;
  top: 24px;
  min-width: 0;
  border-top: 2px solid var(--pink);
  padding-top: 14px;
}

.rail h2 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  color: #fff;
}

.rail .subtitle {
  margin: 4px 0 14px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--magenta);
}

.rail__menu { display: flex; flex-direction: column; min-width: 0; }

.rail__menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px dashed var(--soft);
}
.rail__menu a:hover { color: #fff; border-bottom-color: var(--pink); }

.prose {
  font-size: 1.05rem;
  max-width: 44rem;
  min-width: 0;
  overflow-wrap: break-word;
}

.prose > article {
  padding: clamp(26px, 4.5vw, 52px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  scroll-margin-top: 24px;
}
.prose > article:first-child { border-top: 0; padding-top: 0; }
.prose > article:last-child { padding-bottom: 0; }

.prose h2 {
  position: relative;
  margin: 0 0 10px;
  padding-left: 15px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.42rem, 3.2vw, 1.95rem);
  line-height: 1.28;
  color: #fff;
  overflow-wrap: break-word;
}
.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36em;
  bottom: 0.36em;
  width: 3px;
  background: linear-gradient(var(--pink), var(--magenta));
}

.prose h2 + p.subtitle {
  margin: -4px 0 18px 15px;
  color: var(--magenta);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.prose h3 {
  margin: 24px 0 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22rem;
  color: #fff;
}

.prose p { margin: 0 0 16px; color: #eee1ea; }
.prose strong { color: #fff; }

.prose a {
  color: #ff86c8;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 0, 128, 0.55);
}
.prose a:hover { color: #fff; }

.prose img { display: block; max-width: 100%; margin: 20px 0; border: 1px solid var(--line); }

.prose ul, .prose ol { padding-left: 1.35em; margin: 0 0 16px; }
.prose li { margin: 6px 0; }

.prose blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--magenta);
  background: rgba(255, 0, 255, 0.07);
}
.prose blockquote p:last-child { margin-bottom: 0; }

.prose pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.95rem;
}

.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }

/* 页脚 */
.foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 36px 48px;
  width: 100%;
  max-width: 100%;
  padding: 56px clamp(18px, 5vw, 60px) 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(38, 23, 31, 0.12), rgba(18, 9, 15, 0.78));
}

.foot > article { min-width: 0; }

.foot h2 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  color: var(--magenta);
}

.foot__logo {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: #fff;
}

.foot-desc {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.98rem;
  overflow-wrap: break-word;
}

.foot menu { display: flex; flex-direction: column; }

.foot menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.98rem;
  text-decoration: none;
  border-bottom: 1px solid var(--soft);
}
.foot menu a:hover { color: #fff; border-bottom-color: var(--pink); }

.form { display: flex; max-width: 320px; width: 100%; }

.form input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-right: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
}
.form input::placeholder { color: rgba(211, 184, 200, 0.75); }

.form button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--pink);
  background: var(--pink);
  color: #fff;
  font-family: inherit;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.form button:hover { background: var(--magenta); border-color: var(--magenta); }

.foot__copy {
  grid-column: 1 / -1;
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}
.foot__copy p { margin: 4px 0; }
.foot__copy a { color: var(--pink); text-decoration: none; }
.foot__copy a:hover { color: #fff; }

/* 入场 */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 0.7, 0.3, 1);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: 26px;
    gap: 24px;
  }
  .hero__text { gap: 16px; }
  .hero__media { aspect-ratio: 16 / 11; }
  .wrap {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 26px;
    max-width: 100%;
  }
  .rail {
    position: static;
    border: 1px solid var(--line);
    border-top: 2px solid var(--pink);
    padding: 12px 14px 6px;
  }
  .rail__menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 18px;
    padding-bottom: 4px;
  }
  .rail__menu li { flex: 0 0 auto; }
  .rail__menu a { border-bottom: 0; white-space: nowrap; }
  .foot { grid-template-columns: minmax(0, 1fr); padding-top: 40px; gap: 28px; }
  .form { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-img { transform: none; }
}

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