/* ============================================================
   THE JAAL — person-style.css
   Person Network Page — Premium Intelligence Platform
   ============================================================ */

/* ── Variables (matches homepage) ─────────────────────────── */
:root {
  --bg:          #050816;
  --bg-2:        #080d1e;
  --bg-card:     #0c1228;
  --bg-card-2:   #0e1530;
  --blue:        #2563EB;
  --cyan:        #06B6D4;
  --purple:      #8B5CF6;
  --purple-g:    #A855F7;
  --amber:       #F59E0B;
  --text:        #94A3B8;
  --text-bright: #FFFFFF;
  --text-mid:    #CBD5E1;
  --border:      rgba(255,255,255,0.06);
  --border-mid:  rgba(255,255,255,0.11);
  --font-serif:  'DM Serif Display', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --font-mono:   'DM Mono', monospace;
  --container:   1160px;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h:       64px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
canvas { display: block; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-weight: 300;
}
.badge--business { background: rgba(37,99,235,0.15); color: var(--blue); }
.badge--tech     { background: rgba(6,182,212,0.15);  color: var(--cyan); }
.badge--political{ background: rgba(139,92,246,0.15); color: var(--purple); }
.badge--family   { background: rgba(245,158,11,0.15); color: var(--amber); }

/* ══════════════════════════════════════════════════════════════
   PERSON HEADER
══════════════════════════════════════════════════════════════ */
.person-header {
  padding-top: var(--nav-h);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.person-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
  flex-wrap: wrap;
}

/* Identity */
.person-header__identity {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Avatar */
.person-avatar {
  position: relative;
  flex-shrink: 0;
}
.person-avatar__img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.person-avatar__img img {
  width: 100%; height: 100%; object-fit: cover;
}
.person-avatar__initials {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #fff;
  line-height: 1;
}
.person-avatar__status {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 12px; height: 12px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--bg-2);
}

.person-header__eyebrow {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}
.person-header__name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--text-bright);
  line-height: 1.1;
}
.person-header__title {
  font-size: 0.82rem;
  color: var(--text);
  margin-top: 0.2rem;
  font-weight: 300;
}

/* Stats */
/*
.person-header__stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
*/

.person-header__stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: center;
}
/*
.pstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1.4rem;
  text-align: center;
}

.pstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1rem;
  text-align: center;
  min-width: 80px;
}

*/

.pstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.75rem;
  text-align: center;
  min-width: 0;
  flex-shrink: 1;
}
.pstat__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-bright);
  line-height: 1;
}
.pstat__label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--text);
  text-transform: uppercase;
  margin-top: 0.25rem;
  font-weight: 300;
}
.pstat-div {
  width: 1px;
  height: 32px;
  background: var(--border-mid);
}

/* ══════════════════════════════════════════════════════════════
   GRAPH SECTION
══════════════════════════════════════════════════════════════ */
.graph-section {
  position: relative;
  height: calc(100vh - var(--nav-h) - 90px);
  min-height: 520px;
  max-height: 800px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

#graphCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
}
#graphCanvas:active { cursor: grabbing; }

/* Controls */
.graph-controls {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.graph-filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.graph-filter {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  background: rgba(5,8,22,0.7);
  backdrop-filter: blur(6px);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.graph-filter.active,
.graph-filter:hover {
  color: var(--text-bright);
  border-color: rgba(37,99,235,0.5);
  background: rgba(37,99,235,0.12);
}

.graph-zoom {
  display: flex;
  gap: 0.3rem;
}
.graph-zoom__btn {
  width: 30px; height: 30px;
  font-family: var(--font-sans);
  color: var(--text-mid);
  border: 1px solid var(--border-mid);
  border-radius: 6px;
  background: rgba(5,8,22,0.75);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, border-color 0.2s;
  font-size: 0.9rem;
}
.graph-zoom__btn:hover {
  color: var(--text-bright);
  border-color: rgba(255,255,255,0.22);
}

/* Legend */
.graph-legend {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: rgba(5,8,22,0.82);
  border: 1px solid var(--border-mid);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  backdrop-filter: blur(8px);
}
.graph-legend__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--text);
}
.gld {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Node popup */
.node-popup {
  position: absolute;
  z-index: 20;
  width: 272px;
  max-height: calc(100% - 24px);
  overflow-y: auto;
  background: rgba(8,13,30,0.97);
  border: 1px solid var(--border-mid);
  border-radius: 14px;
  padding: 1.2rem 1.25rem 1.1rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  opacity: 0;
  transform: scale(0.93) translateY(6px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.node-popup::-webkit-scrollbar { width: 4px; }
.node-popup::-webkit-scrollbar-track { background: transparent; }
.node-popup::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }
.node-popup.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.node-popup__close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  font-size: 0.7rem;
  color: var(--text);
  width: 22px; height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.node-popup__close:hover { color: var(--text-bright); border-color: var(--border-mid); }
.node-popup__head {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding-right: 1.5rem;
}
.node-popup__avatar {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}
.node-popup__badge {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.25rem;
  font-weight: 300;
}
.node-popup__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-bright);
  margin-bottom: 0.15rem;
  line-height: 1.2;
}
.node-popup__sub {
  font-size: 0.75rem;
  color: var(--text);
  font-weight: 300;
  line-height: 1.4;
}
.node-popup__conn-label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 300;
}
.node-popup__conn-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.node-popup__conn-tag {
  font-size: 0.7rem;
  color: var(--text-mid);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
}
.node-popup__btn {
  display: block;
  text-align: center;
  padding: 0.6rem;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 7px;
  transition: background 0.2s;
}
.node-popup__btn:hover { background: #1d4ed8; }

/* ══════════════════════════════════════════════════════════════
   BOTTOM SHEET (mobile)
══════════════════════════════════════════════════════════════ */
.bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}
.bottom-sheet.open { pointer-events: auto; }

.bottom-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s;
}
.bottom-sheet.open .bottom-sheet__backdrop { opacity: 1; }

.bottom-sheet__panel {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-mid);
  border-radius: 18px 18px 0 0;
  padding: 1.25rem 1.5rem 2rem;
  transform: translateY(100%);
  transition: transform 0.38s var(--ease-out);
  max-height: 75vh;
  overflow-y: auto;
}
.bottom-sheet.open .bottom-sheet__panel { transform: translateY(0); }

.bottom-sheet__handle {
  width: 36px; height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin: 0 auto 1rem;
}
.bottom-sheet__close {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.75rem;
  color: var(--text);
  width: 26px; height: 26px;
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.bottom-sheet__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.bottom-sheet__avatar {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.bottom-sheet__badge {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.2rem;
}
.bottom-sheet__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-bright);
  line-height: 1.2;
}
.bottom-sheet__sub {
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 300;
}
.bottom-sheet__body { margin-bottom: 1rem; }
.bottom-sheet__conn-label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.bottom-sheet__conn-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.bottom-sheet__conn-tag {
  font-size: 0.72rem;
  color: var(--text-mid);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 0.18rem 0.6rem;
  border-radius: 100px;
}
.bottom-sheet__btn {
  display: block;
  text-align: center;
  padding: 0.75rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9px;
  transition: background 0.2s;
}
.bottom-sheet__btn:hover { background: #1d4ed8; }

/* ══════════════════════════════════════════════════════════════
   INFO TABS
══════════════════════════════════════════════════════════════ */
.info-section { padding: 3rem 0 5rem; }

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-mid);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text);
  padding: 0.9rem 1.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.tab:hover { color: var(--text-mid); }
.tab.active {
  color: var(--text-bright);
  border-bottom-color: var(--blue);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── OVERVIEW ── */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}
.overview-card--wide { grid-column: 1 / -1; }
.overview-card__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.1rem;
  font-weight: 300;
}
.overview-card__body {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.75;
  font-weight: 300;
}
.overview-links { display: flex; flex-direction: column; gap: 0.7rem; }
.overview-link { display: flex; align-items: center; gap: 0.75rem; }
.overview-link__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.overview-link__name { flex: 1; font-size: 0.875rem; color: var(--text-mid); }
.overview-link__count { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text); }
.overview-facts { display: flex; flex-direction: column; gap: 0.65rem; }
.overview-fact {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 0.65rem; border-bottom: 1px solid var(--border);
}
.overview-fact:last-child { border-bottom: none; padding-bottom: 0; }
.overview-fact__key { font-size: 0.82rem; color: var(--text); font-weight: 300; }
.overview-fact__val { font-size: 0.82rem; color: var(--text-mid); font-weight: 500; }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 5rem; max-width: 680px; }
.timeline::before {
  content: ''; position: absolute; left: 3.5rem; top: 0; bottom: 0;
  width: 1px; background: var(--border-mid);
}
.timeline-item { position: relative; display: flex; align-items: flex-start; gap: 1.25rem; margin-bottom: 2rem; }
.timeline-item__year {
  position: absolute; left: -4rem; top: 0.1rem;
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.08em;
  color: var(--text); font-weight: 300; white-space: nowrap;
}
.timeline-item__dot {
  position: absolute; left: -1.6rem; top: 0.38rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue); border: 2px solid var(--bg);
  box-shadow: 0 0 8px rgba(37,99,235,0.5); flex-shrink: 0;
}
.timeline-item__content { padding-left: 0.25rem; }
.timeline-item__content h4 {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 400;
  color: var(--text-bright); margin-bottom: 0.3rem; line-height: 1.2;
}
.timeline-item__content p { font-size: 0.845rem; color: var(--text); line-height: 1.65; font-weight: 300; }

/* ── ORGANIZATIONS ── */
.org-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.org-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 1rem 1.25rem; transition: border-color 0.25s, transform 0.25s; overflow: hidden;
}
.org-card:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-2px); }
.org-card__icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(37,99,235,0.15); color: var(--blue);
  font-family: var(--font-serif); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 1px solid rgba(255,255,255,0.06);
}
.org-card__info { flex: 1; min-width: 0; }
.org-card__info h4 { font-size: 0.875rem; font-weight: 500; color: var(--text-bright); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-card__info p { font-size: 0.75rem; color: var(--text); font-weight: 300; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-card__year { font-family: var(--font-mono); font-size: 0.58rem; color: var(--text); white-space: nowrap; flex-shrink: 0; }
.org-card__badge { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.1em; padding: 0.18rem 0.55rem; border-radius: 100px; flex-shrink: 0; white-space: nowrap; }

/* ── RELATIONSHIPS ── */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.people-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 1.25rem; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0.75rem; transition: border-color 0.25s, transform 0.25s;
}
.people-card:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-3px); }
.people-card__avatar {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.people-card__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.people-card__info h4 { font-family: var(--font-serif); font-size: 1rem; font-weight: 400; color: var(--text-bright); margin-bottom: 0.2rem; }
.people-card__info p { font-size: 0.75rem; color: var(--text); font-weight: 300; }
.people-card__tag { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.1em; color: var(--blue); background: rgba(37,99,235,0.1); padding: 0.18rem 0.6rem; border-radius: 100px; }
.people-card__btn { font-size: 0.75rem; font-weight: 500; color: var(--blue); transition: color 0.2s; margin-top: auto; }
.people-card__btn:hover { color: var(--cyan); }

/* ── SOURCES ── */
.sources-list__intro { font-size: 0.875rem; color: var(--text); margin-bottom: 1.75rem; font-weight: 300; max-width: 540px; }
.source-item { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.source-item:last-child { border-bottom: none; }
.source-item__icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(37,99,235,0.12); color: var(--blue);
  font-family: var(--font-serif); font-size: 1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.source-item__info { flex: 1; }
.source-item__info h4 { font-size: 0.875rem; font-weight: 500; color: var(--text-bright); margin-bottom: 0.2rem; }
.source-item__info p { font-size: 0.78rem; color: var(--text); font-weight: 300; }
.source-item__info a { font-size: 0.75rem; color: var(--blue); display: block; margin-top: 0.25rem; word-break: break-all; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--border); background: var(--bg-2); }
.footer__top {
  display: flex; justify-content: space-between; gap: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.footer__logo { margin-bottom: 0.6rem; }
.footer__logo-img { height: 50px; width: auto; display: block; object-fit: contain; transform: translateX(-13px); }
.footer__tagline { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; color: var(--text); text-transform: uppercase; font-weight: 300; }
.footer__links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col h4 { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; color: var(--cyan); text-transform: uppercase; font-weight: 300; margin-bottom: 0.2rem; }
.footer__col a { font-size: 0.835rem; color: var(--text); transition: color 0.2s; }
.footer__col a:hover { color: var(--text-bright); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__bottom span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--text); font-weight: 300; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ 
@media (max-width: 768px) {
  .person-header__inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .person-header__stats { width: 100%; justify-content: space-around; }
  .graph-legend { display: none; }
  .overview-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .org-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .people-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
}
*/

@media (max-width: 768px) {
  .person-header__inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .person-header__stats { width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .graph-legend { display: none; }
  .overview-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .org-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .people-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
  .person-header__stats { width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .pstat { padding: 0.5rem 0.1rem; flex: 1; }
  .pstat__num { font-size: 1.1rem; }
  .pstat__label { font-size: 0.45rem; letter-spacing: 0.04em; }
  .pstat-div { width: 1px; height: 20px; flex-shrink: 0; }
}
