/* Inner pages (Insights, articles, privacy, 404), built on v3.css. Each page
   opens on a dark header so the nav reads correctly from the first frame. */

.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--on-dark); padding: clamp(150px, 22vh, 220px) var(--gutter) clamp(64px, 10vh, 112px); }
.page-hero > * { position: relative; z-index: 2; }
.page-hero > .mono { display: block; color: var(--on-dark-2); }
.page-title { font-weight: 500; font-size: clamp(56px, 9vw, 160px); line-height: .9; letter-spacing: -0.055em; margin: 22px 0 28px; max-width: 14ch; }
.page-lede { max-width: 560px; color: var(--on-dark-2); font-size: 19px; }
.page-hero-full { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.page-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.pill-ghost { background: transparent; color: var(--on-dark); border: 1px solid rgba(242,241,238,.35); }
.pill-ghost:hover { background: rgba(242,241,238,.08); }

/* Insights index: filters, a wide lead card, then the grid. */
.blog-list { padding: clamp(40px, 6vh, 64px) var(--gutter) clamp(110px, 16vh, 180px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 5vh, 56px); }
.chip { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-light); background: transparent; color: var(--ink-2); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--ink-3); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.chip span { color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: var(--on-dark-2); }
.cards-blog { row-gap: clamp(48px, 6vw, 72px); }
.card[hidden] { display: none; }
.card-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.card-lead .card-title { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.04; letter-spacing: -0.04em; }
.card-lead .card-desc { -webkit-line-clamp: 3; font-size: 18px; }

/* Article header: the title beside its cover. */
.post-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--on-dark); padding: clamp(140px, 20vh, 200px) var(--gutter) clamp(56px, 9vh, 96px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.post-hero > * { position: relative; z-index: 2; }
.crumb { color: var(--on-dark-2); }
.crumb a { color: var(--on-dark); border-bottom: 1px solid rgba(242,241,238,.35); }
.crumb a:hover { border-color: var(--on-dark); }
.crumb span { margin: 0 10px; }
.post-title { font-weight: 500; font-size: clamp(40px, 5vw, 84px); line-height: .98; letter-spacing: -0.045em; margin: 24px 0 24px; }
.post-lede { color: var(--on-dark-2); font-size: 19px; max-width: 52ch; }
.post-meta { margin-top: 28px; color: var(--on-dark-2); }
.post-cover { border: 1px solid var(--line-dark); }
.post-cover .cover line, .post-cover .cover circle { transition-duration: .8s; }
.is-lit .cover line { stroke: var(--c); stroke-opacity: .55; transition-delay: var(--d); }
.is-lit .cover .cv-glows circle { opacity: 1; transition-delay: var(--d); }
.is-lit .cover .cv-dots circle { fill: #fff; transition-delay: var(--d); }

/* Reading column. */
.post-body { padding: clamp(72px, 11vh, 128px) var(--gutter); }
.prose { max-width: 680px; margin: 0 auto; }
.prose > :first-child { margin-top: 0; }
.prose p { font-size: 19px; line-height: 1.7; color: var(--ink-2); margin: 0 0 1.25em; }
.prose > p:first-child { font-size: 22px; line-height: 1.55; color: var(--ink); }
.prose h2 { font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); margin: 2em 0 .65em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color .25s; }
.prose a:hover { color: var(--orange); }
.prose ul, .prose ol { font-size: 19px; line-height: 1.7; color: var(--ink-2); padding-left: 1.2em; margin: 0 0 1.25em; }
.prose li { margin: .35em 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.author { max-width: 680px; margin: clamp(56px, 8vh, 80px) auto 0; padding-top: 28px; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.author svg { width: 40px; height: 30px; color: var(--ink); margin-top: 3px; }
.author p { font-size: 16px; color: var(--ink-2); }
.author strong { color: var(--ink); font-weight: 600; }

.more { padding: clamp(72px, 11vh, 120px) var(--gutter) clamp(110px, 16vh, 180px); border-top: 1px solid var(--line-light); }

@media (max-width: 1100px) {
  .cards-blog { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .post-hero { grid-template-columns: 1fr; align-items: start; padding-top: 112px; }
  .card-lead { grid-template-columns: 1fr; gap: 22px; }
  .page-hero { padding-top: 128px; }
  .prose p, .prose ul, .prose ol { font-size: 18px; }
  .prose > p:first-child { font-size: 20px; }
}
@media (max-width: 640px) {
  .cards-blog { grid-template-columns: 1fr; }
}
