/* 柔和渐变首页与共享导航。 */
:root {
  --site-ink: #30273d;
  --site-muted: #655c6e;
  --site-accent: #75628b;
  --site-paper: #fcfafd;
  --site-line: rgba(117, 98, 139, .19);
  --site-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif;
  --site-display: "Songti SC", "STSong", "Noto Serif SC", "Noto Serif CJK SC", Georgia, serif;
  --site-heading-font: var(--site-sans);
  --site-serif: var(--site-display);
  --font: var(--site-sans);
}

.home-page, .detail-page { background: var(--site-paper); color: var(--site-ink); font-family: var(--site-sans); font-weight: 400; line-height: 1.85; }
.site-skip { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 10px 18px; background: var(--site-ink); color: #fff; transform: translateY(-150%); }
.site-skip:focus { transform: none; }
:where(a, button, summary):focus-visible { outline: 3px solid #8d78aa; outline-offset: 5px; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(252, 250, 253, .87); border-bottom: 1px solid var(--site-line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.site-header--home { position: fixed; top: 0; inset-inline: 0; border: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .25s ease, box-shadow .25s ease; }
.site-header--home[data-scrolled="true"] { background: rgba(252, 250, 253, .76); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); box-shadow: 0 6px 24px rgba(65, 44, 85, .06), inset 0 -1px 0 rgba(117, 98, 139, .12); }
.home-page :where(#main, section[id], h2[id]) { scroll-margin-top: 112px; }
.site-header__inner { max-width: 1360px; min-height: 92px; padding: 20px 40px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-brand__avatar { display: block; width: 80px; height: 52px; flex-shrink: 0; }
.site-brand__avatar img { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-brand__copy { display: flex; flex-direction: column; font-size: 20px; font-weight: 600; letter-spacing: .04em; line-height: 1.4; white-space: nowrap; }
.site-brand__copy small { margin-top: 3px; font-size: 11px; font-weight: 400; letter-spacing: .1em; color: #65586f; }
html[lang="en"] .site-brand__copy small { letter-spacing: 0; }
.site-navigation { display: flex; align-items: center; gap: 31px; }
.site-navigation > a, .site-dropdown__toggle { font-size: 14px; font-weight: 500; color: var(--site-ink); white-space: nowrap; }
.site-navigation > a { padding: 8px 0; }
.site-navigation > a[aria-current="page"] { color: #665079; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.site-navigation a:hover { color: #655078; }
.site-dropdown { position: relative; }
.site-dropdown__toggle { display: flex; align-items: center; gap: 10px; padding: 12px 0; background: transparent; border: none; font-family: inherit; cursor: pointer; }
.site-chevron { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .18s; }
.site-dropdown__toggle[aria-expanded="true"] .site-chevron { transform: translateY(2px) rotate(225deg); }
.site-dropdown__panel { position: absolute; top: calc(100% + 8px); left: -22px; display: flex; flex-direction: column; min-width: 202px; padding: 10px; background: rgba(255, 253, 255, .88); border: 1px solid rgba(255, 255, 255, .8); border-radius: 13px; box-shadow: 0 14px 40px rgba(75, 56, 100, .13), inset 0 1px 0 #fff; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.site-dropdown__panel a { padding: 10px 13px; font-size: 14px; border-radius: 6px; }
.site-dropdown__panel a:hover, .site-dropdown__panel a:focus-visible { background: #eee7f3; color: #483357; }
.site-dropdown__panel[hidden], .site-navigation[hidden] { display: none !important; }
.site-language { border: 1px solid rgba(117, 98, 139, .28); border-radius: 50%; width: 38px; height: 38px; font: inherit; font-size: 12px; background: rgba(255, 255, 255, .25); color: var(--site-ink); cursor: pointer; }
.site-menu-toggle { display: none; }

.home-hero { position: relative; isolation: isolate; min-height: 470px; display: flex; justify-content: center; align-items: center; padding: 132px 24px 64px; text-align: center; background: #e6ddeb url("assets/home-flow.svg") center center / cover no-repeat; overflow: hidden; }
.home-hero__content { position: relative; z-index: 1; width: 100%; max-width: 940px; }
.home-hero__title { margin: 0; font-family: var(--site-heading-font); font-weight: 600; letter-spacing: .015em; }
.home-hero__title span { display: block; }
.home-hero__title span:first-child { margin-bottom: 18px; font-family: var(--font); font-size: 23px; font-weight: 500; letter-spacing: .08em; line-height: 1.5; color: #62536f; }
.home-hero__title span:last-child { font-family: var(--site-display); font-size: clamp(42px, 4.8vw, 64px); font-weight: 600; line-height: 1.35; letter-spacing: .015em; }
.home-hero .site-button { margin-top: 34px; }
.site-button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 30px; font-family: inherit; font-size: 15px; font-weight: 500; color: #fff; background: var(--site-accent); border: 1px solid var(--site-accent); border-radius: 3px; transition: background .18s; }
.site-button:hover { background: #635175; }
.site-button--glass { color: #4d3c61; border-color: rgba(255, 255, 255, .7); border-radius: 50px; background: rgba(255, 255, 255, .37); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 5px 22px rgba(97, 71, 116, .07), inset 0 1px 0 rgba(255, 255, 255, .6); }
.site-button--glass:hover { background: rgba(255, 255, 255, .6); }

.home-welcome { position: relative; padding: 104px 40px; overflow: hidden; background: var(--site-paper); }
.home-welcome__inner { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr .85fr; align-items: center; gap: 100px; }
.home-welcome__copy h2 { margin: 0 0 29px; font-family: var(--site-heading-font); font-size: clamp(30px, 3.2vw, 38px); font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.home-welcome__copy p { margin: 0 0 12px; font-size: 17px; color: var(--site-muted); line-height: 1.85; }
.home-welcome__copy .home-welcome__introduction { margin-bottom: 26px; line-height: 1.95; }
.home-welcome__background { padding-left: 18px; border-left: 2px solid #d9cce4; }
.home-welcome__background p { font-size: 14px; margin-bottom: 5px; }
.home-welcome__copy .home-welcome__format { margin-top: 26px; margin-bottom: 26px; font-size: 14px; color: #756883; }
.home-welcome__portrait { position: relative; width: 100%; max-width: 340px; margin: 0 20px 0 auto; z-index: 1; }
.home-welcome__portrait::before { content: ""; position: absolute; width: 470px; height: 470px; top: -57px; right: -90px; z-index: -1; background: url("assets/home-ripple.svg") center / contain no-repeat; }
.home-welcome__portrait img { display: block; width: 100%; height: 408px; object-fit: cover; object-position: 50% 24%; border-radius: 3px; }
.site-text-link { display: inline-block; font-size: 15px; line-height: 1.6; color: #705a85; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; font-weight: 500; }
.site-text-link:hover { color: #49335e; }

.home-film { padding: 0 40px 104px; }
.home-film__heading { max-width: 1200px; margin: 0 auto 34px; }
.home-film h2, .home-topics h2, .home-start h2, .home-invitation h2 { font-family: var(--site-heading-font); font-weight: 600; font-size: clamp(30px, 3vw, 38px); line-height: 1.4; margin: 0; }

.home-video-frame { max-width: 1280px; margin: 0 auto; overflow: hidden; border-radius: 8px 34px 8px 8px; border: 1px solid #ece5ed; }
.home-video-cover { min-height: 420px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; background: linear-gradient(125deg, #e6deee, #e7edf0); }
.home-video-cover__copy { position: relative; z-index: 1; align-self: center; margin-right: -52px; padding: 50px 11%; background: rgba(252,250,253,.75); border: 1px solid rgba(255,255,255,.8); border-left: 0; border-radius: 0 24px 24px 0; box-shadow: 0 8px 28px rgba(68,49,87,.06); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

.home-video-cover h3 { font-family: var(--site-heading-font); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.4; font-weight: 600; margin: 0 0 20px; }

.home-video-cover__image { margin: 0; overflow: hidden; background: #e9e6e1; }
.home-video-cover__image img { display: block; width: 100%; height: 100%; min-height: 420px; max-height: 460px; object-fit: cover; object-position: 55% 50%; }
.home-video-pending { display: inline-flex; align-items: center; gap: 10px; padding: 12px 19px; border: 1px solid rgba(255,255,255,.72); border-radius: 40px; background: rgba(255,255,255,.43); color: #6b5a7b; font: inherit; font-size: 13px; opacity: 1; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.home-video-pending__mark { width: 7px; height: 7px; border-radius: 50%; background: #a38ab4; }
.home-topics { background: #f8f6fa; padding: 94px 40px; }
.home-topics__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 92px; }
.home-topics h2 { max-width: 14em; }
.home-topics__lead > .site-text-link { margin-top: 30px; }
.home-topics__list { display: grid; gap: 18px; }
.home-topics__list article { width: 90%; padding: 27px 32px; background: #e8e0ef; border-radius: 28px 28px 7px 28px; }
.home-topics__list article:nth-child(2) { width: 88%; margin-left: auto; background: #e1ebef; border-radius: 28px 7px 28px 28px; }
.home-topics__list article:nth-child(3) { width: 92%; margin-left: 20px; background: #f0e3ea; border-radius: 7px 28px 28px 28px; }

.home-topics__list h3 { font-size: 23px; font-family: var(--site-heading-font); font-weight: 600; margin: 0 0 10px; line-height: 1.45; }
.home-topics__list p { color: var(--site-muted); font-size: 16px; line-height: 1.9; margin: 0; }
.home-start { padding: 96px 40px; }
.home-start__inner { max-width: 1200px; margin: 0 auto; }
.home-start__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.home-start__steps { --home-step-gap: 48px; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--home-step-gap); list-style: none; padding: 0; margin: 0; }
.home-start__steps::before { content: ""; position: absolute; top: 22px; left: 22px; width: calc((100% + var(--home-step-gap)) * 2 / 3); height: 1px; background: #d7cce1; pointer-events: none; }
.home-start__steps li { position: relative; }
.home-start__number { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #e1d6eb; border-radius: 50%; background: #f0ebf5; font-family: Georgia, serif; font-size: 17px; color: var(--site-accent); }
.home-start__steps h3 { margin: 18px 0 13px; font-size: 24px; font-family: var(--site-heading-font); font-weight: 600; line-height: 1.4; }
.home-start__steps p { margin: 0; font-size: 16px; line-height: 1.9; color: var(--site-muted); }
.home-explore { padding: 96px 40px 108px; background: #f5f2f7; }
.home-explore__inner { max-width: 1200px; margin: 0 auto; }
.home-explore h2 { font-family: var(--site-heading-font); font-size: 34px; font-weight: 600; line-height: 1.4; margin: 0 0 68px; letter-spacing: 0; }
.home-explore__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 120px; row-gap: 82px; }
.home-entry { max-width: 460px; }
.home-entry h3 { font-family: var(--site-heading-font); font-weight: 600; font-size: 25px; line-height: 1.4; margin: 0 0 21px; }
.home-entry p { color: var(--site-muted); font-size: 16px; line-height: 1.9; margin: 0 0 30px; }
.home-entry .site-text-link { font-size: 14px; }
.home-invitation { padding: 75px 32px 80px; background: #e9e2ef url("assets/home-flow.svg") center 62% / cover; text-align: center; }
.home-invitation p { color: var(--site-muted); font-size: 16px; line-height: 1.85; margin: 19px 0 29px; }
.home-invitation h2 { font-family: var(--site-display); font-weight: 600; letter-spacing: .015em; }
.home-invitation .site-button { border-radius: 30px; }

.site-footer { padding: 38px 36px 30px; background: var(--site-paper); border-top: 1px solid var(--site-line); }
.site-footer__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.site-footer__brand { display: flex; gap: 16px; align-items: center; font-size: 16px; }
.site-footer__brand span:last-child { font-size: 12px; color: var(--site-muted); }
.site-footer__links { display: flex; gap: 25px; font-size: 13px; color: var(--site-muted); }
.site-footer p { width: 100%; margin: 9px 0 0; font-size: 11px; color: var(--site-muted); }

.detail-heading { padding: 58px 36px 48px; background: #f2edf6 url("assets/home-flow.svg") center 44% / cover; }
.detail-heading > div { max-width: 1040px; margin: 0 auto; }
.detail-heading p { font-size: 13px; color: #6c5d7a; margin: 0 0 12px; }
.detail-heading h1 { font-family: var(--site-heading-font); font-weight: 600; font-size: 48px; line-height: 1.3; margin: 0; letter-spacing: .01em; }
.detail-page .section { padding-top: 72px; padding-bottom: 72px; }
.detail-page .section__inner { max-width: 1040px; }
.detail-page .section__title { color: var(--site-ink); }
.detail-page section[id] { scroll-margin-top: 112px; }
.home-welcome--detail { min-height: 520px; }
.contact-simple { padding: 85px 36px 105px; min-height: 460px; }
.contact-simple > div { max-width: 1040px; margin: 0 auto; }
.contact-simple h2 { font-family: var(--site-heading-font); font-size: 31px; font-weight: 600; margin: 0 0 22px; line-height: 1.4; }
.contact-simple p { font-size: 16px; color: var(--site-muted); }
.contact-simple__email { display: inline-block; font-size: clamp(17px, 3vw, 27px); color: #705a85; margin: 12px 0; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 7px; }
.contact-simple .site-button { margin-top: 18px; }

@media (max-width: 980px) {
  .site-header__inner { padding-inline: 30px; gap: 24px; }
  .site-navigation { gap: 16px; }
  .site-brand__avatar { width: 72px; }
  .site-brand__copy { font-size: 18px; }
  .site-brand__copy small { font-size: 10px; }
  .home-welcome__inner { gap: 50px; }
  .home-topics__inner { gap: 60px; }
  .home-explore__grid { column-gap: 70px; }

}

@media (max-width: 760px) {
  .home-page :where(#main, section[id], h2[id]) { scroll-margin-top: 90px; }
  .site-header__inner { min-height: 88px; padding: 20px 25px; gap: 16px; }
  .site-brand__avatar { width: 74px; height: 48px; }
  .site-menu-toggle { display: flex; flex-direction: column; gap: 6px; justify-content: center; align-items: center; width: 44px; height: 44px; padding: 8px; background: transparent; border: 0; color: #665278; cursor: pointer; }
  .site-menu-toggle span { width: 24px; height: 1px; background: currentColor; transition: transform .18s, opacity .18s; }
  .site-header[data-menu-open="true"] .site-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header[data-menu-open="true"] .site-menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header[data-menu-open="true"] .site-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-navigation { display: none; position: absolute; top: calc(100% - 3px); left: 16px; right: 16px; max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); overflow-y: auto; overscroll-behavior: contain; padding: 17px 22px 21px; align-items: stretch; flex-direction: column; gap: 2px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 14px; background: rgba(252, 250, 253, .96); box-shadow: 0 15px 40px rgba(65, 44, 85, .13); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
  .site-header[data-menu-open="true"] .site-navigation { display: flex; }
  .site-navigation > a, .site-dropdown__toggle { min-height: 44px; font-size: 15px; padding: 10px 0; }
  .site-dropdown__toggle { width: 100%; justify-content: space-between; }
  .site-dropdown__panel { position: static; min-width: 0; padding: 0 0 5px 16px; margin: 0; border: 0; border-left: 1px solid #d8cbe3; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-dropdown__panel a { min-height: 42px; padding: 9px 12px; }
  .site-language { margin-top: 10px; width: 42px; height: 42px; }
  .home-hero { min-height: 440px; padding: 126px 22px 58px; }
  .home-hero__title span:first-child { font-size: 20px; margin-bottom: 18px; }
  .home-hero__title span:last-child { font-size: clamp(33px, 6vw, 43px); }
  .home-welcome { padding: 72px 27px; }
  .home-welcome__inner { gap: 34px; grid-template-columns: 1.3fr 1fr; }
  .home-welcome__copy p { font-size: 15px; }
  .home-welcome__portrait img { height: 280px; }
  .home-welcome__portrait::before { width: 310px; height: 310px; right: -70px; top: -45px; }
  .home-welcome__portrait { margin-right: 0; }
  .home-film { padding: 0 27px 72px; }
  .home-video-cover { min-height: 340px; grid-template-columns: 1fr 1fr; }
  .home-video-cover__copy { margin-right: -28px; padding: 35px 10%; }
  .home-video-cover h3 { font-size: 30px; }
  .home-video-cover__image img { min-height: 340px; max-height: 370px; }
  .home-topics { padding: 65px 27px; }
  .home-topics__inner { gap: 35px; }
  .home-topics__list h3 { font-size: 21px; }
  .home-topics__list p { font-size: 15px; }
  .home-start { padding: 65px 27px; }
  .home-start__steps { --home-step-gap: 27px; }
  .home-start__steps p { font-size: 15px; }
  .home-explore { padding: 76px 27px 86px; }
  .home-explore h2 { margin-bottom: 52px; }
  .home-explore__grid { gap: 66px 44px; }
  .home-entry h3 { font-size: 23px; }
  .home-entry p { font-size: 15px; }
  .site-footer { padding-inline: 27px; }
  .detail-heading { padding: 42px 27px 38px; }
  .detail-heading h1 { font-size: 36px; }
  .detail-page section[id] { scroll-margin-top: 90px; }
  .contact-simple { padding: 60px 27px 80px; }
}

@media (max-width: 520px) {
  .home-hero { min-height: 426px; padding-inline: 20px; background-position: 48% center; }
  .home-hero__title span:first-child { font-size: 19px; letter-spacing: .08em; }
  .home-hero__title span:last-child { font-size: clamp(32px, 8.5vw, 40px); letter-spacing: .01em; }
  .home-welcome { padding-top: 62px; padding-bottom: 66px; }
  .home-welcome__inner { grid-template-columns: 1fr; gap: 36px; }
  .home-welcome__copy h2 { font-size: 29px; margin-bottom: 23px; }
  .home-welcome__portrait { max-width: 240px; margin: 0 auto; }
  .home-welcome__portrait img { height: 290px; }
  .home-welcome__copy .home-welcome__format { margin-top: 22px; margin-bottom: 22px; }
  .home-welcome__background p { font-size: 13px; }
  .home-film h2, .home-topics h2, .home-start h2, .home-invitation h2 { font-size: 28px; }
  .home-film__heading { margin-bottom: 25px; }
  .home-video-cover { grid-template-columns: 1fr; }
  .home-video-cover__copy { margin-right: 0; padding: 36px 27px; border: 0; border-radius: 0; box-shadow: none; }
  .home-video-cover h3 { max-width: 9em; font-size: 29px; }


  .home-video-cover__image img { height: 220px; min-height: 0; max-height: none; }
  .home-topics__inner { grid-template-columns: 1fr; gap: 36px; }
  .home-topics h2 { max-width: 10em; }
  .home-topics__list article, .home-topics__list article:nth-child(2), .home-topics__list article:nth-child(3) { width: 100%; margin-left: 0; padding: 24px 25px; border-radius: 22px; }
  .home-start__heading { display: block; margin-bottom: 32px; }
  .home-start__heading .site-text-link { margin-top: 18px; }
  .home-start__steps { --home-step-gap: 28px; grid-template-columns: 1fr; }
  .home-start__steps::before { display: none; }
  .home-start__steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; bottom: calc(-1 * var(--home-step-gap)); left: 21px; width: 1px; background: #d7cce1; pointer-events: none; }
  .home-start__steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; }
  .home-start__number { grid-row: span 2; }
  .home-start__steps h3 { margin: 0 0 10px; font-size: 22px; }
  .home-invitation { padding: 62px 27px; }
  .home-explore__grid { grid-template-columns: 1fr; gap: 48px; }
  .home-entry h3 { font-size: 23px; margin-bottom: 15px; }
  .home-entry p { font-size: 15px; margin-bottom: 22px; }
  .site-footer__inner { align-items: flex-start; gap: 21px; }
  .site-footer__links { gap: 20px; flex-wrap: wrap; }
  .detail-heading h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header--home, .site-chevron, .site-menu-toggle span, .site-button { transition: none; }
}
