/* ============================================================================
   THE NET — Unlimit, a public-record dossier
   Design system: editorial gravitas (paper) + intelligence terminal (deal-room)
   No framework. Light theme is canonical; [data-theme="dark"] is the deal-room.
   ============================================================================ */

:root {
  /* paper palette — warm, editorial, serious */
  --bg:        #faf8f2;
  --bg-soft:   #f3f0e7;
  --bg-sunk:   #ede9dd;
  --card:      #fffdf8;
  --card-2:    #fbf8f0;
  --ink:       #1b1a17;
  --ink-2:     #3a382f;
  --mute:      #6a655a;
  --faint:     #908a7c;
  --rule:      #ddd6c5;
  --rule-soft: #e9e3d4;
  --accent:    #8b2a1e;   /* oxblood — headline emphasis */
  --accent-2:  #a9442f;
  --signal:    #0f5e5e;   /* deep teal — data / verified */
  --signal-2:  #15807a;
  --gold:      #9a7b16;

  /* sentiment */
  --pos:  #2f7d52;
  --pos-bg:#e6f1e9;
  --neu:  #76706a;
  --neu-bg:#edeae2;
  --neg:  #b23a2e;
  --neg-bg:#f6e4e1;

  /* confidence */
  --conf-high: #2f7d52;
  --conf-med:  #9a7b16;
  --conf-low:  #b07c3a;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body:    'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  --maxw: 1180px;
  --readw: 760px;
  --radius: 3px;
  --shadow-1: 0 1px 2px rgba(40,33,20,.05), 0 8px 24px rgba(40,33,20,.06);
  --shadow-2: 0 12px 40px rgba(40,33,20,.12);
  --gap: clamp(56px, 8vw, 104px);
}

[data-theme="dark"] {
  --bg:        #14161b;
  --bg-soft:   #181b22;
  --bg-sunk:   #0f1115;
  --card:      #1b1f27;
  --card-2:    #20242d;
  --ink:       #eef1f4;
  --ink-2:     #cfd4db;
  --mute:      #98a0ab;
  --faint:     #6d7480;
  --rule:      #2c313b;
  --rule-soft: #232831;
  --accent:    #e3705c;
  --accent-2:  #ec8a78;
  --signal:    #5fd0c4;
  --signal-2:  #7fe0d4;
  --gold:      #d8b34a;
  --pos:  #5fd08a; --pos-bg:#16271d;
  --neu:  #9aa1ab; --neu-bg:#20242d;
  --neg:  #f08a78; --neg-bg:#2a1a17;
  --conf-high:#5fd08a; --conf-med:#d8b34a; --conf-low:#e0a266;
  --shadow-1: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
  --shadow-2: 0 16px 50px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

h1,h2,h3,h4 { font-family: var(--display); font-weight: 500; letter-spacing: -.015em; line-height: 1.08; margin: 0; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }

/* ---- layout primitives ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); width: 100%; }
.narrow { max-width: var(--readw); }
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--mute); font-weight: 500; margin: 0;
}
.lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--mute); }
.center { text-align: center; }

/* ============================================================================
   NAV
   ============================================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px,5vw,56px);
  height: 58px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: baseline; gap: 9px; text-decoration: none; white-space: nowrap; }
.brand .mark { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.brand .mark b { color: var(--accent); }
.brand .by { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.nav-links { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--mute); text-decoration: none; padding: 7px 10px; border-radius: var(--radius);
  white-space: nowrap; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--accent); }
.nav-tools { display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.icon-btn {
  width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--rule); border-radius: var(--radius);
  color: var(--ink-2); font-size: 15px; transition: all .15s;
}
.icon-btn:hover { background: var(--card); border-color: var(--mute); }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ============================================================================
   HERO
   ============================================================================ */
.hero { position: relative; padding: clamp(56px, 10vw, 116px) 0 clamp(40px,6vw,72px); overflow: hidden; }
.hero-net { position: absolute; inset: 0; z-index: 0; opacity: .9; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 82px); line-height: 1.0; font-weight: 500;
  letter-spacing: -.025em; max-width: 16ch; margin: 0 0 24px;
}
.hero h1 .em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: clamp(16px, 1.9vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; margin: 0 0 14px; }
.hero-fine { font-size: 13.5px; color: var(--mute); max-width: 64ch; margin: 0 0 36px; }
.hero-fine code { font-family: var(--mono); font-size: .92em; color: var(--signal); }

.counters { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.counter {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 14px 20px 12px; min-width: 116px; box-shadow: var(--shadow-1);
}
.counter .n { font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 500; line-height: 1; letter-spacing: -.02em; display: block; }
.counter .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 7px; display: block; }
.counter.is-signal .n { color: var(--signal); }
.counter.is-accent .n { color: var(--accent); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.btn {
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: var(--radius);
  border: 1px solid var(--ink); background: var(--ink); color: var(--bg); cursor: pointer; transition: all .16s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--ink); background: var(--card); }

/* ============================================================================
   SECTIONS
   ============================================================================ */
.section { padding: var(--gap) 0; border-top: 1px solid var(--rule-soft); position: relative; }
.section.alt { background: var(--bg-soft); }
.section.sunk { background: var(--bg-sunk); }
.sec-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: clamp(28px,4vw,44px); }
.sec-num { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 500; padding-top: 6px; letter-spacing: .04em; }
.sec-head-main { flex: 1; min-width: 0; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 4px 0 12px; }
.sec-head .intro { font-size: clamp(15px,1.6vw,17px); color: var(--ink-2); max-width: 64ch; margin: 0; }
.sec-head .eyebrow { margin-bottom: 2px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================================
   FACT GRID / KEY-VALUE
   ============================================================================ */
.factgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 1px; background: var(--rule-soft); border: 1px solid var(--rule-soft); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--card); padding: 18px 20px; }
.fact .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 7px; display: flex; align-items: center; gap: 6px; }
.fact .v { font-family: var(--display); font-size: clamp(19px,2.2vw,25px); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.fact .v small { font-family: var(--body); font-size: 13px; color: var(--mute); font-weight: 400; display: block; margin-top: 3px; letter-spacing: 0; }

.prose { max-width: var(--readw); }
.prose h3 { font-size: 21px; margin: 32px 0 10px; }
.prose p { color: var(--ink-2); }
.prose a { color: var(--signal); text-underline-offset: 2px; }

/* ============================================================================
   TIMELINE
   ============================================================================ */
.timeline { position: relative; margin: 8px 0; padding-left: 26px; }
.timeline::before { content:""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--rule), var(--rule-soft)); }
.tl-item { position: relative; padding: 0 0 26px 22px; }
.tl-item::before { content:""; position: absolute; left: -26px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); }
.tl-item.minor::before { border-color: var(--rule); }
.tl-date { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .04em; font-weight: 500; }
.tl-item.minor .tl-date { color: var(--mute); }
.tl-title { font-family: var(--display); font-size: 18px; font-weight: 500; margin: 2px 0 4px; }
.tl-body { font-size: 14px; color: var(--ink-2); margin: 0; }
.tl-body .src { font-family: var(--mono); font-size: 11px; }

/* ============================================================================
   CHIPS / PILLS / TAGS / SOURCES
   ============================================================================ */
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; padding: 5px 11px; border-radius: 100px;
  background: var(--card); border: 1px solid var(--rule); color: var(--ink-2); white-space: nowrap;
}
.chip .x { color: var(--faint); }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; padding: 3px 9px; border-radius: 100px; border: 1px solid transparent; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.pill.pos { color: var(--pos); background: var(--pos-bg); }
.pill.neu { color: var(--neu); background: var(--neu-bg); }
.pill.neg { color: var(--neg); background: var(--neg-bg); }
.pill.outline { background: transparent; border-color: var(--rule); color: var(--mute); }
.pill.signal { color: var(--signal); background: color-mix(in srgb, var(--signal) 12%, transparent); }

.conf { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 5px; color: var(--mute); }
.conf::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--conf-med); }
.conf.high::before { background: var(--conf-high); }
.conf.low::before  { background: var(--conf-low); }

.sentdot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.sentdot.pos { background: var(--pos); } .sentdot.neu { background: var(--neu); } .sentdot.neg { background: var(--neg); }

.srclist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.srclist li { font-size: 13px; display: flex; gap: 8px; }
.srclist a { color: var(--signal); text-decoration: none; word-break: break-word; }
.srclist a:hover { text-decoration: underline; }
.srcnum { font-family: var(--mono); font-size: 11px; color: var(--faint); min-width: 22px; }
.src-inline { font-family: var(--mono); font-size: 11px; color: var(--signal); text-decoration: none; border-bottom: 1px dotted var(--signal); }
.src-inline:hover { border-bottom-style: solid; }

/* ============================================================================
   DATA MODULE — toolbar, filters, table, cards, drawer (people / news / mentions)
   ============================================================================ */
.module { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-1); overflow: hidden; }
.module-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--rule-soft); background: var(--card-2); }
.search-wrap { position: relative; flex: 1; min-width: 200px; }
.search-wrap .ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 14px; }
.search-wrap input {
  width: 100%; font-family: var(--body); font-size: 14px; color: var(--ink);
  padding: 9px 12px 9px 32px; background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius); outline: none;
}
.search-wrap input:focus { border-color: var(--signal); }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.seg button { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 8px 12px; background: var(--bg); color: var(--mute); border: 0; cursor: pointer; }
.seg button.active { background: var(--ink); color: var(--bg); }
select.filter, .module-bar select {
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); padding: 8px 10px;
  background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer; outline: none;
}
.module-meta { font-family: var(--mono); font-size: 11px; color: var(--mute); padding: 9px 16px; border-bottom: 1px solid var(--rule-soft); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* people card grid */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 1px; background: var(--rule-soft); }
.pcard { background: var(--card); padding: 18px 18px 16px; cursor: pointer; transition: background .15s; position: relative; }
.pcard:hover { background: var(--card-2); }
.pcard .pname { font-family: var(--display); font-size: 18px; font-weight: 500; margin: 0 0 2px; padding-right: 42px; }
.pcard .prole { font-size: 13px; color: var(--accent); margin: 0 0 10px; line-height: 1.3; padding-right: 42px; }
.pcard .pmeta { font-size: 12.5px; color: var(--mute); margin: 0; }
.pcard .ptags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.pcard .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-sunk); display: grid; place-items: center; font-family: var(--display); font-weight: 600; color: var(--mute); font-size: 15px; position: absolute; top: 16px; right: 16px; }

/* generic ledger table */
table.ledger { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.ledger th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); text-align: left; font-weight: 500; padding: 11px 14px; border-bottom: 1px solid var(--rule); white-space: nowrap; cursor: pointer; }
table.ledger th.sorted { color: var(--accent); }
table.ledger td { padding: 12px 14px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
table.ledger tr { cursor: pointer; }
table.ledger tbody tr:hover { background: var(--card-2); }
table.ledger .primary { font-weight: 600; color: var(--ink); }
table.ledger small { color: var(--mute); display: block; font-size: 12px; }

.empty { padding: 48px 20px; text-align: center; color: var(--mute); font-size: 14px; }

/* drawer */
.drawer-overlay { position: fixed; inset: 0; background: rgba(20,16,8,.42); z-index: 90; opacity: 0; transition: opacity .25s; }
.drawer-overlay.show { opacity: 1; }
[data-theme="dark"] .drawer-overlay { background: rgba(0,0,0,.6); }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(540px, 94vw); z-index: 95;
  background: var(--bg); border-left: 1px solid var(--rule); box-shadow: var(--shadow-2);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column;
}
.drawer.show { transform: none; }
.drawer-head { display: flex; align-items: flex-start; gap: 12px; padding: 22px 24px 16px; border-bottom: 1px solid var(--rule-soft); }
.drawer-head h3 { font-size: 23px; }
.drawer-head .sub { font-size: 13px; color: var(--accent); font-family: var(--mono); letter-spacing: .02em; margin-top: 4px; }
.drawer-close { margin-left: auto; }
.drawer-body { padding: 20px 24px 60px; overflow-y: auto; }
.field { margin-bottom: 20px; }
.field h5 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin: 0 0 7px; font-weight: 500; }
.field p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
dl.kv { display: grid; grid-template-columns: minmax(96px,auto) 1fr; gap: 0; margin: 0; border-top: 1px solid var(--rule-soft); }
dl.kv dt { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--mute); padding: 9px 0; border-bottom: 1px solid var(--rule-soft); }
dl.kv dd { margin: 0; padding: 9px 0; font-size: 13.5px; border-bottom: 1px solid var(--rule-soft); color: var(--ink-2); }
dl.kv dd a { color: var(--signal); }

/* ============================================================================
   ENTITY MAP / OWNERSHIP
   ============================================================================ */
.entity-table td .reg { font-family: var(--mono); font-size: 12px; color: var(--signal); }
.ownership { display: grid; gap: 0; margin: 8px 0; }
.own-level { display: flex; align-items: center; gap: 14px; padding: 4px 0; }
.own-node { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow-1); flex: 1; }
.own-node .nm { font-family: var(--display); font-size: 16px; font-weight: 500; }
.own-node .ty { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.own-connector { width: 2px; height: 22px; background: var(--rule); margin-left: 28px; }
.own-stake { font-family: var(--mono); font-size: 11px; color: var(--signal); }

/* ============================================================================
   SCREENING / MIRROR
   ============================================================================ */
.mirror-intro { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; max-width: var(--readw); }
.screen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.screen-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-1); }
.screen-card .sc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.screen-card .sc-ico { width: 30px; height: 30px; border-radius: var(--radius); display: grid; place-items: center; font-size: 15px; background: var(--bg-sunk); }
.screen-card h4 { font-size: 16px; }
.screen-card .verdict { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; margin-left: auto; }
.verdict.clear { color: var(--pos); background: var(--pos-bg); }
.verdict.flag  { color: var(--neg); background: var(--neg-bg); }
.verdict.note  { color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, transparent); }
.screen-card p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 8px; }
.screen-card .finding { padding: 9px 0; border-top: 1px solid var(--rule-soft); font-size: 13px; }
.screen-card .finding:first-of-type { border-top: 0; }

/* ============================================================================
   MENTIONS DASHBOARD (flagship — product demo feel)
   ============================================================================ */
.dash { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.dash-top { background: var(--ink); color: var(--bg); padding: 14px 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
[data-theme="dark"] .dash-top { background: var(--bg-sunk); border-bottom: 1px solid var(--rule); color: var(--ink); }
[data-theme="dark"] .dash-top .src-badge { color: var(--mute); }
.dash-top .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 var(--signal); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--signal) 70%,transparent);} 70%{box-shadow:0 0 0 7px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }
@media (prefers-reduced-motion: reduce){ .dash-top .dot{ animation:none; } }
.dash-top .title { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.dash-top .src-badge { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--bg); opacity: .6; margin-left: auto; border: 1px solid currentColor; padding: 3px 8px; border-radius: 100px; }
.dash-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); background: var(--rule-soft); gap: 1px; }
.kpi { background: var(--card); padding: 16px 18px; }
.kpi .n { font-family: var(--display); font-size: 28px; font-weight: 500; line-height: 1; }
.kpi .l { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }
.kpi .spark { margin-top: 8px; }

.dash-body { display: grid; grid-template-columns: 260px 1fr; gap: 1px; background: var(--rule-soft); }
@media (max-width: 760px){ .dash-body { grid-template-columns: 1fr; } }
.dash-side { background: var(--card); padding: 16px 18px; }
.dash-side h5 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
.dash-side + .dash-side { margin-top: 0; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; margin-bottom: 9px; cursor: pointer; }
.bar-row .lab { font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 7px; }
.bar-row .track { grid-column: 1 / -1; height: 5px; background: var(--bg-sunk); border-radius: 100px; overflow: hidden; }
.bar-row .fill { height: 100%; background: var(--signal); border-radius: 100px; transition: width .8s ease; }
.bar-row .fill.pos { background: var(--pos); } .bar-row .fill.neu { background: var(--neu); } .bar-row .fill.neg { background: var(--neg); }
.bar-row .cnt { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.bar-row.active .lab { color: var(--accent); font-weight: 600; }

.dash-feed { background: var(--card); height: 612px; overflow-y: auto; }
.dash-side { max-height: 612px; overflow-y: auto; }
.feed-controls { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--rule-soft); position: sticky; top: 0; background: var(--card); z-index: 2; flex-wrap: wrap; }
.mention { padding: 15px 18px; border-bottom: 1px solid var(--rule-soft); }
.mention:hover { background: var(--card-2); }
.mention-head { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; flex-wrap: wrap; }
.mention .plat { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--bg-sunk); padding: 2px 7px; border-radius: var(--radius); }
.mention .auth { font-size: 13px; font-weight: 600; }
.mention .date { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-left: auto; }
.mention .snip { font-size: 14px; color: var(--ink-2); margin: 0 0 8px; line-height: 1.5; }
.mention .foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mention .theme { font-family: var(--mono); font-size: 10.5px; color: var(--mute); letter-spacing: .04em; }
.mention a.view { font-family: var(--mono); font-size: 11px; color: var(--signal); text-decoration: none; margin-left: auto; }
.mention a.view:hover { text-decoration: underline; }

/* sparkline svg */
.spark svg { display: block; width: 100%; height: 26px; }

/* ============================================================================
   ABOUT / CAPABILITY
   ============================================================================ */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,5vw,64px); align-items: start; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } }
.cap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cap-list li { padding-left: 24px; position: relative; font-size: 14.5px; color: var(--ink-2); }
.cap-list li::before { content:""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border: 2px solid var(--signal); border-radius: 50%; }
.cap-list li b { color: var(--ink); }
.logo-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.logo-row .chip { font-size: 12px; }

.struct { display: grid; gap: 0; }
.struct-node { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-1); }
.struct-node .nm { font-family: var(--display); font-size: 16px; font-weight: 500; }
.struct-node .ds { font-size: 12.5px; color: var(--mute); margin-top: 2px; }
.struct-arrow { font-family: var(--mono); font-size: 11px; color: var(--mute); text-align: center; padding: 7px 0; }

/* ============================================================================
   CALLOUT / NOTE / METHODOLOGY
   ============================================================================ */
.callout { background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--signal); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-1); }
.callout.warn { border-left-color: var(--gold); }
.callout h4 { font-size: 17px; margin-bottom: 6px; }
.callout p { font-size: 14px; color: var(--ink-2); margin: 0; }
.method-steps { counter-reset: step; display: grid; gap: 14px; }
.method-step { display: flex; gap: 16px; align-items: flex-start; }
.method-step .num { counter-increment: step; font-family: var(--display); font-size: 26px; color: var(--accent); font-weight: 500; min-width: 40px; }
.method-step .num::before { content: counter(step, decimal-leading-zero); }
.method-step h4 { font-size: 17px; margin-bottom: 3px; }
.method-step p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* ============================================================================
   FOOTER
   ============================================================================ */
footer.foot { border-top: 1px solid var(--rule); padding: clamp(40px,6vw,64px) 0 48px; background: var(--bg-soft); }
footer.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px){ footer.foot .cols { grid-template-columns: 1fr; gap: 24px; } }
footer.foot h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 500; margin-bottom: 12px; }
footer.foot a { color: var(--ink-2); text-decoration: none; font-size: 14px; display: block; margin-bottom: 7px; }
footer.foot a:hover { color: var(--accent); }
footer.foot .fine { font-size: 12px; color: var(--faint); margin-top: 28px; line-height: 1.6; max-width: 70ch; }
footer.foot .wordmark { font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
footer.foot .wordmark b { color: var(--accent); }

/* ---- helpers ---- */
.hr { height: 1px; background: var(--rule-soft); border: 0; margin: 0; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.spacer { flex: 1; }
[hidden] { display: none !important; }
.disclaimer-bar { background: var(--bg-sunk); border-bottom: 1px solid var(--rule-soft); font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--mute); text-align: center; padding: 7px 16px; }
.disclaimer-bar b { color: var(--ink-2); }

/* ============================================================================
   CHILL PASS — plain labels, no all-caps tracking, no italics
   ============================================================================ */
.eyebrow, .fact .k, .field h5, .kpi .l, .counter .l, .dash-side h5,
.own-node .ty, footer.foot h4, .brand .by, .dash-top .title,
.dash-top .src-badge, .module-meta, .disclaimer-bar, .nav-links a, .seg button {
  font-family: var(--body);
  text-transform: none;
  letter-spacing: 0;
}
.eyebrow { font-size: 13.5px; font-weight: 500; color: var(--mute); }
.fact .k, .field h5, .kpi .l, .counter .l, .dash-side h5, .own-node .ty, footer.foot h4 {
  font-size: 12px; font-weight: 600; color: var(--mute);
}
.brand .by { font-size: 11px; color: var(--faint); }
.nav-links a { font-size: 14px; letter-spacing: .005em; }
.dash-top .title { font-size: 13.5px; font-weight: 600; letter-spacing: .01em; }
.disclaimer-bar { font-size: 12px; letter-spacing: .005em; }
.verdict, .conf, .mention .plat { text-transform: none; letter-spacing: .01em; }
.hero h1 .em { font-style: normal; color: var(--accent); }
.tagline, .lead { font-style: normal; }
