/* A · 水网成纹 — approved identity, restrained field ornaments. */
@font-face{font-family:"Duotian Book";src:url('../fonts/duotian-book.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Duotian Written";src:url('../fonts/duotian-written.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
:root{--serif:"Duotian Book","Songti SC","STSong",serif;--literary:"Duotian Written","Kaiti SC","STKaiti",var(--serif);--muted:#a2b4b3}
.brand-mark{width:38px;height:38px;color:var(--gold)}
.brand b{font-family:var(--serif);font-size:23px;font-weight:500;letter-spacing:2px}
.brand small{letter-spacing:1.5px;color:#9aafaf}
.topbar{border-bottom-color:rgba(187,208,210,.17)}
.project-emblem{width:48px;height:48px;flex:none;color:var(--gold);display:block}
.emblem-detail{stroke:var(--teal);opacity:.8}
.card-kicker .project-emblem{width:40px;height:40px;margin-right:2px}
.card-kicker{align-items:center;min-height:40px}
.project-heading-copy{display:flex;align-items:center;gap:20px;min-width:0}
.chapter-emblem{width:66px;height:66px;padding-right:15px;box-sizing:content-box;border-right:1px solid var(--line)}
.gallery-project-label{display:flex;align-items:center;gap:13px;margin-bottom:13px}
.gallery-project-label .project-emblem{width:43px;height:43px}
.hero-photo{filter:saturate(.84) brightness(.98)}
.hero-overlay{background:linear-gradient(90deg,#10262d 0%,rgba(16,38,45,.97) 19%,rgba(16,38,45,.76) 35%,rgba(16,38,45,.02) 75%),linear-gradient(0deg,rgba(7,25,31,.46),transparent 45%)}
.home-hero{border-color:rgba(203,220,219,.18)}
.hero-copy h1{font-family:var(--serif);font-size:42px;font-weight:500;line-height:1.5;letter-spacing:1px}
.hero-copy p{font-family:var(--literary);font-size:16px;line-height:1.9;color:#c8d2c9;margin:12px 0 17px}
.hero-tags{margin-top:13px}
.hero-credit,.cover-type{font-size:10px}
.geo-stamp{font-family:var(--literary);font-size:14px}
.geo-stamp small{font-size:11px;opacity:.8}
.course-intro{position:relative;isolation:isolate;padding:9px 0 13px;min-height:88px;overflow:hidden}
.course-intro:after{content:"";position:absolute;right:27%;top:-30px;width:240px;height:160px;background:url('water-fields.svg') center/contain no-repeat;opacity:.15;z-index:-1;pointer-events:none}
.course-intro h2{font-family:var(--serif);font-size:21px;letter-spacing:.4px;font-weight:500}
.project-card{background:#11272e;border-color:rgba(187,208,210,.17)}
.project-cover>img{filter:brightness(.87) saturate(.84)}
.project-card:hover{transform:translateY(-3px);border-color:rgba(217,188,127,.43)}
.project-card:hover .project-cover>img{transform:scale(1.025)}
.project-card-body,.gallery-copy{position:relative;isolation:isolate}
.project-card-body:after,.gallery-copy:after{content:"";position:absolute;width:105px;height:65px;right:9px;bottom:9px;background:url('field-corner.svg') right bottom/contain no-repeat;opacity:.18;z-index:-1;pointer-events:none}
.project-card h3{font-family:var(--serif);font-weight:500;font-size:27px;letter-spacing:1px}
.project-card-body>p{font-size:13px;color:#b5c3be}
.project-index{font-size:22px}
.project-ai{font-size:11px;color:#a6bbb4}
.chain-banner{position:relative;padding-bottom:30px}
.chain-banner:after{content:"";position:absolute;left:0;right:0;bottom:0;height:22px;background:url('field-divider.svg') center/480px 36px no-repeat;opacity:.36;pointer-events:none}
.project-side{position:relative;isolation:isolate}
.project-side:not(.right):after{content:"";position:absolute;right:0;bottom:0;width:110px;height:220px;background:url('water-margin.svg') right bottom/contain no-repeat;opacity:.10;z-index:-1;pointer-events:none}
.project-side h2{font-family:var(--literary);font-weight:400;font-size:24px;line-height:1.6;letter-spacing:.2px}
.project-side p{font-size:12px;line-height:1.95}
.project-heading h1,.work-title h1,.gallery-heading h1{font-family:var(--serif);font-weight:500}
.project-heading h1{font-size:31px;line-height:1.55}
.project-heading h1>span{font-family:var(--font);font-size:19px;letter-spacing:0}
.project-heading h1>span:before{content:"："}
.project-handoff{font-size:12px;line-height:1.9}
.task-card h3{font-family:var(--serif);font-weight:500;font-size:13px;line-height:1.7}
.task-card>small{font-size:11px}
.task-nav h2{font-family:var(--serif);font-weight:500}
.task-nav-item b{font-size:12px}
.task-nav>p,.back-link{font-size:11px}
.task-nav nav{scrollbar-width:thin;scrollbar-color:#536d70 transparent}
.task-nav nav::-webkit-scrollbar{height:4px}
.task-nav nav::-webkit-scrollbar-thumb{background:#536d70;border-radius:4px}
.nav-bottom{position:relative;padding-bottom:25px}
.nav-bottom:after{content:"";display:block;width:100%;height:24px;margin-top:15px;background:url('field-divider.svg') center/250px auto no-repeat;opacity:.25;pointer-events:none}
.work-title>p,.ai-panel>p{font-size:12px;line-height:1.95}
.lab-heading h2{font-family:var(--serif);font-weight:500;line-height:1.65}
.evidence-steps button{font-size:11px}
.gallery-copy h2{font-family:var(--serif);font-weight:500;letter-spacing:.7px}
.postcard-type h3,.postcard-large h3,.mini-card>span{font-family:var(--serif);font-weight:500}
.postcard-letter h2{font-family:var(--literary);font-size:25px;font-weight:400;line-height:1.7}
.postcard-letter>p{font-family:var(--literary);font-size:17px;line-height:2}
.postcard-footnote{line-height:1.9}
.footer{position:relative;border-top:0;margin-top:42px;padding-top:25px;color:#94aaa9}
.footer:before{content:"";position:absolute;top:0;left:34px;right:34px;height:12px;background:url('field-divider.svg') center/430px 32px no-repeat;opacity:.3;pointer-events:none}
/* Finish existing surfaces: consistent spacing, readable controls, quiet depth. */
.project-card-body{padding:20px 23px 22px}
.card-kicker{gap:11px;color:#c9b587}
.card-kicker>span{color:#91aaa9;font-size:10px;letter-spacing:.8px}
.card-kicker .project-emblem{width:38px;height:38px}
.project-card h3{margin:11px 0 6px;line-height:1.5}
.project-card-body>p{line-height:1.75}
.project-ai{margin-top:17px;padding-top:13px;border-top-color:rgba(187,208,210,.11)}
.project-card,.gallery-card{box-shadow:0 3px 12px rgba(2,13,18,.10)}
.gallery-card{border-color:rgba(187,208,210,.17);border-radius:10px}
.gallery-image>img{filter:saturate(.84) brightness(.9)}
.gallery-copy{padding:24px}
.gallery-copy p{font-size:12px;line-height:1.85;min-height:3.7em}
.gallery-copy .btn{font-size:12px}
.section-heading{gap:16px}
.section-heading h2{font-family:var(--serif);font-weight:500;line-height:1.6}
.section-heading>span{line-height:1.8;color:#9eb2b0}
.task-card{border-color:rgba(187,208,210,.16)}
.task-card img{border-radius:5px}
.task-card>small{display:block;line-height:1.7;color:#a6bab6}
.btn{border-radius:7px;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
.btn.secondary{background:rgba(201,221,212,.035);border-color:rgba(203,220,219,.23)}
.btn.gold{background:#d8bc80;border-color:#ddc58f;box-shadow:0 2px 6px rgba(0,0,0,.10)}
.btn:active:not(:disabled){transform:translateY(0);box-shadow:none}
.btn:disabled:hover{transform:none}
.icon-btn{transition:background .18s,border-color .18s,color .18s}
.lab{background:linear-gradient(145deg,rgba(25,51,57,.78),rgba(14,35,42,.86));border-color:rgba(187,208,210,.17);box-shadow:0 3px 14px rgba(2,13,18,.10)}
.lab-heading{margin-bottom:23px;align-items:flex-start}
.lab-heading>.pill{margin-top:5px;line-height:1.6}
.task-nav{background:rgba(8,26,33,.5)}
.task-nav-item{padding-top:14px;padding-bottom:14px}
.task-nav-item.active{background:rgba(217,188,127,.085);border-color:rgba(217,188,127,.30);box-shadow:inset 2px 0 rgba(217,188,127,.7)}
.ai-sidebar{background:rgba(17,39,45,.56)}
.ai-sidebar-head h2{font-size:13px;line-height:1.6}
.ai-sidebar-head span{font-size:9px;color:#95afab;line-height:1.8;letter-spacing:.6px}
.ai-panel .btn{min-height:40px;font-size:11px;line-height:1.5;white-space:normal}
.ai-panel.student{padding:16px;margin:19px 0;background:rgba(142,184,163,.045);border:1px solid rgba(142,184,163,.19);border-radius:9px}
.ai-panel.student .panel-label{color:#cfbd94}
.ai-panel.student>p{margin-top:12px;margin-bottom:17px}
.ai-panel.student label{font-size:11px;color:#b2c4be;line-height:1.7}
.ai-panel textarea{min-height:108px;font-size:12px;line-height:1.8;padding:12px;border-radius:7px;border-color:rgba(188,212,204,.20);background:#0d2229;transition:border-color .18s,box-shadow .18s}
.ai-panel textarea::placeholder{color:#8ca3a1;opacity:1}
.ai-panel.student .btn{width:100%}
.ai-panel.integrity{border-bottom:0;padding-top:4px}
.ai-response small{font-size:10px;line-height:1.7}
.ai-response p{font-size:12px;line-height:1.85}
.task-actionbar{gap:12px;line-height:1.7}
.modal{border-color:rgba(185,211,201,.27);box-shadow:0 24px 80px rgba(0,0,0,.45)}
.modal-header{padding:23px 25px 20px}
.modal-body{scrollbar-width:thin;scrollbar-color:#536d70 transparent}
.modal-body p{line-height:1.9}
.modal-header h2{font-weight:500}
@media(min-width:1650px){.hero-copy h1{font-size:47px}.hero-copy p{font-size:17px}.project-side h2{font-size:26px}}
@media(max-width:1250px){.project-heading-copy{gap:12px}.chapter-emblem{width:50px;height:50px;padding-right:12px}.project-heading h1{font-size:27px}.project-heading h1>span{font-size:16px}.project-side h2{font-size:21px}.project-side p{font-size:11px}.task-card h3{font-size:12px}}
@media(max-width:1000px){.hero-copy h1{font-size:38px}.project-card h3{font-size:24px}.project-side p{font-size:12px}.project-heading-copy{width:100%}.project-heading h1>span{font-size:17px}}
@media(max-width:720px){.brand b{font-size:21px;letter-spacing:1.5px}.brand-mark{width:34px;height:34px}.brand small{font-size:8px;letter-spacing:.7px}.hero-photo{width:100%}.hero-overlay{background:linear-gradient(90deg,rgba(12,32,39,.86),rgba(12,32,39,.23)),linear-gradient(0deg,rgba(7,25,31,.65),transparent 60%)}.hero-copy h1{font-size:32px;line-height:1.55;letter-spacing:0}.hero-copy p{font-size:15px;line-height:1.9}.hero-copy{padding:33px 24px}.course-intro:after{right:-20px;top:0;opacity:.10}.course-intro h2{font-size:20px}.chapter-emblem{width:44px;height:44px;padding-right:12px}.project-heading h1{font-size:27px}.project-heading h1>span{font-size:16px;line-height:1.8}.project-side h2{font-size:23px}.project-side p{font-size:12px}.work-title h1{font-size:25px}.work-title>p{font-size:12px}.task-nav-item b{font-size:11px}.task-card h3{font-size:12px}.task-card>small{font-size:10px}.evidence-steps{gap:7px}.evidence-steps button{font-size:10px;gap:4px}.card-kicker .project-emblem{width:42px;height:42px}.gallery-project-label .project-emblem{width:40px;height:40px}.footer:before{left:16px;right:16px;background-size:300px auto}.hero-credit{font-size:9px}.project-emblem .emblem-detail{opacity:.7}}
@media(max-width:390px){.hero-copy{padding-left:20px;padding-right:20px}.hero-copy h1{font-size:29px}.hero-copy p{font-size:14px}.course-intro h2{font-size:18px}.hero-tags{gap:5px}}
@media(max-width:1000px){.ai-panel.student{margin:0;padding:15px}.ai-panel.integrity{padding-top:16px}.gallery-copy{padding:20px}.gallery-copy .btn{font-size:11px}.project-card-body{padding:17px 18px 20px}}
@media(max-width:720px){.project-heading h1>span:before{content:none}.project-card-body{padding:19px 20px 22px}.project-card h3{margin-top:10px}.project-ai{margin-top:14px}.gallery-copy p{min-height:0}.gallery-copy .btn{min-height:42px;font-size:12px}.section-heading{align-items:flex-start}.lab-heading{margin-bottom:19px}.lab-heading>.pill{margin-top:0}.ai-panel.student{padding:17px}.ai-sidebar-head h2{font-size:14px}.ai-panel .btn{min-height:44px;font-size:12px}.ai-panel textarea{min-height:120px;font-size:14px}.ai-panel.student label{font-size:12px}.modal-header{padding:19px}.modal-body{padding:19px}.hero-credit{max-width:calc(100% - 32px);text-align:right;line-height:1.6}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.project-card,.project-cover>img,.btn,.icon-btn,.ai-panel textarea{transition:none}}
