/* Adaptal editorial system: large artwork, quiet reading measure, useful navigation. */
body[data-draft] .insights-editorial-hero{padding:70px var(--page-gutter) 45px;background:#f7f8f5;color:#20392b}
.insights-editorial-hero>p:first-child{font-size:12px;letter-spacing:.15em;margin-bottom:22px}
body[data-draft] .insights-editorial-hero h1{font-size:clamp(42px,6vw,84px);max-width:1000px;margin:0 0 24px}
.insights-editorial-hero>p:last-child{max-width:640px;font-size:18px;line-height:1.7;color:#52675a}
body.editorial-index .cases-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:55px 32px}
body.editorial-index .case-card{padding:0 0 24px;background:transparent!important;border:0;border-bottom:1px solid #ccd9d0;border-radius:0;box-shadow:none;transform:none;color:#20392b!important;overflow:visible;display:flex;flex-direction:column}
body.editorial-index .case-card::before,body.editorial-index .case-card::after{display:none}
.insight-card-image{aspect-ratio:1.55;margin:0 0 22px;overflow:hidden;border-radius:12px;background:#e3ece7}
.insight-card-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.8,.2,1)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){a.case-card:hover .insight-card-image img{transform:scale(1.035) translateY(-3px)}}
body.editorial-index .case-client{font-size:clamp(23px,2.3vw,32px);line-height:1.3;font-weight:500;letter-spacing:-.025em;margin:12px 0;color:#20392b!important}
body.editorial-index .case-outcome{font-size:16px;line-height:1.7;color:#506358!important;margin:0 0 20px;max-width:60ch}
body.editorial-index .case-meta{display:flex;gap:14px;flex-wrap:wrap;justify-content:space-between}
body.editorial-index :is(.case-industry,.case-date,.insight-read-time){font-size:12px;color:#52675a!important;letter-spacing:.04em;line-height:1.6}
body.editorial-index .case-arrow{align-self:flex-end;margin-top:auto;color:#315a43!important}
body.editorial-index .section{padding-top:15px}
body.editorial-index .ind-filter-btn{padding:12px 18px;border-radius:4px}
.insights-empty{padding:30px 0;color:#52675a}
.editorial{background:#f7f8f5;color:#20392b}
.editorial-hero{padding:65px var(--page-gutter) 55px;background:radial-gradient(ellipse at 85% 10%,#244b5355,transparent 65%),#14271e;color:#f0f6f2}
.editorial-kicker{font-size:12px;letter-spacing:.12em;color:#b9d4c5;line-height:1.6}
body[data-draft] .editorial-hero h1{font-size:clamp(38px,5vw,72px);line-height:1.13;max-width:1100px;margin:24px 0;color:#f2f7f4;font-weight:500}
.editorial-hero h1 em{color:#a8d0bb}
.editorial-deck{max-width:800px;font-size:20px;line-height:1.65;color:#d0e0d7;margin-bottom:30px}
.editorial-meta{display:flex;flex-wrap:wrap;gap:24px;font-size:13px;color:#bfd5c8;align-items:center}
.editorial-meta a{color:#e9f5ed;text-underline-offset:5px}
.editorial-cover{margin:0;padding:40px var(--page-gutter);background:#e8efea}
.editorial-cover img{width:100%;max-height:570px;object-fit:contain;display:block;border-radius:10px}
.editorial-layout{display:grid;grid-template-columns:230px minmax(0,800px);justify-content:center;gap:clamp(32px,5vw,90px);padding:65px var(--page-gutter) 80px}
.editorial-toc{position:sticky;top:110px;align-self:start;max-height:calc(100vh - 135px);overflow:auto;padding-right:18px}
.editorial-toc p{font-size:11px;letter-spacing:.12em;color:#52675a;margin-bottom:18px}
.editorial-toc a{display:block;border-left:2px solid #d2dfd7;padding:9px 0 9px 15px;font-size:13px;line-height:1.5;color:#52675a;text-decoration:none}
.editorial-toc a[aria-current]{border-color:#316c51;color:#173d2c;background:#e8f0ea}
body[data-draft] .editorial-body{min-width:0;font-size:18px;line-height:1.85;color:#304b3b}
.editorial-body>p:first-child{font-size:21px;line-height:1.75;color:#20392b;border-left:3px solid #71a489;padding:6px 0 6px 25px}
body[data-draft] .editorial-body p{margin:0 0 24px}
body[data-draft] .editorial-body h2{font-size:clamp(28px,3vw,38px);line-height:1.25;color:#183d2c;margin:58px 0 24px;letter-spacing:-.025em;scroll-margin-top:115px}
body[data-draft] .editorial-body h3{font-size:24px;line-height:1.35;margin:32px 0 18px;color:#204934}
.editorial-body :is(ul,ol){padding-left:25px;margin:24px 0 35px}
.editorial-body li{padding:7px 0 7px 7px}
.editorial-body li::marker{color:#397557}
.editorial-body a{color:#24684c;text-underline-offset:4px}
.editorial-body :is(.growth-panel,blockquote){background:#e7f0e9;padding:30px;border:1px solid #c6dbce;border-radius:8px;margin:40px 0}
body[data-draft] .editorial-body .growth-panel h2{margin-top:0}
.editorial-body details{border-top:1px solid #c6d8cc;padding:24px 0}
.editorial-body summary{cursor:pointer;font-weight:500;line-height:1.6;padding-right:25px}
.editorial-body details p{margin:20px 0 0}
.editorial-body table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.7;background:#fff}
.editorial-body caption{text-align:left;font-size:18px;font-weight:500;padding:18px;background:#e3eee6;color:#20392b}
.editorial-body th{background:#e3eee6;text-align:left;color:#20392b;font-weight:500}
.editorial-body :is(th,td){padding:18px;border-bottom:1px solid #d0dfd5;vertical-align:top}
.editorial-body tbody tr:nth-child(even){background:#f1f6f2}
.editorial-table{overflow:auto;margin:30px 0;border:1px solid #d0dfd5;border-radius:8px}
.editorial-body img{max-width:100%;height:auto;border-radius:8px}
.editorial-end{padding:30px var(--page-gutter) 65px;display:flex;justify-content:space-between;gap:25px;border-top:1px solid #cadbce}
.editorial-end a{color:#274d38;text-underline-offset:5px}
.article-reading-progress{position:fixed;top:var(--site-header-height,82px);left:0;width:100%;height:4px;z-index:10001;background:#c8d8ce;pointer-events:none}
.article-reading-progress span{display:block;width:100%;height:100%;background:linear-gradient(90deg,#70b893,#289bb0);transform:scaleX(0);transform-origin:left}
@media(max-width:900px){.editorial-layout{display:block;padding-top:32px}.editorial-toc{position:static;max-height:220px;margin-bottom:40px;border:1px solid #ccded2;padding:20px;border-radius:8px}.editorial-cover{padding:24px var(--page-gutter)}.editorial-body{font-size:17px}.editorial-hero{padding-top:40px}}
@media(max-width:650px){body.editorial-index .cases-grid{grid-template-columns:1fr;gap:36px}.editorial-meta{gap:15px}.editorial-deck{font-size:18px}.editorial-hero h1 br{display:none}.editorial-body :is(th,td){padding:12px;min-width:140px}.editorial-end{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.insight-card-image img{transition:none}}
/* Filter states outrank the card layout and do not depend on entrance animation. */
body.editorial-index .case-card{opacity:1}
body.editorial-index .case-card.hidden,body.editorial-index .case-card.search-hidden{display:none}
.editorial-body .editorial-callout{background:#e6efe8;border-left:3px solid #538e6b;border-radius:6px;padding:28px;margin:40px 0}
.editorial-body .editorial-callout h3{margin-top:0}
/* Isolate the contents list from the legacy global nav rule. */
body[data-draft] nav.editorial-toc{display:block;position:sticky;inset:auto;top:110px;height:auto;min-height:0;width:auto;max-width:100%;padding:0 18px 0 0;margin:0;z-index:2;background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;transform:none;overflow-x:hidden;overflow-y:auto;max-height:calc(100dvh - 140px)}
body[data-draft] nav.editorial-toc a{white-space:normal;overflow-wrap:anywhere;width:100%;box-sizing:border-box}
/* The reading indicator belongs to the viewport edge, not a guessed header offset. */
body[data-draft] .article-reading-progress{position:fixed;inset:0 0 auto 0;top:0;height:4px;z-index:20000;transform:none}
body#article-top .scroll-bar{display:none}
/* Bound the editorial canvas so browser zoom scales imagery with the content. */
body.editorial-index #casesGrid{max-width:90rem;margin-inline:auto;width:100%}
body.editorial-index .insights-top-row,body.editorial-index .insights-sort-row{max-width:90rem;margin-inline:auto}
body.editorial-index .insight-card-image{width:100%;height:auto;aspect-ratio:1.55}
body.editorial-index .insight-card-image img{width:100%;height:100%;max-height:none;object-fit:cover}
.editorial-cover img{width:100%;max-width:70rem;height:auto;max-height:none;margin-inline:auto;object-fit:contain}
@media(max-width:900px){body[data-draft] nav.editorial-toc{position:relative;inset:auto;max-height:none;overflow:visible;border:1px solid #ccded2;padding:20px;margin:0 0 40px}}
