/* 首页已选方案：分幕揭晓；得意黑标题、思源黑体正文。 */
:root { color-scheme: light; --body: "Proposal Sans", "PingFang SC", sans-serif; --display: "Proposal Display", "Proposal Sans", sans-serif; --ink: #2e223f; --muted: #70637f; --blue: #7642b8; --blue-deep: #312047; --line: #e5dcec; --title-size: clamp(32px, 3vw, 44px); --pad: clamp(28px, 5vw, 76px); font-synthesis: none; }
body { background: #fcfaff; font-family: var(--body); font-size: 16px; font-weight: 400; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
.scroll-meter { display: none; }
.site-header { inset: 0 0 auto; height: 80px; border-bottom: 1px solid rgba(143, 118, 174, .14); color: var(--ink); background: rgba(250, 247, 254, .78); backdrop-filter: blur(16px); box-shadow: none; }
.site-header.is-scrolled { background: rgba(252, 250, 255, .96); box-shadow: none; }
.site-header .brand-company { border: 0; padding: 0; color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: .05em; }
.site-header .brand { gap: 13px; }
.site-header .brand-course { border-left: 1px solid #cfbddf; padding-left: 13px; }
.site-header .brand b { color: var(--blue); font-size: 20px; font-weight: 700; font-family: var(--body); letter-spacing: -.03em; }
.site-header .brand small { color: var(--muted); font-size: 9px; font-weight: 400; letter-spacing: .025em; }
.site-nav { gap: clamp(14px, 1.3vw, 22px); font-size: 15px; font-weight: 400; }
.site-nav > a:not(.nav-cta), .site-header.is-scrolled .site-nav > a:not(.nav-cta) { color: #51425f; }
.site-nav > a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta { min-height: 42px; border-radius: 7px; padding-inline: 17px; color: #fff; background: #61408f; box-shadow: none; font-weight: 400; }
.nav-cta:hover { background: #503176; box-shadow: none; }
.menu-button { color: #513977; background: #f3eafc; border-color: #d6c5e5; }

.home-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: max(600px, 100svh); padding: 96px var(--pad) 65px; overflow: hidden; background: #efe3fa; }
.hero-atmosphere { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-group-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 42%; filter: saturate(.78); }
.atmosphere-wash { position: absolute; inset: 0; background: rgba(227, 204, 249, .30); }
.atmosphere-film { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 39%, rgba(250, 245, 255, .90), rgba(243, 230, 255, .78) 43%, rgba(231, 211, 250, .32) 100%); }
.home-hero-content { position: relative; z-index: 1; width: 100%; max-width: 1700px; margin-inline: auto; text-align: center; }
.home-eyebrow { color: #6e508c; font-size: 15px; letter-spacing: .18em; margin: 0 0 32px; }
.home-hero h1 { margin: 0; font-size: var(--hero-title-size); line-height: 1.38; letter-spacing: 0; font-family: var(--display); font-weight: 400; }
.home-hero h1 span { display: block; }
.home-hero h1 span + span { margin-top: .1em; }
.home-hero h1 strong { color: #7041a8; font-weight: inherit; }
.home-lead { margin: 30px 0 0; color: #60536e; font-size: var(--lead-size); line-height: 1.8; }
.home-lead small { display: block; margin-top: 10px; color: #796985; font-size: 13px; }
.course-support { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); }
.course-support h3 { margin: 0 0 16px; color: var(--blue-deep); font-family: var(--display); font-size: var(--card-title-size); font-weight: 400; }
.course-support p { max-width: 880px; margin: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.home-actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; }
.home-actions .button { min-height: 54px; padding: 0 26px; border-radius: 7px; font-size: 15px; font-weight: 400; white-space: nowrap; box-shadow: none; }
.home-primary { color: #fff; background: #674195; }
.home-primary img { width: 19px; margin-left: 20px; filter: brightness(0) invert(1); transition: transform 220ms ease; }
.home-primary:hover { background: #53317e; transform: translateY(-2px); }
.home-primary:hover img { transform: translateX(4px); }
.home-secondary { border: 1px solid #af97c6; color: #5c3c7d; background: #ffffff55; }
.home-secondary:hover { background: #fff; transform: translateY(-2px); }
.home-actions .button:active { transform: scale(.98); }
.home-scroll { position: absolute; left: 50%; bottom: 28px; z-index: 1; display: flex; align-items: center; gap: 30px; color: #7b688c; font-size: 11px; letter-spacing: .1em; text-decoration: none; transform: translateX(-50%); }
.home-scroll span { font-size: 18px; }

/* 沿用首页内容，统一标题、正文与提案中的板块间距。 */
.section { padding-top: 110px; padding-bottom: 110px; }
.section-heading h2, .module-intro h2, .gallery-heading h2, .feedback-heading h2, .registration h2 { font-family: var(--display); font-weight: 400; }
.section-heading > p:last-child { font-size: 16px; line-height: 1.9; }
.section-kicker { color: #78569e; letter-spacing: .12em; font-size: 10px; font-weight: 400; }
.process-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; border-radius: 0; border-width: 1px 0; box-shadow: none; background: transparent; }
.process-rail li { min-height: 230px; text-align: left; padding: 28px 25px; }
.process-rail img { width: 30px; height: 30px; margin: 0 0 24px; }
.process-rail b { font-family: var(--display); font-weight: 400; font-size: 19px; }
.process-rail p { font-size: 14px; }
.tool-outcomes strong, .site-footer .brand b { font-weight: 400; }
.system { background: #fff; }
.sessions { background: #f8f4fc; }

/* 每期课程以图片卡片常驻展示，沿用首页字体与淡紫色。 */
.session-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; width: min(100%, var(--max)); margin: 48px auto 0; }
.session-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e5ddec; border-radius: 22px; background: #fff; transition: border-color 200ms ease, box-shadow 200ms ease; }
.session-card:hover, .session-card:focus-within { border-color: #bda6d2; box-shadow: 0 12px 32px #3521460d; }
.session-cover { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 21px; background: #efeaf3; }
.session-cover > img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 450ms ease; }
.session-card:hover .session-cover > img { transform: scale(1.025); }
.session-number { position: absolute; top: 16px; right: 16px; padding: 5px 13px; border-radius: 999px; color: #302139; background: #fffffff2; font-size: 13px; font-weight: 700; line-height: 1.8; }
.session-number b { color: #7542a7; }
.session-card-current .session-number { top: 12px; right: 12px; width: 44px; padding: 3px 0; text-align: center; font-size: 10px; }
.session-card-body { display: flex; flex: 1; flex-direction: column; padding: 25px 24px 24px; }
.session-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.session-card-meta > span:first-child { color: #7542a7; font-size: 12px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.session-status { padding: 4px 11px; border-radius: 999px; color: #fff; background: #39313e; font-size: 12px; line-height: 1.65; white-space: nowrap; }
.session-card h3 { min-height: 1.4em; margin: 16px 0 8px; color: var(--ink); font-family: var(--display); font-size: var(--card-title-size); font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.session-date { margin: 0; color: #7a6e84; font-size: 13px; line-height: 1.8; }
.session-summary { flex: 1; margin: 16px 0 0; color: #64566f; font-size: 15px; line-height: 1.85; }
.session-topics { margin: 16px 0 20px; color: #6c4c85; font-size: 12px; line-height: 1.8; }
.session-card-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; margin-top: auto; padding-top: 13px; border-top: 1px solid #eee7f4; color: #68458a; font-size: 14px; text-decoration: none; }
.session-card-link img { flex: none; width: 16px; height: 16px; transition: transform 200ms ease; }
.session-card-link:hover img { transform: translateX(4px); }
.session-card-link:focus-visible { outline: 2px solid #7542a7; outline-offset: 4px; border-radius: 3px; }
.session-card-current { border-color: #c1a2da; background: #faf6ff; }
.session-status-open { color: #5c2c85; background: #eadcf7; font-weight: 700; }
.session-cover-note { position: absolute; bottom: 12px; left: 12px; padding: 4px 9px; border-radius: 5px; color: #fff; background: #302139d9; font-size: 11px; }
@media (max-width: 1100px) { .session-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 640px) {
  .session-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 34px; }
  .session-card h3 { min-height: 0; }
  .session-card-body { padding: 23px 22px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .session-card, .session-cover > img, .session-card-link img { transition: none; }
  .session-card:hover .session-cover > img { transform: none; }
}

/* 开场覆盖层与内容动画只在本次加载的 2.6 秒内存在。 */
.intro-veil { position: fixed; inset: 0; z-index: 200; display: none; pointer-events: none; }
.is-entering .intro-veil { display: block; }
.veil-panels { position: absolute; inset: 0; }
.veil-panels i { position: absolute; inset: calc(var(--panel) * 25%) 0 auto; height: calc(25% + 1px); background: linear-gradient(95deg, #dbc4edf2, #f0e3faed 52%, #dec9f1ee); border-bottom: 1px solid #f7efff99; backdrop-filter: blur(12px); }
.veil-panels i:nth-child(1) { --panel: 0; }
.veil-panels i:nth-child(2) { --panel: 1; }
.veil-panels i:nth-child(3) { --panel: 2; }
.veil-panels i:nth-child(4) { --panel: 3; }
.intro-wordmark { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #50336d; }
.intro-wordmark span { font-size: 13px; letter-spacing: .3em; margin-bottom: 25px; }
.intro-wordmark b { font: 400 clamp(34px, 4.6vw, 72px)/1.5 var(--display); letter-spacing: .035em; }
.intro-wordmark small { margin-top: 18px; font-size: 13px; letter-spacing: .12em; color: #735a8e; }
.intro-skip { position: fixed; right: var(--pad); bottom: 30px; z-index: 201; display: none; padding: 10px 16px; border: 1px solid #b39bc9; border-radius: 7px; color: #593d73; background: #f7effc; font-size: 13px; cursor: pointer; }
.is-entering .intro-skip { display: inline-flex; }
.intro-skip:hover { background: #fff; }
.intro-skip:focus-visible { outline: 2px solid #7041a8; outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .is-entering .veil-panels i { animation: shutter-right 1600ms cubic-bezier(.76, 0, .24, 1) calc(var(--panel) * 120ms) both; }
  .is-entering .veil-panels i:nth-child(even) { animation-name: shutter-left; }
  .is-entering .intro-wordmark { animation: wordmark-reveal 1400ms ease both; }
  .is-entering [data-intro-content] { animation: content-reveal 1000ms cubic-bezier(.16, 1, .3, 1) 1100ms both; }
  .is-entering h1 span:first-child { animation-delay: 1220ms; }
  .is-entering h1 span:last-child { animation-delay: 1320ms; }
  .is-entering .home-lead { animation-delay: 1420ms; }
  .is-entering .home-actions { animation-delay: 1510ms; }
}
@keyframes shutter-right { 0%, 38% { transform: translateX(0); } 100% { transform: translateX(102%); } }
@keyframes shutter-left { 0%, 38% { transform: translateX(0); } 100% { transform: translateX(-102%); } }
@keyframes wordmark-reveal { 0% { opacity: 0; transform: translateY(10px); } 23%, 54% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes content-reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .intro-veil, .intro-skip { display: none !important; }
  .home-hero *, .home-hero *::before, .home-hero *::after { animation: none !important; transition: none !important; }
  [data-intro-content] { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .site-header.is-scrolled, .home-secondary { background: #faf7fd; backdrop-filter: none; }
}

/* 第五期课堂作品，与首页既有视觉保持一致。 */
.hero-photo-note { position: absolute; right: var(--pad); bottom: 26px; z-index: 1; margin: 0; color: #655275; font-size: 11px; }
.cohort-works { background: #f7f2fc; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.work-card { min-width: 0; margin: 0; }
.work-card > a { display: block; border-radius: 10px; overflow: hidden; background: #e9e0f0; }
.work-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; transition: transform 220ms ease; }
.work-card a:hover img { transform: scale(1.02); }
.work-card a:focus-visible { outline: 3px solid #7642b8; outline-offset: 4px; }
.work-card figcaption { display: grid; gap: 5px; padding: 15px 0 0; color: var(--ink); font-size: 16px; line-height: 1.6; }
.work-card figcaption small { color: var(--muted); font-size: 13px; }
.work-presentation-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 60px 0 24px; }
.work-presentation-heading h3 { margin: 10px 0 0; font-size: 28px; }
.work-presentation-heading > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.work-slides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work-slides img { aspect-ratio: 16 / 9; }
.work-note { margin: 28px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
@media (max-width: 800px) {
  .process-rail { grid-template-columns: 1fr; }
  .home-hero h1 strong { display: inline-block; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .work-slides { grid-template-columns: 1fr; gap: 24px; }
  .work-presentation-heading { display: block; margin-top: 42px; }
  .work-presentation-heading h3 { font-size: 25px; }
  .work-presentation-heading > p { margin-top: 14px; }
  .work-card figcaption { font-size: 14px; }
  .work-card figcaption small { font-size: 12px; }
  .hero-photo-note { bottom: 12px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .work-card img { transition: none; } }
