/* ---------- neofetch (whoami hero) ---------- */
.neofetch {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3.2vw, 34px);
  align-items: center;
}
.portrait-frame {
  position: relative;
  width: clamp(168px, 22vw, 224px);
  aspect-ratio: 1 / 1;
  background: linear-gradient(rgba(0,0,0,0.22), rgba(0,0,0,0.22)), var(--panel);
  border-radius: 12px;
  padding: 10px;
  border: 1px solid rgba(0,0,0,0.35);
  box-shadow: 0 16px 40px -18px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.04);
}
.portrait-frame .portrait-photo { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; }
.portrait-frame .ptag {
  position: absolute; left: 10px; bottom: 10px;
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); background: rgba(0,0,0,0.35);
  padding: 2px 6px; border-radius: 4px;
}

.nf-info { min-width: 0; }
.nf-id { color: var(--text); font-size: clamp(15px, 2.4vw, 18px); }
.nf-id b { color: var(--accent-bri); }
.nf-rule { height: 1px; background: var(--line); margin: 8px 0 12px; }
.nf-rows { display: grid; grid-template-columns: auto 1fr; gap: 0; font-size: 13.5px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.nf-rows dt { color: var(--accent); white-space: nowrap; padding: 7px 14px 7px 12px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.nf-rows dd { margin: 0; color: var(--text-dim); padding: 7px 12px; border-bottom: 1px solid var(--line-soft); }
.nf-rows dt:last-of-type, .nf-rows dd:last-of-type { border-bottom: none; }
.nf-rows dd b { color: var(--text); font-weight: 600; }

/* ---------- product screenshot + brand logo ---------- */
.shot {
  display: block; position: relative; margin: 14px 0 4px;
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 44px -22px rgba(0,0,0,0.85);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.shot:hover { border-color: var(--accent); transform: translateY(-2px); }
.shot img { display: block; width: 100%; height: auto; }
.shot-tag {
  position: absolute; right: 10px; bottom: 10px;
  font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--text); background: rgba(20,18,16,0.74);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 4px 9px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1);
}
.brand { margin-bottom: 14px; }
.brand-logo {
  display: block; width: clamp(160px, 38%, 210px); height: auto;
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.08);
}
.effect-brand { display: flex; align-items: center; gap: 11px; }
.effect-brand .effect-mark { width: 42px; height: 42px; border-radius: 10px; display: block; }
.effect-brand .effect-word { font-size: 26px; font-weight: 800; letter-spacing: -0.015em; color: var(--text); }

.bio { margin-top: clamp(18px, 3vw, 28px); }
.bio .rhead { margin-bottom: 10px; }
.bio-p { color: var(--text-dim); font-size: 13.5px; line-height: 1.65; margin: 0 0 11px; max-width: 70ch; }
.bio-p:last-child { margin-bottom: 0; }
.bio-p b { color: var(--text); font-weight: 600; }

.bio-row { display: flex; gap: clamp(16px, 2.6vw, 26px); align-items: flex-start; margin: 0 0 18px; }
.bio-col { flex: 1 1 auto; min-width: 0; }
.bio-col .bio-p { margin: 0 0 10px; }
.bio-col .bio-p:last-child { margin-bottom: 0; }
.bio-shot {
  flex: 0 0 auto; width: clamp(150px, 27%, 220px); aspect-ratio: 1 / 1;
  object-fit: cover; object-position: top center;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 14px 34px -20px rgba(0,0,0,0.85);
}
@media (max-width: 620px) {
  .bio-row { flex-direction: column; align-items: stretch; }
  .bio-shot { width: 100%; max-width: 280px; }
}

.focus { margin-top: 20px; }
.focus .rhead { margin-bottom: 10px; }
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.focus-item { display: flex; gap: 9px; align-items: baseline; padding: 9px 13px; color: var(--text-dim); font-size: 13px; border-bottom: 1px solid var(--line-soft); }
.focus-grid .focus-item:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.focus-item .fx { color: var(--accent); flex: 0 0 auto; }
.bio-close { margin-top: 16px; max-width: 78ch; }
@media (max-width: 620px) {
  .focus-grid { grid-template-columns: 1fr; }
  .focus-grid .focus-item:nth-child(odd) { border-right: none; }
}

/* ---------- data visualizations (charts, stat band, recognition) ---------- */
.viz-block { margin-top: 20px; }
.viz-block .rhead { margin-bottom: 10px; }

/* spotlight — recognition / on-stage callout */
.spotlight {
  display: flex; gap: 14px; padding: 15px 17px;
  border: 1px solid var(--accent-line); border-radius: 12px;
  background: var(--accent-soft);
}
.spot-mark {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; font-size: 15px; color: var(--bg);
  background: var(--accent); box-shadow: 0 0 16px -3px var(--accent);
}
.spot-title { color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.35; }
.spot-text { color: var(--text-dim); font-size: 13.5px; line-height: 1.55; margin-top: 5px; }
.spot-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.spot-tag {
  font-size: 11.5px; color: var(--accent-bri);
  border: 1px solid var(--accent-line); border-radius: 999px; padding: 2px 11px;
}

/* stat band — headline numbers */
.statband {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.stat { padding: 13px 16px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stat-v { color: var(--accent-bri); font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.stat-l { color: var(--text-dim); font-size: 12px; margin-top: 6px; line-height: 1.35; }

/* horizontal bar chart */
.chart { margin: 4px 0 2px; padding: 15px 17px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.chart-head { color: var(--text); font-size: 13.5px; margin-bottom: 13px; }
.chart-head span { color: var(--text-faint); }
.bars { display: grid; gap: 11px; }
.bar-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; }
.bar-lab { color: var(--text-dim); font-size: 12.5px; white-space: nowrap; }
.bar-track { height: 14px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.bar-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-line), var(--accent));
  transition: width 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}
.bar-fill.hi { background: linear-gradient(90deg, var(--accent), var(--accent-bri)); box-shadow: 0 0 16px -3px var(--accent); }
.chart.is-in .bar-fill { width: var(--w); }
.bar-val { color: var(--text); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.chart-src { color: var(--text-faint); font-size: 11px; line-height: 1.5; margin-top: 12px; }

@media (max-width: 620px) {
  .bar-row { grid-template-columns: 56px 1fr auto; gap: 9px; }
  .arc-c { font-size: 11px; }
  .arc-t { font-size: 10px; }
}
