/* Qinghe brand layer. Keep the original single-column content and interactions. */
:root {
  --bg: #fdfcf8;
  --bg2: #f4f8f1;
  --card: #ffffff;
  --card2: #edf5e9;
  --text: #263e34;
  --text2: #596c61;
  --gold: #367965;
  --gold2: #285e50;
  --gold3: #84baa1;
  --green: #3b816b;
  --blue: #577884;
  --red: #a65e4c;
  --line: rgba(77, 105, 81, .13);
  --shadow: 0 2px 12px rgba(49, 74, 37, .035);
  --shadow-lg: 0 8px 26px rgba(49, 74, 37, .07);
  --shadow-gold: 0 4px 18px rgba(81, 116, 52, .09);
}

body { background: var(--bg); }
body::before, body::after, .bg-deco, .float-dot { display: none; }
main {
  max-width: 840px;
  width: calc(100% - 40px);
  margin: 16px auto;
  padding-bottom: 36px;
  background: #fff;
  border: 1px solid #edf0e7;
  border-radius: 28px;
  box-shadow: 0 12px 48px rgba(47, 73, 34, .045);
  overflow: clip;
}
section { position: relative; padding: 40px 36px 30px; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif; }
h2 { font-size: 27px; }
p.desc { font-size: 16px; }
.qinghe-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 108px;
  margin: 0 42px;
}
.qinghe-identity { display: flex; align-items: center; gap: 9px; }
.qinghe-identity img { display: block; width: 76px; height: 76px; object-fit: contain; mix-blend-mode: multiply; }
.qinghe-identity strong { display: block; font-size: 26px; font-weight: 750; letter-spacing: 2px; color: #285e50; }
.qinghe-identity span { display: block; font-size: 12px; letter-spacing: 1px; color: var(--text2); margin-top: 4px; }
.qinghe-header-note { color: #386e58; font-size: 14px; letter-spacing: 1px; white-space: nowrap; }
.qinghe-header-note, .qinghe-footer a { text-decoration: none; }
.qinghe-header-note:hover, .qinghe-footer a:hover { color: var(--gold2); text-decoration: underline; }
.qinghe-links { display: flex; justify-content: center; margin-top: 22px; }
.qinghe-links .cta-btn { padding-inline: 24px; font-size: 14px; }
.mp-n, .dl-step-n { color: #fff; }

/* Use the transparent front-view asset so the footer has no rectangular backdrop. */
.qinghe-mascot {
  width: 112px;
  aspect-ratio: 1054 / 1492;
  background: url('qinghe-mascot-front.png') center / contain no-repeat;
  flex-shrink: 0;
}
.hero { padding: 16px 36px 18px; background: #fff url('qinghe-hero-waves.png') center -45px / 100% auto no-repeat; }
.hero-aside { position: absolute; top: 88px; font-size: 18px; line-height: 1.85; letter-spacing: 2px; pointer-events: none; }
.hero-aside-left { left: 48px; color: #487441; font-size: 21px; font-family: KaiTi, STKaiti, "Microsoft YaHei", sans-serif; transform: rotate(-6deg); text-decoration: underline; text-decoration-color: #f3d66b; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.hero-aside-right { right: 48px; color: #819d65; font-size: 13px; letter-spacing: 5px; text-align: right; }
.hero-lottie { display: none; }
.av-wrap { width: 136px; height: 136px; margin-bottom: 18px; }
.hero-avatar { width: 136px; height: 136px; border-width: 5px; box-shadow: 0 5px 16px #405d3514; }
.av-ring { animation: none; inset: -5px; border: 1px solid #a8cfbb; }
.av-wrap::after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: 3px;
  width: 17px;
  height: 10px;
  border-radius: 90% 0 90% 0;
  transform: rotate(-24deg);
  background: #8fae54;
  border: 2px solid #f1f7eb;
}
.pulse-ring { display: none; }
.hero h1 { font-size: 40px; line-height: 1.4; color: #175647; background: none; -webkit-text-fill-color: currentColor; letter-spacing: 1px; margin-bottom: 4px; }
.title-sub { font-size: 17px; line-height: 1.7; margin-bottom: 0; }
.hero .tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; max-width: 700px; margin: 22px auto 12px; }
.hero .tag { display: flex; align-items: center; justify-content: flex-start; gap: 18px; min-height: 64px; padding: 12px 24px; border-radius: 15px; box-shadow: 0 3px 12px #405d3504; background: #ffffffeb; color: #285b4a; border: 1px solid #d2e1d0; font-size: 16px; font-weight: 600; line-height: 1.5; font-family: inherit; text-align: left; }
.hero .tag::after { content: ''; margin-left: auto; flex-shrink: 0; width: 16px; height: 16px; background: url('caret-right.svg') center / contain no-repeat; }
.hero .tag .ico { width: 24px; height: 24px; color: #2e735b; }
.hero .tag-gold { background: #ffffffeb; border-color: #d2e1d0; }
.tag-btn, .tags-hint, .sheet-trigger, .cta-btn, .sticky-a { animation: none; }
.tag-btn .click-hint, .cta-btn::after { display: none; }
.tag-btn:hover { transform: translateY(-2px); background: #edf5e4; box-shadow: var(--shadow); }
.tags-hint { font-size: 12px; color: #6c7c6f; margin-bottom: 0; line-height: 1.6; }
.stats-row { position: relative; border: 1px solid #e5ebde; border-radius: 22px; background: #fff; box-shadow: 0 5px 22px #344b2a05; padding: 26px 14px; margin-top: 18px; }
.stats-spark { position: absolute; width: 25px; height: 25px; left: 24px; top: 13px; }
.stat { max-width: none; min-width: 0; padding: 3px 6px; }
.stat:not(:last-child) { border-right: 1px solid #e9eee4; }
.num { background: none; color: #155e4e; -webkit-text-fill-color: currentColor; font-size: 43px; font-weight: 750; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.stat-label { display: block; margin-top: 8px; font-size: 15px; color: #5a7063; }
.review-cloud { margin-top: 24px; text-align: left; }
.review-cloud-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 5px; }
.review-cloud-heading > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.review-cloud-heading h2 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .3px; color: #48715a; }
.review-cloud-heading > div > span { color: #6b7c65; font-size: 10px; }
.review-toggle { flex-shrink: 0; min-height: 32px; padding: 5px 8px; font: inherit; font-size: 10px; color: #55705f; background: transparent; border: 0; border-radius: 6px; cursor: pointer; }
.review-toggle:hover { background: #eef4e7; }
.review-stream { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 12px; min-height: 190px; margin: 6px 0 0; padding: 32px 10px; list-style: none; overflow: hidden; background: linear-gradient(180deg, #fff, #f4f8ee 50%, #fff); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
.floating-comment { grid-column: var(--lane); grid-row: 1; align-self: center; padding: 15px; border: 1px solid #dde9d6; border-radius: 15px 15px 15px 4px; background: #fffefb; box-shadow: 0 7px 18px #36512c0a; opacity: 0; animation: comment-float 48s linear var(--delay) infinite; }
.floating-comment:nth-child(1) { --lane: 1; --delay: -0.4s; }
.floating-comment:nth-child(2) { --lane: 2; --delay: -1.4s; }
.floating-comment:nth-child(3) { --lane: 3; --delay: -2.4s; }
.floating-comment:nth-child(4) { --lane: 1; --delay: -3.4s; }
.floating-comment:nth-child(5) { --lane: 2; --delay: -4.4s; }
.floating-comment:nth-child(6) { --lane: 3; --delay: -5.4s; }
.floating-comment:nth-child(7) { --lane: 1; --delay: -6.4s; }
.floating-comment:nth-child(8) { --lane: 2; --delay: -7.4s; }
.floating-comment:nth-child(9) { --lane: 3; --delay: -8.4s; }
.floating-comment:nth-child(10) { --lane: 1; --delay: -9.4s; }
.floating-comment:nth-child(11) { --lane: 2; --delay: -10.4s; }
.floating-comment:nth-child(12) { --lane: 3; --delay: -11.4s; }
.floating-comment:nth-child(13) { --lane: 1; --delay: -12.4s; }
.floating-comment:nth-child(14) { --lane: 2; --delay: -13.4s; }
.floating-comment:nth-child(15) { --lane: 3; --delay: -14.4s; }
.floating-comment:nth-child(16) { --lane: 1; --delay: -15.4s; }
.floating-comment:nth-child(17) { --lane: 2; --delay: -16.4s; }
.floating-comment:nth-child(18) { --lane: 3; --delay: -17.4s; }
.floating-comment:nth-child(19) { --lane: 1; --delay: -18.4s; }
.floating-comment:nth-child(20) { --lane: 2; --delay: -19.4s; }
.floating-comment:nth-child(21) { --lane: 3; --delay: -20.4s; }
.floating-comment:nth-child(22) { --lane: 1; --delay: -21.4s; }
.floating-comment:nth-child(23) { --lane: 2; --delay: -22.4s; }
.floating-comment:nth-child(24) { --lane: 3; --delay: -23.4s; }
.floating-comment:nth-child(25) { --lane: 1; --delay: -24.4s; }
.floating-comment:nth-child(26) { --lane: 2; --delay: -25.4s; }
.floating-comment:nth-child(27) { --lane: 3; --delay: -26.4s; }
.floating-comment:nth-child(28) { --lane: 1; --delay: -27.4s; }
.floating-comment:nth-child(29) { --lane: 2; --delay: -28.4s; }
.floating-comment:nth-child(30) { --lane: 3; --delay: -29.4s; }
.floating-comment:nth-child(31) { --lane: 1; --delay: -30.4s; }
.floating-comment:nth-child(32) { --lane: 2; --delay: -31.4s; }
.floating-comment:nth-child(33) { --lane: 3; --delay: -32.4s; }
.floating-comment:nth-child(34) { --lane: 1; --delay: -33.4s; }
.floating-comment:nth-child(35) { --lane: 2; --delay: -34.4s; }
.floating-comment:nth-child(36) { --lane: 3; --delay: -35.4s; }
.floating-comment:nth-child(37) { --lane: 1; --delay: -36.4s; }
.floating-comment:nth-child(38) { --lane: 2; --delay: -37.4s; }
.floating-comment:nth-child(39) { --lane: 3; --delay: -38.4s; }
.floating-comment:nth-child(40) { --lane: 1; --delay: -39.4s; }
.floating-comment:nth-child(41) { --lane: 2; --delay: -40.4s; }
.floating-comment:nth-child(42) { --lane: 3; --delay: -41.4s; }
.floating-comment:nth-child(43) { --lane: 1; --delay: -42.4s; }
.floating-comment:nth-child(44) { --lane: 2; --delay: -43.4s; }
.floating-comment:nth-child(45) { --lane: 3; --delay: -44.4s; }
.floating-comment:nth-child(46) { --lane: 1; --delay: -45.4s; }
.floating-comment:nth-child(47) { --lane: 2; --delay: -46.4s; }
.floating-comment:nth-child(48) { --lane: 3; --delay: -47.4s; }
.review-author { display: flex; align-items: center; gap: 8px; color: #3f624d; font-size: 11px; }
.review-avatar { display: grid; place-items: center; flex-shrink: 0; width: 27px; height: 27px; border-radius: 50%; background: #eaf2df; color: #507148; font-size: 12px; }
.review-author small { margin-left: 7px; color: #6c7c65; font-size: 9px; }
.floating-comment p { margin-top: 9px; color: #49604f; font-size: 13px; line-height: 1.85; }
.review-cloud[data-paused="true"] .floating-comment, .review-cloud[data-visible="false"] .floating-comment { animation-play-state: paused; }
@media (hover: hover) { .review-stream:hover .floating-comment { animation-play-state: paused; } }
@keyframes comment-float { 0% { opacity: 0; transform: translateY(24px); } .75%, 5% { opacity: 1; } 6%, 100% { opacity: 0; transform: translateY(-24px); } }
@keyframes comment-float-mobile { 0% { opacity: 0; transform: translateY(24px); } .5%, 3.25% { opacity: 1; } 4%, 100% { opacity: 0; transform: translateY(-24px); } }
.hero-quote { position: relative; border: 1px solid #deead2; padding: 25px 164px 26px 30px; min-height: 178px; margin-top: 16px; background: #f3f9eb; box-shadow: none; border-radius: 22px; }
.hero-quote::after { display: none; }
.hero-mascot { position: absolute; right: 12px; bottom: -14px; width: 142px; height: 196px; object-fit: contain; pointer-events: none; }
.hero-quote .quote-label { display: block; margin-bottom: 13px; color: #487451; font-size: 16px; letter-spacing: 2px; }
.hero-quote p { position: relative; z-index: 1; font-size: 16px; font-style: normal; line-height: 1.8; color: #5d705e; }
.hero-quote p + p { margin-top: 3px; }
.hero-quote strong { color: #235c46; font-size: 22px; font-weight: 650; }
#story { padding-top: 22px; }
#story > .sec-div { margin: 0 auto 14px; }
.core-block { padding: 26px; }
.core-h { font-size: 19px; }
.core-body, .core-match p { font-size: 15px; }
.core-match { padding: 18px; }
.mp { padding: 15px; }
.mp-t { font-size: 15px; }
.mp-d, .auth-row p { font-size: 14px; }
.auth-row h4 { font-size: 16px; }
.bsheet { max-width: 620px; }
#bs-contest .bsheet-header > div:nth-child(2) { min-width: 0; }
#bs-contest .bsheet-title { font-size: 19px; line-height: 1.4; }
#bs-contest .bsheet-sub { font-size: 12px; line-height: 1.6; margin-top: 4px; }
.contest-intro { margin-bottom: 20px; }
.contest-period { display: inline-block; padding: 6px 10px; border-radius: 6px; background: #eaf3e4; color: #386e4f; font-size: 11px; font-weight: 600; }
.contest-intro p { margin: 12px 0 8px; font-size: 14px; line-height: 1.85; color: #435f50; }
.contest-grade { display: block; font-size: 11px; color: #68786b; line-height: 1.8; }
.contest-showcase { display: grid; gap: 16px; }
.contest-card { padding: 20px; border: 1px solid #dce7d5; border-radius: 18px; background: #fff; }
.contest-card-ai { background: linear-gradient(135deg,#f2f8eb,#fff 75%); }
.contest-card-art { border-color: #e8e1cf; background: linear-gradient(135deg,#fcf7e9,#fff 75%); }
.contest-card-robot { border-color: #d9e4e7; background: linear-gradient(135deg,#eff6f7,#fff 75%); }
.contest-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.contest-direction { color: #397254; font-size: 11px; font-weight: 600; letter-spacing: 1px; }
.contest-card-art .contest-direction { color: #927335; }
.contest-card-robot .contest-direction { color: #4c7884; }
.contest-index { color: #89997b; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.contest-card h3 { margin: 0 0 8px; color: #284e3c; font-size: 18px; line-height: 1.55; }
.contest-card p { font-size: 13px; color: #566e5c; line-height: 1.85; }
.contest-card .contest-organizer { font-size: 11px; color: #758071; margin-bottom: 12px; }
.contest-card strong { color: #315d44; font-weight: 600; }
.contest-focus { display: grid; grid-template-columns: auto 1fr; gap: 10px; border-top: 1px solid #46604112; margin-top: 14px; padding-top: 12px; font-size: 12px; line-height: 1.75; color: #637360; }
.contest-focus b { color: #3f654b; font-weight: 600; }
.contest-card a { display: inline-block; padding: 12px 0 0; color: #2e7356; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.contest-guidance { margin-top: 22px; padding-left: 14px; border-left: 3px solid #bad3a3; }
.contest-guidance h4 { color: #355d46; font-size: 15px; margin-bottom: 8px; }
.contest-guidance p { color: #61715f; font-size: 13px; line-height: 1.9; }
.contest-footnote { color: #72806e; font-size: 11px; line-height: 1.85; margin-top: 18px; }
@media (max-width: 359px) {
  #bs-contest .bsheet-title { font-size: 16px; }
  #bs-contest .bsheet-sub { font-size: 10px; }
  .contest-card { padding: 16px; }
  .contest-card h3 { font-size: 16px; }
}

/* A quiet, one-time text reveal in place of the brain animation. */
.growth-line { margin: 24px 0 28px; padding-left: 14px; border-left: 2px solid #dce9ce; color: #687963; font-size: 14px; line-height: 1.9; }
.growth-part { display: inline-block; }
.growth-emphasis { position: relative; isolation: isolate; margin-top: 3px; color: #356c50; font-size: 18px; font-weight: 650; letter-spacing: .5px; }
.growth-emphasis::after { content: ''; position: absolute; z-index: -1; left: 0; right: 0; bottom: 4px; height: 7px; background: #e0edcc; border-radius: 4px; transform-origin: left; }
.growth-line.motion-ready:not(.is-shown) .growth-part { opacity: 0; transform: translateY(8px); }
.growth-line.motion-ready:not(.is-shown) .growth-emphasis::after { transform: scaleX(0); }
.growth-line.is-shown .growth-part { animation: growth-text-in .65s ease-out both; }
.growth-line.is-shown .growth-part:nth-child(2) { animation-delay: .25s; }
.growth-line.is-shown .growth-emphasis { animation-delay: .55s; }
.growth-line.is-shown .growth-emphasis::after { animation: growth-underline .7s .95s ease-out both; }
@keyframes growth-text-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes growth-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* A small pair of leaves replaces the old gold divider. */
.sec-div { position: relative; width: 26px; height: 17px; background: none; opacity: .65; margin-bottom: 14px; }
.sec-div::before, .sec-div::after { content: ''; position: absolute; width: 12px; height: 7px; background: #82b399; }
.sec-div::before { top: 4px; left: 1px; border-radius: 0 90% 0 90%; transform: rotate(12deg); }
.sec-div::after { top: 0; right: 0; border-radius: 90% 0 90% 0; transform: rotate(-16deg); }
.sec-label { color: #387b61; }
.story-card { background: #f4f7ef; box-shadow: none; }
.story-card::before { opacity: .5; }
.core-block { border-color: #e0e8da; box-shadow: var(--shadow); }
.core-block:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.core-match, .cert-box { background: #f3f8ef; border-color: #dce9d4; }
.cb-gold .core-badge, .aw-tag, .bsheet-icon, .scu-rank-tag { background: #edf5e6; border-color: #dce9d4; }
.cb-gold .core-quote, .ts-quote.gd { background: #f3f8ef; border-color: #dce9d4; }
.sheet-trigger { box-shadow: none; background: #f2f7ec; }
.sheet-trigger:hover { transform: translateY(-2px); background: #e8f1de; }
.contest-hero { background: #f2f7ec; border-color: #dce9d4; }
.cta { background: linear-gradient(180deg, #fffefb, #f0f6e9); }
.contact-card { display: flex; align-items: center; gap: 28px; padding: 26px; margin: 26px auto 18px; background: #fff; border: 1px solid #deead2; border-radius: 22px; text-align: left; }
.contact-qr { display: block; flex-shrink: 0; padding: 12px; background: #fff; border: 1px solid #edf0e7; border-radius: 14px; line-height: 0; }
.contact-qr img { display: block; width: 186px; height: 186px; max-width: 100%; }
.contact-kicker { font-size: 12px; color: #617962; letter-spacing: 1px; }
.contact-copy h3 { margin: 8px 0 10px; font-size: 23px; color: #235c46; }
.contact-copy p { font-size: 14px; line-height: 1.85; color: #596c61; }
.contact-copy .contact-identity { margin-top: 10px; font-size: 12px; color: #657368; }
.contact-save, .contact-booking { display: inline-block; color: #286b53; font-size: 13px; text-underline-offset: 4px; }
.contact-save { margin-top: 14px; }
#contact { scroll-margin-top: 20px; }
#contact .cta-avi { object-fit: contain; background: #fff; }
.cta-btn, .sticky-a { background: #367965; box-shadow: 0 4px 14px #4968361a; }
.cta-btn:hover { background: #2b6352; transform: translateY(-2px); box-shadow: 0 6px 20px #49683626; }
.qinghe-footer { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.qinghe-footer .qinghe-mascot { width: 47px; }
.qinghe-footer strong { font-size: 14px; letter-spacing: 2px; color: #376e56; }
.qinghe-footer p { font-size: 11px; color: #547665; margin-top: 3px; }
.qinghe-footer span { font-size: 10px; color: #617f6f; }
.sticky { padding-bottom: calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 16px #314a2509; background: #fffefbf5; }
.bsheet:not(.open) { visibility: hidden; }
.source-note { margin-top: 12px; font-size: 11px; line-height: 1.8; color: #506e62; }
.source-note a { color: #285e50; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Student exhibition: brand-preserving redesign, variance 7 / motion 5 / density 3. */
#works { padding-top: 40px; }
#cases-title { font-size: 32px; letter-spacing: -1px; }
#cases-title > span { color: #367965; }
.case-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 24px 0; }
.case-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 10px; border: 1px solid transparent; border-radius: 14px; background: #f6f8f2; color: #53685a; text-align: left; font: inherit; cursor: pointer; transition: background .2s, box-shadow .2s; }
.case-tabs button > img { width: 44px; height: 44px; object-fit: cover; border-radius: 9px; filter: saturate(.65); }
.case-tabs button > span { font-size: 15px; font-weight: 600; }
.case-tabs button small { display: block; margin-top: 2px; font-size: 10px; font-weight: 400; }
.case-tabs button .case-tab-arrow { display: none; }
.case-tabs button[aria-selected="true"] { background: #eaf3e4; color: #285e50; border-color: #98bda0; box-shadow: 0 3px 0 #367965; }
.case-tabs button[aria-selected="true"] > img { filter: none; }
.case-tabs button:hover:not([aria-selected="true"]) { background: #edf2e7; }
.student-case { min-width: 0; --preview-angle: 1deg; --preview-entry-angle: 3deg; --photo-angle: -6deg; --photo-entry-angle: -10deg; --photo-hover-angle: -2deg; --tape-angle: 4deg; }
.case-photo-right { --preview-angle: -1deg; --preview-entry-angle: -3deg; --photo-angle: 6deg; --photo-entry-angle: 10deg; --photo-hover-angle: 2deg; --tape-angle: -4deg; }
.student-case[hidden] { display: none; }
.case-showcase { position: relative; isolation: isolate; padding: 28px 22px 94px 84px; border-radius: 22px; background-color: #eaf1e4; background-image: linear-gradient(#d3dfca55 1px, transparent 1px), linear-gradient(90deg,#d3dfca55 1px,transparent 1px); background-size: 36px 36px; }
.case-preview { text-decoration: none; position: relative; display: block; color: #5c705e; border: 6px solid #fff; border-radius: 13px; background: white; box-shadow: 0 16px 30px #30442a24, 0 2px 5px #30442a12; overflow: hidden; transform: rotate(var(--preview-angle)); transform-origin: 70% 60%; transition: transform .35s, box-shadow .35s; animation: case-project-enter .55s cubic-bezier(.2,.7,.2,1) backwards; }
.case-preview:hover { transform: rotate(0deg) translateY(-5px); box-shadow: 0 22px 35px #30442a2e; }
.case-browser-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 29px; padding: 0 10px; background: #fff; font-size: 10px; }
.case-browser-bar span:last-child { color: #367965; }
.case-work-image { display: block; width: 100%; height: auto; }
.case-classroom { position: absolute; z-index: 2; width: 182px; bottom: 24px; left: 20px; margin: 0; padding: 7px 7px 0; background: #fffdf7; border-radius: 3px; box-shadow: 0 8px 18px #253d2b33; transform: rotate(var(--photo-angle)); transition: transform .35s; animation: case-photo-enter .6s .12s cubic-bezier(.2,.7,.2,1) backwards; }
.case-classroom:hover { transform: rotate(var(--photo-hover-angle)) translateY(-4px); }
.case-classroom::before { content: ''; position: absolute; z-index: 1; left: 33%; top: -9px; width: 65px; height: 20px; background: #d8e4bccc; transform: rotate(var(--tape-angle)); }
.case-classroom a { display: block; line-height: 0; }
.case-classroom img { display: block; width: 100%; height: 174px; object-fit: cover; object-position: center; }
.case-classroom figcaption { padding: 9px 0 10px; color: #5d7058; font-size: 10px; text-align: center; }
.case-stage-caption { padding: 0 6px 0 134px; position: absolute; bottom: 24px; left: 84px; right: 22px; color: #436450; }
.case-photo-right .case-showcase { padding: 28px 84px 94px 22px; }
.case-photo-right .case-preview { transform-origin: 30% 60%; }
.case-photo-right .case-classroom { left: auto; right: 20px; }
.case-photo-right .case-stage-caption { left: 22px; right: 84px; padding: 0 134px 0 6px; text-align: right; }
.case-stage-caption > span { display: block; font-size: 16px; font-weight: 600; }
.case-stage-caption small { font-size: 10px; color: #64765e; }
.case-project-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0 22px; }
.case-project-heading h3 { color: #285e50; font-size: 29px; letter-spacing: -.6px; line-height: 1.4; }
.case-project-tags { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: 11px; color: #6c7b65; }
.case-work { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 24px; min-height: 46px; padding: 11px 22px; border-radius: 24px; background: #367965; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .2s, background .2s; }
.case-work:hover { transform: translateY(-3px); background: #285e50; }
.case-progress { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; padding: 17px 22px; border-top: 1px solid #dce6d7; border-bottom: 1px solid #dce6d7; font-size: 16px; color: #778273; }
.case-progress small { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 400; color: #687963; }
.case-progress strong { color: #285e50; font-weight: 600; }
.case-progress-arrow { font-size: 25px; color: #91af8e; }
.case-voices { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; padding-top: 22px; animation: case-voice-enter .45s .18s ease-out backwards; }
.case-feedback { min-width: 0; }
.case-voice-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.case-voice-heading img, .case-voice-initial { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #e8efdf; color: #416a4f; font-size: 12px; }
.case-voice-heading h4 { color: #54705c; font-size: 12px; font-weight: 500; }
.case-feedback blockquote { margin: 0; color: #3b5444; font-size: 14px; line-height: 1.85; }
.case-notice { margin-top: 23px; color: #6b766c; font-size: 10px; line-height: 1.8; }
@keyframes case-project-enter { from { opacity: 0; transform: translateY(16px) rotate(var(--preview-entry-angle)); } to { opacity: 1; transform: rotate(var(--preview-angle)); } }
@keyframes case-photo-enter { from { opacity: 0; transform: translateY(20px) rotate(var(--photo-entry-angle)); } to { opacity: 1; transform: rotate(var(--photo-angle)); } }
@keyframes case-voice-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.core-table { table-layout: fixed; width: 100%; }
.core-table th:first-child { width: 25%; }
.core-table td, .core-table th { overflow-wrap: anywhere; }
.sheet-trigger { font-family: inherit; cursor: pointer; }
:is(a, button, [tabindex]):focus-visible { outline: 3px solid #75aa90; outline-offset: 4px; }

@media (min-width: 1040px) {
  .sticky { max-width: 840px; margin-inline: auto; border: 1px solid #e1e7da; border-bottom: 0; border-radius: 16px 16px 0 0; }
}
@media (max-width: 700px) {
  .review-cloud-heading h2 { font-size: 12px; }
  .review-cloud-heading > div { gap: 7px; }
  .review-stream { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-inline: 3px; min-height: 206px; }
  .floating-comment { padding: 12px 10px; animation-name: comment-float-mobile; animation-duration: 72s; }
  .floating-comment p { font-size: 12px; }
  .floating-comment:nth-child(1) { --lane: 1; --delay: -0.4s; }
  .floating-comment:nth-child(2) { --lane: 2; --delay: -1.9s; }
  .floating-comment:nth-child(3) { --lane: 1; --delay: -3.4s; }
  .floating-comment:nth-child(4) { --lane: 2; --delay: -4.9s; }
  .floating-comment:nth-child(5) { --lane: 1; --delay: -6.4s; }
  .floating-comment:nth-child(6) { --lane: 2; --delay: -7.9s; }
  .floating-comment:nth-child(7) { --lane: 1; --delay: -9.4s; }
  .floating-comment:nth-child(8) { --lane: 2; --delay: -10.9s; }
  .floating-comment:nth-child(9) { --lane: 1; --delay: -12.4s; }
  .floating-comment:nth-child(10) { --lane: 2; --delay: -13.9s; }
  .floating-comment:nth-child(11) { --lane: 1; --delay: -15.4s; }
  .floating-comment:nth-child(12) { --lane: 2; --delay: -16.9s; }
  .floating-comment:nth-child(13) { --lane: 1; --delay: -18.4s; }
  .floating-comment:nth-child(14) { --lane: 2; --delay: -19.9s; }
  .floating-comment:nth-child(15) { --lane: 1; --delay: -21.4s; }
  .floating-comment:nth-child(16) { --lane: 2; --delay: -22.9s; }
  .floating-comment:nth-child(17) { --lane: 1; --delay: -24.4s; }
  .floating-comment:nth-child(18) { --lane: 2; --delay: -25.9s; }
  .floating-comment:nth-child(19) { --lane: 1; --delay: -27.4s; }
  .floating-comment:nth-child(20) { --lane: 2; --delay: -28.9s; }
  .floating-comment:nth-child(21) { --lane: 1; --delay: -30.4s; }
  .floating-comment:nth-child(22) { --lane: 2; --delay: -31.9s; }
  .floating-comment:nth-child(23) { --lane: 1; --delay: -33.4s; }
  .floating-comment:nth-child(24) { --lane: 2; --delay: -34.9s; }
  .floating-comment:nth-child(25) { --lane: 1; --delay: -36.4s; }
  .floating-comment:nth-child(26) { --lane: 2; --delay: -37.9s; }
  .floating-comment:nth-child(27) { --lane: 1; --delay: -39.4s; }
  .floating-comment:nth-child(28) { --lane: 2; --delay: -40.9s; }
  .floating-comment:nth-child(29) { --lane: 1; --delay: -42.4s; }
  .floating-comment:nth-child(30) { --lane: 2; --delay: -43.9s; }
  .floating-comment:nth-child(31) { --lane: 1; --delay: -45.4s; }
  .floating-comment:nth-child(32) { --lane: 2; --delay: -46.9s; }
  .floating-comment:nth-child(33) { --lane: 1; --delay: -48.4s; }
  .floating-comment:nth-child(34) { --lane: 2; --delay: -49.9s; }
  .floating-comment:nth-child(35) { --lane: 1; --delay: -51.4s; }
  .floating-comment:nth-child(36) { --lane: 2; --delay: -52.9s; }
  .floating-comment:nth-child(37) { --lane: 1; --delay: -54.4s; }
  .floating-comment:nth-child(38) { --lane: 2; --delay: -55.9s; }
  .floating-comment:nth-child(39) { --lane: 1; --delay: -57.4s; }
  .floating-comment:nth-child(40) { --lane: 2; --delay: -58.9s; }
  .floating-comment:nth-child(41) { --lane: 1; --delay: -60.4s; }
  .floating-comment:nth-child(42) { --lane: 2; --delay: -61.9s; }
  .floating-comment:nth-child(43) { --lane: 1; --delay: -63.4s; }
  .floating-comment:nth-child(44) { --lane: 2; --delay: -64.9s; }
  .floating-comment:nth-child(45) { --lane: 1; --delay: -66.4s; }
  .floating-comment:nth-child(46) { --lane: 2; --delay: -67.9s; }
  .floating-comment:nth-child(47) { --lane: 1; --delay: -69.4s; }
  .floating-comment:nth-child(48) { --lane: 2; --delay: -70.9s; }
  #cases-title { font-size: 27px; line-height: 1.5; }
  #cases-title > span { display: block; }
  .case-tabs { gap: 6px; margin: 20px 0; }
  .case-tabs button { gap: 6px; padding: 6px; }
  .case-tabs button > img { width: 32px; height: 32px; }
  .case-tabs button > span { font-size: 13px; }
  .case-tabs button .case-tab-arrow { display: none; }
  .case-tabs button small { display: none; }
  .case-showcase { padding: 18px 12px 98px; border-radius: 15px; }
  .case-preview { border-width: 4px; border-radius: 9px; }
  .case-browser-bar { height: 24px; padding-inline: 5px; font-size: 8px; }
  .case-classroom { width: 108px; bottom: 14px; left: 16px; padding: 5px 5px 0; }
  .case-classroom img { height: 98px; }
  .case-classroom figcaption { font-size: 8px; padding: 7px 0; }
  .case-classroom::before { width: 44px; height: 15px; top: -7px; }
  .case-stage-caption { left: 140px; right: 10px; bottom: 24px; padding: 0; }
  .case-photo-right .case-showcase { padding: 18px 12px 98px; }
  .case-photo-right .case-classroom { left: auto; right: 16px; }
  .case-photo-right .case-stage-caption { left: 10px; right: 140px; padding: 0; }
  .case-stage-caption > span { font-size: 12px; }
  .case-stage-caption small { font-size: 8px; }
  .case-project-heading { gap: 8px; padding: 22px 0 18px; }
  .case-project-heading h3 { font-size: clamp(18px, 5vw, 22px); }
  .case-project-tags { gap: 12px; font-size: 10px; margin-top: 6px; }
  .case-work { gap: 12px; padding: 10px 15px; font-size: 12px; min-height: 42px; }
  .case-progress { gap: 10px; padding: 14px 0; font-size: 13px; }
  .case-progress-arrow { font-size: 20px; }
  .case-voices { grid-template-columns: 1fr; gap: 18px; padding-top: 20px; }
  .case-feedback blockquote { font-size: 13px; }
  .case-notice { margin-top: 20px; }
  .contact-card { flex-direction: column; gap: 18px; padding: 22px 20px; text-align: center; }
  .contact-copy h3 { font-size: 21px; }
  .contact-copy p { font-size: 13px; }
  .hero-aside { display: none; }
  .qinghe-header { min-height: 90px; margin-inline: 24px; }
  .qinghe-identity img { width: 60px; height: 60px; }
  .qinghe-identity strong { font-size: 19px; }
  .qinghe-identity span { font-size: 10px; }
  .qinghe-header-note { font-size: 11px; }
  section { padding: 34px 24px 28px; }
  .hero { padding: 24px 24px 20px; background-size: auto 350px; }
  .av-wrap, .hero-avatar { width: 108px; height: 108px; }
  .hero h1 { font-size: 30px; }
  .title-sub { font-size: 12px; }
  .hero .tags { gap: 10px; margin-top: 20px; }
  .hero .tag { min-height: 51px; font-size: 12px; padding: 12px; gap: 8px; white-space: nowrap; }
  .hero .tag .ico { width: 18px; height: 18px; }
  .hero .tag::after { display: none; }
  .tags-hint { font-size: 10px; }
  .stats-row { padding: 22px 5px 18px; }
  .stats-spark { left: 10px; top: 8px; width: 18px; height: 18px; }
  .num { font-size: 30px; }
  .stat-label { font-size: 11px; }
  .hero-quote { padding: 20px 108px 20px 18px; min-height: 154px; }
  .hero-quote .quote-label { font-size: 11px; margin-bottom: 9px; }
  .hero-quote strong { font-size: 15px; }
  .hero-quote strong span { display: block; }
  .hero-quote p { font-size: 12px; }
  .hero-mascot { width: 98px; height: 143px; right: 4px; bottom: -9px; }
  h2 { font-size: 23px; }
  p.desc { font-size: 14px; }
  .core-block { padding: 20px 16px; }
  .core-h { font-size: 17px; }
  .core-body, .core-match p { font-size: 14px; }
}
@media (max-width: 519px) {
  body { background: #fffefb; }
  main { width: 100%; margin: 0 auto; border: 0; border-radius: 0; box-shadow: none; padding-bottom: 108px; }
  .qinghe-header { min-height: 80px; margin-inline: 24px; }
  .qinghe-identity img { width: 50px; height: 50px; }
  .qinghe-identity strong { font-size: 16px; }
  .qinghe-header-note { font-size: 10px; letter-spacing: 0; }
  .hero { padding-top: 32px; }
}
@media (max-width: 359px) {
  .hero .tag { padding: 9px; gap: 6px; font-size: 11px; }
  .hero .tag .ico { width: 16px; height: 16px; }
  .num { font-size: 24px; }
  .hero-quote { padding: 18px 86px 18px 16px; }
  .hero-mascot { width: 82px; height: 120px; }
  .hero .tag::after { display: none; }
  .qinghe-header { margin-inline: 18px; gap: 6px; }
  .qinghe-identity { gap: 5px; }
  .qinghe-header-note { font-size: 9px; }
  .qinghe-footer { gap: 10px; margin-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .review-stream { min-height: 0; max-height: 360px; overflow-y: auto; scrollbar-width: thin; padding: 12px 2px; mask-image: none; align-items: stretch; }
  .floating-comment { grid-column: auto; grid-row: auto; align-self: stretch; opacity: 1; transform: none; }
  .review-toggle { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .bsheet-body > * { opacity: 1; transform: none; }
  .growth-line.motion-ready .growth-part { opacity: 1; transform: none; }
  .growth-line.motion-ready .growth-emphasis::after { transform: scaleX(1); }
}

/* Keep the supplied portrait framed on the face in circular teacher avatars. */
.hero-avatar, .case-voice-heading img[src="assets/mali-portrait.jpg"] { object-position: 50% 10%; }
