@charset "UTF-8";
/* ===== 配色（三套预览） ===== */
:root, [data-theme="ember"] {
  --bg: #0d0b09; --text: #efe7dc; --muted: #9a8f84; --faint: #6d645b; --line: rgba(239,231,220,.12);
  --accent: #ff8a42; --a1: #ff6a1f; --a2: #b8401c; --a3: #f5b26b; --aura-op: .62; --grain-op: .09;
  --chip: rgba(13,11,9,.55); --panel: #120f0c;
}
[data-theme="dawn"] {
  --bg: #f1ebe2; --text: #1b1815; --muted: #6e655c; --faint: #9a9086; --line: rgba(27,24,21,.13);
  --accent: #c4552a; --a1: #ff9a5c; --a2: #f7c99a; --a3: #ef8f7a; --aura-op: .7; --grain-op: .07;
  --chip: rgba(241,235,226,.7); --panel: #f4efe7;
}
[data-theme="dusk"] {
  --bg: #090b10; --text: #e8eaf0; --muted: #8d93a1; --faint: #5f6573; --line: rgba(232,234,240,.12);
  --accent: #ff9150; --a1: #ff7a35; --a2: #2f56ff; --a3: #8c5cff; --aura-op: .55; --grain-op: .09;
  --chip: rgba(9,11,16,.55); --panel: #0d1016;
}
:root {
  --sans: -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --serif: "Bodoni 72", Didot, "Times New Roman", "Songti SC", serif;
  --pad: 22px; --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; }

/* ===== 能量背景：缓慢流动的光 ===== */
.aura { position: fixed; inset: 0; z-index: -2; overflow: hidden; opacity: var(--aura-op); pointer-events: none; }
.aura i { position: absolute; width: 90vmax; height: 90vmax; border-radius: 50%; will-change: transform; }
.aura i:nth-child(1) { background: radial-gradient(circle, var(--a1) 0, transparent 62%); top: -45vmax; left: -30vmax; animation: drift1 22s var(--ease) infinite alternate; }
.aura i:nth-child(2) { background: radial-gradient(circle, var(--a2) 0, transparent 60%); top: -10vmax; right: -55vmax; animation: drift2 28s var(--ease) infinite alternate; }
.aura i:nth-child(3) { background: radial-gradient(circle, var(--a3) 0, transparent 58%); bottom: -60vmax; left: -20vmax; opacity: .7; animation: drift3 34s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(28vmax, 18vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-30vmax, 25vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(35vmax, -30vmax) scale(1.2); } }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ===== 顶栏 ===== */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) var(--pad) 14px; color: var(--text); transition: background .4s, backdrop-filter .4s; }
.top.scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.logo { font: 600 17px/1 var(--sans); letter-spacing: .06em; }
.logo b { color: var(--accent); }
.top nav { display: flex; gap: 20px; font-size: 13px; letter-spacing: .08em; }
.top nav a { opacity: .85; }

/* ===== 首屏 ===== */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--pad) 40px; position: relative; }
.kicker { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .12em; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 30px; }
.hero h1 { font-weight: 300; font-size: clamp(40px, 11.5vw, 120px); line-height: 1.12; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; font-weight: 500; }
.hero-lead { margin-top: 26px; font-size: 15px; color: var(--muted); line-height: 1.9; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; border-top: 1px solid var(--line); }
.stats div { padding: 14px 0 0; }
.stats div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.stats dt { font-size: 11px; color: var(--faint); letter-spacing: .08em; }
.stats dd { font: 400 30px/1.3 var(--serif); margin-top: 4px; }
.scroll-cue { display: flex; align-items: center; gap: 12px; margin-top: 40px; font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--text), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ===== 区块通用 ===== */
.section { padding: 90px var(--pad) 20px; }
.section-head { margin-bottom: 40px; }
.index { display: block; font: 400 13px/1 var(--serif); color: var(--accent); letter-spacing: .1em; margin-bottom: 18px; }
.section-head h2 { font: 400 clamp(46px, 13vw, 120px)/1 var(--serif); letter-spacing: -.02em; }
.section-head h2 small { display: block; font: 400 13px/1 var(--sans); letter-spacing: .3em; color: var(--muted); margin-top: 16px; }
.section-head > p { margin-top: 22px; color: var(--muted); font-size: 14px; max-width: 34em; }

/* ===== 作品列表 ===== */
.work-list { display: grid; gap: 54px; }
.work figure { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); }
.work figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work a:hover img { transform: scale(1.04); }
.work-meta { display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; padding-top: 14px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.work-meta .no { font: 400 13px/1 var(--serif); color: var(--faint); }
.work-meta h3 { font-weight: 400; font-size: 19px; letter-spacing: .04em; }
.work-meta h3 small { font-size: 13px; color: var(--muted); margin-left: 10px; letter-spacing: 0; }
.work-meta .yr { font-size: 12px; color: var(--faint); }

/* ===== 工具 ===== */
.tool-list { border-top: 1px solid var(--line); }
.tool-list li { border-bottom: 1px solid var(--line); }
.tool-list li > * { display: grid; grid-template-columns: 34px 1fr 24px; gap: 4px; align-items: start; width: 100%; text-align: left; padding: 24px 0; }
.t-no { font: 400 13px/1.9 var(--serif); color: var(--accent); }
.t-body strong { display: block; font-weight: 400; font-size: 21px; letter-spacing: .02em; }
.t-body strong em { font-style: normal; font-size: 11px; letter-spacing: .1em; color: var(--accent); border: 1px solid currentColor; padding: 2px 7px; margin-left: 8px; vertical-align: 3px; }
.t-body small { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }
.t-go { font-size: 18px; color: var(--muted); text-align: right; transition: transform .3s var(--ease); }
.tool-list button:hover .t-go { transform: translate(3px, -3px); color: var(--accent); }
.soon .t-body strong { color: var(--muted); }

/* ===== 方法 ===== */
.method { display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: m; }
.method li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; counter-increment: m; }
.method li::before { content: "0" counter(m); font: 400 13px/1.9 var(--serif); color: var(--faint); grid-row: 1 / span 3; }
.method span { font-size: 18px; }
.method p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.method p.en { font-size: 13px; line-height: 1.7; margin-top: 6px; }

/* ===== 顶部简介 ===== */
.intro { min-height: 0; display: block; padding: 84px var(--pad) 8px; }
.portrait { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #d9cfc3; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.intro-text { padding-top: 28px; }
.intro .kicker { display: block; font: 400 12px/1 var(--serif); letter-spacing: .22em; color: var(--accent); margin-bottom: 16px; }
.intro h1 { display: flex; flex-direction: column; align-items: flex-start; font-weight: 400; font-size: 16px; line-height: 1; letter-spacing: 0; }
.en-name { display: block; font: 400 64px/1 var(--serif); letter-spacing: -.01em; color: var(--text); }
.zh-name { display: block; font: 400 16px/1.4 var(--sans); letter-spacing: .3em; color: var(--muted); margin-top: 12px; }
.role { margin-top: 14px; font-size: 13px; color: var(--muted); letter-spacing: .04em; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.role i { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); margin: 0 10px; }
.motto { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 300; font-size: 21px; line-height: 1.7; }
.motto em { font-style: normal; font-weight: 500; }
.intro .scroll-cue { margin-top: 28px; }

/* ===== 双语排版 ===== */
.en { display: block; font-family: var(--sans); font-weight: 400; font-size: 13px; line-height: 1.7; letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.role-en { max-width: 32em; margin-top: 8px; }
.motto .en { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.6; margin-top: 10px; }
.en-i { margin-left: 6px; font-size: 11px; font-weight: 400; letter-spacing: .04em; color: var(--faint); }
.en-t { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 13px; line-height: 1.6; letter-spacing: 0; color: var(--muted); margin-top: 2px; }

/* ===== 关于 ===== */
.manifesto { margin: 0 0 56px; font-weight: 300; font-size: clamp(28px, min(8.2vw, 60px), 60px); line-height: 1.36; letter-spacing: -.01em; }
.manifesto em { font-style: normal; font-weight: 500; }
.bio p { font-size: 16px; line-height: 2; color: var(--muted); margin-bottom: 8px; max-width: 32em; }
.bio p:first-child { color: var(--text); }
.bio p.en { font-size: 13px; line-height: 1.7; margin-bottom: 24px; max-width: 40em; }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px 0 80px; border-top: 1px solid var(--line); }
.numbers div { padding-top: 14px; display: flex; flex-direction: column; align-items: flex-start; }
.numbers div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.numbers dt { font-size: 11px; color: var(--faint); letter-spacing: .06em; }
.numbers dd { font: 400 38px/1.25 var(--serif); margin-top: auto; }
.numbers small { font: 400 13px var(--sans); color: var(--muted); margin-left: 4px; }
.sub { font-weight: 400; font-size: 13px; letter-spacing: .3em; color: var(--muted); margin-bottom: 18px; }
.family { margin-top: 64px; padding-left: 18px; border-left: 1px solid var(--accent); font-size: 15px; line-height: 2; color: var(--muted); }
br.d { display: none; }
@media (min-width: 900px) { br.m { display: none; } }

/* ===== 联系 ===== */
.contact { padding-bottom: 60px; }
.contact h2 { font-weight: 300; font-size: clamp(36px, 10vw, 96px); line-height: 1.15; margin: 6px 0 40px; }
.contact-list li { display: grid; grid-template-columns: 64px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list li > span:first-child { color: var(--faint); font-size: 13px; }
.contact-list button { text-align: left; }
.contact-list .todo { color: var(--faint); }
.contact-list .copy { color: var(--text); font-size: 15px; cursor: pointer; }
.contact-list .copy:hover { color: var(--accent); }
.contact-list .copy.copied::after { content: " 已复制"; font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.foot { display: flex; justify-content: space-between; padding: 26px var(--pad) calc(26px + env(safe-area-inset-bottom)); font-size: 12px; color: var(--faint); }

/* ===== 项目详情 ===== */
.project { position: fixed; inset: 0; z-index: 40; background: var(--panel); overflow-y: auto; -webkit-overflow-scrolling: touch; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.project-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: calc(14px + env(safe-area-inset-top)) var(--pad) 14px; font-size: 13px; letter-spacing: .08em; color: var(--text); background: color-mix(in srgb, var(--panel) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.p-hero { margin-top: -50px; }
.p-hero img { width: 100%; height: 72svh; object-fit: cover; }
.p-head { padding: 34px var(--pad) 10px; }
.eyebrow { font: 400 13px/1 var(--serif); color: var(--accent); letter-spacing: .1em; }
.p-head h2 { font-weight: 400; font-size: 40px; letter-spacing: .04em; margin: 14px 0 26px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-bottom: 26px; }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11px; color: var(--faint); letter-spacing: .08em; }
.facts dd { font-size: 14px; margin-top: 2px; }
.facts .full { grid-column: 1 / -1; }
.p-head p { color: var(--muted); font-size: 15px; line-height: 1.95; margin-bottom: 14px; }
.p-gallery { display: grid; gap: 8px; padding: 20px 0 0; }
.p-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 40px; }
.p-nav a { padding: 26px var(--pad) calc(30px + env(safe-area-inset-bottom)); font-size: 18px; }
.p-nav a + a { text-align: right; border-left: 1px solid var(--line); }
.p-nav small { display: block; font-size: 11px; color: var(--faint); letter-spacing: .1em; margin-bottom: 4px; }

/* ===== 底部弹出卡 ===== */
dialog { width: 100%; max-width: 560px; max-height: 88svh; margin: auto auto 0; border: 0; border-top: 1px solid var(--line); padding: 34px var(--pad) calc(30px + env(safe-area-inset-bottom)); background: var(--panel); color: var(--text); }
dialog[open] { animation: rise .4s var(--ease); }
dialog::backdrop { background: rgba(0,0,0,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet-close { position: absolute; top: 14px; right: 18px; font-size: 26px; color: var(--muted); }
#sheet-body h3 { font-weight: 400; font-size: 30px; margin: 12px 0 8px; }
#sheet-body .lead { font-size: 16px; margin-bottom: 12px; }
#sheet-body p { color: var(--muted); font-size: 14px; }
#sheet-body ul { margin: 16px 0; border-top: 1px solid var(--line); }
#sheet-body li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
#sheet-body .role { font-size: 12px; color: var(--faint); }
.cta { display: inline-block; margin-top: 22px; background: var(--text); color: var(--bg); padding: 13px 22px; font-size: 14px; letter-spacing: .06em; }
.switch { display: flex; gap: 8px; margin: 16px 0; }
.switch button { border: 1px solid var(--line); padding: 8px 14px; font-size: 13px; color: var(--muted); }
.switch [aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.qr { background: #f3ede4; padding: 12px; max-width: 320px; }
.qr figcaption { color: #6a5f55; font-size: 12px; padding-top: 8px; }

/* ===== 淡入 ===== */
.pre { opacity: 0; transform: translateY(28px); }
.reveal, .section-head, .tool-list li, .method li { transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* ===== 桌面 ===== */
@media (min-width: 900px) {
  :root { --pad: 56px; }
  .hero { padding-bottom: 60px; }
  .hero-lead { font-size: 17px; }
  .stats { max-width: 640px; }
  .work-list { grid-template-columns: 1fr 1fr; gap: 80px 40px; }
  .work:nth-child(3n+1) { grid-column: span 2; }
  .work:nth-child(3n+1) figure { aspect-ratio: 16 / 9; }
  .section { padding-top: 140px; }
  .section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
  .section-head .index { grid-column: span 2; }
  .tool-list, .method { max-width: 980px; margin-left: auto; }
  .about { display: grid; grid-template-columns: 5fr 7fr; column-gap: 80px; }
  .about > .section-head, .about > .manifesto { grid-column: 1 / -1; }
  .about .bio { grid-column: 1; }
  .about .numbers { grid-column: 1; align-self: start; margin-top: 24px; }
  .about .sub { grid-column: 2; grid-row: 2; }
  .about .method { grid-column: 2; grid-row: 2 / span 2; margin: 40px 0 0; max-width: none; }
  .about .family { grid-column: 1 / -1; max-width: 46em; }
  br.d { display: inline; }
  .intro { display: grid; grid-template-columns: minmax(0, 38%) 1fr; gap: 72px; align-items: end; padding: 120px var(--pad) 24px; }
  .portrait { aspect-ratio: 4 / 5; max-height: 74vh; }
  .portrait img { object-position: 50% 50%; }
  .intro-text { padding: 0 0 8px; max-width: 620px; }
  .en-name { font-size: 112px; }
  .zh-name { font-size: 20px; }
  .role { font-size: 15px; margin-top: 20px; }
  .role-en { font-size: 14px; }
  .motto { font-size: 30px; margin-top: 40px; padding-top: 32px; }
  .motto .en { font-size: 20px; }
  .bio p.en, .method p.en, .family .en { font-size: 14px; }
  .p-hero img { height: 88vh; }
  .p-head { max-width: 860px; margin: 0 auto; padding-top: 60px; }
  .p-gallery { max-width: 1200px; margin: 0 auto; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 12px; padding-inline: var(--pad); }
  .p-gallery .wide { grid-column: span 2; }
  .p-gallery .tall { width: 100%; height: 100%; object-fit: cover; }
  .facts { grid-template-columns: 1fr 1.4fr 2fr; }
  .facts .full { grid-column: auto; }
  dialog { margin: auto; border: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aura i, .scroll-cue i { animation: none; }
  * { transition: none !important; }
}

/* ===== 顶部简介：照片缩小，作品优先 ===== */
@media (max-width: 899px) {
  .intro { display: grid; grid-template-columns: 40% 1fr; column-gap: 20px; padding-top: 80px; }
  .intro-text { display: contents; }
  .intro .portrait { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 4 / 5; }
  .intro .portrait img { object-position: 55% 30%; }
  .intro .kicker { grid-column: 2; grid-row: 1; align-self: end; margin: 0 0 10px; padding-top: 0; border-top: 0; font-size: 10px; letter-spacing: .16em; line-height: 1.6; }
  .intro h1 { grid-column: 2; grid-row: 2; align-self: end; }
  .intro .en-name { font-size: 56px; }
  .intro .role, .intro .role-en, .intro .motto, .intro .scroll-cue { grid-column: 1 / -1; }
  .intro .role { margin-top: 22px; }
  .intro .motto { margin-top: 18px; padding-top: 16px; font-size: 18px; }
  .intro .scroll-cue { margin-top: 18px; }
}
@media (min-width: 900px) {
  .intro { grid-template-columns: minmax(0, 28%) 1fr; gap: 64px; padding-top: 104px; }
  .intro .portrait { max-height: 60vh; }
}

/* ===== 手机首屏：简介 + 第一张作品同屏 ===== */
@media (max-width: 899px) {
  .intro { grid-template-columns: 34% 1fr; column-gap: 18px; padding-top: 72px; padding-bottom: 0; }
  .intro .portrait { grid-row: 1 / span 4; align-self: start; }
  .intro .kicker { grid-row: 1; align-self: start; margin: 0 0 6px; }
  .intro h1 { grid-row: 2; align-self: start; }
  .intro .en-name { font-size: 46px; }
  .intro .zh-name { margin-top: 6px; font-size: 13px; }
  .intro .role { grid-column: 2; grid-row: 3; margin-top: 12px; font-size: 11.5px; line-height: 1.6; }
  .intro .role i { margin: 0 6px; }
  .intro .role-en { grid-column: 2; grid-row: 4; margin-top: 4px; font-size: 10px; line-height: 1.5; }
  .intro .motto { grid-row: 5; margin-top: 18px; padding-top: 14px; font-size: 16px; line-height: 1.6; }
  .intro .motto .en { font-size: 13px; }
  .intro .scroll-cue { display: none; }
  #work { padding-top: 36px; }
  #work .section-head { margin-bottom: 18px; }
  #work .section-head h2 { font-size: 40px; }
  #work .section-head p { display: none; }
}
@media (max-width: 899px) {
  .intro .role i:nth-of-type(2) { flex-basis: 100%; height: 0; margin: 0; background: none; }
}
@media (max-width: 899px) {
  .intro .motto { margin-top: 14px; padding-top: 12px; }
  #work { padding-top: 26px; }
  #work .section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
  #work .section-head .index { margin: 0; }
  #work .section-head h2 { font-size: 26px; display: flex; align-items: baseline; }
  #work .section-head h2 small { margin: 0 0 0 10px; font-size: 11px; letter-spacing: .24em; }
}
@media (max-width: 899px) {
  .work figure { aspect-ratio: 4 / 3; }
}
