/* Selected warm ivory / green / gold direction; content and routes stay CMS-owned. */
:root{--green:#005a3e;--deep:#004832;--gold:#bd8827;--ink:#143d30;--muted:#66706a;--line:#e8e2d6;--paper:#f7f4eb;--white:#fffdfa}
body{background:#fcfaf5;color:var(--ink)}
header{background:#fffdf8;border-color:#eee8dc}.topbar{background:#174d39;padding:5px 0;font-size:.73rem}.header-inner{min-height:92px;gap:20px}.header-inner nav{gap:21px}.header-inner nav a{font-size:.9rem}.brand .logo-frame img{mix-blend-mode:multiply}.brand .logo-frame{width:155px}.brand .logo-frame img{width:155px}.button{border-radius:8px;padding:13px 24px;box-shadow:0 3px 10px #00483208}.button.outline{border-color:#6e9784;background:#fffdf880}.search-link{border:1px solid var(--line);border-radius:25px;padding:7px 16px;background:#f9f7f1}.eyebrow{letter-spacing:.07em}
.home-hero{position:relative;background:#faf7f0 url('images/hero-family.webp') center 48%/cover no-repeat;isolation:isolate;overflow:hidden}.hero{min-height:655px;padding-top:65px;padding-bottom:110px;grid-template-columns:1fr 1fr;gap:30px;align-items:center;position:relative}.hero-copy{z-index:2}.hero h1{font-family:'Songti SC','STSong','Noto Serif CJK SC',serif;font-size:clamp(40px,4.5vw,62px);line-height:1.26;letter-spacing:-.035em;max-width:535px;margin:20px 0 24px;font-weight:800;color:#003e2b;text-wrap:balance}.hero-copy>p{max-width:505px;color:#354b41;font-size:17px;line-height:1.9}.hero-actions{margin:30px 0}.hero-note{margin-top:34px;font-size:.86rem}.hero-art{align-self:stretch;background:none;padding:0;border-radius:0;position:relative;text-align:right;min-width:0}.art-caption{position:absolute;top:0;right:0;font-family:'Kaiti SC','STKaiti',serif;font-size:22px;letter-spacing:.05em;color:#254937}.art-note{position:absolute;top:39px;right:0;border:0;padding:0}.art-note span{font-size:14px}.art-note small{font-size:12px;color:#4f6257}.hero-art .hero-mascot{position:absolute;width:125px;height:125px;right:0;bottom:-40px;object-fit:contain;mix-blend-mode:multiply;z-index:3}.hero-ribbon{position:absolute;bottom:-1px;left:0;width:100%;height:95px;object-fit:fill;pointer-events:none;z-index:1}
.section{padding-top:54px;padding-bottom:54px}.section-heading{margin-bottom:28px}.section-heading h2,.consult-section h2,.process-section h2{font-family:'Songti SC','STSong',serif;font-weight:750;color:#06462f;font-size:32px}.section-heading .eyebrow{margin-bottom:7px}.section-heading p{max-width:370px}.service-grid{gap:24px}#services .service-card{background:#fffdf9;border:1px solid #e9e1d4;border-radius:12px;padding:0 24px 23px;overflow:hidden;box-shadow:0 5px 12px #604b2510;position:relative;min-height:0}#services .service-photo{width:calc(100% + 48px);max-width:none;margin:0 -24px 22px;height:210px;object-fit:cover}#services .card-top{margin:0 0 8px;min-height:16px}#services .service-symbol{font-size:20px}#services .card-number{color:#977544}#services .service-card h3{font-size:23px;margin-bottom:12px}#services .service-card p{line-height:1.8;font-size:15px;margin-bottom:20px}#services .card-bottom{border:0;padding-top:2px;font-size:15px}#services .service-card:hover{box-shadow:0 9px 24px #604b251b;border-color:#b9ab87}.process-section{background:#f4f2e9;margin:0;padding:47px 0 52px}.steps{gap:40px;margin-top:30px}.steps>div{border-color:#ddd4c1;padding-top:18px}.steps span{color:#b78326;font-size:35px}.steps h3{margin:8px 0;font-size:20px}.steps p{font-size:14px}.consult-section{align-items:center;padding-top:55px;padding-bottom:64px}.consult-section h2{margin-bottom:21px}.contact-card{background:#fffdf8;border-color:#e7e1d6;box-shadow:0 4px 12px #5b4d2c08;padding:21px;border-radius:10px}.contact-actions{grid-template-columns:auto auto;align-items:center;gap:10px}.contact-actions .text-link{padding:9px 12px;border:1px solid #9bb8a9;border-radius:6px;font-size:13px}.avatar{background:#e5eee7}
footer{background:#004b35 url('images/footer-skyline.webp') center bottom/cover no-repeat;color:#f4eedb;border:0;padding-top:55px}.footer-brand{color:#f4dda0;font-family:'Songti SC',serif}.footer-grid p,.footer-grid .muted,.official small{color:#e0e9da}.footer-grid a:hover{color:#f1d99d}.copyright{border-color:#ffffff26;color:#d6e4d4}.footer-grid{padding-bottom:48px}.official img{border-radius:7px}.copyright{padding-bottom:23px}.page-hero{background:#f4f1e7;border-bottom:1px solid #e8dfcf}.page-hero h1{font-family:'Songti SC','STSong',serif;color:#06462f}.article-card,.bottom-cta{border-color:#e3dbcb}.service-card,.summary,.facts{background:#f7f3e9}.sidebar-card{background:#005238}.reading{color:#203d30}.prose p{color:#3b4c42}dialog{background:#fffdf8}.mobile-contact{background:#fffdf8f5}
@media(min-width:1440px){.home-hero{background-size:1440px auto}}
@media(max-width:1150px) and (min-width:1051px){.header-inner{gap:12px}.header-inner nav{gap:13px}.header-contact{padding:9px 10px}.brand .logo-frame{width:135px}.brand .logo-frame img{width:135px}}
@media(max-width:1050px){.hero{min-height:600px}.hero h1{font-size:46px}.hero-copy>p{font-size:16px}.hero-art .hero-mascot{width:100px;height:100px}.hero-art .art-caption{font-size:18px}.art-note small{font-size:11px}.contact-actions{grid-template-columns:1fr}.section-heading h2,.consult-section h2,.process-section h2{font-size:28px}#services .service-photo{height:175px}#services .service-card{padding-left:18px;padding-right:18px}#services .service-photo{width:calc(100% + 36px);margin-left:-18px;margin-right:-18px}#services .service-card h3{font-size:20px}}
@media(max-width:760px){.header-inner{min-height:70px}.brand .logo-frame{width:135px;height:58px}.brand .logo-frame img{width:135px}.home-hero{background:#faf7f0}.hero{display:flex;flex-direction:column;gap:0;align-items:stretch;min-height:0;padding-top:35px;padding-bottom:45px}.hero h1{font-size:42px;max-width:520px;line-height:1.28;margin-top:17px}.hero-copy>p{max-width:520px}.hero-note{margin-top:22px;font-size:12px}.hero-note span+span{padding-left:12px;margin-left:12px}.hero-actions{margin:24px 0}.hero-art{width:calc(100% + 44px);max-width:none;height:335px;min-height:335px;margin:22px -22px -10px;background:#faf7f0 url('images/hero-family.webp') right center/auto 420px no-repeat}.hero-art .art-caption{top:15px;left:22px;right:auto;font-size:18px}.hero-art .art-note{top:43px;left:22px;right:auto;text-align:left;max-width:150px}.art-note span{font-size:11px}.art-note small{display:block;font-size:10px}.hero-art .hero-mascot{width:95px;height:95px;right:18px;bottom:5px}.hero-ribbon{height:45px}.section{padding-top:36px;padding-bottom:38px}.section-heading{gap:10px;margin-bottom:22px}.section-heading h2,.consult-section h2,.process-section h2{font-size:27px}.section-heading p{font-size:14px}.service-grid{gap:22px}#services .service-photo{height:210px}#services .service-card{padding:0 22px 23px}#services .service-photo{width:calc(100% + 44px);margin-left:-22px;margin-right:-22px}#services .service-card h3{font-size:23px}.process-section{padding:35px 0}.steps{gap:15px;margin-top:24px}.steps>div{padding:20px 0 0 58px}.steps span{top:17px;font-size:29px}.steps h3{font-size:19px}.consult-section{gap:17px}.contact-actions{grid-template-columns:auto auto}.contact-card{padding:17px;gap:10px}.contact-actions .text-link{padding:7px 10px}.contact-actions .button{font-size:12px;padding:8px 10px}.avatar{display:none}.phone-number{font-size:17px}footer{background-size:auto 100%;padding-top:36px;padding-bottom:75px}.footer-grid{gap:22px;padding-bottom:26px}.footer-brand{font-size:27px}.official{justify-content:start}.copyright{font-size:11px}.page-hero h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){.service-card{transform:none!important}}
.hero h1>span{display:block}.hero h1{font-size:clamp(40px,4.1vw,58px)}
@media(max-width:760px){.hero h1{font-size:clamp(31px,8.7vw,42px)}}
.hero-ribbon{display:block;height:clamp(150px,16.5vw,250px);bottom:0;object-fit:fill}.hero-art .hero-mascot{mix-blend-mode:normal;border-radius:50%;bottom:-20px}
@media(max-width:760px){.hero-ribbon{height:100px;bottom:0}.hero-art .hero-mascot{bottom:10px}}
#services .card-number{margin-left:auto}

.campus-section{margin:0 0 55px;padding:30px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.campus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.campus-card{background:#fffdf8;border:1px solid var(--line);border-radius:10px;padding:24px}.campus-card .eyebrow{font-size:13px;margin-bottom:10px}.campus-card h3{margin-bottom:12px}.campus-card p{margin:0;overflow-wrap:anywhere}.campus-contacts{margin-top:30px}.campus-contacts>.contact-list{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:760px){.campus-grid,.campus-contacts>.contact-list{grid-template-columns:1fr}.campus-card{padding:20px}.campus-section{margin-bottom:32px}}

.campus-card .campus-placeholder{color:#90651c;font-size:13px;margin-bottom:10px}

.channel-cover.handwriting-infographic{width:100%;height:auto;max-height:none;border-radius:12px;margin-top:32px;border:1px solid var(--line)}.channel-cover-link{display:block}.channel-cover-link:hover{opacity:.97}

@media(min-width:1051px){.header-inner nav{gap:15px}.header-inner{gap:16px}.header-inner nav a{font-size:.875rem}}
@media(min-width:601px) and (max-width:1050px){.header-inner nav{grid-template-columns:repeat(7,minmax(0,1fr))}}

.channel-visuals{margin:0 0 60px}.channel-visual-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2.1fr);align-items:center;gap:46px;padding:38px 0;border-top:1px solid var(--line)}.channel-visual-row:nth-child(even){grid-template-columns:minmax(0,2.1fr) minmax(220px,1fr)}.channel-visual-row:nth-child(even) .visual-copy{order:2}.visual-copy h2{font-family:'Songti SC','STSong',serif;font-size:29px;margin-bottom:18px}.visual-copy p{font-size:15px;line-height:1.9}.visual-copy .eyebrow{font-size:12px;letter-spacing:.06em;margin-bottom:14px}.visual-image-link{display:block;border:1px solid #e6dfd0;border-radius:12px;overflow:hidden;box-shadow:0 5px 20px #54452108;background:#fffdf8}.visual-image-link img{display:block;width:100%;height:auto}.visual-image-link:hover{box-shadow:0 8px 24px #54452115}@media(max-width:760px){.channel-visual-row,.channel-visual-row:nth-child(even){grid-template-columns:1fr;gap:20px;padding:28px 0}.channel-visual-row:nth-child(even) .visual-copy{order:0}.visual-copy h2{font-size:25px}.channel-visuals{margin-bottom:30px}}

/* A single channel service occupies the full content width. */
.service-grid.single-service{grid-template-columns:minmax(0,1fr);margin-bottom:38px}
.single-service .service-card{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(0,2fr) auto;align-items:center;gap:32px;min-height:0;padding:30px 32px;background:#f7f3e9;border-color:#e4dbc9}
.single-service .service-card h3{margin:0;font-size:24px}
.single-service .service-card p{margin:0;font-size:15px;line-height:1.9}
.single-service .card-bottom{border:0;padding:0;gap:20px;white-space:nowrap}
@media(max-width:760px){.single-service .service-card{grid-template-columns:1fr;gap:16px;padding:24px}.single-service .service-card h3{font-size:23px}.single-service .card-bottom{border-top:1px solid var(--line);padding-top:16px}.service-grid.single-service{margin-bottom:28px}}

.settlement-section{padding:48px 0 54px;background:#f7f3e9;border-block:1px solid #e9dfca}.settlement-section .section-heading{margin-bottom:16px}.settlement-topics{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 30px}.settlement-topics span{padding:7px 16px;border:1px solid #ddd1b7;border-radius:24px;font-size:14px;color:var(--green);background:#fffdf8}.settlement-empty{display:flex;justify-content:space-between;align-items:center;gap:32px;border-top:1px solid #dfd6c2;padding-top:28px}.settlement-empty h3{margin-bottom:10px}.settlement-empty p{margin:0;max-width:710px}.settlement-empty .button{flex-shrink:0}@media(max-width:760px){.settlement-section{padding:34px 0}.settlement-empty{flex-direction:column;align-items:start;gap:20px}.settlement-topics{gap:8px}.settlement-topics span{font-size:13px;padding:6px 12px}}

.channel-visual-row.visual-banner{display:block;padding:0;border:0}.visual-banner .visual-image-link{width:100%}.visual-banner .visual-image-link img{width:100%;height:auto;max-height:430px;object-fit:cover;object-position:center}@media(max-width:760px){.visual-banner .visual-image-link img{max-height:none}}

.service-visual{margin:0 0 36px}.service-visual .visual-image-link img{display:block;width:100%;height:auto}.service-visual-link{display:inline-block;margin-top:14px;font-size:14px}

/* Editorial lists: original image proportions, title / metadata / summary. */
.news-list{display:flex;flex-direction:column;gap:0}
.news-row{display:grid;grid-template-columns:minmax(0,30%) minmax(0,1fr);gap:32px;padding:30px 0;border-bottom:1px solid var(--line);align-items:start}
.news-row:first-child{padding-top:8px}.news-row:last-child{margin-bottom:24px}
.news-image{display:block;overflow:hidden;border-radius:8px;background:#f2eee4}
.news-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;margin:0}
.news-copy{min-width:0}.news-copy h3{font-size:25px;line-height:1.5;letter-spacing:0;margin:0 0 14px;font-weight:650;overflow-wrap:anywhere}
.news-meta{display:flex;flex-wrap:wrap;gap:8px 20px;color:var(--muted);font-size:13px;margin-bottom:16px}
.news-copy p{font-size:15px;line-height:1.9;margin:0 0 14px}.news-copy .text-link{font-size:13px}
.news-row-no-image{grid-template-columns:1fr}
@media(max-width:760px){.news-row{grid-template-columns:minmax(0,32%) minmax(0,1fr);gap:18px;padding:23px 0}.news-copy h3{font-size:19px;margin-bottom:10px}.news-meta{gap:4px 12px;font-size:11px;margin-bottom:9px}.news-copy p{font-size:13px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:8px}.news-row-no-image{grid-template-columns:1fr}}
@media(max-width:420px){.news-row{gap:13px}.news-copy h3{font-size:17px}.news-meta{font-size:10px;gap:3px 9px}.news-copy .text-link{font-size:12px}}

.guides-more{text-align:center;margin:34px 0 12px}
.channel-visual-row.visual-banner.parenting-banner .visual-image-link{max-width:100%;margin:auto}
.channel-visual-row.visual-banner.parenting-banner .visual-image-link img{max-height:none;height:auto;object-fit:contain}

.campus-map{margin:0 0 30px}.campus-map a{display:block;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--paper)}.campus-map img{display:block;width:100%;height:auto;object-fit:contain}.campus-map figcaption{font-size:13px;color:var(--muted);margin-top:10px;text-align:right}

/* Keep both ribbon contours inside their visible regions. */
footer{position:relative;background-size:100% auto;padding-top:125px;padding-bottom:100px}
footer::before{content:"";position:absolute;top:0;left:0;width:100%;height:85px;background:url('images/footer-wave.svg') center top/100% 100% no-repeat;pointer-events:none}
@media(max-width:760px){footer{background-size:100% auto;padding-top:85px;padding-bottom:110px}footer::before{height:55px}}

/* Global, collapsible teacher QR panel. Keep original QR files intact. */
.wechat-float{position:fixed;right:16px;bottom:22px;z-index:40;width:190px;background:#fffdfa;border:1px solid #d8c8a6;border-radius:12px;box-shadow:0 8px 28px #143d3024;overflow:hidden}
.wechat-float summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;padding:12px 10px;background:var(--green);color:white;font-size:14px;font-weight:600;list-style:none}
.wechat-float summary::-webkit-details-marker{display:none}.wechat-float summary:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}
.float-collapse,.float-expand{font-size:12px;font-weight:400}.wechat-float details[open] .float-expand,.wechat-float details:not([open]) .float-collapse{display:none}
.float-qr-list{display:grid;gap:10px;padding:12px;max-height:65vh;overflow:auto}.float-qr-list figure{margin:0;text-align:center}.float-qr-list figcaption{font-size:14px;font-weight:600;margin-bottom:6px}.float-qr-list a{display:block;padding:8px;background:#fff;border-radius:6px}.float-qr-list img{display:block;width:100%;height:auto;object-fit:contain}.wechat-float p{font-size:10px;text-align:center;color:var(--muted);margin:0;padding:0 4px 10px}
@media(max-width:760px){.wechat-float{bottom:76px;right:10px;width:min(330px,calc(100vw - 20px))}.float-qr-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px}.wechat-float:has(details:not([open])){width:190px}}

/* Blend the ribbon into the lower desk edge, below the family and books. */
.home-hero{background:#faf7f0;overflow:visible}
.hero-scene{background:#faf7f0 url('images/hero-family.webp') center center/contain no-repeat;min-height:max(655px,min(66.6667vw,960px))}
.hero-scene .hero{min-height:inherit}
.hero-ribbon{position:relative;left:auto;bottom:auto;margin:calc(-1 * clamp(80px,9.6vw,144px)) 0 0;width:100%;height:clamp(100px,12vw,180px);display:block}
@media(max-width:760px){.hero-scene{background:none;min-height:0}.hero-scene .hero{min-height:0;padding-bottom:0}.hero-art{height:auto;min-height:0;aspect-ratio:3/2;margin-bottom:0;background-position:center;background-size:contain}.hero-ribbon{height:90px;bottom:auto;margin-top:-66px}.hero-art .hero-mascot{width:70px;height:70px;bottom:8px}}

/* Phone readability and touch targets. */
.service-card.admissions .service-symbol{display:none}
@media(max-width:760px){
 .wechat-float{bottom:calc(76px + env(safe-area-inset-bottom))}
 .wechat-float summary{min-height:44px}
 .wechat-float p{font-size:12px}
 .float-qr-list{max-height:calc(100dvh - 210px)}
 .hero-actions{flex-wrap:wrap}
 .hero-note{flex-wrap:wrap;row-gap:8px}
 .news-meta{font-size:12px;line-height:1.6}
 .news-copy p{font-size:14px}
 .news-copy .text-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
 .article-heading{flex-direction:row;align-items:center}
 .article-heading>.text-link{min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}
 .filters select,.search-form input{font-size:16px;min-height:44px;max-width:100%}
 .filters label{max-width:100%;min-width:0}
 .pagination{gap:18px;flex-wrap:wrap;align-items:center}
 .pagination a{display:inline-flex;align-items:center;min-height:44px}
 .guides-more .button{max-width:100%;min-height:44px}
 .visual-image-link::after{content:'点击图片，放大查看';display:block;text-align:center;font-size:12px;color:var(--green);padding:7px;background:#fffdfa}
 dialog{max-height:calc(100dvh - 24px)}
 .dialog-close{min-width:44px;min-height:44px;top:4px;right:4px}
 .contact-actions .button,.contact-actions .text-link{min-height:44px}
 .header-inner nav a{white-space:normal}
}
 .bottom-channel-visual .visual-image-link img{max-height:none;object-fit:contain}
