/* =============================================
   KIZA — inner.css
   Shared styles for all inner pages
   ============================================= */

/* ── PAGE HERO ACCENT STATS ── */
.page-hero-accent {
  position: absolute; bottom: 44px; right: 52px;
  display: flex; align-items: center; gap: 28px;
  z-index: 2;
}
.accent-stat { text-align: right; }
.accent-num {
  display: block; font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; color: var(--blue); line-height: 1;
}
.accent-label {
  display: block; font-family: var(--font-mono);
  font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}
.accent-divider { width: 1px; height: 36px; background: var(--border-blue); }

/* ── TIMELINE ── */
.timeline { display: flex; flex-direction: column; }
.tl-item {
  display: grid; grid-template-columns: 28px 1fr; gap: 24px;
  padding-bottom: 44px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-marker { display: flex; flex-direction: column; align-items: center; padding-top: 5px; }
.tl-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--border-blue); background: var(--bg);
  flex-shrink: 0; transition: background 0.3s, border-color 0.3s;
}
.tl-dot.active { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(44,95,138,0.14); }
.tl-line { width: 1px; flex: 1; background: var(--border); margin-top: 6px; }
.tl-item:last-child .tl-line { display: none; }
.tl-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.tl-date {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.08em; color: var(--muted);
}
.tl-title {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 700; color: var(--navy); margin-bottom: 4px;
}
.tl-org {
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}
.tl-desc { font-size: 0.9rem; color: var(--slate); line-height: 1.7; }

/* ── SKILLS GRID ── */
.skills-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
}
.skill-card {
  padding: 36px 28px; background: var(--bg-soft);
  border-top: 2px solid transparent;
  transition: border-color 0.25s, background 0.25s, transform 0.3s var(--ease-out);
}
.skill-card:hover { border-color: var(--blue); background: rgba(44,95,138,0.04); transform: translateY(-4px); }
.skill-icon { width: 40px; height: 40px; color: var(--blue); margin-bottom: 20px; }
.skill-icon svg { width: 100%; height: 100%; }
.skill-card h4 {
  font-family: var(--font-display); font-size: 1.05rem;
  font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.skill-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.65; }

/* ── SYNERGY LIST ── */
.synergy-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.synergy-item {
  display: flex; gap: 28px; align-items: flex-start;
  padding: 28px 0; border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.synergy-item:hover { background: rgba(44,95,138,0.03); }
.synergy-arrow {
  font-family: var(--font-mono); font-size: 1.2rem; color: var(--blue);
  flex-shrink: 0; margin-top: 2px;
}
.synergy-text { font-size: 0.95rem; color: var(--slate); line-height: 1.7; }
.synergy-text strong { color: var(--navy); font-weight: 500; }

/* ── FEATURE ROW (for tiandao, apps, trail) ── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  border-top: 1px solid var(--border);
}
.feature-cell {
  padding: 44px; background: var(--bg-soft);
  transition: background 0.25s;
}
.feature-cell:nth-child(even) { background: var(--bg); }
.feature-cell:hover { background: rgba(44,95,138,0.05); }
.feature-cell-icon { width: 36px; height: 36px; color: var(--blue); margin-bottom: 18px; }
.feature-cell-icon svg { width: 100%; height: 100%; }
.feature-cell h4 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.feature-cell p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ── BOOK CARDS ── */
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.book-card {
  padding: 44px 40px; background: var(--bg-soft);
  border-left: 3px solid var(--blue);
  position: relative; overflow: hidden;
  transition: background 0.25s, transform 0.3s var(--ease-out);
}
.book-card:hover { background: rgba(44,95,138,0.05); transform: translateY(-4px); }
.book-card-label {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px; display: block;
}
.book-card h3 {
  font-family: var(--font-display); font-size: 1.7rem;
  font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.15;
}
.book-card p { font-size: 0.9rem; color: var(--slate); line-height: 1.7; margin-bottom: 20px; }
.book-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); text-decoration: none;
}
.book-card-link svg { width: 12px; height: 12px; transition: transform 0.22s var(--ease-out); }
.book-card:hover .book-card-link svg { transform: translate(3px,-3px); }
.book-card-bg {
  position: absolute; bottom: -10px; right: 10px;
  font-family: var(--font-display); font-size: 7rem;
  font-weight: 900; color: rgba(44,95,138,0.05);
  line-height: 1; pointer-events: none; user-select: none;
}

/* ── PROJECT STATS BAND ── */
.stats-band {
  display: flex; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.stats-band-item {
  flex: 1; padding: 40px 32px; text-align: center;
  border-right: 1px solid var(--border);
}
.stats-band-item:last-child { border-right: none; }
.stats-band-num {
  display: block; font-family: var(--font-display); font-size: 2.6rem;
  font-weight: 700; color: var(--blue); line-height: 1;
}
.stats-band-label {
  display: block; font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px;
}

/* ── UTMB PROGRESS ── */
.utmb-progress { margin-top: 40px; max-width: 520px; }
.utmb-bar-label {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.utmb-bar-pct { color: var(--blue); }
.utmb-bar-track {
  width: 100%; height: 2px; background: var(--border); overflow: hidden;
}
.utmb-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue-dim), var(--blue-light));
  transition: width 2s cubic-bezier(0.16,1,0.3,1);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .page-hero-accent { display: none; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .stats-band { flex-wrap: wrap; }
  .stats-band-item { min-width: 50%; border-bottom: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .skills-grid { grid-template-columns: 1fr; }
  .stats-band-item { min-width: 100%; }
}
