/* ============================================================
   about-end.css —— 结尾「自我介绍」章节（替换原来的五步表单）
   依赖 ending.css 的 .end-root / .end-panel / .end-signoff 外壳样式
   ============================================================ */

/* 巨型字标：名字（首字母大写），比品牌单词稍松一点 */
.end-wordmark {
  font-weight: 700 !important;
  letter-spacing: -0.022em !important;
  text-transform: none;
}

/* ---------------- 自我介绍面板内部 ---------------- */

.end-panel__main.about {
  justify-content: center;
  padding-top: clamp(0px, 8vh, 84px);
  min-height: 0;
}

.about__index {
  margin: 0 0 18px;
  color: rgba(20, 23, 26, .42);
}

.about__name {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--end-font);
  font-size: clamp(34px, 3.1vw, 46px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: .04em;
  color: var(--end-ink);
}

.about__name span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(20, 23, 26, .45);
}

.about__role {
  margin: 14px 0 0;
  color: rgba(20, 23, 26, .5);
}

.about__bio {
  margin: clamp(20px, 3vh, 30px) 0 0;
  max-width: 38ch;
}

.about__bio p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.95;
  letter-spacing: .02em;
  color: rgba(20, 23, 26, .72);
}
.about__bio p:last-child { margin-bottom: 0; }

.about__meta {
  margin-top: clamp(22px, 3.4vh, 34px);
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(20, 23, 26, .14);
}

.about__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(20, 23, 26, .08);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about__row span {
  flex: none;
  color: rgba(20, 23, 26, .36);
}

.about__row a,
.about__row em {
  font-style: normal;
  color: var(--end-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  text-transform: none;
  letter-spacing: .02em;
  font-size: 11px;
  transition: border-color .25s ease;
  pointer-events: auto;
}
.about__row a:hover { border-bottom-color: currentColor; }

.about__foot {
  justify-content: space-between;
  color: rgba(20, 23, 26, .38);
}
.about__foot .up {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 让面板内文字可选中、链接可点 */
.end-panel__main.about { user-select: text; pointer-events: auto; }

/* ---------------- 条款/隐私的小提示层 ---------------- */

.about-note {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
}
.about-note.is-open { visibility: visible; }

.about-note__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(238, 235, 228, .6);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .35s ease;
}
.about-note.is-open .about-note__backdrop { opacity: 1; }

.about-note__card {
  position: relative;
  width: min(520px, 100%);
  padding: 26px 26px 20px;
  background: #f6f5f1;
  border: 1px solid rgba(20, 23, 26, .14);
  box-shadow: 0 50px 120px -70px rgba(20, 18, 16, .5);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .4s ease;
}
.about-note.is-open .about-note__card { opacity: 1; transform: none; }

.about-note__card h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
}
.about-note__card p {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(20, 23, 26, .62);
}
.about-note__card button {
  padding: 7px 12px;
  border: 1px solid rgba(20, 23, 26, .2);
  border-radius: 2px;
  background: none;
  font: inherit;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(20, 23, 26, .6);
  cursor: pointer;
}
.about-note__card button:hover { color: var(--end-ink); border-color: rgba(20, 23, 26, .4); }

/* ---------------- 手机：自我介绍面板变成底部卡片，避免和巨型字标打架 ---------------- */
@media (max-width: 860px) {
  body.end-live .site-nav__toggle { opacity: 0; pointer-events: none; }

  .end-panel {
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    top: auto !important;
    bottom: 78px !important;
    width: auto !important;
    height: auto !important;
    max-height: 64vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 16px 14px !important;
    border-radius: 14px !important;
    opacity: var(--end-panel-o) !important;
    transform: translate3d(0, calc((1 - var(--end-panel-t)) * 8vh), 0) !important;
    z-index: 40;
  }
  .end-panel__eyebrow { font-size: 8px !important; letter-spacing: .18em; }
  .end-panel__main.about { padding-top: 10px; }
  .about__index { margin-bottom: 10px; font-size: 8px; }
  .about__name { font-size: clamp(24px, 6.8vw, 30px); gap: 6px; }
  .about__name span { font-size: 8px; letter-spacing: .24em; }
  .about__role { margin-top: 9px; font-size: 8px; }
  .about__bio { margin-top: 12px; }
  .about__bio p { font-size: 11.5px; line-height: 1.8; margin-bottom: 8px; }
  .about__meta { margin-top: 12px; }
  .about__row { padding: 7px 0; font-size: 8.5px; }
  .about__row a, .about__row em { font-size: 10px; }
  .end-panel__foot.about__foot { display: none; }

  /* 手机：巨型字标让位给自我介绍卡片（名字已在卡片里），只留页脚 */
  .end-wordmark-wrap, .end-signoff__eyebrow { display: none !important; }
  .end-footer { gap: 6px 10px; flex-wrap: wrap; padding-bottom: 10px; }
  .end-footer__left, .end-footer__mid, .end-footer__right { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-note__backdrop, .about-note__card { transition: none; }
}
