@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/wix-madefor-text-latin.woff2') format('woff2'); }

:root {
  --font: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-button: 'Wix Madefor Text', 'Avenir Next', Avenir, Arial, sans-serif;
  --ink: #101820;
  --muted: #686764;
  --paper: #f3f1ec;
  --white: #fff;
  --red: #c9343a;
  --red-text: #ad2a30;
  --red-on-dark: #f0666b;
  --line: rgba(23, 23, 23, .18);
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-weight: 300; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
strong, b { font-weight: 600; }
button, input, textarea { font-family: inherit; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 300; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 3.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.2; }
h3 { font-size: 1.375rem; line-height: 1.3; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 100; top: -4rem; left: 1rem; padding: .7rem 1rem; background: #fff; }
.skip:focus { top: 1rem; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.site-header { position: relative; z-index: 20; height: 112px; display: flex; align-items: center; justify-content: center; padding: 0 2.5rem; background: #fff; border-bottom: 1px solid rgba(0,0,0,.08); }
.site-header nav { position: absolute; left: 2.5rem; display: flex; gap: 1.6rem; }
.site-header nav a { padding: .4rem 0; text-decoration: none; font-size: 1rem; font-weight: 400; }
.site-header nav a:hover, .site-header nav a.active { color: var(--red); text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: .55rem; height: 64px; color: var(--ink); text-decoration: none; font-size: 1.75rem; font-weight: 400; letter-spacing: -.01em; line-height: 1; }
.brand img { width: auto; height: 44px; }
.menu-toggle { display: none; }

.hero { min-height: calc(100vh - 112px); display: grid; place-items: center; position: relative; color: #fff; text-align: center; background: linear-gradient(rgba(0,0,0,.30), rgba(0,0,0,.46)), url('/assets/hero.jpg') center 52%/cover no-repeat; }
.hero-inner { width: min(1050px, 92vw); padding: 5rem 1rem 3rem; }
.hero h1 { margin-bottom: 1.25rem; font-size: clamp(2.5rem, 4.4vw, 4rem); font-weight: 300; letter-spacing: -.015em; text-shadow: 0 2px 22px rgba(0,0,0,.25); }
.hero p { max-width: 720px; margin: 0 auto 2.25rem; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; }
.button-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.button { min-width: 260px; display: inline-flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1rem 1.5rem; border: 1px solid currentColor; border-radius: 999px; text-decoration: none; font-family: var(--font-button); font-size: 1rem; font-weight: 500; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.light { color: #111; background: #fff; border-color: #fff; }
.button.ghost { color: #fff; background: transparent; }
.button.dark { color: #fff; background: #1c1c1c; border-color: #1c1c1c; }
.button.outline { color: #1c1c1c; background: transparent; }

.section, .page-hero, .article, .contact-layout, .legal { width: min(var(--max), calc(100% - 4rem)); margin: 0 auto; }
.section { padding: 6rem 0; }
.split { display: grid; grid-template-columns: .8fr 1.35fr; gap: 8vw; }
.split.pale { width: 100%; max-width: none; padding-left: max(2rem, calc((100vw - var(--max))/2)); padding-right: max(2rem, calc((100vw - var(--max))/2)); background: #e8e5df; }
.lead { font-size: clamp(1.1875rem, 1.5vw, 1.375rem); line-height: 1.55; }
.cases-section .eyebrow, .site-footer .eyebrow { color: var(--red-on-dark); }
.eyebrow { margin-bottom: 1.1rem; color: var(--red-text); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.decision-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.decision-grid article { min-height: 190px; padding: 1.75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.decision-grid article:nth-child(even) { border-right: 0; }
.decision-grid p { color: var(--muted); }

.cases-section { width: 100%; max-width: none; padding-left: max(2rem, calc((100vw - var(--max))/2)); padding-right: max(2rem, calc((100vw - var(--max))/2)); background: #1a1a1a; color: #fff; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-bottom: 3.2rem; }
.section-heading > div { max-width: 760px; }
.section-heading h2 { margin-bottom: 1rem; }
.text-link { color: inherit; font-size: .95rem; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.case-card { min-height: 340px; display: flex; flex-direction: column; padding: 2.1rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.case-card h2 { font-size: clamp(1.375rem, 1.8vw, 1.625rem); line-height: 1.3; }
.case-card h2 a { text-decoration: none; }
.case-card p:not(.eyebrow) { color: inherit; opacity: .78; }
.case-card .text-link { margin-top: auto; }
.cases-page .case-grid { color: var(--ink); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.person { background: #fff; }
.person img { width: 100%; aspect-ratio: 1 / .94; object-fit: cover; object-position: center 18%; filter: grayscale(1); }
.person:first-child img { object-position: 53% 12%; }
.person > div { padding: 1.8rem; }
.person h3 { margin-bottom: .25rem; }
.person p { color: var(--muted); }
.person .role { min-height: 3rem; color: var(--ink); font-size: .88rem; }
.cta { padding: 6rem 2rem; color: #fff; text-align: center; background: var(--red); }
.cta h2 { margin-bottom: 1rem; }
.cta p { max-width: 640px; margin: 0 auto 2rem; font-size: 1.125rem; }
.cta .button { margin: auto; }

.page-hero { min-height: 480px; display: flex; flex-direction: column; justify-content: center; padding: 5rem 0; }
.page-hero.compact { min-height: 380px; max-width: 900px; text-align: center; }
.page-hero.compact .eyebrow, .page-hero.compact p { margin-left: auto; margin-right: auto; }
.page-hero > p:not(.eyebrow) { max-width: 720px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; }
.page-hero .small { font-size: .95rem !important; color: var(--muted); }
.page-hero .button { margin-top: 1rem; }
.service-list { padding-top: 0; }
.service-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6vw; padding: 3.5rem 0; border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row span { color: var(--red); font-size: .8rem; }
.service-row h2 { margin: .8rem 0 0; font-size: clamp(1.75rem, 2.6vw, 2.5rem); }
.service-row p { max-width: 690px; font-size: 1rem; }
.service-row h3 { margin-top: 2rem; }
.results h2 { max-width: 760px; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.result-grid article { min-height: 300px; padding: 2.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-grid strong { display: block; margin-bottom: 3rem; color: var(--red); font-size: clamp(2rem, 3vw, 3rem); font-weight: 300; line-height: 1; letter-spacing: -.02em; }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.filter { padding: .65rem 1.05rem; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: transparent; cursor: pointer; }
.filter.active, .filter:hover { color: #fff; background: var(--ink); }
.case-card[hidden] { display: none; }

.article { max-width: 760px; padding: 5rem 0 6rem; }
.article header { margin-bottom: 3rem; text-align: left; }
.article h1 { font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.15; }
.article-excerpt { max-width: 720px; margin: 1.5rem 0; font-size: 1.1875rem; line-height: 1.55; }
.article-meta { color: var(--muted); font-size: .875rem; }
.article-body { max-width: 760px; margin: auto; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; }
.article-body h2 { margin: 3rem 0 1rem; font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.article-body p:first-child { padding-bottom: 2rem; border-bottom: 1px solid var(--line); font-size: 1.1875rem; }
.article-note { max-width: 760px; margin: 3rem auto; padding: 1.8rem; border-left: 4px solid var(--red); background: #e8e5df; }
.article-note p { margin: .5rem 0 0; }
.related { max-width: 760px; margin: 4rem auto; }
.related ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.related a { display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.article > .button { display: flex; width: min(310px, 100%); box-sizing: border-box; margin: 4rem auto 0; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6vw; padding: 6rem 0; }
.contact-copy h1 { font-size: clamp(2.25rem, 3.6vw, 3.5rem); }
.contact-copy p { max-width: 560px; }
.contact-copy address { margin-top: 3rem; font-style: normal; }
.contact-form { padding: 2.5rem; background: #fff; }
.contact-form label { display: grid; gap: .45rem; margin-bottom: 1.3rem; font-size: .9rem; }
.contact-form label .opt { color: var(--muted); }
.field-error { display: block; margin-top: .35rem; color: #a00; font-size: .9rem; }
.contact-form [aria-invalid="true"] { border-bottom: 2px solid #a00; }
.form-status.sending { color: var(--muted); }
.form-status.success { color: #1a6b2f; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: .85rem .1rem; border: 0; border-bottom: 1px solid #555; border-radius: 0; color: var(--ink); background: transparent; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--red); outline-offset: 3px; }
.contact-form .button { border: 0; }
.form-privacy { margin-top: 1.5rem; color: var(--muted); font-size: .8rem; }
.form-status { min-height: 1.5rem; margin: 1rem 0 0; }
.form-status.error { color: #a00; }
.hp { position: absolute !important; left: -9999px !important; }

.legal { max-width: 800px; padding: 6rem 0; }
.legal h1 { margin-bottom: 1rem; }
.legal h2 { margin-top: 3rem; font-size: 1.75rem; }
.legal p { font-size: 1.0625rem; line-height: 1.7; }

.site-footer { padding: 5rem max(2rem, calc((100vw - var(--max))/2)) 2rem; color: #fff; background: #151515; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .6fr; gap: 4rem; padding-bottom: 4rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem; font-size: 1.75rem; font-weight: 400; line-height: 1; }
.footer-logo { width: auto; height: 44px; }
.site-footer a { color: inherit; }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-bottom { display: grid; grid-template-columns: .6fr 1.3fr .7fr; gap: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.72); font-size: .78rem; }

@media (max-width: 1280px) {
  .site-header { height: 88px; justify-content: flex-start; padding: 0 1.25rem; }
  .brand { height: 56px; font-size: 1.5rem; }
  .brand img { height: 40px; }
  .menu-toggle { position: absolute; z-index: 2; right: 1.25rem; display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; border: 0; background: transparent; }
  .menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; background: var(--ink); }
  .site-header nav { position: fixed; inset: 88px 0 auto; display: none; flex-direction: column; gap: 0; padding: 1.5rem; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 10px 22px rgba(0,0,0,.1); }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 980px) {
  .hero { min-height: calc(100vh - 88px); }
  .split, .service-row, .contact-layout { grid-template-columns: 1fr; }
  .case-grid, .team-grid, .result-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr 1fr; }
  .team-intro { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .section, .page-hero, .article, .contact-layout, .legal { width: min(100% - 2rem, var(--max)); }
  .section { padding: 4rem 0; }
  .hero-inner { padding-top: 3rem; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .button { width: 100%; min-width: 0; }
  .decision-grid, .case-grid, .team-grid, .result-grid, .form-grid, .footer-grid, .footer-bottom { grid-template-columns: 1fr; }
  .decision-grid article { border-right: 0; }
  .case-card { min-height: 330px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .split.pale, .cases-section { padding-left: 1rem; padding-right: 1rem; }
  .page-hero { min-height: 400px; }
  .contact-layout { padding: 5rem 0; }
  .contact-form { padding: 1.5rem; }
  .article { padding-top: 5rem; }
}

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

/* Insights */
.page-hero.short { min-height: 240px; padding: 4rem 0 2rem; }
.insights-page { padding-top: 2rem; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
.insight-card[hidden] { display: none; }
.insight-card { display: flex; flex-direction: column; min-width: 0; }
.insight-thumb-link { display: block; text-decoration: none; }
.insight-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #e8e5df; }
.insight-thumb img { width: 100%; height: 100%; object-fit: cover; }
.insight-thumb.placeholder { display: grid; place-items: center; }
.insight-thumb.placeholder img { width: 72px; height: auto; opacity: .35; }
.insight-text { display: flex; flex: 1; flex-direction: column; padding-top: 1.2rem; }
.insight-meta { display: flex; align-items: center; gap: .8rem; margin: 0 0 .7rem; color: var(--muted); font-size: .85rem; }
.lang-tag { padding: .1rem .55rem; border: 1px solid currentColor; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.insight-card h2 { margin-bottom: .8rem; font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.3; overflow-wrap: anywhere; }
.insight-card h2 a { text-decoration: none; }
.insight-card h2 a:hover { text-decoration: underline; }
.insight-excerpt { margin: 0 0 1.2rem; color: #3b3a38; font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.insight-card .text-link { margin-top: auto; }
.empty-state { padding: 4rem 0; text-align: center; color: var(--muted); }
.insight-article { max-width: 760px; }
.insight-article h1 { font-size: clamp(2rem, 3.2vw, 2.75rem); overflow-wrap: anywhere; }
.insight-hero { margin: 0 0 4rem; }
.insight-hero { background: #e8e5df; }
.insight-hero img { width: 100%; max-height: 640px; object-fit: contain; }
.insight-body { overflow-wrap: anywhere; }
.insight-body p:first-child { padding-bottom: 0; border-bottom: 0; font-size: inherit; }
.insight-body img { margin: 2rem 0; }
.insight-body a { text-decoration: underline; }
.insight-body ul, .insight-body ol { padding-left: 1.4rem; }
.insight-body h3 { margin: 2rem 0 .8rem; font-size: 1.25rem; }
.insight-back { display: inline-block; margin: 4rem auto 0; }
:lang(zh) .insight-body, .insight-card:lang(zh) { font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif; }
:lang(zh) .insight-body { line-height: 1.9; }
@media (max-width: 980px) { .insight-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .insight-grid { grid-template-columns: 1fr; } .insight-hero { margin-bottom: 2.5rem; } }

/* Home videos */
.split > div:first-child { display: flex; flex-direction: column; }
.media-circle { width: min(320px, 70%); aspect-ratio: 1; margin-top: 3rem; overflow: hidden; border-radius: 50%; background: #d8d5ce; }
.media-circle video { width: 100%; height: 100%; object-fit: cover; }
.team-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-content: normal; }
.team-intro > div { max-width: 560px; }
.team-video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #d8d5ce; }
@media (max-width: 980px) { .media-circle { width: min(260px, 60%); } }

.site-footer, .cases-section { font-weight: 400; }
.site-footer .footer-bottom { color: rgba(255,255,255,.8); }
