:root {
  --red: #e73125;
  --red-dark: #b71d18;
  --ink: #20201f;
  --muted: #686762;
  --paper: #f7f6f1;
  --line: #d9d7d0;
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
button, a { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 20; padding: .5rem .8rem; color: #fff; background: var(--ink); }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 84px; padding: 15px clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(247,246,241,.96); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.1; }
.brand img { width: 44px; height: 40px; object-fit: contain; }
.brand span { display: grid; gap: 3px; }
.brand strong { font-size: 1.2rem; letter-spacing: .15em; }
.brand small { color: var(--muted); font-size: .67rem; letter-spacing: .1em; }
nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); font-size: .9rem; }
nav a { text-decoration: none; }
nav a:not(.nav-contact):hover, nav a:not(.nav-contact):focus-visible { color: var(--red); }
.nav-contact { padding: .45rem .9rem; color: #fff; background: var(--red); }
.menu-toggle { display: none; padding: .35rem .5rem; border: 0; background: transparent; }
.hero { min-height: min(690px, calc(100vh - 84px)); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); padding: clamp(62px, 11vw, 150px) clamp(24px, 9vw, 150px) clamp(72px, 10vw, 130px); gap: clamp(30px, 7vw, 120px); align-items: end; overflow: hidden; }
.eyebrow { margin: 0 0 16px; color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .18em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.06em; line-height: 1.18; }
h1 { margin-bottom: 28px; font-size: clamp(3rem, 7vw, 6.8rem); }
h1 em { color: var(--red); font-style: normal; }
.hero-lead { max-width: 35rem; margin-bottom: 32px; color: #3e3d39; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.2rem; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { border-color: var(--ink); background: transparent; }
.hero-panel { min-height: 390px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: var(--red); position: relative; overflow: hidden; }
.hero-panel::after { content: "万简"; position: absolute; right: -17px; bottom: -100px; color: rgba(255,255,255,.13); font-family: var(--display); font-size: 13rem; line-height: 1; }
.panel-mark { z-index: 1; width: 51px; height: 51px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.75); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.hero-panel p { z-index: 1; margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 2.5vw, 2.6rem); line-height: 1.3; }
.hero-panel ul { z-index: 1; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.5); }
.hero-panel li { padding-top: 8px; font-size: .83rem; }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip p { margin: 0; padding: 18px 24px; border-right: 1px solid var(--line); font-size: .82rem; text-align: center; }
.proof-strip p:last-child { border-right: 0; }
.section { padding: clamp(74px, 10vw, 140px) clamp(24px, 9vw, 150px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 48px; }
.section-heading h2, .collaboration h2, .research h2, .contact h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4.5vw, 4.45rem); }
.services { background: #fff; }
.service-selector { border: 1px solid var(--line); }
.service-choices { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-choice { min-height: 258px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; border: 0; border-right: 1px solid var(--line); color: var(--ink); background: #fff; text-align: left; cursor: pointer; transition: background .24s ease, color .24s ease; }
.service-choice:last-child { border-right: 0; }
.service-choice > span { color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .05em; }
.service-choice strong { max-width: 12rem; margin: auto 0 24px; font-family: var(--display); font-size: clamp(1.55rem, 2.25vw, 2.25rem); font-weight: 600; line-height: 1.25; }
.service-choice em { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .76rem; font-style: normal; }
.service-choice i { font-size: 1rem; font-style: normal; transition: transform .24s ease; }
.service-choice:hover { background: #f4f2ec; }
.service-choice:hover i { transform: translate(3px, 3px); }
.service-choice.is-active, .service-choice.is-active:hover { position: relative; color: #fff; background: var(--red); }
.service-choice.is-active::after { position: absolute; right: 28px; bottom: 0; width: 52px; height: 4px; background: #fff; content: ""; }
.service-choice.is-active > span, .service-choice.is-active em { color: #fff; }
.service-choice:focus-visible { z-index: 1; outline: 3px solid var(--ink); outline-offset: -3px; }
.service-detail { min-height: 292px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); gap: clamp(40px, 7vw, 112px); padding: clamp(32px, 4vw, 58px); border-top: 1px solid var(--line); background: #f4f2ec; animation: service-detail-in .3s ease both; }
.service-detail[hidden] { display: none; }
.service-detail-label { margin: 0 0 16px; color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.service-detail h3 { max-width: 36rem; margin: 0 0 20px; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 600; line-height: 1.32; }
.service-detail-copy > p:last-child { max-width: 38rem; margin: 0; color: var(--muted); font-size: .92rem; }
.service-detail-meta { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.service-detail-meta > div { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.service-detail-meta span { display: block; margin-bottom: 5px; color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.service-detail-meta p { margin: 0; font-size: .85rem; line-height: 1.7; }
.service-page-link { color: var(--ink); font-size: .82rem; font-weight: 700; text-decoration: none; }
.service-page-link:hover { color: var(--red); }
.service-page-link span { margin-left: 4px; }
.service-detail-meta .text-link { align-self: flex-start; margin-top: 2px; }
@keyframes service-detail-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.collaboration { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: clamp(42px, 11vw, 180px); color: #fff; background: var(--ink); }
.collaboration p:not(.eyebrow) { max-width: 38rem; margin: 26px 0; color: #d2d0ca; }
.text-link { display: inline-flex; gap: 8px; color: var(--red); font-weight: 700; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.collaboration-points { margin: 0; border-top: 1px solid #55534d; }
.collaboration-points div { padding: 22px 0; display: grid; grid-template-columns: 7rem 1fr; border-bottom: 1px solid #55534d; }
.collaboration-points dt { color: #fff; font-family: var(--display); font-size: 1.2rem; }
.collaboration-points dd { margin: 0; color: #bdbbb4; font-size: .9rem; }
.cases-heading { margin-bottom: 24px; }
.section-note { max-width: 21rem; margin: 0; color: var(--muted); font-size: .85rem; }
.case-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.case-filters button { padding: .5rem .85rem; border: 1px solid var(--line); color: var(--muted); background: transparent; cursor: pointer; }
.case-filters button.is-active, .case-filters button.is-active:hover { border-color: var(--red); color: #fff; background: var(--red); }
.case-filters button:hover { border-color: var(--ink); color: #fff; background: var(--ink); }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.case-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-top: 28px; }
.case-pagination button { min-width: 2.5rem; padding: .42rem .7rem; border: 1px solid var(--line); color: var(--muted); background: transparent; cursor: pointer; }
.case-pagination button.is-active, .case-pagination button:hover { border-color: var(--ink); color: #fff; background: var(--ink); }
.case-card { min-height: 300px; padding: 26px 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background .2s ease; }
.case-card:nth-child(odd) { border-left: 1px solid var(--line); }
.case-card:hover { background: #fff; }
.case-type { color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.case-card h3 { max-width: 31rem; margin: 22px 0; font-family: var(--display); font-size: clamp(1.45rem, 2.3vw, 2rem); font-weight: 600; line-height: 1.35; }
.case-card h3 a { text-decoration: none; }
.case-card h3 a:hover { color: var(--red); }
.case-image { margin: 18px 0 0; overflow: hidden; background: #dedbd3; }
.case-image img { width: 100%; height: 156px; display: block; object-fit: cover; }
.case-image figcaption { padding: 6px 8px; color: var(--muted); font-size: .7rem; }
.case-card dl { margin: auto 0 0; }
.case-card dl div { display: grid; grid-template-columns: 5.8rem 1fr; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); font-size: .8rem; }
.case-card dt { color: var(--muted); }
.case-card dd { margin: 0; }
.case-card.is-hidden { display: none; }
.case-note { margin: 22px 0 0; color: var(--muted); font-size: .78rem; }
.research { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .45fr); align-items: end; gap: 40px; background: #fff; }
.research-card { padding: clamp(34px, 5vw, 66px); color: #fff; background: var(--red); }
.research-card .eyebrow { color: #fff; }
.research-card p:not(.eyebrow) { max-width: 34rem; margin: 26px 0; color: #fff4ef; }
.research-card .text-link { color: #fff; }
.research-note { padding-bottom: 20px; color: var(--muted); font-size: .86rem; }
.research-note strong { color: var(--ink); font-family: var(--display); font-size: 1.3rem; }
.research-note p { margin: 10px 0 0; }
.research-feed { margin-top: 22px; border-top: 1px solid var(--line); }
.research-feed > p { padding-top: 14px; color: var(--muted); font-size: .78rem; }
.research-article { display: grid; gap: 4px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.research-article:hover { color: var(--red); }
.research-article strong { font-family: var(--display); font-size: 1rem; line-height: 1.45; }
.research-article small { color: var(--muted); font-size: .7rem; }
.contact { padding: clamp(70px, 10vw, 130px) clamp(24px, 9vw, 150px); display: grid; grid-template-columns: 1.1fr .55fr; gap: 60px; color: #fff; background: var(--ink); }
.contact .contact-route { align-self: end; }
.contact-route p { color: #c7c5be; }
.contact-options { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.contact-email { color: #fff; font-size: 1.05rem; text-underline-offset: 4px; }
.contact-route small { display: block; margin-top: 16px; color: #8d8b84; font-size: .72rem; }
.contact-route .contact-address { margin: 18px 0 0; color: #fff; font-size: .86rem; }
.site-footer { padding: 28px clamp(24px, 5vw, 76px); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); background: #151514; font-size: .73rem; }
.site-footer p { margin: 0; }
.site-footer a { color: inherit; text-underline-offset: 3px; }
.brand-footer { color: #fff; }
.brand-footer small { color: #a3a19a; }
.case-page { max-width: 1050px; margin: 0 auto; padding: clamp(52px, 8vw, 100px) clamp(24px, 5vw, 64px); }
.crumb { margin-bottom: 42px; color: var(--muted); font-size: .82rem; }
.crumb a { color: var(--red); }
.case-page h1 { max-width: 18ch; margin-bottom: 42px; font-size: clamp(2.7rem, 6vw, 5.4rem); }
.case-record { display: grid; grid-template-columns: 190px 1fr; margin: 0; border-top: 2px solid var(--ink); }
.case-record div { display: contents; }
.case-record dt, .case-record dd { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
.case-record dt { color: var(--muted); font-size: .85rem; }
.case-record dd { max-width: 48rem; }
.case-disclosure { margin-top: 28px; color: var(--muted); font-size: .78rem; }
.case-page .button { margin-top: 44px; }
.service-page { max-width: 1200px; margin: 0 auto; padding: clamp(52px, 8vw, 110px) clamp(24px, 6vw, 86px); }
.service-page-header { max-width: 52rem; padding-bottom: clamp(42px, 6vw, 76px); border-bottom: 2px solid var(--ink); }
.service-page-header h1 { max-width: 17ch; margin: 18px 0 24px; font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 1.16; }
.service-page-lead { max-width: 42rem; margin: 0; color: var(--muted); font-size: 1.08rem; }
.service-page-nav { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 34px; }
.service-page-nav a { color: var(--muted); font-size: .82rem; text-decoration: none; }
.service-page-nav a[aria-current="page"], .service-page-nav a:hover { color: var(--red); font-weight: 700; }
.service-page-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .72fr); gap: clamp(42px, 10vw, 142px); padding-top: clamp(48px, 7vw, 90px); }
.service-page-section + .service-page-section { margin-top: 56px; }
.service-page-section h2 { margin-bottom: 22px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.service-page-section p { max-width: 46rem; color: var(--muted); }
.service-page-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-page-list li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.service-page-list strong { color: var(--ink); }
.service-page-aside { align-self: start; padding: 32px; background: var(--ink); color: #fff; }
.service-page-aside .eyebrow { margin-bottom: 28px; }
.service-page-aside h2 { margin-bottom: 22px; font-size: 1.75rem; line-height: 1.35; }
.service-page-aside p { color: #d2d0ca; font-size: .9rem; }
.service-page-aside .button { margin-top: 20px; }
.service-faq { margin: 0; border-top: 1px solid var(--line); }
.service-faq details { border-bottom: 1px solid var(--line); }
.service-faq summary { padding: 17px 30px 17px 0; cursor: pointer; font-weight: 700; }
.service-faq p { padding: 0 26px 18px 0; }
.case-visual { margin: -12px 0 38px; }
.case-visual img { width: 100%; max-height: 440px; display: block; object-fit: cover; }
.case-visual figcaption { margin-top: 8px; color: var(--muted); font-size: .76rem; }

@media (max-width: 1050px) and (min-width: 761px) {
  .service-choices { grid-template-columns: repeat(2, 1fr); }
  .service-choice:nth-child(2) { border-right: 0; }
  .service-choice:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .site-header { min-height: 68px; padding: 10px 18px; }
  .brand img { width: 36px; height: 34px; }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: .57rem; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 18px; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--paper); }
  nav.is-open { display: flex; }
  .nav-contact { text-align: center; }
  .hero, .collaboration, .research, .contact { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 70px 24px; }
  .hero-panel { min-height: 270px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip p:nth-child(2) { border-right: 0; }
  .proof-strip p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { display: block; }
  .section-note { margin-top: 20px; }
  .case-grid { grid-template-columns: 1fr; }
  .service-choices { grid-template-columns: 1fr; }
  .service-choice { min-height: 178px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-choice:last-child { border-bottom: 0; }
  .service-choice strong { margin: 26px 0 18px; }
  .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .case-card, .case-card:nth-child(odd) { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .collaboration-points div { grid-template-columns: 1fr; gap: 4px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .case-record { grid-template-columns: 1fr; }
  .case-record dt { padding-bottom: 3px; border-bottom: 0; }
  .case-record dd { padding-top: 3px; }
  .service-page-layout { grid-template-columns: 1fr; }
  .service-page-list li { grid-template-columns: 1fr; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
