:root{--bg:#f8f8f6;--ink:#242622;--muted:#686b64;--line:#dedfd8;--accent:#df5125;--surface:#fff;--radius:16px;font-size:16px;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;line-height:1.7}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button:disabled{cursor:default}h1,h2,h3,p{margin:0}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:5px}::selection{background:#ffe0d4}.shell{max-width:1180px;margin:0 auto;padding-left:40px;padding-right:40px}.skip-link{position:fixed;top:12px;left:16px;transform:translateY(-180%);z-index:100;background:var(--ink);color:white;padding:10px 16px;border-radius:8px}.skip-link:focus{transform:none}.header{height:110px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-weight:650;font-size:17px;line-height:1.4}.brand-mark{width:42px;height:42px;border-radius:12px;background:var(--accent);color:white;display:grid;place-items:center;font-family:Georgia,serif;font-size:30px;line-height:1;padding:0;flex-shrink:0}.brand-mark img{display:block;width:100%;height:100%}.brand-sub{display:block;font-size:12px;letter-spacing:1.2px;font-weight:500;color:var(--muted);margin-top:4px}.header nav{display:flex;gap:34px;align-items:center;font-size:14px}.header nav a{padding:9px 0;color:var(--muted);transition:color .2s}.header nav a:hover{color:var(--accent)}.header nav .nav-contact{padding:9px 19px;border:1px solid var(--line);border-radius:50px;color:var(--ink)}.eyebrow{font-size:12px;letter-spacing:1.8px;line-height:1.6;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:10px}.accent-line{width:22px;height:2px;background:var(--accent)}h1{font-size:clamp(50px,6vw,76px);font-weight:700;letter-spacing:-2px;line-height:1.22;margin-top:25px}.hero-emphasis{color:var(--accent)}.hero-description{margin-top:25px;color:var(--muted);font-size:16px;line-height:1.9}.hero-description [data-profile=name]{color:var(--ink);font-weight:600}.hero-actions{margin-top:30px;display:flex;gap:28px;align-items:center}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 21px;border-radius:8px;border:1px solid transparent;font-size:14px;font-weight:550;transition:background .2s,transform .2s}.primary{background:var(--ink);color:#fff}.primary:hover{background:#44473f;transform:translateY(-2px)}.text-link{padding:8px 0;border:0;background:transparent;color:var(--ink);font-size:14px;font-weight:550;display:inline-flex;align-items:center;gap:14px}.text-link:hover{color:var(--accent)}.projects{padding-top:20px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.section-heading h2,.about h2{font-size:34px;line-height:1.4;letter-spacing:-1px;margin-top:9px}.heading-period{color:var(--accent);padding-left:4px}.section-description{font-size:14px;color:var(--muted);padding-bottom:6px}.featured-project{display:grid;grid-template-columns:1fr 1.18fr;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}.feature-copy{padding:38px}.project-meta{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.project-number{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:600;color:var(--accent);border-right:1px solid var(--line);padding-right:12px}.feature-copy h3{font-size:29px;letter-spacing:-.6px;line-height:1.4;margin-top:23px}.feature-copy>p{margin-top:13px;font-size:16px;line-height:1.85;color:var(--muted);max-width:330px}.tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.tags>span{font-size:12px;color:#5d6258;padding:3px 10px;border:1px solid #e1e3da;border-radius:5px;background:#f8f9f6}.feature-copy .button{margin-top:30px}.feature-visual{background:#ebece6;padding:28px 30px 25px;display:flex;flex-direction:column;justify-content:space-between;gap:25px}.workflow-top,.workflow-bottom{font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.7px;display:flex;justify-content:space-between;gap:12px;color:#686e61}.workflow-label{font-family:inherit;letter-spacing:0}.workflow-title{font-size:24px;line-height:1.5;font-weight:600;letter-spacing:-.5px}.workflow{display:grid;grid-template-columns:1fr 1fr;gap:10px}.workflow>div{padding:16px 17px;background:#fff;border:1px solid #dde1d5;border-radius:9px;display:flex;flex-direction:column;box-shadow:0 2px 2px #20251b03}.step-number{font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;color:#a0a696;margin-bottom:6px}.workflow strong{font-size:14px;font-weight:600}.workflow small{font-size:12px;color:#797e71;margin-top:3px}.workflow-bottom{border-top:1px solid #d3d7ca;padding-top:13px}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:22px}.project-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:30px;transition:border-color .2s,box-shadow .2s}.project-card:hover{border-color:#bebfaf;box-shadow:0 8px 25px #25271c06}.project-card-heading{margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.project-card h3{font-size:24px;letter-spacing:-.5px;line-height:1.5}.project-symbol{font-size:35px;color:#8472a3;line-height:1}.shop-symbol{color:#60807d}.project-card>p{font-size:16px;color:var(--muted);margin-top:10px;line-height:1.85;max-width:400px}.project-card .text-link{margin-top:24px}.small-plus{font-size:20px;color:var(--accent);font-weight:400}.about{display:grid;grid-template-columns:1fr 2fr;gap:80px;margin-top:94px;padding-top:47px;padding-bottom:58px;position:relative}.about:before{content:"";position:absolute;top:0;left:40px;right:40px;height:1px;background:var(--line)}.about-intro{font-size:18px;line-height:1.95;color:#4d5148;max-width:665px}.interest-list{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;margin-top:33px}.interest-list>div>span{font:12px/1.6 ui-monospace,monospace;color:#8c9284;display:block;margin-bottom:8px}.interest-list strong{font-size:14px;font-weight:600}.interest-list p{font-size:14px;color:var(--muted);line-height:1.8;margin-top:7px}.contact{display:grid;grid-template-columns:1fr 1fr;gap:70px;background:var(--ink);color:#fff;border-radius:var(--radius);padding:44px;margin-top:26px;max-width:1100px}.contact .eyebrow{color:#b3b7ab}.contact h2{font-size:37px;line-height:1.45;letter-spacing:-1px;margin-top:18px}.contact p:not(.eyebrow){font-size:14px;color:#bdc0b8;margin-top:15px}.contact-links{display:flex;flex-direction:column;justify-content:center}.contact-item{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #50544b;padding:19px 0;font-size:14px}.contact-item>span{color:#b8bdb1}.contact-item strong{font-weight:500;overflow-wrap:anywhere}.contact-item[aria-disabled=true] strong{color:#91968a}.contact-item[href]:hover{color:#ffb491}.footer{padding-top:30px;padding-bottom:30px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px;color:var(--muted)}.footer a{font-size:14px}.footer a:hover{color:var(--accent)}dialog{border:1px solid var(--line);border-radius:20px;padding:0;background:#fff;color:var(--ink);width:min(640px,calc(100vw - 32px));max-height:85dvh;box-shadow:0 30px 100px #1113}dialog::backdrop{background:#20221f66;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:20px 28px;border-bottom:1px solid var(--line);gap:16px}.dialog-close{border:0;background:#f4f4f0;color:var(--ink);border-radius:7px;min-width:36px;min-height:36px;font-size:25px;line-height:1}.dialog-close:hover{background:#e9e9e0}.dialog-body{padding:28px}.dialog-body h2{font-size:30px;line-height:1.5}.dialog-body>p{font-size:16px;color:var(--muted);margin-top:12px;line-height:1.9;white-space:pre-line}.detail-divider{height:1px;background:var(--line);margin:25px 0}.dialog-body h3{font-size:16px}.detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:25px;padding:20px;background:#f6f7f3;border-radius:10px}.detail-facts span{display:block;font-size:12px;color:var(--muted)}.detail-facts strong{font-weight:500;font-size:14px;display:block;margin-top:6px}.dialog-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.dialog-links:empty{display:none}#dialog-image img{max-width:100%;height:auto;border-radius:10px;border:1px solid var(--line);margin-top:24px}
@media(max-width:1000px){.feature-copy{padding:30px}.feature-visual{padding:25px}.contact{margin-left:40px;margin-right:40px}.about{gap:36px}.workflow-top{flex-wrap:wrap}}@media(min-width:1001px)and(max-width:1179px){.contact{margin-left:40px;margin-right:40px}}
@media(max-width:700px){.shell{padding-left:24px;padding-right:24px}.header{height:84px;gap:12px}.brand{font-size:15px;gap:9px}.brand-mark{width:35px;height:35px;font-size:26px;border-radius:9px}.brand-sub{display:none}.header nav{gap:18px}.header nav .nav-contact{border:0;padding:9px 0}h1{font-size:57px;letter-spacing:-1.5px;margin-top:22px}.hero-description{font-size:16px}.hero-actions{margin-top:25px}.section-heading{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:21px}.section-heading h2,.about h2{font-size:30px}.section-description{font-size:14px}.featured-project{grid-template-columns:1fr}.feature-copy{padding:27px}.feature-copy h3{font-size:27px;margin-top:18px}.feature-copy>p{max-width:none}.feature-copy .button{margin-top:25px}.feature-visual{padding:24px;gap:20px}.workflow-title{font-size:23px}.project-grid{grid-template-columns:1fr;gap:16px;margin-top:16px}.project-card{padding:26px}.project-card-heading{margin-top:20px}.project-card h3{font-size:23px}.about{grid-template-columns:1fr;gap:25px;margin-top:60px;padding-top:35px;padding-bottom:28px}.about:before{left:24px;right:24px}.about-intro{font-size:17px}.interest-list{gap:20px;grid-template-columns:1fr;margin-top:25px}.interest-list>div{display:grid;grid-template-columns:30px 1fr;column-gap:8px}.interest-list>div>span{margin-top:3px;margin-bottom:0}.interest-list p{grid-column:2;margin-top:3px}.contact{grid-template-columns:1fr;gap:21px;margin:25px 24px 0;padding:29px}.contact h2{font-size:31px;margin-top:15px}.contact-item{padding:16px 0}.footer{flex-wrap:wrap;padding-top:26px;padding-bottom:26px;gap:12px}.footer>span:nth-child(2){display:none}.dialog-head{padding:17px 22px}.dialog-body{padding:22px}.dialog-body h2{font-size:25px}}@media(max-width:360px){.header nav{gap:12px}.brand-sub{display:none}h1{font-size:49px}.shell{padding-left:20px;padding-right:20px}.contact{margin-left:20px;margin-right:20px;padding:25px}.workflow{gap:8px}.workflow>div{padding:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* 项目介绍：保留简单布局，长内容可滚动，关闭按钮始终可见。 */
.dialog-head{position:sticky;top:0;z-index:2;background:#fff}.project-detail-section{border-top:1px solid var(--line);padding-top:24px;margin-top:26px}.project-detail-section>p,.project-feature-list p{font-size:16px;line-height:1.9;color:var(--muted);margin-top:10px}.project-feature-list{padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:15px 0 0}.project-feature-list li{padding:17px;background:#f6f7f3;border:1px solid #e8ebe2;border-radius:10px}.project-feature-list h4{margin:0;font-size:15px;font-weight:600;line-height:1.6}.project-feature-list p{font-size:14px;line-height:1.85;margin-top:7px}.project-detail-section .tags{margin-top:15px}.project-detail-section:last-child>p{padding:15px;border-left:3px solid var(--accent);background:#faf7f2;border-radius:0 7px 7px 0}@media(max-width:700px){.project-feature-list{grid-template-columns:1fr}.project-detail-section{padding-top:20px;margin-top:22px}}

/* 真实项目画面：保留完整截图比例，缩略图同时展示多个典型界面。 */
.featured-project{grid-template-columns:.82fr 1.35fr;align-items:stretch}.feature-visual.project-preview{background:#eeefeb;padding:24px;gap:16px;justify-content:flex-start}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:600}.preview-heading a{font-size:13px;font-weight:400;color:var(--muted)}.preview-heading a:hover{color:var(--accent)}.preview-main,.preview-thumbnail,.screenshot-card-image{display:block;width:100%;padding:0;border:0;text-align:left;overflow:hidden;background:#fff;position:relative}.preview-main{border:1px solid #d8dad2;border-radius:10px;aspect-ratio:16/9;box-shadow:0 8px 24px #2426220b}.preview-main img,.preview-thumbnail img,.screenshot-card-image img{display:block;width:100%;height:100%;object-fit:contain;background:#f3f4f5}.preview-enlarge{position:absolute;right:10px;bottom:10px;background:#242622e8;color:white;border-radius:5px;padding:3px 9px;font-size:12px;opacity:0;transition:opacity .2s}.preview-main:hover .preview-enlarge,.preview-main:focus-visible .preview-enlarge,.screenshot-card-image:hover .preview-enlarge,.screenshot-card-image:focus-visible .preview-enlarge{opacity:1}.preview-caption{display:flex;justify-content:space-between;align-items:center;margin:12px 0 14px;gap:12px;font-size:14px}.preview-caption strong{font-weight:550}.preview-caption>span{color:var(--muted);font:12px/1.7 ui-monospace,monospace}.preview-thumbnails{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.preview-thumbnail{border:1px solid #d8dad2;border-radius:7px;opacity:.7;transition:border-color .2s,opacity .2s}.preview-thumbnail img{aspect-ratio:16/9;object-fit:contain;height:auto}.preview-thumbnail>span{display:block;padding:6px 9px;font-size:13px}.preview-thumbnail:hover{opacity:1}.preview-thumbnail[aria-pressed=true]{opacity:1;border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.screenshot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}.screenshot-card{margin:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0}.screenshot-card:first-child{grid-column:1/-1}.screenshot-card-image{aspect-ratio:16/9;border-bottom:1px solid var(--line)}.screenshot-card-copy{padding:18px 20px}.screenshot-card-copy h3{font-size:17px;margin-top:5px;font-weight:600}.screenshot-card-copy p{font-size:14px;line-height:1.8;margin-top:7px;color:var(--muted)}.screenshot-note{font-size:12px;color:var(--muted)}
dialog.screenshot-viewer{width:min(1200px,calc(100vw - 32px));max-height:94dvh;background:#fff;border-radius:14px}.screenshot-viewer-header{position:sticky;top:0;z-index:1;background:white;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 20px;border-bottom:1px solid var(--line)}.screenshot-viewer-header h2{font-size:18px}.screenshot-viewer-close,.screenshot-nav{border:1px solid var(--line);border-radius:6px;background:white;padding:7px 13px;font-size:14px;min-height:40px;color:var(--ink)}.screenshot-viewer-close:hover,.screenshot-nav:not(:disabled):hover{background:#f3f4ef}.screenshot-nav:disabled{opacity:.35}.screenshot-viewer-image{background:#f0f1f2;text-align:center;line-height:0}.screenshot-viewer-image img{max-width:100%;max-height:calc(94dvh - 170px);width:auto;height:auto;object-fit:contain}.screenshot-viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 20px;border-top:1px solid var(--line)}.screenshot-viewer-caption{flex:1;font-size:13px;color:var(--muted);line-height:1.8;text-align:center}.screenshot-nav{flex-shrink:0}
@media(max-width:1000px){.featured-project{grid-template-columns:.85fr 1.15fr}.feature-visual.project-preview{padding:20px}.preview-thumbnails{gap:8px}.preview-thumbnail>span{padding:6px;font-size:12px}}
@media(max-width:700px){.featured-project{grid-template-columns:1fr}.feature-visual.project-preview{padding:20px}.screenshot-grid{grid-template-columns:1fr;gap:16px}.screenshot-card:first-child{grid-column:auto}.screenshot-card-copy{padding:16px 18px}.preview-enlarge{opacity:1}.screenshot-viewer-footer{flex-wrap:wrap;gap:10px;padding:12px 16px}.screenshot-viewer-caption{order:-1;flex-basis:100%;text-align:left}.screenshot-viewer-header{padding:12px 16px}.screenshot-viewer-image img{max-height:calc(94dvh - 210px)}}
/* 作品区项目视频：点击封面后加载媒体。 */
.demo-available{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#65765b;white-space:nowrap}.demo-available>span{width:6px;height:6px;border-radius:50%;background:#6b8459}.demo-cover{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;background:#111718;margin:0;border-radius:9px}.demo-cover img{display:block;width:100%;height:100%;object-fit:contain}.demo-cover-shade{position:absolute;inset:0;background:linear-gradient(0deg,#111718c9,transparent 55%)}.demo-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:58px;height:58px;padding-left:4px;border-radius:50%;background:var(--accent);color:white;font-size:19px;box-shadow:0 0 0 8px #ffffff20;transition:background .2s,box-shadow .2s}.demo-cover:hover .demo-play,.demo-cover:focus-visible .demo-play{background:#bc3c17;box-shadow:0 0 0 11px #ffffff30}.demo-cover-caption{position:absolute;left:17px;right:17px;bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff;font-size:12px}.demo-cover-caption strong{font-weight:500}.demo-cover-caption>span{font:11px ui-monospace,monospace;padding:3px 6px;border-radius:4px;background:#11171880}
.feature-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:28px}.feature-copy .feature-actions .button{margin-top:0;gap:12px}.feature-actions .text-link{font-size:13px}dialog.demo-dialog{width:min(1120px,calc(100vw - 40px));max-height:94dvh;border-radius:14px;overflow:auto}.demo-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 22px;background:white}.demo-dialog-heading .eyebrow{font-size:10px;letter-spacing:1.5px}.demo-dialog-heading h2{font-size:20px;line-height:1.5;margin:0}.demo-close{flex-shrink:0;width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;background:#f5f5f1;color:var(--ink);font-size:26px;line-height:1}.demo-close:hover{background:#e9e9e0}.demo-dialog video{display:block;width:100%;max-height:calc(94dvh - 160px);aspect-ratio:16/9;object-fit:contain;background:#111718}.demo-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 22px;font-size:12px;line-height:1.7;color:var(--muted)}.demo-dialog-footer a{flex-shrink:0;color:var(--ink)}.demo-dialog-footer a:hover{color:var(--accent)}

@media(max-width:700px){.demo-play{width:52px;height:52px;font-size:17px}dialog.demo-dialog{width:calc(100vw - 24px);max-height:94dvh}.demo-dialog-heading{padding:14px 16px}.demo-dialog-heading h2{font-size:18px}.demo-dialog-footer{flex-wrap:wrap;gap:9px;padding:12px 16px}.demo-dialog video{max-height:calc(94dvh - 175px)}.feature-actions{margin-top:24px}}

/* 主项目介绍与媒体共用一张卡片，靠留白区分内容，避免分割成独立面板。 */
.featured-project { display: block; }
.featured-project .feature-copy {
  padding: 28px 32px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
}
.featured-project .feature-copy > .project-meta,
.featured-project .feature-copy > h3,
.featured-project .feature-copy > p { grid-column: 1 / -1; }
.featured-project .feature-copy h3 { margin-top: 12px; }
.featured-project .feature-copy > p { max-width: 900px; margin-top: 8px; }
.featured-project .feature-copy > .tags { grid-column: 1; align-self: center; margin-top: 18px; }
.featured-project .feature-copy > .feature-actions { grid-column: 2; align-self: center; margin-top: 18px; }
.feature-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  padding: 24px 32px 32px;
}
.feature-media::before { content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 1px; background: var(--line); }
.feature-media .feature-visual.project-preview {
  min-width: 0;
  padding: 0;
  background: transparent;
  gap: 16px;
}
.feature-media .preview-heading { font-size: 13px; }
.feature-media .preview-main,
.feature-media .demo-cover { border: 1px solid var(--line); border-radius: 10px; box-shadow: none; }
.feature-media .preview-caption { margin: 10px 0; font-size: 13px; }
.media-note { font-size: 13px; line-height: 1.8; color: var(--muted); margin-top: 0; }
.preview-thumbnails { grid-template-columns: repeat(var(--preview-count, 3), minmax(80px, 1fr)); overflow-x: auto; padding: 2px; margin: -2px; scrollbar-width: thin; }
.preview-thumbnail > span { white-space: nowrap; padding: 6px; font-size: 12px; }
.project-card-screenshots { margin-top: 20px; }
.gallery-cover { box-shadow: none; border-color: var(--line); }
.gallery-cover-label { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 6px; background: #242622e8; color: white; font-size: 12px; transition: background .2s; }
.gallery-cover:hover .gallery-cover-label { background: var(--accent); }
.project-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.dialog-gallery { margin-top: 24px; }
.dialog-gallery > h3 { margin-bottom: 12px; }
#dialog-image .preview-main img, #dialog-image .preview-thumbnail img { margin: 0; border: 0; border-radius: 0; }
@media (max-width: 700px) {
  .feature-media { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 24px; }
  .feature-media::before { left: 24px; right: 24px; }
  .featured-project .feature-copy { padding: 24px 24px 26px; grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .featured-project .feature-copy > .feature-actions { grid-column: 1; margin-top: 22px; }
  .featured-project .feature-copy h3 { font-size: 25px; }
}

/* AI 作品卡片内的演示封面，以及项目介绍弹窗中的播放器。 */
.project-card-video{margin-top:22px}.dialog-video{margin:24px 0 0}.dialog-video video{display:block;width:100%;max-height:52vh;object-fit:contain;background:#111718;border:1px solid var(--line);border-radius:10px}.dialog-video figcaption{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.6}

/* 首屏与个人简介按滚动顺序展开；文字默认可见，动效仅作渐进增强。 */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: calc(100vh - 110px);
  min-height: calc(100svh - 110px);
  padding-top: 48px;
  padding-bottom: 96px;
  text-align: center;
}
.hero-main { width: 100%; max-width: 780px; }
.hero-mobile-break { display: none; }
.hero .eyebrow { justify-content: center; }
.hero h1 { margin-top: 24px; }
.hero-description { max-width: 660px; margin-left: auto; margin-right: auto; }
.hero-actions { justify-content: center; }
.hero-main > * {
  animation: hero-arrive 780ms cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: 400ms;
}
.hero-main > h1 { animation-delay: 520ms; }
.hero-main > .hero-description { animation-delay: 660ms; }
.hero-main > .hero-actions { animation-delay: 800ms; }
.hero--greeting { text-align: center; }
.hero--greeting .hero-main { max-width: 680px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 0; }
.hero--greeting .hero-copy { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; animation: none !important; opacity: 1; transform: none; visibility: visible; }
.hero--greeting h1 { margin-top: 0; width: 100%; text-align: center; font-size: clamp(72px, 7.5vw, 100px); line-height: 1.08; letter-spacing: -.04em; font-weight: 650; }
.hero--greeting .hero-identity { margin-top: 30px; width: 100%; text-align: center; font-size: clamp(26px, 2.45vw, 34px); line-height: 1.55; font-weight: 450; color: var(--ink); }
.hero--greeting .hero-identity .hero-emphasis { font-weight: 620; }
.hero--greeting .hero-description { margin-top: 16px; margin-inline: auto; max-width: 20em; text-align: center; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; color: var(--muted); letter-spacing: .02em; }
.hero--greeting .hero-actions { margin-top: 40px; display: flex; justify-content: center; align-items: center; width: auto; max-width: none; padding-top: 0; gap: 28px 36px; }
.hero--greeting .hero-actions .button.primary { min-height: 48px; padding: 12px 26px; font-size: 15px; border-radius: 10px; }
.hero--greeting .hero-actions .text-link { font-size: 15px; gap: 10px; }
.hero--greeting .hero-copy > h1 { animation-delay: 380ms; }
.hero--greeting .hero-copy > .hero-identity { animation-delay: 520ms; }
.hero--greeting .hero-copy > .hero-description { animation-delay: 640ms; }
.hero--greeting .hero-main > .hero-actions { animation-delay: 780ms; }
.hero--greeting .hero-copy > * { animation: hero-arrive 780ms cubic-bezier(.22, 1, .36, 1) both; }
.hero-scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  width: max-content;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  animation: hero-arrive 700ms cubic-bezier(.22, 1, .36, 1) 1000ms both;
}
.hero-scroll > span:last-child { font-size: 19px; line-height: 1.4; }
.hero-scroll:hover { color: var(--accent); }
@keyframes hero-arrive {
  from { opacity: 0; transform: translateY(22px); visibility: hidden; }
  to { opacity: 1; transform: translateY(0); visibility: visible; }
}
.intro-section {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
  scroll-margin-top: -32px;
}
.intro-content { width: 100%; max-width: 860px; }
.intro-stack { margin: 0 auto; width: max-content; max-width: 100%; text-align: left; }
.intro-content .intro-description { margin: 0; max-width: 10.2em; color: var(--ink); font-size: clamp(36px, 4vw, 52px); line-height: 1.45; font-weight: 560; letter-spacing: 0; text-wrap: balance; }
.intro-directions { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 10px 18px; margin-top: 56px; text-align: left; width: 100%; }
.intro-direction-label { color: var(--muted); font-size: 16px; font-weight: 450; letter-spacing: .06em; }
.intro-direction-label::after { content: "："; }
.intro-direction-list { display: inline-flex; align-items: center; font-size: 22px; font-weight: 550; line-height: 1.4; letter-spacing: .02em; }
.intro-direction-list span + span::before { content: "·"; margin: 0 .72em; color: #b4b7af; font-weight: 400; }
.intro-will-reveal { opacity: 0; transform: translateY(30px); visibility: hidden; }
.intro-will-reveal.is-visible { opacity: 1; transform: translateY(0); visibility: visible; transition: opacity 850ms cubic-bezier(.22, 1, .36, 1), transform 850ms cubic-bezier(.22, 1, .36, 1); }
@media (max-width: 700px) {
  .hero { min-height: calc(100vh - 84px); min-height: calc(100svh - 84px); padding-top: 36px; padding-bottom: 92px; }
  .hero-main { max-width: 560px; }
  .hero-mobile-break { display: initial; }
  .hero h1 { font-size: clamp(46px, 12vw, 62px); letter-spacing: -1.5px; line-height: 1.3; }
  .hero--greeting h1 { font-size: clamp(64px, 17vw, 76px); letter-spacing: -.03em; line-height: 1.1; }
  .hero--greeting .hero-identity { margin-top: 22px; font-size: 24px; line-height: 1.5; }
  .hero--greeting .hero-description { font-size: 16px; max-width: 16em; margin-top: 14px; }
  .hero--greeting .hero-actions { max-width: none; margin-top: 32px; gap: 20px 28px; flex-wrap: wrap; justify-content: center; }
  .hero-description { font-size: 15px; line-height: 1.9; max-width: 360px; }
  .hero-actions { gap: 24px; }
  .hero-scroll { bottom: 20px; }
  .intro-section { padding-top: 64px; padding-bottom: 64px; }
  .intro-content .intro-description { max-width: 10.2em; font-size: 32px; line-height: 1.48; }
  .intro-directions { gap: 8px 12px; margin-top: 40px; }
  .intro-direction-label { font-size: 14px; letter-spacing: .04em; }
  .intro-direction-list { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-main > *, .hero--greeting .hero-copy > *, .hero-scroll { animation: none; opacity: 1; transform: none; visibility: visible; }
  .intro-will-reveal { opacity: 1; transform: none; visibility: visible; transition: none; }
}

/* 桌面使用小型悬浮导航，不为侧栏留位；手机保留原顶部导航。 */
.nav-icon, .nav-home-label, .nav-return-label { display: none; }
@media (min-width: 1001px) {
  .site-layout .shell { width: calc(100% - 176px); }
  .site-layout .header {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 20;
    width: 64px;
    height: auto;
    max-width: none;
    margin: 0;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    background: #fffffff2;
    border: 1px solid #e3e4de;
    border-radius: 18px;
    box-shadow: 0 6px 24px #2426220a;
  }
  .site-layout .header .brand-copy,
  .site-layout .header > .back-link .nav-label,
  .site-layout .header .back-arrow { display: none; }
  .site-layout .header .brand,
  .site-layout .header nav a,
  .site-layout .header nav .nav-contact,
  .site-layout .header > .back-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 50px;
    min-height: 56px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 12px;
    color: #74786f;
    transition: color .2s, background .2s;
  }
  .site-layout .header .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
  .site-layout .header .brand { gap: 3px; }
  .site-layout .header nav { flex-direction: column; align-items: stretch; gap: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
  .site-layout .header .nav-icon { display: block; width: 20px; height: 20px; }
  .site-layout .header nav .nav-label,
  .site-layout .header .nav-home-label,
  .site-layout .header .nav-return-label { display: block; font-size: 11px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
  .site-layout .header a:hover,
  .site-layout .header a:focus-visible { background: #f5eee8; color: var(--accent); }
  .site-layout .header a:focus-visible { outline-offset: 2px; }
  .site-layout .hero { min-height: 100vh; min-height: 100svh; }
}
