﻿:root{--red:#760b20;--red2:#a71934;--blue:#3888bd;--teal:#159a94;--ink:#252525;--muted:#72777d;--paper:#f5f6f8}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:"Microsoft YaHei","Noto Sans SC",Arial,sans-serif;background:#fff}
button,input,textarea{font:inherit}
button,a{cursor:pointer}
#header{position:absolute;z-index:30;top:0;left:0;right:0;height:90px;display:flex;align-items:center;padding:0 max(5vw,36px);color:#fff;background:linear-gradient(180deg,#240108b8,transparent);transition:.25s}
#header.scrolled{position:fixed;height:70px;background:#670a1c;box-shadow:0 3px 15px #39040e55}
#header.scrolled .school-logo{height:44px}
.brand{display:flex;align-items:center;color:#fff;text-decoration:none;min-width:400px}
.school-logo{display:block;width:auto;height:52px;flex:0 0 auto;object-fit:contain}
.school{font-family:serif;font-size:26px;font-weight:bold;letter-spacing:2px}
.brand-rule{height:42px;border-left:1px solid #ffffff70;margin:0 18px}
.brand b{display:block;font-size:20px;letter-spacing:1px}
.brand small{display:block;font-size:13px;font-weight:600;opacity:.9;margin-top:4px;letter-spacing:.6px;white-space:nowrap}
#nav{display:flex;align-items:center;gap:26px;margin-left:auto}
#nav a{color:#fff;text-decoration:none;font-weight:600;font-size:15px;white-space:nowrap}
.divide{height:19px;border-left:1px solid #ffffff66;margin-left:22px}
.plain-btn{border:0;background:none;color:#fff;padding:7px;font-weight:600;white-space:nowrap}
.login-btn{border:1px solid #ffffff65;border-radius:18px;margin-left:5px;padding:7px 12px}
#menuBtn{display:none;border:0;background:none;color:#fff;font-size:26px;margin-left:auto}
.hero{height:min(63vw,720px);min-height:560px;position:relative;overflow:hidden;background:#a71934;color:#fff}
.hero:before,.hero:after{content:"";position:absolute;width:330px;height:330px;border:40px solid #ffffff14;border-radius:50%;top:110px}
.hero:before{left:-185px}
.hero:after{right:-185px}
.seal{position:absolute;left:1.7%;top:22%;width:150px;height:150px;display:grid;place-items:center;border:2px solid #ffffff25;border-radius:50%;font:700 35px serif;color:#ffffff35;letter-spacing:4px}
.hero-paper{position:absolute;left:18%;right:18%;top:0;bottom:0;color:#1c4457;display:flex;align-items:center;justify-content:center;gap:6%;padding:90px 5% 40px;background:radial-gradient(circle at 35% 48%,#eaf8fbbd,transparent 32%),linear-gradient(90deg,#ffffff00 0,#ffffffdc 12%,#ffffffdc 88%,#ffffff00 100%)}
.hero-copy{position:relative;z-index:2;max-width:600px}
.hero-copy>p{color:#5592aa;letter-spacing:3px}
.hero h1{font-size:clamp(38px,4.7vw,68px);line-height:1.18;margin:20px 0;color:#164d66;letter-spacing:2px}
.hero-copy>div{font-size:17px;line-height:1.9;color:#607783}
.lab-visual{position:relative;width:280px;height:320px;flex:0 0 280px;display:grid;place-items:center}
.lab-visual img{display:block;width:340px;height:340px;max-width:none;object-fit:contain}
.hero-counter{position:absolute;z-index:3;right:4.5vw;bottom:36px;width:170px}
.hero-counter b{font-size:18px}
.hero-counter span{font-size:11px;margin-left:8px}
.hero-counter i{display:block;width:100%;height:1px;background:#ffffff80;margin:12px 0}
.hero-counter small{font-size:10px;letter-spacing:4px}
.home-about,.section-inner{padding:65px max(5vw,calc((100vw - 1140px)/2))}
.home-about{background:linear-gradient(#f5f6f8c7,#f5f6f8c7),url('/site-assets/jlu-about-bg.png') center 50%/cover no-repeat,#f5f6f8}
.section-title h2{font-size:38px;font-weight:500;margin:0 0 4px;letter-spacing:3px}
.section-title>span{color:#7b8388;letter-spacing:2px;font-size:14px}
.home-about>p{max-width:920px;margin:35px auto;text-align:center;font-size:17px;line-height:2;color:#5f676c}
.stats{display:grid;grid-template-columns:repeat(4,1fr);max-width:900px;margin:42px auto 0}
.stats div{text-align:center;border-right:1px solid #cdd3d6}
.stats div:last-child{border:0}
.stats b{display:block;color:#a61934;font-size:36px;font-weight:400}
.stats span{color:#777}
.content-section{scroll-margin-top:70px}
.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:40px}
.team{background:#fff}
.team .items{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:22px}
.team .item{background:#fff;border:1px solid #e0e4e6;padding:30px;box-shadow:0 8px 25px #162d370f}
.team .item:first-child{grid-row:span 2;border-top:4px solid #a71934;display:flow-root}
.team .item:first-child>img{float:left;width:165px;height:220px;max-height:none;margin:0 24px 14px 0;object-fit:cover;object-position:center top;box-shadow:0 6px 18px #162d3720}
.team .item:first-child h3{font-size:22px;font-weight:700}
.team .item:first-child .meta{font-size:16px;font-weight:700}
.team .item:first-child .body{text-align:justify;text-justify:inter-ideograph}
.team .item:nth-child(n+2){border-top:4px solid #3b8dbb}
.team .item:nth-child(n+2){display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:16px;align-items:start;min-height:226px}
.team .item:nth-child(n+2)>img{grid-column:2;grid-row:1;width:110px;height:166px;max-height:none;margin:26px 0 0;object-fit:cover;object-position:center top;border-radius:18px;box-shadow:0 6px 18px #162d3720}
.team .item:nth-child(n+2)>.item-info{grid-column:1;grid-row:1;min-width:0}
.team .item:nth-child(n+2) .body,.team .item:nth-child(n+2) .member-extra{color:#252525;font-size:13px;line-height:1.65;white-space:pre-line}
.team .member-label{font-weight:700}
.results{background:linear-gradient(112deg,var(--blue),var(--teal));color:#fff}
.results .section-title>span{color:#ffffffa8}
.results .items{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.results .item{background:#edf4f6;color:#252525;padding:24px 20px;min-height:215px;border-top:5px solid #a71934}
.products{background:#f5f6f8 url('/site-assets/news-bg.png') center/cover}
.products .items{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.products .item{background:#fff;padding:26px;box-shadow:0 9px 25px #24384016;border-bottom:3px solid #3b8dbb}
.contact{background:#fff}
.contact .items{background:linear-gradient(120deg,#7a0b20,#a91b38);color:#fff;padding:44px}
.item{position:relative}
.item h3{font-size:18px;line-height:1.55;margin:0 0 10px;font-weight:500}
.item .meta{color:#2785a6;font-size:13px;margin-bottom:13px}
.results .item .meta{color:#b01835}
.contact .item h3{font-size:27px}
.contact .item .meta{color:#f2b7c3}
.item .body{color:#616a6e;line-height:1.85;white-space:pre-line}
.contact .item .body{color:#fff}
.item img{width:100%;max-height:260px;object-fit:cover;margin-bottom:18px}
.admin-actions,.item-actions{display:flex;gap:7px}
.admin-actions button,.item-actions button,.admin-bar button{border:1px solid #3c88a7;background:#fff;color:#256c88;border-radius:18px;padding:6px 12px}
.item-actions{position:absolute;right:8px;top:8px}
.item-actions button{font-size:12px}
.item-actions .danger{color:#b2213e;border-color:#bd6173}
.sort-order{display:inline-block;margin:0 0 10px;padding:3px 9px;border-radius:12px;background:#f2e3e7;color:#760b20;font-size:12px;font-weight:700}
.results .sort-order{background:#ffffffdf;color:#760b20}
.empty{padding:35px;border:1px dashed #aaa;text-align:center}
footer{background:#630a1b;color:#fff}
.footer-inner{max-width:1140px;margin:auto;padding:52px 0;display:grid;grid-template-columns:2fr 1fr 1.4fr;gap:60px}
.footer-inner strong{font-size:21px}
.footer-inner h3{margin-top:0}
.footer-inner p{color:#ffffffb8;line-height:1.8}
.footer-inner a{display:block;color:#ffffffbd;text-decoration:none;margin:9px 0}
.copyright{text-align:center;border-top:1px solid #ffffff24;padding:17px;color:#ffffff91;font-size:13px}
.admin-bar{position:fixed;z-index:50;left:50%;bottom:18px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;background:#590919ee;color:#fff;padding:10px 14px 10px 20px;border-radius:28px;box-shadow:0 10px 30px #34010b55}
.admin-bar span{font-size:12px;color:#ffffffb5}
.hidden{display:none!important}
.modal{position:fixed;z-index:70;inset:0;background:#31010bb8;display:grid;place-items:center;padding:20px}
.modal-card{position:relative;width:min(680px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:8px;padding:28px}
.modal-close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:28px}
.field{display:block;margin:14px 0}
.field span{display:block;font-weight:600;margin-bottom:6px}
.field input,.field textarea{width:100%;padding:10px;border:1px solid #bdc7cb;border-radius:4px}
.field textarea{min-height:115px;resize:vertical}
.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.primary,.secondary{border-radius:20px;padding:9px 20px}
.primary{border:0;background:#760b20;color:#fff}
.secondary{border:1px solid #aaa;background:#fff}
.toast{position:fixed;z-index:80;right:20px;bottom:20px;background:#760b20;color:#fff;padding:12px 18px;border-radius:4px;opacity:0;transform:translateY(15px);transition:.2s}
.toast.show{opacity:1;transform:none}
@media(max-width:1400px){.brand{min-width:330px}
.school-logo{height:46px}
.school{font-size:22px}
.brand-rule{margin:0 12px}
.brand b{font-size:17px}
#nav{gap:16px}
#nav a{font-size:13px}
.divide{margin-left:12px}
.plain-btn{font-size:13px}
}
@media(max-width:1050px){.brand{min-width:320px}
.school-logo{height:44px}
.school{font-size:21px}
#nav{gap:16px}
#nav a{font-size:13px}
.hero-paper{gap:2%;padding-left:3%;padding-right:3%}
.lab-visual{transform:scale(.78)}
}
@media(max-width:820px){#header{height:72px;padding:0 20px}
.brand{min-width:0}
.school-logo{height:40px}
.school{font-size:20px}
.brand-rule{height:35px;margin:0 11px}
.brand b{font-size:16px}
.brand small{display:none}
#menuBtn{display:block}
#nav{display:none;position:absolute;top:72px;left:0;right:0;background:#720b20;padding:20px 28px;flex-direction:column;align-items:flex-start}
#nav.open{display:flex}
.divide{margin-left:8px}
.hero{min-height:550px;background:#a71934}
.hero-paper{left:8%;right:8%}
.lab-visual{position:absolute;opacity:.24;right:5%;transform:scale(.9)}
.hero-copy{max-width:620px}
.team .items{grid-template-columns:1fr 1fr}
.team .item:first-child{grid-column:1/-1}
.results .items{grid-template-columns:repeat(2,1fr)}
.products .items{grid-template-columns:repeat(2,1fr)}
.footer-inner{padding:42px 24px;grid-template-columns:1fr 1fr}
.footer-inner>div:first-child{grid-column:1/-1}
}

@media(max-width:560px){.school-logo{height:34px}
.school{font-size:17px}
.brand-rule{display:none}
.brand>span:last-child{margin-left:7px}
.plain-btn{font-size:12px}
.login-btn{padding:6px 8px}
.hero{height:620px}
.hero-copy>p{font-size:12px;letter-spacing:1px}
.hero h1{font-size:38px}
.hero-copy>div{font-size:15px}
.hero-counter{right:13px;width:100px}
.home-about,.section-inner{padding:48px 20px}
.section-title h2{font-size:30px}
.home-about>p{text-align:left}
.stats{grid-template-columns:repeat(2,1fr);gap:24px}
.stats div:nth-child(2){border:0}
.team .items,.results .items,.products .items{grid-template-columns:1fr}
.team .item:first-child{display:flow-root}
.team .item:first-child>img{float:left;width:min(42%,165px);height:auto;max-height:none;margin:0 18px 12px 0;object-fit:cover;background:none}
.contact .items{padding:28px}
.footer-inner{grid-template-columns:1fr;gap:25px}
.footer-inner>div:first-child{grid-column:auto}
.admin-bar{left:10px;right:10px;bottom:8px;transform:none;border-radius:8px;flex-wrap:wrap}
.admin-bar span{display:none}
}
