/* JettSEO — Case studies (/cases, /cases/<slug>). Scoped under .cases-page.
   Consumes the style.css :root tokens (Inter, brand blue→purple gradient,
   navy text, 1200/24 container, 96px section rhythm, radii + shadow
   signature) so it reads as the same site as home and About. */

.cases-page { font-family: var(--f-sans); color: var(--c-text); background: #fff; overflow-x: hidden; }
.cases-page *, .cases-page *::before, .cases-page *::after { box-sizing: border-box; }
.cs-wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Type */
.cs-eyebrow { display: inline-block; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .18em; color: var(--c-grad-to); text-transform: uppercase; margin-bottom: 14px; }
.cs-h1 { font-family: var(--f-display); font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; margin: 0 0 22px; max-width: 18ch; }
.cs-h2 { font-family: var(--f-display); font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; margin: 0 0 12px; }
.cs-grad { background: var(--c-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.cs-arrow { width: 16px; height: 16px; transition: transform var(--motion-fast) var(--ease); }
a:hover > .cs-arrow { transform: translateX(3px); }

/* Buttons */
.cs-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--radius-btn); font-weight: 600; font-size: 15px; text-decoration: none; transition: transform var(--motion-base) var(--ease), box-shadow var(--motion-base) var(--ease), background var(--motion-base) var(--ease); }
.cs-btn:hover { transform: translateY(-2px); }
.cs-btn-outline { color: var(--c-text); background: #fff; border: 1.5px solid var(--c-border); box-shadow: var(--shadow-sm); }
.cs-btn-outline:hover { border-color: var(--card-border-hover); box-shadow: var(--shadow-card-hover); }

/* Hero */
.cs-hero { background: linear-gradient(to bottom, rgba(248,250,252,.9) 0%, #fff 100%); padding: 56px 0 40px; position: relative; }
.cs-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 100%; pointer-events: none; background: radial-gradient(600px 260px at 85% 0%, rgba(147,51,234,.10), transparent 70%), radial-gradient(500px 240px at 10% 20%, rgba(37,99,235,.08), transparent 70%); }
.cs-hero > .cs-wrap { position: relative; }
.cs-hero-lead { font-size: var(--fs-h4); line-height: 1.6; color: var(--c-text-soft); margin: 0 0 32px; max-width: 42rem; }
.cs-hero-strip { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 22px 0; border-top: 1px solid var(--c-border-soft); border-bottom: 1px solid var(--c-border-soft); }
.cs-hero-stat { display: flex; flex-direction: column; gap: 2px; }
.cs-hero-stat strong { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.cs-hero-stat span { font-size: var(--fs-small); color: var(--c-text-muted); }

/* Tags / chips */
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cs-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--c-blue); background: rgba(37,99,235,.08); }
.cs-tag-soft { color: var(--c-text-soft); background: var(--c-bg-soft); border: 1px solid var(--c-border-soft); }
.cs-tag-live { color: #047857; background: rgba(16,185,129,.10); }
.cs-tag-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #10b981; margin-right: 7px; box-shadow: 0 0 0 3px rgba(16,185,129,.18); }
.cs-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500; color: var(--c-text); background: #fff; border: 1px solid var(--c-border); }

/* Filters */
.cs-list { padding: 40px 0 96px; }
.cs-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.cs-filter { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--c-border); background: #fff; color: var(--c-text-soft); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: all var(--motion-fast) var(--ease); }
.cs-filter:hover { border-color: var(--card-border-hover); color: var(--c-text); }
.cs-filter.is-active { color: #fff; border-color: transparent; background: var(--c-btn-grad); box-shadow: var(--shadow-blue); }
.cs-filter-n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-pill); font-size: 12px; background: var(--c-bg-soft); color: var(--c-text-muted); }
.cs-filter.is-active .cs-filter-n { background: rgba(255,255,255,.22); color: #fff; }
.cs-empty { text-align: center; color: var(--c-text-muted); padding: 40px 0; }
.cs-nda-note { max-width: 46rem; margin: 40px auto 0; text-align: center; font-size: 14px; line-height: 1.6; color: var(--c-text-muted); }

/* Category intro (replaces the hero heading + lead while that filter is active) */
.cs-group-intro .cs-h1 { max-width: 22ch; }
/* Multi-paragraph hero copy — the default hero and the category intros both
   run to two paragraphs, so only the last one keeps the gap to the stat strip,
   and bold inside the lead reads as emphasis rather than as grey shouting. */
.cs-hero-copy .cs-hero-lead:not(:last-child) { margin-bottom: 16px; }
.cs-hero-lead strong { color: var(--c-text); font-weight: 600; }
.cs-group-intro-cta { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 32px; font-size: 15px; font-weight: 600; color: var(--c-blue); text-decoration: none; }
.cs-group-intro-cta:hover { text-decoration: underline; }

/* Card grid */
.cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cs-card { display: flex; flex-direction: column; background: var(--c-bg-card); border: 1px solid var(--c-border-soft); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--motion-base) var(--ease), box-shadow var(--motion-base) var(--ease), border-color var(--motion-base) var(--ease); }
.cs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--card-border-hover); }
.cs-card.is-hidden { display: none; }

/* Cover: the client's homepage screenshot, tags floated over it (reference
   pattern). Falls back to the sector-toned gradient + headline number when a
   case has no cover. */
.cs-card-cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 16 / 10; padding: 22px 24px 46px; color: #fff; text-decoration: none; overflow: hidden; background: var(--c-bg-soft); }
.cs-card-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform var(--motion-slow) var(--ease); }
.cs-card:hover .cs-card-cover img { transform: scale(1.03); }
.cs-card-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,14,39,.18) 0%, rgba(10,14,39,0) 38%, rgba(10,14,39,0) 60%, rgba(10,14,39,.28) 100%); pointer-events: none; }
.cs-card-cover:not(:has(img))::after { background: radial-gradient(420px 200px at 100% 0%, rgba(255,255,255,.22), transparent 60%); }
.cs-tone-healthcare { background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%); }
.cs-tone-ecommerce  { background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%); }
.cs-tone-realestate { background: linear-gradient(135deg, #0A0E27 0%, #2e1065 100%); }
.cs-tone-local      { background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%); }
.cs-tone-b2b        { background: linear-gradient(135deg, #0f766e 0%, #2563eb 100%); }
.cs-card-cover:has(img) { background: var(--c-bg-soft); }
.cs-card-icon { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.14); display: grid; place-items: center; backdrop-filter: blur(4px); }
.cs-card-icon svg { width: 20px; height: 20px; }
.cs-card-big { position: relative; font-size: clamp(30px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.cs-card-big-label { position: relative; font-size: 13px; opacity: .85; margin-top: 6px; }
.cs-tags-over { position: absolute; z-index: 1; left: 16px; right: 16px; top: 16px; margin: 0; }
.cs-tags-over .cs-tag { color: var(--c-text); background: rgba(255,255,255,.92); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); height: 28px; padding: 0 12px; }
.cs-tags-over .cs-icon { width: 13px; height: 13px; margin-right: 5px; color: var(--c-grad-to); }

/* Body with the notched status tab that rises into the cover */
.cs-card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 0 24px 22px; background: var(--c-bg-card); }
.cs-card-tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; max-width: 100%; height: 44px; margin: -44px 0 0 -24px; padding: 0 22px 0 24px; background: var(--c-bg-card); border-top-right-radius: 18px; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--c-text-soft); white-space: nowrap; }
.cs-card-tab::before, .cs-card-tab::after { content: ""; position: absolute; bottom: 0; width: 18px; height: 18px; background: radial-gradient(circle at 100% 0, transparent 17.5px, var(--c-bg-card) 18px); }
.cs-card-tab::after { right: -18px; }
.cs-card-tab::before { display: none; }
.cs-card-tab-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-btn-grad); color: #fff; flex: none; }
.cs-card-tab-icon .cs-icon { width: 13px; height: 13px; }
.cs-card-tab-text { overflow: hidden; text-overflow: ellipsis; }
.cs-card-tab-text em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--c-text-muted); font-weight: 500; }
.cs-card-title { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; margin: 16px 0 8px; letter-spacing: -.01em; }
.cs-card-title a { color: inherit; text-decoration: none; }
.cs-card-title a:hover { color: var(--c-blue); }
.cs-card-client { font-size: var(--fs-small); color: var(--c-text-muted); margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Metrics as label / value rows (reference: "Budget: … / Profit: … / ROAS: …") */
.cs-card-metrics { display: flex; flex-direction: column; margin: auto 0 20px; padding: 6px 0 0; border-top: 1px solid var(--c-border-soft); }
.cs-card-metrics > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--c-border-soft); min-width: 0; }
.cs-card-metrics > div:last-child { border-bottom: 0; }
.cs-card-metrics dt { font-size: 13px; line-height: 1.35; color: var(--c-text-muted); flex: 1 1 auto; min-width: 0; }
.cs-card-metrics dt::first-letter { text-transform: uppercase; }
.cs-card-metrics dd { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--c-text); line-height: 1.15; text-align: right; flex: 0 0 auto; white-space: nowrap; }

/* Two buttons: outline "More details", gradient "I want the same" */
.cs-card-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cs-card-more, .cs-card-same { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: var(--radius-btn); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: all var(--motion-fast) var(--ease); }
.cs-card-more { color: var(--c-text); background: #fff; border: 1.5px solid var(--c-border); }
.cs-card-more:hover { color: var(--c-text); border-color: rgba(147,51,234,.45); box-shadow: var(--shadow-sm); }
.cs-card-same { color: #fff; background: var(--c-btn-grad); border: 1.5px solid transparent; box-shadow: var(--shadow-blue); }
.cs-card-same:hover { color: #fff; transform: translateY(-1px); }
.cs-card-same .cs-arrow { width: 16px; height: 16px; }

/* Verification */
.cs-verify { padding: 0 0 96px; }
.cs-verify-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px; border-radius: var(--radius-card); background: var(--c-bg-soft); border: 1px solid var(--c-border-soft); }
.cs-verify-lead { margin: 0; color: var(--c-text-soft); }

/* CTA band (mirrors About "Book" section) */
.cs-cta { background: linear-gradient(120deg, #2563eb 0%, #6d28d9 55%, #9333ea 100%); color: #fff; }
.cs-cta-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.cs-cta-title { font-family: var(--f-display); font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; margin: 0 0 16px; color: #fff; max-width: 620px; }
.cs-cta-lead { font-size: var(--fs-h4); line-height: 1.55; color: rgba(255,255,255,.85); margin: 0 0 32px; max-width: 560px; }
.cs-cta-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cs-cta-list li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; }
.cs-cta-list li::before { content: "✓"; font-size: 18px; }

/* ==== Detail page ==== */
.cs-hero-detail { padding-bottom: 48px; }
.cs-crumbs { display: flex; gap: 10px; font-size: var(--fs-small); color: var(--c-text-muted); margin-bottom: 22px; }
.cs-crumbs a { color: var(--c-blue); text-decoration: none; font-weight: 600; }
.cs-detail .cs-h1 { max-width: 24ch; }

.cs-stats { display: grid; gap: 16px; }
.cs-stats-hero { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 8px 0 32px; }
.cs-stat { padding: 20px 22px; border-radius: var(--radius-card); background: #fff; border: 1px solid var(--c-border-soft); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 6px; }
.cs-stat strong { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1; background: var(--c-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cs-stat span { font-size: var(--fs-small); color: var(--c-text-soft); line-height: 1.35; }
.cs-stats-inline { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 28px 0; }
.cs-stats-inline .cs-stat { padding: 18px; }
.cs-stats-inline .cs-stat strong { font-size: 26px; }

.cs-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; margin: 0 0 22px; padding: 22px 0; border-top: 1px solid var(--c-border-soft); border-bottom: 1px solid var(--c-border-soft); }
.cs-meta dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: 6px; }
.cs-meta dd { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 500; }
.cs-skills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cs-skills-label { font-size: 12px; font-weight: 600; color: var(--c-text-muted); margin-right: 4px; }

/* Article + sticky aside */
.cs-article-wrap { padding: 64px 0 40px; }
.cs-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.cs-article { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--c-text-soft); }
.cs-article > p { margin: 0 0 18px; }
.cs-intro { font-size: 19px; line-height: 1.6; color: var(--c-text); margin-bottom: 36px; padding-left: 20px; border-left: 3px solid transparent; border-image: var(--c-grad) 1; }
.cs-intro p { margin: 0 0 14px; }
.cs-intro p:last-child { margin-bottom: 0; }
.cs-article-h { font-family: var(--f-display); font-size: 26px; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; color: var(--c-text); margin: 44px 0 14px; }
.cs-article-h:first-of-type { margin-top: 8px; }
.cs-note { font-size: 19px; font-weight: 600; color: var(--c-text); margin: 22px 0 !important; }
.cs-ul { margin: 0 0 20px; padding-left: 0; list-style: none; }
.cs-ul li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.cs-ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 12px; border-radius: 50%; background: var(--c-btn-grad); opacity: .85; transform: scale(.6); }
.cs-ul-cols { columns: 2; column-gap: 32px; }
.cs-ul-cols li { break-inside: avoid; }
.cs-steps { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: cs; display: flex; flex-direction: column; gap: 14px; }
.cs-steps li { counter-increment: cs; position: relative; padding: 18px 20px 18px 66px; border-radius: var(--radius); background: var(--c-bg-soft); border: 1px solid var(--c-border-soft); }
.cs-steps li::before { content: counter(cs); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; background: var(--c-btn-grad); }
.cs-steps strong { display: block; color: var(--c-text); font-size: 16px; margin-bottom: 4px; }
.cs-steps span { display: block; font-size: 16px; line-height: 1.6; }
.cs-quote { margin: 30px 0; padding: 26px 28px; border-radius: var(--radius-card); background: linear-gradient(120deg, rgba(37,99,235,.06), rgba(147,51,234,.06)); border: 1px solid rgba(147,51,234,.14); }
.cs-quote blockquote { margin: 0 0 12px; font-size: 21px; line-height: 1.45; font-weight: 600; font-style: italic; color: var(--c-text); }
.cs-quote figcaption { font-size: var(--fs-small); font-weight: 600; color: var(--c-grad-to); }
.cs-kv { margin: 0 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--c-border-soft); border-radius: var(--radius); overflow: hidden; }
.cs-kv > div { display: flex; flex-direction: column; gap: 3px; padding: 14px 18px; border-bottom: 1px solid var(--c-border-soft); border-right: 1px solid var(--c-border-soft); }
.cs-kv > div:nth-child(2n) { border-right: 0; }
.cs-kv dt { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-muted); }
.cs-kv dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--c-text); }
.cs-completed { margin-top: 36px; padding: 16px 18px; border-radius: var(--radius); background: var(--c-bg-soft); border: 1px dashed var(--c-border); font-size: var(--fs-small); color: var(--c-text-muted); }

/* Tables */
.cs-table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--c-border-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.cs-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
.cs-table th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-muted); background: var(--c-bg-soft); padding: 12px 16px; border-bottom: 1px solid var(--c-border-soft); white-space: nowrap; }
.cs-table td { padding: 11px 16px; border-bottom: 1px solid var(--c-border-soft); color: var(--c-text); vertical-align: top; }
.cs-table td:first-child { font-weight: 500; }
.cs-table td:not(:first-child) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cs-table tbody tr:last-child td { border-bottom: 0; }
.cs-table tbody tr:hover td { background: rgba(37,99,235,.03); }
.cs-pos { display: inline-block; padding: 2px 8px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; }
.cs-pos-1 { color: #fff; background: var(--c-btn-grad); }
.cs-pos-up { color: #047857; background: rgba(16,185,129,.12); }
.cs-pos-none { color: var(--c-text-muted); background: var(--c-bg-soft); font-weight: 500; }

/* Aside */
.cs-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.cs-aside-card { padding: 26px; border-radius: var(--radius-card); background: #fff; border: 1px solid var(--c-border-soft); box-shadow: var(--shadow-card); }
.cs-aside-card p { margin: 0 0 20px; font-size: 15px; line-height: 1.55; color: var(--c-text-soft); }
.cs-aside-card .fg-rebuild-cta { width: 100%; }
.cs-aside-docs { padding: 22px 24px; border-radius: var(--radius-card); background: var(--c-bg-soft); border: 1px solid var(--c-border-soft); }
.cs-aside-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: 14px; }
.cs-doc { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--c-border-soft); }
.cs-doc:first-of-type { border-top: 0; padding-top: 0; }
.cs-doc-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--c-btn-grad); }
.cs-doc-icon svg { width: 20px; height: 20px; }
.cs-doc-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cs-doc-text strong { font-size: 14px; color: var(--c-text); }
.cs-doc-text span { font-size: 13px; line-height: 1.45; color: var(--c-text-soft); }

/* Evidence gallery */
.cs-evidence { padding: 48px 0 96px; background: var(--c-bg-soft); border-top: 1px solid var(--c-border-soft); }
.cs-section-head { max-width: 640px; margin-bottom: 36px; }
.cs-section-lead { margin: 0; color: var(--c-text-soft); line-height: 1.6; }
.cs-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.cs-shot { margin: 0; min-width: 0; }
.cs-shot-wide { grid-column: 1 / -1; }
.cs-shot-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; font: inherit; }
.cs-shot-frame { display: block; border-radius: var(--radius-card); overflow: hidden; background: #fff; border: 1px solid var(--c-border-soft); box-shadow: var(--shadow-card); transition: transform var(--motion-base) var(--ease), box-shadow var(--motion-base) var(--ease); }
.cs-shot-btn:hover .cs-shot-frame { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.cs-shot-bar { display: flex; gap: 6px; padding: 10px 14px; background: #f3f4f8; border-bottom: 1px solid var(--c-border-soft); }
.cs-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7d9e3; }
.cs-shot-bar i:nth-child(1) { background: #fca5a5; } .cs-shot-bar i:nth-child(2) { background: #fcd34d; } .cs-shot-bar i:nth-child(3) { background: #86efac; }
.cs-shot img { display: block; width: 100%; height: auto; }
.cs-shot figcaption { margin-top: 12px; font-size: var(--fs-small); line-height: 1.5; color: var(--c-text-soft); }
.cs-shot figcaption::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-btn-grad); margin-right: 8px; vertical-align: 1px; }

/* Pager */
.cs-pager { padding: 40px 0 72px; }
.cs-pager-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.cs-pager-link { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--c-text); padding: 18px 20px; border-radius: var(--radius-card); border: 1px solid var(--c-border-soft); box-shadow: var(--shadow-card); transition: transform var(--motion-base) var(--ease), box-shadow var(--motion-base) var(--ease); }
.cs-pager-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.cs-pager-next { text-align: right; }
.cs-pager-dir { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-muted); }
.cs-pager-title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.cs-pager-all { font-size: 14px; font-weight: 600; color: var(--c-blue); text-decoration: none; white-space: nowrap; }

/* Lightbox */
.cs-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,14,39,.92); display: flex; align-items: center; justify-content: center; padding: 32px; cursor: zoom-out; }
.cs-lightbox figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cs-lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); cursor: default; }
.cs-lightbox figcaption { color: rgba(255,255,255,.85); font-size: var(--fs-small); text-align: center; max-width: 60ch; }
.cs-lightbox-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.cs-lightbox-close:hover { background: rgba(255,255,255,.22); }

/* ==== Responsive ==== */
@media (max-width: 1024px) {
    .cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cs-article-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .cs-aside { position: static; }
    .cs-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cs-stats-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cs-cta-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
    .cs-verify-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
    .cs-hero { padding-top: 36px; }
    .cs-grid { grid-template-columns: 1fr; gap: 20px; }
    .cs-list, .cs-verify, .cs-evidence { padding-bottom: 64px; }
    .cs-stats-hero { grid-template-columns: 1fr; }
    .cs-meta { grid-template-columns: 1fr; }
    .cs-shots { grid-template-columns: 1fr; gap: 20px; }
    .cs-ul-cols { columns: 1; }
    .cs-kv { grid-template-columns: 1fr; }
    .cs-kv > div { border-right: 0; }
    .cs-article { font-size: 16px; }
    .cs-intro { font-size: 17px; }
    .cs-pager-inner { grid-template-columns: 1fr; }
    .cs-pager-next { text-align: left; }
    .cs-pager-all { order: -1; }
    .cs-card-more, .cs-card-same { font-size: 13px; padding: 0 10px; gap: 6px; }
    .cs-card-same .cs-arrow { flex: none; }
    .cs-lightbox { padding: 16px; }
}

/* ==== Native re-renders of the document's infographic slides ==== */
/* Campaign snapshot (was the branded "fastest SEO on the market" card) */
.cs-snapshot { margin: 0 0 32px; padding: 24px 26px; border-radius: var(--radius-card); background: linear-gradient(135deg, rgba(37,99,235,.07) 0%, rgba(147,51,234,.07) 100%); border: 1px solid rgba(37,99,235,.14); }
.cs-snapshot-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.cs-snapshot-logo { display: block; width: 120px; height: auto; }
.cs-snapshot-tag { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-blue); }
.cs-snapshot-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px 40px; align-items: center; }
.cs-snapshot-tops { display: flex; gap: 18px; flex-wrap: wrap; }
.cs-snapshot-top { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cs-snapshot-top-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-blue); }
.cs-snapshot-top-ring { width: 96px; height: 96px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-card); border: 1px solid rgba(37,99,235,.12); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.cs-snapshot-top-ring strong { font-size: 28px; font-weight: 800; letter-spacing: -.03em; background: var(--c-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cs-snapshot-top-ring em { font-style: normal; font-size: 11px; color: var(--c-text-muted); margin-top: 4px; }
.cs-snapshot-facts { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border-soft); }
.cs-snapshot-facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; font-size: 15px; }
.cs-snapshot-facts dt { color: var(--c-text-muted); }
.cs-snapshot-facts dd { margin: 0; font-weight: 600; color: var(--c-text); }
.cs-snapshot-foot { margin: 18px 0 0; font-size: 14px; font-weight: 600; color: var(--c-blue); }

/* Executed works icon grid */
.cs-works { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cs-works li { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--radius-card); background: #fff; border: 1px solid var(--c-border-soft); box-shadow: var(--shadow-card); font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--c-text); }
.cs-works-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--c-btn-grad); }
.cs-works-icon svg { width: 22px; height: 22px; }

/* Before / after tables */
.cs-ba .cs-table caption { caption-side: top; text-align: left; padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--c-text-soft); background: #fff; border-bottom: 1px solid var(--c-border-soft); }
.cs-ba .cs-table th:not(:first-child), .cs-ba .cs-table td:not(:first-child) { text-align: center; }
.cs-ba .cs-table tfoot td { text-align: center; font-size: 13px; color: var(--c-text-muted); background: var(--c-bg-soft); border-top: 1px solid var(--c-border-soft); }
.cs-pos-before { color: #b91c1c; background: rgba(239,68,68,.08); font-weight: 600; }

@media (max-width: 720px) {
    .cs-snapshot-body { grid-template-columns: 1fr; }
    .cs-snapshot-facts > div { grid-template-columns: 1fr; gap: 2px; }
    .cs-works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
    .cs-works { grid-template-columns: 1fr; }
    .cs-works li { flex-direction: row; align-items: center; }
}
.cs-ba .cs-table { min-width: 0; }
.cs-ba .cs-table th:not(:first-child), .cs-ba .cs-table td:not(:first-child) { width: 96px; padding-left: 8px; padding-right: 8px; }

/* Case cover — the gallery card's site screenshot, repeated at the top of the
   case itself so the page opens on the client's actual site. */
.cs-cover { padding: 8px 0 4px; }
.cs-cover-fig { margin: 0; }
.cs-cover-fig img {
    width: 100%; height: auto; display: block;
    border: 1px solid var(--c-border); border-radius: 18px;
    box-shadow: var(--shadow-card);
    background: var(--c-bg-soft);
}
.cs-cover-cap {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 14px; font-size: var(--fs-small); font-weight: 600; color: var(--c-text-soft);
}
.cs-cover-cap .cs-icon { width: 16px; height: 16px; color: var(--c-grad-to); }
