:root {
  --article-width: 820px;
}

.reading-progress {
  position: fixed;
  z-index: 4000;
  inset: 0 0 auto;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--red-hot);
  box-shadow: 0 0 18px rgba(255,78,91,.8);
}

.layout, .blog-content { min-width: 0; }
.article-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 170px 0 90px;
  border-bottom: 1px solid var(--line);
  background: #050609;
}
.article-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.05); }
.article-hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(4,5,7,.98) 0%, rgba(4,5,7,.78) 46%, rgba(4,5,7,.26) 78%), linear-gradient(0deg, var(--bg) 0%, transparent 55%); }
.article-hero::after { content: "TRANSMISSION // VB-001"; position: absolute; z-index: 2; right: 40px; bottom: 40px; color: rgba(255,255,255,.28); font-size: 9px; font-weight: 700; letter-spacing: .22em; writing-mode: vertical-rl; text-transform: uppercase; }
.article-hero-content { position: relative; z-index: 2; width: min(1260px, calc(100% - 80px)); margin-inline: auto; }
.article-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--red-hot); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.article-kicker::before { content: ""; width: 25px; height: 1px; background: currentColor; }
.article-hero h1 { max-width: 1100px; margin: 20px 0 26px; font-size: clamp(66px, 9.2vw, 138px); font-weight: 600; letter-spacing: -.065em; line-height: .82; text-transform: uppercase; }
.article-deck { max-width: 800px; margin: 0; color: #d2d5d8; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.72; }
.article-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 27px; color: #999fa6; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-meta strong { color: #e8eaec; font-weight: 600; }

.article-layout {
  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;
  padding: 88px 0 140px;
  display: grid;
  grid-template-columns: 245px minmax(0, var(--article-width));
  gap: 90px;
  justify-content: center;
}
.toc { position: sticky; top: 120px; align-self: start; }
.sidebar-card { padding: 22px 0 0; border-top: 1px solid var(--line-strong); }
.toc-label { display: block; margin-bottom: 17px; color: #d9dcdf; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.toc-list { max-height: calc(100vh - 180px); overflow-y: auto; scrollbar-width: thin; }
.toc-list a { position: relative; display: block; padding: 9px 10px 9px 14px; border-left: 1px solid rgba(255,255,255,.09); color: #737c85; font-size: 11px; line-height: 1.42; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.toc-list a:hover, .toc-list a.is-active { color: #fff; border-left-color: var(--red-hot); background: linear-gradient(90deg, rgba(214,49,61,.09), transparent); }
.toc-list a.toc-sub { padding-left: 27px; font-size: 10px; }

.article-body { min-width: 0; }
.article-body > section > p:first-child { color: #edf0f2; font-size: 20px; line-height: 1.8; }
.article-body p { margin: 0 0 27px; color: var(--text-soft); font-size: 17px; line-height: 1.88; }
.article-body strong { color: #fff; }
.article-body h2 { position: relative; margin: 95px 0 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: clamp(44px, 5vw, 70px); font-weight: 600; letter-spacing: -.052em; line-height: .92; text-transform: uppercase; }
.article-body h2::before { content: ""; position: absolute; left: 0; top: -1px; width: 54px; height: 2px; background: var(--red-hot); box-shadow: 0 0 18px rgba(255,78,91,.5); }
.article-body h3 { margin: 49px 0 18px; font-size: 31px; font-weight: 600; letter-spacing: -.025em; line-height: 1.05; text-transform: uppercase; }
.article-body ul, .article-body ol { margin: 0 0 30px; padding-left: 22px; }
.article-body li { margin: 10px 0; color: var(--text-soft); line-height: 1.72; }
.article-body a:not(.button) { color: #fff; border-bottom: 1px solid rgba(255,78,91,.55); }
.article-body a:not(.button):hover { color: var(--red-hot); }

.intel-callout { position: relative; overflow: hidden; margin: 42px 0; padding: 29px 31px 29px 34px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(214,49,61,.12), var(--surface) 47%); color: var(--text-soft); }
.intel-callout::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--red-hot); box-shadow: 0 0 20px rgba(255,78,91,.55); }
.intel-callout strong { display: block; margin-bottom: 8px; font-size: 21px; line-height: 1.1; text-transform: uppercase; }

.cinematic-image { position: relative; min-height: 420px; margin: 32px 0 38px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.cinematic-image img { width: 100%; min-height: 420px; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s var(--ease), filter .4s ease; }
.cinematic-image:hover img { transform: scale(1.018); filter: saturate(1.06); }
.cinematic-image::after { content: "VEILBREAK // ARCHIVE FRAME"; position: absolute; left: 17px; bottom: 15px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.16); background: rgba(4,5,7,.72); color: rgba(255,255,255,.7); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(8px); }

.feature-divider { height: 1px; margin: 58px 0; background: var(--line); }
.article-legal { margin-top: 78px; padding-top: 25px; border-top: 1px solid var(--line); }
.article-legal p { color: #68717a; font-size: 11px; line-height: 1.65; }
.promo, .sidebar-index, .shared-include-error { display: none; }
.vb-signal-mark { position: fixed; z-index: 2000; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid rgba(255,78,91,.34); background: rgba(4,5,7,.78); color: #d8dbde; font-size: 8px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; backdrop-filter: blur(12px); }
.vb-signal-mark i { width: 6px; height: 6px; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 13px var(--red-hot); animation: signalPulse 1.8s ease-in-out infinite; }

@media (max-width: 980px) {
  .article-hero { min-height: 650px; padding: 140px 0 72px; }
  .article-hero-content, .article-layout { width: calc(100% - 48px); }
  .article-layout { grid-template-columns: 1fr; padding-top: 62px; }
  .toc { display: none; }
}

@media (max-width: 700px) {
  .article-hero { min-height: 580px; padding: 125px 0 58px; }
  .article-hero::after, .vb-signal-mark { display: none; }
  .article-hero-content, .article-layout { width: calc(100% - 30px); }
  .article-hero h1 { font-size: clamp(52px, 16vw, 82px); }
  .article-deck { font-size: 16px; }
  .article-layout { padding: 48px 0 90px; }
  .article-body > section > p:first-child { font-size: 18px; }
  .article-body p { font-size: 16px; line-height: 1.82; }
  .article-body h2 { margin-top: 70px; font-size: clamp(40px, 12.5vw, 59px); }
  .article-body h3 { font-size: 27px; }
  .intel-callout { padding: 24px 22px 24px 26px; }
  .cinematic-image, .cinematic-image img { min-height: 230px; }
}

.article-related { margin-top: 78px; padding: 28px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(214,49,61,.08), var(--surface)); }
.article-related > span { display: block; margin-bottom: 18px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.article-related > div { display: flex; flex-wrap: wrap; gap: 10px; }
.article-related a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 15px; border: 1px solid var(--line) !important; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article-related a:hover { border-color: var(--red-hot) !important; background: rgba(214,49,61,.1); }
@media (max-width:700px) { .article-related > div { display: grid; } }
