/* About motion keeps the supplied photography, type and content in normal flow. */
.interior-page--about {
  --about-history-muted: rgb(255 255 255 / 38%);
  --about-history-line: rgb(255 255 255 / 18%);
}
.interior-page--about :is(#introduction, #culture, #history, #honors) h2 {
  font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
}
/* 抵消通用锚点为固定导航额外预留的 1rem。 */
.interior-page--about main > :is(#introduction, #culture, #history, #honors, #clients) {
  scroll-margin-top: -1rem;
}
.about-stats__number {
  display: inline-block;
  min-width: calc(var(--stats-digits) * 1ch);
  font-variant-numeric: tabular-nums;
}
/* Culture: one photographic stage and three deliberate, sequential accents. */
.about-culture .culture-panel__values {
  min-height: inherit;
}
.about-culture .about-culture__value {
  position: relative;
  /* 自建层叠上下文，让 ::before 的 z-index: -1 只退到本列内容之下，不会掉到背景图后面。 */
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-block: clamp(8rem, 15vw, 18rem) clamp(5rem, 10vw, 12rem);
  transition: background-color 0.6s ease;
}
/* 鼠标悬停的金色色块：单独一层渐变，用 opacity 过渡（渐变本身无法直接做 transition）。 */
.about-culture .about-culture__value::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 100%, rgb(194 146 54 / 42%) 0%, rgb(194 146 54 / 0%) 72%),
    linear-gradient(180deg, rgb(0 0 0 / 8%) 0%, rgb(0 0 0 / 26%) 100%),
    linear-gradient(180deg, rgb(194 146 54 / 10%) 0%, rgb(194 146 54 / 30%) 100%);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-culture__symbol {
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    color 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-culture__accent {
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: var(--design-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s ease;
}
.about-culture__value--active {
  background: rgb(0 0 0 / 14%);
}
.about-culture__value--active .about-culture__accent {
  transform: scaleX(1);
}
.about-culture__value--active .about-culture__symbol {
  color: var(--design-gold);
}
/* 仅在真正有指针悬停能力的设备上启用，避免触屏点击后色块"粘住"。 */
@media (hover: hover) and (pointer: fine) {
  .about-culture .about-culture__value:hover {
    background-color: rgb(0 0 0 / 28%);
  }
  .about-culture .about-culture__value:hover::before {
    opacity: 1;
  }
  .about-culture .about-culture__value:hover .about-culture__accent {
    transform: scaleX(1);
  }
  .about-culture .about-culture__value:hover .about-culture__symbol {
    color: var(--design-gold);
    transform: translateY(-3px);
  }
}
/* History: a sticky year dial, rolling suffixes and naturally growing milestones. */
.interior-page--about .about-history.photo-panel--history {
  padding-block: 0;
}
.about-history .about-history__layout {
  align-items: start;
  gap: clamp(2rem, 4.166667vw, 5rem);
}
.about-history__dial {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.about-history__graphic {
  --about-history-year-size: min(clamp(7rem, 13.541667vw, 16.25rem), calc((100svh - 7rem) / 3.6));
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  width: 100%;
  /* Reserve a full line for the previous, current and next year. */
  height: calc(var(--about-history-year-size) * 3.6);
  overflow: hidden;
}
.about-history__ring {
  position: absolute;
  z-index: -1;
  /* Keep the design's 540:260 ring/type ratio and the leading 2 outside it. */
  left: calc(50% - var(--about-history-year-size) * 0.865);
  top: 50%;
  width: calc(var(--about-history-year-size) * 2.077);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(-90deg);
  fill: none;
  stroke-width: 0.2;
}
.about-history__ring-base {
  stroke: var(--about-history-line);
}
.about-history__ring-progress {
  stroke: var(--design-gold);
  stroke-dasharray: 100;
  stroke-dashoffset: 80;
  stroke-linecap: round;
}
.about-history__year-display {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font:
    700 var(--about-history-year-size) / 1.2 Arial,
    sans-serif;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.about-history__century {
  flex: none;
  color: var(--home-white);
}
.about-history__year-slider.swiper {
  width: 2ch;
  height: 1.2em;
  margin: 0;
  overflow: visible;
  flex: none;
}
.about-history__year-slider .swiper-wrapper {
  flex-direction: column;
}
.about-history__year-slide {
  color: rgb(255 255 255 / 9%);
  transition: color 0.7s ease;
}
.about-history__year-slide.swiper-slide-active {
  color: var(--design-gold);
}
.about-history__navigation {
  display: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-block: 1rem 2rem;
}
.about-history .about-history__year-button {
  padding: 0.75rem;
  min-width: 3.5rem;
  border-bottom: 1px solid var(--about-history-line);
  color: var(--about-history-muted);
  background: transparent;
  font:
    500 1rem/1.2 Arial,
    sans-serif;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}
.about-history__year-button[aria-current="true"] {
  color: var(--design-gold) !important;
  border-bottom-color: var(--design-gold) !important;
}
@media (hover: hover) and (pointer: fine) {
  .about-history__year-button:not([aria-current="true"]):hover { color: #fff; }
}
.about-history__year-button:focus-visible {
  outline: 2px solid var(--design-gold);
  outline-offset: 4px;
}
.about-history .about-history__events {
  min-width: 0;
  padding-block: clamp(3rem, 8.7svh, 5.875rem) 2.3125rem;
}
.about-history .about-history__events .about-history__event {
  position: relative;
  min-height: 0;
  padding-block: clamp(1rem, 2.4svh, 1.625rem) clamp(1.5rem, 4.8svh, 3.25rem);
  display: flex;
  justify-content: center;
  flex-direction: column;
  border-bottom: 1px solid var(--about-history-line);
  transition: opacity 0.65s ease;
  scroll-margin-top: 35svh;
}
.about-history .about-history__events .about-history__event:first-child {
  padding-top: 0;
}
.about-history .about-history__events .about-history__event:last-child {
  border-bottom: 0;
}
.about-history--ready .about-history__event {
  opacity: 0.38;
}
.about-history--ready .about-history__event--active {
  opacity: 1;
}
.about-history__event::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--design-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s ease;
}
.about-history__event--active::after {
  transform: scaleX(1);
}
body[data-page="about"] main .about-history [data-text] {
  opacity: 1;
}
/* Client logos form one matrix; a center-out reveal suggests growing connections. */
.about-clients__grid {
  transform-origin: center;
}
.about-clients .about-clients__logo {
  position: relative;
  isolation: isolate;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.about-clients__logo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--design-gold);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
@media (hover: hover) and (pointer: fine) {
  .about-clients__logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgb(0 0 0 / 6%);
  }
  .about-clients__logo:hover::after {
    transform: scaleX(1);
  }
}
@media (max-width: 1000px) {
  .about-history .about-history__layout {
    display: block;
  }
  .about-history__dial {
    top: var(--site-header-height);
    min-height: 0;
    z-index: 3;
    background: var(--home-footer);
    margin-inline: -1rem;
    padding-inline: 1rem;
    border-bottom: 1px solid var(--about-history-line);
  }
  .about-history__graphic {
    display: none;
  }
  .about-history__navigation {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--about-history-muted) transparent;
    padding-block: 0.5rem;
    gap: 0.5rem;
  }
  .about-history .about-history__year-button {
    flex: 0 0 auto;
    min-width: 3.5rem;
    min-height: 2.75rem;
    padding: 0.5rem;
    color: rgb(255 255 255 / 72%);
    font-size: 0.9375rem;
    white-space: nowrap;
  }
  .about-history .about-history__year-button:focus-visible {
    outline-offset: -3px;
  }
  .about-history .about-history__layout > .about-history__events {
    padding-block: 1.5rem 2rem;
  }
  .about-history .about-history__events .about-history__event {
    min-height: 0;
    padding-block: 1.25rem;
    scroll-margin-top: 6rem;
  }
  .about-history .about-history__event > .flow-copy {
    margin-top: 0.625rem;
  }
  .about-history--ready .about-history__event {
    opacity: 0.7;
  }
  .about-history--ready .about-history__event--active {
    opacity: 1;
  }
}
@media (max-width: 540px) {
  .about-culture .about-culture__value {
    padding-block: 3rem;
  }
  .about-culture__symbol {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-history--ready .about-history__event {
    opacity: 1;
  }
  .about-culture__value,
  .about-culture__value::before,
  .about-culture__symbol,
  .about-culture__accent,
  .about-history__year-slide,
  .about-history__year-button,
  .about-history__event,
  .about-history__event::after,
  .about-clients__logo,
  .about-clients__logo::after {
    transition: none !important;
  }
}
