:root {
  --brand: #3784ff;
  --brand-strong: #0260f8;
  --accent: #06e2ed;
  --ink: #242840;
  --muted: #667085;
  --line: #e5e9f0;
  --soft: #f6f8fb;
  --surface: #fff;
  --content: 1136px;
}

body[data-role-page="about"] {
  color: var(--ink);
  background: var(--surface);
  letter-spacing: 0;
}

.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  padding: 118px 0 82px;
  color: #fff;
  background: #242840;
}

.about-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    rgb(23 29 52 / 98%) 0%,
    rgb(30 41 69 / 90%) 48%,
    rgb(26 41 72 / 46%) 100%
  );
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 400px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 64px;
}

.about-kicker,
.about-section__label {
  margin: 0 0 13px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
}

.about-hero .about-kicker {
  color: var(--accent);
}

.about-hero h1 {
  margin: 0;
  font-family:
    "DingTalk JinBuTi", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0;
}

.about-hero__copy {
  position: relative;
  z-index: 2;
}

.about-hero__copy > p:not(.about-kicker) {
  max-width: 570px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 76%);
  font-size: 15px;
  line-height: 1.85;
}

.about-hero__visual {
  min-width: 0;
}

.about-section {
  padding: var(--section-space) 0;
}

.about-section--soft {
  background: var(--soft);
}

.about-section__heading {
  max-width: 720px;
  margin-bottom: var(--heading-content-gap);
}

.about-section__heading--center {
  margin-inline: auto;
  text-align: center;
}

.about-section__heading h2 {
  margin: 0;
  font-family:
    "DingTalk JinBuTi", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 32px;
  line-height: 1.45;
  letter-spacing: 0;
}

.about-section__heading p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.purpose-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.purpose-card::after {
  position: absolute;
  right: -32px;
  bottom: -66px;
  width: 170px;
  height: 170px;
  content: "";
  border: 1px solid #dbe9ff;
  border-radius: 50%;
}

.purpose-card--vision {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.purpose-card--vision::after {
  border-color: rgb(6 226 237 / 34%);
}

.purpose-card small {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 700;
}

.purpose-card--vision small {
  color: var(--accent);
}

.purpose-card h2 {
  max-width: 470px;
  margin: 30px 0 16px;
  font-family:
    "DingTalk JinBuTi", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 27px;
  line-height: 1.5;
  letter-spacing: 0;
}

.purpose-card p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.purpose-card--vision p {
  color: rgb(255 255 255 / 68%);
}

.about-contact {
  padding: 0;
}

.about-contact__inner {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  overflow: hidden;
  background: #f6f7f9;
}

.about-contact__content {
  display: flex;
  width: 100%;
  min-width: 0;
  padding: 36px clamp(32px, 4vw, 72px);
  flex-direction: column;
  justify-content: center;
}

.about-contact__heading {
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e6ec;
}

.about-contact__heading h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
}

@media (max-width: 991px) {
  .about-hero__inner {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 767px) {
  .about-hero {
    min-height: 0;
    padding: 88px 0 54px;
  }

  .about-hero__inner {
    min-height: 0;
    gap: 36px;
  }

  .about-hero h1 {
    font-size: 31px;
    line-height: 1.4;
  }

  .about-hero__copy > p:not(.about-kicker) {
    font-size: 13px;
  }


  .about-section {
    padding: var(--section-space) 0;
  }

  .about-section__heading h2 {
    font-size: 25px;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .purpose-card {
    min-height: 245px;
    padding: 30px 24px;
  }

  .purpose-card h2 {
    margin-top: 24px;
    font-size: 23px;
  }

}

.about-hero__stats {
  display: grid;
  max-width: 570px;
  margin: 36px 0 0;
  padding: 24px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  border-top: 1px solid rgb(255 255 255 / 22%);
}

.about-hero__stats div {
  display: flex;
  flex-direction: column-reverse;
}

.about-hero__stats dt {
  color: rgb(255 255 255 / 66%);
  font-size: 12px;
  line-height: 1.6;
}

.about-hero__stats dd {
  margin: 0 0 2px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .about-hero__stats dd {
    font-size: 22px;
  }
}

/* 发展历程：尺寸对照 mokahr.com/about 的 .milestones */
.about-history {
  position: relative;
  padding: 40px 0 60px;
}

/* 蓝色底带止于卡片底边上方 20px，卡片压在底带边缘 */
.about-history::before {
  position: absolute;
  inset: 0 0 80px;
  content: "";
  background: var(--brand-strong);
}

.about-history .shell {
  position: relative;
}

.about-history__title {
  margin: 0;
  color: #fff;
  font-family:
    "DingTalk JinBuTi", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 45px;
  text-align: center;
}

.about-history__heading {
  position: relative;
}

.history {
  position: relative;
  width: min(100%, 1070px);
  margin: 35px auto 0;
}

.history__years {
  --history-progress: 0px;
  position: relative;
  display: flex;
  justify-content: space-between;
}

/* 底线和进度线都穿过圆点中心（按钮顶部 45px 处） */
.history__years::before,
.history__years::after {
  position: absolute;
  top: 44px;
  left: 0;
  height: 2px;
  content: "";
}

.history__years::before {
  right: 0;
  background: #257cf9;
}

.history__years::after {
  width: var(--history-progress);
  max-width: 100%;
  background: rgb(255 255 255 / 80%);
  transition: width 0.3s ease;
}

.history__years button {
  position: relative;
  z-index: 1;
  display: flex;
  width: 70px;
  height: 60px;
  flex-direction: column;
  align-items: center;
  padding: 0;
  color: rgb(255 255 255 / 80%);
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.history__label {
  font-size: 20px;
  font-weight: 400;
  line-height: 29px;
  transform-origin: center bottom;
  transition: transform 0.2s, color 0.2s;
}

/* 外圈与底色同色，把线"切断"，内点浅蓝 */
.history__dot {
  position: absolute;
  top: 33px;
  left: 50%;
  width: 24px;
  height: 24px;
  background: rgb(37 124 249 / 90%);
  border-radius: 50%;
  transform: translateX(-50%);
  transition: width 0.2s, height 0.2s, top 0.2s;
}

.history__dot::after {
  position: absolute;
  inset: 5px;
  content: "";
  background: #95c1fc;
  border-radius: 50%;
  transition: background 0.2s, inset 0.2s;
}

.history__years button:hover,
.history__years button[aria-selected="true"] {
  color: #fff;
}

.history__years button[aria-selected="true"] .history__label {
  font-weight: 500;
  transform: scale(1.12);
}

.history__years button[aria-selected="true"] .history__dot {
  top: 31px;
  width: 28px;
  height: 28px;
  background: #257cf9;
}

.history__years button[aria-selected="true"] .history__dot::after {
  inset: 6px;
  background: #fff;
}

.history__years button:focus-visible,
.history__arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: var(--radius-control);
}

.history__arrow {
  position: absolute;
  z-index: 2;
  top: 41px;
  display: grid;
  width: 45px;
  height: 65px;
  place-items: center;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.history__arrow svg {
  width: 28px;
  fill: #fff;
}

.history__arrow--prev {
  left: -115px;
}

.history__arrow--prev svg {
  transform: scaleX(-1);
}

.history__arrow--next {
  right: -115px;
}

.history:hover .history__arrow:not(:disabled),
.history__arrow:focus-visible {
  opacity: 0.8;
}

.history__arrow:disabled {
  opacity: 0.12;
  cursor: default;
}

.history__panel {
  position: relative;
  display: grid;
  min-height: 158px;
  margin-top: 39px;
  overflow: hidden;
  align-items: stretch;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 18px rgb(100 100 100 / 20%);
}

.history__panel:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.history__panel article {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  padding: 48px 40px 48px 260px;
  grid-area: 1 / 1;
  align-items: center;
}

/* Reserve the tallest year so automatic switching does not move the page. */
.history__panel article[hidden] {
  display: grid;
  visibility: hidden;
  pointer-events: none;
}

.history__panel article.is-leaving[hidden] {
  visibility: visible;
}

.history__watermark {
  position: absolute;
  top: 50%;
  left: 18px;
  color: #f7f7f7;
  font-family: "DIN Alternate", DINAlternate-Bold, Bahnschrift, Arial, sans-serif;
  font-size: 158px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -4px;
  pointer-events: none;
  transform: translateY(-50%);
}

.history__events {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  gap: 20px;
  list-style: none;
}

.history__events li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 30px;
  color: #0e1421;
  font-size: 15px;
  line-height: 1.5;
}

.history__events time {
  font-variant-numeric: tabular-nums;
}

.history__events p {
  margin: 0;
}

/* 中等宽度下避开右侧咨询浮栏，箭头收进内容区。 */
@media (max-width: 1599px) {
  .history__arrow--prev {
    left: 0;
  }

  .history__arrow--next {
    right: 0;
  }

  .history__years {
    margin-inline: 56px;
  }
}

@media (max-width: 991px) {
  .history__panel article {
    padding-left: 200px;
  }

  .history__watermark {
    font-size: 120px;
  }
}

@media (max-width: 767px) {
  .about-history {
    padding: 36px 0 40px;
  }

  .about-history::before {
    bottom: 60px;
  }

  .about-history__title {
    font-size: 26px;
    line-height: 38px;
  }

  .history {
    margin-top: 26px;
  }

  .history__years {
    margin-inline: 36px;
  }

  .history__years button {
    width: 52px;
  }

  .history__label {
    font-size: 16px;
  }

  .history__arrow {
    top: 21px;
    width: 32px;
    height: 48px;
  }

  .history__arrow svg {
    width: 16px;
  }

  .history__panel {
    min-height: 0;
    margin-top: 28px;
  }

  .history__panel article {
    padding: 28px 22px;
  }

  .history__watermark {
    top: auto;
    right: 12px;
    bottom: -14px;
    left: auto;
    font-size: 86px;
    letter-spacing: -2px;
    transform: none;
  }

  .history__events li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .history__events time {
    color: var(--brand-strong);
    font-weight: 700;
  }
}

@media (prefers-reduced-motion: reduce) {
  .history__years::after,
  .history__label,
  .history__dot,
  .history__dot::after,
  .history__arrow {
    transition: none;
  }
}

/* 关于页联系我们：区位地图与浅灰信息面板。 */
.about-contact__details {
  min-width: 0;
}

.about-contact__office {
  display: flex;
  margin: 0 0 12px;
  align-items: center;
  gap: 10px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.about-contact__office span {
  color: #9ca8bb;
}

.about-contact__address {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  font-style: normal;
  font-size: 14px;
  line-height: 1.9;
}

.about-contact__address span {
  color: #6d7787;
}

.about-contact__address p {
  margin: 0;
  overflow-wrap: anywhere;
}

.about-contact__actions a:hover {
  color: #0046b8;
}

.about-contact__actions a:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 4px;
}

.about-contact__actions {
  display: flex;
  margin-top: 28px;
  justify-content: flex-start;
  gap: 12px;
}

.about-contact__actions a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  color: #626d7e;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.about-contact__actions svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--brand-strong);
}

.about-contact__actions a > span {
  color: #8996aa;
  font-size: 13px;
}

.office-map {
  position: relative;
  display: block;
  min-height: 360px;
  min-width: 0;
  overflow: hidden;
  color: #27384e;
  text-decoration: none;
  background: #eef2f6;
  isolation: isolate;
}

.office-map:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: -4px;
}

.office-map__canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.office-map__picture,
.office-map__image {
  display: block;
  width: 100%;
  height: 100%;
}

.office-map__image {
  object-fit: cover;
  object-position: 55% center;
}

.office-map__caption {
  position: absolute;
  top: 22px;
  left: 24px;
  color: #748397;
  font-size: 11px;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.office-map__footer {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #65748a;
  font-size: 12px;
}

.office-map__footer small {
  margin-left: 10px;
  color: #929dad;
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .about-contact__inner {
    grid-template-columns: 1fr;
  }

  .about-contact__content {
    padding: 36px 40px;
  }

  .office-map {
    height: 320px;
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .about-contact__content {
    padding: 28px 24px;
  }

  .about-contact__heading {
    margin-bottom: 22px;
    padding-bottom: 20px;
  }

  .about-contact__heading h2 {
    font-size: 20px;
  }

  .about-contact__address {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .about-contact__actions {
    margin-top: 26px;
  }

  .about-contact__actions a {
    font-size: 12px;
  }

  .about-contact__actions a > span {
    display: none;
  }

  .office-map {
    height: 260px;
  }

  .office-map__caption {
    top: 14px;
    left: 14px;
    font-size: 10px;
  }

  .office-map__footer {
    right: 16px;
    bottom: 16px;
    left: 16px;
    font-size: 11px;
  }

  .office-map__footer small {
    display: block;
    margin: 3px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-contact__actions a {
    transition: none;
  }
}

/* The globe shares the hero background; the SVG also covers WebGL failures. */
.about-hero__visual {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin-inline: auto;
}

.about-hero__visual::before {
  position: absolute;
  inset: 5% 0 10%;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgb(55 132 255 / 10%), transparent 68%);
}

.globe-container {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
}

.globe-container canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-hero__visual .globe-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  filter: none;
  transition: opacity 0.5s ease;
}

.globe-container[data-globe-state="ready"] canvas {
  opacity: 1;
}

.globe-container[data-globe-state="ready"] .globe-fallback {
  opacity: 0;
}

.globe-label {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  padding: 5px 9px;
  color: #ecfbff;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  pointer-events: none;
  background: rgb(18 39 65 / 84%);
  border: 1px solid rgb(129 183 255 / 32%);
  border-radius: var(--radius-control);
}

.globe-label span {
  margin-left: 6px;
  color: #8faec8;
  font-size: 10px;
}

.globe-container:not([data-globe-state="ready"]) .globe-label {
  display: none;
}

@media (min-width: 1200px) {
  .about-hero__inner {
    min-height: 480px;
  }

  .about-hero__visual {
    position: absolute;
    top: 64%;
    left: 47%;
    width: min(1480px, calc(94vw - 40px));
    margin: 0;
    transform: translate(-22%, -50%);
  }
}

@media (max-width: 991px) {
  .about-hero__visual {
    max-width: 560px;
  }
}

@media (max-width: 767px) {
  .about-hero__visual {
    width: 125%;
    max-width: none;
    margin-inline: 0;
    justify-self: center;
  }

  .globe-container {
    height: auto;
    aspect-ratio: 1.2;
  }

}

@media (prefers-reduced-motion: reduce) {
  .globe-container canvas,
  .about-hero__visual .globe-fallback {
    transition: none;
  }
}

