/* ===========================================================================
   Insights: article, index and author pages (14 October 2026).
   Sits on top of /styles.css, so the nav, footer, tokens and type are the
   marketing site's own. Built for reading: a 70 character measure, generous
   line height, and everything an answer engine looks for near the top.
   =========================================================================== */

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #000; color: #fff; padding: 8px 12px; border-radius: 8px; }

.post { max-width: 760px; padding-top: 34px; padding-bottom: 60px; }
.post.index { max-width: 980px; }

.crumbs { font-size: 13px; color: var(--mut); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--txt); }

.kicker, .label {
  font-family: var(--mono, "Space Mono", monospace);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 10px;
}

.post-head h1 {
  font-weight: 700;
  letter-spacing: -.035em;
  font-size: clamp(32px, 6vw, 50px);
  line-height: 1.02;
  margin: 0 0 16px;
  text-wrap: balance;
}
.post-head .lede { font-size: 18px; line-height: 1.55; color: var(--dim); margin: 0 0 30px; max-width: 62ch; }
.byline { font-size: 14px; color: var(--mut); margin: 0 0 28px; }
.byline a { color: var(--txt); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* the answer first, then the takeaways: what an AI answer quotes */
.answer, .takeaways, .toc {
  border: 1.3px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 0 0 18px;
  background: var(--soft, #F6F5F1);
}
.answer { border-left: 4px solid var(--orange); }
.answer p:last-child { margin: 0; font-size: 17.5px; line-height: 1.6; color: var(--txt); }
.takeaways ul, .toc ol { margin: 0; padding-left: 20px; }
.takeaways li, .toc li { font-size: 15.5px; line-height: 1.6; color: var(--txt); margin: 4px 0; }
.toc { background: transparent; }
.toc a { color: var(--txt); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.toc a:hover { text-decoration-color: var(--orange); }

.body { margin-top: 34px; }
.body h2, .faq h2, .sources h2, .related h2, .cta-box h2 {
  font-weight: 700;
  letter-spacing: -.025em;
  font-size: clamp(23px, 4vw, 30px);
  line-height: 1.12;
  margin: 46px 0 14px;
  scroll-margin-top: 90px;
}
.body h3, .faq h3 { font-weight: 700; letter-spacing: -.015em; font-size: 19px; margin: 30px 0 8px; scroll-margin-top: 90px; }
.body p, .body li, .faq p { font-size: 17px; line-height: 1.72; color: var(--ink2, #26272B); }
.body p { margin: 0 0 18px; }
.body ul, .body ol { margin: 0 0 20px; padding-left: 22px; }
.body li { margin: 6px 0; }
.body a, .faq a { color: var(--txt); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.body strong { color: var(--txt); }
.body blockquote { margin: 24px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--line); font-size: 18px; color: var(--dim); }
.body code { font-family: var(--mono, monospace); font-size: .9em; background: var(--soft, #F6F5F1); padding: 1px 6px; border-radius: 6px; }
.body img { max-width: 100%; height: auto; border-radius: 14px; }

.note { border: 1.3px solid var(--line); border-radius: 14px; padding: 4px 18px; margin: 24px 0; background: #fffaf3; }
.note p { font-size: 15.5px; }

/* tables and the data charts, which are tables too */
.tablewrap { overflow-x: auto; margin: 22px 0 26px; }
.body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.body th, .body td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.body thead th { font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.body tbody th { font-weight: 600; color: var(--txt); }

.bars { margin: 26px 0 30px; }
.bars figcaption { font-weight: 700; font-size: 15.5px; margin-bottom: 12px; color: var(--txt); }
.bars table { width: 100%; border-collapse: collapse; }
.bars th { width: 38%; font-weight: 500; font-size: 14.5px; color: var(--ink2, #26272B); padding: 7px 12px 7px 0; border: 0; }
.bars td { padding: 7px 0; border: 0; display: flex; align-items: center; gap: 10px; }
.bars .bar { display: block; height: 12px; width: var(--w); min-width: 3px; border-radius: 99px; background: var(--orange); flex: none; max-width: 78%; }
.bars .val { font-family: var(--mono, monospace); font-size: 13px; color: var(--dim); white-space: nowrap; }

.faq { margin-top: 10px; }
.sources ol { padding-left: 22px; }
.sources li { font-size: 14.5px; line-height: 1.6; margin: 6px 0; color: var(--dim); overflow-wrap: anywhere; }
.sources a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }

.author-box { display: flex; gap: 16px; align-items: flex-start; border-top: 1.3px solid var(--line); border-bottom: 1.3px solid var(--line); padding: 22px 0; margin: 40px 0; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; background: var(--soft, #F6F5F1); padding: 10px; image-rendering: pixelated; flex: none; }
.author-box p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--dim); }
.author-box a { color: var(--txt); }

.cta-box { background: #000; color: #F4F2ED; border-radius: 20px; padding: 26px 24px; margin: 40px 0; }
.cta-box h2 { color: #fff; margin: 0 0 8px; }
.cta-box p { color: #c7c8ca; font-size: 16px; line-height: 1.6; margin: 0 0 18px; }
.cta-box .btn { display: inline-block; background: var(--orange); color: #fff; font-weight: 700; padding: 13px 22px; border-radius: 99px; }
.cta-box .btn:hover { transform: translateY(-1px); }

.related ul, .cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.related a, .cards a { display: grid; gap: 6px; border: 1.3px solid var(--line); border-radius: 16px; padding: 16px 18px; color: var(--txt); transition: border-color .18s, transform .18s; }
.related a:hover, .cards a:hover { border-color: var(--txt); transform: translateY(-2px); }
.related strong, .cards strong { font-size: 17px; letter-spacing: -.01em; line-height: 1.3; }
.related span, .cards span { font-size: 14.5px; color: var(--dim); line-height: 1.5; }
.cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cards .kicker { margin: 0; font-size: 10px; }
.cards time { font-size: 12.5px; color: var(--mut); }

.author-head { display: flex; gap: 20px; align-items: center; }
.author-head img { width: 96px; height: 96px; border-radius: 50%; background: var(--soft, #F6F5F1); padding: 16px; image-rendering: pixelated; }

@media (max-width: 560px) {
  .post { padding-top: 22px; }
  .body p, .body li, .faq p { font-size: 16.5px; }
  .bars th { width: 44%; font-size: 13.5px; }
}

/* The nav button: ".nav .links a" outranks ".nav .cta" in styles.css, which
   left the button's text the same grey-orange as its fill. */
.nav .links a.cta, .nav .links a.cta:hover { color: #fff; }

/* ===========================================================================
   15 October 2026: photos on every article, and an index that looks like a
   publication, not a list. Paper Signal tokens only (see /styles.css).
   =========================================================================== */

/* the photo at the top of an article */
.post-hero { margin: 0 0 28px; }
.post-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; background: var(--line); }
.post-hero figcaption { margin-top: 9px; font-family: var(--ff-mono, monospace); font-size: 10px; letter-spacing: .06em; color: var(--mut); text-transform: uppercase; }
.post-hero figcaption a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }

/* the closing note in place of an author box */
.method-box { border-top: 1.3px solid var(--line); border-bottom: 1.3px solid var(--line); padding: 22px 0; margin: 40px 0; }
.method-box p:last-child { margin: 0; font-size: 15px; line-height: 1.65; color: var(--dim); }
.method-box a { color: var(--txt); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--orange); }

/* ---- the index ---------------------------------------------------------- */

.ix-hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--ink-txt);
  border-radius: 0 0 28px 28px; padding: 64px 0 52px; margin-bottom: 0;
}
.ix-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(var(--ink-line) 1.2px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(100deg, transparent 8%, #000 70%); mask-image: linear-gradient(100deg, transparent 8%, #000 70%);
}
.ix-hero::after {
  content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 88, 48, .42), rgba(223, 88, 48, 0) 68%);
}
.ix-hero .wrap { position: relative; z-index: 1; }
.ix-hero .kicker { color: var(--orange); }
.ix-hero h1 {
  margin: 0 0 18px; max-width: 15ch; font-weight: 700; letter-spacing: -.045em; line-height: .98;
  font-size: clamp(38px, 7.4vw, 76px); text-wrap: balance; color: #fff;
}
.ix-hero .lede { margin: 0 0 30px; max-width: 56ch; font-size: clamp(16px, 2.2vw, 19px); line-height: 1.55; color: #c9cacc; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; }
.stats li { padding: 4px 28px 4px 0; margin-right: 28px; border-right: 1px solid var(--ink-line); }
.stats li:last-child { border: 0; margin: 0; padding: 0; }
.stats b { display: block; font-size: clamp(24px, 4vw, 34px); font-weight: 700; letter-spacing: -.03em; color: #fff; }
.stats span { font-family: var(--ff-mono, monospace); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mut); }

.ix { padding-top: 44px; padding-bottom: 40px; }
.ix .label { margin-bottom: 12px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid.one { grid-template-columns: 1fr; }

.ixc a {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; color: var(--txt);
  background: var(--card); border: 1.3px solid var(--line); border-radius: 20px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .18s;
}
.ixc a:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); border-color: #c9c4b6; }
.ixc[hidden] { display: none; }
.pic { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--line); }
.pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ixc a:hover .pic img { transform: scale(1.045); }
.chip {
  position: absolute; left: 12px; top: 12px; padding: 5px 9px; border-radius: 6px; background: var(--ink); color: #fff;
  font-family: var(--ff-mono, monospace); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.ixc[data-cluster="Data"] .chip { background: var(--orange); }
.txt { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 18px; }
.txt strong { font-size: 19px; line-height: 1.22; letter-spacing: -.022em; font-weight: 700; text-wrap: balance; }
.desc { font-size: 14.5px; line-height: 1.55; color: var(--dim); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta {
  margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; gap: 10px;
  font-family: var(--ff-mono, monospace); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mut);
}

/* the lead card runs wide: photo left, words right */
.ixc.ixbig a { flex-direction: row; }
.ixc.ixbig .pic { flex: 1.25; aspect-ratio: auto; min-height: 340px; }
.ixc.ixbig .txt { flex: 1; justify-content: center; padding: 34px 34px 30px; gap: 14px; }
.ixc.ixbig .txt strong { font-size: clamp(24px, 3vw, 34px); line-height: 1.08; letter-spacing: -.035em; }
.ixc.ixbig .desc { font-size: 16.5px; -webkit-line-clamp: 5; }
.ixc.ixbig .meta { margin-top: 6px; }

.ix-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 38px 0 22px; }
.ix-filters button {
  font-family: var(--ff-mono, monospace); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  padding: 9px 15px; border-radius: 999px; border: 1.3px solid var(--line); background: transparent; color: var(--dim);
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.ix-filters button i { font-style: normal; color: var(--mut); margin-left: 4px; }
.ix-filters button:hover { border-color: var(--txt); color: var(--txt); }
.ix-filters button:active { transform: scale(.97); }
.ix-filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ix-filters button.on i { color: var(--ink-mut); }

.ix-cta { margin: 10px 0 0; padding: 0 0 60px; }
.ix-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 22px; padding: 34px 34px; }
.ix-cta h2 { margin: 0 0 6px; font-size: clamp(22px, 3.4vw, 30px); letter-spacing: -.03em; }
.ix-cta p { margin: 0; color: #c9cacc; font-size: 16px; }
.ix-cta .btn { background: var(--orange); color: #fff; font-weight: 700; padding: 14px 24px; border-radius: 999px; transition: transform .18s var(--ease), box-shadow .18s; }
.ix-cta .btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(223, 88, 48, .6); }
.ix-cta .wrap { max-width: 1096px; }

@media (max-width: 820px) {
  .ix-hero { padding: 40px 0 34px; border-radius: 0 0 22px 22px; }
  .ixc.ixbig a { flex-direction: column; }
  .ixc.ixbig .pic { min-height: 0; aspect-ratio: 3 / 2; flex: none; }
  .ixc.ixbig .txt { padding: 20px 20px 20px; }
  .stats li { padding-right: 18px; margin-right: 18px; }
  .ix-cta .wrap { padding: 26px 22px; margin: 0 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ixc a, .pic img { transition: none; }
  .ixc a:hover { transform: none; }
  .ixc a:hover .pic img { transform: none; }
}

/* a loose stack of the newest photos in the hero, desktop only */
.ix-stack { position: absolute; right: max(4vw, calc((100vw - 1140px) / 2 + 6px)); top: 50%; width: 330px; height: 330px; transform: translateY(-50%); z-index: 1; }
.ix-stack img { position: absolute; width: 250px; height: 168px; object-fit: cover; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 24px 40px -18px rgba(0,0,0,.7); }
.ix-stack .s0 { right: 0; top: 0; transform: rotate(5deg); }
.ix-stack .s1 { left: 0; top: 78px; transform: rotate(-6deg); z-index: 1; }
.ix-stack .s2 { right: 18px; bottom: 0; transform: rotate(2deg); z-index: 2; }
@media (max-width: 980px) { .ix-stack { display: none; } }
.ix-lead { padding: 0; }
@media (max-width: 560px) {
  .stats { flex-wrap: nowrap; }
  .stats li { flex: 1 1 0; min-width: 0; padding-right: 10px; margin-right: 10px; }
  .stats span { display: block; font-size: 8.5px; letter-spacing: .06em; line-height: 1.35; }
}
.post-hero img { border: 1.3px solid var(--line); }
