/* ===== XIANG DESIGN — Home ===== */
:root {
  --black: #000;
  --white: #fff;
  --gray-100: #f5f5f5;
  --gray-200: #d9d9d9;
  --gray-500: #6b6b6b;
  --text: #000;
  --text-muted: #6b6b6b;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: 1212px;
  --font-display: "Jersey 25", "Noto Sans TC", sans-serif;
  --font-body: "Jersey 25", "Noto Sans TC", system-ui, sans-serif;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; color: #fff; border: 0; cursor: pointer;
  transition: transform .25s, box-shadow .25s, filter .25s;
}
.btn--pill {
  padding: 9px 18px; border-radius: 999px;
  background: linear-gradient(90deg, #8f8f8f 0%, #5a5a5a 50%, #8f8f8f 100%) 0 0 / 200% 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--pill:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.25); animation: btnSweep 1.4s ease-in-out infinite alternate; }
.btn--dark { background: linear-gradient(90deg, #777 0%, #2b2b2b 50%, #777 100%) 0 0 / 200% 100%; }
/* hover: gradient sweeps left <-> right */
@keyframes btnSweep { from { background-position: 0 0; } to { background-position: 100% 0; } }
.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--wide { min-width: 188px; padding: 12px 24px; }
.btn svg { transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: background .3s, box-shadow .3s;
}
.nav__inner { height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 44px; max-width: 1512px; margin: 0 auto; }
.nav__logo img { width: 179px; height: auto; }
.nav__menu { display: flex; gap: 40px; font-size: 14px; color: #333; }
.nav__menu a { position: relative; padding: 6px 0; transition: color .2s; }
.nav__menu a:hover, .nav__menu a.is-active { color: #000; }
/* 像素點指示：hover 與選取狀態相同 */
.nav__menu a::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 15px; height: 6px;
  transform: translate(-50%, 4px); opacity: 0; transition: opacity .2s, transform .2s steps(2);
  background:
    linear-gradient(#999 0 0) 0 0 / 3px 3px no-repeat,
    linear-gradient(#999 0 0) 6px 0 / 3px 3px no-repeat,
    linear-gradient(#999 0 0) 12px 0 / 3px 3px no-repeat,
    linear-gradient(#999 0 0) 3px 3px / 3px 3px no-repeat,
    linear-gradient(#999 0 0) 9px 3px / 3px 3px no-repeat;
}
.nav__menu a:hover::after, .nav__menu a.is-active::after { opacity: 1; transform: translate(-50%, 0); }
.nav__actions { display: flex; align-items: center; gap: 24px; }
.nav__lang { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font: inherit; font-size: 15px; color: #444; cursor: pointer; }
.nav__burger { display: none; width: 36px; height: 36px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: #000; transition: transform .3s, top .3s; }
.nav__burger span:first-child { top: 13px; }
.nav__burger span:last-child { top: 21px; }
.nav.is-open .nav__burger span:first-child { top: 17px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 17px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; background: #fff;
}
/* 圓球：靠近 → 液態相連 + 漣漪 → 分開（8s）；每次交會時畫面黑白翻轉（16s 一輪） */
.hero { --loop: 8s; --cycle: 16s; --orb: min(620px, 80vw); }
.hero__media { position: absolute; inset: 0; }
.hero__orbs { position: absolute; inset: 0; filter: blur(20px); }
.goo { position: absolute; inset: 0; filter: url(#goo); }
.goo span { position: absolute; left: 50%; border-radius: 50%; background: #000; }
.orb { width: var(--orb); aspect-ratio: 1; }
.orb--top    { top: 0;    transform: translate(-50%, -64%); animation: orbTop    var(--loop) cubic-bezier(.45,0,.25,1) infinite; }
.orb--bottom { bottom: 0; transform: translate(-50%,  58%); animation: orbBottom var(--loop) cubic-bezier(.45,0,.25,1) infinite; }
@keyframes orbTop {
  0%, 100% { transform: translate(-50%, -64%) scale(1, 1); }
  40%      { transform: translate(-50%, -52%) scale(.96, 1.06); }
  52%      { transform: translate(-50%, -50%) scale(.94, 1.08); }
  66%      { transform: translate(-50%, -60%) scale(1.04, .96); }
  78%      { transform: translate(-50%, -65%) scale(.99, 1.01); }
}
@keyframes orbBottom {
  0%, 100% { transform: translate(-50%, 58%) scale(1, 1); }
  40%      { transform: translate(-50%, 46%) scale(.96, 1.06); }
  52%      { transform: translate(-50%, 44%) scale(.94, 1.08); }
  66%      { transform: translate(-50%, 54%) scale(1.04, .96); }
  78%      { transform: translate(-50%, 59%) scale(.99, 1.01); }
}
.drip { width: calc(var(--orb) * .3); aspect-ratio: 1; }
.drip--top    { top: 0;    transform: translate(-50%, -100%); animation: dripTop    var(--loop) cubic-bezier(.5,0,.3,1) infinite; }
.drip--bottom { bottom: 0; transform: translate(-50%,  100%); animation: dripBottom var(--loop) cubic-bezier(.5,0,.3,1) infinite; }
@keyframes dripTop {
  0%, 12%  { top: 0;   transform: translate(-50%, -100%) scale(1); }
  44%      { top: 50%; transform: translate(-50%, -85%)  scale(1.05, 1.2); }
  54%      { top: 50%; transform: translate(-50%, -60%)  scale(1.25, 1); }
  70%      { top: 18%; transform: translate(-50%, -90%)  scale(.8, 1.3); }
  84%,100% { top: 0;   transform: translate(-50%, -100%) scale(1); }
}
@keyframes dripBottom {
  0%, 12%  { bottom: 0;   transform: translate(-50%, 100%) scale(1); }
  44%      { bottom: 50%; transform: translate(-50%, 85%)  scale(1.05, 1.2); }
  54%      { bottom: 50%; transform: translate(-50%, 60%)  scale(1.25, 1); }
  70%      { bottom: 18%; transform: translate(-50%, 90%)  scale(.8, 1.3); }
  84%,100% { bottom: 0;   transform: translate(-50%, 100%) scale(1); }
}
.ripples { position: absolute; inset: 0; pointer-events: none; }
.ripples i {
  position: absolute; left: 50%; top: 50%; width: calc(var(--orb) * .45); aspect-ratio: 1;
  border-radius: 50%; border: 2px solid rgba(0,0,0,.55); filter: blur(1.5px);
  transform: translate(-50%, -50%) scale(.2); opacity: 0;
  animation: ripple var(--loop) cubic-bezier(.2,.6,.3,1) infinite;
}
.ripples i:nth-child(2) { animation-delay: .45s; }
.ripples i:nth-child(3) { animation-delay: .9s; }
@keyframes ripple {
  0%, 47% { transform: translate(-50%, -50%) scale(.2); opacity: 0; }
  49%     { opacity: .9; }
  75%     { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
  100%    { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
}
/* 黑白交錯：兩層反相圈輪流從中心擴散（第二層再反一次＝復原，循環無接縫） */
.flood {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: #fff; mix-blend-mode: difference;
  clip-path: circle(0% at 50% 50%);
  animation: var(--cycle) cubic-bezier(.3,.05,.2,1) infinite;
}
.flood--a { animation-name: floodA; }
.flood--b { animation-name: floodB; }
@keyframes floodA {
  0%, 26.5% { clip-path: circle(0% at 50% 50%); }
  38%, 100% { clip-path: circle(75% at 50% 50%); }
}
@keyframes floodB {
  0%, 76.5% { clip-path: circle(0% at 50% 50%); }
  88%, 100% { clip-path: circle(75% at 50% 50%); }
}

/* Hero 文字以 difference 疊色：白底上是深色，碰到黑色自動變白 */
.hero__content { position: relative; padding-top: 80px; padding-bottom: 140px; mix-blend-mode: difference; }
.hero__title {
  margin-left: clamp(0px, 7vw, 108px); width: fit-content;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(104px, 16.3vw, 235px); line-height: .8; letter-spacing: 0;
  background: linear-gradient(180deg, #eee 15%, #aaa 90%); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1s .2s both cubic-bezier(.2,.7,.2,1);
}
.hero__row { display: flex; justify-content: space-between; align-items: flex-start; margin-top: clamp(32px, 5vw, 64px); padding-left: clamp(0px, 7vw, 108px); padding-right: clamp(0px, 7vw, 100px); }
.hero__tagline { display: flex; gap: 16px; color: #fff; font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.5; letter-spacing: .04em; animation: rise 1s .45s both cubic-bezier(.2,.7,.2,1); }
.dots { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #373737; animation: dot 1.8s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
.hero__mark { width: clamp(64px, 6.3vw, 92px); height: auto; filter: invert(1); margin-top: 4px; animation: rise 1s .6s both cubic-bezier(.2,.7,.2,1); }
.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 7px; padding: 8px;
}
.hero__scroll i { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: dot 1.6s infinite; }
.hero__scroll i:nth-child(2) { animation-delay: .2s; }
.hero__scroll i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- intro ---------- */
.intro { text-align: center; padding: 76px 24px 0; background: #fff; }
.intro__title { font-size: clamp(22px, 3.2vw, 40px); letter-spacing: .06em; }
.intro__sub { margin-top: 14px; font-size: 15px; letter-spacing: .2em; color: var(--text-muted); }
.intro__mountain { margin: 48px auto 0; width: min(520px, 90%); height: auto; image-rendering: pixelated; mix-blend-mode: multiply; }

/* ---------- section common ---------- */
.gray-zone { background: var(--gray-100); position: relative; overflow: hidden; }
.section { position: relative; }
.section__head { text-align: center; }
.section__head .display { font-size: clamp(24px, 2.3vw, 30px); }
.section__zh { margin-top: 6px; font-size: 15px; letter-spacing: .25em; color: var(--text-muted); }

.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 56px; }
.cta__en { font-size: 14px; color: var(--text-muted); letter-spacing: .02em; }
.cta__line { width: 1px; height: 48px; background: #000; margin-top: 22px; }

/* ---------- services ---------- */
.services { padding-top: 88px; }
.services__card {
  margin-top: 56px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 40px; display: grid; grid-template-columns: repeat(4, 1fr);
}
.service { position: relative; padding: 0 28px; }
.service:first-child { padding-left: 0; }
.service:last-child { padding-right: 0; }
.service + .service { border-left: 1.5px solid #000; }
.service h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: .1em; }
.service h3 b { font-family: var(--font-body); font-weight: 700; }
.sep { width: 1px; height: 18px; background: #000; }
.service__en { margin-top: 26px; font-size: 14px; letter-spacing: .12em; }
.service__tags { margin-top: 4px; font-size: 13.5px; letter-spacing: .06em; white-space: nowrap; }
.service__tags span { color: #aaa; margin: 0 5px; }
.pix-icon { position: absolute; top: 0; right: 28px; width: 32px; height: 32px; fill: #cfcfcf; transition: fill .3s, transform .3s; }
.service:last-child .pix-icon { right: 0; }
.service:hover .pix-icon { fill: #000; transform: rotate(90deg); }

/* ---------- works ---------- */
.works { padding: 88px 0 72px; }
/* blurred side rings: drift across and cross each other behind the cards */
.works > .container { position: relative; z-index: 1; }
.works::before, .works::after {
  content: ""; position: absolute; z-index: 0; top: 150px; width: 560px; height: 500px; border-radius: 50%;
  border: 46px solid rgba(0,0,0,.10); filter: blur(22px); pointer-events: none; will-change: transform;
}
.works::before { left: -380px; animation: ringDriftL 22s ease-in-out infinite alternate; }
.works::after { right: -380px; animation: ringDriftR 22s ease-in-out infinite alternate; }
@keyframes ringDriftL { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 200px)); } }
@keyframes ringDriftR { from { transform: translateX(0); } to { transform: translateX(calc(-100vw - 200px)); } }
.works__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.works__lead { display: flex; align-items: center; gap: 40px; }
.works__lead p { font-size: 16px; line-height: 1.55; letter-spacing: .12em; }
.pix-arrows { width: 84px; height: 32px; fill: #000; flex: none; }
.works__title { text-align: right; }
.works__title .display { font-size: clamp(24px, 2.3vw, 30px); }
.works__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
/* card float: --h (0..1) is the lift amount, driven smoothly by main.js; shadow follows it */
@property --h { syntax: '<number>'; inherits: true; initial-value: 0; }
.work { display: block; padding-bottom: 18px; border-bottom: 1px dotted #666; will-change: translate; }
.work__img { aspect-ratio: 303 / 280; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 calc(6px + var(--h) * 18px) calc(18px + var(--h) * 26px) rgba(0,0,0, calc(.12 + var(--h) * .12)); }
/* fallback without JS: soft eased lift */
html:not(.js-float) .work, html:not(.js-float) .post { transition: translate .8s cubic-bezier(.22,1,.36,1), --h .8s cubic-bezier(.22,1,.36,1); }
html:not(.js-float) .work:hover, html:not(.js-float) .post:hover { translate: 0 -10px; --h: 1; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.22,1,.36,1); }
.work:hover .work__img img { transform: scale(1.045); }
.work h3 { margin-top: 20px; font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.chips li {
  font-family: var(--font-display); font-weight: 400; font-size: 13px; letter-spacing: .04em; color: #444;
  border: 1px solid #555; border-radius: 999px; padding: 5px 10px; line-height: 1;
}
.chips li.zh { font-family: var(--font-body); font-weight: 400; font-size: 13px; padding: 4px 10px; }

/* ---------- trusted ---------- */
.trusted {
  position: relative; padding: 76px 0 72px; overflow: hidden;
  background: #fff url("assets/topo.jpg") center / cover no-repeat;
}
.trusted::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.5); }
.trusted > * { position: relative; }
.pix-divider { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 33px; height: 22px; fill: #000; z-index: 2; }
.pix-divider--light { fill: #fff; }
.marquee { margin-top: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 32px; width: max-content; padding: 20px 0; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.brand {
  width: 268px; height: 114px; flex: none; border-radius: var(--radius-md);
  background: rgba(255,255,255,.92); box-shadow: 0 4px 18px rgba(0,0,0,.18);
  display: grid; place-items: center;
}
.brand img { width: 214px; height: auto; }
@keyframes marquee { to { transform: translateX(calc(-50% - 16px)); } }

/* ---------- insights ---------- */
.insights {
  padding: 88px 0 72px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 50% 18%, #fafafa 0%, transparent 70%),
    linear-gradient(180deg, #e8e8e8 0%, #ececec 45%, #a9a9a9 72%, #c9c9c9 85%, #f5f5f5 100%);
}
.insights__lead { text-align: center; margin-top: 64px; font-size: 16px; letter-spacing: .14em; }
.insights__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; }
.post { display: block; background: #fff; border-radius: var(--radius-lg); overflow: hidden; will-change: translate; box-shadow: 0 calc(8px + var(--h) * 18px) calc(24px + var(--h) * 24px) rgba(0,0,0, calc(.14 + var(--h) * .1)); }
.post__img { aspect-ratio: 375 / 262; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__body { padding: 22px 20px 20px; }
.post h3 { font-size: 20px; font-weight: 700; }
.post p { margin-top: 12px; font-size: 15px; line-height: 1.55; color: #777; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post time { display: block; margin-top: 14px; font-size: 12px; color: #777; }

/* ---------- contact ---------- */
.contact { background: var(--gray-100); padding: 72px 0 72px; overflow: hidden; }
.contact__inner { display: flex; justify-content: space-between; align-items: center; min-height: 380px; }
.contact__left { position: relative; padding-left: 130px; padding-top: 70px; }
.orb-s { position: absolute; border-radius: 50%; background: #000; }
.orb-s--lg { width: 190px; height: 190px; left: 40px; top: 0; filter: blur(5px); animation: float 8s ease-in-out infinite; }
.orb-s--md { width: 86px; height: 86px; left: 580px; top: 170px; filter: blur(4px); animation: float 7s 1s ease-in-out infinite reverse; }
.orb-s--sm { width: 28px; height: 28px; left: 505px; top: 285px; filter: blur(2px); animation: float 6s .5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, -14px); } }
.contact__title { position: relative; font-size: clamp(22px, 2.5vw, 32px); letter-spacing: .14em; color: #fff; mix-blend-mode: difference; }
.contact__zh { position: relative; margin: 14px 0 0 100px; font-size: 16px; letter-spacing: .5em; }
.contact__left .btn { position: relative; margin: 40px 0 0 140px; }
.contact__right { display: flex; align-items: center; gap: 60px; position: relative; }
.contact__vertical { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(34px, 3vw, 44px); letter-spacing: .02em; }
.contact__art { position: relative; width: 210px; }
.contact__art::before { content: ""; position: absolute; left: -110px; top: 50%; width: 360px; height: 360px; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, #fff 55%, rgba(255,255,255,0) 72%); }
.contact__art img { position: relative; width: 100%; height: auto; image-rendering: pixelated; mix-blend-mode: multiply; filter: brightness(1.08) contrast(1.2); }

/* ---------- faq ---------- */
.faq {
  position: relative; color: #fff; padding: 76px 24px 56px;
  background:
    radial-gradient(ellipse 22% 45% at 0% 50%, #3a3a3a 0%, transparent 100%),
    radial-gradient(ellipse 22% 45% at 100% 50%, #3a3a3a 0%, transparent 100%),
    #000;
}
.faq .section__zh { color: #fff; }
.faq__list { max-width: 626px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border-radius: 10px; background: linear-gradient(180deg, #2a2a2a, #121212);
  box-shadow: 0 0 10px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.15);
}
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 13px 24px; font-size: 16px; letter-spacing: .12em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary span { display: flex; align-items: center; }
.faq__item summary i { display: inline-block; width: 1px; height: 14px; background: #888; margin: 0 10px; }
.pix-chevron { width: 20px; height: 13px; fill: #fff; transition: transform .3s; flex: none; }
.faq__item[open] .pix-chevron { transform: rotate(180deg); }
.faq__item p { padding: 0 24px 18px 62px; font-size: 14px; line-height: 1.8; color: #bbb; letter-spacing: .06em; }

/* ---------- footer ---------- */
.footer { background: linear-gradient(100deg, #7d7d7d 0%, #9a9a9a 70%, #b3b3b3 100%); color: #fff; padding: 64px 0 64px; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.footer__logo { width: 269px; height: auto; }
.footer__social { display: flex; gap: 22px; margin-top: 48px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: #8a8a8a; display: grid; place-items: center; transition: background .2s; }
.footer__social a:hover { background: #555; }
.footer__copy { margin-top: 30px; font-size: 11px; opacity: .85; }
.footer__col { border-left: 1px solid rgba(255,255,255,.7); padding-left: 32px; }
.footer__col h4 { font-size: 16px; font-weight: 700; margin-bottom: 22px; }
.footer__col p { display: flex; align-items: center; gap: 12px; font-size: 14px; margin-bottom: 12px; }
.footer__col p svg { color: #333; flex: none; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, max-content); column-gap: 60px; row-gap: 14px; font-size: 14px; }
.footer a:hover { text-decoration: underline; }
.globe { width: 18px; height: 18px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 35%, #bbb, #333 70%); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__menu { gap: 24px; }
  .services__card { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .service:nth-child(3) { border-left: 0; padding-left: 0; }
  .service:nth-child(2) { padding-right: 0; }
  .service:nth-child(2) .pix-icon { right: 0; }
  .works__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .insights__grid { gap: 24px; }
  .contact__left { padding-left: 60px; }
  .orb-s--md { left: 470px; }
  .orb-s--sm { left: 420px; }
}
@media (max-width: 900px) {
  .nav__inner { padding: 0 20px; }
  .nav__menu {
    position: fixed; top: 62px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(255,255,255,.98); padding: 8px 20px 20px; border-radius: 0 0 14px 14px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s;
  }
  .nav__menu a { padding: 14px 0; border-bottom: 1px solid #eee; font-size: 16px; }
  .nav__menu a::after { display: none; }
  .nav.is-open .nav__menu { transform: none; opacity: 1; pointer-events: auto; }
  .nav__burger { display: block; }
  .nav__lang { display: none; }
  .insights__grid { grid-template-columns: 1fr; max-width: 480px; }
  .contact__inner { flex-direction: column; align-items: flex-start; gap: 64px; }
  .contact__right { align-self: flex-end; }
  .footer__inner { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col:nth-child(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .nav__logo img { width: 150px; }
  .nav__actions { gap: 10px; }
  .nav__actions .btn--sm { padding: 7px 12px; font-size: 12px; }
  .hero__content { padding-bottom: 120px; }
  .hero__title, .hero__row { margin-left: 0; padding-left: 0; padding-right: 0; }
  .services__card { grid-template-columns: 1fr; padding: 28px 24px; }
  .service, .service:first-child, .service:last-child { padding: 0; border-left: 0 !important; }
  .service + .service { border-top: 1px solid #000; padding-top: 28px; }
  .service .pix-icon, .service:nth-child(2) .pix-icon { right: 0; }
  .service + .service .pix-icon { top: 28px; }
  .service__tags { font-size: 13px; letter-spacing: .06em; }
  .works__head { flex-direction: column-reverse; align-items: flex-start; }
  .works__title { text-align: left; }
  .works__lead { gap: 20px; }
  .works__lead p { font-size: 14px; letter-spacing: .06em; }
  .pix-arrows { width: 56px; height: 21px; }
  .works__grid { grid-template-columns: 1fr; }
  .brand { width: 210px; height: 92px; }
  .brand img { width: 170px; }
  .contact__left { padding-left: 0; padding-top: 80px; }
  .orb-s--lg { left: -30px; width: 150px; height: 150px; }
  .orb-s--md { left: auto; right: 0; top: 230px; width: 60px; height: 60px; }
  .orb-s--sm { left: auto; right: 90px; top: 300px; }
  .contact__zh { margin-left: 40px; letter-spacing: .3em; }
  .contact__left .btn { margin-left: 40px; }
  .contact__right { gap: 28px; }
  .contact__art { width: 150px; }
  .faq__item summary { padding: 12px 16px; font-size: 14px; letter-spacing: .06em; }
  .faq__item p { padding: 0 16px 16px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__col { border-left: 0; padding-left: 0; }
  .footer__logo { width: 220px; }
}

/* ---------- pixel cursor trail ---------- */
.pixel-trail { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 9999; pointer-events: none; mix-blend-mode: difference; }
