/* Strain Stories: the editorial layer over the Findings articles (hub, hero, rail, cards, "pull the thread" embeds).
   Loads after findings.css and reuses its tokens (--c-*, which fall back to the --cl-* site tokens).
   Rules: one accent (teal) for chrome, amber only for "claimed / refused" figures, green only for live dots,
   no new colours, nothing animated that matters (all motion is decoration and stops under prefers-reduced-motion). */

body.clf-page { overflow-x: clip; }

.cls { --cls-ease: cubic-bezier(.2, .7, .2, 1); padding-top: 0; }

/* ---------- reading progress ---------- */
.cls-progress { position: fixed; z-index: 99990; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--c-teal), var(--c-blue)); pointer-events: none; }

/* ---------- brand lockup ---------- */
.cls-brand { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font: 600 13px/1 var(--c-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-text); text-decoration: none; }
.cls-brand:hover { color: var(--c-teal); }
.cls-glyph { width: 26px; height: 26px; flex: none; }
.cls-glyph line { stroke: var(--c-border2); stroke-width: 1.6; }
.cls-glyph circle { fill: var(--c-teal); }
.cls-glyph circle.a { fill: var(--c-amber); }
.cls-glyph circle.b { fill: var(--c-blue); }
.cls-brand em { font-style: normal; color: var(--c-teal); }

/* ---------- full-bleed hero ---------- */
.cls-hero {
	position: relative;
	isolation: isolate;
	width: 100vw;
	margin: 0 calc(50% - 50vw);
	padding: 72px 0 56px;
	border-bottom: 1px solid var(--c-border);
	background:
		radial-gradient(900px 420px at 82% -10%, rgba(46, 196, 214, .16), transparent 70%),
		radial-gradient(700px 360px at 6% 110%, rgba(91, 155, 255, .12), transparent 70%),
		linear-gradient(180deg, var(--c-bg), var(--c-surface));
	overflow: hidden;
}
.cls-hero::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--c-bg) 0%, rgba(12, 18, 32, .92) 34%, rgba(12, 18, 32, .45) 58%, transparent 80%); }
.cls-hero-in { position: relative; z-index: 2; width: 92%; max-width: 1323px; margin: 0 auto; }
.cls-art { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.cls-art line { stroke: var(--c-border2); stroke-width: 1.2; opacity: .7; }
.cls-art circle { fill: var(--c-dim); opacity: .75; }
.cls-art circle.m { fill: var(--c-teal); opacity: 1; }
.cls-art circle.c { fill: var(--c-amber); opacity: 1; }
.cls-art circle.t { fill: var(--c-blue); opacity: 1; }
.cls-art .tw { animation: cls-twinkle 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.cls-art .tw:nth-of-type(3n) { animation-delay: -1.6s; }
.cls-art .tw:nth-of-type(3n+1) { animation-delay: -3.1s; }
@keyframes cls-twinkle { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.5); } }
.cls-hero::after { content: ""; position: absolute; z-index: 0; inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, transparent, var(--c-bg)); pointer-events: none; opacity: .55; }

.cls-crumb .cls-glyph { width: 18px; height: 18px; margin-right: 8px; vertical-align: -4px; }
.cls-crumb a:first-child { color: var(--c-text); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.cls-crumb { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 22px; font: 400 12px/1.4 var(--c-mono); letter-spacing: .08em; color: var(--c-dim); }
.cls-crumb a { color: var(--c-muted); text-decoration: none; }
.cls-crumb a:hover { color: var(--c-teal); }
.cls-crumb i { font-style: normal; opacity: .5; }

.cls-hero h1 { max-width: 20ch; margin-bottom: 18px; font-size: clamp(34px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -.02em; }
.cls-hero .cla-dek { max-width: 58ch; font-size: clamp(17px, 1.7vw, 21px); }
.cls-hero .cla-byline { max-width: 720px; border-color: rgba(51, 69, 102, .8); }
.cls-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: end; }
.cls-no {
	align-self: start;
	font: 500 clamp(80px, 13vw, 190px)/.85 var(--c-mono);
	letter-spacing: -.06em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--c-border2);
	user-select: none;
}
.cls-no small { display: block; margin: 0 0 6px 4px; font: 500 12px/1.4 var(--c-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--c-teal); -webkit-text-stroke: 0; }
.cls-stat-hero { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; }
.cls-stat-hero .cla-hero-n { font-size: clamp(54px, 9vw, 104px); }
.cls-stat-hero .cla-hero-cap { max-width: 36ch; margin: 0; }

/* look-it-up chips under the byline */
.cls-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.cls-chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px;
	border: 1px solid var(--c-border2); border-radius: 999px; background: rgba(12, 18, 32, .6);
	font: 500 13px/1.2 var(--c-mono); color: var(--c-text) !important; text-decoration: none !important;
	transition: border-color .15s var(--cls-ease), background .15s var(--cls-ease), transform .15s var(--cls-ease);
}
.cls-chip:hover { border-color: var(--c-teal); background: rgba(46, 196, 214, .1); transform: translateY(-1px); }
.cls-chip svg { width: 14px; height: 14px; fill: none; stroke: var(--c-teal); stroke-width: 1.8; }
.cls-chip small { font: 400 11px var(--c-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-dim); }

/* ---------- article layout with the rail ---------- */
.cls-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 56px; padding-top: 40px; }
.cls-body { min-width: 0; }
.cls-body .cla-col > h2:first-child { margin-top: 0; }
.cls-body h2[id] { scroll-margin-top: 90px; position: relative; }
.cls-body h2[id] .cls-anchor { margin-left: .5em; font: 400 .6em var(--c-mono); color: var(--c-dim); text-decoration: none; opacity: 0; transition: opacity .15s; }
.cls-body h2[id]:hover .cls-anchor, .cls-anchor:focus-visible { opacity: 1; }

.cls-rail { display: none; }
@media (min-width: 1200px) {
	.cls-layout { grid-template-columns: minmax(0, 960px) 248px; justify-content: space-between; }
	.cls-rail { display: block; position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; padding-right: 4px; scrollbar-width: thin; }
}
.cls-rail h4, .cls-toc-m summary { margin: 0 0 12px; font: 500 11px/1.4 var(--c-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-dim); }
.cls-toc { margin: 0 0 28px; padding: 0; list-style: none; border-left: 1px solid var(--c-border); }
.cls-toc li { margin: 0; }
.cls-toc a {
	display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent;
	font: 400 14px/1.4 var(--c-sans); color: var(--c-muted); text-decoration: none; transition: color .15s, border-color .15s;
}
.cls-toc a:hover { color: var(--c-text); }
.cls-toc a.on { border-left-color: var(--c-teal); color: var(--c-text); font-weight: 600; }
.cls-rail-box { margin: 0 0 24px; padding: 16px; border: 1px solid var(--c-border); border-radius: var(--cl-r-card, 14px); background: var(--c-surface); }
.cls-rail-box p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.cls-rail-box a.cls-btn { width: 100%; }

/* phone / tablet: collapsible contents */
.cls-toc-m { margin: 0 0 28px; border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-surface); }
.cls-toc-m summary { margin: 0; padding: 14px 16px; cursor: pointer; list-style: none; }
.cls-toc-m summary::after { content: "+"; float: right; color: var(--c-teal); }
.cls-toc-m[open] summary::after { content: "–"; }
.cls-toc-m .cls-toc { margin: 0 0 12px 16px; }
@media (min-width: 1200px) { .cls-toc-m { display: none; } }

/* series ladder (episodes / numbers) */
.cls-ladder { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: ep; }
.cls-ladder li { margin: 0; }
.cls-ladder a { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 6px 0; font: 400 13.5px/1.35 var(--c-sans); color: var(--c-muted); text-decoration: none; }
.cls-ladder a b { font: 500 11.5px var(--c-mono); color: var(--c-dim); }
.cls-ladder a:hover { color: var(--c-text); }
.cls-ladder .cur a { color: var(--c-text); font-weight: 600; }
.cls-ladder .cur a b { color: var(--c-teal); }

/* ---------- buttons ---------- */
.cls-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
	border: 1px solid var(--c-teal); border-radius: var(--cl-r-btn, 10px); background: transparent; box-sizing: border-box;
	font: 600 14.5px/1 var(--c-sans); color: var(--c-teal) !important; text-decoration: none !important; cursor: pointer;
	transition: background .15s var(--cls-ease), color .15s var(--cls-ease);
}
.cls-btn:hover { background: var(--c-teal); color: var(--c-bg) !important; }
.cls-btn.ghost { border-color: var(--c-border2); color: var(--c-text) !important; }
.cls-btn.ghost:hover { border-color: var(--c-teal); background: rgba(46, 196, 214, .1); color: var(--c-text) !important; }
@media (max-width: 767px) { .cls-btn { width: 100%; } }

/* ---------- strain links in the copy ---------- */
.cla a.cls-sx, .cls-sx {
	color: inherit; text-decoration: underline dotted var(--c-teal); text-decoration-thickness: 1.5px; text-underline-offset: 4px;
	background: linear-gradient(0deg, rgba(46, 196, 214, .14), rgba(46, 196, 214, 0)) no-repeat 0 100% / 100% 40%;
}
.cla a.cls-sx:hover { color: var(--c-text); text-decoration-style: solid; background-size: 100% 100%; }

/* ---------- pull the thread ---------- */
.cls-thread { margin: 72px 0 0; padding: 40px 0 8px; border-top: 1px solid var(--c-border); }
.cls-thread-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 22px; }
.cls-thread-h h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.cls-thread-h p { margin: 0; max-width: 52ch; font-size: 16px; }
.cls-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; max-width: 1323px; }
.cls-tool { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px; border: 1px solid var(--c-border); border-radius: var(--cl-r-card, 14px); background: var(--c-surface); text-decoration: none !important; transition: border-color .15s var(--cls-ease), transform .15s var(--cls-ease), background .15s var(--cls-ease); }
.cls-tool:hover { border-color: var(--c-teal); background: var(--c-surface2); transform: translateY(-2px); }
.cls-tool-k { font: 500 11px/1.4 var(--c-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-teal); }
.cls-tool h3 { font-size: 20px; color: var(--c-text); }
.cls-tool p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--c-muted); }
.cls-tool-go { margin-top: auto; padding-top: 6px; font: 600 14px var(--c-sans); color: var(--c-teal); }
.cls-tool svg.ico { width: 34px; height: 34px; fill: none; stroke: var(--c-teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* inline live card (lazy iframe of the explorer) */
.cls-live { margin: 22px 0 0; border: 1px solid var(--c-border2); border-radius: var(--cl-r-card, 14px); background: var(--c-surface); overflow: hidden; }
.cls-live-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid var(--c-border); font: 400 12.5px/1.4 var(--c-mono); color: var(--c-dim); }
.cls-live-bar b { color: var(--c-text); font-weight: 500; }
.cls-live-bar .sp { flex: 1; }
.cls-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.cls-tabs button { min-height: 32px; padding: 0 12px; border: 1px solid var(--c-border2); border-radius: 999px; background: none; font: 500 12.5px var(--c-mono); color: var(--c-muted); cursor: pointer; }
.cls-tabs button[aria-pressed="true"], .cls-tabs button:hover { border-color: var(--c-teal); color: var(--c-text); background: rgba(46, 196, 214, .1); }
.cls-live-frame { position: relative; min-height: 120px; background: var(--c-bg); }
.cls-live-frame iframe { display: block; width: 100%; height: 640px; border: 0; background: var(--c-bg); }
.cls-live-ph { display: grid; place-items: center; gap: 14px; padding: 40px 20px; text-align: center; }
.cls-live-ph p { margin: 0; max-width: 46ch; font-size: 15px; }
@media (max-width: 767px) { .cls-live-frame iframe { height: 560px; } }

/* api snippet */
.cls-code { margin: 22px 0 0; border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-bg); overflow: hidden; }
.cls-code-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--c-border); font: 500 11px/1.4 var(--c-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c-dim); }
.cls-code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font: 400 13.5px/1.6 var(--c-mono); color: var(--c-muted); white-space: pre; }
.cls-code pre b { color: var(--c-teal); font-weight: 500; }
.cls-copy { min-height: 32px; padding: 0 12px; border: 1px solid var(--c-border2); border-radius: 8px; background: none; font: 500 12px var(--c-mono); color: var(--c-text); cursor: pointer; }
.cls-copy:hover { border-color: var(--c-teal); }

/* live data strip */
.cls-pulse { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 22px 0 0; padding: 14px 18px; border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-surface); font: 400 13px/1.45 var(--c-mono); color: var(--c-dim); }
.cls-pulse b { color: var(--c-text); font-weight: 500; font-variant-numeric: tabular-nums; }
.cls-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--c-dim); }
.cls-pulse[data-state="live"] .cls-dot { background: var(--cl-green, #3dde7a); box-shadow: 0 0 0 0 rgba(61, 222, 122, .5); animation: cls-ping 2.4s ease-out infinite; }
@keyframes cls-ping { 70% { box-shadow: 0 0 0 8px rgba(61, 222, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 222, 122, 0); } }

/* prev / next */
.cls-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 48px 0 0; max-width: 1323px; }
.cls-pn a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--c-border); border-radius: var(--cl-r-card, 14px); background: var(--c-surface); text-decoration: none; transition: border-color .15s, transform .15s; }
.cls-pn a:hover { border-color: var(--c-teal); transform: translateY(-1px); }
.cls-pn a:last-child { text-align: right; }
.cls-pn small { font: 500 11px/1.4 var(--c-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-dim); }
.cls-pn span { font: 500 19px/1.3 var(--c-serif); color: var(--c-text); }
.cls-pn a.empty { visibility: hidden; }
@media (max-width: 640px) { .cls-pn { grid-template-columns: minmax(0, 1fr); } .cls-pn a:last-child { text-align: left; } }

/* ---------- cards (hub, "more stories") ---------- */
.cls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; max-width: 1323px; }
.cls-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--c-border); border-radius: var(--cl-r-card, 14px); background: var(--c-surface); text-decoration: none !important; transition: border-color .15s var(--cls-ease), transform .2s var(--cls-ease); }
.cls-card:hover { border-color: var(--c-border2); transform: translateY(-3px); }
.cls-card-art { position: relative; height: 138px; background: linear-gradient(135deg, var(--c-surface2), var(--c-bg)); border-bottom: 1px solid var(--c-border); overflow: hidden; }
.cls-card-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cls-card-art line { stroke: var(--c-border2); stroke-width: 1; }
.cls-card-art circle { fill: var(--c-dim); }
.cls-card-art circle.m { fill: var(--c-teal); }
.cls-card-art circle.c { fill: var(--c-amber); }
.cls-card-art circle.t { fill: var(--c-blue); }
.cls-card-no { position: absolute; left: 20px; bottom: 12px; font: 500 40px/1 var(--c-mono); letter-spacing: -.04em; color: var(--c-text); text-shadow: 0 2px 18px var(--c-bg); }
.cls-card-no small { margin-right: 8px; font: 500 11px var(--c-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-teal); }
.cls-card-b { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.cls-card h3 { font-size: 21px; line-height: 1.25; color: var(--c-text); }
.cls-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cls-card-n { margin-top: auto; padding-top: 8px; font: 500 26px/1 var(--c-mono); color: var(--c-amber); letter-spacing: -.02em; }
.cls-card-n small { display: block; margin: 6px 0 0; font: 400 12px/1.4 var(--c-sans); letter-spacing: 0; color: var(--c-dim); }
.cls-card-go { padding-top: 8px; font: 600 14px var(--c-sans); color: var(--c-teal); }

/* ---------- hub ---------- */
.cls-hub-hero { padding: 96px 0 72px; }
.cls-hub-hero h1 { max-width: 14ch; font-size: clamp(46px, 8.4vw, 108px); line-height: .98; letter-spacing: -.035em; }
.cls-hub-hero h1 em { font-style: italic; font-weight: 400; color: var(--c-teal); }
.cls-hub-hero .cla-dek { max-width: 54ch; font-size: clamp(18px, 2vw, 23px); }
.cls-hub-tag { margin: 0 0 26px; font: 500 clamp(13px, 1.4vw, 15px)/1.5 var(--c-mono); letter-spacing: .06em; color: var(--c-text); }
.cls-hub-tag span { color: var(--c-amber); }
.cls-hub-tag i { font-style: normal; color: var(--c-teal); }
.cls-hub-stats { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 34px 0 0; padding: 0; list-style: none; }
.cls-hub-stats li b { display: block; font: 500 34px/1 var(--c-mono); color: var(--c-text); letter-spacing: -.02em; }
.cls-hub-stats li span { font: 400 12px var(--c-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-dim); }
.cls-sec { margin: 72px 0 0; }
.cls-sec-h { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 32px; padding-bottom: 14px; border-bottom: 1px solid var(--c-border); }
.cls-sec-h h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); }
.cls-sec-h p { margin: 0; max-width: 46ch; font-size: 15.5px; color: var(--c-muted); }
.cls-sec-h .k { display: block; margin-bottom: 8px; font: 500 11px/1.4 var(--c-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-teal); }

/* featured */
.cls-feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); margin: 40px 0 0; overflow: hidden; border: 1px solid var(--c-border2); border-radius: 18px; background: var(--c-surface); text-decoration: none !important; transition: border-color .15s, transform .2s var(--cls-ease); max-width: 1323px; }
.cls-feat:hover { border-color: var(--c-teal); transform: translateY(-2px); }
.cls-feat-art { position: relative; min-height: 340px; background: linear-gradient(135deg, var(--c-surface2), var(--c-bg)); overflow: hidden; }
.cls-feat-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cls-feat-art line { stroke: var(--c-border2); }
.cls-feat-art circle { fill: var(--c-dim); }
.cls-feat-art circle.m { fill: var(--c-teal); } .cls-feat-art circle.c { fill: var(--c-amber); } .cls-feat-art circle.t { fill: var(--c-blue); }
.cls-feat-n { position: absolute; left: 32px; bottom: 26px; right: 20px; font: 500 clamp(64px, 9vw, 128px)/.9 var(--c-mono); letter-spacing: -.05em; color: var(--c-amber); }
.cls-feat-n small { display: block; max-width: 28ch; margin-top: 12px; font: 500 16px/1.4 var(--c-sans); letter-spacing: 0; color: var(--c-text); }
.cls-feat-b { display: flex; flex-direction: column; gap: 14px; justify-content: center; padding: 40px; }
.cls-feat-b h3 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -.01em; color: var(--c-text); }
.cls-feat-b p { margin: 0; font-size: 17px; color: var(--c-muted); }
@media (max-width: 860px) { .cls-feat { grid-template-columns: minmax(0, 1fr); } .cls-feat-art { min-height: 260px; } .cls-feat-b { padding: 26px 22px 28px; } }

/* filter chips */
.cls-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.cls-filter button { min-height: 40px; padding: 0 18px; border: 1px solid var(--c-border2); border-radius: 999px; background: none; font: 500 13px var(--c-mono); letter-spacing: .04em; color: var(--c-muted); cursor: pointer; transition: all .15s; }
.cls-filter button[aria-pressed="true"] { border-color: var(--c-teal); background: rgba(46, 196, 214, .12); color: var(--c-text); }
.cls-filter button:hover { color: var(--c-text); border-color: var(--c-teal); }
.cls-filter-no { display: none; margin: 18px 0 0; }
[data-hidden="1"] { display: none !important; }

/* episode strip */
.cls-eps { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: x; position: relative; max-width: 1323px; }
.cls-eps::before { content: ""; position: absolute; left: 3%; right: 3%; top: 17px; height: 2px; background: linear-gradient(90deg, var(--c-teal), var(--c-border2) 30%, var(--c-border2)); }
.cls-eps a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 6px; text-align: center; text-decoration: none !important; font: 500 13px/1.35 var(--c-sans); color: var(--c-muted); }
.cls-eps a:hover { color: var(--c-text); }
.cls-eps b { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--c-border2); border-radius: 50%; background: var(--c-bg); font: 500 13px var(--c-mono); color: var(--c-text); transition: border-color .15s, background .15s; }
.cls-eps a:hover b { border-color: var(--c-teal); background: rgba(46, 196, 214, .15); }
@media (max-width: 860px) {
	.cls-eps { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-left: 4px; }
	.cls-eps::before { left: 21px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; background: var(--c-border2); }
	.cls-eps a { flex-direction: row; gap: 16px; padding: 8px 0; text-align: left; }
}

/* method strip + tools band */
.cls-method { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0; margin: 28px 0 0; padding: 0; list-style: none; border: 1px solid var(--c-border); border-radius: var(--cl-r-card, 14px); overflow: hidden; max-width: 1323px; }
.cls-method li { padding: 26px 26px 28px; background: var(--c-surface); border-right: 1px solid var(--c-border); }
.cls-method li:last-child { border-right: 0; }
.cls-method b { display: block; margin-bottom: 14px; font: 500 12px var(--c-mono); letter-spacing: .16em; color: var(--c-teal); }
.cls-method h3 { margin-bottom: 8px; font-size: 20px; }
.cls-method p { margin: 0; font-size: 15px; line-height: 1.55; }
@media (max-width: 860px) { .cls-method li { border-right: 0; border-bottom: 1px solid var(--c-border); } .cls-method li:last-child { border-bottom: 0; } }

.cls-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin: 72px 0 0; padding: 32px 34px; border: 1px solid var(--c-border2); border-left: 4px solid var(--c-teal); border-radius: var(--cl-r-card, 14px); background: var(--c-surface); max-width: 1323px; }
.cls-cta h2 { margin: 0 0 6px; font-size: 26px; }
.cls-cta p { margin: 0; max-width: 56ch; font-size: 16px; }
.cls-cta .cls-btn { min-width: 220px; }

/* ---------- small screens ---------- */
@media (max-width: 767px) {
	.cls-hero { padding: 44px 0 36px; }
	.cls-hub-hero { padding: 56px 0 44px; }
	.cls-hero-grid { grid-template-columns: minmax(0, 1fr); }
	.cls-no { display: none; }
	.cls-layout { padding-top: 28px; }
	.cls-feat-n { font-size: 72px; }
	.cls-thread { margin-top: 48px; }
	.cls-cta { padding: 24px 20px; }
	.cls-brand { letter-spacing: .1em; }
	.cls-sec { margin-top: 52px; }
}

/* ---------- no-JS / reduced motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
	.cls-art .tw, .cls-pulse[data-state="live"] .cls-dot { animation: none; }
	.cls-card, .cls-card:hover, .cls-tool, .cls-tool:hover, .cls-feat, .cls-feat:hover, .cls-chip, .cls-chip:hover, .cls-pn a:hover { transform: none; transition: none; }
	.cls-progress { transition: none; }
}
@media print { .cls-progress, .cls-art, .cls-rail, .cls-toc-m, .cls-thread, .cls-pn, .cls-chips { display: none !important; } .cls-hero { width: auto; margin: 0; background: none; } }

/* ---------- editor-desk stories (article.md format): plain prose, figures, tables, sources, credits ---------- */
.cls-desk ul, .cls-desk ol { margin: 0 0 1.05em; padding-left: 1.3em; color: var(--c-muted); line-height: 1.6; }
.cls-desk li { margin: 0 0 .45em; }
.cls-desk a { color: var(--c-teal); text-underline-offset: 2px; }
.cls-desk blockquote { margin: 1.4em 0; padding: 2px 0 2px 18px; border-left: 3px solid var(--c-border2, var(--c-border)); color: var(--c-muted); }
.cls-desk hr { border: 0; border-top: 1px solid var(--c-border); margin: 2em 0; }
.cls-desk .cl-article-figure { margin: 28px 0; padding: 0; }
.cls-desk .cl-article-figure img { display: block; width: 100%; height: auto; border-radius: var(--cl-r-card, 14px); border: 1px solid var(--c-border); background: var(--c-surface); }
.cls-desk .cl-article-figure figcaption { margin-top: 10px; font: 400 13px/1.5 var(--c-sans); color: var(--c-dim); }
.cls-desk table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.4em 0; font: 400 14px/1.45 var(--c-sans); }
.cls-desk th, .cls-desk td { padding: 8px 12px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.cls-desk th { font: 500 11.5px var(--c-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-dim); }
.cls-checked { margin: 2em 0 0; font: 400 12.5px/1.5 var(--c-mono); color: var(--c-dim); }
.cls-sources, .cls-credits { margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--c-border); }
.cls-sources h2 { margin-top: 0; }
.cls-sources ol { font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
/* long DOIs / URLs in source lists and bullet lists pushed the whole page sideways on phones (seven stories scrolled
   horizontally at 375px). break-word wraps them without changing the grid's min-content sizes. */
.cls .cla-col { overflow-wrap: break-word; }
.cls-credits h3 { margin: 0 0 .6em; font: 500 11.5px var(--c-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-dim); }
.cls-credits ul { margin: 0; padding-left: 1.2em; font-size: 13px; color: var(--c-dim); }
