/* ==========================================================
   PAGE · 品牌故事 (/story/)
   作用域：.page-about
   ========================================================== */
.page-about {
  --about-gutter: clamp(16px, 4vw, 48px);
  --about-section-space: clamp(64px, 8vw, 112px);
  position: relative;
  padding: 32px var(--about-gutter) 80px;
  background:
    linear-gradient(rgba(31, 42, 74, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 42, 74, .14) 1px, transparent 1px),
    var(--bg);
  background-size: 36px 36px;
}

.page-about > * {
  max-width: min(var(--content-width), 100%);
  margin-inline: auto;
}

.page-about .breadcrumbs {
  margin-bottom: 24px;
  font-size: 14px;
}

/* ---------- 首屏 ---------- */
.about-hero {
  display: grid;
  gap: 28px;
  padding: 24px 0 var(--about-section-space);
}

.about-hero__lead {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
}

.about-hero__lead strong,
.about-hero__lead .mono {
  color: var(--accent);
  font-weight: 600;
}

.about-hero__meta {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  border-left: 3px solid var(--line);
  padding-left: 12px;
  line-height: 1.7;
}

.about-hero__media {
  margin: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 8px;
  box-shadow: var(--shadow);
}

.about-hero__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- 统计快览 ---------- */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: var(--about-section-space);
}

.about-stat {
  background: var(--bg-panel);
  padding: 28px 16px 22px;
  text-align: center;
  position: relative;
}

.about-stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  color: var(--accent);
  animation: about-glow 5s ease-in-out infinite;
}

.about-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ---------- 章节通用 ---------- */
.about-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: var(--about-section-space);
  position: relative;
}

.about-section__index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-section__index span {
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(0, 229, 160, .35);
  padding: 4px 8px;
}

.about-section__label {
  font-style: normal;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-section__body > .section-title {
  font-family: var(--font-editorial);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  margin: 4px 0 12px;
}

.about-section__body > .editorial {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 12px;
  font-family: var(--font-editorial);
}

.about-section__body > p {
  line-height: 1.8;
  color: var(--muted);
}

.about-section__body > p .mono {
  color: var(--text);
  font-weight: 600;
}

/* ---------- 时间线 ---------- */
.about-timeline {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.about-timeline__item {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  transition: border-color .2s ease;
}

.about-timeline__item:hover {
  border-color: rgba(0, 229, 160, .5);
}

.about-timeline__header,
.about-timeline__item--expand summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 12px;
  list-style: none;
  cursor: pointer;
}

.about-timeline__item--expand summary::-webkit-details-marker {
  display: none;
}

.about-timeline__item--expand summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--accent);
  transition: transform .2s ease;
}

.about-timeline__item--expand[open] summary::after {
  content: "–";
}

.about-timeline__year {
  flex: 0 0 52px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  padding: 3px 0;
  text-align: center;
  letter-spacing: .02em;
}

.about-timeline__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.about-timeline__head strong {
  font-size: 16px;
  color: var(--text);
  line-height: 1.4;
}

.about-timeline__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.about-timeline__body {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.about-timeline__body p {
  margin: 0;
}

.about-timeline__body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 数据编辑流程 ---------- */
.about-workflow {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: about-workflow;
}

.about-workflow__step {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 22px 16px 16px;
  counter-increment: about-workflow;
}

.about-workflow__step::before {
  content: "0" counter(about-workflow);
  position: absolute;
  top: -11px;
  left: 14px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  letter-spacing: .06em;
}

.about-workflow__time {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.about-workflow__step h3 {
  font-size: 16px;
  color: var(--text);
  margin: 0 0 6px;
}

.about-workflow__step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.about-workflow__media {
  margin: 28px 0 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 8px;
  box-shadow: var(--shadow);
}

.about-workflow__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------- 覆盖范围与生态 ---------- */
.about-coverage {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.about-coverage__card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}

.about-coverage__card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 160, .45);
}

.about-coverage__card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 72px;
  height: 72px;
  background: rgba(0, 229, 160, .07);
  transform: rotate(45deg);
}

.about-coverage__card .card-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .08em;
}

.about-coverage__card h3 {
  font-size: 18px;
  color: var(--text);
  margin: 10px 0 8px;
}

.about-coverage__card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.about-coverage__link {
  margin: 0;
}

.about-coverage__link a {
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 160, .4);
  padding-bottom: 2px;
}

/* ---------- 资质与合规 ---------- */
.about-compliance {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.about-compliance li {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 20px 16px;
}

.about-compliance__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(255, 200, 87, .4);
  background: rgba(255, 200, 87, .06);
  padding: 4px 10px;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.about-compliance h3 {
  font-size: 16px;
  color: var(--text);
  margin: 0 0 6px;
}

.about-compliance p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 团队形态 ---------- */
.about-team {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.about-team__card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 24px 20px;
  transition: transform .2s ease, border-color .2s ease;
}

.about-team__card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.about-team__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 10px;
}

.about-team__card h3 {
  font-size: 18px;
  color: var(--text);
  margin: 0 0 6px;
}

.about-team__role {
  font-size: 14px;
  color: var(--accent-2);
  margin-bottom: 10px;
  opacity: .75;
  transition: opacity .2s ease;
}

.about-team__card:hover .about-team__role {
  opacity: 1;
}

.about-team__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 本地赛事 ---------- */
.about-local__media {
  margin: 24px 0 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 8px;
  box-shadow: var(--shadow);
}

.about-local__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- 下一章节入口 ---------- */
.about-next {
  border-top: 1px solid var(--line);
  padding-top: 36px;
  margin-top: var(--about-section-space);
  text-align: center;
}

.about-next h2 {
  font-family: var(--font-editorial);
  font-size: 28px;
  margin: 8px 0 20px;
  color: var(--text);
}

.about-next__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- 动画 ---------- */
@keyframes about-glow {
  0%, 100% {
    text-shadow: 0 0 0 rgba(0, 229, 160, 0);
  }
  50% {
    text-shadow: 0 0 14px rgba(0, 229, 160, .35);
  }
}

/* ==========================================================
   响应式
   ========================================================== */
@media (min-width: 640px) {
  .about-workflow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-coverage {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-compliance {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-team {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .page-about {
    padding-top: 48px;
  }

  .about-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    padding-top: 40px;
  }

  .about-section {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0 56px;
  }

  .about-section__index {
    position: sticky;
    top: 40px;
    align-self: start;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .about-section__index span {
    font-size: clamp(40px, 5vw, 64px);
    padding: 0;
    border: none;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
  }

  .about-section--offset .about-section__body {
    margin-right: clamp(0px, 5vw, 72px);
  }

  .about-workflow {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .about-hero {
    padding-bottom: calc(var(--about-section-space) + 24px);
  }
}
