@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

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

:root {
  --plum: #26171a;
  --plum-lift: #332025;
  --rose: #eb879c;
  --rose-soft: #ffb6c1;
  --ink: #f7ebee;
  --ink-dim: #d3b9c0;
  --line: rgba(255, 182, 193, 0.22);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.095);
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.34), 0 14px 34px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --ease: 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--plum);
  background-image:
    radial-gradient(1100px 640px at 10% -10%, rgba(235, 135, 156, 0.22), transparent 62%),
    radial-gradient(900px 520px at 94% 2%, rgba(255, 182, 193, 0.15), transparent 60%),
    radial-gradient(820px 700px at 46% 112%, rgba(235, 135, 156, 0.12), transparent 66%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rose-soft); text-decoration: none; }
a:hover { color: #fff; }

:focus-visible {
  outline: 3px solid var(--rose-soft);
  outline-offset: 2px;
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 顶栏 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(38, 23, 26, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--ease), background var(--ease);
}

.topbar.is-stuck {
  background: rgba(38, 23, 26, 0.92);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px;
}

.menu ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-a ul { justify-content: flex-start; }
.menu-b-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 16px;
  color: var(--ink-dim);
  transition: color var(--ease), background-color var(--ease);
}

.menu a:hover, .menu a:focus-visible {
  color: #fff;
  background: var(--glass-2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--rose-soft), var(--rose));
  box-shadow: 0 0 0 4px rgba(235, 135, 156, 0.18);
}

.finder { display: flex; align-items: center; gap: 6px; }

.finder-input {
  width: 130px;
  min-height: 40px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color var(--ease), background-color var(--ease);
}

.finder-input::placeholder { color: rgba(211, 185, 192, 0.8); }
.finder-input:focus { border-color: var(--rose); background: var(--glass-2); }

.finder-btn {
  min-height: 40px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  color: #fff;
  background: rgba(235, 135, 156, 0.26);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color var(--ease);
}

.finder-btn:hover { background: rgba(235, 135, 156, 0.45); }

.strip {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.strip ul {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 2px;
  list-style: none;
}

.strip li { flex: 0 0 auto; }

.strip a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  font-size: 16px;
  color: var(--ink-dim);
  background: var(--glass);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color var(--ease), border-color var(--ease), background-color var(--ease);
}

.strip a:hover, .strip a:focus-visible {
  color: #fff;
  border-color: var(--line);
  background: var(--glass-2);
}

/* 主体 */
main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 20px 72px;
}

.sheet { display: block; }

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

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 45vh;
  padding: 10px 0 8px;
  text-align: right;
}

.hero-copy { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.lede {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--ink-dim);
}

.hero-figure { margin: 0; }

.hero-img {
  width: 100%;
  max-height: 40vh;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  will-change: transform;
}

.body-grid {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  margin-top: 26px;
}

.rail {
  position: sticky;
  top: 158px;
  padding: 16px 14px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.rail-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--rose-soft);
}

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

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 6px;
  font-size: 16px;
  color: var(--ink-dim);
  border-bottom: 1px dashed rgba(255, 182, 193, 0.16);
  transition: color var(--ease), padding-left var(--ease);
}

.rail-list li:last-child a { border-bottom: 0; }
.rail-list a:hover, .rail-list a:focus-visible { color: #fff; padding-left: 11px; }

.content {
  min-width: 0;
  padding: clamp(20px, 3vw, 38px);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.content div {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.content div:first-child { padding-top: 0; border-top: 0; }
.content div:last-child { padding-bottom: 0; }

.content h2 {
  margin: 0 0 16px;
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.01em;
}

.content h2 > span { position: relative; display: inline-block; }

.content h2 > span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rose), rgba(235, 135, 156, 0));
}

.content h3 {
  margin: 24px 0 10px;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--rose-soft);
}

.content h3 > span { display: inline-block; }

.content p { margin: 0 0 1em; }
.content p:last-child { margin-bottom: 0; }

.content ul, .content ol { margin: 0 0 1em; padding-left: 1.25em; }
.content li { margin: 0.35em 0; }

.content a { text-decoration: underline; text-underline-offset: 3px; }

.content blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  color: var(--ink-dim);
  background: rgba(255, 182, 193, 0.07);
  border-left: 3px solid var(--rose);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.content strong { color: #fff; }

/* 页脚 */
.site-foot {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 26px;
  border-top: 1px solid var(--line);
}

.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(140deg, rgba(235, 135, 156, 0.20), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.foot-cta h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  line-height: 1.35;
  color: #fff;
}

.foot-cta h2 > span { display: inline-block; }

.foot-btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--plum);
  background: linear-gradient(140deg, var(--rose-soft), var(--rose));
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), 0 10px 22px rgba(235, 135, 156, 0.28);
  transition: transform var(--ease), box-shadow var(--ease);
}

.foot-btn:hover { color: var(--plum); transform: translateY(-2px); }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 28px;
}

.foot-col { min-width: 0; }

.foot-col address {
  font-style: normal;
  font-size: 17px;
  font-weight: 700;
  color: var(--rose-soft);
  letter-spacing: 0.03em;
}

.foot-nav dl { margin: 0; }

.foot-nav dt a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 16px;
  color: var(--ink-dim);
  border-bottom: 1px dashed rgba(255, 182, 193, 0.14);
  transition: color var(--ease);
}

.foot-nav dt a:hover, .foot-nav dt a:focus-visible { color: #fff; }
.foot-nav dd { margin: 0; }

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

.foot-quick a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 16px;
  color: var(--ink-dim);
  transition: color var(--ease);
}

.foot-quick a:hover, .foot-quick a:focus-visible { color: #fff; }

.foot-base {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.foot-base p { margin: 0; font-size: 16px; color: rgba(211, 185, 192, 0.85); }

/* 动效 */
.motion .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 280ms ease, transform 280ms ease;
}

.motion .reveal.is-in { opacity: 1; transform: none; }

.motion .strip li, .motion .rail li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.motion .strip li.is-in, .motion .rail li.is-in { opacity: 1; transform: none; }

.motion .strip li:nth-child(2), .motion .rail li:nth-child(2) { transition-delay: 40ms; }
.motion .strip li:nth-child(3), .motion .rail li:nth-child(3) { transition-delay: 80ms; }
.motion .strip li:nth-child(4), .motion .rail li:nth-child(4) { transition-delay: 120ms; }
.motion .strip li:nth-child(5), .motion .rail li:nth-child(5) { transition-delay: 160ms; }
.motion .strip li:nth-child(6), .motion .rail li:nth-child(6) { transition-delay: 200ms; }
.motion .strip li:nth-child(7), .motion .rail li:nth-child(7) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion .reveal,
  .motion .strip li,
  .motion .rail li { opacity: 1; transform: none; transition: none; }
  .hero-img { transform: none !important; }
}

/* 窄屏 */
@media (max-width: 900px) {
  .masthead {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px 16px;
  }

  .brand { justify-self: start; order: -1; }
  .menu ul { gap: 4px; }
  .menu a { padding: 0 9px; }

  .menu-b-wrap {
    flex-direction: column;
    align-items: stretch;
    justify-self: stretch;
    gap: 8px;
  }

  .menu-b { order: 2; }
  .finder { order: 1; }
  .finder-input { flex: 1; width: auto; }

  .strip { padding: 0 16px 10px; }

  main { padding: 18px 16px 56px; }
  main div[id] { scroll-margin-top: 230px; }

  .hero { text-align: left; min-height: 42vh; }
  .hero-copy { align-items: flex-start; }
  .hero-img { max-height: 34vh; }

  .body-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
  .rail { position: static; }
  .rail-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .rail-list a {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
  }
  .rail-list li:last-child a { border: 1px solid var(--line); }
  .rail-list a:hover, .rail-list a:focus-visible { padding-left: 14px; }

  .site-foot { padding: 26px 16px 22px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 18px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .foot-cols { grid-template-columns: 1fr; }
  .foot-cta { flex-direction: column; align-items: flex-start; }
  .content { padding: 18px; }
  .content div { padding: 22px 0; }
}

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