:root { --bg: #0e100d; --ink: #ece7dc; --mute: #8d887d; --line: rgba(236, 231, 220, .16); --red: #c23a42; }
body { background: var(--bg); color: var(--ink); font: 300 15px/1.65 var(--sans); }
body[data-view="home"] { overflow: hidden; height: 100vh; height: 100svh; }

.hd { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 20px clamp(16px, 3vw, 40px); pointer-events: none; }
.hd > * { pointer-events: auto; }
.hd .logo { height: 40px; width: auto; opacity: .92; }
.hd nav { display: flex; gap: 24px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; align-items: center; }
.lang { color: var(--mute); display: flex; gap: 6px; } .lang a.on { color: var(--ink); }

/* chapters */
.stage { position: fixed; inset: 0; overflow: hidden; }
.ch { position: absolute; inset: 0; visibility: hidden; }
.ch.vis { visibility: visible; }
.ch .media { position: absolute; inset: 0; }
.ch .media img, .ch .media canvas { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); transition: transform 2.6s var(--ease-out); }
.ch.on .media img, .ch.on .media canvas { transform: scale(1); }
.ch .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,7,.62) 0%, rgba(8,10,7,.15) 55%, rgba(8,10,7,0) 75%), linear-gradient(to top, rgba(8,10,7,.5), transparent 40%); }
.ch .txt { position: absolute; left: clamp(16px, 6vw, 96px); bottom: clamp(70px, 14vh, 150px); max-width: 560px; }
.ch .txt > * { opacity: 0; transform: translateY(28px); transition: opacity 1s, transform 1.3s var(--ease-out); }
.ch.on .txt > * { opacity: 1; transform: none; }
.ch.on .txt > :nth-child(2) { transition-delay: .25s; } .ch.on .txt > :nth-child(3) { transition-delay: .45s; } .ch.on .txt > :nth-child(4) { transition-delay: .6s; }
.ch .num { font-size: 12px; letter-spacing: .2em; color: var(--mute); }
.ch .word { display: flex; align-items: baseline; gap: 20px; margin: 10px 0 18px; }
.ch .word b { font: 300 clamp(80px, 12vw, 170px)/.9 var(--serif); }
.ch .word i { font: italic 300 clamp(22px, 2.4vw, 34px) var(--serif); color: var(--mute); }
.ch .line { font: 300 clamp(20px, 2vw, 28px)/1.5 var(--serif); }
.ch .proj { display: inline-flex; gap: 12px; margin-top: 26px; font-size: 12px; letter-spacing: .12em; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.ch .proj:hover { border-color: var(--ink); }

.ch.intro { display: grid; place-items: center; text-align: center; background: var(--bg); }
.ch.intro .logo-big { width: min(46vw, 360px); opacity: 0; transform: scale(.94); transition: opacity 2s, transform 3s var(--ease-out); }
.ch.intro.on .logo-big { opacity: 1; transform: none; }
.ch.intro p { margin-top: 26px; font-size: 12px; letter-spacing: .24em; color: var(--mute); opacity: 0; transition: opacity 1.4s 1s; }
.ch.intro.on p { opacity: 1; }
.ch.intro .hint { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); width: 1px; height: 54px; background: var(--line); overflow: hidden; }
.ch.intro .hint::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
.ch.outro { display: grid; place-items: center; text-align: center; background: var(--bg); }
.ch.outro a { font: 300 clamp(42px, 7vw, 100px)/1.1 var(--serif); }
.ch.outro a:hover { font-style: italic; color: var(--red); }
.ch.outro .tl-link { margin-top: 26px; } .ch.outro .tl-link a { font: 12px/1 var(--sans); letter-spacing: .16em; color: var(--mute); border-bottom: 1px solid var(--line); padding-bottom: 5px; } .ch.outro .tl-link a:hover { font-style: normal; color: var(--ink); }
.ch.outro small { display: block; font-size: 12px; letter-spacing: .2em; color: var(--mute); margin-bottom: 20px; }

.dots { position: fixed; right: clamp(14px, 2.4vw, 34px); top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 16px; }
.dots button { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 11px; letter-spacing: .14em; color: var(--mute); }
.dots button span { opacity: 0; transform: translateX(6px); transition: .4s; white-space: nowrap; }
.dots button:hover span, .dots button.on span { opacity: 1; transform: none; }
.dots button i { width: 18px; height: 1px; background: currentColor; transition: width .5s var(--ease-out); }
.dots button.on { color: var(--ink); } .dots button.on i { width: 34px; }
.progress { position: fixed; left: 0; bottom: 0; height: 2px; background: var(--ink); z-index: 40; transition: width 1.4s var(--ease-out); }
body:not([data-view="home"]) .dots, body:not([data-view="home"]) .progress, body:not([data-view="home"]) .stage { display: none; }
@media (max-width: 640px) { .dots { display: none; } .ch .txt { right: 16px; } }

/* index: 悬停换背景 */
.ix { min-height: 100vh; position: relative; padding: 130px clamp(16px, 6vw, 96px) 120px; }
.ix .bg { position: fixed; inset: 0; z-index: -1; }
.ix .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); filter: brightness(.42); }
.ix .bg img.on { opacity: 1; }
.ix .flt { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 40px; }
.ix .flt button.on { color: var(--ink); }
.ix ol li a { display: flex; align-items: baseline; gap: 22px; padding: 6px 0; transition: color .3s, transform .6s var(--ease-out); }
.ix ol li a b { font: 300 clamp(26px, 3.8vw, 54px)/1.15 var(--serif); }
.ix ol li a span { font-size: 11px; letter-spacing: .14em; color: var(--mute); white-space: nowrap; }
.ix ol:hover li a { color: rgba(236,231,220,.32); } .ix ol li a:hover { color: var(--ink); transform: translateX(14px); }
.ix ol li.hide { display: none; }
@media (max-width: 640px) { .ix ol li a { flex-direction: column; gap: 2px; } }
.ix .bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 40px; }
.ix .bar .flt { margin-bottom: 0; }
.ix .vw { display: flex; gap: 18px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ix .vw a.on { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

/* timeline：每个项目在时间上的一个点 */
.tl { display: flex; flex-direction: column; min-height: calc(100vh - 250px); }
.tl .cap { min-height: 150px; }
.tl .cap small { font-size: 11px; letter-spacing: .16em; color: var(--mute); }
.tl .cap b { display: block; font: 300 clamp(28px, 4vw, 58px)/1.12 var(--serif); margin-top: 10px; max-width: 900px; }
.tl .cap a { display: none; margin-top: 14px; font-size: 12px; letter-spacing: .12em; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.tl .cap.sel a { display: inline-block; }
.tl .cap .hint { font: italic 300 clamp(22px, 2.4vw, 32px) var(--serif); color: var(--mute); }
.axis { position: relative; margin-top: auto; border-bottom: 1px solid var(--line); }
.axis .col { position: absolute; bottom: 0; width: 1px; background: var(--line); transform: translateX(-50%); }
.axis .yr { position: absolute; top: calc(100% + 14px); transform: translateX(-50%); font: 300 clamp(18px, 2.2vw, 30px) var(--serif); color: var(--mute); transition: color .4s; }
.axis .yr.on { color: var(--ink); }
.axis .pt { position: absolute; width: 30px; height: 30px; transform: translate(-50%, 50%); display: grid; place-items: center; transition: opacity .5s; }
.axis .pt::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); border: 1px solid var(--ink); transition: transform .4s var(--ease-out), background .3s, border-color .3s; }
.axis .pt.ip::before { background: var(--bg); }
.axis .pt:hover::before, .axis .pt.on::before { transform: scale(1.8); background: var(--red); border-color: var(--red); }
.axis .pt.dim { opacity: .14; pointer-events: none; }
.tl .key { display: flex; gap: 24px; margin-top: 74px; font-size: 11px; letter-spacing: .14em; color: var(--mute); }
.tl .key i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink); margin-right: 8px; vertical-align: 0; }
.tl .key i.f { background: var(--ink); }
@media (max-width: 640px) { .tl .cap { min-height: 170px; } .axis .yr { font-size: 15px; } .axis .pt { width: 26px; height: 26px; } }

/* detail */
.dt-hero { height: 100vh; position: relative; overflow: hidden; }
.dt-hero img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.12); filter: brightness(.3); } to { transform: none; filter: brightness(.82); } }
.dt-hero .txt { position: absolute; left: clamp(16px, 6vw, 96px); bottom: 70px; right: 16px; }
.dt-hero small { font-size: 11px; letter-spacing: .18em; color: #cfc9bd; text-transform: uppercase; }
.dt-hero h1 { font: 300 clamp(36px, 6vw, 92px)/1.04 var(--serif); margin-top: 12px; max-width: 1100px; }
.dt-info { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; padding: 90px clamp(16px, 6vw, 96px); }
.dt-info .q { font: 300 clamp(22px, 2.2vw, 30px)/1.5 var(--serif); }
.dt-info .tbd { margin-top: 20px; color: var(--mute); font-size: 13px; }
.dt-info dl { display: grid; grid-template-columns: 100px 1fr; font-size: 13px; }
.dt-info dt, .dt-info dd { padding: 10px 0; border-bottom: 1px solid var(--line); } .dt-info dt { color: var(--mute); }
@media (max-width: 800px) { .dt-info { grid-template-columns: 1fr; } }

/* 项目大图 */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8, 10, 7, .96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.lb.on { opacity: 1; visibility: visible; transition: opacity .5s; }
.lb img { max-width: calc(100vw - 180px); max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; transition: opacity .35s; user-select: none; -webkit-user-drag: none; }
.lb img.fade { opacity: 0; }
.lb .lb-x, .lb .lb-n, .lb .lb-c { position: absolute; font-size: 11px; letter-spacing: .16em; color: var(--mute); }
.lb .lb-x { top: 26px; right: clamp(16px, 3vw, 40px); text-transform: uppercase; } .lb .lb-x:hover { color: var(--ink); }
.lb .lb-c { top: 28px; left: clamp(16px, 3vw, 40px); }
.lb .lb-n { bottom: 26px; left: 50%; transform: translateX(-50%); white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
.lb .lb-p, .lb .lb-f { position: absolute; top: 50%; transform: translateY(-50%); padding: 20px; font: 300 34px var(--serif); color: var(--mute); }
.lb .lb-p { left: clamp(4px, 2vw, 30px); } .lb .lb-f { right: clamp(4px, 2vw, 30px); }
.lb .lb-p:hover, .lb .lb-f:hover { color: var(--ink); }
body.lb-open { overflow: hidden; }
@media (max-width: 640px) { .lb img { max-width: 100vw; max-height: calc(100vh - 160px); } .lb .lb-p, .lb .lb-f { top: auto; bottom: 6px; transform: none; font-size: 28px; } }
.dt-nav { display: flex; justify-content: space-between; padding: 80px clamp(16px, 6vw, 96px) 110px; font-size: 12px; letter-spacing: .14em; }
.dt-nav a:hover { color: var(--red); }

/* about chapter */
.ch.aboutch { background: var(--bg); display: grid; grid-template-columns: minmax(260px, 34%) 1fr; gap: clamp(28px, 4vw, 72px); align-items: center; padding: 96px clamp(90px, 9vw, 150px) 56px clamp(16px, 6vw, 96px); }
.ch.aboutch .txt { position: static; max-width: none; order: -1; }
.ch.aboutch .word b { font-size: clamp(64px, 8vw, 120px); }
.ch.aboutch .line { font-size: clamp(17px, 1.5vw, 22px); }
.ch.aboutch .links { display: flex; gap: 26px; flex-wrap: wrap; }
.ch.aboutch .team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); align-self: center; }
.ch.aboutch .tm { min-width: 0; opacity: 0; transform: translateY(40px); transition: opacity 1.2s, transform 1.6s var(--ease-out); }
.ch.aboutch .tm:nth-child(2) { transition-delay: .15s; } .ch.aboutch .tm:nth-child(3) { transition-delay: .3s; }
.ch.aboutch.on .tm { opacity: 1; transform: none; }
.ch.aboutch .ph { width: min(100%, 150px); aspect-ratio: 3 / 4; overflow: hidden; background: #1d201b; display: grid; place-items: center; font: italic 300 40px var(--serif); color: var(--mute); }
.ch.aboutch .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.85); }
.ch.aboutch h3 { font: 400 20px/1.3 var(--serif); margin-top: 16px; }
.ch.aboutch .r { font-size: 11px; letter-spacing: .12em; color: var(--mute); margin-top: 4px; }
.ch.aboutch .bio { font-size: 13px; line-height: 1.8; color: #c9c3b7; margin-top: 12px; max-height: calc(1.8em * 6); overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.ch.aboutch .tm.open .bio { max-height: 38vh; overflow-y: auto; -webkit-mask-image: none; mask-image: none; padding-right: 6px; overscroll-behavior: contain; }
.ch.aboutch .more { display: block; justify-self: start; margin-top: 8px; font-size: 11px; letter-spacing: .12em; color: var(--mute); border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.ch.aboutch .more:hover { color: var(--ink); }
@media (max-width: 1000px) { .ch.aboutch { grid-template-columns: 1fr; align-content: center; gap: 28px; padding-bottom: 56px; } .ch.aboutch .ph { width: 120px; } .ch.aboutch .bio { max-height: calc(1.8em * 4); } .ch.aboutch .tm.open .bio { max-height: 28vh; } .ch.aboutch .word { margin: 4px 0 10px; } .ch.aboutch .word b { font-size: 64px; } }
@media (max-width: 760px) {
  .ch.aboutch { align-content: start; padding: 84px 16px 28px; gap: 18px; overflow: hidden; }
  .ch.aboutch .word b { font-size: 48px; } .ch.aboutch .line { font-size: 15px; } .ch.aboutch .proj { margin-top: 12px; }
  .ch.aboutch .team { grid-template-columns: 1fr; gap: 14px; }
  .ch.aboutch .tm { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; }
  .ch.aboutch .ph { width: 56px; grid-row: span 3; align-self: start; }
  .ch.aboutch .more { grid-column: 2; margin-top: 4px; }
  .ch.aboutch h3 { margin-top: 0; font-size: 16px; }
  .ch.aboutch .bio { font-size: 12px; margin-top: 6px; max-height: calc(1.8em * 2); }
  .ch.aboutch .tm.open .bio { max-height: 140px; }
}

/* about page */
.ab-hero { min-height: 100vh; display: grid; align-items: end; position: relative; padding: 0 clamp(16px, 6vw, 96px) 90px; overflow: hidden; }
.ab-hero .bg { position: absolute; inset: 0; z-index: -1; }
.ab-hero .bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.3); animation: settle 3s var(--ease-out) both; }
.ab-hero small { font-size: 11px; letter-spacing: .2em; color: var(--mute); text-transform: uppercase; }
.ab-hero h1 { font: 300 clamp(34px, 5.4vw, 80px)/1.15 var(--serif); max-width: 1100px; margin-top: 18px; }
.ab-sec { padding: 110px clamp(16px, 6vw, 96px); border-top: 1px solid var(--line); }
.ab-sec > .lab { font-size: 11px; letter-spacing: .2em; color: var(--mute); text-transform: uppercase; margin-bottom: 50px; }
.ab-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.ab-intro p { font-size: 16px; line-height: 1.9; margin-bottom: 1.2em; }
.ab-intro .big { font: 300 clamp(22px, 2.2vw, 30px)/1.55 var(--serif); }
.ab-aw li { display: grid; grid-template-columns: 90px 1.4fr 1fr 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ab-aw li b { font: 300 26px var(--serif); }
.ab-aw li a { font: 300 20px var(--serif); } .ab-aw li a:hover { color: var(--red); }
.ab-aw li span { color: var(--mute); font-size: 13px; }
.ab-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.ab-team .ph { aspect-ratio: 3 / 4; overflow: hidden; background: #1d201b; display: grid; place-items: center; font: italic 300 64px var(--serif); color: var(--mute); }
.ab-team img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 1s, transform 1.6s var(--ease-out); }
.ab-team > div:hover img { filter: none; transform: scale(1.03); }
.ab-team .h3 { font: 300 28px/1.2 var(--serif); margin-top: 18px; }
.ab-team .r { font-size: 12px; letter-spacing: .1em; color: var(--mute); }
.ab-team .bio { font-size: 14px; line-height: 1.85; color: #c9c3b7; margin-top: 14px; max-height: 5.5em; overflow: hidden; position: relative; transition: max-height .8s var(--ease-out); }
.ab-team .bio::after { content: ''; position: absolute; inset: auto 0 0; height: 3em; background: linear-gradient(transparent, var(--bg)); transition: opacity .4s; }
.ab-team .open .bio { max-height: 40em; } .ab-team .open .bio::after { opacity: 0; }
.ab-team button { margin-top: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.ab-contact { display: grid; grid-template-columns: 1.4fr 1fr 180px; gap: 40px; align-items: start; }
.ab-contact a.mail { font: 300 clamp(28px, 3.6vw, 52px)/1.2 var(--serif); } .ab-contact a.mail:hover { color: var(--red); font-style: italic; }
.ab-contact .k { font-size: 11px; letter-spacing: .2em; color: var(--mute); text-transform: uppercase; margin-bottom: 8px; }
.ab-contact img { width: 180px; background: #fff; }
@media (max-width: 800px) { .ab-intro, .ab-contact { grid-template-columns: 1fr; } .ab-team { grid-template-columns: 1fr; } .ab-aw li { grid-template-columns: 60px 1fr; } .ab-aw li .o { display: none; } }

/* ---------- 正式站增强：沿用 C 版的深底、衬线、细线和慢节奏 ---------- */
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; font-size: 13px; transition: top .2s; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
main:focus { outline: none; }
.nojs { padding: 130px clamp(16px, 6vw, 96px); } .nojs h1 { font: 300 42px/1.2 var(--serif); margin-bottom: 20px; } .nojs li { padding: 6px 0; }

/* 页头：离开首页后下滑隐藏、上滑出现 */
.hd { transition: transform .6s var(--ease-out); }
.hd::before { content: ''; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(8, 10, 7, .55), transparent); opacity: 0; transition: opacity .5s; }
.hd::before { opacity: 1; }
.hd.away { transform: translateY(-110%); }
.hd nav a[aria-current="page"] { border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.lang a { padding: 4px 2px; }

/* 图片：占位色和模糊小图垫底，加载完淡入 */
img.fi { opacity: 0; transition: opacity .9s var(--ease); }
img.fi.ok { opacity: 1; }
.ph-bg { background-size: cover; background-position: center; }

/* 章节：大字逐字升起，图片慢慢沉降，指针带一点视差 */
.ch .media { display: block; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.03); will-change: transform; }
.ch .media img, .ch .media canvas { transition: transform 7s var(--ease-out), opacity .9s var(--ease); }
.ch .word b { display: inline-flex; white-space: nowrap; }
.ch .txt { max-width: min(760px, calc(100vw - 32px)); }
.ch.aboutch .txt { max-width: none; }
.ch .word b .c { display: inline-block; opacity: 0; transform: translateY(46%) rotate(2deg); transition: opacity .9s, transform 1.3s var(--ease-out); transition-delay: calc(var(--i) * 45ms + .15s); }
.ch.on .word b .c { opacity: 1; transform: none; }
.ch .proj { transition: border-color .4s, gap .5s var(--ease-out); } .ch .proj:hover { gap: 20px; }
.dots button { position: relative; }
.dots button .th { display: none; position: absolute; right: 100%; top: 50%; width: 132px; aspect-ratio: 3 / 2; margin-right: 76px; transform: translateY(-50%); background-size: cover; background-position: center; }
@media (hover: hover) { .dots button:hover .th { display: block; animation: thIn .5s var(--ease-out); } }
@keyframes thIn { from { opacity: 0; transform: translate(10px, -50%); } }
.ch.intro .scroll { position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%); font-size: 10px; letter-spacing: .28em; color: var(--mute); white-space: nowrap; opacity: 0; transition: opacity 1.4s 1.6s; }
.ch.intro.on .scroll { opacity: 1; }
.ch.outro .out-links { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; }
.ch.outro .out-links a { font: 12px/1 var(--sans); letter-spacing: .16em; color: var(--mute); border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.ch.outro .out-links a:hover { font-style: normal; color: var(--ink); }

/* 跟随指针的小标签：只在有精确指针时出现 */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; padding: 8px 12px; font-size: 11px; letter-spacing: .14em; color: var(--ink); background: rgba(14, 16, 13, .55); border: 1px solid var(--line); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* 作品列表 */
.ix ol li { opacity: 0; animation: rowIn .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 35ms); }
@keyframes rowIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ix .flt button sup { font-size: 9px; margin-left: 3px; letter-spacing: 0; opacity: .7; }
.ix ol:hover li a, .ix ol:focus-within li a { color: rgba(236, 231, 220, .32); }
.ix ol li a:hover, .ix ol li a:focus-visible { color: var(--ink); transform: translateX(14px); }
.ix ol li a .tag { border: 1px solid var(--line); padding: 2px 6px; font-size: 10px; }
.ix ol li a .tmb { display: none; }
.ix .empty { color: var(--mute); padding: 40px 0; }
@media (hover: none) {
  .ix ol li a { display: grid; grid-template-columns: 76px 1fr; column-gap: 14px; align-items: center; padding: 10px 0; }
  .ix ol li a .tmb { display: block; grid-row: span 2; width: 76px; aspect-ratio: 1; background-size: cover; background-position: center; }
  .ix ol li a b { font-size: 22px; }
}
.axis .pt:focus-visible::before { transform: scale(1.8); }

/* 项目页 */
.dt-hero { background: #14170f; }
.dt-hero .plx { position: absolute; inset: -6% 0; will-change: transform; }
.dt-hero .plx img { position: absolute; inset: 0; }
.dt-hero.none { height: 62vh; }
.dt-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(8, 10, 7, .78), rgba(8, 10, 7, .28) 38%, transparent 62%); }
.dt-hero .txt { z-index: 2; }
.dt-hero .txt > * { animation: heroTxt 1.3s var(--ease-out) both; } .dt-hero .txt h1 { animation-delay: .15s; }
@keyframes heroTxt { from { opacity: 0; transform: translateY(24px); } }
.dt-hero.morph img { animation: none; filter: brightness(.82); }
.crumb { font-size: 11px; letter-spacing: .14em; color: #cfc9bd; margin-bottom: 14px; } .crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dt-info .prose p { font-size: 16px; line-height: 1.95; margin-top: 1.1em; color: #d6d1c6; max-width: 620px; }
.dt-info.solo { grid-template-columns: minmax(0, 720px); }
.draft { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 80; background: var(--red); color: #fff; padding: 8px 14px; font-size: 12px; letter-spacing: .08em; }

/* 下一个项目：整屏大图作结尾 */
.next { display: block; position: relative; height: 72vh; min-height: 420px; overflow: hidden; margin-top: 110px; background: #14170f; }
.next .im { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.48); transition: transform 2.4s var(--ease-out), filter 1.2s; }
.next:hover .im, .next:focus-visible .im { transform: scale(1.05); filter: brightness(.68); }
.next .txt { position: absolute; left: clamp(16px, 6vw, 96px); right: 16px; bottom: 60px; }
.next small { font-size: 11px; letter-spacing: .2em; color: #cfc9bd; }
.next b { display: block; font: 300 clamp(32px, 5.4vw, 80px)/1.08 var(--serif); margin-top: 12px; max-width: 1100px; }

/* 大图 */
.lb { touch-action: pinch-zoom; }
.lb img { background-size: cover; cursor: zoom-in; transition: opacity .35s, transform .5s var(--ease-out); }
.lb.zoom img { cursor: zoom-out; transform: scale(2); }
.lb .lb-n small { display: block; margin-top: 4px; opacity: .75; }
.lb button:focus-visible { outline: 1px solid var(--ink); }

/* 关于页：奖项悬停看图、询盘表单、页脚 */
.ab-aw li { transition: padding .6s var(--ease-out); } .ab-aw li:hover { padding-left: 10px; }
.aw-peek { position: fixed; z-index: 70; width: 260px; aspect-ratio: 3 / 2; left: 0; top: 0; pointer-events: none; background-size: cover; background-position: center; opacity: 0; transition: opacity .35s; }
.aw-peek.on { opacity: 1; }
@media (hover: none) { .aw-peek { display: none; } }
.ab-contact { margin-bottom: 90px; }
.ask { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; max-width: 980px; }
.ask label { display: block; font-size: 11px; letter-spacing: .16em; color: var(--mute); }
.ask label.full { grid-column: 1 / -1; }
.ask input, .ask select, .ask textarea { display: block; width: 100%; margin-top: 8px; padding: 8px 0 10px; font: 300 17px/1.5 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; transition: border-color .3s; appearance: none; }
.ask select option { background: var(--bg); }
.ask textarea { resize: vertical; min-height: 120px; }
.ask input:focus, .ask select:focus, .ask textarea:focus { outline: none; border-color: var(--ink); }
.ask [aria-invalid="true"] { border-color: var(--red); }
.ask .err { display: block; min-height: 18px; margin-top: 6px; font-size: 12px; letter-spacing: 0; color: #e0737a; }
.ask .hp { position: absolute; left: -9999px; }
.ask .send { grid-column: 1 / -1; justify-self: start; font: 300 clamp(26px, 3vw, 40px)/1.2 var(--serif); border-bottom: 1px solid var(--line); padding-bottom: 6px; transition: color .3s, border-color .3s; }
.ask .send:hover { color: var(--red); border-color: var(--red); }
.ask .send[disabled] { opacity: .5; cursor: progress; }
.ask .note { grid-column: 1 / -1; font-size: 12px; color: var(--mute); }
.ask-done { font: 300 clamp(24px, 2.6vw, 36px)/1.5 var(--serif); max-width: 800px; animation: heroTxt 1.2s var(--ease-out) both; }
.ab-sec .lab2 { font-size: 11px; letter-spacing: .2em; color: var(--mute); margin-bottom: 34px; }
@media (max-width: 700px) { .ask { grid-template-columns: 1fr; } }

.ft { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 60px clamp(16px, 6vw, 96px) 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.ft img { height: 34px; width: auto; margin-bottom: 14px; opacity: .8; }
.ft a:hover { color: var(--ink); } .ft li { padding: 3px 0; }
.ft .legal { grid-column: 1 / -1; font-size: 11px; letter-spacing: .04em; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 10px; }
@media (max-width: 640px) { .ft { grid-template-columns: 1fr; } }

.nf { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 16px; }
.nf h1 { font: 300 clamp(44px, 8vw, 110px)/1.1 var(--serif); } .nf p { color: var(--mute); margin: 16px 0 28px; }
.nf a { border-bottom: 1px solid var(--line); padding-bottom: 4px; font-size: 13px; letter-spacing: .12em; }

/* 页面转场：主图从章节或列表平滑过渡到项目页 */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }
::view-transition-group(hero) { animation-duration: .7s; animation-timing-function: var(--ease-out); }
::view-transition-old(hero), ::view-transition-new(hero) { width: 100%; height: 100%; object-fit: cover; }
::view-transition-image-pair(hero) { isolation: auto; }

@media (prefers-reduced-motion: reduce) {
  .ch .media { transform: none; }
  .ch .word b .c, .ix ol li, .dt-hero .txt > * { opacity: 1; transform: none; animation: none; transition: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* 手机细节 */
.ch.intro .logo-big { margin: 0 auto; }
.lb { background: rgba(8, 10, 7, .985); }
.ix .flt, .ix .vw { color: rgba(236, 231, 220, .72); }
.ix .bar, .tl .cap .hint, .tl .key { text-shadow: 0 1px 10px rgba(8, 10, 7, .7); }
.tl .cap .hint { color: rgba(236, 231, 220, .78); }
@media (max-width: 480px) {
  .hd nav { gap: 16px; font-size: 11px; letter-spacing: .1em; }
  .hd nav a[data-nav="home"] { display: none; }
}
@media (max-width: 640px) {
  .ch.intro p { padding: 0 20px; line-height: 1.8; }
}

/* 审计后的修正 */
html { scroll-padding-top: 90px; }
.dots { gap: 0; }
.dots button { min-height: 24px; padding: 0 0 0 8px; }
.dots button .th { margin-right: 70px; }
.ch.intro .logo-big { height: auto; }
.cursor { -webkit-backdrop-filter: blur(6px); }
.dt-hero { height: 100svh; }
.dt-hero.none { height: 62vh; }
.ab-hero { min-height: 100svh; }
.ch.intro .skip-ch { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 6px 8px; font-size: 11px; letter-spacing: .14em; color: var(--mute); white-space: nowrap; border-bottom: 1px solid transparent; z-index: 3; }
.ch.intro .skip-ch:hover, .ch.intro .skip-ch:focus-visible { color: var(--ink); border-color: var(--line); }
.ch.intro .hint { bottom: 44px; }
.ch.intro .scroll { bottom: 108px; }
.ch.outro .out-aw { margin-top: 44px; display: grid; gap: 8px; justify-content: center; font-size: 12px; letter-spacing: .06em; color: var(--mute); }
.ch.outro .out-aw li { display: flex; gap: 14px; justify-content: center; align-items: baseline; }
.ch.outro .out-aw b { font: 300 16px var(--serif); color: var(--ink); }
.dt-nav.pn { padding: 70px clamp(16px, 6vw, 96px) 0; }
.next { margin-top: 40px; }
@media (max-width: 760px) and (max-height: 700px) {
  .ch.aboutch { padding-top: 76px; gap: 12px; }
  .ch.aboutch .line { display: none; }
  .ch.aboutch .team { gap: 10px; }
}
main.page-in { animation: pageIn .5s var(--ease); }
@keyframes pageIn { from { opacity: 0; } }

/* 项目图集：向下的瀑布流 */
.wf { display: flex; gap: clamp(8px, 1.2vw, 18px); padding: 0 clamp(16px, 6vw, 96px); align-items: flex-start; }
.wf-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: clamp(8px, 1.2vw, 18px); }
.wf[data-cols="1"] { justify-content: center; } .wf[data-cols="1"] .wf-col { flex: 0 1 min(70vw, 900px); }
.shot { display: block; width: 100%; padding: 0; overflow: hidden; cursor: zoom-in; position: relative; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), opacity .9s var(--ease); }
.shot:hover img, .shot:focus-visible img { transform: scale(1.025); }
.shot:focus-visible { outline-offset: 2px; }
.dt-info { padding-bottom: 70px; }
@media (max-width: 760px) { .wf[data-cols="1"] .wf-col { flex-basis: 100%; } }

/* 大图 + 详情：左图右文，手机上下排 */
.lb { display: grid; grid-template-columns: minmax(0, 1fr) 380px; place-items: stretch; }
.lb.no-d { grid-template-columns: minmax(0, 1fr) 0; }
.lb-stage { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; overflow: hidden; }
.lb .lb-stage img { max-width: calc(100% - 130px); max-height: calc(100vh - 80px); max-height: calc(100svh - 80px); }
.lb .lb-c { top: 28px; left: clamp(16px, 3vw, 40px); }
.lb-d { position: relative; overflow-y: auto; overscroll-behavior: contain; border-left: 1px solid var(--line); padding: 22px 28px 40px; background: var(--bg); }
.lb.no-d .lb-d { display: block; position: fixed; top: 0; right: 0; width: auto; height: auto; border: 0; padding: 22px 28px; background: transparent; overflow: visible; }
.lb.no-d .lb-body { display: none; }
.lb-top { display: flex; justify-content: flex-end; gap: 20px; margin-bottom: 34px; }
.lb .lb-x { position: static; }
.lb-top button { padding: 4px 0; font-size: 11px; letter-spacing: .14em; color: var(--mute); } .lb-top button:hover { color: var(--ink); }
.lb-body small { font-size: 11px; letter-spacing: .14em; color: var(--mute); }
.lb-body h2 { font: 300 28px/1.25 var(--serif); margin: 10px 0 20px; }
.lb-body p { font-size: 14px; line-height: 1.85; color: #d6d1c6; margin-bottom: 1em; }
.lb-body .cap { font: 300 19px/1.55 var(--serif); color: var(--ink); padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.lb-body dl { display: grid; grid-template-columns: 76px 1fr; margin-top: 18px; font-size: 12px; }
.lb-body dt, .lb-body dd { padding: 8px 0; border-top: 1px solid var(--line); } .lb-body dt { color: var(--mute); }
@media (max-width: 760px) {
  .lb, .lb.no-d { display: flex; flex-direction: column; }
  .lb-stage { flex: 0 0 58%; }
  .lb.no-d .lb-stage { flex: 1 1 auto; }
  .lb .lb-stage img { max-width: 100%; max-height: 100%; }
  .lb .lb-p, .lb .lb-f { top: 50%; bottom: auto; transform: translateY(-50%); padding: 12px; font-size: 26px; color: var(--ink); text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
  .lb .lb-c { top: 16px; left: 16px; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
  .lb-d { flex: 1 1 auto; min-height: 0; border-left: 0; border-top: 1px solid var(--line); padding: 10px 16px 28px; }
  .lb-top { margin-bottom: 12px; }
  .lb-body h2 { font-size: 22px; margin: 6px 0 12px; }
  .lb.no-d .lb-d { padding: 12px 16px; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
}

/* 大图：框大小由脚本按比例算好，缩略图垫底 */
.lb .lb-stage img { max-width: none; max-height: none; background-size: cover; background-position: center; background-repeat: no-repeat; object-fit: cover; }
