/* ============================================================
   Hearthcore — About Us Page
   Depends on: main.css (tokens + base components)
   ============================================================ */

/* ====== Page Hero (brand story) ====== */
.about-hero {
  padding: 80px 0 64px;
  background: var(--ink-900);
  color: white;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top right, black 0%, transparent 60%);
}
.about-hero-grid {
  position: relative; display: grid;
  grid-template-columns: 1.3fr 1fr; gap: 64px;
  align-items: center;
}
.about-hero .sec-eyebrow { color: var(--orange); }
.about-hero h1 {
  font-size: 56px; line-height: 1.08; letter-spacing: -0.025em;
  font-weight: 700; margin-bottom: 24px;
}
.about-hero h1 em { font-style: normal; color: var(--orange); }
.about-hero .lede {
  font-size: 18px; line-height: 1.65;
  color: rgba(255,255,255,0.7);
  max-width: 580px; margin-bottom: 32px;
}
.about-hero .hero-meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1);
}
.about-hero .hero-meta div { display: flex; gap: 10px; align-items: center; }
.about-hero .hero-meta strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px; font-weight: 600; color: white;
}
.about-hero .hero-meta strong em { color: var(--orange); font-style: normal; }
.about-hero .hero-meta small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}
.about-hero-vis {
  height: 480px; border-radius: var(--radius);
  background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative; overflow: hidden;
}
.about-hero-vis::before {
  content: ''; position: absolute; inset: 24px;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  border-radius: 8px;
}
.about-hero-vis .hv-marker {
  position: absolute; padding: 8px 12px;
  background: rgba(255,255,255,0.95);
  color: var(--ink-900);
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500;
  display: flex; gap: 8px; align-items: center;
  backdrop-filter: blur(8px);
}
.about-hero-vis .hv-marker::before {
  content: ''; width: 6px; height: 6px;
  background: var(--orange); border-radius: 50%;
}
.hv-m1 { top: 18%; left: 10%; }
.hv-m2 { top: 50%; right: 8%; }
.hv-m3 { bottom: 20%; left: 22%; }
.about-hero-vis .hv-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px; text-align: center;
}
.about-hero-vis .hv-center span { display: block; font-size: 32px; color: white; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }

/* ====== Mission / Vision / Values ====== */
.mvv { background: white; }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mvv-card {
  background: var(--ink-50);
  border: var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.2s;
  position: relative;
}
.mvv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ink-900); }
.mvv-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--orange);
  font-weight: 600; margin-bottom: 16px;
}
.mvv-ic {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--ink-900); color: var(--orange);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 22px;
  margin-bottom: 20px;
}
.mvv-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.mvv-card p { font-size: 14px; color: var(--ink-500); line-height: 1.65; }

/* ====== Factory / Capabilities (reuses .fac-* base) ====== */
.about-fac { background: var(--ink-900); color: white; }
.about-fac .sec-eyebrow { color: var(--orange); }
.about-fac .sec-title { color: white; }
.about-fac .sec-sub { color: rgba(255,255,255,0.6); }

.cap-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.cap-cell {
  background: var(--ink-900);
  padding: 32px 28px;
  transition: background 0.2s;
}
.cap-cell:hover { background: var(--ink-700); }
.cap-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px; font-weight: 600;
  color: white; line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.cap-num em { color: var(--orange); font-style: normal; }
.cap-lbl {
  font-size: 13px; color: rgba(255,255,255,0.6);
  font-family: 'JetBrains Mono', monospace;
}

/* ====== Team / Leadership ====== */
.about-team { background: var(--ink-50); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card {
  background: white;
  border: var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  height: 220px;
  background: linear-gradient(135deg, var(--ink-100), var(--ink-200));
  display: grid; place-items: center;
  position: relative;
}
.team-avatar .ta-init {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--ink-900); color: var(--orange);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 28px;
}
.team-body { padding: 20px 22px 24px; }
.team-name { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.team-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; color: var(--orange);
  font-weight: 500; margin-bottom: 12px;
}
.team-bio { font-size: 13px; color: var(--ink-500); line-height: 1.55; }
.team-meta {
  display: flex; gap: 14px;
  padding-top: 14px; margin-top: 14px;
  border-top: var(--line);
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-500);
}
.team-meta strong { display: block; color: var(--ink-900); font-size: 14px; font-weight: 600; }

/* ====== Timeline ====== */
.about-timeline { background: white; }
.tl-wrap { position: relative; max-width: 880px; margin: 0 auto; }
.tl-wrap::before {
  content: ''; position: absolute;
  left: 100px; top: 0; bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(
    180deg, var(--ink-300) 0, var(--ink-300) 4px, transparent 4px, transparent 10px
  );
}
.tl-item {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 48px; padding: 24px 0;
  align-items: start;
}
.tl-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px; font-weight: 600;
  color: var(--orange);
  text-align: right;
  padding-top: 4px;
}
.tl-body { position: relative; }
.tl-body::before {
  content: ''; position: absolute;
  left: -28px; top: 12px;
  width: 12px; height: 12px;
  background: white;
  border: 2.5px solid var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px white;
}
.tl-h {
  font-size: 18px; font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.tl-p {
  font-size: 14px; color: var(--ink-500); line-height: 1.6;
}
.tl-tag {
  display: inline-block; margin-top: 8px;
  padding: 2px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--ink-600);
  background: var(--ink-50); border-radius: 4px;
}
.tl-item.future .tl-year { color: var(--ink-500); }
.tl-item.future .tl-body::before { background: var(--ink-100); border-color: var(--ink-400); }

/* ====== Global Footprint ====== */
.about-footprint { background: var(--ink-900); color: white; }
.about-footprint .sec-eyebrow { color: var(--orange); }
.about-footprint .sec-title { color: white; }
.about-footprint .sec-sub { color: rgba(255,255,255,0.6); }

.fp-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 60px; align-items: center;
}
.fp-map {
  height: 420px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.fp-region-list { display: flex; flex-direction: column; gap: 12px; }
.fp-region {
  display: grid; grid-template-columns: 48px 1fr auto;
  gap: 16px; padding: 18px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.fp-region:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.fp-flag {
  width: 48px; height: 32px;
  border-radius: 4px;
  background: var(--orange-soft);
  display: grid; place-items: center;
  font-size: 18px;
}
.fp-region strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.fp-region small { font-size: 12px; color: rgba(255,255,255,0.5); font-family: 'JetBrains Mono', monospace; }
.fp-region .fp-units {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px; font-weight: 600;
  color: var(--orange);
  text-align: right;
}
.fp-region .fp-units small { display: block; font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 2px; font-weight: 400; }

/* ====== Awards ====== */
.about-awards { background: white; }
.award-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.award-item {
  text-align: center;
  padding: 24px 12px;
  border: var(--line); border-radius: var(--radius);
  transition: all 0.15s;
}
.award-item:hover { border-color: var(--ink-900); transform: translateY(-2px); }
.award-medal {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-soft), white);
  border: 1.5px solid var(--orange);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 12px;
  color: var(--orange);
}
.award-item h4 { font-size: 12.5px; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.award-item p { font-size: 10.5px; color: var(--ink-500); font-family: 'JetBrains Mono', monospace; }

/* ====== Our Story — 3 Acts ====== */
.story { background: white; }
.story-stage { display: flex; flex-direction: column; gap: 0; }

.story-act {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--ink-100);
}
.story-act:first-child { border-top: none; padding-top: 40px; }
.story-act:last-child  { padding-bottom: 40px; }

/* 偶数幕图文左右互换 — 制造叙事节奏 */
.story-act--2 { background: var(--ink-50); margin: 0 -32px; padding: 80px 32px; border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.story-act--2 .story-text { order: -1; }
.story-act--3 { background: var(--ink-900); color: white; border-top: none; margin: 0 -32px; padding: 80px 32px; border-radius: var(--radius); }
.story-act--3 .story-text { order: -1; }
.story-act--3 .story-act-num { color: var(--orange); }
.story-act--3 .story-act-title { color: white; }
.story-act--3 .story-act-lead { color: rgba(255,255,255,0.78); }
.story-act--3 .story-facts li { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.12); }
.story-act--3 .story-facts strong { color: var(--orange); }
.story-act--3 .story-img { border-color: rgba(255,255,255,0.12); }

/* 双图错位布局 — 主图 + 副图叠加 */
.story-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 14px;
}
.story-img {
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
  position: relative;
  overflow: hidden;
  margin: 0;
}
.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.story-img:hover img { transform: scale(1.04); }

/* 左下角小标签 — 现在是真图后的 caption */
.story-img-tag {
  position: absolute;
  left: 12px; bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-900);
  background: rgba(255,255,255,0.92);
  padding: 6px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.08);
  margin: 0;
  z-index: 2;
}
/* ACT 03 深底 — 标签反色 */
.story-act--3 .story-img-tag {
  color: rgba(255,255,255,0.95);
  background: rgba(15,30,55,0.78);
  border-color: rgba(255,255,255,0.15);
}

/* 双图网格定位 — 主图占大区、副图占右下角 */
.story-img--1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.story-img--2 { grid-column: 2 / 3; grid-row: 2 / 3; align-self: end; }
.story-img--3 { grid-column: 1 / 2; grid-row: 1 / 3; }
.story-img--4 { grid-column: 2 / 3; grid-row: 2 / 3; align-self: end; }
.story-img--5 { grid-column: 1 / 2; grid-row: 1 / 3; }
.story-img--6 { grid-column: 2 / 3; grid-row: 2 / 3; align-self: end; }

/* 文字侧 */
.story-text { padding: 0 8px; }
.story-act-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 16px;
}
.story-act-title {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 20px;
}
.story-act-lead {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-500);
  margin-bottom: 28px;
  max-width: 520px;
}

/* 数据 chip 列表 */
.story-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.story-facts li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-500);
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--orange);
}
.story-facts strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  color: var(--ink-900);
  font-weight: 600;
  min-width: 110px;
  display: inline-block;
}

/* ====== Responsive ====== */
@media (max-width: 1024px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-hero h1 { font-size: 42px; }
  .mvv-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-wrap::before { left: 70px; }
  .tl-item { grid-template-columns: 70px 1fr; gap: 32px; }
  .fp-grid { grid-template-columns: 1fr; gap: 40px; }
  .award-grid { grid-template-columns: repeat(3, 1fr); }
  .about-hero-vis { height: 360px; }

  .story-act { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .story-act--2, .story-act--3 { margin: 0; padding: 56px 24px; }
  .story-act--2 .story-text, .story-act--3 .story-text { order: 0; }
  .story-act-title { font-size: 30px; }
  .story-media { grid-template-rows: 180px 180px; }
}
@media (max-width: 640px) {
  .about-hero { padding: 56px 0 48px; }
  .about-hero h1 { font-size: 32px; }
  .about-hero .lede { font-size: 15px; }
  .about-hero .hero-meta { gap: 18px; }
  .about-hero .hero-meta strong { font-size: 22px; }
  .about-hero-vis { height: 280px; }
  .cap-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .tl-wrap::before { left: 16px; }
  .tl-item { grid-template-columns: 1fr; gap: 12px; padding-left: 36px; }
  .tl-year { text-align: left; font-size: 15px; }
  .tl-body::before { left: -28px; }
  .award-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-region { grid-template-columns: 40px 1fr; }
  .fp-region .fp-units { grid-column: 1 / -1; text-align: left; padding-left: 56px; }

  .story-act { padding: 40px 0; gap: 28px; }
  .story-act--2, .story-act--3 { padding: 40px 20px; }
  .story-act-title { font-size: 24px; }
  .story-act-lead { font-size: 14.5px; }
  .story-media { grid-template-columns: 1fr 1fr; grid-template-rows: 140px 140px; gap: 10px; }
  .story-img-tag { font-size: 9.5px; padding: 5px 8px; }
  .story-facts strong { min-width: 90px; font-size: 13.5px; }
  .story-facts li { font-size: 12.5px; padding: 10px 12px; }
}