/* ==========================================================================
   关于页 about.html —— 只服务关于页
   选择器统一用 about- / .about-page 前缀；不覆盖 base.css 的公共组件
   ========================================================================== */

.about-hero .page-hero__lead { max-width: 680px; }

/* --------------------------------------------------------------------------
   1. 自我介绍
   -------------------------------------------------------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.about-intro__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--brand-soft), var(--brand-mist) 62%, transparent);
  border: 1px solid var(--line);
  text-align: center;
}

.about-intro__avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand-soft);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow-card);
}
.about-intro__avatar svg { width: 100%; height: 100%; }

.about-intro__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-1);
}
.about-intro__name span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-3);
}

.about-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--brand-deep);
  background: var(--surface);
  border: 1px solid var(--line);
}
.about-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fc27a;
  box-shadow: 0 0 0 3px rgba(63, 194, 122, 0.16);
}

.about-intro__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
}

.about-intro__body { min-width: 0; }
.about-intro__body .sec-head { margin-bottom: 12px; }
.about-intro__body > p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-2);
}
.about-intro__body > p + p { margin-top: 12px; }
.about-intro__body > p strong { color: var(--text-1); font-weight: 800; }

.about-facts {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.about-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-2);
}
.about-facts strong { color: var(--text-1); font-weight: 800; }
.about-facts__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 8px;
  color: var(--brand);
  background: var(--surface);
}
.about-facts__icon .icon { width: 14px; height: 14px; }

.about-footnote {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--text-3);
}
.about-footnote .icon {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   2. 时间线
   -------------------------------------------------------------------------- */
.about-section-lead {
  max-width: 720px;
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-2);
}
.about-timeline .timeline { margin-top: 4px; }
.about-timeline .timeline-item__desc { color: var(--text-3); }

/* --------------------------------------------------------------------------
   3. 技能与工具
   -------------------------------------------------------------------------- */
.about-skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.about-skill-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}
.about-skill-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--line-strong);
}
.about-skill-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.about-skill-card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: var(--brand);
  background: var(--brand-soft);
}
.about-skill-card__icon .icon { width: 16px; height: 16px; }
.about-skill-card__icon--red { color: var(--red); background: var(--red-soft); }
.about-skill-card h3 { font-size: 14.5px; line-height: 1.4; }
.about-skill-card p {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text-2);
}
.about-skill-card--wide { grid-column: 1 / -1; }

.about-skill-cloud {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px dashed var(--line);
}

/* --------------------------------------------------------------------------
   4. 这个站点怎么做的
   -------------------------------------------------------------------------- */
.about-site-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.about-site-card {
  padding: 15px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.about-site-card__head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-1);
}
.about-site-card__head .icon { width: 15px; height: 15px; color: var(--brand); }
.about-site-card p {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text-2);
}
.about-site-card--truth {
  background: var(--brand-mist);
  border-color: color-mix(in srgb, var(--brand) 22%, transparent);
}
.about-site-card--truth .about-site-card__head .icon { color: var(--red); }
.about-site-card--truth p { color: var(--text-2); }

/* --------------------------------------------------------------------------
   5. 联系方式
   -------------------------------------------------------------------------- */
.about-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.about-contact__main > p {
  max-width: 640px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-2);
}
.about-contact .btn-row { margin-top: 16px; }
.about-contact__main .about-footnote { margin-top: 12px; }

.about-contact__side {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.about-contact__side h3 { font-size: 14px; margin-bottom: 10px; }
.about-privacy-list { display: grid; gap: 7px; margin-bottom: 12px; }
.about-privacy-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.about-privacy-list .icon { flex: none; width: 13px; height: 13px; color: var(--brand); }
.about-contact__side > p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   6. 给未来自己的话
   -------------------------------------------------------------------------- */
.about-letter__quote {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--brand-mist);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
}
.about-letter__quote p {
  font-size: 14px;
  line-height: 2;
  color: var(--text-2);
}
.about-letter__quote p:first-child {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-1);
}
.about-letter__quote cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11.5px;
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   7. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .about-intro { grid-template-columns: 186px minmax(0, 1fr); gap: 22px; }
  .about-skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .about-intro { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .about-intro__figure { padding: 18px; }
  .about-intro__avatar { width: 108px; height: 108px; }
  .about-site-grid { grid-template-columns: minmax(0, 1fr); }
  .about-letter__quote { padding: 18px 18px; }
}

@media (max-width: 640px) {
  .about-skill-grid { grid-template-columns: minmax(0, 1fr); }
  .about-skill-card--wide { grid-column: auto; }
  .about-intro__body > p { font-size: 13.5px; }
  .about-contact__side { padding: 16px; }
}
