/* The Big Ant — "underground press" theme: soil black, newsprint bone, honey amber. */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  --bg: #0f0d0a;
  --surface: #17140f;
  --surface-2: #1f1b15;
  --border: #322b22;
  --border-strong: #4a4033;
  --text: #f1ece2;
  --muted: #b0a695;
  --faint: #7f7667;
  --amber: #f2a900;
  --amber-soft: rgba(242, 169, 0, .14);
  --on-amber: #161208;
  --up: #49c487;

  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 10px;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
a:hover { color: var(--amber); text-decoration-color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 var(--space-4); }
.wrap { width: min(100% - 2 * clamp(var(--space-4), 4vw, var(--space-10)), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--on-amber); padding: var(--space-2) var(--space-4); z-index: 10; }
.skip:focus { left: var(--space-4); }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
.fine { font-size: var(--text-xs); color: var(--muted); line-height: 1.55; }
.kicker { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: var(--space-3); }
.pill { display: inline-block; font-family: var(--font-mono); font-size: var(--text-xs); line-height: 1; padding: .35em .6em; border-radius: 999px; background: var(--amber); color: var(--on-amber); font-weight: 600; white-space: nowrap; }
.more { font-size: var(--text-sm); font-weight: 700; color: var(--amber); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }

/* Ticker */
.ticker { background: #000; border-bottom: 1px solid var(--border); overflow: hidden; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--muted); }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-row { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-2) var(--space-4); white-space: nowrap; }
.ticker b { color: var(--text); font-weight: 600; }
.ticker .sep { color: var(--amber); font-size: .6em; }
.tick .pill { margin-left: var(--space-1); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } html { scroll-behavior: auto; } }

/* Masthead */
.masthead { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.masthead-inner { display: flex; align-items: center; gap: var(--space-6); padding-block: var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.mark { width: 40px; height: 40px; color: var(--amber); flex: none; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); letter-spacing: -.02em; line-height: 1; }
.tagline { margin: 0 0 0 auto; text-align: right; font-size: var(--text-sm); font-weight: 500; line-height: 1.3; }
.tag-sub { display: block; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--faint); letter-spacing: .04em; }
.nav { border-top: 1px solid var(--border); }
.nav-inner { display: flex; gap: var(--space-1); overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav a { font-size: var(--text-sm); font-weight: 500; text-decoration: none; color: var(--muted); padding: var(--space-3) var(--space-3); white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--amber); }
.nav-toggle { display: none; }

/* Hero */
.hero { padding-block: clamp(var(--space-8), 5vw, var(--space-16)) var(--space-8); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(var(--space-6), 4vw, var(--space-12)); align-items: center; }
.hero-h { font-family: var(--font-display); font-weight: 800; font-size: var(--text-3xl); letter-spacing: -.03em; line-height: .98; margin-bottom: var(--space-6); }
.hero-h-sm { font-size: var(--text-2xl); }
.lede { font-size: var(--text-lg); color: var(--muted); line-height: 1.5; max-width: 60ch; }
.hero-art { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; border: 1px solid var(--border); }
.cover { width: 100%; height: 100%; object-fit: cover; }
.brief-wrap { margin-top: clamp(var(--space-8), 4vw, var(--space-12)); display: grid; grid-template-columns: 160px 1fr; gap: var(--space-6); border-top: 1px solid var(--border-strong); padding-top: var(--space-6); }
.brief-h { font-family: var(--font-mono); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--amber); font-weight: 600; }
.brief { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-5) var(--space-6); }
.brief li { display: flex; gap: var(--space-3); font-size: var(--text-sm); line-height: 1.5; }
.brief .n { font-family: var(--font-mono); color: var(--amber); font-weight: 600; flex: none; }

/* Sections */
.section { padding-block: clamp(var(--space-8), 5vw, var(--space-16)); }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); border-bottom: 1px solid var(--border); padding-bottom: var(--space-3); flex-wrap: wrap; }
.section-h { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); letter-spacing: -.02em; }

/* Stories */
.lead-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.story { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 140px; }
.story:target { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.story-body { padding: clamp(var(--space-5), 3vw, var(--space-8)); }
.story-body > p { color: #ddd6c9; }
.story-lead { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.story-lead .card-media { margin: 0; min-height: 100%; border-right: 1px solid var(--border); }
.story-lead .story-h { font-size: var(--text-xl); }
.meta { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); flex-wrap: wrap; }
.chip { font-family: var(--font-mono); font-size: var(--text-xs); text-decoration: none; color: var(--amber); border: 1px solid rgba(242,169,0,.4); border-radius: 999px; padding: .2em .65em; line-height: 1.4; }
.chip:hover { background: var(--amber); color: var(--on-amber); }
.date { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--faint); text-decoration: none; }
.story-h { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); letter-spacing: -.01em; margin-bottom: var(--space-2); }
.dek { color: var(--text); font-weight: 500; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--space-2); margin: var(--space-5) 0; }
.facts div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: var(--space-3); }
.facts dt { font-size: var(--text-xs); color: var(--muted); }
.facts dd { margin: 0; font-family: var(--font-mono); font-weight: 600; font-size: var(--text-sm); color: var(--text); }
.story-h a { color: inherit; text-decoration: none; }
.story-h a:hover { text-decoration: underline; text-underline-offset: 3px; }
.read-src { margin: var(--space-4) 0 0; font-size: var(--text-sm); font-weight: 700; }
.read-src a { color: var(--amber); text-decoration: none; border-bottom: 2px solid currentColor; }
.sources { font-size: var(--text-xs); color: var(--muted); border-top: 1px dashed var(--border-strong); padding-top: var(--space-3); margin: var(--space-4) 0 0; }
.src-label { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-right: var(--space-2); }
.sources a { color: var(--text); }
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--space-6); align-items: start; }
.story-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .story-grid.two { grid-template-columns: 1fr; } }
.story-list { display: grid; gap: var(--space-6); min-width: 0; }
.section-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.index-panel { position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow-y: auto; }
.index-list { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; }
.index-list a { display: grid; gap: var(--space-1); padding: var(--space-3) 0; border-top: 1px solid var(--border); text-decoration: none; font-size: var(--text-sm); line-height: 1.35; }
.index-list .day { margin: 0; }
.pill-wrap { white-space: normal; line-height: 1.3; }
.nowrap { white-space: nowrap; }

/* Panels */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(var(--space-5), 3vw, var(--space-8)); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.panel-h { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); }
.snapshot { position: sticky; top: 150px; }
.status { font-size: var(--text-xs); color: var(--muted); }
.kv { margin: var(--space-4) 0; display: grid; gap: var(--space-3); }
.kv div { border-top: 1px solid var(--border); padding-top: var(--space-3); }
.kv dt { font-size: var(--text-xs); color: var(--muted); }
.kv dd { margin: 0; display: flex; flex-direction: column; }
.kv .big { font-size: var(--text-lg); font-weight: 600; color: var(--text); }
.kv .sub { font-size: var(--text-xs); color: var(--faint); }
.kv .sub a { color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.models-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.models-table th, .models-table td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); vertical-align: top; }
.models-table thead th { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 500; white-space: nowrap; }
.models-table tbody tr:last-child > * { border-bottom: 0; }
.models-table tbody tr:hover { background: var(--surface-2); }
.m-name { display: block; font-weight: 700; white-space: nowrap; }
.m-id { display: block; font-size: var(--text-xs); color: var(--faint); font-weight: 400; }
.m-blurb { color: var(--muted); min-width: 260px; }
.table-wrap + .fine { margin-top: var(--space-3); margin-bottom: 0; }
.section > .sources { margin-top: var(--space-2); }

/* Earlier strip */
.earlier { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.earlier-item { border-top: 2px solid var(--amber); padding-top: var(--space-4); }
.day { font-size: var(--text-xs); color: var(--faint); margin-bottom: var(--space-2); text-transform: uppercase; }
.earlier-h { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); margin-bottom: var(--space-3); }
.earlier-h a { text-decoration: none; }
.earlier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); font-size: var(--text-sm); color: var(--muted); }
.earlier ul a { text-decoration: none; }

/* Page hero */
.page-hero { padding-block: clamp(var(--space-8), 5vw, var(--space-16)); border-bottom: 1px solid var(--border); }
.page-hero-grid { display: grid; grid-template-columns: 3fr 2fr; gap: var(--space-10); align-items: center; }
.page-h { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); letter-spacing: -.03em; margin-bottom: var(--space-4); }
.page-art { margin: 0; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }

/* $ANT desk */
.kn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.kn { background: var(--surface); padding: var(--space-6); }
.kn-label { font-size: var(--text-xs); color: var(--muted); margin-bottom: var(--space-1); }
.kn-value { font-size: var(--text-xl); font-weight: 600; color: var(--amber); margin-bottom: var(--space-1); line-height: 1.1; }
.kn-sub { font-size: var(--text-xs); color: var(--faint); margin: 0; }
.kn-sub a { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
.timeline { list-style: none; margin: var(--space-4) 0 var(--space-6); padding: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: var(--space-4); padding: var(--space-2) 0 var(--space-2) var(--space-5); position: relative; font-size: var(--text-sm); }
.timeline li::before { content: ""; position: absolute; left: 0; top: .95em; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.timeline li::after { content: ""; position: absolute; left: 4px; top: 1.6em; bottom: -.6em; width: 1px; background: var(--border-strong); }
.timeline li:last-child::after { display: none; }
.timeline li.todo::before { background: transparent; border: 1.5px solid var(--amber); }
.timeline li.todo { color: var(--muted); }
.t-date { color: var(--amber); font-size: var(--text-xs); padding-top: .15em; }
.sub-h3 { font-size: var(--text-sm); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: var(--space-2); }
.unknowns { margin: 0; padding-left: var(--space-5); color: var(--muted); font-size: var(--text-sm); }
.bars { list-style: none; padding: 0; margin: var(--space-4) 0; display: grid; gap: var(--space-4); }
.bars li { display: grid; grid-template-columns: 90px 1fr 64px; grid-template-areas: "n t v" ". term term"; gap: var(--space-1) var(--space-3); align-items: center; font-size: var(--text-sm); }
.b-name { grid-area: n; font-weight: 700; }
.b-track { grid-area: t; height: 14px; background: var(--surface-2); border-radius: 4px; overflow: hidden; border: 1px solid var(--border); }
.b-fill { display: block; height: 100%; background: var(--amber); }
.b-val { grid-area: v; text-align: right; font-weight: 600; }
.b-term { grid-area: term; font-size: var(--text-xs); color: var(--faint); }

/* Archive */
.month { margin: var(--space-6) 0 var(--space-4); }
.archive { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.arch-row { display: grid; grid-template-columns: 120px 1fr auto 40px; gap: var(--space-4); align-items: baseline; padding: var(--space-4) var(--space-2); border-bottom: 1px solid var(--border); text-decoration: none; }
.arch-row:hover { background: var(--surface); color: var(--text); }
.arch-row:hover .arch-title { color: var(--amber); }
.arch-row .day { margin: 0; }
.arch-title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.25; }
.arch-cats { font-size: var(--text-xs); color: var(--faint); text-align: right; }
.arch-n { font-size: var(--text-xs); color: var(--amber); text-align: right; }
.pager { display: flex; justify-content: space-between; gap: var(--space-6); padding-bottom: var(--space-12); font-size: var(--text-sm); font-weight: 700; }
.pager a { text-decoration: none; color: var(--amber); max-width: 48%; }
.prose p { color: #ddd6c9; max-width: 68ch; }
.prose .section-h { margin: var(--space-8) 0 var(--space-3); font-size: var(--text-lg); }

/* Subscribe */
.subscribe { background: var(--amber); color: var(--on-amber); padding-block: clamp(var(--space-10), 6vw, var(--space-16)); }
.sub-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-8); align-items: center; }
.subscribe .kicker { color: var(--on-amber); opacity: .75; }
.sub-h { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); letter-spacing: -.03em; margin-bottom: var(--space-3); }
.subscribe .muted { color: #3b2f12; margin: 0; }
.sub-form { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.sub-form input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: var(--text-base); padding: var(--space-3) var(--space-4); border-radius: 8px; border: 2px solid var(--on-amber); background: #fff7e0; color: var(--on-amber); }
.btn { font: inherit; font-weight: 700; font-size: var(--text-sm); padding: var(--space-3) var(--space-6); border-radius: 8px; border: 2px solid var(--on-amber); background: var(--on-amber); color: var(--amber); cursor: pointer; }
.btn:hover { background: #000; }
.subscribe :focus-visible { outline-color: var(--on-amber); }
.sub-msg { flex-basis: 100%; font-size: var(--text-sm); min-height: 1.5em; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding-block: var(--space-12) var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.5fr; gap: var(--space-10); }
.brand-sm .mark { width: 30px; height: 30px; }
.brand-sm .wordmark { font-size: var(--text-lg); }
.footer .brand { margin-bottom: var(--space-4); }
.foot-h { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: var(--space-3); font-weight: 500; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); font-size: var(--text-sm); }
.foot-links a { text-decoration: none; color: var(--muted); }
.copy { margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--border); }

/* Responsive */
@media (max-width: 1024px) {
  .earlier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-grid, .section-layout { grid-template-columns: 1fr; }
  .index-panel { display: none; }
  .snapshot { position: static; }
  .kn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero-grid, .page-hero-grid, .two-col, .sub-inner, .footer-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 16 / 9; }
  .page-art { order: -1; aspect-ratio: 16 / 7; }
  .brief-wrap { grid-template-columns: 1fr; gap: var(--space-4); }
  .story-lead { grid-template-columns: 1fr; }
  .story-lead .card-media { aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--border); }
  .tagline { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; font: inherit; font-size: var(--text-sm); font-weight: 700; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px; padding: var(--space-2) var(--space-4); cursor: pointer; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav-inner { flex-direction: column; padding-block: var(--space-2); }
  .nav a { border-bottom: 1px solid var(--border); padding: var(--space-3) 0; }
  .nav a[aria-current="page"] { border-bottom-color: var(--border); color: var(--amber); }
  .arch-row { grid-template-columns: 1fr auto; }
  .arch-cats { display: none; }
  .arch-row .day { grid-column: 1 / -1; }
  .snapshot { top: auto; }
}
@media (max-width: 560px) {
  .earlier, .kn-grid { grid-template-columns: 1fr; }
  .mark { width: 32px; height: 32px; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
  .pager { flex-direction: column; }
  .pager a { max-width: none; }
}

/* Company file */
.co-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.co-tabs a { font-size: var(--text-sm); padding: var(--space-2) var(--space-4); border: 1px solid var(--border); border-radius: 999px; color: var(--muted); text-decoration: none; }
.co-tabs a:hover { color: var(--text); border-color: var(--text); }
.co-tabs a[aria-current="page"] { background: var(--amber); border-color: var(--amber); color: var(--on-amber); font-weight: 700; }
.co-intro { color: var(--muted); max-width: 72ch; margin: calc(-1 * var(--space-2)) 0 var(--space-5); }
.co-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--space-4); }
.co-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius, 12px); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.co-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); }
.co-name { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); letter-spacing: -.01em; line-height: 1.2; }
.co-fig { flex-shrink: 0; font-size: var(--text-xs); color: var(--amber); border: 1px solid var(--amber); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.co-role { font-size: var(--text-xs); color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.co-detail { font-size: var(--text-sm); color: var(--muted); line-height: 1.55; flex: 1; }
.co-src { font-size: var(--text-xs); color: var(--faint); margin-top: var(--space-2); }
.co-src a { color: var(--text); }
.co-hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--space-4); }
.co-hubcard { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius, 12px); color: var(--text); text-decoration: none; transition: border-color .15s; }
.co-hubcard:hover { border-color: var(--amber); }
.co-hubcard p { color: var(--muted); font-size: var(--text-sm); }
.co-hubcard .co-count { font-size: var(--text-xs); color: var(--faint); }
.co-hubcard .more { margin-top: auto; }
.kn-grid.kn-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .kn-grid.kn-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Public Benefit Fund page */
.pbf-value { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: var(--space-5); }
.pbf-value li { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-4); align-items: baseline; }
.pbf-v { grid-row: span 2; font-size: var(--text-xl); font-weight: 600; color: var(--amber); min-width: 5.5ch; }
.pbf-b { font-weight: 600; }
.pbf-how { font-size: var(--text-xs); color: var(--faint); }
.pbf-how a { color: var(--muted); }
.pbf-ladder { margin-top: var(--space-4); }
.pbf-voices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--space-4); }
.pbf-q { margin: 0; padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--amber); border-radius: var(--radius, 12px); display: flex; flex-direction: column; gap: var(--space-3); }
.pbf-q blockquote { margin: 0; font-size: var(--text-base); line-height: 1.5; }
.pbf-q figcaption { font-size: var(--text-xs); color: var(--muted); }
.pbf-q figcaption a { color: var(--text); }
.pbf-cov { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--space-2) var(--space-6); }
.pbf-cov li { font-size: var(--text-sm); padding: var(--space-2) 0; border-bottom: 1px solid var(--border); }
.pbf-ladder li { grid-template-columns: 96px 1fr 76px; }
.pbf-ladder .b-val { white-space: nowrap; }
