:root{color-scheme:light;--font-ui:"PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans SC",Arial,sans-serif}*{box-sizing:border-box}body,button,a,.line,.design_book_b,.design_book_sj{font-family:var(--font-ui)}body{color:#222}button{font:inherit;color:inherit;border:0;cursor:pointer}button,a{touch-action:manipulation}a{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid #444;outline-offset:5px}.top{height:146px;display:flex;align-items:flex-end;justify-content:space-between}.brand{display:flex;align-items:center;gap:16px;text-decoration:none;font-size:19px}.brand-mark{display:grid;place-items:center;width:76px;height:76px;background:#202222;color:white;border-radius:22px;font-size:37px}.brand small{display:block;font-size:10px;letter-spacing:2px;margin-top:5px;color:#666}.nav{display:flex;align-items:center;gap:32px;height:76px}.nav a,.nav button{height:48px;width:auto;display:inline-flex;align-items:center;gap:12px;background:none;font-size:14px;opacity:.7}.icon{width:20px;height:20px;display:inline-block;flex:0 0 20px;background:currentColor;mask:var(--i) center/contain no-repeat;-webkit-mask:var(--i) center/contain no-repeat;vertical-align:middle;pointer-events:none}.arrow{--i:url('/media/assets/icons/arrow-up-right.svg')}.close{--i:url('/media/assets/icons/close.svg')}.copy{--i:url('/media/assets/icons/copy.svg')}.slogan h1{font-weight:500}.line{display:block;font-weight:500;letter-spacing:-.065em;line-height:1.08}.home-intro{font-size:15px;line-height:1.8;color:#656663;margin-top:24px}.central{padding-top:20px}.design_book a,.about-portal{height:202px;width:100%;text-align:left;padding:30px;border-radius:20px;position:relative;display:block;overflow:hidden;background:#ffffff99;border:1px solid white;transition:transform .35s,background .35s,box-shadow .35s}.about-portal:hover{transform:translateY(-5px);background:#ffffffcc;box-shadow:0 10px 30px #0001}.design_book_b{font-size:38px;letter-spacing:-1px;font-weight:800}.design_book_s{font-size:14px}.design_book_sj{font-weight:700;letter-spacing:-1px}.design_book_sj .icon{width:34px;height:34px}.about-note{position:absolute;bottom:28px;left:32px;color:#777;font-size:13px}.cover-fan{position:absolute;right:95px;bottom:-30px;width:160px;height:155px;pointer-events:none}.cover-fan img{position:absolute;width:66px;height:142px;object-fit:cover;object-position:top;border:3px solid #333;border-radius:10px;box-shadow:0 8px 15px #0003;transition:transform .4s}.cover-fan img:nth-child(1){left:5px;transform:rotate(-15deg)}.cover-fan img:nth-child(2){left:50px;bottom:15px;transform:rotate(0)}.cover-fan img:nth-child(3){left:95px;transform:rotate(15deg)}.design_book a:hover .cover-fan img{transform:translateY(-12px) rotate(0)}.contact-strip{width:92%;max-width:2000px;margin:0 auto;padding:60px 0 38px;display:flex;align-items:center;gap:20px;font-size:14px}.contact-pill,.wechat-copy{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:54px;padding:10px 24px;border-radius:30px;background:#ffffff80}.contact-pill{padding-left:10px;border:1px solid white}.mini-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#e1e3de;font-size:22px}.contact-strip>a{margin-left:auto;display:flex;align-items:center;gap:12px;text-decoration:none;min-height:48px}.contact-strip [role=status]{font-size:12px;color:#666}.home-footer{width:92%;max-width:2000px;margin:0 auto;padding:16px 0 28px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#666;font-size:12px}.home-footer>div{display:flex;align-items:center;gap:24px}.home-footer a,.home-footer button{display:inline-flex;align-items:center;min-height:44px;background:none;text-decoration:none}.circle1,.circle2,.circle3,.circle4,.zhezhao{pointer-events:none}#about-dialog{width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid white;border-radius:26px;padding:44px;background:#f5f5f2;color:#222;box-shadow:0 30px 100px #0003;margin:auto}#about-dialog::backdrop{background:#20222250;backdrop-filter:blur(12px)}.about-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:48px;height:48px;background:#e4e5e1;border-radius:50%}.about-kicker{font-size:11px;letter-spacing:2px;color:#777}#about-title{font-size:30px;font-weight:500;margin:24px 0 20px}#about-dialog p{line-height:1.9;font-size:15px;color:#666}.about-works{display:flex;align-items:center;justify-content:space-between;padding:16px 0;text-decoration:none;border-bottom:1px solid #ccc;margin-top:20px}.about-contact{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-top:26px;font-size:13px;color:#666}.about-contact button{background:#e5e7e1;color:#222}.skip-home{position:fixed;top:-100px;left:10px}.skip-home:focus{top:10px;z-index:100;background:white;padding:12px}
@media(max-width:768px){.top{position:relative;left:auto;top:auto;transform:none;width:88%;height:auto;padding-top:30px;align-items:center}.brand-mark{width:48px;height:48px;border-radius:15px;font-size:26px}.brand{font-size:16px;gap:12px}.brand small{font-size:9px;letter-spacing:1px}.nav{height:48px;gap:12px}.nav a,.nav button{font-size:12px}.nav a{display:none}.slogan{position:relative;top:auto;left:auto;transform:none;width:88%;padding:42px 0 30px;margin:auto}.line{font-size:17vw;line-height:1.12;letter-spacing:-.065em}.home-intro{font-size:13px;margin-top:22px;max-width:24em}.central{position:relative;bottom:auto;left:auto;transform:none;width:88%;height:auto;padding:0;grid-template-columns:1fr;gap:16px}.design_book a,.about-portal{height:164px;padding:24px;border-radius:18px}.design_book_b{font-size:30px;line-height:1.2}.design_book_s{font-size:13px;line-height:2}.design_book_sj{right:22px;bottom:20px;font-size:30px}.cover-fan{right:60px;bottom:-40px;transform:scale(.85);transform-origin:bottom right}.about-note{left:24px;bottom:24px}.contact-strip{width:88%;padding:28px 0 12px;flex-wrap:wrap;gap:12px;font-size:12px}.contact-strip>a{margin-left:0}.contact-pill,.wechat-copy{padding:10px 16px;min-height:48px}.home-footer{width:88%;flex-wrap:wrap;gap:4px;padding-top:12px}.home-footer>div{gap:15px;flex-wrap:wrap}.home-footer>div>span{width:100%;order:3}.home-footer>a{min-height:44px}.cover-fan img{width:58px}#about-dialog{padding:40px 24px}.about-close{top:8px;right:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.char{opacity:1;filter:none}}
.about-portal{align-content:start}.cover-fan{z-index:0}.design_book_b,.design_book_s{position:relative;z-index:1}
@media(max-width:768px){.cover-fan{transform:scale(.65);right:65px;bottom:-24px}.design_book_s{max-width:100%;display:inline-block}}

.brand-mark img{display:block;width:100%;height:100%;border-radius:inherit}
#home-work-count{font-variant-numeric:tabular-nums;pointer-events:none}

/* Use the same top-aligned layout for both portal controls. */
.design_book>a,.design_book>.about-portal{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0}
.design_book>a>br,.design_book>.about-portal>br{display:none}
.design_book>a:hover,.design_book>.about-portal:hover{transform:translateY(-5px);background:#ffffffcc;box-shadow:0 10px 30px #0001}
@media(prefers-reduced-motion:reduce){.design_book>a:hover,.design_book>.about-portal:hover{transform:none}}

/* The headline stays readable without JavaScript or when motion is reduced. */
.slogan-char{display:inline-block;text-indent:0;opacity:1;filter:none}

/* Desktop landing page: size the composition to the available screen height. */
@media(min-width:769px){
 body{min-height:100svh;display:flex;flex-direction:column;padding:clamp(16px,2.5svh,28px) 0 12px}
 .top{height:60px;min-height:60px;padding-top:0;align-items:center;flex-shrink:0}
 .brand-mark{width:56px;height:56px;border-radius:17px}
 .nav{height:56px}
 .slogan{flex:1;padding:clamp(12px,2svh,24px) 0;display:flex;flex-direction:column;justify-content:center}
 .line{font-size:clamp(64px,min(12vw,16svh),190px);line-height:1.04}
 .home-intro{margin-top:12px;font-size:14px;line-height:1.7}
 .central{padding-top:0;flex-shrink:0}
 .design_book>a,.design_book>.about-portal{height:clamp(112px,17svh,156px);padding:22px 28px}
 .design_book_b{font-size:32px;line-height:1.15}
 .design_book_s{line-height:1.8}
 .design_book_sj{bottom:16px;font-size:32px}
 .contact-strip{padding:16px 0 8px;gap:16px;flex-shrink:0}
 .contact-pill,.contact-strip .wechat-copy{min-height:48px;padding:6px 18px}
 .contact-pill{padding-left:8px}
 .home-footer{padding:0;min-height:44px;flex-shrink:0}
}

.home-footer>.footer-copyright{display:flex;align-items:center;flex-wrap:wrap;gap:0 14px}
.home-footer>.footer-copyright>span{width:auto;order:0;white-space:nowrap}
.home-footer>.footer-copyright>a{white-space:nowrap;margin:0}

/* Contact pills use the same compact height as the theme switch. */
.contact-strip .contact-pill,.contact-strip .wechat-copy{height:30px;min-height:30px;padding:0 12px;gap:8px;font-size:12px;line-height:1}
.contact-strip .contact-pill{padding-left:4px}
.contact-strip .mini-mark{width:22px;height:22px;flex:0 0 22px}
.contact-strip .mini-mark svg{width:16px;height:16px}
.contact-strip .wechat-copy>.icon{width:14px;height:14px;flex:0 0 14px}

/* Align the home copyright and registration group to the right edge. */
.home-footer>.footer-copyright{margin-left:auto;justify-content:flex-end;text-align:right}

/* Contact controls and copyright share one bottom row whenever space permits. */
.home-bottom{width:92%;max-width:2000px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;padding:16px 0 8px;flex-shrink:0}
.home-bottom>.contact-strip{width:auto;max-width:none;margin:0;padding:0;flex:none}
.home-bottom>.home-footer{width:auto;max-width:none;margin:0 0 0 auto;padding:0;min-height:30px}
.home-bottom .home-footer a{min-height:30px}
@media(max-width:768px){.home-bottom{width:88%;padding:24px 0 20px}}

/* Supplied volumetric ray shader, confined to the dark home background. */
body.home-page{isolation:isolate}
#home-dark-background{display:none;position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse at 30% 100%,#252b27,#060707 75%)}
[data-theme=dark] #home-dark-background{display:block}
[data-theme=dark] .home-page :is(.circle1,.circle2,.circle3,.circle4,.zhezhao){display:none}

/* Bottom contact bar: avatar pill plus phone / WeChat / QQ pills. */
.phone{--i:url('/media/assets/icons/phone.svg')}
.wechat{--i:url('/media/assets/icons/wechat.svg')}
.qq{--i:url('/media/assets/icons/qq.svg')}
.contact-strip .mini-mark.avatar{overflow:hidden;background:none}
.contact-strip .mini-mark.avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.contact-strip a.contact-pill{text-decoration:none;color:inherit;transition:background .3s,box-shadow .3s}
.contact-strip a.contact-pill:hover,.contact-strip button.contact-pill:hover{background:#ffffffcc;box-shadow:0 6px 18px #0001}
.contact-strip .contact-pill .icon{width:15px;height:15px;flex:0 0 15px}
@media(max-width:768px){.contact-strip .contact-pill{font-variant-numeric:tabular-nums}}

/* Allow content beyond the mobile browser's visible viewport to remain reachable. */
body.home-page{overflow-x:hidden;overflow-y:auto;height:auto;min-height:100svh}
@media(max-width:768px){
 .home-page .home-bottom{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
 .home-page .home-bottom>.contact-strip{flex:0 1 100%;min-width:0;max-width:100%;flex-wrap:wrap}
 .home-page .home-bottom>.home-footer{max-width:100%;min-width:0}
 .home-page .home-footer>.footer-copyright{max-width:100%;flex-wrap:wrap}
}

@media(max-width:768px){
 .home-page .home-bottom{justify-content:flex-start}
 .home-page .home-bottom>.contact-strip{justify-content:flex-start}
 .home-page .home-bottom>.home-footer{width:100%;margin-left:0;justify-content:flex-start}
 .home-page .home-footer>.footer-copyright{margin-left:0;justify-content:flex-start;text-align:left}
}

@font-face{font-family:'Instrument Sans';src:url('/media/assets/fonts/instrument-sans-medium.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
.home-page #home-title .line{font-family:'Instrument Sans',sans-serif;font-size:clamp(72px,11vw,180px);font-weight:500;line-height:.88;letter-spacing:-.065em}
@media(max-width:768px){.home-page #home-title .line{font-size:clamp(48px,16.6vw,110px)}}
@media(min-width:769px) and (max-height:800px){.home-page #home-title .line{font-size:clamp(72px,min(11vw,16svh),180px)}}
