@font-face { font-family: 'Questrial'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/questrial-latin.woff2) format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/nunito-sans-latin.woff2) format('woff2'); }

:root {
  --ink: #000;
  --band: #1c1c1c;
  --purple: #7b55f6;
  --lilac: #d3c5fc;
  --line: #e3e3e3;
  --cjk: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --head: 'Questrial', var(--cjk), sans-serif;
  --body: 'Nunito Sans', var(--cjk), sans-serif;
  --wrap: 1300px;
  --gutter: clamp(16px, 5vw, 70px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 300 15px/1.8 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.2; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 头部 ---------- */
.site-header { position: relative; z-index: 10; background: #000; }
.home .site-header { position: absolute; inset: 0 0 auto; background: transparent; }
.header-inner { max-width: 1260px; margin: 0 auto; padding: 22px var(--gutter); display: flex; align-items: center; gap: 30px; }
.logo { margin-right: auto; }
.logo img { width: 210px; }
.site-nav { display: flex; gap: clamp(30px, 9vw, 130px); }
.site-nav a { font: 400 16px/1 var(--body); color: #fff; text-decoration: none; padding: 8px 0; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--lilac); }
.langs { display: flex; border: 1px solid #fff; margin-left: clamp(20px, 6vw, 90px); }
.lang-switch { padding: 4px 12px; font: 400 14px/1.4 var(--body); color: #fff; text-decoration: none; }
.lang-switch[aria-current] { background: #fff; color: #000; }
.menu-toggle { display: none; }

/* ---------- 首页 ---------- */
.hero { position: relative; min-height: 1080px; color: #fff; background: #222 url(/assets/img/wix/c837a6-738c2403369b4176a2410bd54462f1df.webp) center / cover; display: flex; flex-direction: column; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.hero > * { position: relative; }
.hero-text { max-width: 1260px; width: 100%; margin: 0 auto; padding: 235px var(--gutter) 0; }
.hero h1 { font-size: clamp(40px, 6vw, 80px); max-width: 820px; }
.hero-text p { font: 400 clamp(17px, 1.8vw, 25px)/1.4 var(--head); max-width: 820px; margin-top: 30px; }
.hero-bottom { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; }
.hero-bottom > div { display: flex; align-items: center; padding: 0 var(--gutter); }
.hero-bottom > div + div { border-left: 1px solid rgba(255, 255, 255, .5); padding-left: 40px; gap: 30px; }
.scroll-down { width: 40px; height: 40px; border: solid #fff; border-width: 0 1px 1px 0; transform: rotate(45deg); margin-left: 10px; }
.brochure img { width: 54px; }
.brochure p { font: 400 clamp(28px, 3.2vw, 45px)/1.2 var(--head); }

.why { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.why > div { padding: 120px clamp(24px, 8.6vw, 124px) 110px; border-bottom: 1px solid var(--line); }
.why > div:nth-child(odd) { border-right: 1px solid var(--line); }
.why h2 { font-size: clamp(36px, 3.9vw, 56px); }
.why h3 { font-size: 25px; margin: 36px 0 18px; max-width: 400px; }
.why p { font-size: 15px; line-height: 1.95; max-width: 400px; }
.icon { position: relative; width: 64px; height: 64px; }
.icon i { position: absolute; width: 32px; height: 32px; }
.icon-a i:first-child { left: 0; top: 0; border: 1px solid #000; }
.icon-a i:last-child { left: 32px; top: 32px; background: var(--purple); }
.icon-b { border: 1px solid #000; }
.icon-b i { left: 15px; top: 15px; background: var(--purple); }
.icon-c i:first-child { left: 0; top: 0; border: 1px solid #000; background: #fff; }
.icon-c i:last-child { left: 32px; top: -32px; background: var(--purple); }
.why .icon-c { margin-top: 32px; }

.about-band { color: #fff; background: #111 url(/assets/img/wix/c837a6-44e3014997b64b829ef10d8761ce79ee.webp) center / cover; padding: 150px 0 100px; position: relative; }
.about-band::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.about-band .wrap { position: relative; max-width: 1188px; }
.about-band h2 { font-size: clamp(40px, 4vw, 56px); }
.about-band p { font: 400 25px/1.55 var(--head); max-width: 300px; margin-top: 20px; }
.about-text { background: #000; color: #fff; padding: 120px var(--gutter) 150px; }
.about-text > div { max-width: 450px; margin-left: 50%; padding-left: 129px; }
.about-text hr { width: 195px; border: 0; border-top: 1px solid #888; margin: 0 0 50px; }
.about-text p { font-size: 15px; line-height: 1.9; margin-bottom: 26px; }

.portfolio-home { padding: 130px 0 110px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 125px; }
.section-head h2 { font-size: clamp(40px, 4vw, 56px); }
.section-head p { font: 400 25px/1.4 var(--head); margin-top: 18px; }
.btn { display: inline-block; border: 1px solid #000; padding: 16px 75px; font: 400 16px/1.2 var(--body); text-decoration: none; color: #000; white-space: nowrap; }
.btn:hover { background: #000; color: #fff; }

.quote { position: relative; color: #fff; text-align: center; background: #222 url(/assets/img/wix/c837a6-7635659d6dbc4f81a999fea168e5594b.webp) center / cover; padding: 160px var(--gutter); }
.quote::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.quote > * { position: relative; }
.quote blockquote { margin: 0 auto; max-width: 840px; font: 400 clamp(28px, 3.2vw, 45px)/1.4 var(--head); }
.quote p { margin-top: 50px; font: 400 16px/1 var(--head); }

/* ---------- 卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { border: 1px solid var(--line); text-decoration: none; color: #000; display: flex; flex-direction: column; background: #fff; }
.card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; padding: 7px; }
.card div { padding: 30px 20px 40px; }
.card h2, .card h3 { font: 400 20px/1.4 var(--head); }
.card p { font-size: 13px; margin-top: 12px; }
.card:hover h2, .card:hover h3 { color: var(--purple); }

.page-band { background: var(--band); color: #fff; text-align: center; padding: 70px var(--gutter); }
.page-band h1 { font-size: clamp(36px, 3.6vw, 52px); }
.page-band p { font: 400 20px/1.4 var(--head); margin-top: 20px; }
.portfolio-list { padding: 50px 0 120px; }
.portfolio-list .wrap { max-width: 1420px; }

/* ---------- 团队 ---------- */
.team { padding: 64px 0 110px; }
.team .wrap { max-width: 1420px; }
.team .cards { gap: 40px; }
.member { border: 1px solid var(--line); }
.member img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.member div { padding: 22px 30px 26px; }
.member h2 { font: 400 23px/1.4 var(--head); }
.member p { font-size: 14px; line-height: 1.35; margin-top: 8px; }

/* ---------- 联系 ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; background: #000; }
.contact-info { background: var(--band); color: #fff; padding: 100px clamp(24px, 9vw, 128px); }
.contact-info h1 { font-size: clamp(40px, 4vw, 56px); }
.contact-info hr { width: 120px; border: 0; border-top: 1px solid #888; margin: 60px 0 40px; }
.contact-info .contact-lead { font: 400 25px/1.5 var(--head); max-width: 340px; }
.contact-info h2 { font: 400 25px/1.3 var(--head); margin: 50px 0 14px; }
.contact-info p { font-size: 15px; line-height: 1.95; }
.contact-info a { text-decoration: none; }
.contact-info .qr { width: 160px; margin-top: 18px; }
.contact-photo { background: url(/assets/img/wix/c837a6-0564cc8d4e9f42cd8e318c80b1617eaf.webp) center / cover; min-height: 600px; }

/* ---------- 案例详情 ---------- */
.post { max-width: 940px; margin: 20px auto 0; padding: 0 var(--gutter); }
.post article { border: 1px solid var(--line); padding: 80px clamp(20px, 9vw, 100px) 60px; }
.post h1 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 70px; }
.post article img { max-width: 676px; margin: 0 auto 50px; width: 100%; }
.post article p { font-size: 18px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.recent { max-width: 940px; margin: 40px auto 20px; padding: 0 var(--gutter); }
.recent-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 26px; }
.recent-head h2 { font: 400 18px/1 var(--head); }
.recent-head a { font-size: 13px; text-decoration: none; }
.recent .card img { aspect-ratio: 16 / 9; object-position: top; padding: 14px 14px 0; }
.recent .card div { padding: 22px 24px 40px; }
.recent .card h3 { font-size: 17px; line-height: 1.3; }

/* ---------- 页脚 ---------- */
.site-footer { background: #000; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; }
.footer-brand { padding: 120px 0 150px clamp(24px, 9vw, 128px); }
.footer-brand > img { width: 217px; }
.footer-join { display: flex; align-items: center; gap: 30px; margin-top: 40px; }
.footer-join p { font: 400 34px/1.2 var(--head); max-width: 150px; }
.footer-join img { width: 158px; }
.footer-info { position: relative; border-left: 1px solid #555; padding: 110px 40px 150px clamp(24px, 9vw, 158px); }
.footer-info p { font-size: 15px; line-height: 1.95; }
.footer-info a { text-decoration: none; }
.footer-h { font: 400 25px/1.3 var(--head) !important; margin-bottom: 14px; }
.footer-info .footer-h + p { margin-bottom: 50px; }
.to-top { position: absolute; right: 90px; bottom: 60px; width: 1px; height: 60px; background: #fff; }
.to-top::before { content: ''; position: absolute; left: -12px; top: 0; width: 24px; height: 24px; border: solid #fff; border-width: 1px 0 0 1px; transform: translateY(1px) rotate(45deg); transform-origin: 0 0; left: 0; }
.copyright { font-size: 12px; padding: 20px clamp(24px, 2vw, 36px); border-top: 1px solid #1a1a1a; }

/* ---------- 手机 ---------- */
@media (max-width: 900px) {
  .header-inner { padding: 16px var(--gutter); flex-wrap: wrap; gap: 14px; }
  .logo img { width: 150px; }
  .langs { margin-left: 0; order: 2; }
  .menu-toggle { order: 3; display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px 0 8px 8px; cursor: pointer; }
  .menu-toggle span { width: 24px; height: 2px; background: #fff; }
  .site-nav { order: 4; display: none; flex-basis: 100%; flex-direction: column; gap: 0; background: #000; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter) 20px; }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 0; font-size: 18px; }
  .hero { min-height: 0; }
  .hero-text { padding-top: 150px; }
  .hero-bottom { grid-template-columns: 1fr; min-height: 0; margin-top: 80px; }
  .hero-bottom > div { padding: 40px var(--gutter); }
  .hero-bottom > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .5); padding-left: var(--gutter); }
  .why, .contact, .footer-grid { grid-template-columns: 1fr; }
  .why > div { padding: 60px var(--gutter); border-right: 0 !important; }
  .about-band { padding: 80px 0 60px; }
  .about-text { padding: 60px var(--gutter); }
  .about-text > div { margin: 0; padding: 0; }
  .portfolio-home { padding: 70px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 50px; }
  .cards, .cards-2 { grid-template-columns: 1fr; }
  .quote { padding: 100px var(--gutter); }
  .contact-info { padding: 60px var(--gutter); }
  .contact-photo { min-height: 320px; }
  .post article { padding: 40px 20px; }
  .post h1 { margin-bottom: 40px; }
  .footer-brand { padding: 60px var(--gutter) 40px; }
  .footer-info { border-left: 0; border-top: 1px solid #555; padding: 50px var(--gutter) 120px; }
  .to-top { right: var(--gutter); }
}
