/* Insights index and post pages. Loads after /styles.css. */
.insights-index { background: var(--paper); }
.insights-index .section-head h1 { font-size: clamp(2.6rem, 5vw, 5rem); }


/* Single post */
.post { padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.post-head, .prose { max-width: 44rem; margin-inline: auto; }
.post-back { margin-bottom: 2rem; }
.link-back { font-weight: 600; font-size: .95rem; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.link-back::before { content: "\2190"; font-weight: 500; transition: transform .35s var(--ease); }
.link-back:hover::before { transform: translateX(-.25em); }
.post-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.post-byline { margin-top: 1.25rem; color: var(--ink-3); font-weight: 500; font-size: .95rem; }
.post-hero { margin: clamp(2rem, 4vw, 3rem) auto; max-width: 48rem; }
.post-hero img { width: 100%; height: auto; border-radius: var(--r); background: var(--rule-2); }

.prose { font-size: 1.15rem; line-height: 1.78; color: #2a343a; }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -0.02em; margin-top: 2.2em; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--ink); text-decoration-color: var(--tang); text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-color: var(--rose); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--tang); font-weight: 600; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 2px solid var(--violet); font-size: 1.25rem; }
.prose img { border-radius: 4px; }

.more-insights { background: var(--linen); }
.more-insights .section-head { align-items: end; }
.more-insights .section-head .link-arrow { grid-column: 2; justify-self: end; }

@media (max-width: 767px) {
  .prose { font-size: 1.0625rem; }
  .more-insights .section-head .link-arrow { grid-column: 1; justify-self: start; }
}

/* ---------- Round 4: louder insights ---------- */
.insights-hero { background: #15121c; color: #fff; padding: clamp(4rem, 9vw, 8rem) var(--gutter) clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; isolation: isolate; }
.insights-hero::after {
  content: ""; position: absolute; z-index: -1; right: clamp(-14rem, -10vw, -6rem); top: 50%; translate: 0 -50%;
  width: clamp(22rem, 40vw, 40rem); aspect-ratio: 1; border-radius: 50%; background: var(--brand-ring); opacity: .55;
  -webkit-mask: radial-gradient(closest-side, transparent 64%, #000 65.5%); mask: radial-gradient(closest-side, transparent 64%, #000 65.5%);
  animation: turn 60s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .insights-hero::after { animation: none; } }
.insights-hero h1 { color: #fff; font-size: clamp(4rem, 13vw, 13rem); line-height: .9; letter-spacing: -0.055em; }
.insights-hero p { margin-top: 1.5rem; font-size: clamp(1.15rem, 1.6vw, 1.45rem); color: #fff; max-width: 34ch; }
.insights-index { padding-top: clamp(3rem, 6vw, 5rem); }

.post { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.post-band { color: #fff; padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(7rem, 12vw, 10rem); }
.post-band .post-head { max-width: 60rem; }
.post-band h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -0.045em; }
.post-band .link-back, .post-band .post-byline { color: #fff; }
.post-hero { position: relative; margin: calc(-1 * clamp(5rem, 9vw, 7.5rem)) auto clamp(2.5rem, 5vw, 4rem); max-width: 60rem; padding-inline: var(--gutter); }
.post-hero img { border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgb(21 18 28 / .55); }
.prose { padding-inline: var(--gutter); box-sizing: content-box; }
.prose h2, .prose h3 { color: var(--violet); }

.read-progress { position: fixed; inset: 0 0 auto; z-index: 40; height: 4px; background: var(--brand); transform-origin: 0 50%; transform: scaleX(var(--read, 0)); }

.more-insights { background: #15121c; }
.more-insights h2 { color: #fff; }
.more-insights .link-arrow { color: #fff; }

/* Final review: no hero art (it repeats the title), header shares the prose column, one dark */
.post-band { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.post-band .post-head { max-width: 44rem; margin-inline: auto; }
.post .prose { margin-top: clamp(2.5rem, 5vw, 4rem); }
.more-insights { background: transparent; }
.more-insights h2 { color: var(--ink); }
.more-insights .link-arrow { color: var(--ink); }
