:root {
  color-scheme: light;
  --ink: #101010;
  --paper: #f2f2ef;
  --gutter: clamp(24px, 6.15vw, 118px);
  --header-h: clamp(66px, 5.8vw, 88px);
  --footer-pad: clamp(24px, 3vw, 54px);
  --ease: cubic-bezier(.2, .72, .16, 1);
  --enter: cubic-bezier(.32, .04, .22, 1);
  font-family: "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--header-h); background: var(--ink); }
body { margin: 0; background: var(--paper); color: var(--ink); }
body, button, a { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; padding: 0; }
button:focus-visible, a:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: #727270; color: white; }
.frame { width: min(calc(100% - var(--gutter) * 2), 1560px); margin-inline: auto; }
#main { position: relative; isolation: isolate; }
#main > section > .frame { position: relative; z-index: 2; }
.paper { background: var(--paper); }
.ink { background: #171717; color: #f3f3ef; }
.skip-link { position: fixed; z-index: 20; inset: 10px auto auto 12px; padding: 12px 20px; background: white; color: #141414; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.topbar { position: fixed; z-index: 5; inset: 0 0 auto; color: #f2f2ef; height: var(--header-h); background: var(--ink); transition: background .32s, color .32s; }
.topbar.on-paper { background: var(--paper); color: var(--ink); }
.topbar-inner { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.read-progress { position: absolute; inset: auto 0 0; height: 1px; pointer-events: none; background: currentColor; opacity: .28; transform: scaleX(0); transform-origin: left; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 13px; }
.brand { min-height: 44px; justify-self: start; }
.brand img { width: 23px; height: 23px; object-fit: contain; transition: filter .32s; }
.brand-name { font-size: 14px; line-height: 1; letter-spacing: .13em; font-weight: 650; }
.on-paper .brand img { filter: invert(1); }
.topnav { display: flex; align-items: center; gap: clamp(20px, 2.9vw, 52px); }
.topnav a { min-height: 44px; display: grid; align-items: center; position: relative; font-size: 13px; font-weight: 550; letter-spacing: .08em; opacity: .72; transition: opacity .2s; }
.topnav a[aria-current], .topnav a:is(:hover,:focus-visible) { opacity: 1; }
.topnav a::after { content: ""; position: absolute; bottom: 9px; inset-inline: 0 .08em; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.topnav a[aria-current="location"]::after, .topnav a:focus-visible::after { transform: scaleX(1); }

.chapter-index { position: fixed; z-index: 4; right: clamp(12px,1.45vw,34px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: end; color: white; mix-blend-mode: difference; }
.chapter-index a { position: relative; width: 25px; height: 29px; display: grid; place-items: center; }
.chapter-index a i { width: 4px; height: 4px; border-radius: 6px; background: currentColor; opacity: .45; transition: transform .34s var(--ease), opacity .3s; }
.chapter-index a span { position: absolute; right: 100%; white-space: nowrap; font-size: 11px; font-weight: 550; letter-spacing: .08em; opacity: 0; transform: translateX(5px); transition: opacity .24s, transform .34s var(--ease); pointer-events: none; }
.chapter-index a:is([aria-current],:hover,:focus-visible) i { opacity: 1; transform: scale(1.75); }
.chapter-index a:is([aria-current],:hover,:focus-visible) span { opacity: 1; transform: none; }
.chapter-index:has(a:is(:hover,:focus-visible)) a[aria-current]:not(:hover,:focus-visible) span { opacity: 0; }
main > section:focus { outline: none; }
/* 最后一章也有完整的落点，手机点“项目”时不用连着看上一章的尾巴。 */
.last-chapter { min-block-size: calc(100svh - var(--header-h) - 44px - var(--footer-pad) - var(--footer-pad) + 1px); }

.chapter-cut { position: fixed; z-index: 16; inset: 0; overflow: hidden; contain: paint; background: #0c0c0c; pointer-events: none; will-change: transform; }
.cut-register { position: absolute; inset: 0; display: grid; place-items: center; isolation: isolate; background: #0c0c0c; will-change: transform; }
.cut-type { position: relative; z-index: 1; text-align: center; color: white; mix-blend-mode: difference; }
.cut-window { overflow: hidden; padding: .03em .06em .07em 0; font: 800 clamp(55px,10.3vw,185px)/.88 "Inter","Arial Black",Arial,"Helvetica Neue",sans-serif; letter-spacing: -.066em; }
.cut-title { display: block; }
.cut-caption { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: clamp(16px,2.1vw,34px); font-size: clamp(11px,.8vw,14px); line-height: 1.5; letter-spacing: .12em; }
.cut-count { font-family: "IBM Plex Mono",Consolas,monospace; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.cut-caption i { display: block; width: 30px; height: 1px; background: currentColor; opacity: .47; }
.cut-sheet { position: absolute; inset: -1px; background: var(--paper); transform: translateY(101%); }

.hero { background: var(--ink); color: #f4f4f1; overflow: clip; }
.hero-inner { min-height: max(570px,100svh); display: grid; grid-template-rows: 1fr auto; padding-top: var(--header-h); }
.hero-stage { display: grid; align-items: center; grid-template-columns: 0.97fr 1.03fr; position: relative; }
.hero-copy { z-index: 1; position: relative; padding: 30px 0; }
.hero-label { display: flex; align-items: center; gap: 13px; font-size: clamp(12px, 1vw, 15px); font-weight: 450; color: #bdbdb9; letter-spacing: .13em; }
.hero-label > span:first-child { width: clamp(23px,2.4vw,39px); height: 1px; background: #969693; }
#hero-name { overflow: hidden; margin: clamp(22px, 2.3vw, 39px) 0 clamp(22px, 2vw, 32px) -2px; }
.signature { width: min(100%, 600px); height: auto; }
.hero-intro { color: #d2d2ce; font-size: clamp(18px, 1.65vw, 27px); font-weight: 400; letter-spacing: .035em; line-height: 1.65; }
.hero-art { display: grid; place-items: center; min-width: 0; height: clamp(312px, min(43vw, 59svh), 660px); }
.scene-layer { position: fixed; z-index: 1; pointer-events: none; inset: 0; overflow: clip; visibility: hidden; }
.scene-layer.is-parked { position: absolute; inset: var(--park-top,0px) 0 auto; height: 100vh; }
.has-sculpture .scene-layer { visibility: visible; }
.studio { position: absolute; top: 0; left: 0; isolation: isolate; display: grid; place-items: center; transform-origin: center; will-change: transform, opacity; }
.studio-ambient { position: absolute; width: 109%; height: 100%; pointer-events: none; background: radial-gradient(ellipse at 52% 51%, rgb(255 255 255 / 5%) 0%, rgb(255 255 255 / 2.1%) 40%, transparent 68%); }
.art-fallback { width: 56%; height: auto; opacity: .88; }
.has-sculpture .art-fallback { visibility: hidden; }
#sculpture { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-foot { position: relative; display: flex; align-items: center; justify-content: space-between; padding-bottom: clamp(24px, 3.5vw, 58px); }
.hero-foot::after { content: ""; position: absolute; left: 50%; bottom: 0; height: clamp(26px,4.4vh,64px); width: 1px; background: linear-gradient(to bottom,#ffffff18,#ffffff94); }
.hero-action { display: inline-flex; align-items: center; gap: 15px; min-height: 46px; font-size: 14px; letter-spacing: .04em; }
.action-disc, .row-arrow { display: grid; place-items: center; border-radius: 50%; border: 1px solid #656561; width: 43px; height: 43px; transition: color .3s, background .3s, border-color .3s; }
.arrow { --size: 17px; position: relative; width: var(--size); height: var(--size); display: inline-block; flex: none; transform: rotate(var(--angle, 0deg)); }
.arrow::before { content: ""; position: absolute; left: 9%; top: 50%; width: 80%; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.arrow::after { content: ""; position: absolute; right: 11%; top: 50%; height: 41%; width: 41%; border-top: 1.5px solid; border-right: 1.5px solid; transform: translateY(-50%) rotate(45deg); }
.arrow.up { --angle: -90deg; }
.arrow.down { --angle: 90deg; }
.arrow.left { --angle: 180deg; }
.arrow.diagonal { --angle: -45deg; }
.motion-control { position: relative; justify-self: end; width: 61px; height: 44px; display: flex; align-items: center; justify-content: space-around; padding-inline: 8px 10px; isolation: isolate; color: inherit; }
.motion-control::before { content: ""; position: absolute; z-index: -1; inset: 7px 0; border-radius: 30px; border: 1px solid currentColor; opacity: .36; transition: opacity .3s; }
.motion-orbit { width: 19px; height: 19px; border-radius: 50%; border: 1px solid #aeaea9; background: radial-gradient(ellipse at 33% 23%,#f3f3ef,#c8c8c3 19%,#696966 45%,#161616 72%,#747472); box-shadow: inset 0 0 2px #ffffff61; transition: transform .45s var(--ease); }
.motion-control.is-paused .motion-orbit { transform: scale(.75); }
.motion-symbol { height: 9px; width: 7px; border-inline: 2px solid currentColor; }
.motion-control.is-paused .motion-symbol { width: 0; height: 0; border: 0; border-left: 8px solid currentColor; border-block: 5px solid transparent; margin-left: 2px; }

.works { padding-block: clamp(44px, 4vw, 80px) clamp(66px, 7.7vw, 142px); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: clamp(32px, 3.5vw, 64px); }
.section-heading h2, .writing-intro h2, .life-aside h2 { font-size: clamp(40px, 4.6vw, 76px); letter-spacing: -.065em; line-height: 1.16; font-weight: 550; }
.section-meta, .project-meta, .row-meta, .reader-position { color: #555551; font-size: 13px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.work-layout { display: grid; align-items: stretch; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 5vw, 88px); }
.work-preview, .preview-stack { position: relative; }
.work-preview { display: grid; min-width: 0; aspect-ratio: 1.67; isolation: isolate; }
.preview-stack, .preview-frame { position: absolute; inset: 0; overflow: hidden; }
.preview-frame { display: grid; place-items: center; background: linear-gradient(135deg,#ddddda 0%,#c5c5c2 54%,#a5a5a2 100%); opacity: 0; transition: opacity .46s var(--ease); }
.preview-frame.is-active { opacity: 1; }
.preview-frame:nth-child(2n) { background: linear-gradient(128deg,#a7a7a4 0%,#c9c9c6 51%,#dadad6 100%); }
.print { width: 76%; transform: perspective(1100px) rotateX(7deg) rotateY(-9deg) rotateZ(-3deg) scale(.98); transition: transform .7s var(--ease); background: #efefec; padding: 1.5%; box-shadow: 1px 2px 2px #41413d44, 6px 12px 14px -7px #39393466, 13px 30px 35px -17px #37373290; }
.preview-frame.is-active .print { transform: perspective(1100px) rotateX(5deg) rotateY(-6deg) rotateZ(-3deg) scale(1); }
.print img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: grayscale(1); }
.print.mark-only { width: 27%; box-shadow: none; padding: 0; background: none; }
.print.mark-only img { aspect-ratio: 1; object-fit: contain; filter: invert(.85); }
.preview-call { position: absolute; right: 13px; bottom: 13px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; background: #f2f2ef; color: #20201e; line-height: 1.2; font-size: 12px; }
.preview-call .arrow { --size: 15px; }
.work-list { min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid #999994; }
.work-list li { border-bottom: 1px solid #c8c8c3; }
.project-row { display: flex; gap: 16px; align-items: center; min-width: 0; min-height: clamp(86px, 7.9vw, 140px); padding: 18px 2px; }
.row-copy { display: grid; min-width: 0; gap: 8px; flex: 1; }
.row-name { font-size: clamp(20px, 1.85vw, 33px); font-weight: 540; line-height: 1.32; letter-spacing: -.04em; overflow-wrap: anywhere; }
.row-meta { display: flex; gap: 9px; align-items: center; font-size: 12px; }
.row-meta span + span::before { content: "·"; margin-right: 9px; }
.row-arrow { width: 34px; height: 34px; flex: none; border-color: transparent; }
.project-row.is-active .row-arrow { background: #20201e; color: white; }
.row-thumb { display: none; }

.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px,6vw,110px); align-items: center; min-height: clamp(470px,72svh,810px); padding-block: clamp(65px, 7.5vw, 126px); }
.about-margin { position: relative; align-self: stretch; display: flex; align-items: flex-start; }
.about-heading { writing-mode: vertical-rl; margin: 0; padding-top: 12px; border-top: 1px solid #757571; font-weight: 500; font-size: clamp(23px,2.4vw,40px); line-height: 1.25; letter-spacing: .16em; }
#art-about { position: absolute; left: 17%; width: 78%; top: 6%; height: 87%; }
.about-main { min-width: 0; position: relative; isolation: isolate; }
/* 标志经过时在文字边缘渐隐，停靠处仍能看清完整的金属轮廓。 */
.about-main::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -32px -16px -32px -88px; background: linear-gradient(to right,transparent,rgb(242 242 239 / 97%) 86px); mask-image: linear-gradient(to bottom,transparent,#000 29px calc(100% - 29px),transparent); }
.about-body { max-width: 41em; }
.about-body p { font-size: clamp(16px, 1.25vw, 20px); line-height: 1.95; color: #4d4d49; margin-bottom: .75em; }
.about-body p:first-child { font-size: clamp(28px, 3vw, 50px); font-weight: 500; color: #151513; letter-spacing: -.045em; line-height: 1.4; text-wrap: balance; margin: -.05em 0 .64em; }
.about-body p:last-child { margin-bottom: 0; }
.portrait { max-width: 240px; max-height: 290px; object-fit: cover; margin-bottom: 28px; filter: grayscale(1); }
.public-links, .case-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; }
.text-link, .top-link, .reader-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.text-link { font-size: 15px; border-bottom: 1px solid currentColor; }
.journey, .writing, .life { padding-block: clamp(58px,6.6vw,112px); }
.journey-heading { align-items: center; }
.rail-controls { display: flex; align-items: center; gap: 14px; }
.rail-controls button { width: 42px; height: 42px; border: 1px solid #666660; border-radius: 50%; display: grid; place-items: center; }
.rail-controls button[aria-disabled="true"] { opacity: .32; cursor: default; }
#journey-position { font-variant-numeric: tabular-nums; font-size: 13px; color: #cececa; white-space: nowrap; }
.journey-rail { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% - clamp(30px,6.2vw,96px)); gap: clamp(12px,1.6vw,28px); margin: 0; padding: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.journey-rail::-webkit-scrollbar { display: none; }
.journey-rail.single { grid-auto-columns: 100%; }
.journey-page { display: grid; grid-template-columns: .95fr 1.05fr; min-height: clamp(320px,31vw,485px); background: #e9e9e4; color: #161615; scroll-snap-align: start; }
.journey-copy { align-self: center; min-width: 0; padding: clamp(24px,4.1vw,70px); }
.journey-period { display: block; color: #565651; font-size: 13px; letter-spacing: .06em; margin-bottom: clamp(17px,2.4vw,38px); }
.journey-copy h3 { margin: 0 0 .55em; font-size: clamp(27px,3.1vw,52px); letter-spacing: -.055em; font-weight: 530; line-height: 1.24; text-wrap: balance; }
.journey-copy p, .writing-intro p { max-width: 43em; color: #494944; font-size: clamp(15px,1.22vw,19px); line-height: 1.9; }
.journey-plate { display: grid; grid-template-rows: 1fr auto; align-items: center; min-width: 0; padding: clamp(20px,2.8vw,48px); background: linear-gradient(145deg,#bebeb8,#d6d6d0 60%,#b6b6ae); }
.journey-plate img { width: 100%; height: auto; filter: grayscale(1); border: clamp(3px,.4vw,8px) solid #f4f4ef; box-shadow: 2px 8px 20px #25252130; }
.journey-plate.wordmark { background: #20201e; color: #e3e3de; }
.journey-plate.wordmark img { width: 86%; justify-self: center; border: 0; box-shadow: none; }
.journey-plate figcaption { font-size: 12px; margin-top: 18px; line-height: 1.5; }
.journey-page.text-only { grid-template-columns: 1fr; }
.journey-page.text-only .journey-copy { max-width: 50em; }
.writing-intro { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px,6vw,100px); align-items: start; margin-bottom: clamp(32px,4.3vw,68px); }
.literary-spread { display: grid; grid-template-columns: 1.11fr .89fr; border-block: 1px solid #9b9b95; min-height: clamp(360px,34vw,560px); }
.story-photo { position: relative; overflow: hidden; min-width: 0; background: #c9c9c4; }
.story-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: grayscale(1); }
.story-type { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(22px,3vw,54px) 15px; gap: 26px; }
.story-type blockquote { margin: 0; writing-mode: vertical-rl; font: 400 clamp(19px,1.75vw,30px)/1.95 "Baskervville","Songti SC","STSong","SimSun",serif; letter-spacing: .055em; }
.story-type blockquote span { display: block; }
.story-type figcaption { color: #54544f; font-size: 13px; line-height: 1.5; }
.literary-spread.text-only, .literary-spread.photo-only { grid-template-columns: 1fr; }
.life-inner { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(34px,7vw,130px); align-items: center; }
.life-aside { min-width: 0; }
.record { position: relative; width: clamp(138px,15vw,246px); aspect-ratio: 1; margin: clamp(25px,3.1vw,53px) 0 0 clamp(8px,3vw,45px); border-radius: 50%; border: 1px solid #50504b; overflow: hidden; background: repeating-radial-gradient(circle at center,transparent 0 1px,#d6d6d322 1.4px,transparent 2px 3px),conic-gradient(from -28deg,#0e0e0e,#757572 38deg,#151515 72deg,#282826 142deg,#85857e 202deg,#151515 235deg,#323230 302deg,#0e0e0e); box-shadow: 4px 12px 22px #0008; }
.record i { position: absolute; inset: 34%; border-radius: 50%; background: radial-gradient(circle,#151515 0 5%,#8c8c85 5.3% 6%,#c5c5bd 6.5% 66%,#b1b1a9 69%); }
.life-list { margin: 0; border-top: 1px solid #73736e; }
.life-list > div { display: grid; grid-template-columns: minmax(52px,.28fr) 1fr; gap: 16px; align-items: baseline; padding-block: clamp(18px,2vw,32px); border-bottom: 1px solid #494946; }
.life-list dt { font-size: 13px; color: #bcbcb6; }
.life-list dd { margin: 0; font-size: clamp(16px,1.55vw,25px); line-height: 1.65; }
.footer { background: var(--ink); color: #d6d6d2; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: var(--footer-pad); }
.footer-brand { font-size: 12px; letter-spacing: .09em; }
.top-link { font-size: 13px; }

.project-dialog { background: #f8f8f6; color: var(--ink); margin: auto; padding: 0; border: 0; border-radius: 2px; width: min(920px, calc(100% - 64px)); max-width: none; max-height: calc(100dvh - 64px); overflow: auto; overscroll-behavior: contain; box-shadow: 0 30px 100px #0005; }
.project-dialog::backdrop { background: rgb(9 9 9 / 68%); }
.project-dialog[open] { animation: sheet-in .36s var(--ease) both; }
.project-dialog[open]::backdrop { animation: fade-in .3s both; }
.project-dialog.leaving[open] { animation: sheet-out .19s ease-in both; }
.project-dialog.leaving[open]::backdrop { animation: fade-out .19s both; }
html.reading { overflow: hidden; }
html.reserve-scrollbar { scrollbar-gutter: stable; }
.reader-bar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 9px clamp(20px,5.5%,56px); background: #f8f8f6; border-bottom: 1px solid #d6d6d0; }
.reader-back { font-size: 14px; }
.reader-position { font-size: 12px; }
.reader-content { padding: clamp(30px,5.3%,58px); }
#project-title { font-size: clamp(32px, 3.4vw, 58px); font-weight: 550; line-height: 1.21; letter-spacing: -.045em; margin-top: 10px; overflow-wrap: anywhere; }
#project-title:focus { outline: none; }
.project-lead { font-size: clamp(16px,1.35vw,21px); color: #4d4d48; line-height: 1.8; margin-top: 18px; }
.case-cover:not(:empty), .case-body:not(:empty), .case-gallery:not(:empty) { margin-top: 29px; }
.case-cover img, .case-gallery img { width: 100%; height: auto; }
.case-cover img { aspect-ratio: auto 16/9; object-fit: contain; }
.case-body p { font-size: 16px; line-height: 1.95; max-width: 44em; }
.case-body p + p, .case-gallery figure + figure { margin-top: 16px; }
.case-gallery figcaption { font-size: 13px; color: #555550; padding-top: 8px; }
.case-links:empty { display: none; }
.next-project { margin-top: clamp(34px,5.5vw,68px); border-top: 1px solid #bababa; width: 100%; padding: 20px 0 4px; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-align: left; }
.next-project small { display: block; color: #575752; font-size: 12px; margin-bottom: 6px; }
.next-project strong { font-size: clamp(19px,1.8vw,28px); font-weight: 520; }
.next-project .arrow { --size: 24px; }

.watch-reveal { opacity: 0; transform: translateY(14px); transition: opacity .48s ease-out, transform .66s var(--enter); }
.watch-reveal.in-view { opacity: 1; transform: none; }
@keyframes signature-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sign-rise { from { transform: translateY(94%) rotate(2deg); } to { transform: translateY(0) rotate(0); } }
@keyframes photograph-travel { from { transform: scale(1.12) translateY(-3.4%); } to { transform: scale(1.12) translateY(3.4%); } }
@keyframes uncover-print { from { transform: translateX(0); } to { transform: translateX(102%); } }
@keyframes turn-spread { from { transform: translateX(15px) scale(.965); } to { transform: translateX(0) scale(1); } }
@keyframes record-turn { from { transform: rotate(-23deg); } to { transform: rotate(28deg); } }
@keyframes line-rise { from { clip-path: inset(0 0 100% 0); transform: translateY(.22em); } to { clip-path: inset(0); transform: translateY(0); } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes sheet-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(14px) scale(.995); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-label { animation: signature-in .56s var(--enter) both; }
  .hero-copy .signature { animation: sign-rise .78s var(--enter) .05s both; }
  .hero-intro { animation: signature-in .68s var(--enter) .16s both; }
  .watch-reveal.in-view:is(.section-heading,.life-aside,.writing-intro) h2 { animation: line-rise .7s var(--enter) both; }
  #story-excerpt.watch-reveal { transform: none; opacity: 1; }
  #story-excerpt.watch-reveal span { opacity: 0; transform: translateY(-8px); transition: opacity .46s ease-out, transform .62s var(--enter); }
  #story-excerpt.watch-reveal span:nth-child(2) { transition-delay: .08s; }
  #story-excerpt.watch-reveal span:nth-child(n+3) { transition-delay: .16s; }
  #story-excerpt.in-view span { opacity: 1; transform: none; }
}
@supports (animation-timeline: view()) {
  :root[data-motion="on"] .story-photo { view-timeline: --photo block; }
  :root[data-motion="on"] .story-photo img { animation: photograph-travel 1ms linear both; animation-timeline: --photo; }
  :root[data-motion="on"] .story-photo::after { content: ""; pointer-events: none; position: absolute; inset: -1px -7%; background: #171717; clip-path: polygon(5% 0,100% 0,100% 100%,0 100%); animation: uncover-print 1ms cubic-bezier(.4,0,.38,1) both; animation-timeline: --photo; animation-range: entry 0% entry 72%; }
  :root[data-motion="on"] .journey-page { view-timeline: --spread inline; }
  :root[data-motion="on"] .journey-plate img { animation: turn-spread 1ms linear both; animation-timeline: --spread; animation-range: entry 0% entry 100%; }
  :root[data-motion="on"] .life-inner { view-timeline: --vinyl block; }
  :root[data-motion="on"] .record { animation: record-turn 1ms linear both; animation-timeline: --vinyl; }
}
@media (hover: hover) {
  .topnav a:hover::after { transform: scaleX(1); }
  .hero-action:hover .action-disc { color: #101010; background: #eeeeea; border-color: #eeeeea; }
  .motion-control:is(:hover,:focus-visible)::before { opacity: .8; }
  .motion-control:hover .motion-orbit { transform: rotate(25deg); }
  .rail-controls button[aria-disabled="false"]:hover { background: #efefeb; color: #171717; }
  .work-preview:hover .is-active .print { transform: perspective(1100px) rotateX(2deg) rotateY(-3deg) rotateZ(-2deg) scale(1.035); }
  .text-link:hover, .top-link:hover, .reader-back:hover, .next-project:hover { text-decoration: underline; text-underline-offset: 5px; }
}
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  .works { padding-block: clamp(80px,8vw,145px) clamp(105px,10vw,185px); }
  .works .section-heading { align-items: center; margin-bottom: clamp(36px,4vw,80px); }
  .work-layout { position: relative; grid-template-columns: minmax(0,1fr) clamp(230px,23vw,390px); align-items: center; gap: clamp(30px,5vw,88px); }
  .work-list { grid-area: 1 / 1; border-top-color: #b8b8b1; }
  .work-list li { border-color: #c5c5bf; }
  .project-row { min-height: clamp(96px,8vw,157px); padding: clamp(16px,1.4vw,27px) 0; }
  .row-copy { transition: transform .42s var(--ease); }
  .row-name { color: #696963; font-weight: 600; font-size: clamp(29px,3.22vw,69px); line-height: 1.13; letter-spacing: -.065em; transition: color .28s; }
  .row-meta { color: #5a5a54; }
  .project-row.is-active .row-name { color: #11110f; }
  .project-row:is(:hover,:focus-visible) .row-copy { transform: translateX(8px); }
  .row-arrow { width: 39px; height: 39px; }
  .work-preview { grid-area: 1 / 2; z-index: 2; width: 100%; aspect-ratio: 1.44; background: #fbfbf8; border: 1px solid #cacac3; box-shadow: 0 13px 29px -15px #17171155; }
  .work-preview::after { content: ""; pointer-events: none; position: absolute; inset: 0; box-shadow: 0 22px 38px -17px #17171155; opacity: 0; transition: opacity .24s var(--ease); }
  .work-layout.is-tracking .work-preview { pointer-events: none; }
  .work-layout.is-tracking .work-preview::after { opacity: 1; }
  .preview-stack { inset: 8px 8px 36px; }
  .preview-frame, .preview-frame:nth-child(2n) { background: #dfdfd9; transition: opacity .32s var(--ease); }
  .print, .preview-frame.is-active .print, .work-preview:hover .is-active .print { width: 100%; height: 100%; display: grid; place-items: center; padding: 0; background: transparent; box-shadow: none; transform: none; }
  .print img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.055); transition: transform .55s var(--ease); }
  .preview-frame.is-active .print img { transform: scale(1); }
  .print.mark-only img { width: 35%; height: auto; }
  .preview-call { inset: auto 10px 0; height: 35px; padding: 0 3px; background: transparent; justify-content: space-between; font-size: 11px; }
}
@media (max-width: 1099px), (max-height: 540px), (hover: none) { .chapter-index { display: none; } }
@media (min-width: 1600px) { .hero-stage { column-gap: 3vw; } }
@media (max-width: 900px) {
  :root { --gutter: clamp(24px,5.1vw,48px); }
  .work-layout { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 26px; align-items: center; }
  .project-row { min-height: 84px; }
  .work-preview { aspect-ratio: 1.42; }
  .row-name { font-size: 19px; }
}
@media (max-width: 680px) {
  :root { --header-h: 62px; --gutter: clamp(20px,6vw,34px); }
  .brand { gap: 10px; }
  .brand-name { font-size: 12px; }
  .brand img { width: 21px; height: 21px; }
  .topbar-inner { grid-template-columns: auto 1fr auto; gap: clamp(5px,1.8vw,10px); }
  .topnav { justify-content: center; gap: clamp(1px,.9vw,7px); }
  .topnav a { min-width: 30px; justify-items: center; font-size: 13px; letter-spacing: 0; }
  .motion-control { width: 43px; padding-inline: 5px; }
  .motion-control::before { inset-block: 10px; }
  .motion-orbit { width: 15px; height: 15px; }
  .motion-symbol { height: 8px; width: 6px; border-inline-width: 1.5px; }
  .hero-inner { min-height: max(560px,94svh); }
  .hero-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: center; }
  .hero-copy { padding: clamp(32px, 5.8svh, 62px) 0 0; }
  .hero-label { font-size: 12px; gap: 10px; }
  #hero-name { margin-block: 20px 12px; }
  .signature { width: min(78vw, 360px); }
  .hero-intro { font-size: 17px; }
  .hero-art { width: 100%; max-width: 440px; justify-self: center; height: clamp(200px, 36svh, 330px); }
  .hero-foot { padding-bottom: 20px; }
  .hero-action { gap: 11px; }
  .action-disc { width: 36px; height: 36px; }
  .works { padding-block: 48px 58px; }
  .works.last-chapter { display: flex; align-items: center; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2, .writing-intro h2, .life-aside h2 { font-size: clamp(33px,8.7vw,40px); }
  .section-meta { font-size: 12px; }
  .work-layout { display: block; }
  .work-preview { display: none; }
  .project-row { min-height: clamp(95px,14.5svh,136px); padding-block: 16px; gap: 13px; }
  .row-thumb { display: block; width: clamp(59px, 18vw, 96px); aspect-ratio: 1.3; object-fit: cover; filter: grayscale(1); background: #c9c9c5; flex: none; }
  .row-thumb.is-mark { object-fit: contain; padding: 12px; background: #484845; }
  .row-copy { gap: 6px; }
  .row-name { font-size: 18px; }
  .row-meta { font-size: 11px; }
  .row-arrow { width: 26px; height: 26px; }
  .row-arrow .arrow { --size: 15px; }
  .about-inner { grid-template-columns: 1fr; min-height: auto; gap: 24px; padding-block: 34px 68px; }
  .about-margin { min-height: 116px; align-items: center; }
  .about-heading { font-size: 23px; letter-spacing: .12em; padding-top: 8px; }
  #art-about { top: -16%; left: auto; right: 4%; width: 46%; height: 136%; }
  .about-body p:first-child { font-size: 29px; }
  .about-main::before { inset: -22px calc(-1 * var(--gutter)) -24px; background: rgb(242 242 239 / 97%); mask-image: linear-gradient(to bottom,transparent,#000 20px calc(100% - 22px),transparent); }
  .journey, .writing, .life { padding-block: 52px; }
  .rail-controls { gap: 7px; }
  .rail-controls button { width: 35px; height: 35px; }
  .journey-rail { grid-auto-columns: 93%; gap: 10px; }
  .journey-page { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .journey-copy { padding: 26px 22px; }
  .journey-period { margin-bottom: 12px; }
  .journey-plate { padding: 19px; min-height: 168px; }
  .journey-plate img { width: auto; max-width: 100%; height: 112px; object-fit: contain; justify-self: center; }
  .journey-plate.wordmark img { height: auto; }
  .journey-plate figcaption { margin-top: 9px; }
  .writing-intro { grid-template-columns: 1fr; gap: 19px; }
  .literary-spread { grid-template-columns: 1fr; }
  .story-photo { aspect-ratio: 1.85; }
  .story-type { padding-block: 28px; gap: 17px; }
  .story-type blockquote { font-size: 19px; }
  .life-inner { grid-template-columns: 1fr; gap: 24px; }
  .life-aside { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
  .record { width: 85px; margin: 0; }
  .life-list > div { grid-template-columns: 52px 1fr; gap: 10px; }
  .project-dialog { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .reader-bar { padding: max(8px, env(safe-area-inset-top)) var(--gutter) 8px; }
  .reader-content { padding: 32px var(--gutter) max(38px,env(safe-area-inset-bottom)); }
}
@media (max-width: 400px) { .brand-name { display: none; } .brand { min-width: 29px; } }
@media (max-height: 540px) and (min-width: 681px) {
  .hero-inner { min-height: 420px; }
  .hero-art { height: 280px; }
  .hero-foot { padding-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) { scroll-behavior: auto; }
  :root:not([data-motion="on"]) *, :root:not([data-motion="on"]) *::before, :root:not([data-motion="on"]) *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
html[data-motion="off"] { scroll-behavior: auto; }
:root[data-motion="off"] *, :root[data-motion="off"] *::before, :root[data-motion="off"] *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
:root[data-motion="off"] :is(.watch-reveal,#story-excerpt.watch-reveal span) { opacity: 1; transform: none; }
