:root {
  --bg: #f9f3f7;
  --card: #eee3ec;
  --ink: #352b33;
  --muted: #735f6c;
  --accent: #955f88;
  --accent-soft: #d8c2d1;
  --line: rgba(53, 43, 51, 0.14);
  --radius: 10px;
  --shadow: 0 10px 24px rgba(53, 43, 51, 0.07);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

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

a {
  color: var(--accent);
}

h1,
 h2,
 h3 {
  font-family: Georgia, "Songti SC", "Times New Roman", serif;
  color: var(--ink);
  font-weight: 600;
}

.shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-head {
  padding-top: 26px;
}

.head-masthead {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-family: Georgia, "Songti SC", "Times New Roman", serif;
  font-size: 1.55rem;
  letter-spacing: 0.1em;
}

.brand-slogan {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.site-nav {
  padding: 10px 0 4px;
}

.nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
}

.nav-link {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav-link:hover,
.nav-link.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.flow {
  padding: 10px 0 30px;
}

.section {
  padding: 38px 0;
}

.section-head {
  max-width: 62ch;
  margin-bottom: 18px;
}

.section-label {
  position: sticky;
  top: 8px;
  display: inline-block;
  z-index: 2;
  padding-left: 10px;
  border-left: 3px solid var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.section-title {
  margin: 0.4rem 0 0.5rem;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.24;
}

.section-desc {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 0.96rem;
}

.flow > .section:nth-child(even) .section-head {
  margin-left: auto;
  text-align: right;
}

.flow > .section:nth-child(even) .section-desc {
  margin-left: auto;
}

.flow > .section:nth-child(even) .section-label {
  border-left: 0;
  border-right: 3px solid var(--accent);
  padding-left: 0;
  padding-right: 10px;
}

.hero {
  padding: 34px 0 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  margin: 0.3rem 0 0.7rem;
  font-size: clamp(2.1rem, 4.6vw, 3.25rem);
  line-height: 1.12;
}

.hero-lead {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fdf8fb;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.tag--soft {
  background: var(--card);
  color: var(--accent);
}

.hero-index {
  padding: 20px 22px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.index-title {
  margin: 0 0 0.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.index-nav {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.index-nav a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  border-bottom: 1px dashed var(--line);
}

.index-nav li:last-child a {
  border-bottom: 0;
}

.index-nav a:hover {
  color: var(--accent);
}

.content-index {
  counter-reset: entry;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  counter-increment: entry;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.content-item:first-child {
  border-top: 0;
}

.content-num {
  font-family: Georgia, "Songti SC", serif;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.85;
}

.content-num::before {
  content: counter(entry, decimal-leading-zero);
}

.content-title {
  margin: 0 0 0.4rem;
  font-size: 1.18rem;
  line-height: 1.35;
}

.content-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.rich p {
  margin: 0 0 0.85em;
}

.rich p:last-child {
  margin-bottom: 0;
}

.rich ul,
.rich ol {
  margin: 0 0 0.9em;
  padding-left: 1.3em;
}

.rich li {
  margin: 0.25em 0;
}

.rich a {
  color: var(--accent);
}

.rich h3 {
  margin: 1em 0 0.4em;
  font-size: 1.05rem;
}

.rich blockquote {
  margin: 0 0 0.9em;
  padding-left: 1em;
  border-left: 3px solid var(--accent-soft);
  color: var(--muted);
}

.rich img {
  margin: 0.4em 0;
}

.rich table {
  width: 100%;
  max-width: 100%;
  margin: 0 0 1em;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.rich th,
.rich td {
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.rich th {
  background: var(--card);
  font-weight: 600;
}

.step-list {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-num {
  counter-increment: step;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fdf8fb;
  font-family: Georgia, serif;
  font-size: 1rem;
}

.step-num::before {
  content: counter(step);
}

.step-title {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.step-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-row {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.faq-row:first-child {
  border-top: 0;
}

.faq-q {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0 0 0.35rem;
  font-size: 1.06rem;
  line-height: 1.4;
}

.faq-q::before {
  content: "Q";
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 0.74rem;
}

.faq-a {
  margin: 0 0 0 34px;
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.96rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-cell {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.news-item:first-child {
  border-top: 0;
}

.news-date {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.news-title {
  margin: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
}

.news-link {
  color: var(--ink);
  text-decoration: none;
}

.news-link:hover {
  color: var(--accent);
}

.split-banner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-half {
  padding: 26px 28px;
}

.split-half + .split-half {
  border-left: 1px solid var(--line);
}

.split-title {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.split-text {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.split-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.cms-form {
  display: grid;
  gap: 14px;
}

.cms-form label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.cms-form input,
.cms-form textarea,
.cms-form select {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.cms-form input:focus,
.cms-form textarea:focus,
.cms-form select:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.cms-form button {
  justify-self: start;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fdf8fb;
  font: inherit;
  cursor: pointer;
}

.cms-form button:hover {
  opacity: 0.9;
}

.cms-form .form-error {
  color: var(--accent);
  font-size: 0.84rem;
}

.cms-form .form-success {
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  background: var(--card);
  color: var(--ink);
  font-size: 0.92rem;
}

.site-foot {
  margin-top: 26px;
  padding: 32px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.foot-brand {
  max-width: 36ch;
}

.foot-name {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
}

.foot-slogan {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.foot-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
}

.foot-link:hover {
  color: var(--accent);
}

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

.foot-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow > .section:nth-child(even) .section-head {
    margin-left: 0;
    text-align: left;
  }

  .flow > .section:nth-child(even) .section-desc {
    margin-left: 0;
  }

  .flow > .section:nth-child(even) .section-label {
    padding-right: 0;
    padding-left: 10px;
    border-right: 0;
    border-left: 3px solid var(--accent);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .shell {
    padding: 0 18px;
  }

  .section {
    padding: 30px 0;
  }

  .hero {
    padding: 24px 0 8px;
  }

  .content-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }

  .content-num {
    font-size: 1.7rem;
  }

  .step-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .step-num {
    width: 36px;
    height: 36px;
    font-size: 0.92rem;
  }

  .faq-a {
    margin-left: 0;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .split-banner {
    grid-template-columns: 1fr;
  }

  .split-half + .split-half {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .nav-row {
    gap: 6px 16px;
  }

  .foot-grid {
    flex-direction: column;
  }
}

:root{--intro-bg:#f9f3f7;--intro-card:#eee3ec;--intro-ink:#352b33;--intro-accent:#955f88;}
.intro-stage {
  background:
    radial-gradient(ellipse at 82% 16%, color-mix(in srgb, var(--intro-accent) 16%, transparent), transparent 54%),
    linear-gradient(160deg, var(--intro-card), var(--intro-bg));
  border-bottom: 1px solid color-mix(in srgb, var(--intro-ink) 12%, transparent);
}
.intro-wrap {
  display: grid;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 92px) clamp(20px, 4vw, 60px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.intro-wrap:not(.intro-center):has(> .intro-visual), .intro-wrap:has(> .intro-index) {
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
}
.intro-copy { min-width: 0; max-width: 54rem; }
.intro-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.intro-copy p {
  max-width: 38em;
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.75;
}
.intro-center { text-align: center; justify-items: center; }
.intro-center p { margin-inline: auto; }
.intro-center .intro-visual { width: min(100%, 680px); }
.intro-reverse > .intro-visual { order: -1; }
.intro-stage .intro-wrap.intro-banner { grid-template-columns: minmax(0, 1fr); }
.intro-banner .intro-visual img { aspect-ratio: 16 / 9; }
.intro-panel .intro-copy {
  padding: clamp(16px, 3vw, 36px);
  border-inline-start: 4px solid var(--intro-accent);
  background: var(--intro-bg);
}
@media (min-width: 761px) {
  .intro-wrap.intro-compact:has(> .intro-visual) {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr);
  }
  .intro-wrap.intro-panel:has(> .intro-visual) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  }
}
.intro-index {
  min-width: 0;
  padding: clamp(16px, 3vw, 32px);
  background: var(--intro-bg);
  border: 1px solid color-mix(in srgb, var(--intro-ink) 14%, transparent);
  border-radius: 1rem;
  overflow-wrap: anywhere;
}
.intro-visual {
  min-width: 0;
  margin: 0;
  padding: clamp(8px, 1.5vw, 16px);
  background: var(--intro-bg);
  border: 1px solid color-mix(in srgb, var(--intro-accent) 24%, transparent);
  border-radius: clamp(12px, 2vw, 24px);
  box-shadow: 0 18px 64px color-mix(in srgb, var(--intro-ink) 16%, transparent);
}
.intro-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.intro-visual figcaption { margin: .6rem .35rem 0; font-size: .875rem; }
.intro-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.intro-center .intro-actions { justify-content: center; }
.intro-link, .intro-actions .action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.25rem;
  border-radius: 2rem;
  border: 1px solid color-mix(in srgb, var(--intro-ink) 24%, transparent);
  color: var(--intro-ink);
  background: var(--intro-bg);
  text-decoration: none;
  font-weight: 650;
}
.intro-actions a.action-button { color: var(--intro-bg); background: var(--intro-ink); }
.intro-link:hover, .intro-link:focus-visible { border-color: var(--intro-accent); }
.intro-glass {
  background: color-mix(in srgb, var(--intro-bg) 88%, transparent);
  backdrop-filter: blur(14px);
}
.intro-reading {
  max-width: 840px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 60px);
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .intro-wrap:not(.intro-center):has(> .intro-visual), .intro-wrap:has(> .intro-index) {
    grid-template-columns: minmax(0, 1fr);
  }
  .intro-reverse > .intro-visual { order: 0; }
}

/* 页面补充样式（home） */

.content-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
}

.content-link:hover,
.content-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
