/* Signal archive styles. Loaded after style.css, reuses its tokens. */

.sig-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Nav ── */
.sig-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--black-border);
}
.sig-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.sig-nav-logo { display: inline-flex; }
.sig-nav-logo img { display: block; border-radius: var(--radius-sm); }
.sig-nav-label {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  color: var(--white-pure);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sig-nav-cta {
  margin-left: auto;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--black);
  background: var(--white);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.sig-nav-cta:hover { background: var(--white-pure); transform: translateY(-1px); }

/* ── Shared type ── */
.sig-eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* ── Archive index ── */
.sig-index { padding-top: 7rem; padding-bottom: 5rem; }
.sig-index-head { margin-bottom: 2.5rem; }
.sig-index-title {
  font-family: var(--ff-serif);
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white-pure);
  margin: 0.5rem 0 1rem;
}
.sig-index-sub { color: var(--grey-400); font-size: var(--fs-md); line-height: 1.6; max-width: 60ch; }
.sig-index-sub a, .sig-body a, .sig-block a, .sig-byline a, .sig-footer a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--grey-600); }
.sig-index-sub a:hover, .sig-body a:hover, .sig-block a:hover { text-decoration-color: var(--white); }

.sig-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.sig-filter {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  color: var(--grey-400);
  background: transparent;
  border: 1px solid var(--black-border);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.sig-filter:hover { color: var(--white); border-color: var(--grey-600); }
.sig-filter.is-active { color: var(--black); background: var(--white); border-color: var(--white); }

.sig-grid { display: flex; flex-direction: column; gap: 1px; background: var(--black-border); border: 1px solid var(--black-border); border-radius: var(--radius-lg); overflow: hidden; }
.sig-card { background: var(--black); transition: background var(--transition-fast); }
.sig-card:hover { background: var(--black-card); }
.sig-card-link { display: block; padding: 1.75rem; }
.sig-card-meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--ff-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; color: var(--grey-500); margin-bottom: 0.75rem; }
.sig-card-theme { color: var(--grey-600); text-transform: uppercase; }
.sig-card-title { font-family: var(--ff-serif); font-size: var(--fs-xl); font-weight: 600; color: var(--white-pure); line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.sig-card-claim { color: var(--grey-400); font-size: var(--fs-base); line-height: 1.55; margin-bottom: 1rem; }
.sig-card-cta { font-size: var(--fs-sm); font-weight: 500; color: var(--white); }

/* ── Article ── */
.sig-article { padding-top: 6rem; padding-bottom: 5rem; max-width: 700px; }
.sig-back { display: inline-block; font-size: var(--fs-sm); color: var(--grey-400); margin-bottom: 2rem; }
.sig-back:hover { color: var(--white); }
.sig-title { font-family: var(--ff-serif); font-size: var(--fs-4xl); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; color: var(--white-pure); margin: 0.75rem 0 1rem; }
.sig-claim { font-family: var(--ff-serif); font-style: italic; font-size: var(--fs-xl); line-height: 1.4; color: var(--grey-200); margin-bottom: 2rem; }
.sig-draft-note { display: inline-block; font-family: var(--ff-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: #f5c451; background: rgba(245, 196, 81, 0.08); border: 1px solid rgba(245, 196, 81, 0.25); padding: 0.4rem 0.8rem; border-radius: var(--radius-full); margin-bottom: 2rem; }

/* figure/figcaption so the caption is associated with the embed, not floating near it. */
.sig-video { margin: 0 0 2.5rem; }
.sig-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--black-border); background: var(--black-soft); }
.sig-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sig-revised { margin-top: 0.85rem; font-size: var(--fs-sm); line-height: 1.55; color: var(--grey-500); border-left: 2px solid var(--black-border); padding-left: 0.9rem; }

.sig-body p { font-size: var(--fs-md); line-height: 1.75; color: var(--grey-200); margin-bottom: 1.25rem; }
.sig-body .sig-subhead { font-family: var(--ff-serif); font-size: var(--fs-xl); font-weight: 600; color: var(--white-pure); line-height: 1.25; letter-spacing: -0.01em; margin: 2.25rem 0 0.85rem; }
.sig-body .sig-subhead:first-child { margin-top: 0; }
.sig-pending { color: var(--grey-400); font-style: italic; }

.sig-block { border-top: 1px solid var(--black-border); padding-top: 1.5rem; margin-top: 1.5rem; }
.sig-block h2 { font-family: var(--ff-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 0.6rem; }
.sig-block p { font-size: var(--fs-md); line-height: 1.7; color: var(--grey-200); }
.sig-block--move p { color: var(--white); }
.sig-flag { color: #f5c451; font-family: var(--ff-mono); font-size: var(--fs-xs); }
.sig-moves { list-style: none; display: flex; flex-direction: column; gap: 1px; background: var(--black-border); border: 1px solid var(--black-border); border-radius: var(--radius-md); overflow: hidden; }
.sig-moves li { display: flex; flex-direction: column; gap: 0.45rem; padding: 1.15rem 1.25rem; background: var(--black); }
.sig-move-who { font-family: var(--ff-mono); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--white-pure); }
.sig-move-do { font-size: var(--fs-base); line-height: 1.65; color: var(--grey-200); }
.sig-sources { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.sig-sources li { font-size: var(--fs-base); line-height: 1.6; color: var(--grey-200); }

.sig-cite { border-top: 1px solid var(--black-border); padding-top: 1.5rem; margin-top: 2rem; }
.sig-cite h2 { font-family: var(--ff-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 0.6rem; }
.sig-cite-text { font-family: var(--ff-mono); font-size: var(--fs-sm); line-height: 1.6; color: var(--grey-400); background: var(--black-soft); border: 1px solid var(--black-border); border-radius: var(--radius-md); padding: 0.9rem 1.1rem; word-break: break-word; }

.sig-byline { margin-top: 2rem; font-size: var(--fs-sm); color: var(--grey-500); }
/* Top byline sits with the headline group: pulls up against .sig-claim's 2rem bottom margin. */
.sig-byline--top { margin-top: -1.25rem; margin-bottom: 2.5rem; }

/* ── Intelligence hub ── */
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--black-border); border: 1px solid var(--black-border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 3rem; }
.hub-card { display: flex; flex-direction: column; gap: 0.6rem; background: var(--black); padding: 1.9rem; transition: background var(--transition-fast); }
.hub-card:hover { background: var(--black-card); }
.hub-card-status { align-self: flex-start; font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-500); border: 1px solid var(--black-border); border-radius: var(--radius-full); padding: 0.2rem 0.6rem; }
.hub-card--live .hub-card-status { color: #2ed573; border-color: rgba(46, 213, 115, 0.3); }
.hub-card-title { font-family: var(--ff-serif); font-size: var(--fs-xl); font-weight: 600; color: var(--white-pure); line-height: 1.2; letter-spacing: -0.01em; }
.hub-card-blurb { color: var(--grey-400); font-size: var(--fs-base); line-height: 1.55; flex: 1; }
.hub-card-cta { font-size: var(--fs-sm); font-weight: 500; color: var(--white); }

/* ── Research product pages ── */

.sig-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 3rem; padding: 2rem; background: var(--black-soft); border: 1px solid var(--black-border); border-radius: var(--radius-lg); }
.sig-cta-band h2 { font-family: var(--ff-serif); font-size: var(--fs-xl); font-weight: 600; color: var(--white-pure); letter-spacing: -0.01em; margin-bottom: 0.35rem; }
.sig-cta-band p { color: var(--grey-400); font-size: var(--fs-sm); line-height: 1.5; max-width: 46ch; }
.sig-cta-btn { flex-shrink: 0; font-size: var(--fs-sm); font-weight: 500; color: var(--black); background: var(--white); padding: 0.7rem 1.4rem; border-radius: var(--radius-full); transition: transform var(--transition-fast), background var(--transition-fast); }
.sig-cta-btn:hover { background: var(--white-pure); transform: translateY(-1px); }

@media (max-width: 640px) {
  .hub-grid { grid-template-columns: 1fr; }
  .sig-cta-band { flex-direction: column; align-items: flex-start; }
}

/* ── Footer ── */
.sig-footer { border-top: 1px solid var(--black-border); padding: 2.5rem 0; margin-top: 2rem; }
.sig-footer p { color: var(--grey-500); font-size: var(--fs-sm); line-height: 1.6; }
.sig-footer-meta { margin-top: 0.5rem; color: var(--grey-600); }

@media (max-width: 640px) {
  .sig-title, .sig-index-title { font-size: var(--fs-3xl); }
  .sig-card-link { padding: 1.35rem; }
}

/* ── Why page ────────────────────────────────────────────────
   One column, no boxes. Short lines are given room to stand alone. */
.why-page { padding-top: 6rem; padding-bottom: 6rem; max-width: 660px; }
/* The page heading is the eyebrow: semantic h1, visual weight left to the opening line. */
.why-eyebrow { font-weight: inherit; margin: 0; }
.why-page > p { font-size: var(--fs-md); line-height: 1.8; color: var(--grey-200); margin-bottom: 1.6rem; }
.why-page > p a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--grey-600); }
.why-page > p a:hover { text-decoration-color: var(--white); }

/* Opening line and the pivots: left alone, no rules or boxes around them. */
.why-page > p.why-lead {
  font-family: var(--ff-serif);
  font-size: var(--fs-2xl);
  line-height: 1.3;
  color: var(--white-pure);
  margin: 2rem 0 2.5rem;
}
.why-page > p.why-turn {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  line-height: 1.4;
  color: var(--white-pure);
  margin: 3rem 0;
}

.why-page h2 {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin: 4rem 0 1.25rem;
}

/* The chain: one step per line, counted, no cards. */
.why-chain { list-style: none; counter-reset: chain; margin: 2.5rem 0 3rem; }
.why-chain li {
  counter-increment: chain;
  position: relative;
  padding-left: 2.5rem;
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.why-chain li::before {
  content: counter(chain);
  position: absolute;
  left: 0;
  top: 0.35em;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--grey-600);
}
.why-chain li:last-child { margin-bottom: 0; }

.why-cta { margin-top: 3rem; }

@media (max-width: 640px) {
  .why-page { padding-top: 5rem; padding-bottom: 4rem; }
  .why-page > p.why-lead { font-size: var(--fs-xl); }
  .why-page > p.why-turn { font-size: var(--fs-lg); margin: 2.25rem 0; }
  .why-page h2 { margin-top: 3rem; }
  .why-chain li { padding-left: 2rem; }
}
.sig-disclosure { border-top: 1px solid var(--black-border); padding-top: 1.5rem; margin-top: 2rem; }
.sig-disclosure h2 { font-family: var(--ff-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 0.6rem; }
.sig-disclosure p { font-size: var(--fs-sm); line-height: 1.6; color: var(--grey-500); }
.sig-disclosure a { color: var(--grey-400); text-decoration: underline; text-underline-offset: 2px; }
/* Last time we said. The scorecard that makes a weekly call worth trusting. */
.sig-lasttime { border: 1px solid var(--black-border); border-radius: var(--radius-md); padding: 1.25rem 1.4rem; margin-bottom: 2.5rem; background: var(--black-soft); }
.sig-lasttime h2 { font-family: var(--ff-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 0.7rem; }
.sig-lasttime p { font-size: var(--fs-base); line-height: 1.65; color: var(--grey-300); }
.sig-lasttime-verdict { margin-top: 0.7rem; color: var(--white); }
.sig-lasttime-verdict strong { color: var(--white-pure); }
.sig-lasttime a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--grey-600); }

/* Reading progress. A long read should show how much of it is left. */
.sig-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 60; background: var(--white); transition: width 90ms linear; }
@media (prefers-reduced-motion: reduce) { .sig-progress { transition: none; } }

/* Latest marker on the archive */
.sig-card-latest { display: inline-block; margin-right: 0.6rem; padding: 0.1rem 0.45rem; border: 1px solid var(--black-border); border-radius: var(--radius-full); color: var(--white); letter-spacing: 0.08em; }
.sig-card--latest .sig-card-title { font-size: var(--fs-2xl); }
@media (max-width: 640px) { .sig-card--latest .sig-card-title { font-size: var(--fs-xl); } }
