:root {
  --ink: #192236;
  --muted: #5d6b80;
  --accent: #3456e8;
  --accent-dark: #2347c8;
  --paper: #fff;
  --surface: #f5f7fb;
  --section-tint: #edf2f8;
  --card: #fff;
  --footer-bg: #172235;
  --line: #dfe6f0;
  --header-height: 80px;
  --section-space: 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a, button { transition: color .18s, background-color .18s, border-color .18s, box-shadow .18s; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { color: #14234e; background: #dce5ff; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.wrap > *, .section-head > *, .company-body > *, .office, .market, .product { min-width: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 100; padding: 10px 18px; background: white; border: 1px solid var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid transparent; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.site-header.is-scrolled { background: #fffffff5; border-bottom-color: var(--line); box-shadow: 0 4px 20px #17203305; }
.nav { min-height: var(--header-height); display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 650; letter-spacing: .01em; line-height: 1.5; }
.logo { width: 52px; height: 52px; flex: none; border-radius: 6px; background: #faf9f6 url('yuancheng-logo-crop.jpeg') center/contain no-repeat; }
.nav-brand { gap: 13px; justify-self: start; padding-block: 12px; }
.nav-brand .logo { width: 46px; height: 46px; border-radius: 0; background-size: 148% auto; background-position: center top; mix-blend-mode: multiply; }
.brand-wordmark { display: inline-flex; flex-direction: row; align-items: baseline; gap: 14px; white-space: nowrap; }
.brand-wordmark strong { font-size: 20px; font-weight: 650; line-height: 1.2; letter-spacing: .08em; }
.brand-wordmark > span { font-size: 12px; font-weight: 500; line-height: 1.2; letter-spacing: .14em; color: #647086; }
.links { display: contents; font-size: 14px; font-weight: 500; }
.nav-primary { display: flex; align-items: center; gap: 10px; }
.links a { position: relative; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; min-height: 44px; }
.nav-item { padding: 11px 18px; border-radius: 7px; color: #4f5b6b; }
.nav-item::after { position: absolute; content: ''; left: 18px; right: 18px; bottom: 4px; height: 2px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transition: transform .18s; }
.nav-item[aria-current] { color: var(--accent-dark); font-weight: 600; }
.nav-item[aria-current]::after { transform: scaleX(1); }

@media (hover: hover) { .nav-brand:hover { opacity: .8; } .nav-item:hover { background: #f2f5fa; color: var(--ink); } }
.button, .pill, .outline { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 600; line-height: 1.6; }
.button, .pill { background: var(--accent); color: #fff; }
.button:hover, .pill:hover, .pill[aria-current] { background: var(--accent-dark); color: white; box-shadow: 0 4px 12px #315bea20; }
.outline { background: white; border-color: #cbd5e5; }
.outline:hover { color: var(--accent); border-color: var(--accent); background: #f4f7ff; }
.arr { font-size: 18px; line-height: 1; }
.hamb { display: none; align-items: center; justify-content: center; gap: 10px; min-width: 44px; min-height: 44px; padding: 10px; border: 0; border-radius: 6px; color: var(--ink); background: transparent; }
.menu-label { font-size: 13px; font-weight: 500; line-height: 1; }
.menu-icon { position: relative; width: 20px; height: 18px; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; height: 1.5px; width: 20px; left: 0; top: 5px; background: currentColor; border-radius: 2px; transition: transform .18s; }
.menu-icon::after { top: 12px; }
.hamb[aria-expanded="true"] .menu-icon::before { transform: translateY(3.5px) rotate(45deg); }
.hamb[aria-expanded="true"] .menu-icon::after { transform: translateY(-3.5px) rotate(-45deg); }
.hero { min-height: 480px; display: flex; align-items: center; padding-block: 72px 88px; background-color: #eef4fb; background-image: linear-gradient(180deg, #fff 0%, #fffffff5 4%, #ffffffb3 11%, #ffffff00 28%), linear-gradient(270deg, #fff 0%, #ffffffd9 6%, #ffffff66 13%, #ffffff00 23%), linear-gradient(0deg, #fff 0%, #ffffff00 25%), linear-gradient(90deg, #fffffff7 0%, #ffffffeb 32%, #ffffffb3 47%, #ffffff00 64%), url('hero-mountain-creator-centered.jpg'); background-size: cover; background-position: center, center, center, center, center 55%; background-repeat: no-repeat; }
.hero-copy { min-width: 0; max-width: 720px; }
.hero-heading { min-width: 0; }
.hero-tagline { margin: 24px 0 0; font-size: 21px; line-height: 1.5; color: var(--muted); letter-spacing: -.015em; }
.brand-values { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 0; padding: 0; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.8; }
.brand-values > span { white-space: nowrap; }
.text-unit { white-space: nowrap; }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 650; line-height: 1.7; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ''; width: 6px; height: 6px; flex: none; background: currentColor; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { font-size: clamp(40px, 4.2vw, 60px); font-weight: 600; line-height: 1.3; letter-spacing: -.045em; margin: 0; }
.hero h1 em { display: block; margin-top: 6px; }
h1 em { color: var(--accent); font-style: normal; }
.lead { margin: 0; font-size: 16px; line-height: 1.95; color: var(--muted); text-wrap: pretty; }
.section { padding-block: var(--section-space); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 36px; }
.section h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1.4; margin: 12px 0 0; }
.section-head > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.company { background: var(--paper); }
#about { padding-block: 0 var(--section-space); }
.company-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: start; gap: 80px; margin-bottom: 48px; }
.company-overview h2 { margin: 0; font-size: clamp(30px, 3vw, 40px); line-height: 1.4; letter-spacing: -.035em; }
.about-copy { max-width: 660px; margin: 2px 0 0; color: var(--muted); font-size: 15px; line-height: 1.95; text-wrap: pretty; }
.about-copy > span { display: block; }
.company-body { padding-top: 32px; }
.company-block { min-width: 0; scroll-margin-top: 24px; }
.section-label { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--accent); }
.company .company-block-title { margin: 0; color: var(--ink); font-size: 27px; font-weight: 600; line-height: 1.55; letter-spacing: -.035em; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.service { min-width: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.service-icon, .solution-icon { display: grid; place-items: center; width: 32px; height: 32px; color: var(--accent); }
.service-icon svg, .solution-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service h4, .solution h4 { margin: 14px 0 9px; font-size: 17px; font-weight: 600; line-height: 1.6; overflow-wrap: break-word; }
.service p, .solution p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
#solutions { padding-top: 0; }
.solution-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; }
.solution { min-width: 0; padding: 0; }
.company .solution h2 { margin: 0 0 12px; font-size: 18px; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; min-height: 44px; color: var(--accent); font-size: 14px; font-weight: 600; }
.text-link:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 5px; }
.global { --global-panel-bg: #edf2f8; --global-panel-border: #dfe6ef; background: #f4f6f9; border-block: 1px solid #e6ebf2; }
.global-intro { max-width: 960px; margin-bottom: 32px; }
.global-intro h2 { margin: 0; }
.global-intro > p { max-width: 840px; margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.95; text-wrap: pretty; }
.global-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.global-map { position: relative; width: 100%; height: clamp(300px, 30vw, 420px); margin: 0; overflow: hidden; border: 1px solid var(--global-panel-border); border-radius: 14px; background: var(--global-panel-bg); }
.global-map picture { display: block; width: 100%; height: 100%; }
.global-map img { display: block; width: 100%; height: 100%; object-fit: contain; }
.global-details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-top: 28px; border-top: 1px solid #dce4ee; }
.office-list { display: contents; }
.global-office { min-width: 0; padding-right: 24px; margin-right: 24px; border-right: 1px solid #dce4ee; }
.global-office h3, .global-markets h3 { margin: 0 0 12px; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.6; }
.global-office-role { margin: 0; color: #43566d; font-size: 14px; font-weight: 500; line-height: 1.8; }
.global-office-copy { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; text-wrap: pretty; }
.global-markets { min-width: 0; }
.market-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.market { display: flex; align-items: center; gap: 8px; min-width: 0; }
.market::before { content: ''; width: 4px; height: 4px; flex: none; border-radius: 50%; background: #7991b6; }
.market b { display: block; color: #4d5e73; font-size: 13px; line-height: 1.8; font-weight: 500; margin: 0; }

/* Recruitment: role information and expandable job descriptions. */
.jobs { padding-block: var(--section-space); background: var(--paper); }
.jobs-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 80px; align-items: start; }
.jobs-aside { position: sticky; top: calc(var(--header-height) + 36px); }
.jobs-intro h2 { font-size: clamp(34px, 3.3vw, 44px); line-height: 1.3; letter-spacing: -.04em; margin: 18px 0; }
.jobs-intro > p { color: var(--muted); font-size: 14px; line-height: 1.95; margin: 0; max-width: 290px; }
.job-board { min-width: 0; }
.jobs-list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #cbd5e5; }
.jobs-list-head h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 600; }
.job-count { display: inline-grid; place-items: center; min-width: 25px; height: 25px; padding-inline: 6px; border-radius: 6px; background: #eaf0ff; color: var(--accent); font-size: 12px; font-variant-numeric: tabular-nums; }
.jobs-list-head > span { color: var(--muted); font-size: 12px; }
.job-grid { overflow-anchor: none; }
.job { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 24px); }
.job details { background: transparent; }
.job details[open] .job-body { margin-inline: -16px; padding-inline: 16px; border-radius: 0 0 8px 8px; background: var(--surface); }
.job summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; list-style: none; padding: 20px 16px; margin-inline: -16px; cursor: pointer; border-radius: 8px; transition: background-color .18s; }
.job summary::-webkit-details-marker { display: none; }
.job summary::marker { content: ''; }
.job summary:focus-visible { outline-offset: -3px; }
.job-summary-main { min-width: 0; }
.job-title { display: block; font-size: 18px; font-weight: 600; line-height: 1.5; }
.job-meta { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.job-summary { display: block; color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 10px; }
.job-toggle { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.job-toggle::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin: 0 4px; transition: transform .18s; }
.job details[open] > summary { background: #edf2fc; }
.job details[open] .job-title, .job details[open] .job-toggle { color: var(--accent-dark); }
.job details[open] .job-toggle::after { transform: rotate(225deg) translate(-2px, -2px); }
.job-body { padding: 24px 0 28px; }
.jd { max-width: 700px; font-size: 14px; line-height: 1.95; color: var(--muted); overflow-wrap: anywhere; }
.jd h4 { font-size: 14px; line-height: 1.6; color: var(--ink); font-weight: 600; margin: 28px 0 12px; }
.jd h4:first-child { margin-top: 0; }
.jd p { margin: 0 0 12px; }
.jd ol { margin: 0; padding-left: 22px; }
.jd li { padding-left: 3px; margin-bottom: 9px; }
.jd li::marker { color: #75829a; font-variant-numeric: tabular-nums; }
.job-end { display: flex; justify-content: flex-end; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 12px; }
.close-job { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; color: var(--accent); background: none; border: 0; font-size: 13px; }
@media (hover: hover) { .job summary:hover { background: #f0f4fb; } .job summary:hover .job-toggle { color: var(--accent); } .close-job:hover { text-decoration: underline; text-underline-offset: 4px; } }
.site-footer { color: #e5eaf3; background: var(--footer-bg); }
.footer { padding-top: 44px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-bottom: 36px; }
.footer-identity { min-width: 0; }
.footer-wordmark { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 14px; }
.footer-wordmark strong { color: #f6f8fc; font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: .06em; }
.footer-wordmark > span { color: #d4dfef; font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: .1em; }
.footer-actions { display: flex; align-items: center; gap: 44px; }
.footer-links { display: flex; align-items: center; gap: 26px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: #d8e1ee; font-size: 14px; white-space: nowrap; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.footer-top { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #c0cde0; font-size: 12px; white-space: nowrap; }
.footer-top-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #50617b; border-radius: 50%; transition: background-color .18s, border-color .18s; }
.footer-top-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.footer-top:hover { color: #fff; }
.footer-top:hover .footer-top-icon { border-color: #91a8cb; background: #24344e; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 32px; padding-block: 20px 24px; border-top: 1px solid #344158; color: #a7b4ca; font-size: 12px; line-height: 1.9; }
.footer-bottom small { font-size: inherit; }
.footer-bottom address { margin: 0; font-style: normal; overflow-wrap: anywhere; }
.site-footer :focus-visible { outline-color: #a7bcff; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .solution-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand { font-size: 14px; gap: 10px; }
}
@media (max-width: 1023px) {
  :root { --header-height: 72px; --section-space: 64px; }
  .wrap { width: min(1200px, calc(100% - 48px)); }
  .brand { min-height: var(--header-height); font-size: 14px; }
  .logo { width: 46px; height: 46px; }
  .hero { min-height: 440px; padding-block: 64px 80px; background-position: center, center, center, center, 55% center; }
  .company .company-block-title { font-size: 23px; }
  h1 { font-size: clamp(40px, 4.5vw, 46px); }
  .section-head { gap: 28px; }
  .section-head > p { max-width: 340px; }

  .footer-actions { gap: 28px; }
  .footer-links { gap: 20px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .jobs-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
  .jobs-intro h2 { font-size: 36px; }
  .job-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (min-width: 800px) and (max-width: 1023px) {
  .nav { gap: 24px; }
  .nav-item { padding-inline: 13px; }
  .nav-item::after { left: 13px; right: 13px; }
  .nav-primary { gap: 4px; }

}
@media (max-width: 799px) {
  .nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0; }
  .nav-brand { padding-block: 12px; gap: 10px; min-height: 72px; }
  .nav-brand .logo { width: 40px; height: 40px; }
  .brand-wordmark { gap: 10px; }
  .brand-wordmark strong { font-size: 18px; }
  .brand-wordmark > span { font-size: 10px; }
  .nav-primary { display: contents; }
  .links { display: flex; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding-bottom: 18px; }
  .js .hamb { display: inline-flex; }
  .js .links { display: none; position: absolute; top: 100%; left: 0; width: 100%; padding: 12px max(20px, calc((100% - 1200px) / 2)) 24px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px #1720330a; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
  .js .links.open { display: flex; }
  .nav-primary > .nav-item { justify-content: space-between; min-height: 52px; padding: 13px 16px; font-size: 15px; }
  .nav-item::after { position: static; width: 7px; height: 7px; flex: none; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; border-radius: 0; background: none; transform: rotate(45deg); opacity: .5; }
  .nav-item[aria-current] { background: #f0f4ff; }
  .nav-item[aria-current]::after { transform: rotate(45deg); opacity: 1; }

}
@media (min-width: 768px) and (max-width: 1023px) {
  .company-overview { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; }
  .services { gap: 28px; }
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
  .solution { padding: 0; border-left: 0; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .global-map { height: clamp(300px, 40vw, 380px); }
  .global-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
  .global-office:nth-child(2) { margin-right: 0; padding-right: 0; border-right: 0; }
}

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