/* Shared editorial system — UI Fusion and Feiliu. */
:root {
 --paper:#f6f5f0;--ink:#252522;--muted:#62635c;--line:#d9d8cf;
 --yellow:#ffda32;--rail:#e7e6de;--media:#e9e8e0;--surface:#fffefa;
 --gutter:clamp(20px,4vw,80px);--radius:12px;--shadow:0 24px 54px -28px #24251e50;
 --ease:cubic-bezier(.22,1,.36,1);--title:clamp(48px,6.8vw,108px);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--ink);outline-offset:5px}[hidden]{display:none!important}
.skip{position:fixed;top:-80px;left:20px;z-index:50;padding:12px;background:var(--yellow);color:#222}.skip:focus{top:8px}
.scroll-track{height:1150svh}.exhibition,.feiliu-sticky{position:sticky;top:0;height:100svh;min-height:640px;display:flex;flex-direction:column;overflow:hidden}
.exhibition{padding:0 var(--gutter)}.topbar{height:84px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand{display:flex;gap:10px;align-items:center;font-size:21px;font-weight:750;letter-spacing:-.8px}.brand i{display:block;width:11px;height:19px;background:var(--yellow);transform:skewX(-14deg)}
.header-right{display:flex;align-items:center;gap:32px;font-size:12px}.header-right>span{color:var(--muted)}.header-right button{min-height:44px;padding:0;font-size:12px}
.project-switch{display:flex;gap:24px}.project-switch button{position:relative;color:var(--muted)}.project-switch button::after{content:'';position:absolute;bottom:4px;left:0;right:0;height:3px;background:var(--yellow);transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease)}.project-switch button[aria-pressed=true]{color:var(--ink)}.project-switch button[aria-pressed=true]::after{transform:scaleX(1)}
.exhibit-body{display:flex;flex-direction:column;min-height:0;flex:1;position:relative}.headlines{position:relative;height:clamp(130px,16svh,200px);flex-shrink:0}.headline{position:absolute;inset:0;display:flex;align-items:center;opacity:0;pointer-events:none;will-change:transform,opacity}.headline.active{pointer-events:auto}
h1{font-size:var(--title);font-weight:600;letter-spacing:-.055em;line-height:1.12;margin:0;white-space:nowrap;transform-origin:left center}h1 em{font-style:normal;background:linear-gradient(transparent 76%,var(--yellow) 76%,var(--yellow) 94%,transparent 94%);padding-right:.08em}
.showcase{flex:1;min-height:0;position:relative;padding-bottom:12px}.scene{position:absolute;inset:0 0 12px;opacity:0;pointer-events:none;will-change:transform,opacity}.scene.active{pointer-events:auto}
/* One visual language, three distinct image compositions. */
.cover-card{position:relative;display:block;width:100%;height:100%;padding:0;overflow:hidden;text-align:left;background:var(--media);isolation:isolate;border-radius:var(--radius)}
.cover-card::before{content:'';position:absolute;width:26%;height:100%;left:0;top:0;background:var(--yellow);clip-path:polygon(0 0,100% 0,70% 100%,0 100%);opacity:.8;z-index:-1}
.cover-card img{display:block;position:absolute;object-fit:contain;box-shadow:var(--shadow);transition:transform .65s var(--ease);background:var(--surface)}
.cover-card:focus-visible{outline-offset:-5px}.cover-card:hover .flow-screen{transform:translateY(-8px) rotate(-1deg)}
.cover-word{position:absolute;left:4%;top:7%;font-size:clamp(54px,8vw,126px);font-weight:750;letter-spacing:-.075em;line-height:.85;color:var(--ink);z-index:1;pointer-events:none}
.flow-dots{position:absolute;inset:0;background-image:radial-gradient(#777b683d .75px,transparent .75px);background-size:22px 22px}.flow-path{position:absolute;width:56%;height:90%;right:4%;top:2%;border:1px solid #93958240;border-radius:50%;transform:rotate(-16deg)}
.flow-screen{width:72%;height:auto;right:-3%;top:20%;border-radius:8px;transform:rotate(-2deg);border:1px solid #ced0c4}
.cover-detail{position:absolute;left:5%;bottom:11%;width:27%;height:37%;overflow:hidden;border:6px solid var(--surface);border-radius:8px;box-shadow:var(--shadow);transform:rotate(2deg);z-index:2;background:var(--surface)}.cover-detail img{width:245%;height:auto;max-width:none;left:-100%;top:-18%;box-shadow:none}
.watch{position:absolute;right:28px;bottom:24px;display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 20px;border-radius:28px;background:var(--ink);color:var(--paper);font-size:12px;z-index:4;transition:background .25s,transform .25s var(--ease)}.watch i{width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid var(--yellow)}.cover-card:hover .watch{transform:translateY(-3px);background:#414239}
.cover-fusion::before{width:35%;left:65%;clip-path:polygon(30% 0,100% 0,100% 100%,0 100%)}.cover-fusion .cover-word{top:auto;bottom:10%;left:4%;font-size:clamp(58px,9vw,145px)}.fusion-arc{position:absolute;inset:-30% 10%;border:1px solid #93958240;border-radius:50%;transform:rotate(-25deg)}
.fusion-card{height:auto;width:39%;max-height:88%;border-radius:8px;object-fit:contain!important;object-position:top}.fusion-one{left:20%;top:5%;transform:rotate(-3deg)}.fusion-two{right:6%;bottom:-10%;transform:rotate(3deg)}.cover-fusion:hover .fusion-one{transform:translateY(8px) rotate(-2deg)}.cover-fusion:hover .fusion-two{transform:translateY(-8px) rotate(2deg)}.fusion-cross{position:absolute;left:57%;top:45%;font-size:54px;font-weight:300;z-index:2;color:var(--ink)}
.cover-scope::before{width:28%;left:34%;clip-path:polygon(30% 0,100% 0,70% 100%,0 100%)}.cover-scope .cover-word{font-size:clamp(54px,8vw,128px);top:7%;left:4%}.scope-grid{position:absolute;inset:0;background-image:linear-gradient(#777b6812 1px,transparent 1px),linear-gradient(90deg,#777b6812 1px,transparent 1px);background-size:64px 64px}
.scope-source,.scope-output{width:36%;height:68%;border-radius:10px;object-fit:contain!important}.scope-source{left:8%;bottom:-12%;transform:rotate(-3deg)}.scope-output{right:7%;top:8%;transform:rotate(2deg)}.scope-arrow{position:absolute;left:47%;top:47%;font-size:70px;font-weight:300;z-index:2}.cover-scope:hover .scope-source{transform:translateY(-5px) rotate(-2deg)}.cover-scope:hover .scope-output{transform:translateY(-8px) rotate(1deg)}.replay-note{position:absolute;right:26px;top:22px;z-index:3;font-size:11px;color:var(--ink);background:var(--paper);padding:7px 10px;border-radius:4px}
/* In-place interaction explanation uses the same image scale and grid. */
.inline-logic{position:absolute;inset:0 0 12px;z-index:5;opacity:var(--logic-in,0);visibility:hidden;pointer-events:none}.inline-logic>.dialog-top,.inline-logic>.real-tabs,.inline-logic>.svg-controls,.inline-logic>.interaction-caption,.inline-logic>.interaction-note{display:none}[data-explaining=true] .inline-logic{visibility:visible}
.evolution-stage{height:100%;display:grid;grid-template-columns:1.65fr 1fr;gap:clamp(24px,4vw,64px);align-items:center}.interaction-stage{min-width:0;align-self:center;background:var(--media);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.interaction-stage svg{width:100%;height:auto;display:block;aspect-ratio:1040/460}
.evolution-thinking{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:16px 0}.evolution-thinking>span{font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:center}.evolution-thinking>span::before{content:'';width:7px;height:7px;background:var(--yellow)}.evolution-thinking h3{font-size:clamp(25px,2.5vw,40px);line-height:1.35;letter-spacing:-.045em;font-weight:550;margin:18px 0}.evolution-thinking p{font-size:14px;line-height:1.85;margin:0;max-width:31em}.evolution-thinking>div{font-size:12px;line-height:1.7;color:var(--muted);border-top:1px solid var(--line);padding-top:14px;margin-top:22px}.thinking-art{width:100%;max-height:155px;aspect-ratio:660/240;object-fit:contain;display:block;margin-top:24px;border-radius:8px}.thinking-art[data-revealed=false]{visibility:hidden}.thinking-art[data-revealed=true]{visibility:visible}
/* Shared navigation rhythm. */
.bottom-bar,.feiliu-scroll-nav{min-height:72px;flex-shrink:0;border-top:1px solid var(--line);display:flex;align-items:center;gap:32px}.bottom-bar{justify-content:space-between}.version-nav{display:flex;gap:36px}.version-nav button,.feiliu-scroll-nav button{position:relative;min-height:48px;padding:0;font-size:12px;color:var(--muted)}.version-nav button{display:flex;align-items:center;gap:10px}.version-nav small{font-size:10px}.version-nav button::after,.feiliu-scroll-nav button::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--yellow);transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease)}.version-nav [aria-current],.feiliu-scroll-nav [aria-current]{color:var(--ink)}.version-nav [aria-current]::after,.feiliu-scroll-nav [aria-current]::after{transform:scaleX(1)}.scroll-hint{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:18px}.scroll-hint i{font-style:normal;font-size:24px}.scroll-progress{height:2px;position:absolute;bottom:0;left:0;right:0;background:var(--rail)}.scroll-progress i{display:block;height:100%;background:var(--ink);transform-origin:left}
/* Full screenshot + task detail. The image itself remains unchanged. */
.feiliu-project{height:450svh;padding:0 var(--gutter)}.feiliu-story{display:flex;flex-direction:column;flex:1;min-height:0;padding-top:24px}.feiliu-story>h1{display:none}.feiliu-nodes{position:relative;flex:1;min-height:0}.feiliu-nodes figure{position:absolute;inset:0;display:grid;grid-template-columns:.8fr 1.2fr;gap:4vw;align-items:center;margin:0;min-width:0;will-change:opacity}
.feiliu-nodes figcaption{padding-bottom:10%;position:relative;z-index:3;pointer-events:none}.feiliu-nodes figcaption small{font-size:12px;letter-spacing:.08em;display:flex;align-items:center;gap:14px;color:var(--muted);margin-bottom:28px}.feiliu-nodes figcaption small::after{content:'';width:52px;height:2px;background:var(--yellow)}.feiliu-nodes h2{font-size:clamp(50px,7vw,108px);font-weight:550;line-height:1.1;letter-spacing:-.065em;margin:0 0 28px;white-space:nowrap}.feiliu-nodes figcaption p{font-size:15px;line-height:1.9;max-width:22em;margin:0;color:var(--muted)}
.node-media{position:relative;height:100%;min-height:0;isolation:isolate;will-change:transform,opacity}.node-media::before{content:'';position:absolute;inset:8% -10% 9% 13%;background:var(--media);border-radius:var(--radius);z-index:-1}.node-media::after{content:'';position:absolute;width:30%;height:22%;left:7%;top:18%;background:var(--yellow);z-index:-1;transform:rotate(-5deg);border-radius:4px}
.node-screen{position:absolute;right:7%;top:3%;height:91%;aspect-ratio:440/956;max-width:65%;padding:0;border:1px solid #deded4;border-radius:22px;background:#fffefa;overflow:hidden;box-shadow:var(--shadow);transform:rotate(2deg)}.node-screen img{width:100%;height:100%;display:block;object-fit:contain}
.node-detail{position:absolute;left:-2%;bottom:13%;width:56%;height:30%;overflow:hidden;background:#fffefa;border:7px solid #fffefa;border-radius:var(--radius);box-shadow:var(--shadow);z-index:2}.node-detail::after{content:'';position:absolute;inset:0;border:1px solid #2525220f;border-radius:5px;pointer-events:none}.node-detail img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 82%}
[data-composition=requirements] .node-screen{right:12%;transform:rotate(-2deg)}[data-composition=requirements] .node-detail{left:-5%;bottom:8%;height:38%;width:58%}
[data-composition=plan] .node-screen{right:5%;transform:rotate(1.5deg)}[data-composition=plan] .node-detail{height:34%;bottom:17%;left:-5%;width:62%}
[data-composition=edit] .node-screen{right:11%;transform:rotate(-1.5deg)}[data-composition=edit] .node-detail{bottom:17%;height:27%;left:-5%;width:65%}
[data-composition=requirements] .node-detail img{object-position:center 65%}[data-composition=plan] .node-detail img{object-position:center 48%}[data-composition=edit] .node-detail img{object-position:center 34%}
.feiliu-source{font-size:10px;line-height:1.5;color:var(--muted);margin:0 0 12px}
/* Dialogs and optional themes. */
dialog{width:min(500px,92vw);max-height:90svh;padding:24px 30px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);color:var(--ink)}dialog::backdrop{background:#151611b3;backdrop-filter:blur(8px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600}.dialog-top button{height:44px;width:44px;font-size:18px}dialog h2{font-size:34px;line-height:1.4;font-weight:500;letter-spacing:-1px}dialog p{font-size:14px;line-height:1.9}details{border-top:1px solid var(--line);margin-top:24px;padding-top:12px}summary{cursor:pointer;min-height:44px;font-size:12px;align-content:center}details p{font-size:12px;color:var(--muted)}.about-links{display:flex;gap:20px;font-size:12px;padding:12px 0}.style-switch{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.style-switch button{min-height:44px;padding:8px 16px;font-size:12px;border-radius:4px}.style-switch [aria-pressed=true]{background:var(--yellow);color:#252522}.media-dialog{width:min(1250px,94vw);padding:16px 22px}.media-dialog video{display:block;width:100%;max-height:76svh;background:var(--media);aspect-ratio:16/9;object-fit:contain}.film-note{font-size:11px!important;color:var(--muted);margin:10px 0 0}
body[data-theme=cinema]{--paper:#20211e;--ink:#f1f0e8;--muted:#b4b5aa;--line:#42433b;--rail:#34362e;--media:#34352f;--surface:#f6f5ef;--shadow:0 24px 54px -28px #000a}body[data-theme=cinema] .cover-word,body[data-theme=cinema] .fusion-cross,body[data-theme=cinema] .scope-arrow{color:#252522}body[data-theme=gallery]{--paper:#fff;--ink:#22231f;--muted:#62645a;--line:#e0e2d8;--media:#eeeee8}
@media(min-width:1600px){.topbar{height:92px}.bottom-bar,.feiliu-scroll-nav{min-height:84px}.evolution-thinking p{font-size:16px}.header-right,.header-right button,.version-nav button,.feiliu-scroll-nav button{font-size:14px}}
@media(max-height:760px) and (min-width:701px){.exhibition,.feiliu-sticky{min-height:520px}.topbar{height:64px}.headlines{height:112px}.bottom-bar,.feiliu-scroll-nav{min-height:60px}.thinking-art{max-height:108px;margin-top:14px}.evolution-thinking h3{font-size:26px;margin:10px 0}.evolution-thinking p{font-size:13px}.evolution-thinking>div{margin-top:12px;padding-top:10px}.feiliu-story{padding-top:16px}}
@media(max-width:900px){.header-right{gap:20px}.project-switch{gap:18px}.evolution-stage{grid-template-columns:1.45fr 1fr;gap:24px}.evolution-thinking h3{font-size:26px}.evolution-thinking p{font-size:13px}.feiliu-nodes figure{grid-template-columns:.8fr 1.2fr;gap:20px}.feiliu-nodes h2{font-size:7vw}.node-detail{left:-8%}.node-media::before{inset:10% -15% 9% 3%}}
@media(max-width:700px){
 :root{--gutter:20px;--title:clamp(37px,8.3vw,58px);--radius:10px}.exhibition,.feiliu-sticky{min-height:640px}.topbar{height:68px}.brand{font-size:18px;gap:8px}.brand i{height:16px;width:9px}.header-right{gap:14px}.header-right>span{display:none}.header-right button{font-size:11px}.project-switch{gap:14px}.headlines{height:118px}h1{white-space:normal;line-height:1.25}.headline h1 em{display:table}.showcase{padding-bottom:16px}.scene,.inline-logic{bottom:16px}.cover-word{font-size:15vw;left:6%;top:7%}.flow-screen{width:118%;right:-22%;top:29%;transform:rotate(-3deg)}.cover-detail{width:41%;height:28%;left:7%;bottom:14%;border-width:4px}.watch{bottom:16px;right:16px;padding:10px 16px;font-size:11px;min-height:44px}.cover-fusion .cover-word{font-size:17vw;bottom:15%;left:6%}.fusion-card{height:auto;width:68%;max-height:72%}.fusion-one{left:3%;top:8%}.fusion-two{width:60%;right:-5%;bottom:6%}.fusion-cross{font-size:38px;left:48%;top:43%}.cover-scope .cover-word{font-size:16vw;top:9%}.scope-source,.scope-output{width:58%;height:52%}.scope-source{left:-7%;bottom:9%}.scope-output{right:-6%;top:25%}.scope-arrow{font-size:45px;left:43%;top:56%}.replay-note{top:16px;right:16px;font-size:9px;padding:5px 8px}
 .evolution-stage{grid-template-columns:1fr;grid-template-rows:auto 1fr;gap:20px;align-content:start}.interaction-stage{width:100%;align-self:start;margin-top:8px}.evolution-thinking{padding:0;justify-content:flex-start}.evolution-thinking>span{font-size:11px}.evolution-thinking h3{font-size:25px;line-height:1.35;margin:12px 0}.evolution-thinking p{font-size:13px;line-height:1.7;max-width:none}.thinking-art{max-height:90px;object-position:left;margin-top:16px}.evolution-thinking>div{font-size:11px;margin-top:14px;padding-top:10px}.bottom-bar,.feiliu-scroll-nav{min-height:64px;gap:12px}.version-nav{width:100%;justify-content:space-between;gap:12px}.version-nav button{font-size:10px;gap:6px}.version-nav small{font-size:9px}.scroll-hint{display:none}
 .feiliu-story{padding-top:20px}.feiliu-nodes figure{grid-template-columns:1fr;grid-template-rows:120px 1fr;gap:12px}.feiliu-nodes figcaption{padding:0;align-self:start;display:grid;grid-template-columns:1fr;position:relative}.feiliu-nodes figcaption small{position:absolute;right:0;top:10px;margin:0;font-size:10px}.feiliu-nodes figcaption small::after{width:24px}.feiliu-nodes h2{font-size:42px;letter-spacing:-.05em;margin:0 0 12px}.feiliu-nodes figcaption p{font-size:12px;max-width:24em}.node-media{width:100%;height:100%}.node-media::before{inset:6% -10% 7% 16%}.node-media::after{left:9%;top:12%;width:30%;height:28%}.node-screen{right:7%;top:0;height:92%;max-width:61%;border-radius:14px}.node-detail{left:0;bottom:15%;width:49%;height:31%;border-width:5px}[data-composition=requirements] .node-detail{left:0;width:52%;height:38%;bottom:11%}[data-composition=plan] .node-detail{left:-2%;width:58%;bottom:16%}[data-composition=edit] .node-detail{left:-2%;width:58%;bottom:16%}.feiliu-scroll-nav{justify-content:space-between;gap:8px}.feiliu-scroll-nav button{font-size:10px}.feiliu-source{font-size:9px;margin-bottom:10px}.media-dialog{padding:10px 14px}.media-dialog video{aspect-ratio:1.5}.film-note{font-size:10px!important}dialog{padding:20px}
}
@media(max-width:380px){.brand{font-size:16px}.header-right{gap:10px}.project-switch{gap:10px}.header-right button{font-size:10px}.evolution-thinking h3{font-size:22px}.evolution-thinking p{font-size:12px}.thinking-art{max-height:72px}.feiliu-nodes h2{font-size:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.node-screen,.fusion-one,.fusion-two,.scope-source,.scope-output,.flow-screen,.cover-detail{transform:none!important}}
@media print{.scroll-track,.feiliu-project{height:auto}.exhibition,.feiliu-sticky{position:static;height:auto;overflow:visible}.headlines,.bottom-bar,.inline-logic,.feiliu-scroll-nav{display:none}.showcase{height:auto}.scene{position:relative;inset:auto;height:500px;opacity:1!important;transform:none!important;break-inside:avoid}.feiliu-nodes figure{position:relative;height:700px;opacity:1!important}.node-media{opacity:1!important;transform:none!important}.node-detail{opacity:1!important}}

/* Product-specific linework sits behind the original interface captures. */
.node-media::after{display:none}.feiliu-ornament{position:absolute;width:36%;height:auto;left:-9%;top:8%;z-index:-1;color:#9c8aa9;opacity:.8;transform:rotate(-9deg)}
@media(max-width:700px){.feiliu-ornament{width:38%;left:-3%;top:4%;transform:rotate(-8deg)}}

[data-ending=true] .scroll-hint{visibility:hidden}

/* Feiliu follows the same sequence as UI Fusion: interface, reasoning, connection. */
.feiliu-project{height:750svh}.feiliu-nodes figcaption{padding-bottom:0}.feiliu-nodes figcaption small{margin-bottom:22px}.feiliu-nodes h2{font-size:clamp(42px,5.5vw,84px);margin-bottom:24px}.node-narrative{max-width:27em}.node-story-phase{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.node-story-phase::before{content:'';width:7px;height:7px;background:var(--yellow)}.node-story-title{font-size:clamp(22px,2.2vw,32px);line-height:1.4;letter-spacing:-.035em;font-weight:550;text-wrap:balance;margin:16px 0}.feiliu-nodes .node-story-body{font-size:14px;line-height:1.85;max-width:none;color:var(--ink)}.node-story-note{font-size:12px;line-height:1.7;color:var(--muted);padding-top:14px;margin-top:22px;border-top:1px solid var(--line)}
@media(max-width:700px){.feiliu-nodes figure{grid-template-rows:290px 1fr;gap:12px}.feiliu-nodes h2{font-size:36px;margin-bottom:16px}.feiliu-nodes figcaption small{margin:0;top:5px}.node-story-phase{font-size:10px}.node-story-title{font-size:19px;line-height:1.35;margin:10px 0}.feiliu-nodes .node-story-body{font-size:12px;line-height:1.7}.node-story-note{font-size:10px;line-height:1.6;padding-top:10px;margin-top:12px}.node-narrative{max-width:none}}
@media(max-height:740px) and (max-width:700px){.feiliu-nodes figure{grid-template-rows:280px 1fr}.node-detail{display:none}}

/* Feiliu uses the same screenshot-to-vector explanation as UI Fusion. */
.feiliu-project{height:950svh}.feiliu-nodes figure{grid-template-columns:1.65fr 1fr;gap:clamp(24px,4vw,64px)}.feiliu-nodes figcaption{grid-column:2;grid-row:1;min-width:0}.feiliu-nodes .node-media{grid-column:1;grid-row:1}.node-capture{position:absolute;inset:0;will-change:opacity,transform}.node-media::before{opacity:calc(1 - var(--diagram-in,0))}.feiliu-diagram{position:absolute;inset:0;display:flex;align-items:center;visibility:hidden;opacity:0;pointer-events:none;will-change:opacity,transform}.feiliu-diagram svg{display:block;width:100%;height:auto;max-height:100%;aspect-ratio:1040/550;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:var(--media)}.feiliu-nodes h2{font-size:clamp(38px,4.8vw,72px)}.node-story-title{font-size:clamp(22px,2.2vw,32px)}
@media(max-width:700px){.feiliu-nodes figure{grid-template-columns:1fr;grid-template-rows:290px 1fr;gap:12px}.feiliu-nodes figcaption{grid-column:1;grid-row:1}.feiliu-nodes .node-media{grid-column:1;grid-row:2}.feiliu-nodes h2{font-size:36px}.feiliu-diagram{align-items:flex-start;padding-top:16px}.feiliu-diagram svg{max-height:none}.node-story-title{font-size:19px}}
@media(max-width:700px){.feiliu-diagram svg{aspect-ratio:1.15}}

.feiliu-story>h1{display:block;flex-shrink:0;font-size:clamp(40px,5.8vw,88px);line-height:1.2;margin:24px 0 20px;letter-spacing:-.055em}
@media(max-height:760px) and (min-width:701px){.feiliu-story>h1{font-size:48px;margin:14px 0 12px}}
@media(max-width:700px){.feiliu-story>h1{display:none}}

/* A final reading beat, separate from the last interaction demonstration. */
.scroll-track{height:1330svh}.feiliu-project{height:1130svh}.feiliu-story{position:relative}
.project-ending{position:absolute;inset:0 0 12px;z-index:20;display:flex;flex-direction:column;justify-content:center;gap:clamp(24px,4vh,44px);isolation:isolate;pointer-events:none}
.project-ending::before{content:'';position:absolute;inset:-8px -2px;z-index:-1;background:var(--paper);opacity:var(--ending-veil,0)}
.project-ending h2{font-size:clamp(38px,5.5vw,80px);line-height:1.22;letter-spacing:-.055em;font-weight:550;margin:0;text-wrap:balance}
.project-ending h2 em{font-style:normal;background:linear-gradient(transparent 79%,var(--yellow) 79%,var(--yellow) 94%,transparent 94%)}
.ending-journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,4vw,64px);position:relative;max-width:1100px}
.ending-journey::after{content:'';position:absolute;bottom:43px;left:0;right:0;height:1px;background:var(--line);transform:scaleX(var(--ending-line,0));transform-origin:left;z-index:-1}
.ending-step svg{display:block;width:100%;height:clamp(100px,17vh,180px);color:var(--muted);margin-bottom:18px;overflow:visible}
.ending-step span{display:block;font-size:11px;color:var(--muted);margin-bottom:12px;background:var(--paper);width:28px}
.ending-step h3{font-size:clamp(19px,2vw,28px);font-weight:500;letter-spacing:-.035em;margin:0}
.ending-takeaway{font-size:clamp(15px,1.7vw,23px);line-height:1.7;margin:0;padding-top:20px;border-top:1px solid var(--line);max-width:1100px}
#feiliu-ending{inset:0 0 100px}#feiliu-ending .ending-journey{grid-template-columns:repeat(4,minmax(0,1fr))}#feiliu-ending .ending-step svg{height:clamp(100px,18vh,190px)}
@media(max-width:700px){.project-ending{gap:28px}.project-ending h2{font-size:clamp(30px,7.7vw,48px)}.ending-journey{gap:16px}.ending-step svg{height:94px;margin-bottom:14px}.ending-step h3{font-size:17px}.ending-takeaway{font-size:14px;padding-top:16px}#feiliu-ending{inset:0 0 84px}#feiliu-ending .ending-journey{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px}#feiliu-ending .ending-step svg{height:100px}#feiliu-ending .ending-journey::after{display:none}}
@media(max-height:760px) and (min-width:701px){.project-ending{gap:22px}.project-ending h2{font-size:48px}.ending-step svg,#feiliu-ending .ending-step svg{height:110px}.ending-takeaway{padding-top:14px}}
@media print{.project-ending{display:none!important}}
/* Omit repeated takeaway rows when the core point is already in the copy. */
.node-story-note:empty,#thinking-tradeoff:empty{display:none}

/* Real, legible side-by-side evidence for the third case. */
.cover-scope{cursor:default}.cover-scope::before{display:none}.scope-case-title{position:absolute;left:5%;top:7%;font-size:clamp(18px,2vw,30px);font-weight:600;letter-spacing:-.03em}.cover-scope .scope-source,.cover-scope .scope-output{width:43%;height:60%;top:23%;bottom:auto;transform:none!important;object-fit:contain!important;border-radius:10px;box-shadow:none}.cover-scope .scope-source{left:5%;right:auto}.cover-scope .scope-output{left:auto;right:5%}.scope-before-label,.scope-after-label{position:absolute;top:85%;font-size:12px;color:var(--ink)}.scope-before-label{left:5%}.scope-after-label{left:52%}.scope-case-note{position:absolute;left:5%;bottom:3%;font-size:11px;color:var(--muted)}

/* Product case: offset original and result, with a smaller visual reference. */
.cover-scope-product::before{display:block;width:28%;left:auto;right:0;clip-path:polygon(28% 0,100% 0,100% 100%,0 100%)}
.cover-scope-product .cover-word{z-index:4;top:auto;bottom:5%;left:4%;font-size:clamp(46px,6.3vw,98px);line-height:.9;pointer-events:none}
.cover-scope-product .scope-source{width:39%;height:86%;top:4%;left:18%;right:auto;object-fit:contain!important;object-position:top;transform:rotate(-3deg)!important;border-radius:12px;filter:drop-shadow(0 12px 16px #6b4a3020)}
.cover-scope-product .scope-output{width:40%;height:104%;top:18%;right:8%;left:auto;object-fit:contain!important;object-position:top;transform:rotate(2deg)!important;border-radius:12px;z-index:3;filter:drop-shadow(0 12px 16px #6b4a3020)}
.cover-scope-product .scope-reference{position:absolute;width:13%;height:48%;left:4%;top:7%;object-fit:contain;transform:rotate(-5deg);border-radius:10px;z-index:2;filter:drop-shadow(0 6px 9px #6b4a3020)}
.cover-scope-product .scope-arrow{left:56%;top:43%;font-size:54px;z-index:4}
@media(max-width:700px){.cover-scope-product .cover-word{font-size:40px}.cover-scope-product .scope-arrow{font-size:32px}.cover-scope-product .scope-reference{width:15%;height:44%}.cover-scope-product .scope-source{left:20%;width:38%}.cover-scope-product .scope-output{right:5%;width:40%}}
