/* Claude 自主版 · 「图纸」
   暖白纸面、墨线、红笔批注。三维模型画在纸的下面一层（#model），封面与经历两处是「开窗」，其余区块是不透明的纸。 */
:root {
  --paper: #f2efe7; --paper-2: #e9e5da; --sheet: #f8f6f0;
  --ink: #191917; --ink-2: #55534b; --ink-3: #6e6b62;
  --rule: rgba(25,25,23,.14); --rule-2: rgba(25,25,23,.34);
  --red: #b5371f; --red-soft: rgba(181,55,31,.09);
  --maxw: 1180px;
  --sans: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --num: "Bahnschrift", "DIN Alternate", "Roboto Condensed", var(--sans);
  --mono: "Cascadia Mono", "SF Mono", Consolas, ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
.wrap { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }
.nw { white-space: nowrap; }

#model { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .9s ease; }
#model.on { opacity: 1; }
main { position: relative; z-index: 1; }
.opaque { position: relative; background: var(--paper); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border: 1px solid var(--ink); font-size: 15px; font-weight: 600; background: var(--paper); transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--red); border-color: var(--red); }
.btn.small { height: 36px; padding: 0 16px; font-size: 13.5px; }
.more-link { display: inline-block; font-size: 14.5px; font-weight: 600; padding: 10px 0 2px; border-bottom: 1px solid var(--red); color: var(--ink); transition: color .2s; }
.more-link::after { content: " →"; color: var(--red); }
button:hover > .more-link, .more-link:hover { color: var(--red); }

/* ---------- 顶栏 ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 10; background: rgba(242,239,231,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.bar.stuck { border-color: var(--rule); }
.bar .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: baseline; gap: 10px; margin-right: auto; padding: 8px 0; }
.brand b { font-size: 17px; letter-spacing: .04em; }
.brand span { font-size: 13px; color: var(--ink-2); }
.bar nav { display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); }
.bar nav a { position: relative; padding: 12px 0; transition: color .2s; }
.bar nav a:hover, .bar nav a.on { color: var(--ink); }
.bar nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--red); }

/* ---------- 封面 ---------- */
.cover { position: relative; display: flex; flex-direction: column; min-height: max(100svh, 700px); padding: 60px 0 clamp(28px, 4vh, 48px); }
.cover-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 32px; align-items: center; padding-block: clamp(28px, 5vh, 64px); }
.who { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(22px, 3.4vh, 36px); }
.who img { width: 64px; height: 64px; object-fit: cover; object-position: 55% 20%; border: 1px solid var(--rule-2); background: var(--paper-2); }
.who p { display: flex; flex-direction: column; line-height: 1.35; }
.who b { font-size: 22px; letter-spacing: .06em; }
.who span { font-size: 14px; color: var(--ink-2); }
.cover h1 { font-size: clamp(36px, 4.9vw, 66px); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.cover h1 s { color: #8a877c; font-weight: 400; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.cover h1 em { font-style: normal; color: var(--red); }
.sub { margin-top: 22px; max-width: 30em; font-size: clamp(15.5px, 1.25vw, 17px); color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cover-fig { position: relative; align-self: stretch; min-height: 320px; }
.fig-cap { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.fig-cap li { display: flex; align-items: center; gap: 14px; transition: color .5s; }
.fig-cap li + li::before { content: ""; width: 22px; height: 1px; background: var(--rule-2); }
.fig-cap li.on { color: var(--red); font-weight: 700; }
/* 浏览器不支持三维绘制时，封面右侧放一张模型的静态图 */
html.no-model .cover-fig { background: url(assets/img/model-still.png) center top / 100% auto no-repeat; }

/* 图签：四个关键数字 + 三项信息 */
.tblock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule-2); background: var(--sheet); }
.tb-stat { padding: 20px 22px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tb-stat:nth-child(4) { border-right: 0; }
.tb-stat b { display: block; font-family: var(--num); font-size: clamp(34px, 3.6vw, 48px); line-height: 1; font-weight: 600; }
.tb-stat b sub { margin-left: 6px; font-family: var(--sans); font-size: 14px; font-weight: 600; vertical-align: baseline; color: var(--red); }
.tb-stat > span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.tb-meta { display: flex; flex-direction: column; gap: 0; padding: 10px 22px 12px; border-right: 1px solid var(--rule); font-size: 13.5px; }
.tb-meta.wide { grid-column: span 2; border-right: 0; }
.tb-meta small { flex: none; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* ---------- 区块 ---------- */
.sec { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--rule-2); }
.sec-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.25; font-weight: 700; }
.sec-head p { margin-top: 12px; font-size: 16.5px; color: var(--ink-2); }

/* ---------- 案例图纸 ---------- */
.sheet { position: relative; border: 1px solid var(--rule-2); background: var(--sheet); }
.sheet + .sheet { margin-top: clamp(40px, 5vw, 64px); }
.sheet::before, .sheet::after { content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none; }
.sheet::before { left: -7px; top: -7px; border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); }
.sheet::after { right: -7px; bottom: -7px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.sh-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding: 10px 20px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.sh-head b { color: var(--red); font-weight: 700; }
.sh-head span { font-family: var(--sans); font-size: 13px; }
.sh-role { margin-left: auto; font-family: var(--sans); font-size: 13px; }
.sh-body { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.sh-media { display: block; position: relative; overflow: hidden; background: #0e0e0d; aspect-ratio: 16 / 10; border-right: 1px solid var(--rule); cursor: pointer; }
.sh-media.light { background: #eef0f4; }
.sh-media video, .sh-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.sh-media.light img { object-position: left top; }
.sh-media:hover video, .sh-media:hover img { transform: scale(1.03); }
.sheet.flip .sh-body { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.sheet.flip .sh-media { order: 2; border-right: 0; border-left: 1px solid var(--rule); }
.sh-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(24px, 3vw, 40px); }
.sh-text h3 { font-size: clamp(24px, 2.3vw, 30px); line-height: 1.3; font-weight: 700; }
.hook { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; margin: 22px 0; padding: 16px 0; border-block: 1px solid var(--rule); }
.nums b { display: block; font-family: var(--num); font-size: 27px; line-height: 1.1; font-weight: 600; white-space: nowrap; }
.nums span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.redline { position: relative; padding: 2px 0 2px 16px; border-left: 2px solid var(--red); font-size: 14.5px; line-height: 1.75; color: var(--ink); }
.redline b { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--red); }
.sh-text .more-link { margin-top: 12px; }
.sh-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); counter-reset: st; }
.sh-steps li { counter-increment: st; position: relative; padding: 14px 20px 16px; }
.sh-steps li + li { border-left: 1px solid var(--rule); }
.sh-steps li::before { content: "0" counter(st); display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 12px; color: var(--red); }
.sh-steps li + li::after { content: "→"; position: absolute; left: -8px; top: 50%; translate: 0 -50%; width: 16px; text-align: center; font-size: 12px; line-height: 16px; color: var(--ink-3); background: var(--sheet); }
.sh-steps b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.sh-steps span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.sh-steps em { position: absolute; right: 18px; top: 13px; font-style: normal; font-family: var(--num); font-size: 13px; color: var(--ink-2); }

/* ---------- 更多实践：图纸目录式列表 ---------- */
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); border-left: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 44px 132px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px 22px 24px 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); transition: background .25s; }
.row:hover { background: var(--sheet); }
.r-no { font-family: var(--mono); font-size: 12.5px; color: var(--red); padding-top: 3px; }
.r-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--rule); background: var(--paper-2); }
.r-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s; }
.row:hover .r-thumb img { transform: scale(1.05); }
.r-main { display: block; }
.r-main i { display: block; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.r-main b { display: block; margin: 2px 0 6px; font-size: 17px; line-height: 1.4; }
.r-main span { display: block; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.row:hover .r-main b { color: var(--red); }

/* ---------- AI 思考：设计说明 ---------- */
.notes { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.note { display: flex; flex-direction: column; align-items: flex-start; padding-top: 18px; border-top: 2px solid var(--ink); transition: border-color .25s; }
.note:hover { border-color: var(--red); }
.n-no { font-family: var(--num); font-size: 48px; line-height: 1; font-weight: 600; color: var(--ink); }
.n-cat { margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.note b { margin-top: 2px; font-size: 22px; line-height: 1.4; }
.n-p { margin-top: 8px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.n-marks { display: grid; gap: 6px; margin-top: 16px; font-size: 13.5px; color: var(--ink); }
.n-marks span { position: relative; padding-left: 20px; }
.n-marks span::before { content: "×"; position: absolute; left: 2px; top: -1px; color: var(--red); font-weight: 700; }
.note .more-link { margin-top: 8px; }

/* ---------- 经历 ---------- */
.path { position: relative; }
.path-top { padding: clamp(64px, 9vw, 112px) 0 0; border-top: 1px solid var(--rule-2); }
.path-top .sec-head { margin-bottom: 0; padding-bottom: clamp(28px, 4vw, 44px); }
.path-scroll { position: relative; background: var(--paper); }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); }
.stage { padding: 20px 22px 26px 0; }
.stage + .stage { padding-left: 22px; border-left: 1px solid var(--rule); }
.stage .yr { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.stage h3 { margin: 4px 0 8px; font-size: 26px; line-height: 1.3; }
.stage.now h3 { color: var(--red); }
.stage p { font-size: 14.5px; color: var(--ink-2); }
.ticks { display: none; }
/* 有三维模型时：四段经历随滚动逐段出现，模型在右侧变形 */
html.scrolly .path-scroll { height: 380vh; background: none; border-top: 1px solid var(--rule); }
html.scrolly .path-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
html.scrolly .stages { display: grid; grid-template-columns: 1fr; width: min(430px, 40%); border-top: 0; }
html.scrolly .stage { grid-area: 1 / 1; padding: 0; border: 0; opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .5s; pointer-events: none; }
html.scrolly .stage.on { opacity: 1; transform: none; pointer-events: auto; }
html.scrolly .stage .yr { font-size: 13.5px; }
html.scrolly .stage h3 { margin: 6px 0 14px; font-size: clamp(56px, 7vw, 96px); line-height: 1.05; }
html.scrolly .stage p { font-size: 17px; line-height: 1.8; color: var(--ink); }
html.scrolly .ticks { display: flex; gap: 0; margin-top: 36px; width: min(430px, 40%); font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
html.scrolly .ticks li { flex: 1; padding-top: 10px; border-top: 2px solid var(--rule); transition: color .4s, border-color .4s; }
html.scrolly .ticks li.on { color: var(--red); border-color: var(--red); font-weight: 700; }
.path-bottom { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px); border-top: 1px solid var(--rule); }
.jobs { border-top: 1px solid var(--rule-2); }
.job { display: grid; grid-template-columns: 170px minmax(0, 300px) minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.job .yr { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); padding-top: 3px; }
.job b { display: block; font-size: 16px; line-height: 1.5; }
.job div span { display: block; font-size: 13.5px; color: var(--red); }
.job p { font-size: 14.5px; color: var(--ink-2); }
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border: 1px solid var(--rule-2); background: var(--sheet); }
.creds div { padding: 16px 22px; }
.creds div + div { border-left: 1px solid var(--rule); }
.creds b { display: block; font-size: 17px; }
.creds span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- 结尾 ---------- */
.closing { padding: clamp(72px, 10vw, 128px) 0 32px; border-top: 1px solid var(--rule-2); background: var(--ink); color: var(--paper); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.closing h2 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.22; font-weight: 700; }
.closing .lead { margin-top: 20px; max-width: 34em; font-size: 16.5px; color: rgba(242,239,231,.72); }
.contact { display: flex; flex-wrap: wrap; gap: 14px 48px; margin-top: 30px; }
.contact small { display: block; font-family: var(--mono); font-size: 12px; color: rgba(242,239,231,.55); }
.contact b { font-size: 16.5px; font-weight: 600; }
.contact a:hover b { color: #e9856f; }
.closing .btn.primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.closing .btn.primary:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.wechat { text-align: center; }
.wechat img { width: 148px; height: 148px; object-fit: cover; border: 6px solid var(--paper); }
.wechat figcaption { margin-top: 10px; font-size: 13px; color: rgba(242,239,231,.72); }
.colophon { margin-top: clamp(48px, 7vw, 88px); padding-top: 18px; border-top: 1px solid rgba(242,239,231,.18); font-family: var(--mono); font-size: 12px; color: rgba(242,239,231,.55); }

/* ---------- 详情（右侧展开的图纸） ---------- */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(25,25,23,.5); }
html:has(dialog[open]) { overflow: hidden; }
.detail { width: min(900px, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; background: var(--paper); border-left: 1px solid var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.detail[open] { animation: slide .45s cubic-bezier(.2,.7,.2,1); }
@keyframes slide { from { transform: translateX(48px); opacity: 0; } }
.dt-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(20px, 4vw, 44px); background: rgba(242,239,231,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule-2); }
.dt-head span { display: block; font-family: var(--mono); font-size: 12px; color: var(--red); }
.dt-head h3 { font-size: 18px; line-height: 1.4; }
.x { flex: none; width: 38px; height: 38px; border: 1px solid var(--rule-2); text-align: center; font-size: 14px; transition: background .2s, color .2s; }
.x:hover { background: var(--ink); color: var(--paper); }
.dt-body { padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 44px) 72px; }
.dt-headline { font-size: clamp(24px, 3vw, 34px); line-height: 1.35; font-weight: 700; }
.dt-summary { margin-top: 16px; font-size: 16px; color: var(--ink-2); }
.dt-role { margin-top: 18px; padding: 10px 14px; border: 1px solid var(--rule-2); background: var(--sheet); font-size: 14px; }
.dt-role small { margin-right: 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.dt-body h4 { margin: 44px 0 16px; padding-top: 12px; border-top: 2px solid var(--ink); font-size: 14px; letter-spacing: .08em; }
.dt-media { margin-top: 28px; }
.dt-media video, .dt-media img { width: 100%; border: 1px solid var(--rule-2); background: #0e0e0d; }
.dt-media img { cursor: zoom-in; background: var(--sheet); }
figcaption { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.lane { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--rule-2); background: var(--sheet); counter-reset: ln; }
.lane li { counter-increment: ln; padding: 14px 16px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0 -1px -1px 0; }
.lane li::before { content: "0" counter(ln); display: block; font-family: var(--mono); font-size: 12px; color: var(--red); }
.lane b { display: block; font-size: 15px; }
.lane span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.lane i { display: block; margin-top: 8px; font-style: normal; font-size: 13px; line-height: 1.6; }
.lane em { display: inline-block; margin-top: 8px; padding: 1px 8px; font-style: normal; font-size: 12px; color: var(--red); border: 1px solid var(--red); }
.decisions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); counter-reset: dc; }
.decisions li { counter-increment: dc; padding: 18px 20px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.decisions li::before { content: counter(dc); display: block; font-family: var(--num); font-size: 22px; line-height: 1; color: var(--red); }
.decisions b { display: block; margin: 8px 0 6px; font-size: 16px; line-height: 1.5; }
.decisions p { font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.results li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.results li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 1px; background: var(--red); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border: 1px solid var(--rule-2); cursor: zoom-in; }
.dt-body .redline + .redline { margin-top: 14px; }
.essay section { position: relative; margin-top: 36px; padding: 18px 0 0 56px; border-top: 2px solid var(--ink); }
.essay .e-no { position: absolute; left: 0; top: 16px; font-family: var(--num); font-size: 40px; line-height: 1; }
.essay .e-tag { font-family: var(--mono); font-size: 12px; color: var(--red); }
.essay h4 { margin: 2px 0 10px; padding: 0; border: 0; font-size: 20px; letter-spacing: 0; line-height: 1.45; }
.essay section p + p { margin-top: 10px; }
.essay section p:not(.e-tag) { font-size: 15.5px; color: var(--ink-2); }
.essay .more-link { margin-top: 4px; }
.essay blockquote { margin-top: 44px; padding: 20px 24px; background: var(--ink); color: var(--paper); font-size: 18px; font-weight: 600; line-height: 1.6; }
.zoom { max-width: 96vw; max-height: 94vh; background: transparent; cursor: zoom-out; }
.zoom::backdrop { background: rgba(14,14,13,.88); }
.zoom img { max-width: 96vw; max-height: 94vh; }

/* ---------- 入场 ---------- */
/* 只有脚本正常运行（html.js）时才先隐藏再入场，脚本失败时内容照常显示 */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.cover-main > *, .tblock { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.cover-main > :nth-child(2) { animation-delay: .08s; } .cover-main > :nth-child(3) { animation-delay: .16s; } .cover-main > :nth-child(4) { animation-delay: .24s; }
.tblock { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .cover-main > *, .tblock, .detail[open] { animation: none; }
  #model { transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .sh-body, .sheet.flip .sh-body { grid-template-columns: 1fr; }
  .sh-media, .sheet.flip .sh-media { order: 0; border: 0; border-bottom: 1px solid var(--rule); }
  .sh-role { margin-left: 0; flex-basis: 100%; }
  .rows { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; gap: 36px; }
  .job { grid-template-columns: 150px minmax(0, 1fr); }
  .job p { grid-column: 2; }
}
@media (max-width: 820px) {
  .bar nav { gap: 16px; }
  .bar nav a[href="#contact"] { display: none; }
  .cover { min-height: 0; }
  .cover-grid { grid-template-columns: 1fr; padding-block: 36px 32px; }
  .cover-fig { display: none; }
  #model[data-zone="hero"].on { opacity: .13; }
  .tblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb-stat:nth-child(2) { border-right: 0; }
  .tb-meta, .tb-meta.wide { grid-column: span 2; border-right: 0; border-bottom: 1px solid var(--rule); }
  .tb-meta.wide { border-bottom: 0; }
  html.scrolly .path-stage { align-items: flex-end; padding-bottom: 9vh; }
  html.scrolly .stages, html.scrolly .ticks { width: 100%; }
  html.scrolly .stage h3 { font-size: 52px; margin-bottom: 8px; }
  html.scrolly .stage p { font-size: 15.5px; }
  html.scrolly .ticks { margin-top: 20px; }
  .stages { grid-template-columns: 1fr 1fr; }
  .stage:nth-child(3) { padding-left: 0; border-left: 0; }
  .stage:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .closing-grid { grid-template-columns: 1fr; }
  .wechat { text-align: left; }
  .decisions, .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .brand span { display: none; }
  .bar .wrap { gap: 14px; }
  .bar nav { gap: 14px; font-size: 13.5px; }
  .tb-stat { padding: 16px 14px; }
  .tb-meta { padding: 10px 14px; }
  .nums { gap: 10px; }
  .nums b { font-size: 22px; }
  .sh-steps { grid-template-columns: 1fr 1fr; }
  .sh-steps li:nth-child(3) { border-left: 0; }
  .sh-steps li:nth-child(3)::after { display: none; }
  .sh-steps li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .sh-steps li { padding: 12px 14px 14px; }
  .sh-steps em { right: 12px; top: 11px; }
  .row { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 18px 14px 20px; }
  .r-no { display: none; }
  .job { grid-template-columns: 1fr; gap: 6px; }
  .job p { grid-column: 1; }
  .creds { grid-template-columns: 1fr; }
  .creds div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .essay section { padding-left: 0; }
  .essay .e-no { position: static; display: block; margin-bottom: 6px; }
}

/* ---------- 速览版 / 完整版 ----------
   速览版只留封面、图签和三个案例卡片（画面、名称、一个关键数字），其余区块带 data-deep，整体隐藏。 */
.mode { display: inline-flex; flex: none; border: 1px solid var(--rule-2); font-size: 13px; }
.mode button { height: 34px; padding: 0 12px; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.mode button + button { border-left: 1px solid var(--rule-2); }
.mode button:hover { color: var(--ink); }
.mode button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.who .mode { display: none; margin-left: auto; }
.quick-note, .quick-more { display: none; }
body.quick [data-deep] { display: none !important; }
body.quick .quick-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: -12px 0 28px; padding: 10px 16px; border-left: 2px solid var(--red); background: var(--sheet); font-size: 14px; color: var(--ink-2); }
body.quick .quick-more { display: block; margin-top: 32px; }
body.quick .sheets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.quick .sheet + .sheet { margin-top: 0; }
body.quick .sh-body, body.quick .sheet.flip .sh-body { grid-template-columns: 1fr; }
body.quick .sh-media, body.quick .sheet.flip .sh-media { order: 0; border: 0; border-bottom: 1px solid var(--rule); }
body.quick .sh-head span:nth-of-type(n+2), body.quick .hook, body.quick .redline, body.quick .sh-steps, body.quick .nums div:nth-child(n+2) { display: none; }
body.quick .sh-text { justify-content: flex-start; padding: 20px 20px 22px; }
body.quick .sh-text h3 { font-size: 20px; }
body.quick .nums { grid-template-columns: 1fr; margin: 12px 0 16px; padding: 0; border: 0; }
body.quick .nums div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
body.quick .nums b { font-size: 30px; }
body.quick .nums span { margin-top: 0; font-size: 13px; }
body.quick .sh-text .more-link { margin-top: 0; }
@media (max-width: 820px) {
  .bar .mode { display: none; }
  .who .mode { display: inline-flex; }
  body.quick .sheets { grid-template-columns: 1fr; gap: 28px; }
}
