/* Case studies hub and case study template. Prefix cp-. Reuses the featured card (au-case) from audience.css. */
.cp-hero { padding-bottom: clamp(32px, 4vw, 64px); }
.cp-hero .cs-display { font-size: clamp(44px, 6vw, 104px); }
.cp-feature { padding-top: 0; }

.cp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); margin-top: 48px; }
.cp-item { list-style: none; }
.cp-card { display: flex; flex-direction: column; height: 100%; border-radius: 24px; overflow: hidden; border: 1.5px solid var(--cs-dark4); background: var(--cs-grad-panel); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cp-card:hover, .cp-card:focus-visible { border-color: var(--cs-green-bright); box-shadow: var(--cs-shadow-glow); transform: translateY(-3px); }
.cp-card-media { margin: 0; aspect-ratio: 16 / 10; background: var(--cs-dark3); overflow: hidden; }
.cp-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.cp-card:hover .cp-card-media img { transform: scale(1.04); }
.cp-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.cp-brand { display: flex; align-items: center; gap: 12px; min-height: 36px; }
.cp-brand-logo { height: 36px; width: auto; max-width: 110px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.cp-brand span { font-family: var(--cs-font-label); font-weight: 800; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--cs-green); }
.cp-card-title { font-size: clamp(24px, 2vw, 30px); line-height: 1.1; letter-spacing: -0.02em; margin-top: 16px; }
.cp-card-sub { font-size: 17px; line-height: 1.45; margin-top: 10px; color: var(--cs-text-soft); }
.cp-card-stats { display: flex; gap: 28px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--cs-border-strong); }
.cp-card-stats b { display: block; font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -0.03em; color: var(--cs-green-bright); font-variant-numeric: tabular-nums; }
.cp-card-stats span { display: block; margin-top: 6px; font-family: var(--cs-font-label); font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--cs-text-faint); }
.cp-card-link { margin-top: auto; padding-top: 22px; font-weight: 800; font-size: 16px; color: var(--cs-pale); }

/* template */
.cp-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 36px; font-weight: 700; font-size: 16px; color: var(--cs-text-soft); text-decoration: none; }
.cp-back:hover { color: var(--cs-text); }
.cp-title { font-size: clamp(38px, 5.2vw, 84px); line-height: 1; letter-spacing: -0.032em; margin-top: 24px; max-width: 18ch; }
.cp-sub { font-size: clamp(20px, 2vw, 28px); line-height: 1.35; margin-top: 24px; color: #b3cacf; max-width: 760px; }
.cp-stats { display: flex; flex-wrap: wrap; gap: 28px clamp(32px, 5vw, 88px); margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--cs-border-strong); }
.cp-stats b { display: block; font-weight: 800; font-size: clamp(44px, 5vw, 80px); line-height: .95; letter-spacing: -0.04em; color: var(--cs-green-bright); text-shadow: 0 0 40px rgba(37, 242, 26, .3); font-variant-numeric: tabular-nums; }
.cp-stats span { display: block; margin-top: 10px; font-family: var(--cs-font-label); font-weight: 800; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--cs-text-faint); }
.cp-cover { margin: 0; border-radius: 28px; overflow: hidden; background: var(--cs-dark3); max-height: 640px; }
.cp-cover img { width: 100%; max-height: 640px; object-fit: cover; display: block; }
.cp-article { display: grid; grid-template-columns: 280px minmax(0, 760px); gap: clamp(40px, 6vw, 120px); align-items: start; justify-content: center; }
.cp-side { position: sticky; top: 100px; display: grid; gap: 28px; }
.cp-side-title { font-family: var(--cs-font-label); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cs-green); }
.cp-side-text { margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--cs-text); }
.cp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cp-tag { display: inline-flex; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--cs-border-strong); font-weight: 700; font-size: 14px; color: var(--cs-pale); text-decoration: none; transition: border-color .15s, background .15s; }
.cp-tag:hover { border-color: var(--cs-green-bright); background: rgba(59, 214, 43, .1); }

/* rich text */
.cp-prose { font-size: 19px; line-height: 1.65; color: #b3cacf; }
.cp-prose > * + * { margin-top: 1.1em; }
.cp-prose h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.03em; margin-top: 2.2em; }
.cp-prose h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; margin-top: 1.8em; color: var(--cs-text); }
.cp-prose h2:first-child, .cp-prose h3:first-child { margin-top: 0; }
.cp-prose p { color: #b3cacf; }
.cp-prose strong { color: var(--cs-text); font-weight: 700; }
.cp-prose a { color: var(--cs-green-bright); }
.cp-prose ul { list-style: disc; padding-left: 1.3em; }
.cp-prose ol { list-style: decimal; padding-left: 1.3em; }
.cp-prose li + li { margin-top: .5em; }
.cp-prose blockquote { margin-left: 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--cs-green-bright); font-size: 1.12em; line-height: 1.5; color: var(--cs-text); font-weight: 400; }
.cp-prose figure { margin: 2em 0; }
.cp-prose img { width: 100%; height: auto; border-radius: 18px; display: block; }
.cp-prose figcaption { margin-top: 10px; font-size: 14px; color: var(--cs-text-faint); }
.cp-prose iframe { width: 100%; aspect-ratio: 9 / 16; max-height: 640px; border: 0; border-radius: 18px; }

@media (max-width: 991px) {
  .cp-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-article { grid-template-columns: 1fr; }
  .cp-side { position: static; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}
@media (max-width: 599px) { .cp-grid { grid-template-columns: 1fr; } .cp-card-body { padding: 22px; } }

/* ============ Compact pass: less vertical scroll, same look ============ */
.cp-page { --cs-section-y: clamp(44px, 5vw, 80px); }
.cp-hero { padding-bottom: clamp(20px, 2.5vw, 40px); }
.cp-hero .cs-display { font-size: clamp(40px, 4.6vw, 76px); }
.cp-hero .cs-lead { margin-top: 20px; }
.cp-feature { padding-top: 0; }
.au-case-media { min-height: 340px; }
.cp-page .au-case-body { padding: clamp(24px, 3vw, 44px); }
.cp-page .au-case-title { font-size: clamp(28px, 2.8vw, 44px); margin-top: 18px; }
.cp-page .au-case-stats { margin-top: 22px; padding-top: 18px; }
.cp-page .au-case-link { margin-top: 20px; }
.cp-more-title { font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.03em; }
.cp-grid { margin-top: 28px; gap: clamp(16px, 2vw, 28px); }
.cp-card-media { aspect-ratio: 2 / 1; }
.cp-card-body { padding: 20px 24px 22px; }
.cp-card-title { font-size: clamp(22px, 1.8vw, 26px); margin-top: 12px; }
.cp-card-sub { font-size: 16px; margin-top: 6px; }
.cp-card-stats { margin-top: 14px; padding-top: 14px; }
.cp-card-stats b { font-size: 24px; }
.cp-card-link { padding-top: 14px; }

/* template header: copy left, cover right */
.cp-hero--head { padding-bottom: clamp(36px, 4vw, 64px); }
.cp-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.cp-head .cp-back { margin-bottom: 24px; }
.cp-title { font-size: clamp(34px, 4vw, 64px); margin-top: 16px; max-width: 20ch; }
.cp-sub { font-size: clamp(18px, 1.6vw, 22px); margin-top: 16px; }
.cp-stats { margin-top: 28px; padding-top: 22px; gap: 20px clamp(24px, 3.4vw, 56px); }
.cp-stats b { font-size: clamp(34px, 3.4vw, 54px); }
.cp-stats span { font-size: 12px; margin-top: 6px; }
.cp-cover { aspect-ratio: 4 / 3; max-height: 460px; border-radius: 24px; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.cp-cover img { width: 100%; height: 100%; max-height: none; object-fit: cover; }

/* article: tighter reading column */
.cp-article { grid-template-columns: 240px minmax(0, 800px); gap: clamp(32px, 5vw, 80px); }
.cp-prose { font-size: 18px; line-height: 1.6; }
.cp-prose > * + * { margin-top: .9em; }
.cp-prose h2 { font-size: clamp(26px, 2.4vw, 34px); margin-top: 1.7em; }
.cp-prose h3 { font-size: clamp(20px, 1.7vw, 24px); margin-top: 1.4em; }
.cp-prose blockquote { font-size: 1.06em; }
.cp-prose figure { margin: 1.4em 0; }
.cp-prose img { max-height: 420px; object-fit: cover; }
.cp-prose iframe { max-height: 520px; }

/* "more stories" as quick rows */
.cp-grid--compact { grid-template-columns: repeat(3, 1fr); }
.cp-grid--compact .cp-card-media { aspect-ratio: 16 / 7; }
.cp-grid--compact .cp-card-sub, .cp-grid--compact .cp-card-stats { display: none; }
.cp-grid--compact .cp-card-body { padding: 16px 20px 18px; }
.cp-grid--compact .cp-card-link { padding-top: 10px; }

/* smaller close panel on content pages */
.hm-close--compact { padding-top: 0; }
.hm-close--compact .hm-close-panel { padding: clamp(36px, 5vw, 72px) var(--cs-gutter); }
.hm-close--compact .hm-close-title { font-size: clamp(36px, 5.2vw, 76px); }
.hm-close--compact .hm-close-text { margin-top: 14px; }
.hm-close--compact .hm-close-pills { margin-top: 20px; }
.hm-close--compact .hm-smile { display: none; }
.hm-close--compact .hm-help { margin-top: 28px; }

@media (max-width: 991px) {
  .cp-head { grid-template-columns: 1fr; }
  .cp-cover { max-height: 300px; aspect-ratio: 16 / 9; }
  .cp-grid--compact { grid-template-columns: 1fr; }
}
/* phones: cards become quick list rows */
@media (max-width: 599px) {
  .cp-grid { grid-template-columns: 1fr; gap: 12px; }
  .cp-card { flex-direction: row; align-items: stretch; border-radius: 18px; }
  .cp-card-media, .cp-grid--compact .cp-card-media { flex: 0 0 104px; aspect-ratio: auto; }
  .cp-card-body, .cp-grid--compact .cp-card-body { padding: 14px 16px; }
  .cp-card-title { font-size: 19px; margin-top: 6px; }
  .cp-card-sub { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cp-card-stats, .cp-card-link, .cp-card .cp-brand { display: none; }
  .cp-card .cp-brand { min-height: 0; }
  .au-case-media { min-height: 220px; }
  .cp-prose { font-size: 17px; }
  .cp-side { grid-template-columns: 1fr 1fr; }
}

/* ============ Article header: cover with a logo badge, results as a band ============ */
.cp-hero--head { padding-bottom: clamp(28px, 3vw, 48px); }
.cp-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 72px); align-items: end; }
.cp-head .cp-back { margin-bottom: 28px; }
.cp-kicker { margin-bottom: 14px; }
.cp-title { font-size: clamp(36px, 4.4vw, 70px); margin-top: 0; max-width: 16ch; }
.cp-sub { margin-top: 18px; }
.cp-cover { position: relative; aspect-ratio: 4 / 3; max-height: 420px; overflow: hidden; }
.cp-cover-media, .cp-cover-media img { width: 100%; height: 100%; display: block; }
.cp-cover-media img { object-fit: cover; }
.cp-badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; padding: 10px 16px; border-radius: 14px; background: rgba(0, 20, 27, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14); }
.cp-badge-logo { height: 30px; width: auto; max-width: 140px; object-fit: contain; filter: brightness(0) invert(1); }
.cp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin-top: clamp(28px, 3vw, 44px); padding: 0; border-top: 1px solid var(--cs-border-strong); border-bottom: 1px solid var(--cs-border-strong); }
.cp-stats li { padding: 22px clamp(14px, 2vw, 32px) 20px; border-left: 1px solid var(--cs-border-strong); }
.cp-stats li:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 991px) {
  .cp-head { grid-template-columns: 1fr; align-items: start; }
  .cp-cover { max-height: 300px; aspect-ratio: 16 / 9; }
  .cp-stats { grid-template-columns: repeat(2, 1fr); }
  .cp-stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cp-stats li { border-top: 0; }
  .cp-stats li:nth-child(n+3) { border-top: 1px solid var(--cs-border-strong); }
}

/* ============ Article header v3: a single banner ============ */
.cp-hero--head { padding-bottom: clamp(24px, 3vw, 40px); }
.cp-hero--head .cp-back { margin-bottom: 18px; }
.cp-banner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: clamp(400px, 34vw, 500px); padding: clamp(22px, 3vw, 44px); border-radius: 28px; overflow: hidden; background: var(--cs-grad-panel); border: 1.5px solid var(--cs-dark4); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.cp-banner-media { position: absolute; inset: 0; }
.cp-banner-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-banner-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 20, 27, .90) 0%, rgba(0, 20, 27, .62) 42%, rgba(0, 20, 27, .05) 100%), linear-gradient(0deg, rgba(0, 20, 27, .75) 0%, rgba(0, 20, 27, 0) 45%); }
.cp-banner > :not(.cp-banner-media):not(.cp-banner-shade) { position: relative; z-index: 1; }
.cp-banner-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cp-banner-top .cp-badge { position: static; }
.cp-banner-top .cp-kicker { margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(0, 20, 27, .6); border: 1px solid rgba(255, 255, 255, .14); }
.cp-banner-copy { max-width: min(640px, 56%); }
.cp-banner .cp-title { font-size: clamp(34px, 4vw, 62px); max-width: 16ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.cp-banner .cp-sub { margin-top: 14px; font-size: clamp(17px, 1.5vw, 21px); color: #d3e3e6; }
.cp-stats--chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; border: 0; }
.cp-stats--chips li, .cp-stats--chips li:first-child { padding: 14px 20px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(0, 20, 27, .66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cp-stats--chips b { font-size: clamp(26px, 2.6vw, 38px); line-height: 1; text-shadow: none; }
.cp-stats--chips span { margin-top: 6px; font-size: 11px; }
.cp-banner--plain .cp-banner-shade { background: radial-gradient(60% 80% at 100% 0%, rgba(59, 214, 43, .18), rgba(59, 214, 43, 0)); }
.cp-banner--plain .cp-banner-copy { max-width: 760px; }
@media (max-width: 991px) {
  .cp-banner { min-height: 440px; }
  .cp-banner-copy { max-width: 100%; }
  .cp-banner-shade { background: linear-gradient(0deg, rgba(0, 20, 27, .96) 0%, rgba(0, 20, 27, .8) 50%, rgba(0, 20, 27, .25) 100%); }
}
@media (max-width: 479px) { .cp-stats--chips li { flex: 1 1 calc(50% - 6px); } }

/* ============ Article header v4: text-only header, cover slotted into the reading column ============ */
.cp-hero--text { padding-bottom: clamp(20px, 2.5vw, 36px); }
.cp-hero--text .cp-back { margin-bottom: 26px; }
.cp-tagrow { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; min-height: 30px; }
.cp-tagrow .cp-kicker { margin: 0; padding: 0; background: none; border: 0; }
.cp-tag-logo { display: block; height: 30px; width: auto; max-width: 130px; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; }
.cp-hero--text .cp-title { font-size: clamp(36px, 4.6vw, 72px); max-width: 20ch; }
.cp-hero--text .cp-sub { margin-top: 18px; font-size: clamp(18px, 1.7vw, 24px); max-width: 700px; }
.cp-stats--inline { display: flex; flex-wrap: wrap; gap: 14px clamp(32px, 4.4vw, 72px); margin: 30px 0 0; padding: 0; border: 0; }
.cp-stats--inline li, .cp-stats--inline li:first-child { padding: 0; border: 0; }
.cp-stats--inline b { font-size: clamp(32px, 3.4vw, 52px); }
.cp-stats--inline span { margin-top: 6px; font-size: 12px; }

.cp-bodywrap { padding-top: clamp(16px, 2vw, 28px); }
.cp-main { min-width: 0; }
.cp-main .cp-cover { display: block; position: static; max-height: none; aspect-ratio: 16 / 7; margin: 0 0 clamp(24px, 3vw, 40px); border-radius: 22px; overflow: hidden; background: var(--cs-dark3); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.cp-main .cp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: none; }
@media (max-width: 991px) { .cp-main .cp-cover { aspect-ratio: 16 / 9; } }

/* ============ Article layout v5: one reading column (Framer / Webflow blog pattern) ============ */
.cp-col { width: 100%; max-width: calc(820px + 2 * var(--cs-gutter)); margin: 0 auto; padding: 0 var(--cs-gutter); position: relative; }
.cp-hero--col { padding-bottom: clamp(20px, 2.4vw, 32px); }
.cp-crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 15px; font-weight: 700; color: var(--cs-text-faint); }
.cp-crumbs a { color: var(--cs-text-soft); text-decoration: none; }
.cp-crumbs a:hover { color: var(--cs-text); }
.cp-crumbs [data-c-crumb] { color: var(--cs-text); }
.cp-hero--col .cp-title { font-size: clamp(36px, 4.4vw, 64px); max-width: none; margin-top: 0; }
.cp-hero--col .cp-sub { margin-top: 18px; font-size: clamp(19px, 1.8vw, 24px); max-width: none; }
.cp-facts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 22px clamp(28px, 4vw, 56px); margin-top: 32px; padding: 22px 0; border-top: 1px solid var(--cs-border-strong); border-bottom: 1px solid var(--cs-border-strong); }
.cp-fact-title { font-family: var(--cs-font-label); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cs-green); }
.cp-fact-text { margin-top: 8px; font-size: 17px; font-weight: 700; color: var(--cs-text); }
.cp-fact .cp-tags { margin-top: 8px; }
.cp-fact--logo { align-self: center; }
.cp-fact--logo .cp-tag-logo { height: 32px; }
.cp-hero--col .cp-stats--inline { margin-top: 32px; }
.cp-bodywrap { padding-top: clamp(12px, 1.6vw, 24px); }
.cp-bodywrap .cp-cover { display: block; position: static; max-height: none; aspect-ratio: 16 / 9; margin: 0 0 clamp(28px, 3.4vw, 44px); border-radius: 22px; overflow: hidden; background: var(--cs-dark3); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.cp-bodywrap .cp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: none; }
@media (max-width: 599px) { .cp-bodywrap .cp-cover { aspect-ratio: 4 / 3; } }
.cp-stats--inline li, .cp-stats--inline li:nth-child(n) { border: 0 !important; padding: 0 !important; }

/* ============ Article layout v6: full width (no narrow centred column) ============ */
.cp-hero--wide { padding-bottom: clamp(20px, 2.4vw, 32px); }
.cp-hero--wide .cp-crumbs { margin-bottom: 26px; }
.cp-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: end; }
.cp-top .cp-title { font-size: clamp(36px, 4.6vw, 76px); max-width: 18ch; }
.cp-top .cp-sub { margin-top: 18px; font-size: clamp(19px, 1.7vw, 24px); }
.cp-top .cp-stats--inline { margin: 0; justify-content: flex-end; gap: 18px clamp(28px, 3.4vw, 64px); }
.cp-top .cp-stats--inline li { text-align: left; }
.cp-coverband { padding: 0 0 clamp(20px, 2.4vw, 36px); }
.cp-coverband .cp-cover { display: block; position: static; margin: 0; width: 100%; max-height: none; height: clamp(220px, 27vw, 440px); aspect-ratio: auto; border-radius: 26px; overflow: hidden; background: var(--cs-dark3); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.cp-coverband .cp-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; max-height: none; }
.cp-body3 { display: grid; grid-template-columns: 260px minmax(0, 800px) 300px; justify-content: space-between; gap: clamp(32px, 4vw, 72px); align-items: start; }
.cp-rail { position: sticky; top: 100px; display: grid; gap: 26px; padding: 0; border: 0; margin: 0; }
.cp-rail .cp-fact--logo { align-self: start; }
.cp-rail .cp-fact .cp-tags { margin-top: 10px; }
.cp-cta { position: sticky; top: 100px; padding-top: 22px; border-top: 3px solid var(--cs-green-bright); }
.cp-cta-title { font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; }
.cp-cta-text { margin-top: 10px; font-size: 16px; line-height: 1.45; }
.cp-cta .cs-btn { margin-top: 20px; width: 100%; }
.cp-cta-link { display: inline-flex; margin-top: 16px; }
@media (max-width: 1279px) { .cp-body3 { grid-template-columns: 240px minmax(0, 1fr); } .cp-cta { display: none; } }
@media (max-width: 991px) {
  .cp-top { grid-template-columns: 1fr; align-items: start; }
  .cp-top .cp-stats--inline { justify-content: flex-start; }
  .cp-body3 { grid-template-columns: 1fr; }
  .cp-rail { position: static; grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--cs-border-strong); }
}

/* ============ Cleanup pass: article text, rails, scorecard ============ */
/* article text */
.cp-prose { font-size: 19px; line-height: 1.7; color: #bdd2d6; }
.cp-prose > * + * { margin-top: 1.15em; }
.cp-prose h2 { font-size: clamp(26px, 2.2vw, 34px); line-height: 1.12; letter-spacing: -0.028em; margin-top: 2.4em; padding-top: 1.1em; border-top: 1px solid var(--cs-border); scroll-margin-top: 90px; }
.cp-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.cp-prose h3 { font-size: 13px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; font-family: var(--cs-font-label); font-weight: 800; color: var(--cs-green); margin-top: 2em; }
.cp-prose p strong { color: var(--cs-text); font-weight: 700; }
.cp-prose blockquote { margin: 1.8em 0; padding: 0 0 0 28px; border-left: 3px solid var(--cs-green-bright); font-size: 1.32em; line-height: 1.45; font-weight: 700; letter-spacing: -0.012em; color: var(--cs-text); }
.cp-prose blockquote p { color: inherit; }
.cp-prose ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.cp-prose ul li { position: relative; padding-left: 24px; }
.cp-prose ul li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--cs-green-bright); }
.cp-prose li strong { color: var(--cs-green-bright); font-weight: 800; }
.cp-prose li + li { margin-top: 0; }
.cp-prose figure { margin: 2em 0; }
.cp-prose img { border-radius: 16px; max-height: 480px; }
.cp-prose figcaption { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--cs-text-faint); }

/* left rail: quiet facts */
.cp-rail { gap: 22px; }
.cp-rail .cp-fact-title { color: var(--cs-text-faint); font-size: 11px; }
.cp-rail .cp-fact-text { margin-top: 6px; font-size: 16px; font-weight: 700; }
.cp-rail .cp-fact--logo { margin-bottom: 4px; }
.cp-plain { display: grid; gap: 4px; margin-top: 6px; }
.cp-plain a { font-size: 16px; font-weight: 700; color: var(--cs-text); text-decoration: none; border-bottom: 1px solid transparent; }
.cp-plain a:hover { border-bottom-color: var(--cs-green-bright); color: var(--cs-green-bright); }

/* right rail: on this page */
.cp-toc { position: sticky; top: 100px; }
.cp-toc-title { font-family: var(--cs-font-label); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cs-text-faint); }
.cp-toc-list { margin-top: 12px; border-left: 1px solid var(--cs-border-strong); }
.cp-toc-list a { display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--cs-text-soft); text-decoration: none; transition: color .15s, border-color .15s; }
.cp-toc-list a:hover { color: var(--cs-text); }
.cp-toc-list a.is-on { color: var(--cs-green-bright); border-left-color: var(--cs-green-bright); }

/* scorecard: tidy grid, same size cells, no ragged wrap */
.cp-top { grid-template-columns: minmax(0, 1fr) minmax(300px, 520px); }
.cp-top .cp-stats--inline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; justify-content: stretch; }
.cp-top .cp-stats--inline[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.cp-top .cp-stats--inline li { padding: 16px 0 18px !important; border-top: 1px solid var(--cs-border-strong) !important; }
.cp-top .cp-stats--inline li:nth-child(-n+2) { border-top: 2px solid var(--cs-green-bright) !important; }
.cp-top .cp-stats--inline[data-count="1"] li:nth-child(n) { border-top: 2px solid var(--cs-green-bright) !important; }
.cp-top .cp-stats--inline b { font-size: clamp(34px, 3.2vw, 52px); text-shadow: none; }
.cp-top .cp-stats--inline span { margin-top: 8px; font-size: 12px; line-height: 1.3; }
@media (max-width: 991px) { .cp-top { grid-template-columns: 1fr; } .cp-top .cp-stats--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1279px) { .cp-toc { display: none; } }
@media (max-width: 599px) { .cp-prose blockquote { font-size: 1.12em; padding-left: 18px; } .cp-prose { font-size: 17px; } }
