/* A gallery frames the projects; each work keeps its own identity. */
.hub-site{--gallery-ink:#19383c;--gallery-muted:#5d7376;--gallery-line:#d8e2e2;--gallery-accent:#2b6563;background:#fcfdfc;color:var(--gallery-ink)}
.gallery-site{--ink:var(--gallery-ink);--muted:var(--gallery-muted);--line:var(--gallery-line);--orange:var(--gallery-accent)}
.hub-site .container{width:min(1200px,calc(100% - 96px))}
.hub-site ::selection{background:#cfddd5}
.hub-site .hub-header{background:#fcfdfc;border-bottom:1px solid var(--gallery-line);position:relative}
.hub-site .hub-header>.container{min-height:88px;gap:24px;flex-wrap:nowrap}
.hub-site .hub-brand{font-size:24px;font-weight:600;letter-spacing:-.8px;gap:11px;color:var(--gallery-ink);flex-shrink:0}
.hub-brand>img{display:block;width:30px;height:30px}
.hub-byline{font-size:13px;color:var(--gallery-muted);padding-left:23px;border-left:1px solid var(--gallery-line)}
.hub-site .hub-header nav{font-size:14px;gap:32px;margin-left:auto;white-space:nowrap}
.hub-site .hub-header nav a{padding:9px 0;text-decoration:none}
.hub-site .hub-header nav a:hover,.hub-site .hub-header nav [aria-current]{color:var(--gallery-accent);text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:1px}
.hub-site .hub-contact{padding-left:0;border:0}
.hub-site .hub-eyebrow{font-family:Consolas,"SFMono-Regular",monospace;font-size:12px;font-weight:400;letter-spacing:.09em;color:var(--gallery-muted);line-height:1.6;margin:0 0 23px}
.eyebrow-rule{display:inline-block;width:25px;height:1px;background:var(--gallery-accent);vertical-align:middle;margin-right:12px}
.hub-site .hub-hero{display:grid;grid-template-columns:1.12fr 1fr;align-items:center;gap:12px;padding:65px 0 54px;border-bottom:1px solid var(--gallery-line);min-height:590px}
.hub-hero-copy{position:relative;z-index:1;padding-bottom:7px}
.hub-site .hub-hero h1{font-family:"Microsoft YaHei UI","PingFang SC",sans-serif;font-size:clamp(38px,4.1vw,60px);font-weight:500;letter-spacing:-2.2px;line-height:1.48;margin:0 0 25px;overflow-wrap:anywhere}
.hub-site .hub-intro{font-size:16px;line-height:1.95;color:var(--gallery-muted);max-width:470px;margin:0 0 30px}
.gallery-browse{display:inline-flex;align-items:center;justify-content:space-between;gap:54px;padding:11px 0;border-bottom:1px solid var(--gallery-accent);font-size:15px;color:var(--gallery-ink)}
.gallery-browse>span{font-size:21px;line-height:1;font-weight:300}
.gallery-browse:hover{text-decoration:none;color:#24665c}
.molecular-field{position:relative;align-self:center;min-width:0}
.molecular-field>img{width:100%;height:auto;display:block}
.molecular-field figcaption{display:flex;justify-content:space-between;gap:18px;font-size:12px;color:var(--gallery-muted);font-family:Consolas,"Microsoft YaHei UI",monospace;padding:2px 12px 0;letter-spacing:.05em}
.hub-site .hub-projects{padding:50px 0 72px;scroll-margin-top:24px}
.hub-site .hub-section-head{margin-bottom:29px;align-items:flex-end}
.hub-section-head .hub-eyebrow{margin-bottom:8px}
.hub-site .hub-section-head h2{font-size:27px;font-weight:500;letter-spacing:-.5px}
.hub-site .hub-text-link{display:inline-flex;gap:28px;align-items:center;color:var(--gallery-ink);font-size:14px;text-decoration:none;padding-bottom:4px;border-bottom:1px solid #a7bcba;line-height:1.6}
.link-symbol{font-size:18px;font-weight:400;line-height:1}
.hub-text-link:hover{border-color:var(--gallery-ink)}
.hub-site .projects-grid{gap:38px 44px}
.hub-site .project-card{border:0;padding:0;min-width:0}
.hub-site .project-cover{border:0;aspect-ratio:1.6;background:#eff3f0;margin:0 0 23px;position:relative;display:block;text-decoration:none}
.specimen-art{width:100%;height:100%;position:relative;overflow:hidden}
.specimen-tag{position:absolute;top:24px;left:27px;font:12px Consolas,monospace;letter-spacing:.12em}
.specimen-caption{position:absolute;left:27px;bottom:24px;font-size:14px}
.specimen-bioj{color:#8e492f;background:#f4f0eb;display:flex;align-items:center;justify-content:center;flex-direction:column}
.specimen-bioj .specimen-tag{color:#876c5e}
.specimen-logo{display:flex;align-items:center;gap:16px;font-size:45px;letter-spacing:-1px;font-weight:600;color:#38302c;margin-top:10px}
.specimen-logo img{width:60px;height:60px}
.workflow-motif{display:flex;align-items:center;margin-top:21px;opacity:.6}
.workflow-motif i{width:35px;height:19px;border:1px solid #a86a4c;background:#f8f4ee}
.workflow-motif b{width:44px;height:1px;background:#a86a4c}
.specimen-structure{background:#eaf0ed;color:#4a6862}
.specimen-structure>img{width:100%;height:100%;object-fit:contain;display:block}
.specimen-image{height:100%;background:#eef1f0;padding:22px}
.specimen-image img{height:100%;width:100%;object-fit:contain}
.project-cover .specimen-art>img,.project-cover .specimen-logo{transition:transform .35s ease}
.project-card:hover .project-cover .specimen-art>img,.project-card:hover .specimen-logo{transform:scale(1.025)}
.hub-site .project-card-meta{font-size:13px;line-height:1.6;color:var(--gallery-muted);gap:15px}
.hub-site .project-card h3{font-size:28px;font-weight:500;letter-spacing:-.6px;margin:12px 0 8px}
.hub-site .project-card>p{font-size:16px;color:var(--gallery-muted);line-height:1.9;min-height:61px;margin-bottom:20px;max-width:520px}
.hub-site .hub-about-strip{border-top:1px solid var(--gallery-line);padding:37px 0 54px;display:grid;grid-template-columns:.8fr 1.8fr auto;gap:25px;align-items:start}
.hub-about-strip>.hub-eyebrow{margin-top:10px}
.hub-site .hub-about-strip h2{font-size:28px;font-weight:500;margin:0 0 13px;line-height:1.6}
.hub-site .hub-about-strip p{font-size:15px;color:var(--gallery-muted);margin:0}
.hub-about-strip>.hub-text-link{margin-top:10px}
.hub-site .hub-footer{padding:31px 0;border-top:1px solid var(--gallery-line);background:#f3f6f4;color:var(--gallery-ink)}
.hub-site .hub-footer>.container{gap:20px 36px;justify-content:space-between;align-items:center}
.hub-footer .hub-brand{font-size:20px;gap:9px}.hub-footer .hub-brand img{width:25px;height:25px}
.footer-signature{display:flex;align-items:center;gap:22px}.footer-signature>span{font-size:12px;color:var(--gallery-muted)}
.hub-footer p{font-size:13px;color:var(--gallery-muted)}
.hub-site .hub-footer>.container>a:last-child{font-size:14px;color:var(--gallery-ink);margin-left:0}
.hub-site .hub-page-head{padding:65px 0 42px}.hub-site .hub-page-head .hub-eyebrow{margin-bottom:19px}
.hub-site .hub-page-head h1{font-size:46px;font-weight:500;letter-spacing:-1px;line-height:1.5;margin-bottom:17px}
.hub-site .hub-page-head p:not(.hub-eyebrow){color:var(--gallery-muted);font-size:17px;max-width:680px}
.hub-site .hub-project-list{padding-bottom:75px}
.hub-site .hub-breadcrumb{font-size:14px;color:var(--gallery-muted);padding-top:28px;display:flex;gap:15px;flex-wrap:wrap}
.hub-site .project-detail-intro{display:grid;grid-template-columns:1fr .9fr;align-items:center;gap:38px;min-height:330px}
.hub-site .hub-project-detail .hub-page-head{padding-top:30px}
.project-concept{background:#edf3ef;margin-top:24px}.project-concept img{display:block;width:100%;max-height:300px;object-fit:contain}
.project-concept figcaption{font-size:12px;color:#576f67;padding:0 22px 17px}
.gallery-site .hub-detail-image{background:#edf3ef;border-color:var(--gallery-line)}
.hub-site .hub-pending{background:#edf2ef;color:#516a65;font-size:14px;border-left:2px solid #729589}
.hub-site .hub-detail-body{margin-top:32px;padding-top:25px;border-top:1px solid var(--gallery-line)}
.hub-site .hub-about-page{max-width:1050px;padding-bottom:75px}.hub-site .hub-about-page .hub-page-head{padding-bottom:37px}
.hub-site .hub-about-page h1{font-size:72px;letter-spacing:-3px}.about-period{color:#6b9182}
.hub-about-layout{display:grid;grid-template-columns:1.7fr 1fr;gap:100px;align-items:start}
.hub-site .hub-about-copy{font-size:17px;color:var(--gallery-muted);line-height:2}.hub-site .hub-about-copy p{color:var(--gallery-muted);margin-bottom:20px}
.about-note{border-left:1px solid var(--gallery-line);padding-left:30px}.about-note .hub-eyebrow{margin-bottom:13px}.about-note p{font-size:16px;color:#496460;line-height:2.15}
.hub-site .hub-about-contact{border-color:var(--gallery-line);padding-top:28px;margin-top:45px}
.hub-site .hub-about-contact h2{font-size:24px;font-weight:500;margin-bottom:10px}.hub-site .hub-about-contact p{color:var(--gallery-muted);margin-bottom:20px}.hub-site .hub-about-contact a{color:var(--gallery-ink)}
.work-site{background:#fff;color:#292929}
.hub-site .work-header>.container{min-height:76px;gap:21px}.work-header .hub-brand{font-size:21px;gap:8px}.work-header .hub-brand>img{width:26px;height:26px}
.work-identity{padding-left:21px;border-left:1px solid var(--gallery-line);flex-shrink:0}.project-wordmark{font-size:19px;color:#292929;gap:9px}
.hub-site .work-header .work-nav{font-size:14px;gap:22px;margin-left:auto;min-width:0}
.hub-site .work-header .work-nav [aria-current]{color:#9c4426;text-decoration-color:#c3522c}
.work-return{border-left:1px solid var(--gallery-line);padding-left:19px;white-space:nowrap;color:var(--gallery-muted);font-size:13px}
.work-site .hub-footer{margin-top:0}.work-site .page-head{padding-top:38px}
@media(max-width:1100px){.hub-site .container{width:calc(100% - 64px)}.hub-byline{display:none}.hub-site .work-header>.container{gap:15px}.hub-site .work-header .work-nav{gap:16px}.work-return{display:none}.hub-site .hub-hero{min-height:530px}.hub-site .hub-about-strip{grid-template-columns:.7fr 1.6fr auto}.footer-signature>span{display:none}.hub-about-layout{gap:50px}}
@media(max-width:850px){.hub-site .work-header>.container{flex-wrap:wrap;padding:18px 0 0;gap:17px;min-height:0}.hub-site .work-header .work-nav{width:100%;order:3;margin:0;justify-content:space-between;gap:15px;overflow-x:auto;padding:0 0 13px}.hub-site .work-header .work-nav a{padding:0;min-height:30px;display:flex;align-items:center}.work-return{display:block;margin-left:auto;border:0;padding:0}.hub-site .hub-hero{padding-top:45px;min-height:450px}.hub-site .hub-hero h1{font-size:39px;letter-spacing:-1.5px}.molecular-field figcaption>span:last-child{display:none}.hub-site .hub-section-head h2{font-size:25px}.specimen-logo{font-size:36px}.specimen-logo img{width:48px;height:48px}.specimen-tag{top:19px;left:20px;font-size:11px}.specimen-caption{bottom:19px;left:20px;font-size:13px}.hub-site .hub-about-strip{grid-template-columns:1fr auto}.hub-about-strip>.hub-eyebrow{grid-column:1/-1;margin:0}.hub-site .hub-footer>.container{flex-wrap:wrap}.hub-footer p{display:none}}
@media(max-width:620px){.hub-site .container{width:calc(100% - 40px)}.hub-site .hub-header>.container{min-height:76px;gap:17px;padding:0;flex-wrap:nowrap}.hub-site .hub-brand{font-size:22px;gap:9px}.hub-brand>img{width:27px;height:27px}.hub-site .hub-header .gallery-nav{font-size:14px;gap:22px}.hub-site .hub-contact{display:none}.hub-site .hub-hero{display:flex;flex-direction:column;gap:0;align-items:stretch;min-height:0;padding:43px 0 30px}.hub-site .hub-hero .hub-eyebrow{font-size:11px;letter-spacing:.065em;white-space:normal;margin-bottom:24px}.eyebrow-rule{width:18px;margin-right:9px}.hub-site .hub-hero h1{font-size:clamp(32px,8.9vw,45px);line-height:1.45;letter-spacing:-1.5px;margin-bottom:21px}.hub-site .hub-intro{font-size:16px;line-height:1.95;margin-bottom:22px}.gallery-browse{padding-bottom:9px;gap:45px}.molecular-field{align-self:center;width:100%;max-width:430px;margin-top:12px}.molecular-field>img{max-height:310px;object-fit:contain}.molecular-field figcaption{font-size:11px;padding-top:0}.molecular-field figcaption>span:last-child{display:block}.hub-site .hub-projects{padding:31px 0 43px}.hub-site .hub-section-head{margin-bottom:23px;gap:14px}.hub-section-head .hub-eyebrow{font-size:11px;letter-spacing:.05em;margin-bottom:5px}.hub-site .hub-section-head h2{font-size:24px}.hub-site .hub-text-link{font-size:14px;gap:16px}.hub-section-head>.hub-text-link{font-size:13px}.hub-site .projects-grid{grid-template-columns:minmax(0,1fr);gap:36px}.hub-site .project-card+.project-card{border-top:1px solid var(--gallery-line);padding-top:28px}.hub-site .project-cover{aspect-ratio:1.52;margin-bottom:19px}.specimen-tag{font-size:12px;top:22px;left:23px}.specimen-caption{font-size:14px;bottom:22px;left:23px}.specimen-logo{font-size:40px}.specimen-logo img{width:54px;height:54px}.hub-site .project-card h3{font-size:27px;margin-top:11px}.hub-site .project-card>p{min-height:0;font-size:16px;margin-bottom:17px}.hub-site .hub-about-strip{display:block;padding:29px 0 37px}.hub-about-strip>.hub-eyebrow{display:block;margin:0 0 18px}.hub-site .hub-about-strip h2{font-size:25px}.hub-about-strip>.hub-text-link{margin-top:23px}.hub-site .hub-footer{padding:24px 0}.hub-site .hub-footer>.container{display:flex;gap:18px}.footer-signature>span{display:none}.hub-site .hub-footer>.container>a:last-child{width:auto;margin-left:0;font-size:13px}.hub-site .hub-page-head{padding:42px 0 30px}.hub-site .hub-page-head h1{font-size:35px;line-height:1.5}.hub-site .hub-page-head p:not(.hub-eyebrow){font-size:16px}.hub-site .hub-project-list{padding-bottom:43px}.hub-site .project-detail-intro{display:block;min-height:0}.project-concept{margin-top:0}.project-concept img{max-height:260px}.hub-site .hub-about-page h1{font-size:60px}.hub-about-layout{display:block}.about-note{margin-top:28px}.hub-site .hub-about-copy{font-size:16px}.hub-site .hub-about-contact{margin-top:31px}.hub-site .work-header>.container{padding:15px 0 0;flex-wrap:wrap;gap:15px}.work-header .hub-brand{font-size:20px}.work-identity{padding-left:15px}.hub-site .work-header .work-nav{font-size:14px;gap:19px;justify-content:flex-start}.work-return{display:none}.hub-site .work-header .hub-brand>img{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.project-cover .specimen-art>img,.project-cover .specimen-logo{transition:none}}

/* Restrained motion belongs to the gallery, not to the BioJ application pages. */
.gallery-site .molecular-field>img{transform:translate3d(var(--field-x,0px),var(--field-y,0px),0) rotate(var(--field-angle,0deg));transition:transform .9s cubic-bezier(.22,1,.36,1)}
.field-point{position:absolute;z-index:1;width:5px;height:5px;border-radius:50%;background:#648b76;pointer-events:none;animation:field-pulse 5s ease-in-out infinite}
.field-point-a{left:33%;top:39%}.field-point-b{right:24%;top:23%;animation-delay:-2.5s}
@keyframes field-pulse{0%,100%{opacity:.4;box-shadow:0 0 0 0 #6c967500}50%{opacity:.85;box-shadow:0 0 0 6px #6c967512}}
.gallery-site .project-card .project-cover{transition:box-shadow .3s ease,transform .35s ease}
.gallery-site .project-card:is(:hover,:focus-within) .project-cover{transform:translateY(-3px);box-shadow:0 9px 24px -16px #214c4145}
.gallery-site .hub-text-link .link-symbol,.gallery-site .gallery-browse>span{transition:transform .3s ease}
.gallery-site .hub-text-link:hover .link-symbol,.gallery-site .gallery-browse:hover>span{transform:rotate(90deg)}
@media(prefers-reduced-motion:reduce){.gallery-site .molecular-field>img,.gallery-site .project-card .project-cover,.gallery-site .hub-text-link .link-symbol,.gallery-site .gallery-browse>span{transition:none!important;transform:none!important}.field-point{animation:none;opacity:.6}}
