:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --line: rgba(29, 29, 31, .12);
  --nav: rgba(250, 250, 252, .78);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --radius: 28px;
  font-family: "PingFang SC", "PingFang TC", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  font-optical-sizing: auto;
  scroll-behavior: smooth;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000;
  --surface: #161617;
  --surface-soft: #101011;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --muted-2: #86868b;
  --line: rgba(255, 255, 255, .14);
  --nav: rgba(18, 18, 20, .78);
}

/* 单个模块固定配色：在「页面设计」里把模块的“配色”设为浅色/深色时，
   该模块不跟随站点主题，自己覆盖这组变量即可。默认 auto 不加这个属性。 */
[data-scheme="light"] {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --line: rgba(29, 29, 31, .12);
}

[data-scheme="dark"] {
  color-scheme: dark;
  --bg: #000;
  --surface: #161617;
  --surface-soft: #101011;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --muted-2: #86868b;
  --line: rgba(255, 255, 255, .14);
}

/* 固定配色的模块自己要带上背景色，否则会透出站点主题的底色 */
[data-scheme] { background: var(--bg); color: var(--text); }

* { box-sizing: border-box; }
html { scroll-padding-top: 108px; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); transition: background .35s ease, color .35s ease; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
[hidden] { display: none !important; }
body.menu-open, body.reader-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
svg { display: block; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.nav-shell { width: min(980px, calc(100% - 44px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; }
.global-nav-wrap { position: relative; z-index: 3; height: 44px; background: var(--nav); backdrop-filter: saturate(180%) blur(20px); transition: background .3s ease, box-shadow .3s ease; }
.site-header.scrolled .global-nav-wrap { box-shadow: 0 1px 0 var(--line); }
.global-nav { position: relative; height: 44px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.site-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--text); transition: opacity .2s ease, transform .12s ease; }
.site-mark:hover { opacity: .68; }
.site-mark:active { transform: scale(.9); }
.site-mark svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.35; }
.site-mark .mark-core { fill: currentColor; stroke: none; }
.global-links { display: flex; align-items: center; gap: 42px; }
.global-links a { position: relative; font-size: 12px; font-weight: 450; color: rgba(29, 29, 31, .78); letter-spacing: .015em; transition: color .2s ease; }
[data-theme="dark"] .global-links a { color: rgba(245, 245, 247, .76); }
.global-links a:hover { color: var(--text); }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 4px; }
.theme-toggle, .menu-toggle { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: background .2s ease, transform .1s ease; }
.theme-toggle:hover, .menu-toggle:hover { background: rgba(127, 127, 127, .11); }
.theme-toggle:active, .menu-toggle:active { transform: scale(.9); }
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon { display: inline-flex; }
/* 切换时的小动画：深色转一圈，浅色/系统弹一下 */
.theme-icon.spin { animation: theme-spin .62s cubic-bezier(.4, 0, .2, 1); }
.theme-icon.pop { animation: theme-pop .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes theme-spin { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes theme-pop { 0% { scale: 1; } 45% { scale: 1.22; } 100% { scale: 1; } }
@media (prefers-reduced-motion: reduce) {
  .theme-icon.spin, .theme-icon.pop { animation: none; }
}
.menu-toggle { display: none; }
.local-nav-wrap { position: relative; z-index: 2; height: 52px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease; }
.site-header.scrolled .local-nav-wrap { border-bottom-color: var(--line); }
.local-nav { height: 52px; display: flex; align-items: center; justify-content: space-between; }
.local-title { font-size: 20px; line-height: 1; font-weight: 650; letter-spacing: -.035em; }
.local-actions { display: flex; align-items: center; gap: 24px; }
.local-actions > a:not(.local-button) { font-size: 12px; color: var(--muted); }
.local-actions > a:not(.local-button):hover { color: var(--accent); }
.local-button { padding: 7px 14px; border-radius: 999px; color: #fff; background: var(--accent); font-size: 12px; font-weight: 600; transition: background .2s ease, transform .1s ease; }
.local-button:hover { background: var(--accent-hover); }
.local-button:active { transform: scale(.96); }

.hero { min-height: 820px; height: 100svh; max-height: 980px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 72px; padding-top: 110px; }
.eyebrow, .section-index { margin: 0 0 28px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 5px rgba(48, 209, 88, .13); }
h1 { margin: 0; font-size: clamp(54px, 5.6vw, 82px); font-weight: 680; letter-spacing: -.055em; line-height: 1.01; }
h1 span, .about-copy h2 span, .closing-card h2 span { color: var(--muted); }
.hero-intro { margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; letter-spacing: -.01em; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:active { transform: scale(.97); transition-duration: .08s; }
.button-primary { color: #fff; background: var(--text); box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
[data-theme="dark"] .button-primary { color: #111; }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(0, 0, 0, .18); }
.button-secondary { background: rgba(127, 127, 127, .1); }
.button-secondary:hover { background: rgba(127, 127, 127, .17); }
.hero-object { position: relative; aspect-ratio: 1 / 1.1; display: grid; place-items: center; isolation: isolate; }
.orb { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .85; }
.orb-one { width: 72%; aspect-ratio: 1; top: 7%; right: -3%; background: linear-gradient(135deg, #8ac8ff, #4b66e6 55%, #a37dff); box-shadow: inset -25px -30px 60px rgba(22, 13, 90, .2); }
.orb-two { width: 60%; aspect-ratio: 1; bottom: 2%; left: 0; background: linear-gradient(135deg, #fbc2a2, #ef746f 55%, #af65cf); box-shadow: inset 25px 15px 45px rgba(255, 255, 255, .25); }
.glass-card { position: relative; z-index: 2; width: 74%; aspect-ratio: .78; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255, 255, 255, .5); border-radius: 32px; background: rgba(255, 255, 255, .24); backdrop-filter: blur(30px) saturate(145%); box-shadow: 0 32px 80px rgba(33, 31, 67, .22), inset 0 1px rgba(255, 255, 255, .5); color: #fff; transform: rotate(-6deg); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.hero-object:hover .glass-card { transform: rotate(-2deg) translateY(-8px); }
.card-top, .card-bottom { display: flex; justify-content: space-between; font-size: 10px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.card-bottom { justify-content: flex-start; gap: 16px; }
.idea-mark { position: relative; width: min(78%, 260px); height: 150px; margin: auto; }
.idea-mark i { position: absolute; top: 50%; width: 52%; aspect-ratio: 1; border: 3px solid rgba(255, 255, 255, .9); border-radius: 50%; transform: translateY(-50%); box-shadow: inset 0 0 28px rgba(255, 255, 255, .12); }
.idea-mark i:nth-child(1) { left: 0; }
.idea-mark i:nth-child(2) { left: 24%; }
.idea-mark i:nth-child(3) { right: 0; }

.section { padding: 140px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 330px; gap: 60px; align-items: end; margin-bottom: 56px; }
.section-heading h2, .about-copy h2 { margin: 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading p:last-child { margin: 0 0 4px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.project-list { display: grid; gap: 72px; }
.project-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project-visual { position: relative; height: 500px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius); isolation: isolate; }
.project-large .project-visual { height: 650px; }
.visual-blue { background: linear-gradient(145deg, #dcefff, #9ec8ff); }
.visual-warm { background: linear-gradient(160deg, #f3e4d6, #d8bba8); }
.visual-dark { background: linear-gradient(145deg, #282b31, #090a0d); }
.project-arrow { position: absolute; z-index: 4; top: 22px; right: 22px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .65); backdrop-filter: blur(16px); color: #1d1d1f; font-size: 18px; opacity: 0; transform: scale(.8) rotate(-12deg); transition: .32s cubic-bezier(.2, .8, .2, 1); }
.project-arrow.light { color: #fff; background: rgba(255, 255, 255, .14); }
.project-visual:hover .project-arrow { opacity: 1; transform: scale(1) rotate(0); }
.browser-frame { width: 78%; height: 72%; overflow: hidden; border: 1px solid rgba(255, 255, 255, .8); border-radius: 16px; background: rgba(255, 255, 255, .72); box-shadow: 0 35px 80px rgba(23, 76, 135, .2); transform: perspective(1000px) rotateX(3deg); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.project-visual:hover .browser-frame { transform: perspective(1000px) rotateX(0) scale(1.015); }
.browser-bar { height: 34px; padding-left: 14px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: #c8d5df; }
.atlas-ui { height: calc(100% - 34px); padding: 7% 9%; color: #15253f; background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(237, 246, 255, .7)); }
.mini-logo { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #245df5; font-size: 13px; font-weight: 700; }
.atlas-ui p { margin: 9% 0 7%; font-size: clamp(24px, 3vw, 46px); line-height: 1.04; letter-spacing: -.05em; }
.atlas-ui strong { color: #2863ef; }
.atlas-grid { height: 30%; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; }
.atlas-grid i { border-radius: 10px; background: #fff; box-shadow: 0 10px 30px rgba(33, 72, 120, .08); }
.project-meta { display: flex; justify-content: space-between; align-items: start; gap: 24px; padding-top: 20px; }
.project-meta h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.project-meta p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.project-meta > span { padding-top: 4px; color: var(--muted); font-size: 12px; }
.phone-frame { width: 49%; height: 80%; padding: 13% 7% 6%; display: flex; flex-direction: column; align-items: center; border: 5px solid #292421; border-radius: 36px; color: #3f322b; background: linear-gradient(#f9f4ee, #ece0d6); box-shadow: 0 30px 60px rgba(74, 47, 32, .2); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.project-visual:hover .phone-frame { transform: translateY(-7px) scale(1.015); }
.phone-island { position: absolute; top: 12%; width: 16%; height: 17px; border-radius: 20px; background: #292421; }
.phone-kicker { align-self: flex-start; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; opacity: .5; }
.phone-frame strong { align-self: flex-start; margin-top: 8px; font-size: clamp(17px, 2.1vw, 28px); line-height: 1.08; letter-spacing: -.04em; }
.breath-circle { width: 60%; aspect-ratio: 1; margin: auto; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe0d3, #bc9482); box-shadow: 0 16px 40px rgba(126, 78, 57, .24); }
.phone-frame small { font-size: 8px; opacity: .5; }
.music-ui { width: 54%; color: #fff; text-align: center; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.project-visual:hover .music-ui { transform: translateY(-7px); }
.music-label { color: #a8aab1; font-size: 8px; letter-spacing: .18em; }
.album-art { position: relative; width: 100%; aspect-ratio: 1; margin: 14% 0 10%; overflow: hidden; border-radius: 8px; background: radial-gradient(circle at 40% 45%, #c3a3ff, transparent 22%), linear-gradient(135deg, #101225, #704a8a 50%, #de8972); box-shadow: 0 25px 55px rgba(0, 0, 0, .55); }
.album-art::before, .album-art::after, .album-art i { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; }
.album-art::before { inset: 18%; }
.album-art::after { inset: 28%; }
.album-art i { inset: 39%; background: rgba(255, 255, 255, .65); }
.music-ui h4 { margin: 0; font-size: 15px; }
.music-ui p { margin: 4px 0; color: #8e8e93; font-size: 9px; }
.progress { height: 2px; margin: 12% 0 9%; border-radius: 2px; background: #45474d; text-align: left; }
.progress i { display: block; width: 35%; height: 100%; background: #fff; }
.controls { display: flex; align-items: center; justify-content: space-around; font-size: 16px; }
.controls strong { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #111; background: #fff; font-size: 9px; }

.articles { background: var(--surface); transition: background .35s ease; }
.article-heading { margin-bottom: 36px; }
.article-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { min-height: 34px; padding: 0 15px; border: 0; border-radius: 999px; color: var(--muted); background: rgba(127, 127, 127, .09); font-size: 13px; cursor: pointer; transition: color .2s ease, background .2s ease, transform .1s ease; }
.filter-chip:hover { color: var(--text); background: rgba(127, 127, 127, .15); }
.filter-chip:active { transform: scale(.96); }
.filter-chip.active { color: #fff; background: var(--text); }
[data-theme="dark"] .filter-chip.active { color: #111; }
.article-search { width: 220px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 10px; background: rgba(127, 127, 127, .09); color: var(--muted); }
.article-search:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; background: var(--bg); }
.article-search svg { width: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.article-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 13px; }
.article-search input::placeholder { color: var(--muted); }
.featured-article { min-height: 390px; margin-top: 36px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border-radius: 28px; color: #fff; background: #10131b; box-shadow: 0 18px 55px rgba(24, 34, 66, .15); }
.featured-copy { padding: 56px; display: flex; flex-direction: column; align-items: flex-start; }
.article-badge { display: inline-flex; align-items: center; gap: 8px; color: #6e6e73; font-size: 12px; font-weight: 550; }
.featured-copy .article-badge { color: rgba(255, 255, 255, .68); }
.article-badge i { width: 6px; height: 6px; border-radius: 50%; background: #64d2ff; }
.featured-copy h3 { max-width: 580px; margin: auto 0 18px; font-size: clamp(34px, 4vw, 54px); line-height: 1.06; letter-spacing: -.045em; }
.featured-copy p { max-width: 530px; margin: 0; color: rgba(255, 255, 255, .64); font-size: 15px; line-height: 1.65; }
.featured-copy button { margin-top: 26px; padding: 0; border: 0; color: #64d2ff; background: transparent; font-size: 14px; cursor: pointer; }
.featured-copy button:hover { text-decoration: underline; }
.featured-art { position: relative; min-height: 390px; overflow: hidden; background: radial-gradient(circle at 28% 25%, #94d9ff 0, #5678ff 24%, transparent 48%), radial-gradient(circle at 70% 70%, #e997ff 0, #8e4fe2 30%, transparent 60%), #1b2245; isolation: isolate; }
.featured-art::before, .featured-art::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .36); border-radius: 50%; }
.featured-art::before { width: 330px; height: 330px; top: -72px; right: -58px; }
.featured-art::after { width: 250px; height: 250px; left: 20px; bottom: -110px; }
.featured-number { position: absolute; z-index: 2; right: 38px; bottom: 18px; color: rgba(255, 255, 255, .88); font-size: 150px; font-weight: 650; line-height: 1; letter-spacing: -.09em; }
.article-list-wrap { margin-top: 58px; }
.article-list-head { min-height: 44px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.article-list-head span:first-child { color: var(--text); font-size: 15px; font-weight: 600; }
.article-row { width: 100%; min-height: 152px; display: grid; grid-template-columns: 126px 1fr 120px 24px; align-items: center; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: left; cursor: pointer; transition: background .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease; }
.article-row:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, .09); }
.article-row:active { transform: scale(.995); transition-duration: .1s; }
.row-category { align-self: start; padding-top: 5px; color: var(--accent); font-size: 12px; font-weight: 600; }
.row-copy h3 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.row-copy p { max-width: 670px; margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.row-meta { color: var(--muted); font-size: 11px; line-height: 1.7; text-align: right; }
.row-arrow { color: var(--muted); font-size: 18px; transition: color .2s ease, transform .2s ease; }
.article-row:hover .row-arrow { color: var(--accent); transform: translateX(3px); }
.article-empty { padding: 70px 0; color: var(--muted); text-align: center; }

.about-grid { display: grid; grid-template-columns: 1fr 2.25fr; gap: 40px; }
.about-copy h2 { max-width: 800px; }
.about-text { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin: 48px 0 80px; }
.about-text p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.capabilities { margin-left: calc((100% + 40px) / 3.25); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.capabilities div { padding: 28px 24px 0 0; border-right: 1px solid var(--line); }
.capabilities div + div { padding-left: 24px; }
.capabilities div:last-child { border: 0; }
.capabilities span { color: var(--muted); font-size: 10px; }
.capabilities h3 { margin: 35px 0 9px; font-size: 17px; }
.capabilities p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.closing { padding: 30px 0 80px; }
.closing-card { position: relative; min-height: 560px; padding: 68px; overflow: hidden; border-radius: 32px; color: #fff; background: #101011; }
.closing-card .section-index { color: #8e8e93; }
.closing-card h2 { position: relative; margin: 94px 0 34px; font-size: clamp(56px, 8vw, 104px); line-height: .92; letter-spacing: -.065em; }
.closing-glow { position: absolute; right: -140px; bottom: -330px; width: 650px; height: 650px; border-radius: 50%; background: radial-gradient(circle, #3f85ff 0, #8649c4 36%, #ec6c82 58%, transparent 70%); filter: blur(18px); opacity: .85; }
.button-white { position: relative; color: #111; background: #fff; }
.button-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.footer { min-height: 160px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer p, .footer div { color: var(--muted); font-size: 12px; }
.footer div { display: flex; gap: 20px; }
.footer div a:hover { color: var(--text); }

.managed-page { min-height: 100vh; padding-top: 96px; }
.managed-shell { width: min(1040px, calc(100% - 48px)); margin-inline: auto; }
.managed-kicker { margin: 0 0 22px; color: var(--accent); font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
/* 视觉主题=跟随主题（auto，默认）时用站点变量；light/dark/colorful 固定配色。 */
.managed-hero { min-height: 720px; display: flex; align-items: center; color: var(--text); background: var(--bg); }
.managed-hero.light { color: #1d1d1f; background: #f5f5f7; }
.managed-hero.dark { color: #f5f5f7; background: #000; }
.managed-hero.colorful { color: #fff; background: radial-gradient(circle at 82% 17%, rgba(90, 200, 250, .88), transparent 30%), radial-gradient(circle at 15% 85%, rgba(175, 82, 222, .82), transparent 34%), #11152c; }
.managed-hero .managed-shell { padding-block: 100px; }
.managed-hero h1 { max-width: 900px; font-size: clamp(58px, 7vw, 92px); }
.managed-subtitle { max-width: 650px; margin: 28px 0 0; color: #6e6e73; font-size: 18px; line-height: 1.7; }
.managed-hero.dark .managed-subtitle, .managed-hero.colorful .managed-subtitle { color: rgba(255, 255, 255, .62); }
.managed-actions { display: flex; gap: 12px; margin-top: 34px; }
.managed-hero.dark .button-primary, .managed-hero.colorful .button-primary { color: #111; background: #fff; }
.managed-hero.dark .button-secondary, .managed-hero.colorful .button-secondary { background: rgba(255, 255, 255, .14); }
.managed-richtext { padding: 140px 0; background: var(--surface); }
.managed-richtext.center { text-align: center; }
.managed-richtext h2, .managed-articles h2, .managed-projects h2, .managed-cta h2 { max-width: 850px; margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.05; letter-spacing: -.05em; }
.managed-richtext.center h2, .managed-richtext.center .managed-prose { margin-inline: auto; }
.managed-prose { max-width: 720px; margin-top: 34px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.managed-articles { padding: 130px 0; background: var(--bg); }
.managed-search { width: min(360px, 100%); height: 44px; margin: 35px 0 25px; padding: 0 14px; display: flex; align-items: center; gap: 9px; border-radius: 11px; color: var(--muted); background: var(--surface); }
.managed-search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.managed-search input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; }
.managed-article-list { margin-top: 42px; display: grid; gap: 10px; }
.managed-search + .managed-article-list { margin-top: 0; }
.managed-article-row { width: 100%; min-height: 142px; padding: 26px 28px; display: grid; grid-template-columns: 110px 1fr 180px; align-items: center; gap: 30px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: var(--surface); text-align: left; cursor: pointer; transition: background .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease; }
.managed-article-row:hover { background: var(--surface); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, .09); }
.managed-article-row:active { transform: scale(.995); transition-duration: .1s; }
.managed-article-category { align-self: start; padding-top: 5px; color: var(--accent); font-size: 12px; font-weight: 600; }
.managed-article-row strong { display: block; font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
.managed-article-row small { max-width: 630px; margin-top: 9px; display: block; color: var(--muted); font-size: 13px; line-height: 1.6; }
.managed-article-date { display: flex; align-items: center; justify-content: flex-end; gap: 20px; color: var(--muted); font-size: 11px; }
.managed-article-date i { font-size: 21px; font-style: normal; transition: transform .2s ease, color .2s ease; }
.managed-article-row:hover .managed-article-date i { color: var(--accent); transform: translateX(3px); }
.managed-empty { grid-column: 1 / -1; padding: 60px 0; color: var(--muted); text-align: center; line-height: 1.7; }
/* 精选作品卡片可点击时保持和 article 完全一致的外观 */
button.managed-project-card { border: 0; text-align: left; cursor: pointer; font: inherit; transition: transform .38s cubic-bezier(.2, .8, .2, 1), box-shadow .38s ease; }
button.managed-project-card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(0, 0, 0, .2); }
button.managed-project-card:active { transform: scale(.99); transition-duration: .1s; }
.managed-projects { padding: 140px 0; background: var(--surface); }
.managed-project-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.managed-project-card { min-height: 420px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 26px; color: #fff; background: linear-gradient(145deg, #4697f4, #4f52cf); box-shadow: 0 20px 50px rgba(37, 73, 160, .16); }
.managed-project-card.tone-1 { background: linear-gradient(145deg, #d5a88e, #9f655c); }
.managed-project-card.tone-2 { background: linear-gradient(145deg, #33363d, #08090b); }
.managed-project-card.tone-3 { background: linear-gradient(145deg, #53b58c, #176a66); }
.managed-project-card > span { font-size: 12px; opacity: .66; }
.managed-project-card h3 { margin: 0; font-size: 38px; letter-spacing: -.045em; }
.managed-project-card p { margin: 8px 0 0; color: rgba(255, 255, 255, .68); font-size: 14px; }
.managed-cta { min-height: 570px; padding: 120px 0; display: flex; align-items: center; color: #fff; background: #101011; }
.managed-cta.blue { background: #0071e3; }
.managed-cta .managed-kicker { color: rgba(255, 255, 255, .58); }
.managed-cta h2 { font-size: clamp(56px, 7vw, 92px); }
.managed-cta .managed-shell > p:not(.managed-kicker) { max-width: 620px; margin: 26px 0; color: rgba(255, 255, 255, .65); font-size: 17px; line-height: 1.7; }
.managed-spacer.small { height: 60px; }
.managed-spacer.medium { height: 120px; }
.managed-spacer.large { height: 220px; }
.managed-section-header { padding: 115px 0; background: var(--bg); }
.managed-section-header.white { background: var(--surface); }
.managed-section-header.dark { color: #f5f5f7; background: #101011; }
.managed-section-header.center { text-align: center; }
.managed-section-header h2, .managed-bento h2, .managed-features h2, .managed-timeline h2, .managed-media h2 { max-width: 850px; margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.05; letter-spacing: -.05em; }
.managed-section-header.center h2, .managed-section-header.center .managed-section-intro { margin-inline: auto; }
.managed-section-intro, .managed-bento-intro { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.managed-section-header.dark .managed-section-intro { color: rgba(255, 255, 255, .62); }
.managed-bento { padding: 130px 0; background: var(--bg); }
.managed-bento.white { background: var(--surface); }
.managed-bento.dark { color: #f5f5f7; background: #000; }
.managed-bento.dark .managed-bento-intro { color: rgba(255, 255, 255, .58); }
.managed-bento-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-flow: dense; grid-auto-rows: minmax(230px, auto); gap: 18px; }
.managed-bento-card { grid-column: span 2; min-width: 0; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 28px; color: #fff; background: linear-gradient(145deg, #0a84ff, #0055d6); box-shadow: 0 22px 55px rgba(0, 85, 214, .15); transition: transform .38s cubic-bezier(.2, .8, .2, 1), box-shadow .38s ease; }
.managed-bento-card:hover { transform: translateY(-4px) scale(1.008); box-shadow: 0 30px 70px rgba(0, 0, 0, .2); }
.managed-bento-card:active { transform: scale(.99); transition-duration: .1s; }
.managed-bento-card.wide { grid-column: span 4; }
.managed-bento-card.tall { grid-row: span 2; }
.managed-bento-card.tone-violet { background: radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .26), transparent 28%), linear-gradient(145deg, #bf5af2, #5e5ce6); box-shadow: 0 22px 55px rgba(94, 92, 230, .2); }
.managed-bento-card.tone-orange { background: radial-gradient(circle at 15% 85%, rgba(255, 255, 255, .24), transparent 31%), linear-gradient(145deg, #ff9f0a, #ff375f); }
.managed-bento-card.tone-green { background: linear-gradient(145deg, #30d158, #0a84ff); }
.managed-bento-card.tone-graphite { background: radial-gradient(circle at 80% 5%, #4b4b50, transparent 35%), #111; }
.managed-card-index { font-size: 12px; font-weight: 600; opacity: .62; }
.managed-bento-card h3 { max-width: 420px; margin: 0; font-size: clamp(28px, 3vw, 43px); line-height: 1.04; letter-spacing: -.045em; }
.managed-bento-card p { max-width: 470px; margin: 12px 0 0; color: rgba(255, 255, 255, .68); font-size: 14px; line-height: 1.55; }
.managed-stats-section { padding: 56px 0; background: var(--bg); }
.managed-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); overflow: hidden; border-radius: 28px; color: var(--text); background: var(--surface); box-shadow: 0 18px 45px rgba(0, 0, 0, .06); }
.managed-stats.dark { color: #f5f5f7; background: #101011; box-shadow: 0 20px 55px rgba(0, 0, 0, .22); }
.managed-stats.glass { border: 1px solid color-mix(in srgb, var(--surface) 65%, transparent); background: color-mix(in srgb, var(--surface) 68%, transparent); backdrop-filter: blur(26px) saturate(180%); box-shadow: 0 24px 65px rgba(0, 0, 0, .12); }
.managed-stat { min-height: 190px; padding: 36px 24px; display: grid; place-content: center; gap: 12px; text-align: center; border-right: 1px solid var(--line); }
.managed-stat:last-child { border-right: 0; }
.managed-stat strong { font-size: clamp(42px, 5vw, 66px); line-height: 1; letter-spacing: -.06em; }
.managed-stat span { color: var(--muted); font-size: 13px; font-weight: 520; }
.managed-stats.dark .managed-stat { border-color: rgba(255, 255, 255, .12); }
.managed-stats.dark .managed-stat span { color: rgba(255, 255, 255, .58); }
.managed-features { padding: 130px 0; background: var(--surface); }
.managed-feature-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.managed-feature-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.managed-feature-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.managed-feature-card { min-height: 285px; padding: 30px; border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: 26px; background: var(--bg); transition: transform .32s cubic-bezier(.2, .8, .2, 1), border-color .25s ease; }
.managed-feature-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateY(-3px); }
.managed-feature-card > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--accent); font-size: 20px; box-shadow: 0 10px 24px rgba(0, 113, 227, .2); }
.managed-feature-card h3 { margin: 78px 0 0; font-size: 24px; line-height: 1.12; letter-spacing: -.035em; }
.managed-feature-card p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.managed-quote-section { padding: 44px 0; background: var(--bg); }
.managed-quote { min-height: 520px; margin: 0; padding: 70px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 34px; color: #f5f5f7; background: #101011; box-shadow: 0 26px 70px rgba(0, 0, 0, .18); }
.managed-quote.light { color: var(--text); background: var(--surface); box-shadow: 0 20px 55px rgba(0, 0, 0, .07); }
.managed-quote.colorful { background: radial-gradient(circle at 82% 10%, rgba(90, 200, 250, .9), transparent 30%), radial-gradient(circle at 12% 92%, rgba(191, 90, 242, .86), transparent 34%), #11152c; }
.managed-quote blockquote { max-width: 900px; margin: 0; font-size: clamp(40px, 5.4vw, 72px); font-weight: 650; line-height: 1.08; letter-spacing: -.052em; }
.managed-quote figcaption { display: grid; gap: 5px; }
.managed-quote figcaption strong { font-size: 14px; }
.managed-quote figcaption span { color: rgba(255, 255, 255, .52); font-size: 12px; }
.managed-quote.light figcaption span { color: var(--muted); }
.managed-timeline { padding: 130px 0; background: var(--bg); }
.managed-timeline-list { margin-top: 60px; border-top: 1px solid var(--line); }
.managed-timeline-list article { min-height: 145px; padding: 30px 0; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 40px; border-bottom: 1px solid var(--line); }
.managed-timeline-list time { padding-top: 5px; color: var(--accent); font-size: 14px; font-weight: 650; }
.managed-timeline-list h3 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.managed-timeline-list p { max-width: 680px; margin: 11px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.managed-media-section { padding: 70px 0; background: var(--bg); }
.managed-media-section.dark { background: #000; }
.managed-media { min-height: 600px; display: grid; grid-template-columns: 1.12fr .88fr; overflow: hidden; border-radius: 34px; color: var(--text); background: var(--surface); box-shadow: 0 24px 65px rgba(0, 0, 0, .1); }
.managed-media-section.dark .managed-media { color: #f5f5f7; background: #101011; }
.managed-media.full { display: flex; flex-direction: column; }
.managed-media-art { min-height: 520px; display: grid; place-items: center; overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 18%, rgba(90, 200, 250, .95), transparent 28%), radial-gradient(circle at 15% 86%, rgba(191, 90, 242, .9), transparent 35%), #151731; font-size: 70px; }
.managed-media.full .managed-media-art { min-height: min(68vw, 720px); }
.managed-media-art img { width: 100%; height: 100%; object-fit: cover; }
.managed-media-copy { padding: clamp(44px, 6vw, 78px); display: flex; flex-direction: column; justify-content: center; }
.managed-media-copy > p:last-child { margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.72; }
.managed-media-section.dark .managed-media-copy > p:last-child { color: rgba(255, 255, 255, .58); }

/* 图片画廊 */
.managed-gallery { padding: 120px 0; background: var(--bg); }
.managed-gallery.white { background: var(--surface); }
.managed-gallery.dark { color: #f5f5f7; background: #000; }
.managed-gallery h2 { max-width: 850px; margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.05; letter-spacing: -.05em; }
.managed-gallery-grid { margin-top: 52px; display: grid; gap: 18px; }
.managed-gallery-grid.columns-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.managed-gallery-grid.columns-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.managed-gallery-grid.columns-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.managed-gallery-item { margin: 0; overflow: hidden; border-radius: 22px; background: var(--surface-soft); box-shadow: 0 14px 40px rgba(0, 0, 0, .07); }
.managed-gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.managed-gallery-item:hover img { transform: scale(1.04); }
.managed-gallery-placeholder { display: grid; place-items: center; aspect-ratio: 4 / 3; color: var(--muted-2); font-size: 34px; }
.managed-gallery-item figcaption { padding: 14px 18px; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* 常见问题 */
.managed-faq { padding: 120px 0; background: var(--surface); }
.managed-faq h2 { max-width: 850px; margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.05; letter-spacing: -.05em; }
.managed-faq-list { max-width: 820px; margin-top: 48px; border-top: 1px solid var(--line); }
.managed-faq-item { border-bottom: 1px solid var(--line); }
.managed-faq-item summary { padding: 26px 40px 26px 0; position: relative; cursor: pointer; list-style: none; font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -.02em; }
.managed-faq-item summary::-webkit-details-marker { display: none; }
.managed-faq-item summary::after { content: '+'; position: absolute; top: 50%; right: 6px; translate: 0 -50%; color: var(--muted); font-size: 24px; font-weight: 400; transition: rotate .3s ease; }
.managed-faq-item[open] summary::after { rotate: 45deg; }
.managed-faq-item p { margin: 0; padding: 0 40px 28px 0; color: var(--muted); font-size: 16px; line-height: 1.75; }

/* 分栏文字 */
.managed-columns { padding: 110px 0; background: var(--bg); }
.managed-columns h2 { max-width: 850px; margin: 0; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -.05em; }
.managed-columns-grid { margin-top: 50px; display: grid; gap: 40px; }
.managed-columns-grid.columns-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.managed-columns-grid.columns-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.managed-column h3 { margin: 0 0 14px; font-size: 21px; letter-spacing: -.025em; }
.managed-column p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }

/* 嵌入内容 */
.managed-embed { padding: 90px 0; background: var(--bg); }
.managed-embed h2 { margin: 0 0 34px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.045em; }
.managed-embed-frame { overflow: hidden; border-radius: 26px; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, .14); }
.managed-embed-frame.ratio-16-9 { aspect-ratio: 16 / 9; }
.managed-embed-frame.ratio-4-3 { aspect-ratio: 4 / 3; }
.managed-embed-frame.ratio-1-1 { aspect-ratio: 1 / 1; }
.managed-embed-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.managed-embed-frame.is-empty { display: grid; place-items: center; border: 2px dashed var(--line); color: var(--muted); background: var(--surface-soft); font-size: 14px; }
.managed-embed-stub { display: grid; place-items: center; align-content: center; gap: 8px; height: 100%; color: rgba(255, 255, 255, .8); text-align: center; padding: 20px; }
.managed-embed-stub strong { font-size: 17px; }
.managed-embed-stub small { max-width: 90%; color: rgba(255, 255, 255, .5); font-size: 12px; word-break: break-all; }

.article-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; overflow-y: auto; border: 0; color: var(--text); background: rgba(0, 0, 0, .38); backdrop-filter: blur(18px) saturate(120%); opacity: 0; transition: opacity .22s ease, display .22s allow-discrete, overlay .22s allow-discrete; }
.article-dialog[open] { opacity: 1; }
.article-dialog::backdrop { background: transparent; }
.reader-shell { position: relative; width: min(820px, calc(100% - 32px)); min-height: calc(100% - 48px); margin: 24px auto; overflow: hidden; border: 1px solid rgba(255, 255, 255, .3); border-radius: 28px; background: var(--surface); box-shadow: 0 30px 100px rgba(0, 0, 0, .28); transform: translateY(20px) scale(.985); transition: transform .32s cubic-bezier(.2, .8, .2, 1), background .35s ease; }
.article-dialog[open] .reader-shell { transform: translateY(0) scale(1); }
.reader-close { position: sticky; z-index: 3; top: 20px; float: right; width: 36px; height: 36px; margin: 20px 20px 0 0; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--muted); background: rgba(127, 127, 127, .13); backdrop-filter: blur(12px); cursor: pointer; transition: transform .1s ease, background .2s ease; }
.reader-close:hover { color: var(--text); background: rgba(127, 127, 127, .2); }
.reader-close:active { transform: scale(.9); }
.reader-close svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.reader { max-width: 670px; margin: 0 auto; padding: 105px 24px 120px; }
.reader-category { margin: 0 0 18px; color: var(--accent); font-size: 13px; font-weight: 600; }
.reader h1 { margin: 0; font-size: clamp(40px, 6vw, 64px); line-height: 1.03; letter-spacing: -.05em; }
.reader-meta { margin: 24px 0 54px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.reader-lead { margin: 0 0 44px; color: var(--text); font-size: 21px; line-height: 1.65; letter-spacing: -.012em; }
.reader h2 { margin: 50px 0 18px; font-size: 27px; line-height: 1.25; letter-spacing: -.03em; }
.reader p:not(.reader-category):not(.reader-meta):not(.reader-lead) { margin: 0 0 24px; color: color-mix(in srgb, var(--text) 82%, var(--muted)); font-size: 17px; line-height: 1.85; }
.reader blockquote { margin: 40px 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--accent); color: var(--text); font-size: 22px; font-weight: 550; line-height: 1.55; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@starting-style {
  .article-dialog[open] { opacity: 0; }
  .article-dialog[open] .reader-shell { transform: translateY(20px) scale(.985); }
}

@media (max-width: 900px) {
  .hero { height: auto; min-height: 0; grid-template-columns: 1fr; gap: 70px; padding-top: 210px; padding-bottom: 100px; }
  .hero-object { width: min(560px, 90%); margin: auto; }
  .section { padding: 100px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading p:last-child { max-width: 500px; }
  .project-large .project-visual { height: 520px; }
  .project-row { grid-template-columns: 1fr; gap: 70px; }
  .project-visual { height: 590px; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-copy { min-height: 390px; }
  .featured-art { min-height: 260px; }
  .about-grid { grid-template-columns: 1fr; }
  .capabilities { margin-left: 0; }
  .managed-project-card { min-height: 350px; }
  .managed-bento-grid { grid-template-columns: repeat(2, 1fr); }
  .managed-bento-card, .managed-bento-card.wide { grid-column: span 1; }
  .managed-feature-grid.columns-3, .managed-feature-grid.columns-4 { grid-template-columns: repeat(2, 1fr); }
  .managed-media { grid-template-columns: 1fr; }
  .managed-media-art { min-height: 520px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 1180px); }
  .nav-shell { width: calc(100% - 32px); }
  .global-nav { grid-template-columns: 1fr auto; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
  .menu-toggle span { width: 14px; height: 1px; display: block; background: currentColor; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
  .site-header.menu-open .menu-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .global-links { position: fixed; z-index: 4; inset: 44px 0 auto; min-height: 210px; padding: 28px 32px 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 20px 40px rgba(0, 0, 0, .08); opacity: 0; visibility: hidden; transform: translateY(-12px); transform-origin: top right; transition: opacity .24s ease, transform .3s cubic-bezier(.2, .8, .2, 1), visibility .24s; }
  .global-links a { width: 100%; font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
  .site-header.menu-open .global-links { opacity: 1; visibility: visible; transform: translateY(0); }
  .local-title { font-size: 18px; }
  .local-actions { gap: 15px; }
  .local-actions > a:not(.local-button) { display: none; }
  .hero { gap: 54px; padding-top: 165px; padding-bottom: 72px; }
  .eyebrow { font-size: 10px; }
  .desktop-break { display: none; }
  h1 { font-size: clamp(46px, 14vw, 62px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { justify-content: space-between; }
  .hero-object { width: 100%; }
  .glass-card { padding: 20px; border-radius: 24px; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2, .about-copy h2 { font-size: 38px; }
  .project-list { gap: 58px; }
  .project-large .project-visual, .project-visual { height: 420px; border-radius: 22px; }
  .browser-frame { width: 90%; height: 68%; }
  .project-meta { flex-direction: column; gap: 8px; }
  .project-meta > span { order: -1; }
  .phone-frame { width: 57%; height: 84%; }
  .music-ui { width: 62%; }
  .article-toolbar { align-items: stretch; flex-direction: column; }
  .article-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .article-filters::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }
  .article-search { width: 100%; }
  .featured-article { min-height: 0; margin-top: 24px; border-radius: 22px; }
  .featured-copy { min-height: 370px; padding: 32px 26px; }
  .featured-copy h3 { font-size: 36px; }
  .featured-art { min-height: 220px; }
  .featured-number { right: 25px; font-size: 110px; }
  .article-list-wrap { margin-top: 42px; }
  .article-row { min-height: 0; grid-template-columns: 1fr 20px; gap: 12px; padding: 26px 2px; }
  .row-category { grid-column: 1; padding: 0; }
  .row-copy { grid-column: 1; }
  .row-copy h3 { font-size: 19px; }
  .row-meta { grid-column: 1; text-align: left; }
  .row-arrow { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .about-text { grid-template-columns: 1fr; gap: 20px; margin: 35px 0 55px; }
  .capabilities { grid-template-columns: 1fr; }
  .capabilities div, .capabilities div + div { padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .capabilities div:last-child { border-bottom: 0; }
  .capabilities h3 { margin: 18px 0 7px; }
  .closing { padding: 20px 0 56px; }
  .closing-card { min-height: 500px; padding: 34px 26px; border-radius: 24px; }
  .closing-card h2 { margin-top: 110px; font-size: 58px; }
  .closing-glow { right: -190px; bottom: -220px; width: 440px; height: 440px; }
  .footer { min-height: 0; padding: 42px 0; align-items: flex-start; flex-wrap: wrap; }
  .footer p { order: 3; width: 100%; }
  .reader-shell { width: 100%; min-height: 100%; margin: 0; border: 0; border-radius: 0; }
  .reader { padding: 92px 24px 90px; }
  .reader h1 { font-size: 40px; }
  .reader-lead { font-size: 19px; }
  .managed-page { padding-top: 96px; }
  .managed-shell { width: min(100% - 32px, 1040px); }
  .managed-hero { min-height: 650px; }
  .managed-hero .managed-shell { padding-block: 72px; }
  .managed-hero h1 { font-size: clamp(48px, 14vw, 66px); }
  .managed-subtitle { font-size: 16px; }
  .managed-actions { align-items: stretch; flex-direction: column; }
  .managed-richtext, .managed-articles, .managed-projects, .managed-section-header, .managed-bento, .managed-features, .managed-timeline { padding: 90px 0; }
  .managed-richtext h2, .managed-articles h2, .managed-projects h2, .managed-cta h2, .managed-section-header h2, .managed-bento h2, .managed-features h2, .managed-timeline h2, .managed-media h2 { font-size: 42px; }
  .managed-project-grid { grid-template-columns: 1fr; }
  .managed-project-card { min-height: 360px; }
  .managed-bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .managed-bento-card, .managed-bento-card.wide { grid-column: auto; min-height: 300px; }
  .managed-bento-card.tall { grid-row: auto; }
  .managed-feature-grid, .managed-feature-grid.columns-2, .managed-feature-grid.columns-3, .managed-feature-grid.columns-4 { grid-template-columns: 1fr; }
  .managed-stats { grid-template-columns: 1fr; }
  .managed-stat { min-height: 145px; border-right: 0; border-bottom: 1px solid var(--line); }
  .managed-stat:last-child { border-bottom: 0; }
  .managed-quote { min-height: 500px; padding: 38px 28px; border-radius: 26px; }
  .managed-quote blockquote { font-size: 38px; }
  .managed-timeline-list article { grid-template-columns: 1fr; gap: 12px; }
  .managed-media-section { padding: 42px 0; }
  .managed-media { min-height: 0; border-radius: 26px; }
  .managed-media-art, .managed-media.full .managed-media-art { min-height: 360px; }
  .managed-media-copy { padding: 40px 28px 48px; }
  .managed-article-row { grid-template-columns: 1fr 22px; gap: 10px; }
  .managed-article-category { grid-column: 1; }
  .managed-article-row > span:nth-child(2) { grid-column: 1; }
  .managed-article-date { grid-column: 1 / 3; justify-content: space-between; }
  .managed-article-date i { position: absolute; right: 22px; }
  .managed-cta { min-height: 520px; padding: 90px 0; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Brand, collapsing navigation and content libraries */
.site-mark img { width: 28px; height: 28px; display: block; object-fit: contain; }
.global-nav-wrap,
.local-nav-wrap { transition: transform .38s cubic-bezier(.22, 1, .36, 1), opacity .24s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease; }
.site-header.compact .global-nav-wrap { opacity: 0; pointer-events: none; transform: translateY(-100%); }
.site-header.compact .local-nav-wrap { transform: translateY(-44px); }
.local-title { min-width: 5em; transition: opacity .18s ease; }
.project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
.project-list .project-large { grid-column: 1 / -1; }
.project-visual { width: 100%; border: 0; color: #fff; cursor: pointer; text-align: left; }
.project-visual.visual-green { background: linear-gradient(145deg, #63c8a5, #176a66); }
.project-art-label { position: absolute; top: 30px; left: 32px; font-size: 12px; font-weight: 600; letter-spacing: .08em; opacity: .72; }
.project-visual > strong { position: absolute; left: 32px; bottom: 30px; max-width: calc(100% - 64px); font-size: clamp(38px, 5vw, 70px); line-height: .98; letter-spacing: -.055em; }
.section-more { margin-top: 42px; display: flex; justify-content: flex-end; }
.section-more a { color: var(--accent); font-size: 15px; }
.section-more a:hover { text-decoration: underline; }
.content-empty { grid-column: 1 / -1; min-height: 220px; padding: 48px; display: grid; place-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 24px; color: var(--muted); text-align: center; background: var(--surface); }
.content-empty strong { color: var(--text); font-size: 20px; }
.content-empty p { margin: 0; font-size: 14px; line-height: 1.6; }
.content-library { min-height: 100vh; padding: 96px 0 100px; background: var(--bg); }
.library-hero { padding-top: 110px; padding-bottom: 70px; }
.library-hero .section-index { margin-bottom: 20px; }
.library-hero h1 { font-size: clamp(48px, 7vw, 84px); }
.library-hero > p:last-child { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
/* 列表行本身已经是圆角卡片了，外层只负责排版，不再做成一个大卡片 */
.library-shell { display: grid; gap: 14px; }
.library-tools { min-height: 64px; padding: 0 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.library-tools > a { color: var(--accent); font-size: 13px; }
.community-row { width: 100%; min-height: 148px; padding: 28px; display: grid; grid-template-columns: 120px minmax(0, 1fr) 170px; align-items: center; gap: 26px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: var(--surface); text-align: left; cursor: pointer; transition: background .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease; }
.community-row:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, .09); }
.community-row:active { transform: scale(.995); transition-duration: .1s; }
.community-category { align-self: start; padding-top: 4px; color: var(--accent); font-size: 12px; font-weight: 600; }
.community-copy strong { display: block; font-size: 22px; line-height: 1.25; letter-spacing: -.025em; }
.community-copy small { max-width: 690px; margin-top: 9px; display: block; color: var(--muted); font-size: 13px; line-height: 1.6; }
.community-meta { display: flex; align-items: center; justify-content: flex-end; gap: 22px; color: var(--muted); font-size: 11px; text-align: right; }
.community-meta i { color: var(--accent); font-size: 22px; font-style: normal; transition: transform .2s ease; }
.community-row:hover .community-meta i { transform: translateX(3px); }
body:not(.library-mode) [data-library-only] { display: none; }

@media (max-width: 700px) {
  .site-header.compact .local-nav-wrap { transform: translateY(-44px); }
  .project-list { grid-template-columns: 1fr; gap: 42px; }
  .project-list .project-large { grid-column: auto; }
  .project-visual, .project-large .project-visual { height: 430px; }
  .local-actions { gap: 12px; }
  .local-actions > a:not(.local-button) { display: none; }
  .content-library { padding-top: 96px; }
  .library-hero { padding-top: 70px; padding-bottom: 42px; }
  .library-shell { width: 100%; border-radius: 0; }
  .library-tools { padding-inline: 20px; }
  .community-row { grid-template-columns: 1fr 28px; min-height: 132px; padding: 24px 20px; gap: 10px 16px; }
  .community-category { grid-column: 1 / -1; padding: 0; }
  .community-meta { font-size: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .global-nav-wrap, .local-nav-wrap { transition: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .global-nav-wrap, .local-nav-wrap, .global-links, .article-dialog, .reader-close { background: var(--surface); backdrop-filter: none; }
  .glass-card, .project-arrow, .managed-stats.glass { backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  .global-nav-wrap, .local-nav-wrap { background: var(--surface); }
  .local-nav-wrap, .article-toolbar, .article-row { border-color: var(--text); }
  .project-meta p, .project-meta > span, .row-copy p, .row-meta { color: var(--text); }
}

/* 列表行改成圆角卡片后，容器负责间距 */
.article-list, .community-list { display: grid; gap: 10px; margin-top: 14px; }
.library-shell .community-list { margin-top: 0; }

/* 启动期：先藏住内容区，等 main.js 决定好显示 CMS 页面还是静态兜底再放出来。
   只藏 main 和页脚，导航条照常显示，页面不会整屏空白。
   .no-js 时这条规则不生效（JS 关闭时直接看静态内容）。 */
.booting main,
.booting .footer,
.booting .content-library { opacity: 0; }
main, .footer { transition: opacity .18s ease; }
@media (prefers-reduced-motion: reduce) {
  main, .footer { transition: none; }
}

/* 接口不可用时的兜底提示。正常情况下 CMS 页面会接管，这段不会显示。 */
.fallback-state { min-height: 68vh; display: grid; place-items: center; padding: 80px 0; }
.fallback-card { max-width: 460px; padding: 48px 40px; display: grid; justify-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.fallback-card h1 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }
.fallback-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.fallback-card .button { margin-top: 10px; }
.fallback-spinner { width: 26px; height: 26px; border: 2px solid var(--line); border-top-color: var(--accent);
  border-radius: 50%; animation: fallback-spin 1s linear infinite; }
@keyframes fallback-spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .fallback-spinner { animation: none; } }
