:root {
  --red: #b51218;
  --red-dark: #8e1015;
  --red-bright: #d72f34;
  --ink: #1d2024;
  --muted: #626870;
  --line: #dfe2e5;
  --paper: #ffffff;
  --soft: #f4f5f5;
  --warm: #f7f3f1;
  --teal: #2d6c70;
  --max: 1180px;
  --header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 18px); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif; line-height: 1.65; letter-spacing: 0; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; padding: 10px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.section-inner { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 104px 0; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header); border-bottom: 1px solid rgba(29,32,36,.12); background: rgba(255,255,255,.94); transition: box-shadow .25s ease, height .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.header-inner { width: min(1280px, calc(100% - 40px)); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 39px; height: 39px; object-fit: contain; }
.brand span, .footer-brand span { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-size: 18px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.site-nav a { position: relative; padding: 27px 0 24px; }
.site-nav a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--red); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.site-nav .nav-contact { padding: 9px 16px; border: 1px solid var(--red); color: var(--red); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 760px; height: min(900px, 92svh); margin-top: var(--header); overflow: hidden; display: flex; align-items: center; background: url('/assets/hero-space.png') center 43% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.58); }
.hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 41%; height: 10px; background: var(--red); }
.hero-content { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 76px 0 92px; }
.eyebrow, .section-kicker { margin: 0 0 15px; color: var(--red); font-size: 12px; font-weight: 800; }
.hero h1 { margin: 0; font-size: 88px; line-height: 1.05; font-weight: 800; }
.hero-slogan { margin: 22px 0 0; font-size: 30px; font-weight: 500; }
.hero-copy { width: min(620px, 100%); margin: 25px 0 0; color: #41464c; font-size: 18px; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid transparent; border-radius: 2px; font-size: 15px; font-weight: 700; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: var(--red-dark); }
.button-quiet { border-color: #6f7479; background: rgba(255,255,255,.66); }
.hero-index { position: absolute; z-index: 1; right: max(24px, calc((100% - var(--max))/2)); bottom: 42px; display: flex; align-items: baseline; gap: 12px; color: #555b61; font-size: 12px; font-weight: 800; }
.hero-index span { color: var(--red); font-size: 42px; line-height: 1; }

.metrics { position: relative; z-index: 2; background: var(--ink); color: white; }
.metrics-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.metric { min-height: 134px; padding: 28px 22px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(255,255,255,.15); }
.metric:last-child { border-right: 1px solid rgba(255,255,255,.15); }
.metric strong { display: block; font-size: 30px; line-height: 1.2; }
.metric > span { margin-top: 8px; color: #c9ccd0; font-size: 13px; }

.section-heading { margin-bottom: 56px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: end; gap: 64px; }
.section-heading.compact { grid-template-columns: 1fr; margin-bottom: 42px; }
.section-heading h2, .global-content h2, .contact-lead h2 { margin: 0; font-size: 42px; line-height: 1.25; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 16px; }
.section-heading h2::after { content: ""; display: block; width: 52px; height: 4px; margin-top: 20px; background: var(--red); }

.about-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: start; }
.about-statement { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-statement > p { margin: 0; color: var(--muted); font-size: 17px; }
.about-statement blockquote { margin: 32px 0 0; padding-left: 20px; border-left: 4px solid var(--red); font-size: 23px; font-weight: 700; line-height: 1.55; }
.ecosystem { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ecosystem article { min-height: 320px; padding: 34px 28px; background: white; }
.ecosystem article:nth-child(2) { background: var(--soft); }
.ecosystem article span { color: var(--red); font-size: 13px; font-weight: 800; }
.ecosystem h3 { margin: 58px 0 16px; font-size: 24px; }
.ecosystem p { margin: 0; color: var(--muted); font-size: 14px; }

.history { padding-top: 88px; background: var(--soft); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--ink); }
.timeline article { position: relative; min-height: 260px; padding: 28px 24px 8px 0; }
.timeline article::before { content: ""; position: absolute; width: 12px; height: 12px; top: -8px; left: 0; background: var(--red); border: 2px solid white; outline: 1px solid var(--red); }
.timeline time { color: var(--red); font-size: 13px; font-weight: 800; }
.timeline h3 { margin: 22px 0 12px; font-size: 21px; }
.timeline p { margin: 0; color: var(--muted); font-size: 14px; }

.services { background: white; }
.tabs { border-top: 1px solid var(--line); }
.tab-list { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.tab-list button { position: relative; min-height: 70px; padding: 16px; border: 0; background: white; color: var(--muted); cursor: pointer; font-size: 17px; font-weight: 700; }
.tab-list button::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 3px; background: transparent; }
.tab-list button[aria-selected="true"] { color: var(--red); }
.tab-list button[aria-selected="true"]::after { background: var(--red); }
.tab-panels > section { min-height: 330px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; padding: 58px 6%; align-items: start; background: var(--soft); }
.service-label, .project-meta { margin: 0 0 10px; color: var(--red); font-size: 13px; font-weight: 800; }
.tab-panels h3 { margin: 0 0 18px; font-size: 28px; }
.tab-panels p:not(.service-label) { max-width: 620px; margin: 0; color: var(--muted); }
.feature-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #cfd3d6; }
.feature-list li { padding: 13px 0; border-bottom: 1px solid #cfd3d6; font-weight: 700; }
.course-system { margin-top: 64px; display: grid; grid-template-columns: 220px 1fr; align-items: stretch; border: 1px solid var(--line); }
.course-lead { display: flex; align-items: center; justify-content: center; gap: 16px; background: var(--red); color: white; }
.course-lead strong { font-size: 62px; line-height: 1; }
.course-lead span { font-size: 14px; font-weight: 700; }
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.course-grid span { min-height: 80px; padding: 22px 20px; display: flex; align-items: center; justify-content: space-between; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.course-grid span:nth-last-child(-n+4) { border-bottom: 0; }
.course-grid b { color: var(--red); font-size: 18px; }

.global-service { min-height: 620px; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: white; }
.global-media { min-height: 620px; overflow: hidden; }
.global-media img { width: 100%; height: 100%; object-fit: cover; }
.global-content { padding: 100px max(48px, calc((100vw - var(--max))/2)); padding-left: 72px; align-self: center; }
.global-content .section-kicker { color: #ee6a6f; }
.global-content p:not(.section-kicker) { margin: 28px 0 0; color: #ced1d3; }
.global-points { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.global-points span { padding: 9px 13px; border: 1px solid #666b70; font-size: 13px; }

.projects { background: var(--warm); }
.project-groups { border-top: 1px solid #c9c4c1; }
.project-groups article { display: grid; grid-template-columns: 100px 1fr; gap: 32px; padding: 48px 0; border-bottom: 1px solid #c9c4c1; }
.project-index { color: var(--red); font-size: 34px; font-weight: 800; }
.project-groups h3 { margin: 0 0 24px; font-size: 26px; }
.project-groups ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 36px; }
.project-groups li { position: relative; padding-left: 15px; color: #53585e; font-size: 14px; }
.project-groups li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; background: var(--red); }

.experts { background: white; }
.expert-wall { margin: 0; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.expert-wall img { width: 100%; height: 100%; object-fit: cover; }
.expert-values { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.expert-values div { min-height: 170px; padding: 30px 24px; border-right: 1px solid var(--line); }
.expert-values div:last-child { border-right: 0; }
.expert-values strong { font-size: 18px; }
.expert-values p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.clients { background: var(--soft); }
.client-industries { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #cfd3d6; }
.client-industries div { min-height: 130px; display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: center; padding: 26px 26px 26px 0; border-bottom: 1px solid #cfd3d6; }
.client-industries div:nth-child(odd) { border-right: 1px solid #cfd3d6; }
.client-industries div:nth-child(even) { padding-left: 28px; }
.client-industries span { color: var(--red); font-weight: 800; }
.client-industries p { margin: 0; color: var(--muted); font-size: 14px; }

.contact { padding: 104px 0; background: var(--red-dark); color: white; }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; }
.contact .section-kicker { color: #f3b1b3; }
.contact-lead > p:not(.section-kicker) { max-width: 600px; margin: 28px 0 0; color: #f1dada; }
.button-light { background: white; color: var(--red-dark); }
.button-outline-light { border-color: rgba(255,255,255,.66); color: white; }
.contact-details { margin: 0; font-style: normal; display: grid; grid-template-columns: 1fr 132px; gap: 20px 28px; align-content: start; }
.contact-details div { grid-column: 1; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-details div span { display: block; margin-bottom: 4px; color: #f3b1b3; font-size: 12px; font-weight: 800; }
.contact-details p, .contact-details a { margin: 0; font-size: 15px; }
.contact-details img { grid-column: 2; grid-row: 1 / span 3; width: 132px; height: 132px; padding: 5px; background: white; }

.site-footer { padding: 42px 0; background: #17191c; color: white; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 28px 60px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; height: 42px; object-fit: contain; }
.footer-brand strong { font-size: 18px; }
.footer-brand small { margin-top: 4px; color: #9da2a7; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; color: #bfc3c6; font-size: 13px; }
.footer-inner > p { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid #34373a; color: #7e8489; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .button:hover { transform: none; } }

@media (max-width: 980px) {
  :root { --header: 68px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 13px; }
  .hero { min-height: 680px; }
  .hero h1 { font-size: 72px; }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); }
  .metric:nth-child(4) { border-left: 0; }
  .about-layout, .section-heading, .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .section-heading { margin-bottom: 42px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .tab-panels > section { gap: 42px; padding: 44px 5%; }
  .course-system { grid-template-columns: 180px 1fr; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid span:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .course-grid span:nth-last-child(-n+2) { border-bottom: 0; }
  .global-service { grid-template-columns: .9fr 1.1fr; }
  .global-content { padding: 72px 42px; }
  .project-groups ul { grid-template-columns: repeat(2, 1fr); }
  .expert-values { grid-template-columns: repeat(2, 1fr); }
  .expert-values div:nth-child(2) { border-right: 0; }
  .expert-values div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .section-inner { width: min(100% - 32px, var(--max)); }
  .section { padding: 76px 0; }
  .site-header { background: white; }
  .header-inner { width: calc(100% - 28px); }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; z-index: 1; inset: var(--header) 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 26px 24px; background: white; transform: translateX(100%); transition: transform .25s ease; }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav a::after { display: none; }
  .site-nav .nav-contact { margin-top: 18px; padding: 13px; text-align: center; }
  .hero { min-height: 630px; height: calc(100svh - var(--header)); background-position: 58% center; }
  .hero::before { background: rgba(255,255,255,.68); }
  .hero-content { width: calc(100% - 32px); padding: 44px 0 108px; }
  .hero h1 { font-size: 56px; }
  .hero-slogan { margin-top: 18px; font-size: 23px; }
  .hero-copy { font-size: 16px; }
  .hero-index { right: 16px; bottom: 22px; }
  .hero-index span { font-size: 34px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric { min-height: 112px; padding: 22px 16px; }
  .metric:nth-child(3), .metric:nth-child(5) { border-left: 0; }
  .metric strong { font-size: 25px; }
  .section-heading h2, .global-content h2, .contact-lead h2 { font-size: 33px; }
  .ecosystem { grid-template-columns: 1fr; }
  .ecosystem article { min-height: 220px; }
  .ecosystem h3 { margin-top: 30px; }
  .history { padding-top: 72px; }
  .timeline { grid-template-columns: 1fr; padding-left: 18px; border-top: 0; border-left: 3px solid var(--ink); }
  .timeline article { min-height: 0; padding: 4px 4px 44px 24px; }
  .timeline article::before { top: 4px; left: -25px; }
  .tab-list button { min-height: 62px; padding: 12px 8px; font-size: 15px; }
  .tab-panels > section { grid-template-columns: 1fr; min-height: 0; gap: 32px; padding: 36px 22px; }
  .tab-panels h3 { font-size: 24px; }
  .course-system { grid-template-columns: 1fr; }
  .course-lead { min-height: 120px; }
  .course-grid span { padding: 18px 14px; }
  .global-service { min-height: 0; grid-template-columns: 1fr; }
  .global-media { min-height: 320px; }
  .global-content { padding: 64px 24px 72px; }
  .project-groups article { grid-template-columns: 54px 1fr; gap: 14px; padding: 38px 0; }
  .project-index { font-size: 25px; }
  .project-groups h3 { font-size: 22px; }
  .project-groups ul { grid-template-columns: 1fr; }
  .expert-wall { aspect-ratio: 4 / 3; }
  .expert-wall img { object-position: center top; }
  .client-industries { grid-template-columns: 1fr; }
  .client-industries div, .client-industries div:nth-child(even) { grid-template-columns: 86px 1fr; min-height: 110px; padding: 22px 0; border-right: 0; }
  .contact-layout { gap: 56px; }
  .contact-details { grid-template-columns: 1fr 104px; gap: 16px; }
  .contact-details img { width: 104px; height: 104px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; gap: 14px 20px; }
}

@media (max-width: 420px) {
  .brand small { display: none; }
  .hero h1 { font-size: 48px; }
  .hero-actions .button { width: 100%; }
  .metric strong { font-size: 22px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-grid span, .course-grid span:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .course-grid span:last-child { border-bottom: 0; }
  .expert-values { grid-template-columns: 1fr; }
  .expert-values div, .expert-values div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .expert-values div:last-child { border-bottom: 0; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-details img { grid-column: 1; grid-row: auto; width: 132px; height: 132px; }
}
