/* Insights v2 — Option B editorial treatment [ARTICLE_V2_BAG_2026_04_17]
 * Pentagram-style editorial blocks: narrow measure, numbered sections,
 * pull-quotes, sticky mini-TOC. Inter body + Space Mono accents.
 * Site-wide tokens inherited from :root in site css.
 */

:root {
  --iv2-bg: #0a0a0a;
  --iv2-ink: #e8e8e8;
  --iv2-ink-2: rgba(232,232,232,0.75);
  --iv2-ink-3: rgba(232,232,232,0.50);
  --iv2-rule: rgba(255,255,255,0.08);
  --iv2-rule-strong: rgba(255,255,255,0.18);
  --iv2-accent: rgba(232,232,232,0.95);
}

*,*::before,*::after { box-sizing: border-box; }
html,body { margin:0; padding:0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--iv2-bg);
  color: var(--iv2-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

/* nav — same pattern used elsewhere on the site */
.iv2-nav {
  display:flex; justify-content:space-between; align-items:center;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--iv2-rule);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.iv2-nav a { color: var(--iv2-ink-2); text-decoration:none; transition: color .2s; }
.iv2-nav a:hover { color: var(--iv2-ink); }
.iv2-nav .brand { font-weight:500; letter-spacing: 0.12em; color: var(--iv2-ink); }
.iv2-nav .brand em { font-style: normal; font-weight:300; color: var(--iv2-ink-2); margin-left: .15em; }
.iv2-nav .nav-links { display:flex; gap: 1.6rem; text-transform: uppercase; }
.iv2-nav .nav-portal {
  border: 1px solid var(--iv2-rule-strong);
  padding: .5rem .9rem;
  border-radius: 2px;
}

/* layout */
.iv2-shell { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem 8rem; }

/* editorial header */
.iv2-header { margin: 3rem 0 4.5rem; }
.iv2-eyebrow {
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--iv2-ink-3);
  margin-bottom: 1.5rem;
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
}
.iv2-eyebrow .dot { opacity: .5; }
.iv2-h1 {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1.4rem;
  color: var(--iv2-ink);
  max-width: 22ch;
}
.iv2-dek {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  color: var(--iv2-ink-2);
  max-width: 58ch;
  margin: 0 0 2.2rem;
}
.iv2-byline {
  padding-top: 1.5rem;
  border-top: 1px solid var(--iv2-rule);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--iv2-ink-3);
}

/* two-column: body + sticky TOC */
.iv2-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 220px;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 960px) { .iv2-layout { grid-template-columns: 1fr; gap: 0; } }

/* mini-TOC */
.iv2-toc {
  position: sticky;
  top: 2rem;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.iv2-toc-label {
  text-transform: uppercase;
  color: var(--iv2-ink-3);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--iv2-rule);
}
.iv2-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.iv2-toc li { counter-increment: toc; margin: .55rem 0; }
.iv2-toc a {
  display: block;
  color: var(--iv2-ink-3);
  text-decoration: none;
  line-height: 1.4;
  transition: color .2s, padding-left .2s;
}
.iv2-toc a::before {
  content: counter(toc, decimal-leading-zero);
  margin-right: .6rem;
  color: var(--iv2-ink-3);
  opacity: .6;
}
.iv2-toc a:hover, .iv2-toc a.is-active {
  color: var(--iv2-ink);
  padding-left: .3rem;
}
@media (max-width: 960px) { .iv2-toc { display: none; } }

/* body sections */
.iv2-body { min-width: 0; }
.iv2-body > p:first-of-type::first-letter {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 4.5em;
  float: left;
  line-height: 0.9;
  padding: 0.1em 0.15em 0 0;
  color: var(--iv2-ink);
}
.iv2-section {
  position: relative;
  padding: 4.5rem 0 0;
  margin-top: 3.5rem;
  border-top: 1px solid var(--iv2-rule);
  counter-increment: iv2sec;
}
.iv2-body { counter-reset: iv2sec; }
.iv2-section::before {
  content: counter(iv2sec, decimal-leading-zero);
  position: absolute;
  top: 1.8rem;
  left: 0;
  font-family: "Space Mono", monospace;
  font-size: clamp(72px, 11vw, 132px);
  font-weight: 400;
  line-height: 1;
  color: var(--iv2-ink);
  opacity: 0.08;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
}
.iv2-section-eyebrow {
  position: relative;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--iv2-ink-3);
  margin-bottom: 1.2rem;
}
.iv2-section h2 {
  position: relative;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 2rem;
  color: var(--iv2-ink);
  max-width: 28ch;
}
.iv2-section h3 {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin: 2rem 0 .8rem;
  color: var(--iv2-ink);
  letter-spacing: -0.01em;
}
.iv2-section p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--iv2-ink-2);
  margin: 0 0 1.3rem;
  max-width: 68ch;
}
.iv2-section ul, .iv2-section ol {
  margin: 1rem 0 1.5rem;
  padding-left: 1.4rem;
  color: var(--iv2-ink-2);
  max-width: 68ch;
}
.iv2-section li { margin: .6rem 0; line-height: 1.7; }
.iv2-section strong { color: var(--iv2-ink); font-weight: 500; }
.iv2-section a { color: var(--iv2-ink); text-decoration: underline; text-decoration-color: var(--iv2-rule-strong); text-underline-offset: 3px; }
.iv2-section a:hover { text-decoration-color: var(--iv2-ink); }

/* callout variant — every 3rd section gets a callout treatment via JS class (optional) */
.iv2-section.is-callout h2 {
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 24ch;
}

/* pull-quote block */
.iv2-pull {
  margin: 3rem 0;
  padding-left: 2rem;
  border-left: 2px solid var(--iv2-ink);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--iv2-ink);
  max-width: 60ch;
}
@media (min-width: 1100px) {
  .iv2-pull { margin-left: -5rem; }
}

/* cta */
.iv2-cta {
  margin: 5.5rem 0 0;
  padding-top: 3rem;
  border-top: 1px solid var(--iv2-rule);
}
.iv2-cta-label {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--iv2-ink-3);
  margin-bottom: 1rem;
}
.iv2-cta h3 {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: var(--iv2-ink);
  max-width: 30ch;
  letter-spacing: -0.01em;
}
.iv2-cta a.iv2-btn {
  display: inline-block;
  border: 1px solid var(--iv2-ink);
  padding: 0.9rem 1.8rem;
  text-decoration: none;
  color: var(--iv2-ink);
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background-color .2s, color .2s, transform .2s;
}
.iv2-cta a.iv2-btn:hover {
  background: var(--iv2-ink);
  color: var(--iv2-bg);
  transform: translateY(-2px);
}

/* related reading */
.iv2-related { margin: 5rem 0 0; padding-top: 3rem; border-top: 1px solid var(--iv2-rule); }
.iv2-related .iv2-related-label {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--iv2-ink-3);
  margin-bottom: 1.5rem;
}
.iv2-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .iv2-related-grid { grid-template-columns: 1fr; } }
.iv2-related-card {
  padding: 1.5rem;
  border: 1px solid var(--iv2-rule);
  border-radius: 2px;
  transition: border-color .2s, transform .2s;
}
.iv2-related-card:hover { border-color: var(--iv2-rule-strong); transform: translateY(-2px); }
.iv2-related-card a { text-decoration: none; display: block; }
.iv2-related-card .cat {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--iv2-ink-3);
  margin-bottom: .6rem;
}
.iv2-related-card .title {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--iv2-ink);
  line-height: 1.35;
}

/* footer */
.iv2-footer {
  margin-top: 6rem;
  padding: 2rem;
  border-top: 1px solid var(--iv2-rule);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--iv2-ink-3);
  text-align: center;
}
.iv2-footer a { color: var(--iv2-ink-3); text-decoration: none; margin: 0 .8rem; }
.iv2-footer a:hover { color: var(--iv2-ink); }

/* fade in on scroll, respecting reduced motion */
.iv2-section { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.iv2-section.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .iv2-section { opacity: 1; transform: none; transition: none; }
}
