/* ============================================================
   exploits.run :: cyberpunk hacker theme
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --bg-0: #07080c;
  --bg-1: #0b0d14;
  --bg-2: #11141d;
  --bg-3: #161a26;
  --line: #20283a;
  --line-2: #2a3349;

  --fg: #d6dbe5;
  --fg-dim: #8d96ad;
  --fg-mute: #5a637a;

  --cyan: #00ffe1;
  --cyan-2: #4cffe9;
  --magenta: #ff2d95;
  --magenta-2: #ff66b8;
  --amber: #ffb547;
  --green: #6fffa0;
  --red: #ff5266;

  --glow-cyan: 0 0 8px rgba(0, 255, 225, .55), 0 0 22px rgba(0, 255, 225, .22);
  --glow-magenta: 0 0 8px rgba(255, 45, 149, .55), 0 0 22px rgba(255, 45, 149, .22);

  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --display: 'Space Grotesk', system-ui, sans-serif;

  --radius: 4px;
  --maxw: 1180px;
  --proseW: 760px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--mono);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg-0);
  background-image:
    radial-gradient(ellipse at 15% -10%, rgba(0, 255, 225, .07), transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(255, 45, 149, .06), transparent 55%),
    linear-gradient(180deg, #07080c 0%, #06070b 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color .15s, text-shadow .15s; }
a:hover { color: var(--cyan-2); text-shadow: var(--glow-cyan); }
hr { border: 0; border-top: 1px dashed var(--line-2); margin: 2.5em 0; }
code { font-family: var(--mono); }

::selection { background: var(--cyan); color: #001512; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- background canvas + overlays ---------- */
#bg-canvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: -3; pointer-events: none;
  opacity: .55;
}
.scanlines {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, .015) 0px,
    rgba(255, 255, 255, .015) 1px,
    transparent 1px, transparent 3px
  );
  mix-blend-mode: overlay;
}
.vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.55) 100%);
}

@media (prefers-reduced-motion: reduce) {
  #bg-canvas, .scanlines { display: none; }
}

/* ---------- reading progress ---------- */
#reading-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 50;
  background: rgba(0,0,0,.4);
}
#reading-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--magenta) 100%);
  box-shadow: 0 0 14px var(--cyan), 0 0 4px var(--magenta);
  transition: width .08s linear;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7, 8, 12, .82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  font-family: var(--mono); font-weight: 700; font-size: 18px; letter-spacing: .04em;
  color: var(--fg); display: inline-flex; align-items: center; gap: 0;
}
.brand:hover { color: var(--fg); }
.brand-bracket { color: var(--cyan); text-shadow: var(--glow-cyan); }
.brand-text { padding: 0 4px; }
.brand-cursor {
  display: inline-block; width: .6em; height: 1em; vertical-align: -2px;
  background: var(--cyan); margin-left: 2px; box-shadow: var(--glow-cyan);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.site-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav-link {
  font-family: var(--mono); font-size: 14px; color: var(--fg-dim);
  padding: 4px 8px; border: 1px solid transparent; border-radius: var(--radius);
  position: relative;
}
.nav-link:hover { color: var(--cyan); border-color: var(--line-2); text-shadow: none; }
.nav-link.active { color: var(--cyan); border-color: var(--cyan); box-shadow: inset 0 0 12px rgba(0,255,225,.18); }

/* ---------- main ---------- */
.site-main { padding: 56px 24px 80px; }

/* ---------- hero ---------- */
.hero { padding: 24px 0 32px; }
.hero-prompt {
  font-family: var(--mono); color: var(--fg-dim); font-size: 14px; margin-bottom: 18px;
}
.hero-prompt .cmd { color: var(--cyan); }
.hero-title {
  font-family: var(--display); font-size: clamp(48px, 9vw, 110px); line-height: 1;
  margin: 0 0 14px; letter-spacing: -.02em; font-weight: 700;
  color: var(--fg);
}
.hero-tagline {
  font-family: var(--mono); color: var(--fg-dim); font-size: 16px; margin: 0 0 18px;
}
.hero-stats {
  display: inline-flex; gap: 12px; align-items: center; flex-wrap: wrap;
  font-family: var(--mono); font-size: 13px; color: var(--fg-mute);
  border: 1px solid var(--line); padding: 8px 14px; border-radius: var(--radius);
  background: rgba(11, 13, 20, .55);
}
.stat-num { color: var(--cyan); }
.status-ok { color: var(--green); }
.status-ok::before { content: ''; }

.user { color: var(--magenta); }
.at { color: var(--fg-mute); }
.host { color: var(--cyan); }
.path { color: var(--fg-dim); }
.cmd { color: var(--fg); }

/* terminal cursor */
.cursor {
  display: inline-block; width: .55em; height: 1em; vertical-align: -2px;
  background: var(--cyan); margin-left: 4px; box-shadow: var(--glow-cyan);
  animation: blink 1.05s steps(1) infinite;
}

/* ---------- glitch ---------- */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.glitch::before { color: var(--magenta); transform: translate(2px, 0); mix-blend-mode: screen; opacity: .65;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  animation: gl-1 5.2s infinite steps(1);
}
.glitch::after { color: var(--cyan); transform: translate(-2px, 0); mix-blend-mode: screen; opacity: .65;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  animation: gl-2 6.7s infinite steps(1);
}
@keyframes gl-1 {
  0%, 96% { transform: translate(2px, 0); clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); }
  96.5% { transform: translate(-3px, 1px); clip-path: polygon(0 5%, 100% 5%, 100% 22%, 0 22%); }
  97.2% { transform: translate(2px, -1px); clip-path: polygon(0 60%, 100% 60%, 100% 75%, 0 75%); }
  98%, 100% { transform: translate(2px, 0); clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); }
}
@keyframes gl-2 {
  0%, 95% { transform: translate(-2px, 0); clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%); }
  95.5% { transform: translate(3px, -1px); clip-path: polygon(0 12%, 100% 12%, 100% 33%, 0 33%); }
  96.5% { transform: translate(-2px, 1px); clip-path: polygon(0 80%, 100% 80%, 100% 100%, 0 100%); }
  97.5%, 100% { transform: translate(-2px, 0); clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .glitch::before, .glitch::after { display: none; }
  .brand-cursor, .cursor { animation: none; }
}

/* ---------- sections ---------- */
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 56px 0 20px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-2);
}
.section-heading {
  font-family: var(--mono); font-size: 14px; letter-spacing: .15em;
  color: var(--fg); margin: 0; text-transform: uppercase;
}
.section-heading .bracket { color: var(--cyan); }
.section-link { font-family: var(--mono); font-size: 13px; color: var(--fg-dim); }

/* ---------- featured card ---------- */
.featured-card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; background: linear-gradient(180deg, rgba(11,13,20,.6), rgba(7,8,12,.6));
  position: relative; overflow: hidden;
}
.featured-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 14px var(--cyan);
}
.featured-cover img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--line-2); filter: saturate(1.1) contrast(1.05);
}
.featured-body { display: flex; flex-direction: column; gap: 10px; }
.featured-title { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.2; margin: 4px 0; }
.featured-title a { color: var(--fg); }
.featured-title a:hover { color: var(--cyan); }
.featured-excerpt { color: var(--fg-dim); margin: 0; }
.cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-weight: 700; font-size: 13px;
  padding: 8px 14px; border: 1px solid var(--cyan); color: var(--cyan); border-radius: var(--radius);
  width: max-content; background: rgba(0, 255, 225, .04);
  transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}
.cta:hover {
  background: rgba(0, 255, 225, .14); transform: translateY(-1px);
  box-shadow: var(--glow-cyan); text-shadow: none;
}
@media (max-width: 760px) { .featured-card { grid-template-columns: 1fr; } }

/* ---------- post grid ---------- */
.post-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px; margin-top: 18px;
}
.post-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(11, 13, 20, .55); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.post-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0,255,225,.25), 0 6px 24px -8px rgba(0,255,225,.35);
  transform: translateY(-2px);
}
.card-cover img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(1.05);
}
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-meta { font-size: 12px; color: var(--fg-mute); display: inline-flex; gap: 8px; align-items: center; }
.card-meta .sep { opacity: .5; }
.card-title { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.25; margin: 0; }
.card-title a { color: var(--fg); }
.card-title a:hover { color: var(--cyan); }
.card-excerpt { color: var(--fg-dim); font-size: 14px; margin: 0; flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag-mini {
  font-family: var(--mono); font-size: 11px; color: var(--magenta);
  text-transform: lowercase; letter-spacing: .03em;
}
.more-link { text-align: center; margin-top: 28px; }
.more-link a { font-family: var(--mono); font-size: 14px; }

/* ---------- log list ---------- */
.list-header { margin-bottom: 32px; }
.list-header .prompt { color: var(--fg-dim); margin-bottom: 12px; font-size: 14px; }
.list-title {
  font-family: var(--display); font-size: clamp(40px, 7vw, 72px); line-height: 1;
  margin: 0 0 6px; letter-spacing: -.02em;
}
.list-sub { color: var(--fg-mute); font-size: 14px; margin: 0; }

.log-list { list-style: none; padding: 0; margin: 0; border-top: 1px dashed var(--line-2); }
.log-row {
  display: grid;
  grid-template-columns: 100px 14px 1fr auto;
  gap: 12px; align-items: baseline;
  padding: 12px 8px; border-bottom: 1px dashed var(--line-2);
  transition: background .15s;
}
.log-row:hover { background: rgba(0,255,225,.04); }
.log-ts { color: var(--fg-mute); font-size: 13px; }
.log-arrow { color: var(--cyan); font-weight: 700; }
.log-title { color: var(--fg); font-weight: 500; font-family: var(--display); font-size: 17px; }
.log-title:hover { color: var(--cyan); }
.log-tags { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 720px) {
  .log-row { grid-template-columns: 80px 14px 1fr; }
  .log-tags { grid-column: 1 / -1; padding-left: 94px; }
}

/* ---------- tags page ---------- */
.tag-group { margin-top: 28px; }
.tag-heading { font-family: var(--mono); color: var(--fg); font-size: 18px; margin: 0 0 6px; }
.tag-heading .bracket { color: var(--magenta); }
.tag-heading .count { color: var(--fg-mute); font-size: 13px; margin-left: 6px; }
.tag-posts { list-style: none; padding: 0; margin: 0 0 0 16px; border-left: 1px dashed var(--line-2); }
.tag-posts li { padding: 4px 0 4px 14px; }
.tag-posts .ts { color: var(--fg-mute); font-size: 12px; margin-right: 8px; font-family: var(--mono); }

/* ---------- post (article) ---------- */
.prose { max-width: var(--proseW); margin: 0 auto; }
.post-header { margin-bottom: 28px; }
.prompt {
  font-family: var(--mono); font-size: 13px; color: var(--fg-dim); margin-bottom: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prompt .cmd { color: var(--fg); }
.post-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 5.5vw, 54px); line-height: 1.1;
  margin: 0 0 8px; letter-spacing: -.02em;
}
.post-subtitle { font-size: 17px; color: var(--fg-dim); margin: 0 0 14px; }
.post-meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-family: var(--mono); font-size: 13px; color: var(--fg-mute);
}
.post-meta .sep { opacity: .5; }
.post-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.tag {
  color: var(--magenta); font-family: var(--mono); font-size: 12px;
  text-transform: lowercase; letter-spacing: .03em;
}
.tag:hover { color: var(--magenta-2); text-shadow: var(--glow-magenta); }

.post-cover {
  margin: 26px -16px 0; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-1);
}
.post-cover img {
  width: 100%; max-height: 460px; object-fit: cover;
  filter: saturate(1.05);
}

/* article body */
.post-body { font-size: 16.5px; color: var(--fg); }
.post-body h1, .post-body h2, .post-body h3, .post-body h4 {
  font-family: var(--display); color: var(--fg); letter-spacing: -.01em;
  margin: 1.8em 0 .55em; line-height: 1.2;
}
.post-body h2 { font-size: 1.55em; border-bottom: 1px dashed var(--line-2); padding-bottom: .25em; }
.post-body h3 { font-size: 1.25em; color: var(--cyan); }
.post-body h4 { font-size: 1.08em; color: var(--magenta); text-transform: uppercase; letter-spacing: .06em; font-family: var(--mono); }
.post-body p { margin: 1em 0; }
.post-body a { border-bottom: 1px dashed currentColor; }
.post-body a:hover { border-bottom-style: solid; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li { margin: .35em 0; }
.post-body blockquote {
  margin: 1.2em 0; padding: .6em 1em;
  border-left: 3px solid var(--magenta);
  background: rgba(255, 45, 149, .06);
  color: var(--fg-dim);
}
.post-body strong { color: var(--fg); }
.post-body em { color: var(--cyan); font-style: normal; }
.post-body img {
  border: 1px solid var(--line-2); border-radius: var(--radius);
  margin: 1em auto; max-width: 100%;
}
.post-body iframe { max-width: 100%; }
.post-body hr { border-top: 1px dashed var(--line-2); }

/* inline code */
.post-body :not(pre) > code {
  background: rgba(0, 255, 225, .08); color: var(--cyan-2);
  padding: .1em .45em; border-radius: 3px; font-size: .92em;
  border: 1px solid rgba(0, 255, 225, .15);
}

/* code blocks */
pre.code-block {
  background: #050608; border: 1px solid var(--line);
  border-radius: var(--radius); margin: 1.4em 0; padding: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.3), inset 0 0 30px rgba(0,255,225,.04);
}
.code-header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: #0a0c12;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-r { background: #ff5266; box-shadow: 0 0 6px #ff5266aa; }
.dot-y { background: #ffb547; box-shadow: 0 0 6px #ffb547aa; }
.dot-g { background: #6fffa0; box-shadow: 0 0 6px #6fffa0aa; }
.code-lang { margin-left: 6px; color: var(--fg-mute); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.copy-btn {
  margin-left: auto; background: transparent; color: var(--fg-dim);
  border: 1px solid var(--line-2); border-radius: 3px; padding: 2px 8px;
  font-family: var(--mono); font-size: 11px; cursor: pointer; transition: all .15s;
}
.copy-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.copy-btn.copied { color: var(--green); border-color: var(--green); }
pre.code-block code {
  display: block; padding: 14px 16px; overflow-x: auto;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.55;
  color: #d6dbe5; background: transparent;
}

/* permalink anchors */
.post-body h2 > a, .post-body h3 > a, .post-body h4 > a {
  border: none; color: var(--fg-mute); margin-right: .35em; text-decoration: none;
  opacity: 0; transition: opacity .15s;
}
.post-body h2:hover > a, .post-body h3:hover > a, .post-body h4:hover > a { opacity: 1; }

/* post footer */
.post-footer { margin-top: 56px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.post-foot-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.prompt-mini { font-family: var(--mono); font-size: 13px; color: var(--fg-dim); }
.back-link { font-family: var(--mono); font-size: 13px; }

/* ---------- about page ---------- */
.page-about .prose { padding-top: 24px; }

/* ---------- 404 ---------- */
.four-oh-four { text-align: center; padding: 60px 0; }
.four-oh-four .ascii {
  font-family: var(--mono); color: var(--cyan); white-space: pre; line-height: 1.1;
  display: inline-block; text-align: left;
  text-shadow: var(--glow-cyan);
}
.four-oh-four h1 { font-family: var(--display); font-size: clamp(34px, 6vw, 56px); margin: 22px 0; }
.muted { color: var(--fg-dim); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 80px;
  background: rgba(7,8,12,.6); backdrop-filter: blur(6px);
}
.footer-wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}
.footer-cmd { color: var(--fg-dim); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--fg-dim); }
.footer-links a:hover { color: var(--cyan); }

/* ---------- responsive ---------- */
@media (max-width: 600px) {
  .header-wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-nav { gap: 8px; }
  .post-cover { margin-left: 0; margin-right: 0; }
}

/* ============================================================
   HOOKED :: series styles
   ============================================================ */

/* ----- Homepage promo strip ----- */
.hk-promo {
  margin: 56px 0 24px;
  padding: 22px;
  border: 1px solid var(--magenta);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,45,149,.08), rgba(255,45,149,.02));
  position: relative; overflow: hidden;
}
.hk-promo::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--magenta), var(--cyan));
  box-shadow: 0 0 14px var(--magenta);
}
.hk-promo-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.hk-promo-sub { color: var(--fg-dim); margin: 6px 0 0; font-size: 14px; }
.hk-promo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

/* ----- Hooked card (used on /hooked/ and homepage promo) ----- */
.hk-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 13, 20, .55);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.hk-card:hover {
  border-color: var(--magenta);
  box-shadow: 0 0 0 1px rgba(255,45,149,.25), 0 8px 28px -10px rgba(255,45,149,.4);
  transform: translateY(-2px);
}
.hk-card-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12px; font-family: var(--mono);
}
.hk-tag {
  font-family: var(--mono); font-size: 11px;
  text-transform: lowercase; letter-spacing: .04em;
  padding: 2px 6px; border-radius: 3px; border: 1px solid currentColor;
}
.hk-tag-cyan    { color: var(--cyan); }
.hk-tag-magenta { color: var(--magenta); }
.hk-tag-amber   { color: var(--amber); }
.hk-tag-green   { color: var(--green); }
.hk-time { color: var(--fg-mute); margin-left: auto; }
.hk-live { color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.hk-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.dot.pulse { animation: pulse 1.4s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.7); }
}
.hk-card-title { font-family: var(--display); font-weight: 700; font-size: 18px; margin: 0; line-height: 1.25; }
.hk-card-title a { color: var(--fg); }
.hk-card-title a:hover { color: var(--magenta); }
.hk-card-excerpt { color: var(--fg-dim); margin: 0; font-size: 14px; }
.hk-card-foot {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; color: var(--fg-mute);
  border-top: 1px dashed var(--line-2); padding-top: 8px; margin-top: 4px;
}
.hk-meta b { color: var(--fg); font-weight: 500; }

/* ----- Hooked landing page hero ----- */
.hk-hero { padding: 32px 0 40px; }
.hk-hero .prompt { margin-bottom: 18px; }
.hk-hero-title {
  font-family: var(--display); font-size: clamp(56px, 11vw, 130px);
  line-height: 1; margin: 16px 0 14px; letter-spacing: -.03em; color: var(--fg);
}
.hk-hero-title.glitch::before { color: var(--magenta); }
.hk-hero-title.glitch::after  { color: var(--cyan); }
.hk-hero-tagline {
  font-family: var(--mono); color: var(--fg-dim); font-size: 16px;
  margin: 0 0 32px; max-width: 56ch; line-height: 1.6;
}
.hk-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px; margin: 0 0 36px;
}
.hk-stat {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; background: rgba(11, 13, 20, .55);
  display: flex; flex-direction: column; gap: 8px;
  min-height: 86px;
}
.hk-stat-num {
  font-family: var(--display); font-weight: 700; font-size: 32px;
  color: var(--magenta); line-height: 1;
}
.hk-stat-lbl {
  font-family: var(--mono); font-size: 11px; color: var(--fg-mute);
  text-transform: uppercase; letter-spacing: .1em;
}
.hk-manifesto {
  border-left: 3px solid var(--magenta);
  padding: 14px 20px; margin: 0 0 36px;
  background: rgba(255, 45, 149, .04);
  color: var(--fg-dim); line-height: 1.7;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.hk-manifesto p { margin: 0; }
.hk-manifesto b { color: var(--fg); }
.hk-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-ghost { color: var(--fg-dim); border-color: var(--line-2); background: transparent; }
.cta-ghost:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(0,255,225,.04); }

/* ----- Filter chips ----- */
.hk-filters { margin: 48px 0 24px; }
.hk-filter-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding-bottom: 18px; border-bottom: 1px dashed var(--line-2);
}
.hk-chip {
  font-family: var(--mono); font-size: 12px;
  background: transparent; color: var(--fg-dim);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 14px; cursor: pointer; transition: all .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.hk-chip:hover { color: var(--cyan); border-color: var(--cyan); }
.hk-chip.active { color: var(--cyan); border-color: var(--cyan); background: rgba(0,255,225,.08); box-shadow: inset 0 0 12px rgba(0,255,225,.18); }
.hk-chip .ct { font-size: 11px; color: var(--fg-mute); }

.hk-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

/* ----- Hooked post page: banner + sidebar + score card ----- */
.hk-post-head { margin-bottom: 8px; }
.hk-post-head .hk-banner {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px; border: 1px solid currentColor;
  border-radius: var(--radius); margin: 0 0 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase;
}
.hk-banner-cyan    { color: var(--cyan); background: rgba(0,255,225,.06); }
.hk-banner-magenta { color: var(--magenta); background: rgba(255,45,149,.06); }
.hk-banner-amber   { color: var(--amber); background: rgba(255,181,71,.06); }
.hk-banner-green   { color: var(--green); background: rgba(111,255,160,.06); }
.hk-banner-tag { font-weight: 700; }
.hk-banner-type { color: var(--fg-dim); }

.prose-hooked {
  display: grid;
  grid-template-columns: 1fr 280px;
  grid-template-areas:
    "head    sidebar"
    "body    sidebar"
    "ioc     ioc"
    "footer  footer";
  gap: 26px;
  max-width: 1080px;
}
.prose-hooked .hk-post-head { grid-area: head; }
.prose-hooked .hk-sidebar   { grid-area: sidebar; }
.prose-hooked .hk-body      { grid-area: body; }
.prose-hooked .ioc-block    { grid-area: ioc; }
.prose-hooked .post-footer  { grid-area: footer; }

@media (max-width: 880px) {
  .prose-hooked {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "sidebar"
      "body"
      "ioc"
      "footer";
  }
}

.hk-sidebar {
  align-self: start;
  position: sticky; top: 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11,13,20,.7), rgba(7,8,12,.7));
  padding: 18px 18px 20px;
  font-family: var(--mono); font-size: 13px;
}
.hk-sb-head {
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--fg-mute); margin: 0 0 12px;
}
.hk-sb-head .bracket { color: var(--magenta); }
.sb-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px dashed var(--line-2);
}
.sb-row:last-of-type { border-bottom: 0; }
.sb-key { color: var(--fg-mute); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.sb-val { color: var(--fg); text-align: right; word-break: break-word; }

.hk-scores { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.score-row {
  display: grid; grid-template-columns: 110px 1fr 44px;
  align-items: center; gap: 8px; padding: 4px 0;
  font-size: 12px;
}
.score-label { color: var(--fg-dim); text-transform: lowercase; letter-spacing: .03em; }
.score-track {
  position: relative; height: 6px;
  background: rgba(255,255,255,.05); border-radius: 3px; overflow: hidden;
}
.score-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 10px rgba(0,255,225,.45);
}
.score-num { color: var(--fg); font-variant-numeric: tabular-nums; text-align: right; font-size: 11px; }

/* status badges */
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; padding: 2px 8px;
  border: 1px solid currentColor; border-radius: 3px;
}
.status-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status-live     { color: var(--red); }
.status-down     { color: var(--green); }
.status-reported { color: var(--amber); }
.status-unknown  { color: var(--fg-mute); }

/* ----- Indicator (IOC) blocks ----- */
.ioc-block {
  margin-top: 36px; padding-top: 18px;
  border-top: 1px dashed var(--line-2);
}
.ioc-block-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px; flex-wrap: wrap; margin-bottom: 12px;
}
.ioc-group { margin: 14px 0 18px; }
.ioc-group-h {
  font-family: var(--mono); font-size: 13px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--fg); margin: 0 0 8px;
}
.ioc-group-h .count { color: var(--fg-mute); font-size: 11px; margin-left: 6px; }
.ioc-list { list-style: none; padding: 0; margin: 0; }
.ioc-list li {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 4px 0; border-bottom: 1px dashed var(--line);
}
.ioc-item {
  font-family: var(--mono); font-size: 13px;
  color: var(--cyan-2); background: rgba(0,255,225,.06);
  padding: 2px 8px; border-radius: 3px; border: 1px solid rgba(0,255,225,.12);
  word-break: break-all;
}
.ioc-list .copy-btn {
  background: transparent; color: var(--fg-dim);
  border: 1px solid var(--line-2); border-radius: 3px;
  padding: 1px 8px; font-family: var(--mono); font-size: 11px;
  cursor: pointer; transition: all .15s;
}
.ioc-list .copy-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.ioc-list .copy-btn.copied { color: var(--green); border-color: var(--green); }
.ioc-from { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); margin-left: auto; }
.ioc-from a { color: var(--fg); border-bottom: 1px dashed var(--line-2); }
.ioc-from .muted { color: var(--fg-mute); margin-left: 4px; }
.hk-live-mini {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--red); font-size: 11px;
}
.hk-live-mini .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }

.empty { padding: 40px 0; text-align: center; }


/* Hooked: cost / demand / saved colorings */
.hk-stat-demand .hk-stat-num { color: var(--amber); }
.hk-stat-saved  .hk-stat-num { color: var(--green); }

.cost-real   { color: var(--fg); font-weight: 700; }
.cost-arrow  { color: var(--fg-mute); margin: 0 4px; }
.cost-demand { color: var(--amber); font-weight: 700; }
.cost-saved  { color: var(--green); font-weight: 700; }

.hk-meta-sub { color: var(--fg-mute); font-weight: 400; }

/* ============================================================
   REPORT page
   ============================================================ */
.report-hero { padding: 32px 0 24px; }
.report-hero .prompt { margin-bottom: 14px; }
.report-hero .hk-hero-tagline { margin-top: 8px; max-width: 60ch; }

.report-success {
  border: 1px solid var(--green);
  background: rgba(111,255,160,.06);
  color: var(--fg);
  padding: 16px 20px; border-radius: var(--radius);
  margin: 0 0 28px;
  font-family: var(--mono);
  font-size: 14px;
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  margin-bottom: 60px;
}
@media (max-width: 880px) { .report-grid { grid-template-columns: 1fr; } }

.report-form { display: flex; flex-direction: column; gap: 22px; }
.report-form fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 14px;
  background: rgba(11,13,20,.45);
  display: flex; flex-direction: column; gap: 10px;
}
.report-form legend {
  font-family: var(--mono); font-size: 11px;
  color: var(--cyan); text-transform: uppercase;
  letter-spacing: .12em; padding: 0 8px;
}
.report-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono); font-size: 12px;
  color: var(--fg-mute); text-transform: uppercase; letter-spacing: .06em;
}
.report-form input[type=text],
.report-form input[type=email],
.report-form input[type=number],
.report-form select,
.report-form textarea {
  font-family: var(--mono); font-size: 14px;
  background: rgba(7,8,12,.7);
  border: 1px solid var(--line-2);
  color: var(--fg);
  padding: 10px 12px;
  border-radius: var(--radius);
  text-transform: none; letter-spacing: 0;
}
.report-form input[type=file] {
  font-family: var(--mono); font-size: 12px; color: var(--fg-dim);
  padding: 10px 0;
}
.report-form input:focus, .report-form select:focus, .report-form textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 12px rgba(0,255,225,.18);
}
.report-form textarea { resize: vertical; min-height: 200px; line-height: 1.6; }
.report-form .field-help {
  font-family: var(--mono); font-size: 12px;
  color: var(--fg-dim); margin: 0 0 4px; line-height: 1.55;
  text-transform: none; letter-spacing: 0;
}
.report-form button.cta {
  align-self: flex-start; margin-top: 10px;
  padding: 12px 22px; font-size: 13px;
}

.report-guide {
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 0;
  background: rgba(11,13,20,.4);
}
.report-guide summary {
  cursor: pointer;
  padding: 10px 14px;
  font-family: var(--mono); font-size: 12px;
  color: var(--cyan); text-transform: uppercase; letter-spacing: .08em;
}
.report-guide summary:hover { color: var(--cyan-2); }
.report-guide > div {
  padding: 4px 18px 14px;
  border-top: 1px dashed var(--line-2);
  font-family: var(--mono); font-size: 13px;
  color: var(--fg-dim); line-height: 1.65;
}
.report-guide ul { padding-left: 20px; margin: 6px 0 14px; }
.report-guide li { margin: 4px 0; }
.report-guide b { color: var(--fg); }

.report-side {
  align-self: start;
  position: sticky; top: 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(11,13,20,.7), rgba(7,8,12,.7));
  font-family: var(--mono); font-size: 13px;
  color: var(--fg-dim); line-height: 1.6;
}
.report-side h3 {
  font-family: var(--display); font-size: 14px;
  color: var(--cyan); margin: 18px 0 8px;
  text-transform: uppercase; letter-spacing: .08em;
}
.report-side h3:first-child { margin-top: 0; }
.report-side ol, .report-side ul { padding-left: 20px; margin: 0 0 12px; }
.report-side li { margin: 6px 0; }
.report-side a { color: var(--cyan); }

/* ============================================================
   IC3 callout on /report/
   ============================================================ */
.ic3-banner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--amber);
  background: linear-gradient(180deg, rgba(255,184,77,.08), rgba(255,184,77,.02));
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 32px;
  box-shadow: 0 0 24px rgba(255,184,77,.06);
}
.ic3-banner-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,184,77,.18);
  border: 1px solid var(--amber);
  color: var(--amber);
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.ic3-banner-body { flex: 1; }
.ic3-banner-body h2 {
  font-family: var(--display);
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--amber);
  letter-spacing: .04em;
}
.ic3-banner-body p {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--fg);
  line-height: 1.65;
}
.ic3-banner-body p a {
  color: var(--amber);
  border-bottom: 1px dotted var(--amber);
}
.ic3-banner-body p a:hover { color: #fff; border-bottom-color: #fff; }
.ic3-banner-body p b { color: var(--fg); }
