:root {
  /* 品牌颜色：修改这里可统一调整全站基础色。 */
  --ink: #f6f1eb;
  --paper: #323232;
  --accent: rgba(50, 50, 50, .72);
  --line: rgba(50, 50, 50, 0.28);
  --sans: var(--navigation-font);
  /* 首页可调尺寸：Logo、底部翻页入口及菜单按钮。 */
  --logo-width: clamp(126px, 14.7vw, 273px);
  /* Shared logo geometry for products, services and team. */
  --section-logo-top: clamp(24px, 2.8vw, 50px);
  --section-logo-left: clamp(28px, 3vw, 50px);
  --section-logo-width: clamp(108px, 7.47vw, 135px);
  --next-page-hit-area: 76px;
  --menu-button-size: 66px;
  /* 导航可调尺寸：面板宽度、文本大小和中间竖线的位置。 */
  --navigation-width: min(16vw, 272px);
  --navigation-text-size: 22px;
  --navigation-font: "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --navigation-divider-x: 80px;
  /* 菜单每行高度（即文字行间隔）：可每次增加/减少 2px 微调。 */
  --navigation-row-height: 66px;
  /* 竖线完成后的总长度；100% 等于所有菜单行总高度，可改为 calc(100% + 12px)。 */
  --navigation-divider-length: 100%;
  /* 动效曲线：竖线“先快—中慢—后快”；文字从竖线向外平滑展开。 */
  --navigation-line-easing: linear(0, .26 12%, .46 51%, 1);
  --navigation-text-easing: cubic-bezier(.16, .86, .28, 1);
  /* 竖线结束后的文字等待时间：竖线总结束点为 .62s，此处额外空出 1s。 */
  --navigation-text-delay: 0.67s;
}

* { box-sizing: border-box; }

html { font: 14px var(--sans); }
html, body { min-height: 100%; margin: 0; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  overflow: hidden;
}

.visually-hidden {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

button, a { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font-family: var(--navigation-font); }

.home {
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

/* 三层顺序：视频 → 纹理 → 遮罩；三个层都不会遮挡可点击元素。 */
.home__background, .home__texture, .home__shade { inset: 0; position: absolute; }

.home__background { background: #f6f1eb; }
.home__image { height: 100%; object-fit: cover; object-position: center; width: 100%; }

.home__texture {
  /* 原始纹理按 3px 平铺；可在此处调整颗粒密度。 */
  background: url("1/Texture.png") 50%;
  background-size: 3px 3px;
  image-rendering: pixelated;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.home__shade { background: linear-gradient(90deg, rgba(0,0,0,.38), transparent 50%), linear-gradient(0deg, rgba(0,0,0,.45), transparent 44%); }

/* 菜单打开后，按钮移动到抽屉左边缘，保持可随时关闭。 */
.site-header { position: fixed; right: clamp(18px, 2vw, 42px); top: clamp(18px, 2vw, 38px); transition: right .38s cubic-bezier(.77, 0, .18, 1); z-index: 11; }

.menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--paper);
  cursor: pointer;
  display: flex;
  height: var(--menu-button-size);
  justify-content: center;
  padding: 0;
  width: var(--menu-button-size);
}

/* 三条线统一 2px；展开时首尾线组成关闭叉号。 */
.menu-button__icon { display: grid; gap: 6px; width: 25px; }
.menu-button__icon i { background: currentColor; display: block; height: 2px; transition: transform .24s ease, opacity .16s ease; width: 100%; }
.menu-button[aria-expanded="true"] { background: rgba(0, 0, 0, .72); }
.menu-button[aria-expanded="true"] .menu-button__icon i:first-child { transform: translateY(8px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__icon i:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-button__icon i:last-child { transform: translateY(-8px) rotate(-45deg); }

.brand-mark {
  /* 左下位置与大小可通过 bottom、left 和 --logo-width 调整。 */
  bottom: clamp(64px, 14vh, 154px);
  display: block;
  left: clamp(28px, 5.2vw, 94px);
  position: absolute;
  text-decoration: none;
  z-index: 2;
}
.brand-mark img { display: block; height: auto; width: var(--logo-width); }

/* 底部居中：整个 76px 方形才是可点击及触发“变实”的区域。 */
.next-page-link {
  align-items: center;
  bottom: 4px;
  cursor: pointer;
  display: grid;
  height: var(--next-page-hit-area);
  left: 50%;
  justify-items: center;
  position: absolute;
  text-decoration: none;
  transform: translateX(-50%);
  width: var(--next-page-hit-area);
  z-index: 2;
}
.next-page-link img { display: block; height: auto; opacity: .42; transition: opacity .18s ease; width: clamp(34px, 3.1vw, 54px); }
.next-page-link:hover img, .next-page-link:focus-visible img { opacity: 1; }

/* 右侧抽屉：修改 --navigation-width 可微调面板宽度。 */
.navigation {
  background: #f6f1eb;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  height: 100svh;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.77, 0, .18, 1);
  width: var(--navigation-width);
  z-index: 10;
}
.navigation.is-open { transform: translateX(0); }
.navigation { overflow-y: auto; visibility: hidden; }
.navigation.is-open { visibility: visible; }
.language-switch { position: fixed; top: 74px; right: 24px; z-index: 8; width: 108px; margin: 0; padding: 0; }
.language-switch button { background: rgba(16, 18, 14, .65); border: 1px solid rgba(50, 50, 50, .72); border-radius: 0; color: var(--paper); cursor: pointer; width: 100%; min-height: 30px; padding: 8px 10px; font: 11px/1.4 var(--sans); }
.language-switch button:hover, .language-switch button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
html[lang="ja"] { --navigation-width: clamp(260px, 20vw, 320px); }
html[lang="ja"] .navigation__list span { font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
html[lang="ja"] .service-title p { font-size: clamp(22px, 3vw, 40px); white-space: normal; }
html[lang="ja"] :is(.products__title, .team__title, .services-heading__title) h1 { line-height: 1.2; }
html:not([lang="zh-CN"]) .team-card__caption small { overflow-wrap: anywhere; }
/* 首行与菜单按钮下沿对齐；竖线先从这里自上而下生长。 */
.navigation nav { flex-shrink: 0; margin: calc(clamp(18px, 2vw, 42px) + var(--menu-button-size)) auto 0; position: relative; width: min(100% - 34px, 215px); }
.navigation nav::before { background: rgba(50, 50, 50,.55); content: ""; height: 0; left: var(--navigation-divider-x); position: absolute; top: 0; transition: height .42s var(--navigation-line-easing) .2s; width: 2px; }
.navigation.is-open nav::before { height: var(--navigation-divider-length); }
/* 竖线完成后才显示文字；关闭时文字会立即隐藏。 */
.navigation__list { list-style: none; margin: 0; opacity: 0; padding: 0; transition: opacity .14s ease; }
.navigation.is-open .navigation__list { opacity: 1; transition-delay: var(--navigation-text-delay); }
.navigation__list a { align-items: center; color: inherit; display: grid; grid-template-columns: var(--navigation-divider-x) 1fr; min-height: var(--navigation-row-height); text-decoration: none; }
/* 文字均从竖线处出现：中文向左、英文向右。 */
.navigation__list span { font: var(--navigation-text-size) var(--navigation-font); font-weight: 700; padding-right: 12px; text-align: right; }
.navigation__list em { font: var(--navigation-text-size) var(--navigation-font); font-style: normal; font-weight: 700; letter-spacing: 0; line-height: 1; padding-left: 13px; }
.navigation.is-open .navigation__list span { animation: menu-chinese-in .3s var(--navigation-text-easing) var(--navigation-text-delay) both; }
.navigation.is-open .navigation__list em { animation: menu-english-in .3s var(--navigation-text-easing) var(--navigation-text-delay) both; }
.navigation__list a:hover span, .navigation__list a:hover em, .navigation__list a:focus-visible span, .navigation__list a:focus-visible em, .navigation__list a[aria-current="page"] span, .navigation__list a[aria-current="page"] em { color: var(--accent); }

/* 中文初始停在竖线右侧，结束时向左归位；英文反向执行。 */
@keyframes menu-chinese-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes menu-english-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }

.navigation-backdrop { background: rgba(0,0,0,.35); border: 0; inset: 0; opacity: 0; pointer-events: none; position: fixed; transition: opacity .3s ease; z-index: 9; }
.navigation-backdrop.is-visible { opacity: 1; pointer-events: auto; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.navigation :focus-visible { outline-color: var(--paper); }
/* 保持打开状态下的关闭按钮贴合抽屉左侧。 */
.menu-open .site-header { right: var(--navigation-width); }

/* PRODUCTS：四列独立循环。每列复制一组，移动距离固定为一组自身的高度。 */
.products-page { overflow: hidden; }
.products {
  background: var(--ink);
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(20px, 2.8vw, 48px) clamp(26px, 5.2vw, 94px);
  position: relative;
}
.products::after {
  background: url("1/Texture.png") 50%;
  background-size: 3px 3px;
  content: "";
  image-rendering: pixelated;
  inset: 0;
  mix-blend-mode: soft-light;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}
.products__heading { align-items: flex-start; display: flex; justify-content: space-between; left: var(--section-logo-left); margin: 0; position: absolute; right: clamp(26px, 5.2vw, 94px); top: var(--section-logo-top); z-index: 2; }
.products__brand { display: block; width: var(--section-logo-width); }
.products__brand img { display: block; height: auto; width: 100%; transform: none; }
.products__title { margin-top: clamp(14px, 2vw, 32px); text-align: right; transform: translateX(-25px); }
.products__heading p, .products__heading h1 { margin: 0; }
.products__heading p { color: var(--paper); font-size: clamp(13px, .92vw, 16px); font-weight: 700; letter-spacing: .12em; }
.products__heading h1 { color: var(--paper); font: 700 clamp(24px, 3.04vw, 53px)/.82 var(--navigation-font); letter-spacing: -.04em; margin-top: 5px; }
.products__wall { display: grid; gap: clamp(8px, 1.1vw, 18px); grid-template-columns: repeat(6, minmax(0, 1fr)); height: calc(100svh - clamp(65px, 9vw, 165px)); margin-top: clamp(65px, 9vw, 165px); overflow: hidden; position: relative; z-index: 0; }
.product-column { min-width: 0; overflow: hidden; }
.product-column__track { display: flex; flex-direction: column; gap: clamp(8px, 1.1vw, 18px); }
.product-column__set { display: grid; gap: clamp(8px, 1.1vw, 18px); grid-template-columns: 1fr; flex: 0 0 auto; }
.product-column img { aspect-ratio: 3 / 4; display: block; object-fit: cover; width: 100%; }
.product-card { position: relative; min-width: 0; outline-offset: -2px; }
.product-card__details { background: rgba(8, 8, 8, .65); border-bottom: 2px solid var(--accent); color: var(--paper); left: 0; right: 0; top: 0; padding: 14px; position: absolute; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 2; max-height: 100%; overflow-y: auto; }
.product-card__details.is-floating { position: fixed; right: auto; max-height: calc(100svh - 24px); opacity: 1; visibility: visible; transform: none; pointer-events: none; z-index: 8; }
.product-card__details p { font-size: clamp(12px, 1vw, 16px); line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.product-card__details p + p { margin-top: 8px; }
.product-card__details strong { color: var(--accent); }
.product-card:is(:hover, :focus-visible) .product-card__details { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.product-column--up .product-column__track { animation: products-scroll-up var(--products-scroll-duration, 34s) linear infinite; }
.product-column--down .product-column__track { animation: products-scroll-down var(--products-scroll-duration, 34s) linear infinite; }
.product-column:hover .product-column__track, .product-column:focus-within .product-column__track { animation-play-state: paused; }
@keyframes products-scroll-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - clamp(4px, .55vw, 9px))); } }
@keyframes products-scroll-down { from { transform: translateY(calc(-50% - clamp(4px, .55vw, 9px))); } to { transform: translateY(0); } }

/* TEAM：五列成员墙。卡片始终保持固定框，纹理仅在鼠标或键盘反馈时退场。 */
.team-card { color: inherit; text-decoration: none; }
.member-page { overflow: auto; }
.member { max-width: 1440px; margin: auto; padding: 32px clamp(20px, 6vw, 90px) 60px; position: relative; }
.member-page::before { content: ""; position: fixed; inset: 0; background: url("1/Texture.png") 50% / 3px 3px; opacity: .2; pointer-events: none; }
.member__header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-right: 80px; margin-bottom: 56px; }
.member__brand { width: 126px; }
.member__brand img { display: block; width: 100%; }
.member__back { color: var(--paper); text-decoration: none; letter-spacing: .08em; }
.member__back:hover { color: var(--accent); }
.member__layout { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.5fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.member__identity { position: sticky; top: 32px; }
.member__portrait { display: block; width: 100%; max-height: 52svh; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.member__eyebrow { color: var(--accent); font-size: 12px; letter-spacing: .2em; margin: 24px 0 12px; }
.member h1 { font-size: clamp(32px, 3.5vw, 52px); line-height: 1.2; letter-spacing: .08em; margin: 0; }
.member__role { font-size: 15px; line-height: 1.7; margin: 12px 0 24px; overflow-wrap: anywhere; }
.member__socials { display: flex; flex-wrap: wrap; gap: 24px; }
.member__socials:empty { display: none; }
.member__socials .contact__social-link svg { width: 48px; height: 48px; box-shadow: inset 0 0 0 1.5px currentColor; }
.member__socials .contact__social-link span { font-size: 12px; margin-top: 8px; }
.member__email svg { padding: 12px; }
.member__tabs { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.member__tabs a { color: var(--paper); text-decoration: none; padding: 16px 22px; min-height: 48px; font-size: 17px; letter-spacing: .05em; transition: color .2s, background .2s; }
.member__tabs a:first-child { padding-left: 0; }
.member__tabs a:hover, .member__tabs a:focus-visible { color: var(--accent); }
.member__section { padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.member__section h2 { font-size: 22px; letter-spacing: .08em; margin: 0 0 20px; }
.member__section h2 small { display: block; color: var(--accent); font-size: 11px; letter-spacing: .16em; margin-top: 8px; }
.member__copy { font-family: var(--sans); font-size: 15px; line-height: 2; overflow-wrap: anywhere; }
.member__copy p { margin: 0 0 10px; white-space: pre-wrap; }
.member__copy p:last-child { margin-bottom: 0; }
.member__adjacent { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); margin-top: 60px; padding-top: 24px; }
.member__adjacent a { display: grid; gap: 8px; color: var(--paper); text-decoration: none; }
.member__adjacent a[rel="next"] { margin-left: auto; text-align: right; }
.member__adjacent span { color: var(--accent); font-size: 12px; }
.member__adjacent strong { font-size: 22px; }
@media (max-width: 600px) {
  .member__tabs a, .member__tabs a:first-child { padding: 14px 12px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .member__tabs a { transition: none; }
}
@media (max-width: 700px) {
  .member { padding-top: 24px; }
  .member__header { margin-bottom: 36px; padding-right: 58px; gap: 12px; }
  .member__brand { width: 94px; }
  .member__back { font-size: 12px; }
  .member__layout { grid-template-columns: 1fr; gap: 36px; }
  .member__identity { position: static; }
  .member__portrait { max-height: none; aspect-ratio: 4 / 5; }
  .member__section { padding: 28px 0; }
  .member__copy { font-size: 14px; }
}
.team-page { overflow: auto; }
.team {
  background: var(--ink);
  min-height: 100svh;
  padding: clamp(20px, 2.8vw, 48px) clamp(26px, 5.2vw, 94px) clamp(28px, 3vw, 56px);
  padding-bottom: calc(var(--next-page-hit-area) + 28px);
  position: relative;
}
.team::before {
  background: url("1/Texture.png") 50%;
  background-size: 3px 3px;
  content: "";
  image-rendering: pixelated;
  inset: 0;
  mix-blend-mode: soft-light;
  pointer-events: none;
  position: fixed;
  z-index: 1;
}
.team__heading {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  left: var(--section-logo-left);
  margin: 0;
  position: absolute;
  right: clamp(26px, 5.2vw, 94px);
  top: var(--section-logo-top);
  z-index: 2;
}
.team__brand { display: block; width: var(--section-logo-width); }
.team__brand img { display: block; height: auto; transform: none; width: 100%; }
.team__title { margin-top: clamp(14px, 2vw, 32px); text-align: right; transform: translateX(-25px); }
.team__title p, .team__title h1 { margin: 0; }
.team__title p { color: var(--paper); font-size: clamp(13px, .92vw, 16px); font-weight: 700; letter-spacing: .12em; }
.team__title h1 { color: var(--paper); font: 700 clamp(24px, 3.04vw, 53px)/.82 var(--navigation-font); letter-spacing: -.04em; margin-top: 5px; }
.team__grid {
  display: grid;
  gap: clamp(8px, 1.1vw, 18px);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: minmax(272px, calc((100svh - clamp(152px, 15vw, 220px)) / 2));
  margin-top: clamp(65px, 9vw, 165px);
  position: relative;
  z-index: 2;
}
.team-card {
  background: #f6f1eb;
  color: var(--paper);
  display: block;
  min-width: 0;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}
.team-card img { display: block; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); width: 100%; }
.team-card__texture { background: url("1/Texture.png") 50%; background-size: 3px 3px; inset: 0; mix-blend-mode: soft-light; opacity: .88; pointer-events: none; position: absolute; transition: opacity .3s ease; }
.team-card::after { background: linear-gradient(0deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0) 42%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.team-card__caption { bottom: clamp(14px, 1.5vw, 26px); display: grid; gap: 4px; left: clamp(14px, 1.5vw, 26px); position: absolute; right: 14px; z-index: 1; }
.team-card__caption strong { font-size: clamp(19px, 1.65vw, 28px); letter-spacing: .06em; line-height: 1; }
.team-card__caption small { font-size: clamp(10px, .72vw, 13px); letter-spacing: .04em; line-height: 1.35; }
.team-card:hover img, .team-card:focus-visible img { transform: scale(1.075); }
.team-card:hover .team-card__texture, .team-card:focus-visible .team-card__texture { opacity: 0; }
.team-card:focus-visible { outline-offset: -4px; }

/* SERVICES 与 CONTACT */
.content-page { overflow: auto; }
.content-page__main, .contact { background: var(--ink); min-height: 100svh; padding: clamp(20px, 2.8vw, 48px) clamp(26px, 5.2vw, 94px) clamp(42px, 6vw, 100px); position: relative; }
.content-page__main::before, .contact::before { background: url("1/Texture.png") 50%; background-size: 3px 3px; content: ""; image-rendering: pixelated; inset: 0; mix-blend-mode: soft-light; pointer-events: none; position: fixed; }
.content-page__heading { align-items: flex-start; display: flex; justify-content: space-between; left: clamp(26px, 5.2vw, 94px); margin: 0; position: absolute; right: clamp(26px, 5.2vw, 94px); top: clamp(20px, 2.8vw, 48px); z-index: 1; }
.content-page__brand { display: block; width: clamp(99px, 10.4vw, 184px); }
.content-page__brand img { display: block; height: auto; transform: translateX(25px); width: 100%; }
.content-page__title { margin-top: clamp(14px, 2vw, 32px); text-align: right; transform: translateX(-25px); }
.content-page__title p, .content-page__title h1 { margin: 0; }
.content-page__title p { font-size: clamp(13px, .92vw, 16px); font-weight: 700; letter-spacing: .12em; }
.content-page__title h1 { font: 700 clamp(24px, 3.04vw, 53px)/.82 var(--navigation-font); letter-spacing: -.04em; margin-top: 5px; }

/* SERVICES：三块场景图沿用参考页的悬停展开方式。 */
.services-page-body { background: #f6f1eb; }
.services-page { background: #f6f1eb; min-height: 100svh; padding-top: var(--section-logo-top); position: relative; }
.services-heading { align-items: flex-start; display: flex; justify-content: space-between; min-height: clamp(96px, 8.5vw, 135px); padding: 0 clamp(76px, 5.8vw, 100px) 20px var(--section-logo-left); position: relative; z-index: 2; }
.services-heading__brand { display: block; flex: 0 0 auto; width: var(--section-logo-width); }
.services-heading__brand img { display: block; height: auto; width: 100%; }
.services-heading__title { padding-top: clamp(2px, .7vw, 12px); text-align: right; }
.services-heading__title p, .services-heading__title h1 { margin: 0; }
.services-heading__title p { font-size: clamp(16px, 1.15vw, 20px); font-weight: 400; letter-spacing: .12em; line-height: 1.2; }
.services-heading__title h1 { font: 700 clamp(34px, 2.55vw, 44px)/1 var(--navigation-font); letter-spacing: .07em; margin-top: 8px; }

.services-list { position: relative; z-index: 1; }
.service-item { align-items: center; background-blend-mode: soft-light, normal, normal; background-color: #f6f1eb; background-position: 50%, center, center; background-repeat: repeat, no-repeat, no-repeat; background-size: 3px 3px, cover, cover; contain: paint; cursor: default; display: flex; isolation: isolate; justify-content: center; min-height: clamp(260px, 25.6vw, 350px); outline: 0; overflow: hidden; position: relative; }
.service-item[data-service="localization"] { background-image: url("1/Texture.png"), linear-gradient(90deg, rgba(0,0,0,.34), rgba(0,0,0,.12) 50%, rgba(0,0,0,.34)), url("1/bendihua.png"); }
.service-item[data-service="voice"] { background-image: url("1/Texture.png"), linear-gradient(90deg, rgba(0,0,0,.34), rgba(0,0,0,.12) 50%, rgba(0,0,0,.34)), url("1/duoyuyan.png"); }
.service-item[data-service="audio"] { background-image: url("1/Texture.png"), linear-gradient(90deg, rgba(0,0,0,.34), rgba(0,0,0,.12) 50%, rgba(0,0,0,.34)), url("1/youshengduwu.png"); }
.service-item[data-service="composing"] { background-image: url("1/Texture.png"), linear-gradient(90deg, rgba(0,0,0,.34), rgba(0,0,0,.12) 50%, rgba(0,0,0,.34)), url("1/yinyuezhizuo.jpg"); }
.service-item[data-service="training"] { background-image: url("1/Texture.png"), linear-gradient(90deg, rgba(0,0,0,.34), rgba(0,0,0,.12) 50%, rgba(0,0,0,.34)), url("1/PXHZ-02.jpg"); }
.service-item[data-service="demo"] { background-image: url("1/Texture.png"), linear-gradient(90deg, rgba(0,0,0,.34), rgba(0,0,0,.12) 50%, rgba(0,0,0,.34)), url("1/a3ce81b.jpg"); color: var(--paper); cursor: pointer; text-decoration: none; }
.service-item.service-demo .service-title { padding: 0; transform: none; }
.service-item.service-demo .service-title::after { display: none; }
.service-content { align-items: center; display: flex; justify-content: center; padding: 0 40px; position: relative; width: 100%; z-index: 1; }
.service-title { align-items: center; display: flex; flex: 0 0 auto; flex-direction: column; padding-right: 28px; position: relative; text-align: center; transform: translateX(0); transition: transform .45s cubic-bezier(.4, 0, .2, 1); }
.service-title::after { background: var(--paper); content: ""; height: 0; opacity: 0; position: absolute; right: 0; top: 50%; transform: translateY(-50%); transition: height .55s cubic-bezier(.4, 0, .2, 1), opacity .2s ease; width: 2px; }
.service-title h2 { font-size: clamp(17px, 1.6vw, 22px); font-weight: 400; letter-spacing: .12em; line-height: 1.35; margin: 0; }
.service-title p { font: 700 clamp(38px, 4vw, 55px)/.95 var(--navigation-font); letter-spacing: .055em; margin: 8px 0 0; transition: color .4s ease; white-space: nowrap; }
.service-details { left: calc(50% + 56px); opacity: 0; position: absolute; top: 50%; transform: translate(100px, -50%); transition: opacity .35s ease, transform .45s cubic-bezier(.4, 0, .2, 1); width: min(44vw, 590px); }
.service-details p { font-size: clamp(15px, calc(1.1vw + 2px), 17px); line-height: 1.25; margin: 9px 0; }
.service-details strong { color: var(--accent); font-weight: 700; }
.service-item:is(:hover, :focus, :focus-within) .service-title { transform: translateX(calc(-20vw + 40px)); }
.service-item:is(:hover, :focus, :focus-within) .service-title::after { height: 200%; opacity: 1; transition-delay: .45s; }
.service-item:is(:hover, :focus, :focus-within) .service-title p { color: var(--accent); }
.service-item:is(:hover, :focus, :focus-within) .service-details { opacity: 1; transform: translate(0, -50%); }
.service-item:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.contact { align-content: center; display: grid; gap: clamp(34px, 4vw, 56px); grid-template-columns: 1fr; justify-items: center; }
.contact__brand, .contact__details { position: relative; z-index: 1; }
.contact__brand img { display: block; height: auto; margin: 0 auto; max-width: 310px; width: min(100%, 310px); }
.contact__brand p { font-size: 13px; letter-spacing: .18em; margin: 14px 0 0; text-align: center; }
.contact__details { display: grid; gap: clamp(46px, 6vw, 86px); grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; width: 100%; }
.contact__details section { text-align: center; }
.contact__details h1 { color: var(--accent); font: 700 clamp(20px, 2.15vw, 36px)/1 var(--navigation-font); letter-spacing: .04em; margin: 0 0 14px; }
.contact__details p { font-size: clamp(14px, 1.1vw, 18px); line-height: 1.75; margin: 0; }
.contact__details a { color: inherit; overflow-wrap: anywhere; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.contact__channels { display: grid; gap: 10px; margin: 12px auto 0; width: fit-content; max-width: 100%; }
.contact__channel { align-items: center; display: flex; gap: 10px; font-size: clamp(12px, 1.1vw, 18px); line-height: 1.5; text-align: left; text-decoration: none; }
.contact__channel > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.contact__channel-icon { align-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; display: inline-flex; flex: 0 0 36px; height: 36px; justify-content: center; transition: background-color .3s ease, color .3s ease; }
.contact__channel-icon svg { display: block; height: 20px; width: 20px; }
.contact__channel:is(:hover, :focus-visible) .contact__channel-icon { background: var(--paper); color: var(--ink); }
.contact__copy { background: transparent; border: 0; color: inherit; cursor: pointer; font-family: inherit; padding: 0; }
.contact__details .contact__copy-status { color: var(--accent); font-size: 12px; opacity: 1; transition: opacity .3s ease; }
.contact__details .contact__copy-status.is-fading { opacity: 0; }
.contact__copy-status:empty { display: none; }
.contact__socials { display: flex; gap: clamp(32px, 5vw, 70px); justify-content: center; position: relative; z-index: 1; }
.contact__social-link { align-items: center; color: var(--paper); display: flex; flex-direction: column; text-decoration: none; transition: transform .3s ease; }
.contact__social-link svg { border-radius: 50%; box-shadow: inset 0 0 0 3px currentColor; color: var(--paper); display: block; fill: currentColor; height: clamp(68px, 5.2vw, 92px); transition: background-color .3s ease, color .3s ease; width: clamp(68px, 5.2vw, 92px); }
.contact__social-link span { font: 700 clamp(17px, 1.35vw, 22px)/1 var(--navigation-font); letter-spacing: .06em; margin-top: 12px; }
.contact__social-link:hover, .contact__social-link:focus-visible { color: var(--paper); transform: translateY(-3px); }
.contact__social-link:hover svg, .contact__social-link:focus-visible svg { background: var(--paper); color: var(--ink); }
.contact__weibo path:first-child { fill: none; }
.contact__weibo path:last-child { transform: scale(.8); transform-box: fill-box; transform-origin: center; }

@media (max-width: 767px) {
  :root { --section-logo-top: 20px; --section-logo-left: 18px; --section-logo-width: 84.6px; }
  .brand-mark { bottom: 100px; }
  .navigation { width: min(78vw, 300px); }
  /* 手机端只调整面板宽度，不改变动效逻辑。 */
  .navigation nav { margin-top: calc(clamp(18px, 2vw, 42px) + var(--menu-button-size)); width: min(100% - 42px, 230px); }
  .menu-open .site-header { right: min(78vw, 300px); }
  .products-page { overflow: auto; }
  .products { min-height: 100svh; overflow: visible; padding: 106px 18px 32px; }
  .products__heading { left: var(--section-logo-left); right: 18px; top: var(--section-logo-top); }
  .products__brand { width: var(--section-logo-width); }
  .products__title { margin-top: 40px; }
  .products__heading h1 { font-size: clamp(22px, 7.2vw, 34px); }
  .products__wall { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; margin: 0; overflow: visible; }
  .product-column { overflow: visible; }
  .product-column__track { display: block; transform: none !important; }
  .product-column__set { gap: 8px; }
  .product-column__set[aria-hidden="true"] { display: none; }
  .product-column__track { animation: none; }
  .team { padding: 106px 18px calc(var(--next-page-hit-area) + 24px); }
  .team__heading { left: var(--section-logo-left); right: 18px; top: var(--section-logo-top); }
  .team__brand { width: var(--section-logo-width); }
  .team__title { margin-top: 40px; transform: none; }
  .team__title h1 { font-size: clamp(22px, 7.2vw, 34px); }
  .team__grid { gap: 8px; grid-template-columns: 1fr; grid-auto-rows: minmax(340px, 112vw); margin: 0; }
  .team-card:hover img { transform: none; }
  .team-card:hover .team-card__texture { opacity: .88; }
  .content-page__main, .contact { padding: 106px 18px 42px; }
  .content-page__heading { left: 18px; right: 18px; top: 20px; }
  .content-page__brand { width: 94px; }
  .content-page__title { margin-top: 40px; transform: none; }
  .content-page__title h1 { font-size: clamp(22px, 7.2vw, 34px); }
  .services-page { padding-top: var(--section-logo-top); }
  .services-heading { min-height: 106px; padding: 0 76px 18px var(--section-logo-left); }
  .services-heading__brand { width: var(--section-logo-width); }
  .services-heading__title { padding-top: 18px; }
  .services-heading__title p { font-size: 13px; }
  .services-heading__title h1 { font-size: clamp(25px, 7.2vw, 34px); margin-top: 5px; }
  .service-item { min-height: 310px; }
  .service-content { flex-direction: column; padding: 30px 22px; }
  .service-title { padding: 0 0 20px; transform: none; }
  .service-title::after { bottom: 0; height: 2px; left: 50%; opacity: 1; right: auto; top: auto; transform: translateX(-50%); width: 70px; }
  .service-title h2 { font-size: 17px; }
  .service-title p { color: var(--accent); font-size: clamp(36px, 12vw, 48px); }
  .service-details { left: auto; margin-top: 16px; opacity: 1; position: static; text-align: center; top: auto; transform: none; width: 100%; }
  .service-details p { font-size: 15px; line-height: 1.35; margin: 7px 0; }
  .service-item:is(:hover, :focus, :focus-within) .service-title { transform: none; }
  .service-item:is(:hover, :focus, :focus-within) .service-title::after { height: 2px; transition-delay: 0s; }
  .service-item:is(:hover, :focus, :focus-within) .service-details { transform: none; }
  .contact { align-content: center; gap: 36px; grid-template-columns: 1fr; }
  .contact__brand img { max-width: 230px; }
  .contact__details { gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__details h1 { font-size: clamp(18px, 5vw, 24px); }
  .contact__details p { font-size: clamp(12px, 3.3vw, 15px); }
  .contact__socials { gap: 28px; }
  .contact__social-link svg { height: 68px; width: 68px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(360px, 58vw); }
}

@media (hover: none) and (min-width: 768px) {
  .service-title { transform: translateX(calc(-20vw + 40px)); }
  .service-title::after { height: 200%; opacity: 1; }
  .service-title p { color: var(--accent); }
  .service-details { opacity: 1; transform: translate(0, -50%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .product-column__track { animation: none !important; }
  .team-card img, .team-card__texture { transition: none; }
  .team-card:hover img, .team-card:focus-visible img { transform: none; }
}

@media (max-width: 700px) {
  :root { --section-logo-width: 68.4px; }
}

.language-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 700px) {
  /* Align the language control below the mobile MENU button. */
  .language-switch { top: 66px; right: 18px; width: 90px; }
  .language-switch button { min-height: 30px; padding: 6px 8px; }
}

.language-switch .language-toggle { font-size: 10px; letter-spacing: .08em; }
.language-options { position: absolute; top: calc(100% + 8px); right: 0; width: 104px; padding: 5px; border: 1px solid #e1dad2; background: rgba(16, 18, 14, .96); display: grid; gap: 2px; }
.language-options[hidden] { display: none; }
.language-options button {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 34px; padding: 8px 7px; border: 0;
  background: transparent; color: rgba(50, 50, 50, .72); text-align: left;
  font: 12px/1.4 var(--sans);
  transition: color .15s ease, background-color .15s ease;
}
.language-options button[aria-pressed=true] { color: var(--accent); background: rgba(50, 50, 50, .07); }
.language-options button[aria-pressed=true]::after { content: '\2713'; margin-left: 6px; font-size: 12px; }
.language-options button:is(:hover, :focus-visible) { color: var(--paper); background: rgba(50, 50, 50, .08); }
.language-options button[aria-pressed=true]:is(:hover, :focus-visible) { color: var(--accent); background: rgba(50, 50, 50, .11); }
.language-options button:focus-visible { outline: 1px solid var(--accent); outline-offset: -1px; }
.menu-open .language-switch { visibility: hidden; pointer-events: none; }
