/* Global content rule: every page section shares the 1400px maximum width. */
.container,
.tools .container,
.contact-cta .container {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
}

.industries-page-container {
  width: min(1400px, calc(100% - 2 * var(--gutter)));
}

.industries-page-container .industry-intro {
  position: relative;
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
  border-bottom: 0;
}

.industries-page-container .industry-intro::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 800px) {
  .industries-page-container .industry-intro {
    padding-top: 0;
  }
  .industries-page-container .industry-intro h1 {
    margin: 0;
  }
}

/* Category tabs: back button stays fixed, only the tab strip scrolls. */
.filterbar {
  flex-wrap: nowrap;
  overflow: hidden;
}

.filterbar .back {
  flex: 0 0 auto;
}

.filterbar-scroll {
  -ms-overflow-style: none;
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.filterbar-scroll::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1200px) {
  .filterbar {
    flex-wrap: nowrap;
    overflow: hidden;
    row-gap: 0;
  }
}

.leader {
  align-items: end;
  background: #f7f7f7;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 430px;
  overflow: hidden;
  padding: 62px max(var(--gutter), calc((100% - var(--max)) / 2)) 0;
}

.leader-content {
  align-self: center;
  max-width: 960px;
  padding-bottom: 58px;
}

.leader-content h2 {
  font-family: DMSerif, Georgia, serif;
  font-size: clamp(46px, 4.1vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 28px;
}

.leader-content p {
  font-family: WorkSans, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.52;
  margin: 0;
}

.leader-portrait {
  align-self: end;
  display: block;
  height: 420px;
  justify-self: end;
  object-fit: contain;
  object-position: bottom center;
  width: 360px;
}

.team-section {
  background: #fff;
  border-top: 40px solid #fff;
  padding: 0;
}

.team-section .team {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-member {
  min-width: 0;
}

.team-photo {
  align-items: end;
  background: #f7f7f7;
  box-shadow: 0 0 0 100vmax #f7f7f7;
  clip-path: inset(0 -100vmax);
  display: flex;
  height: 390px;
  justify-content: center;
  overflow: hidden;
}

.team-photo img {
  display: block;
  height: 360px;
  max-width: 92%;
  object-fit: contain;
  object-position: bottom center;
  width: auto;
}

.team-member p {
  align-items: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  font-family: WorkSans, Arial, sans-serif;
  justify-content: center;
  margin: 0;
  min-height: 112px;
  padding: 22px 12px;
  text-align: center;
}

.team-member p span {
  font-size: 20px;
  line-height: 1.25;
}

.team-member p small {
  font-size: 18px;
  line-height: 1.3;
}

.about-hero {
  background-image: url('/assets/images/about-hero.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  padding: 88px 0 70px;
  position: relative;
}

.about-hero .service-orbit-animation {
  display: block;
  position: absolute;
  right: max(var(--gutter), calc((100% - var(--max)) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 25vw, 410px);
  height: auto;
  aspect-ratio: 1;
  overflow: visible;
  z-index: 1;
  pointer-events: none;
  filter: blur(5px);
}

.about-hero .copy {
  margin: 0 auto;
  max-width: none;
  padding: 0;
  position: relative;
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  z-index: 2;
}

.about-hero-content {
  max-width: none;
  margin-right: calc(clamp(300px, 25vw, 410px) + 100px);
}

.about-hero .copy > h1,
.about-hero .copy > p {
  margin-right: calc(clamp(300px, 25vw, 410px) + 100px);
}

.about-hero-content h1 {
  margin-bottom: 22px;
}

.about-hero-content p {
  margin: 0 0 17px;
}

@media (max-width: 1200px) {
  .team-section .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .about-hero .service-orbit-animation { display: none; }
  .about-hero-content { margin-right: 0; }
  .about-hero .copy { max-width: none; }
  .about-hero .copy > h1,
  .about-hero .copy > p { margin-right: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .team { grid-template-columns: 1fr; }
  .article { padding: 60px 24px; }
}

.stats {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
  padding: 92px 0;
  text-align: center;
}

.stats b {
  display: block;
  font: 52px/1 DMSerif, Georgia, serif;
  margin-bottom: 30px;
}

.stats div span {
  font-size: 18px;
}

.about-contact-section {
  background: #fff;
  padding: 76px 0 110px;
}

.cases-ready-section {
  background: #fff !important;
  padding: 30px 0 54px !important;
}
.cases-ready-section > .container{width:min(1200px,calc(100% - 2 * var(--gutter)));margin-left:auto;margin-right:auto}
.person-page{background:#fff}
.home .section-title{font-size:48px}
.section.faq-section{padding-top:0}
.section:has(.industry-orbit){padding:0}
@media (max-width: 800px) {
  .section:has(.industry-orbit) { padding: 0 0 60px; }
}
.section:has(.partners){padding-top:60px}
.section:has(.partners) .section-title + p{font-size:17px}
.section.tools{padding-top:0}
.person-page .container:not(.footer-grid){width:min(780px,calc(100% - 48px))}
.person-page .article{max-width:780px}
.person-page .back{width:48px!important;height:48px!important;font-size:0!important;background:transparent!important;position:relative;display:block}
.person-page .back::after{content:'';display:block;width:48px;height:48px;background:url('/assets/images/platform/Frame.svg') center/contain no-repeat}
body:has(.service-list){background:#fff}body:has(.service-list) main{background:#fff}

.about-link-card {
  align-items: center;
  background: #000;
  border-radius: 28px;
  color: #fff;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  padding: clamp(42px, 4.5vw, 60px) clamp(28px, 8vw, 120px);
}

.about-link-card h2 {
  font-family: DMSerif, Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 12px;
}

.about-link-card__intro p {
  font-family: WorkSans, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}

.about-link-card__intro > a {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  color: #111;
  display: inline-flex;
  font-family: WorkSans, Arial, sans-serif;
  font-size: 20px;
  justify-content: center;
  margin-top: 52px;
  min-height: 66px;
  padding: 14px 35px;
}

.about-link-card__details {
  display: flex;
  flex-direction: column;
  font-family: WorkSans, Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  gap: 24px;
  line-height: 1.35;
}

.about-map {
  background-color: #e9e9e9;
  background-image:
    repeating-linear-gradient(8deg, transparent 0 44px, rgb(255 255 255 / 82%) 45px 50px, transparent 51px 94px),
    repeating-linear-gradient(98deg, transparent 0 62px, rgb(255 255 255 / 72%) 63px 67px, transparent 68px 128px),
    linear-gradient(138deg, transparent 0 46%, #d1d1d1 46.3% 48.2%, transparent 48.5%),
    linear-gradient(25deg, #efefef, #d9d9d9);
  border-radius: 25px;
  height: 540px;
  margin-top: 40px;
  overflow: hidden;
  position: relative;
}

/* Floating office list over the map: default fixated on the first office. */
.about-map-list {
  background: rgb(255 255 255 / 48%);
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgb(0 0 0 / 16%);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  display: flex;
  flex-direction: column;
  gap: 6px;
  left: 16px;
  max-width: min(248px, calc(100% - 96px));
  padding: 8px;
  position: absolute;
  top: 16px;
  z-index: 3;
}

.about-map-list__item {
  align-items: flex-start;
  background: rgb(255 255 255 / 28%);
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  gap: 3px;
  padding: 9px 12px;
  text-align: left;
  transition: background .25s ease, color .25s ease;
}

.about-map-list__item:hover {
  background: rgb(255 255 255 / 55%);
}

.about-map-list__item b {
  font: 400 16px/1.1 DMSerif, Georgia, serif;
}

.about-map-list__item span {
  color: #3c463f;
  font-family: WorkSans, Arial, sans-serif;
  font-size: 12.5px;
  line-height: 1.35;
}

.about-map-list__item.is-active {
  background: rgb(11 36 23 / 68%);
  color: #fff;
}

.about-map-list__item.is-active span {
  color: #c8d2c8;
}

.about-map__controls,
.about-map__expand,
.about-map__label,
.about-map__pin,
.about-map__road {
  position: absolute;
  z-index: 2;
}

.about-map__controls {
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 18%);
  display: flex;
  font-size: 15px;
  gap: 18px;
  left: 14px;
  padding: 12px 16px;
  top: 14px;
}

.about-map__controls b { font-weight: 600; }
.about-map__controls span { color: #666; }

.about-map__expand {
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 18%);
  font-size: 24px;
  height: 44px;
  line-height: 44px;
  right: 14px;
  text-align: center;
  top: 14px;
  width: 44px;
}

.about-map__road {
  background: #c2c2c2;
  border: 4px solid #f7f7f7;
  height: 15px;
  opacity: .88;
  transform-origin: left center;
  width: 72%;
}

.about-map__road--one { left: -5%; top: 57%; transform: rotate(8deg); }
.about-map__road--two { left: 34%; top: 20%; transform: rotate(72deg); }
.about-map__road--three { left: 7%; top: 84%; transform: rotate(-17deg); width: 86%; }
.about-map__road--four { left: 58%; top: 70%; transform: rotate(-52deg); width: 52%; }

.about-map__label {
  color: #747474;
  font-family: WorkSans, Arial, sans-serif;
  font-size: 15px;
}

.about-map__label--one { left: 45%; top: 55%; transform: rotate(8deg); }
.about-map__label--two { left: 17%; top: 43%; font-size: 18px; font-weight: 600; }
.about-map__label--three { right: 14%; top: 33%; }

.about-map__pin {
  background: #ef3636;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 2px 6px rgb(0 0 0 / 22%);
  height: 34px;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 34px;
}

.about-map__pin::after {
  background: #fff;
  border-radius: 50%;
  content: '';
  height: 8px;
  left: 9px;
  position: absolute;
  top: 9px;
  width: 8px;
}

@media (max-width: 800px) {
  .leader {
    gap: 26px;
    grid-template-columns: 1fr;
    padding: 52px 24px 0;
  }
  .leader-content {
    padding-bottom: 0;
  }
  .leader-content h2 {
    font-size: 42px;
  }
  .leader-content p {
    font-size: 15px;
  }
  .leader-portrait {
    height: 380px;
    justify-self: center;
    max-width: 100%;
  }
  .team-section .team {
    grid-template-columns: 1fr;
  }
  .team-section {
    background: #fff;
  }
  .team-photo {
    background: #f7f7f7;
  }
  .team-photo {
    height: 300px;
  }
  .team-photo img {
    height: 280px;
  }
  .team-member p {
    min-height: 98px;
  }
  .team-member p span {
    font-size: 17px;
  }
  .team-member p small {
    font-size: 15px;
  }
  .about-hero {
    height: auto;
    min-height: 0;
    padding: 92px 0 54px;
  }
  .about-hero .service-orbit-animation {
    width: 240px;
    right: -100px;
    top: 25%;
    transform: translateY(-50%);
  }
  .about-hero .copy {
    padding: 0;
  }
  .about-hero .copy > h1,
  .about-hero .copy > p {
    margin-right: 0;
  }
  .about-hero-content {
    max-width: none;
    margin-right: 0;
  }
  .about-contact-section {
    padding: 48px 0 72px;
  }
  .cases-ready-section {
    padding: 30px 0 48px;
  }
  .about-link-card {
    gap: 48px;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 42px 28px;
  }
  .about-link-card h2 {
    font-size: 32px;
  }
  .about-link-card__intro p {
    font-size: 18px;
  }
  .about-link-card__intro p br {
    display: none;
  }
  .about-link-card__intro > a {
    font-size: 17px;
    margin-top: 32px;
    min-height: 54px;
    padding: 12px 24px;
  }
  .about-link-card__details {
    font-size: 15px;
    gap: 24px;
  }
  .about-map {
    border-radius: 18px;
    height: 560px;
    margin-top: 24px;
  }
  .about-map-list {
    gap: 5px;
    left: 10px;
    padding: 6px;
    top: 10px;
  }
  .about-map-list__item {
    padding: 7px 10px;
  }
  .about-map-list__item b {
    font-size: 14px;
  }
  .about-map-list__item span {
    font-size: 11px;
  }
}

/* Chinese typography: system CJK stacks until subset webfonts land (phase 2). */
html[lang='zh-CN'] body{font-family:WorkSans,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif}
html[lang='zh-CN'] .serif,html[lang='zh-CN'] h1,html[lang='zh-CN'] h2,html[lang='zh-CN'] h3,html[lang='zh-CN'] .overlay-title{font-family:DMSerif,'Songti SC','Noto Serif SC','STSong','SimSun',serif}

/* Case detail content components */
.article-case-title{font-size:34px;margin:0 0 8px}
.article-figure{margin:26px 0}
.article-figure img{width:100%;border-radius:12px;display:block}
.article-figure figcaption{font-size:13px;color:#6b7486;margin-top:8px;text-align:center}
.article-img-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:26px 0}
.article-img-pair img{width:100%;border-radius:12px;display:block}
@media(max-width:800px){.article-img-pair{grid-template-columns:1fr}}
