/* Lieflat collection: the same paper, colored cards and curved orbit. */
.hub-collection{height:210svh;padding:0;position:relative;z-index:2}.collection-stage{position:sticky;top:0;height:100svh;min-height:650px;padding-top:85px;overflow:hidden}.hub-collection .sequence-label{width:auto;max-width:none;margin:0 5% 28px;align-items:flex-end}.sequence-label h2{font-size:clamp(26px,3vw,42px);line-height:1.15;font-weight:450;letter-spacing:-1.5px;margin-top:14px}.sequence-label>span{font-size:11px}.collection-window{width:100%;overflow:hidden;padding:6px 0 18px}.hub-collection .motion-row{justify-content:flex-start;width:max-content;padding:0 5vw;gap:20px;will-change:transform;perspective:1200px}.hub-collection .motion-card{width:310px;height:440px;--card-r:30px}.skill-card .motion-face{padding:25px}.skill-card .motion-chip{font-size:14px;width:100%;border:0;padding:0;background:transparent}.skill-card .motion-chip>span{font-size:9px}.skill-card .original-art{max-height:212px;min-height:180px;margin:5px -8px}.skill-card .skill-art{height:212px;flex:1;min-height:170px;position:relative;margin:15px 0 8px}.skill-card .motion-card-foot h2{font-size:19px;line-height:1.2;letter-spacing:-.6px;min-height:46px}.skill-description{font-size:11px;line-height:1.6;opacity:.65;margin:9px 0 18px;min-height:36px}.skill-links{border-top:1px solid color-mix(in srgb,var(--theme) 15%,transparent);padding-top:14px;display:flex;flex-direction:column;gap:9px}.skill-detail{font-size:11px;display:flex;justify-content:space-between}.skill-detail:hover{text-decoration:underline}.skill-price{font-size:9px;opacity:.65;letter-spacing:.4px;width:fit-content}.skill-price:hover{opacity:1}.collection-bottom{margin:14px 5% 0;display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#8b9187}.collection-controls{display:flex;align-items:center;gap:14px}.collection-controls button{border:1px solid #ccd2c7;width:35px;height:35px;border-radius:50%;background:transparent;font-size:15px}.collection-controls button:hover{background:#e7ece1}.rail-count{font-size:9px;min-width:55px;text-align:center}.skill-card.tone{--theme:#79553f;--tint:#eadbca;--tint2:#f8f1e8}.skill-card.gongwen{--theme:#963b31;--tint:#eadbd5;--tint2:#f7eee9}.skill-card.video{--theme:#dbe8d1;--tint:#24322d;--tint2:#3f5047;--shadow:#182f2940}.skill-card .diagram-art{display:flex;align-items:center}.diagram-art img{width:calc(100% + 24px);margin-left:-12px;mix-blend-mode:multiply;border-radius:10px}.tone-art{display:flex;flex-direction:column;justify-content:center}.tone-art small{font-size:7px;letter-spacing:1.5px;opacity:.5;margin:9px 0}.tone-art s{font-size:14px;opacity:.4;text-decoration-color:#bb7655}.tone-art strong{font-family:var(--serif);font-weight:400;font-size:43px;line-height:.95;letter-spacing:-1.5px}.tone-art i{font-size:9px;font-style:normal;margin-top:14px;opacity:.6}.gongwen-art{display:flex;flex-direction:column;justify-content:center}.gongwen-art small{font-size:8px;letter-spacing:1.5px;opacity:.6}.gongwen-art strong{font-family:'Songti SC',serif;font-weight:500;font-size:48px;line-height:1.1;margin:15px 0 10px}.gongwen-art p{font-size:10px;margin-top:11px}.gongwen-art i{font-style:normal;font-size:9px;opacity:.5;margin-top:6px}.doc-rule{height:1px;background:currentColor;opacity:.4;width:100%}.film-frame{position:absolute;inset:18px 0 40px;border:1px solid #dbe8d134;border-radius:12px;padding:10px 14px;overflow:hidden;background:radial-gradient(ellipse at 90% 70%,#abc8a630,transparent 70%)}.film-frame strong{font-size:43px;font-weight:450;line-height:.9;letter-spacing:-2px;display:block;margin-top:22px}.film-frame em{color:#d9d3a6}.film-rec{font-size:6px;letter-spacing:1px;opacity:.65}.film-time{position:absolute;right:11px;bottom:11px;font-size:7px;font-family:monospace}.film-cross{position:absolute;right:25px;top:47px;font-size:50px;font-weight:300;opacity:.3;animation:film-spin 15s linear infinite}.film-timeline{position:absolute;left:0;right:0;bottom:6px;display:flex;gap:5px;height:22px}.film-timeline i{width:27%;background:#a6b79d33;border-radius:4px}.film-timeline i:nth-child(2){width:45%;background:#c3c29b45}.film-timeline b{position:absolute;top:-5px;bottom:-5px;width:1px;background:#eff9dc;animation:film-scan 4s linear infinite}@keyframes film-scan{from{left:0}to{left:100%}}@keyframes film-spin{to{transform:rotate(360deg)}}
.offer-art .skill-card{width:330px;height:440px}.offer-art .skill-links{display:none}.offer-art .skill-description{margin-bottom:0}.offer-art .motion-card-foot h2{min-height:0}.offer-art .motion-inner{height:100%}.offer-art .card-entrance{height:100%}.bundle-saving{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin:0 0 15px;opacity:.8}.bundle-saving b{font-weight:500;border:1px solid var(--plan-rule);border-radius:99px;padding:5px 9px}.bundle-saving s{margin-left:4px}.plans-panel{height:min(675px,94svh)}.plan-card{padding:24px 30px}.plan-price{margin:15px 0 10px}.plan-amount{font-size:clamp(90px,9.4vw,128px)}.plan-card li{padding:8px 0}.plans-heading{margin-bottom:20px}.plan-scope{font-size:9px;margin:10px 0 14px}.story-copy{font-size:clamp(25px,2.4vw,34px);max-width:720px}.story-title{font-family:var(--serif);font-size:clamp(50px,5vw,76px)}.story-ghost{font-family:var(--serif)}
html[lang=zh-CN] .tone-art strong{font-family:'Songti SC',serif;font-size:38px;line-height:1.1}html[lang=zh-CN] .skill-card .motion-card-foot h2{font-size:18px;line-height:1.4}html[lang=zh-CN] .story-copy{font-size:clamp(23px,2.2vw,31px)}
@media(min-width:1600px){.hub-collection .motion-card{width:360px;height:480px}.skill-card .skill-art{height:240px}.skill-card .original-art{max-height:240px}.collection-stage{padding-top:100px}}
@media(min-width:800px) and (max-height:690px){.collection-stage{min-height:0;padding-top:40px}.hub-collection .motion-card{height:400px;width:290px}.skill-card .skill-art,.skill-card .original-art{height:165px;min-height:140px;max-height:165px}.sequence-label h2{font-size:30px}.collection-bottom{margin-top:5px}.plans-panel{height:96svh}.plans-heading{margin-bottom:12px}.plan-card{padding:18px 25px}.plan-amount{font-size:95px}.bundle-saving{margin-bottom:10px}.plan-card li{padding:6px 0}.plans-note{margin-top:12px}}
@media(max-width:799px){.hub-collection{height:auto;padding:70px 0 65px}.collection-stage{position:relative;height:auto;min-height:0;padding:0;overflow:visible}.hub-collection .sequence-label{margin:0 6% 26px;display:block}.sequence-label h2{font-size:29px;letter-spacing:-1px;max-width:290px}.hub-collection .sequence-label>span{display:block;text-align:left;max-width:none;margin-top:14px}.collection-window{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:7px 0 20px}.hub-collection .motion-row{padding:0 6vw;overflow:visible;gap:16px}.hub-collection .motion-card{width:82vw;max-width:352px;height:455px;scroll-snap-align:center}.skill-card .skill-art{height:220px;min-height:190px}.skill-card .original-art{max-height:220px;min-height:190px}.skill-card .motion-face{padding:25px}.collection-bottom{margin:0 6%;align-items:flex-start;gap:15px;font-size:7px;line-height:1.7}.collection-bottom>span{max-width:170px}.collection-controls{gap:8px}.collection-controls button{width:30px;height:30px}.rail-count{display:none}.plans-panel{height:auto}.plan-card{padding:27px;min-height:495px}.plan-price{margin:20px 0 15px}.plan-amount{font-size:112px}.plan-dollar{font-size:37px}.plan-currency{font-size:7px;margin-left:8px}.plan-card li{padding:10px 0;font-size:11px}.bundle-saving{font-size:10px;margin-bottom:18px}.plan-scope{font-size:10px;margin:14px 0 20px}.story-copy{font-size:24px}.story-title{font-size:49px}}
@media(prefers-reduced-motion:reduce){.hub-collection{height:auto;padding:65px 0}.collection-stage{position:relative;height:auto;min-height:0;padding:0}.collection-window{overflow-x:auto}.hub-collection .motion-row{transform:none!important}.story-stage{min-height:0}.story-panel{min-height:500px}.offer-stage{min-height:0;padding:40px 0}.plans-panel{height:auto}.plan-card{min-height:500px}.film-cross,.film-timeline b{animation:none}}

.hub-collection{scroll-margin-top:-90px}

/* Simplified cards: name, visual, one sentence, two license prices. */
.skill-card .motion-chip{font-size:20px;font-weight:500;line-height:1.15;letter-spacing:-.45px;margin:0;min-height:24px}.skill-card .motion-chip a:hover{opacity:.7}
.skill-card .original-art{max-height:none;min-height:0;margin:16px -8px}.skill-card .skill-art{height:auto;max-height:none;min-height:0;margin:22px 0;flex:1}
.skill-card .skill-description{font-size:13px;line-height:1.5;opacity:.8;min-height:40px;margin:0 0 22px;letter-spacing:-.15px}
.skill-prices{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px}.skill-prices a{display:inline-flex;gap:7px;align-items:baseline;opacity:.8}.skill-prices strong{font-size:14px;font-weight:500}.skill-prices a:hover{opacity:1;text-decoration:underline;text-underline-offset:4px}
.skill-card .tone-art{gap:22px}.skill-card .tone-art strong{font-size:49px}.skill-card .tone-art s{font-size:13px}.skill-card .gongwen-art strong{font-size:62px;margin:0 0 18px}.skill-card .film-frame{inset:15px 0 40px}.skill-card .film-frame strong{margin-top:28px;font-size:48px}
.offer-art .skill-prices{display:none}.offer-art .skill-description{margin-bottom:0}
@media(min-width:1600px){.skill-card .motion-chip{font-size:22px}.skill-card .skill-description{font-size:14px}}
@media(min-width:800px) and (max-height:690px){.skill-card .skill-description{font-size:12px;margin-bottom:18px}.skill-card .skill-art{margin:15px 0}.skill-card .tone-art strong{font-size:42px}.skill-card .gongwen-art strong{font-size:53px}}
@media(max-width:799px){.skill-card .motion-chip{font-size:21px}.skill-card .skill-description{font-size:13px}.skill-prices{font-size:11px}.skill-prices strong{font-size:15px}}

/* Use full repository names and unmodified source covers. */
.skill-card .motion-chip{font-size:18px;letter-spacing:-.45px;overflow-wrap:normal;white-space:nowrap}
.skill-card .source-art{display:flex;align-items:center;justify-content:center;margin:22px -12px;overflow:visible}
.source-art img{width:100%;height:auto;max-height:100%;object-fit:contain;display:block;border-radius:6px}

@media(min-width:1600px){.skill-card .motion-chip{font-size:20px}}
@media(max-width:370px){.skill-card .motion-chip{font-size:16px}}

/* The original left panel only: 960 of 1600 pixels, at its natural 4:3 ratio. */
.tone-cover{width:100%;aspect-ratio:4/3;overflow:hidden;position:relative;border-radius:6px}
.source-art .tone-cover img{display:block;width:166.666667%;height:auto;max-width:none;max-height:none;border-radius:0;object-fit:initial}


.skill-card.dna{--theme:#574a70;--tint:#e4dfeb;--tint2:#f3f0f7;--shadow:#4c376818}

/* Drag the cards directly; vertical touch gestures still scroll the page. */
.collection-window{cursor:grab;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none}
.collection-window img{-webkit-user-drag:none}
.collection-window.is-dragging,.collection-window.is-dragging *{cursor:grabbing!important}
.collection-window.is-dragging{scroll-snap-type:none;scroll-behavior:auto}
@media(max-width:799px),(prefers-reduced-motion:reduce){.collection-window{touch-action:pan-x pan-y pinch-zoom}}

/* The collection rises over the orbit instead of meeting a hard divider. */
.orbit-hero .orbit-progress{display:none}
.orbit-hero{border:0}
.hero.orbit-hero{height:235svh}
@media(max-width:600px){.hero.orbit-hero{height:260svh}}
@media(prefers-reduced-motion:reduce){.hero.orbit-hero{height:100svh}}
.motion-sequence{margin-top:-55svh;z-index:2;border-radius:var(--collection-round,72px) var(--collection-round,72px) 0 0}
.hub-collection{border-radius:inherit;scroll-margin-top:0}
.collection-stage{border-radius:var(--collection-round,72px) var(--collection-round,72px) 0 0}
.hub-collection .sequence-label{margin-bottom:34px}
.hub-collection .sequence-label h2{margin:0;font-family:var(--sans);font-size:clamp(36px,4vw,58px);font-weight:450;letter-spacing:-2px;line-height:1.05;color:#333a34}
.hub-collection .card-entrance{transform-origin:50% 100%;will-change:transform,opacity}
@media(max-width:799px){.motion-sequence{margin-top:-32svh}.hub-collection{padding-top:46px}.hub-collection .sequence-label{margin-bottom:26px}.hub-collection .sequence-label h2{font-size:38px;letter-spacing:-1.6px}}
@media(prefers-reduced-motion:reduce){.motion-sequence{margin-top:0;border-radius:0}.collection-stage{border-radius:0}.hub-collection .card-entrance{will-change:auto}.hub-collection .sequence-label{transform:none!important;opacity:1!important}}

/* Give the reading interlude a practical role: choosing a license. */
.story-scroll{height:225svh}
.license-copy{font-size:clamp(24px,2.3vw,33px)}
.license-copy .read-line{margin-bottom:36px}
.license-label{display:block;font-family:var(--sans);font-size:11px;font-weight:500;letter-spacing:1.2px;line-height:1.5;margin-bottom:16px}
.license-price-link{display:inline-block;font-size:12px;letter-spacing:0;line-height:1.6;border-bottom:1px solid #88959066;padding-bottom:5px;color:#53645b}
.license-price-link:hover{color:#1b1e23}
@media(max-width:799px),(prefers-reduced-motion:reduce){.story-scroll{height:auto}}
@media(max-width:799px){.license-copy .read-line{margin-bottom:30px}.license-label{font-size:10px;letter-spacing:.8px}.license-price-link{font-size:12px}}

/* Four-digit bundle price remains inside the license card. */
.plan-pro-max .plan-amount{font-size:clamp(76px,8vw,110px);letter-spacing:-5px}
@media(max-width:799px){.plan-pro-max .plan-amount{font-size:84px;letter-spacing:-5px}}

/* Header: collection, GitHub, language, commercial licensing. */
header nav>a.nav-github{display:inline-flex;align-items:center;justify-content:center;width:32px;height:36px;flex:0 0 auto;border-radius:6px}
.nav-github svg{display:block}
header nav>a.nav-github:hover{background:#61705912;color:#283923}
header nav>a.nav-github:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:420px){header{padding-inline:4%}.brand{font-size:17px}.brand-symbol{font-size:23px;margin-right:0}header nav{gap:5px}header nav>a.nav-github{width:28px}.nav-github svg{width:19px;height:19px}.nav-buy{gap:6px;padding-inline:8px}}

/* Single and complete licenses share the same animated price template. */
.single-plan-picker{display:flex;align-items:center;justify-content:center;gap:12px;margin:15px 0 0}
.single-plan-picker label{font-size:11px;color:#74806c}
.single-plan-picker select{max-width:250px;border:1px solid #cbd4c2;border-radius:8px;background:#ffffff88;color:#34472d;padding:10px 34px 10px 14px;font:13px var(--sans);cursor:pointer}
.single-plan-picker select:focus-visible{outline:2px solid #344e72;outline-offset:3px}
#single-context{font-size:10px;line-height:1.5;color:#76816d;max-width:650px;margin:8px auto 0}#single-context:empty{display:none}
.single-plans .plans-panel{height:min(700px,94svh)}
.single-plans .plan-pro-max .plan-amount{font-size:clamp(90px,9.4vw,128px);letter-spacing:-.075em}
.plan-title h3{font-size:clamp(22px,2.2vw,28px);letter-spacing:-.6px}
.skill-prices{flex-wrap:wrap;gap:8px 10px}.skill-prices a{font-size:10px;gap:5px}
@media(max-width:799px){.single-plans .plans-panel{height:auto}.single-plan-picker{flex-direction:column;gap:8px}.single-plan-picker select{width:100%;max-width:300px}.single-plans .plan-pro-max .plan-amount{font-size:112px}.plan-title h3{font-size:27px}}

/* The project cards themselves open their detail pages; price links keep their own destinations. */
.hub-collection .skill-card{cursor:pointer}

