/* Launch refinement: retain the established editorial palette and motion. */
:root { --muted: #62655f; }
.site-header nav a[aria-current] { color: var(--red); }
.site-header nav a[aria-current]:after { right: 0; }
.header-contact[aria-current] { color: var(--red); }
.page-dark .collection-hero > p:last-child { max-width: 780px; }
.demo-link-note { color: #b8beb8; font-size: 12px; line-height: 1.9; margin-top: 16px; max-width: 470px; }
.lab-feature-copy > .demo-link-note { font-size: 12px; }
.quiz-live-link { background: transparent; color: var(--white); border-bottom: 1px solid #737a76; padding: 10px 0; margin-left: 20px; min-height: 44px; }
.quiz-live-link:hover { background: transparent; color: var(--red); }
.case-prose .quiz-live-link { color: var(--ink); border-color: var(--muted); }
.case-prose .demo-link-note { color: var(--muted); font-size: 12px; }
.watch-project { margin-top: 28px; }
.watch-project .button { margin-top: 0; }
.watch-project > p { font-size: 13px; line-height: 1.9; color: #bcc2ba; max-width: 700px; margin-top: 14px; }
.watch-project > small { display: block; font-size: 11px; color: #a6ada6; margin-top: 8px; }
.case-prose .watch-project > p, .case-prose .watch-project > small { color: var(--muted); }
.archive-extra-links { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 38px; padding-block: 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.archive-extra-links a { font-size: 14px; line-height: 1.9; border-bottom: 1px solid var(--red); padding-bottom: 6px; }
.archive-extra-links a:hover { color: #a34232; }
.evidence-grid { align-items: start; }
.evidence-badge button { aspect-ratio: 3 / 4; background: white; }
.evidence-badge button img { height: 100%; max-height: none; object-fit: cover; transform: scale(1.6); }
.evidence-badge button:hover img { transform: scale(1.65); }
.award-proof button { max-width: 900px; margin-inline: auto; aspect-ratio: 1.35; background: white; }
.award-proof img { height: 100%; max-height: none; object-fit: cover; object-position: 50% 65%; }
@media(max-width:760px) { .archive-extra-links { gap: 18px; } .archive-extra-links a { font-size: 13px; } }
.case-hero > .demo-link-note { max-width: 650px; }

@media (min-width: 761px) {
  .hero { min-height: 780px; }
  #hero-title { top: 8%; }
  .name-first { font-size: clamp(105px, 12vw, 184px); }
  .name-last { font-size: clamp(70px, 10.3vw, 158px); }
  .hero-copy { bottom: 13%; max-width: 32%; }
  .hero-rule { margin-bottom: 20px; }
  .hero-visual { bottom: 22%; }
}

.home-app-preview { background: #222728; padding: 38px 24px 28px; overflow: hidden; border: 1px solid #39403d; }
.home-app-preview .screen-pair { display: flex; justify-content: center; align-items: center; gap: 16px; width: 100%; }
.home-app-preview .screen-pair img { width: 42%; max-width: 206px; height: auto; object-fit: contain; border-radius: 15px; border: 5px solid #121616; box-shadow: 0 20px 45px #0005; transition: transform .6s var(--ease); }
.home-app-preview .screen-pair img:first-child { transform: translateY(-9px) rotate(-3deg); }
.home-app-preview .screen-pair img:last-child { transform: translateY(12px) rotate(3deg); }
.home-app-preview:hover .screen-pair img { transform: translateY(0) rotate(0); }
.home-app-preview > span:last-child { margin-top: 18px; text-align: center; }
.home-qingjiao-preview { display: grid; grid-template-columns: .8fr 1.4fr; gap: 56px; align-items: center; padding: 46px 0; margin: 0; border-bottom: 1px solid var(--dark-line); }
.qingjiao-summary .lab-number { color: var(--red); margin-top: 0; }
.qingjiao-summary h3 { font-size: 32px; font-weight: 400; margin-bottom: 22px; }
.qingjiao-summary > p:not(.lab-number) { font-size: 15px; color: #b8beb8; line-height: 2; }
.home-qingjiao-preview .case-state { display: inline-block; padding: 8px 0; margin-top: 20px; }
.home-qingjiao-preview .project-read { margin-top: 18px; color: var(--white); }
.desktop-screen { padding: 0 12px 12px; background: #303635; border: 1px solid #444c49; border-radius: 10px; overflow: hidden; transition: transform .5s var(--ease); }
.screen-bar { height: 35px; display: flex; align-items: center; gap: 5px; }
.screen-bar i { width: 5px; height: 5px; background: #89928b; border-radius: 50%; }
.home-qingjiao-preview .screen-bar span { padding: 0; font-size: 9px; margin-left: 10px; color: #bfc6bf; }
.home-qingjiao-preview:hover .desktop-screen { transform: translateY(-5px); }

.ai-case-feature { grid-template-columns: 65px minmax(0, 1fr) minmax(0, .95fr) 30px; align-items: center; gap: 30px; padding-block: 48px; }
.ai-case-feature .ai-case-number { align-self: start; }
.ai-case-feature .ai-case-arrow { grid-column: 4; grid-row: 1; }
.ai-case-feature .ai-case-visual { grid-column: 3; grid-row: 1; }
.ai-case-feature h2 { font-size: clamp(23px, 2.2vw, 32px); }
.ai-case-visual { min-width: 0; background: #272e2c; border: 1px solid #3c4540; padding: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; overflow: hidden; }
.ai-case-visual.phone img { width: 36%; height: auto; border: 4px solid #131817; border-radius: 13px; box-shadow: 0 12px 26px #0005; }
.ai-case-visual.phone img:first-child { transform: translateY(-6px) rotate(-3deg); }
.ai-case-visual.phone img:nth-child(2) { transform: translateY(6px) rotate(3deg); }
.ai-case-visual.desktop img { width: 100%; height: auto; }
.ai-case-visual > span { flex-basis: 100%; font-size: 11px; color: #bdc5bd; text-align: center; padding-top: 10px; line-height: 1.8; }
.publication-feature { background: #e7e3da; border-top: 2px solid var(--ink); padding: 30px; margin-bottom: 16px; }
.publication-preview { float: right; width: 25%; height: auto; margin: 0 0 22px 25px; border: 1px solid #d0ccc2; box-shadow: 0 8px 22px #17191a0d; }
.publication-feature a { display: flow-root; }

.contact-page .collection-hero { padding-block: 36px 42px; }
.contact-page .collection-hero h1 { margin: 20px 0; gap: 15px; }
.contact-page .collection-hero h1 em { font-size: clamp(48px, 5.7vw, 82px); }
.contact-page .contact-methods { grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.contact-methods .wechat-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 240px); gap: 24px; padding: 30px; background: #e6e2d9; border-top: 2px solid var(--ink); align-items: center; }
.wechat-panel .wechat-qr { margin: 0; max-width: 240px; }
.wechat-panel .contact-value { font-size: clamp(28px, 2.5vw, 40px); margin: 18px 0; }
.wechat-panel .channel-note { font-size: 12px; margin-top: 18px; }
.contact-methods .email-panel { background: var(--ink); color: var(--white); padding: 30px; border-top: 2px solid var(--red); }
.email-panel .eyebrow, .email-panel .channel-note { color: #bcc2ba; }
.email-panel .contact-value-email { font-size: clamp(20px, 2.2vw, 33px); margin: 24px 0; }
.email-panel .text-link { border-color: #777e78; }
.wechat-qr figcaption { font-size: 10px; }
.contact-page .collaboration-scope > div { gap: 32px 45px; }

@media (max-width: 1100px) and (min-width: 761px) {
  .hero-visual figcaption { left: auto; right: 16px; bottom: 16px; padding: 10px 13px; background: #17191acc; color: var(--white); text-align: right; z-index: 3; }
  .home-qingjiao-preview { gap: 30px; }
  .contact-methods .wechat-panel { grid-template-columns: 1fr; }
  .contact-page .contact-methods { grid-template-columns: 1.2fr 1fr; }
}
@media (max-width: 760px) {
  .site-header .menu-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
  .site-header .header-contact { min-height: 44px; align-items: center; }
  .hero-copy { top: 525px; }
  .hero-chinese-name > span { font-size: 12px; }
  .quiz-live-link { display: flex; width: fit-content; margin-left: 0; margin-top: 12px; }
  .home-app-preview { padding: 30px 14px 20px; }
  .home-app-preview .screen-pair { gap: 10px; }
  .home-app-preview .screen-pair img { width: 43%; border-width: 3px; border-radius: 11px; }
  .home-app-preview > span:last-child { font-size: 11px; }
  .home-qingjiao-preview { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
  .qingjiao-summary h3 { font-size: 27px; margin-bottom: 16px; }
  .qingjiao-summary > p:not(.lab-number) { font-size: 14px; }
  .qingjiao-summary > p br { display: none; }
  .ai-case-feature { grid-template-columns: 35px minmax(0, 1fr) 20px; gap: 20px 14px; padding-block: 30px; }
  .ai-case-feature .ai-case-arrow { grid-column: 3; }
  .ai-case-feature .ai-case-visual { grid-column: 1 / -1; grid-row: 2; }
  .ai-case-feature .ai-case-number { font-size: 36px; }
  .ai-case-visual { padding: 25px 14px; }
  .ai-case-visual.phone img { width: 38%; }
  .publication-feature { padding: 22px; }
  .publication-preview { width: 29%; margin-left: 16px; }
  .contact-page .collection-hero { padding-block: 28px 32px; }
  .contact-page .collection-hero h1 em { font-size: clamp(40px, 10.3vw, 65px); }
  .contact-page .contact-methods { grid-template-columns: 1fr; }
  .contact-methods .wechat-panel { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .wechat-panel .wechat-qr { width: 100%; max-width: 260px; margin-inline: auto; }
  .contact-methods .email-panel { padding: 24px; }
  .email-panel .contact-value-email { font-size: clamp(20px, 6vw, 29px); }
  .case-state, .row-state, .lab-note, .work-footnote { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-app-preview .screen-pair img, .home-qingjiao-preview:hover .desktop-screen { transform: none; }
}
