@font-face {
  font-family: Inter;
  src: url('../fonts/Inter[opsz,wght].ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #595959;
  --line: #d6d6d2;
  --paper: #fafaf8;
  --font: Inter, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.wrap { width: min(100% - 112px, 1280px); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.header { min-height: 112px; display: flex; align-items: center; gap: 44px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { display: block; width: 132px; height: auto; }
.navigation { margin-left: auto; display: flex; flex-wrap: wrap; gap: 28px; }
.navigation a { font-size: 13px; font-weight: 500; text-decoration: none; padding-block: 10px; }
.navigation a:hover { text-decoration: underline; }
#language-switch[hidden] { display: flex !important; visibility: hidden; }
.languages { display: flex; align-items: center; gap: 3px; }
.languages button { border: 0; background: transparent; padding: 12px 10px; min-height: 44px; color: var(--muted); font-size: 12px; cursor: pointer; }
.languages button[aria-pressed='true'] { color: var(--ink); font-weight: 650; text-decoration: underline; text-underline-offset: 6px; }
.eyebrow, .section-label { margin: 0; font-size: 12px; line-height: 1.6; letter-spacing: .12em; font-weight: 550; text-transform: uppercase; }
.hero { padding-block: 102px 100px; }
.hero h1 { font-size: clamp(50px, 6.3vw, 90px); font-weight: 450; line-height: 1.08; letter-spacing: -.055em; max-width: 1050px; margin: 31px 0 36px; text-wrap: balance; }
.hero h1:lang(zh-Hans) { max-width: 1100px; font-size: clamp(40px, 5.2vw, 74px); line-height: 1.4; letter-spacing: -.035em; }
.hero-description { max-width: 550px; color: var(--muted); font-size: 18px; line-height: 1.75; margin: 0 0 34px; }
.button { display: inline-flex; min-height: 52px; justify-content: center; align-items: center; padding: 15px 25px; background: var(--ink); color: white; font-size: 14px; font-weight: 500; text-decoration: none; }
.button:hover { background: #383838; }
.section { border-top: 1px solid var(--line); padding-block: 76px 88px; }
.split { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; }
h2 { font-size: 40px; font-weight: 450; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 24px; text-wrap: balance; }
h2:lang(zh-Hans) { font-size: 34px; line-height: 1.55; letter-spacing: -.025em; }
.body-copy { max-width: 780px; color: var(--muted); font-size: 18px; line-height: 1.85; margin: 0; }
.service-list { margin-top: 38px; }
.service { display: grid; grid-template-columns: 1fr 1.12fr; gap: 48px; padding-block: 30px; border-top: 1px solid var(--line); }
.service:last-child { padding-bottom: 0; }
h3 { font-size: 22px; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; margin: 0; }
.service p, .step p { font-size: 15px; line-height: 1.85; color: var(--muted); margin: 0; }
.approach-surface { background: #eeeeeb; }
.approach-surface .section { border-top: 0; }
.approach-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; margin-bottom: 52px; }
.approach-intro h2 { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin: 0; padding: 0; list-style: none; }
.step { border-top: 1px solid #aaa; padding-top: 20px; }
.step-number { display: block; font-size: 12px; color: var(--muted); margin-bottom: 30px; }
.step h3 { margin-bottom: 17px; }
.company-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.75; }
.company-table caption { text-align: left; margin-bottom: 28px; font-size: 32px; font-weight: 450; letter-spacing: -.03em; }
.company-table th, .company-table td { text-align: left; vertical-align: top; padding: 19px 0; border-top: 1px solid var(--line); }
.company-table th { width: 28%; font-weight: 400; color: var(--muted); padding-right: 24px; }
.company-table td { overflow-wrap: anywhere; }
.contact-surface { background: var(--ink); color: #fafaf8; }
.contact { padding-block: 78px 88px; }
.contact h2 { margin-top: 39px; font-size: 48px; }
.contact h2:lang(zh-Hans) { font-size: 40px; }
.contact p { color: #bfbfbf; font-size: 16px; line-height: 1.8; margin: 0 0 38px; }
.footer { background: var(--ink); color: #bfbfbf; }
.footer-inner { display: flex; align-items: center; gap: 28px; border-top: 1px solid #4a4a4a; padding-block: 29px 35px; }
.footer-logo { width: 83px; height: auto; }
.footer p { margin: 0; font-size: 11px; line-height: 1.8; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .header { gap: 24px; }
  .navigation { gap: 15px; }
  .split { grid-template-columns: 1fr 2.5fr; gap: 32px; }
  .steps { gap: 25px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .header { padding-block: 22px 13px; min-height: auto; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
  .brand img { width: 108px; }
  .navigation { order: 3; flex-basis: 100%; margin: 0; justify-content: space-between; gap: 5px; }
  .navigation a { font-size: 11px; min-height: 44px; display: inline-flex; align-items: center; }
  .hero { padding-block: 68px 68px; }
  .hero h1 { margin: 25px 0 29px; font-size: 51px; }
  .hero h1:lang(zh-Hans) { font-size: 40px; line-height: 1.45; }
  .hero-description { font-size: 16px; line-height: 1.85; }
  .section { padding-block: 51px 58px; }
  .split { grid-template-columns: 1fr; gap: 27px; }
  h2 { font-size: 31px; }
  h2:lang(zh-Hans) { font-size: 28px; }
  .body-copy { font-size: 16px; }
  .service-list { margin-top: 29px; }
  .service { grid-template-columns: 1fr; gap: 13px; padding-block: 25px; }
  h3 { font-size: 21px; }
  .approach-intro { display: block; margin-bottom: 31px; }
  .approach-intro .section-label { margin-bottom: 27px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .step-number { margin-bottom: 19px; }
  .step h3 { margin-bottom: 12px; }
  .step p { font-size: 14px; }
  .company-table { font-size: 14px; }
  .company-table caption { font-size: 28px; }
  .company-table th { width: 32%; padding-right: 18px; }
  .contact { padding-block: 54px 64px; }
  .contact h2, .contact h2:lang(zh-Hans) { font-size: 32px; margin-top: 27px; line-height: 1.5; }
  .footer-inner { flex-wrap: wrap; gap: 20px; }
  .footer p { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:root:lang(zh-Hans) { --font: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif; }
.hero { position: relative; width: 100%; margin-inline: 0; padding-inline: max(56px, calc((100% - 1280px) / 2)); min-height: max(640px, calc(100svh - 112px)); padding-block: clamp(80px, 11vh, 130px) 88px; }
.hero > .eyebrow, .hero h1, .hero-copy { position: relative; z-index: 1; }
.hero h1 { max-width: 53%; font-size: clamp(46px, 4.65vw, 70px); }
.hero h1:lang(zh-Hans) { max-width: 52%; font-size: clamp(40px, 4.5vw, 66px); }
.hero-support { display: block; }
.hero-copy { width: 46%; max-width: 550px; }
.hero-field { position: absolute; inset-block: 0; right: 0; width: 50%; min-width: 0; overflow: hidden; }
#hero-canvas { display: block; width: 100%; height: 100%; }
.hero-line { display: block; }
.hero-motion .hero-line { clip-path: inset(var(--reveal-first, 0%) 0 0 0); transform: translateY(var(--offset-first, 0px)); }
.hero-motion .hero-line + .hero-line { clip-path: inset(var(--reveal-second, 0%) 0 0 0); transform: translateY(var(--offset-second, 0px)); }
@media (max-width: 1000px) {
  .hero { padding-inline: 32px; }
}
@media (max-width: 720px) {
  .hero { min-height: 0; padding-inline: 20px; padding-block: 68px 44px; }
  .hero-copy { width: 100%; max-width: none; }
  .hero-field { position: relative; inset: auto; width: calc(100% + 40px); margin: 36px -20px 0; height: clamp(200px, 55vw, 280px); }
  .hero h1 { max-width: 100%; font-size: clamp(36px, 10.5vw, 51px); }
  .hero h1:lang(zh-Hans) { max-width: 100%; font-size: 40px; }
}

.contact-form { max-width: 800px; margin-top: 42px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.contact-field { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { font-size: 14px; line-height: 1.6; }
.contact-field input, .contact-field textarea { width: 100%; min-width: 0; border: 1px solid #777; border-radius: 0; padding: 15px 16px; background: #222; color: #fafaf8; font: inherit; font-size: 16px; line-height: 1.6; }
.contact-field textarea { resize: vertical; min-height: 170px; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible, .contact-status:focus-visible { outline: 2px solid #fafaf8; outline-offset: 4px; }
.contact-field [aria-invalid='true'] { border-color: #fafaf8; outline: 1px solid #fafaf8; }
.contact-trap { display: none; }
.contact .contact-privacy { font-size: 13px; margin: 26px 0; }
.contact-submit { border: 1px solid #fafaf8; background: #fafaf8; color: #171717; cursor: pointer; }
.contact-submit:hover { background: #d6d6d2; }
.contact-submit:disabled { opacity: .65; cursor: wait; }
.contact .contact-status { margin: 24px 0 0; color: #fafaf8; max-width: 65ch; overflow-wrap: anywhere; }
.contact-status:empty { margin: 0; }
@media (max-width: 720px) {
  .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .contact-form { margin-top: 32px; }
}
