/* ashlab.cloud — AI Threat Intel
   Visual system for the research pages (not /preview/, which keeps styles.css).
   Near-black field, acid-lime signal, red for exploitation. Every animation is
   decoration on top of content that is already visible; all of it stops under
   prefers-reduced-motion. */

:root {
  --bg:        #050608;
  --bg-2:      #090b0f;
  --panel:     rgba(13, 16, 21, .86);
  --panel-2:   #10141a;
  --line:      #1a2028;
  --line-2:    #262e39;

  --text:      #e9efe7;
  --text-2:    #aab4ae;
  --muted:     #707b76;
  --faint:     #4b5550;

  --lime:      #c6ff3d;
  --lime-2:    #a6e01f;
  --lime-glow: rgba(198, 255, 61, .16);
  --red:       #ff3d5a;
  --red-glow:  rgba(255, 61, 90, .18);
  --amber:     #ffb02e;
  --cyan:      #3ee6ff;
  --violet:    #b197fc;

  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --sans:    'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max-w: 1240px;
  --ease:  cubic-bezier(.2, .8, .2, 1);
}

/* ── base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* faint film grain over everything — pure CSS, no image request */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 3px 3px; mix-blend-mode: overlay;
}
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
::selection { background: var(--lime); color: #000; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
section { position: relative; }
.mono { font-family: var(--mono); font-size: .92em; }
.nowrap { white-space: nowrap; }
.wrap { min-width: 280px; max-width: 560px; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dim { color: var(--muted); }
.sub { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ── top bar ──────────────────────────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 8, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.topnav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  height: 64px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-glyph { width: 26px; height: 26px; color: var(--lime); }
.brand-glyph .hot { fill: var(--red); animation: hot 2.4s ease-in-out infinite; }
.brand-word {
  position: relative; font-family: var(--display); font-weight: 700;
  font-size: 15px; letter-spacing: .08em;
}
.brand-word i { font-style: normal; color: var(--lime); margin: 0 1px; }
.brand-word::before, .brand-word::after {
  content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none;
}
.brand-word::before { color: var(--red); animation: glitch-a 7s infinite steps(1); }
.brand-word::after  { color: var(--cyan); animation: glitch-b 7s infinite steps(1); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  white-space: nowrap; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-2); padding: 8px 12px; border: 1px solid transparent; transition: .2s var(--ease);
}
.nav-links a:hover { color: var(--text); border-color: var(--line-2); text-decoration: none; }
.nav-links a[aria-current="page"] { color: #000; background: var(--lime); }

/* ── hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 104px 0 72px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 480px at 78% 18%, rgba(198,255,61,.07), transparent 70%),
    radial-gradient(700px 420px at 10% 90%, rgba(255,61,90,.06), transparent 70%),
    var(--bg);
}
.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.grid-bg, .page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(198,255,61,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,255,61,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
  animation: drift 40s linear infinite;
}
.hero::after, .page-head::after {           /* scan line */
  content: ""; position: absolute; left: 0; right: 0; top: -20%; height: 18%; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(198,255,61,.05), transparent);
  animation: scan 9s linear infinite; pointer-events: none;
}
.kicker {
  display: block; margin-bottom: 26px; line-height: 1.9;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
}
.kicker span { color: var(--lime); margin: 0 8px; }
.kicker-dot { display: inline-block; vertical-align: 1px; margin-right: 10px; width: 8px; height: 8px; background: var(--red); box-shadow: 0 0 12px var(--red); animation: blink 1.4s infinite; }
.hero-title {
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(36px, 6vw, 86px); line-height: 1.04; max-width: 20ch;
  text-shadow: 0 0 40px rgba(0,0,0,.6);
}
.hero-title em {
  display: block; font-style: normal; color: var(--lime);
  background: linear-gradient(90deg, var(--lime), #f2ffd0 40%, var(--lime) 60%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: sheen 6s linear infinite;
}
.hero-sub { max-width: 64ch; margin-top: 24px; font-size: 17px; color: var(--text-2); }

/* pulse tiles */
.pulse { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 168px;
  padding: 18px 18px 16px; color: var(--text); background: var(--panel);
  border: 1px solid var(--line-2); backdrop-filter: blur(6px);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.tile:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 18px 50px -20px var(--lime-glow); }
.tile-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.tile-n { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tile-l { font-size: 13px; color: var(--text-2); line-height: 1.4; }
.tile-red .tile-n { color: var(--red); text-shadow: 0 0 26px var(--red-glow); }
.tile-red:hover { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 18px 50px -20px var(--red-glow); }
.tile-lime .tile-n { color: var(--lime); }
.tile-viz { margin-top: auto; height: 26px; }
.pips { display: flex; flex-wrap: wrap; gap: 3px; }
.pips i { width: 8px; height: 8px; background: var(--red); opacity: .9; animation: pip .5s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
.spark { width: 100%; height: 26px; overflow: visible; }
.spark { animation: reveal 1.6s .3s var(--ease) both; }
.spark polyline { fill: none; stroke: var(--lime); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.meter { display: block; margin-top: 18px; height: 4px; background: var(--line-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w); background: var(--amber); transform-origin: left; animation: grow 1.4s .3s var(--ease) both; }

.freshline { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.fresh::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; vertical-align: 1px; background: var(--muted); }
.fresh-ok::before { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.fresh-amber { color: var(--amber); } .fresh-amber::before { background: var(--amber); }
.fresh-red { color: var(--red); } .fresh-red::before { background: var(--red); }
.fresh-curated::before { background: var(--cyan); }

/* ── section heads ────────────────────────────────────────────────────────── */
.band { padding: 72px 0; border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.sec-head h2 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.sec-head a { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.idx { font-family: var(--mono); font-size: 12px; color: var(--lime); letter-spacing: .1em; }
.idx::after { content: " //"; color: var(--faint); }

/* ── HUD panels (threat pulse) ────────────────────────────────────────────── */
.signal-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 14px; }
.hud {
  position: relative; background: var(--panel-2); border: 1px solid var(--line); padding: 20px 20px 18px;
}
.hud::before, .hud::after {
  content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--lime); border-style: solid; pointer-events: none;
}
.hud::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hud::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.hud figcaption, .hud h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.hud figcaption b, .hud h3 b { color: var(--text); font-weight: 500; }
.bars { width: 100%; height: auto; display: block; overflow: visible; }
.bars .col { transform-box: fill-box; transform-origin: 50% 100%; animation: rise .9s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
.bars .s-critical { fill: var(--red); }
.bars .s-high { fill: var(--amber); }
.bars .s-medium { fill: var(--lime-2); opacity: .75; }
.bars .s-low { fill: var(--faint); }
.bars .gl { stroke: var(--line-2); stroke-dasharray: 2 4; }
.bars text { font-family: var(--mono); font-size: 10px; fill: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--text-2); }
.legend i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; vertical-align: -1px; }
.lg-critical { background: var(--red); } .lg-high { background: var(--amber); }
.lg-medium { background: var(--lime-2); } .lg-low { background: var(--faint); }

.rank li { display: grid; grid-template-columns: 1fr 64px; gap: 4px 12px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); }
.rank li:last-child { border-bottom: 0; }
.rank a { font-family: var(--mono); font-size: 13px; color: var(--text); }
.rank b { font-family: var(--mono); font-size: 13px; text-align: right; color: var(--red); }
.rank .track { grid-column: 1 / -1; height: 3px; background: var(--line-2); }
.rank .track i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--amber), var(--red)); transform-origin: left; animation: grow 1.2s var(--ease) both; animation-delay: calc(var(--i) * 90ms + .2s); }

.mix { display: flex; height: 14px; gap: 2px; margin: 4px 0 16px; }
.mix span { width: var(--w); transform-origin: left; animation: grow 1s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.mix-list li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 13px; color: var(--text-2); }
.mix-list li b { font-family: var(--mono); font-weight: 500; color: var(--text); }
.mix-list i { display: inline-block; width: 9px; height: 9px; margin-right: 8px; vertical-align: -1px; }

/* tag colours, shared by chips, mix segments and legends */
.c-found-by-ai     { --c: var(--lime); }
.c-attack-on-ai    { --c: var(--red); }
.c-attack-using-ai { --c: var(--amber); }
.c-vulnerability   { --c: #ff7a45; }
.c-advisory        { --c: #ffd84d; }
.c-regulation      { --c: var(--cyan); }
.c-model           { --c: #5aa9ff; }
.c-provider        { --c: #7d8fa8; }
.c-research        { --c: var(--violet); }
.c-analyst         { --c: #9aa39e; }
.mix span, .mix-list i { background: var(--c, var(--muted)); }

/* ── front: stories + rail ────────────────────────────────────────────────── */
.desk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
.story {
  position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 0 18px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.stories .story, .story:not(:has(.story-n)) { grid-template-columns: minmax(0, 1fr); }
.story > * { grid-column: -2 / -1; }
.story-n {
  grid-column: 1 / 2 !important; grid-row: 1 / span 4;
  font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--line-2);
  transition: color .25s;
}
.story:hover .story-n { color: var(--lime); }
.story::before {
  content: ""; position: absolute; left: -18px; top: 22px; bottom: 22px; width: 2px;
  background: var(--lime); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.story:hover::before { transform: scaleY(1); }
.story-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.story-title { font-family: var(--sans); font-weight: 600; font-size: 19px; line-height: 1.35; letter-spacing: -.005em; }
.story-title a { color: var(--text); }
.story-title a:hover { color: var(--lime); text-decoration: none; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.story-sum { margin-top: 10px; color: var(--text-2); font-size: 14.5px; max-width: 78ch; }

.desk-rail { display: flex; flex-direction: column; gap: 16px; }
.rail-box h2 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 6px; }
.rail-crit h2 { color: var(--red); }
.rail-crit::before, .rail-crit::after { border-color: var(--red); }
.rail-note { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.rail-box li { padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: 13.5px; color: var(--text-2); }
.rail-box li:last-child { border-bottom: 0; }
.rail-box li > span { display: block; }
.rail-box li a { color: var(--text); }
.rail-box li b { font-family: var(--display); color: var(--amber); margin-right: 6px; }
.rail-box > a { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }

/* ── inner pages ──────────────────────────────────────────────────────────── */
.page-head { position: relative; overflow: hidden; isolation: isolate; padding: 80px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1, .section-heading {
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(34px, 5vw, 60px); line-height: 1.05;
}
.page-head h1::before { content: "// "; color: var(--lime); }
.lede, .section-sub { max-width: 74ch; margin-top: 18px; font-size: 16.5px; color: var(--text-2); }
.lede b, .section-sub strong { color: var(--text); }
.page-body { padding: 36px 0 80px; }
.section-label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
.section-label::before { content: "▸ "; }
.sub-heading { font-family: var(--display); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.note, .intel-note { margin-top: 26px; max-width: 80ch; font-size: 13px; color: var(--muted); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); font-family: var(--mono); font-size: 13px; }
.empty-filter { padding: 24px; color: var(--muted); font-family: var(--mono); font-size: 13px; }
.empty-filter td { padding: 24px !important; }

/* filters */
.toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.filter {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase;
  padding: 7px 12px; color: var(--text-2); border: 1px solid var(--line-2); transition: .2s var(--ease);
}
.filter b { color: var(--muted); font-weight: 500; margin-left: 4px; }
.filter:hover { color: var(--text); border-color: var(--lime); }
.filter[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #000; }
.filter[aria-pressed="true"] b { color: #000; }

/* tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--bg-2); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th {
  position: sticky; top: 0; background: var(--panel-2); text-align: left;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line-2);
}
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
tbody tr { transition: background .15s; }
tbody tr:hover { background: rgba(198,255,61,.035); }
tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--lime); }
td a { color: var(--text); }
td a:hover { color: var(--lime); }

/* chips */
.chip {
  display: inline-flex; align-items: center; gap: 4px; margin: 0 4px 3px 0;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 7px; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap;
}
.tag { border-color: transparent; color: var(--c, var(--text-2)); background: color-mix(in srgb, var(--c, #888) 12%, transparent); }
.tag::before { content: ""; width: 5px; height: 5px; background: var(--c, var(--muted)); }
.tag-found-by-ai { --c: var(--lime); } .tag-attack-on-ai { --c: var(--red); }
.tag-attack-using-ai { --c: var(--amber); } .tag-vulnerability { --c: #ff7a45; }
.tag-advisory { --c: #ffd84d; } .tag-regulation { --c: var(--cyan); } .tag-model { --c: #5aa9ff; }
.tag-provider { --c: #8fa3bd; } .tag-research { --c: var(--violet); } .tag-analyst { --c: #9aa39e; }
.chip-id { color: var(--lime); border-color: rgba(198,255,61,.3); }
.chip-atlas { color: var(--violet); border-color: rgba(177,151,252,.35); }
.chip-kev { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }
.chip-ransom { color: var(--red); border-color: var(--red); }
.chip-gated { color: var(--amber); border-color: rgba(255,176,46,.4); }
.chip-sev-critical { color: var(--red); border-color: var(--red); }
.chip-sev-high { color: var(--amber); border-color: rgba(255,176,46,.5); }
.chip-sev-medium { color: #e8e36b; border-color: rgba(232,227,107,.35); }
.chip-sev-low, .chip-sev-none { color: var(--muted); }
.chip-kind-law { color: var(--red); border-color: var(--red); }
.chip-kind-certifiable { color: var(--cyan); border-color: rgba(62,230,255,.4); }
.chip-kind-threat { color: var(--violet); border-color: rgba(177,151,252,.4); }
.chip-kind-voluntary, .chip-kind-guidance, .chip-kind-community { color: var(--lime); border-color: rgba(198,255,61,.3); }

.epss { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--text); }
.epss .sub { display: block; }
.epss-bar { width: 54px; height: 4px; background: var(--line-2); display: inline-block; }
.epss-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--red)); }

/* frameworks */
.cmp-grid, .lib-grid, .tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cmp, .lib-section, .tech, .callout { position: relative; background: var(--panel-2); border: 1px solid var(--line); padding: 24px; }
.cmp:hover, .tech:hover { border-color: var(--line-2); }
.cmp-head, .tech-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.cmp-name, .tech-name { font-family: var(--display); font-size: 18px; font-weight: 700; line-height: 1.25; }
.cmp-name a { color: var(--text); }
.cmp-sub, .lib-by { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.cmp-what, .cmp-why, .tech-mech, .tech-test, .lib-what, .lib-blurb, .callout p { font-size: 14.5px; color: var(--text-2); }
.cmp-why, .tech-test { margin-top: 10px; }
.cmp-why b, .tech-mech b, .tech-test b, .callout strong { color: var(--text); }
.cmp-countdown { margin: 16px 0 6px; font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.cmp-countdown b { font-family: var(--display); font-size: 30px; color: var(--amber); margin-right: 6px; }
.cmp-timeline { margin-top: 14px; border-left: 1px solid var(--line-2); padding-left: 16px; }
.ms { position: relative; display: flex; gap: 14px; padding: 5px 0; font-size: 13px; }
.ms::before { content: ""; position: absolute; left: -20px; top: 12px; width: 7px; height: 7px; background: var(--line-2); }
.ms-past { color: var(--muted); }
.ms-future::before { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.ms-date { font-family: var(--mono); font-size: 11.5px; min-width: 96px; color: var(--muted); }
.ms-future .ms-label { color: var(--text); }
.cmp-chips, .tech-chips { margin-top: 12px; }
.lib-section { padding: 22px 24px; }
.lib-blurb { margin-bottom: 12px; }
.lib-item { padding: 12px 0; border-top: 1px dashed var(--line-2); }
.lib-name { font-weight: 600; }
.lib-name a { color: var(--text); }
.lib-name a:hover { color: var(--lime); }
.lib-what { margin-top: 4px; font-size: 13.5px; }
.callout { border-left: 3px solid var(--lime); }
.callout p + p { margin-top: 10px; }

/* coming soon */
.subnav { border-top: 1px solid var(--line); background: rgba(0,0,0,.35); }
.subnav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; height: 34px; display: flex; align-items: center; gap: 4px;
  overflow-x: auto; scrollbar-width: none; }
.subnav-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber);
  margin-right: 10px; white-space: nowrap; }
.subnav-label::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: 1px; background: var(--amber); }
.subnav a.soon { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: var(--muted); padding: 4px 10px; border: 1px dashed transparent; }
.subnav a.soon:hover { color: var(--amber); border-color: rgba(255,176,46,.45); text-decoration: none; }
.subnav a.soon[aria-current="page"] { color: var(--amber); border-color: var(--amber); }
.soon-dot { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.soon-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.soon-card { display: flex; flex-direction: column; gap: 8px; color: var(--text-2); font-size: 14px; transition: border-color .25s, transform .25s var(--ease); }
.soon-card:hover { text-decoration: none; border-color: var(--line-2); transform: translateY(-3px); }
.soon-card .tile-k { color: var(--amber); }
.soon-card b { font-family: var(--display); font-size: 19px; color: var(--text); }
.soon-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.soon-grid h3 { color: var(--lime); }
.soon-points li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px dashed var(--line-2); color: var(--text-2); }
.soon-points li:last-child { border-bottom: 0; }
.soon-points li::before { content: "▸"; position: absolute; left: 2px; color: var(--lime); }
.soon-note { color: var(--text-2); font-size: 14.5px; }
.soon-also { margin-top: 22px; }
.soon-others { display: flex; flex-wrap: wrap; gap: 8px; }
.soon-link { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border: 1px solid var(--line-2); color: var(--text-2); }
.soon-link:hover { border-color: var(--amber); color: var(--amber); text-decoration: none; }
@media (max-width: 1100px) { .soon-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .soon-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .soon-cards { grid-template-columns: 1fr; } }

/* archive */
.kicker a { color: var(--lime); }
.arch-list { border-top: 1px solid var(--line); }
.arch-row { display: grid; grid-template-columns: 70px 96px minmax(0, 1fr); gap: 4px 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line); }
.arch-kind { justify-content: center; }
.arch-news { color: var(--cyan); border-color: rgba(62,230,255,.35); }
.arch-cves { color: var(--red); border-color: rgba(255,61,90,.4); }
.arch-models { color: #5aa9ff; border-color: rgba(90,169,255,.4); }
.arch-title { font-weight: 600; font-size: 15px; }
.arch-title a { color: var(--text); }
.arch-title a:hover { color: var(--lime); }
.arch-sum { display: block; font-weight: 400; font-size: 13.5px; color: var(--text-2); margin-top: 2px; }
.arch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--text-2); }
.arch-live { color: var(--lime); }
.arch-live::before { content: "● "; }
.arch-left { color: var(--amber); }
.arch-changes { margin-top: 8px; padding-left: 12px; border-left: 2px solid var(--amber); font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.arch-changes s { color: var(--muted); }
.arch-changes b { color: var(--text); font-weight: 500; }
@media (max-width: 640px) { .arch-row { grid-template-columns: 1fr; } }

/* ── footer ───────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); background: #000; padding: 48px 0 56px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { font-family: var(--display); font-weight: 700; letter-spacing: .08em; font-size: 15px; margin-bottom: 10px; }
.footer-brand i { font-style: normal; color: var(--lime); }
.footer-line { font-size: 13px; color: var(--muted); max-width: 70ch; margin-top: 4px; }
.footer-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; line-height: 1.9; }

/* ── motion ───────────────────────────────────────────────────────────────── */
@keyframes blink   { 50% { opacity: .2; } }
@keyframes hot     { 50% { opacity: .35; } }
@keyframes drift   { to { background-position: 56px 56px, 56px 56px; } }
@keyframes scan    { to { top: 110%; } }
@keyframes sheen   { to { background-position: -250% 0; } }
@keyframes reveal  { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise    { from { transform: scaleY(0); } }
@keyframes grow    { from { transform: scaleX(0); } }
@keyframes pip     { from { transform: scale(0); opacity: 0; } }
@keyframes glitch-a {
  0%, 92%, 100% { opacity: 0; transform: none; clip-path: none; }
  93% { opacity: .9; transform: translate(-2px, 1px); clip-path: inset(10% 0 55% 0); }
  95% { opacity: .9; transform: translate(2px, -1px); clip-path: inset(60% 0 8% 0); }
  97% { opacity: .9; transform: translate(-1px, 0); clip-path: inset(30% 0 40% 0); }
}
@keyframes glitch-b {
  0%, 93%, 100% { opacity: 0; transform: none; clip-path: none; }
  94% { opacity: .8; transform: translate(2px, 0); clip-path: inset(45% 0 25% 0); }
  96% { opacity: .8; transform: translate(-2px, 1px); clip-path: inset(5% 0 70% 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .signal-grid > :first-child { grid-column: 1 / -1; }
  .desk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .pulse { grid-template-columns: 1fr 1fr; }
  .cmp-grid, .lib-grid, .tech-grid { grid-template-columns: 1fr; }
  .topnav-inner { gap: 14px; }
  .nav-links { overflow-x: auto; scrollbar-width: none; }
  .nav-links a { padding: 8px 8px; font-size: 11px; }
}
@media (max-width: 640px) {
  .container, .topnav-inner, .subnav-inner { padding: 0 16px; }
  .topnav-inner { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; row-gap: 6px; }
  .nav-links { margin-left: 0; width: 100%; }
  .topnav { position: relative; }
  .hero { padding: 64px 0 48px; }
  .signal-grid { grid-template-columns: 1fr; }
  .pulse { gap: 10px; }
  .tile { min-height: 140px; padding: 14px; }
  .tile-n { font-size: 36px; }
  .story { grid-template-columns: 36px minmax(0, 1fr); gap: 0 12px; }
  .story-n { font-size: 22px; }
  .story-title { font-size: 17px; }
  .footer-meta { text-align: left; }
}
