/* Case study pages (includes/templates/case.php), laid out as the reference case page:
   dark hero (client facts, drag compare, result strip) → light story with a sticky contents rail
   (challenge, what we did, result + screenshots, services) → CTA card beside the next case.
   Reuses the homepage .cmp compare from main.css. */

/* ---------- hero ---------- */
.cs-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.cs-hero .ph__dots { background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.5px); }
.cs-hero__bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 24px; }
.cs-hero__no { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mut); }
.cs-hero__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: end; gap: 32px clamp(32px, 5vw, 80px); margin: clamp(20px, 3vw, 36px) 0 clamp(32px, 4vw, 48px); }
.cs-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 6px 12px; border-radius: 999px; font-size: 11px; color: var(--fg); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line2); }
.cs-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-warm); }
.cs-hero__h { font-size: clamp(2.5rem, 5vw, 5rem); text-wrap: balance; }
.cs-hero__lead { max-width: 58ch; margin-top: 22px; font-size: clamp(1rem, 1.1vw, 1.08rem); line-height: 1.65; color: var(--mut); }
.cs-hero__date { margin-top: 14px; font-size: 11px; color: var(--mut); }
.cs-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.cs-meta > div { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line2); }
.cs-meta dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--mut); }
.cs-meta dd { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.35; }
.cs-meta__wide { grid-column: 1 / -1; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-tags li { padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 400; color: #111; background: var(--grad-warm); }
.cs-cmp { aspect-ratio: 16 / 7; }
.cs-cmp .cmp__range:focus-visible ~ .cmp__handle, .cs-cmp:focus-within .cmp__handle { outline: 2px solid #fff; outline-offset: 4px; }
.cs-cmp--plain { background: radial-gradient(90% 80% at 85% 10%, rgba(123, 77, 255, .45), transparent 60%), radial-gradient(70% 70% at 10% 100%, rgba(255, 122, 0, .3), transparent 60%), #0b0b0c; }
.cs-cmp--plain .cmp__before { background: #18181b; }

/* result strip: the metric · month by month · growth */
.cs-strip { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, .8fr); gap: 1px; margin-top: 14px; border-radius: 22px; overflow: hidden; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); }
.cs-strip > div { display: grid; align-content: space-between; gap: 18px; min-height: 128px; padding: 20px 22px; background: var(--card); }
.cs-strip dt { display: flex; align-items: center; gap: 8px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--mut); }
.cs-strip dd { margin: 0; }
.cs-strip__m dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; font-variant-numeric: tabular-nums; }
.cs-strip__m dd > span:first-child { font-size: 1.2rem; color: var(--mut); }
.cs-strip__m dd > i { font-style: normal; color: var(--mut); }
.cs-strip__m b { font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.cs-strip__d { font-size: 1.15rem; font-weight: 500; }
.cs-bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.cs-bars i { flex: 1; height: var(--h); min-width: 4px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #FF3D81, rgba(123, 77, 255, .5)); opacity: .9; }
.cs-bars i:last-child { background: var(--grad-warm); opacity: 1; }
.cs-strip__g dd { font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; }

/* ---------- story: sticky rail + parts ---------- */
.cs-story { padding-block: clamp(72px, 9vw, 128px); }
.cs-story__grid { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.cs-story__main { display: grid; gap: clamp(72px, 8vw, 112px); max-width: 860px; }
.cs-rail { position: sticky; top: calc(var(--hd-h, 72px) + 40px); padding-left: 22px; }
.cs-rail ol { display: grid; gap: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.cs-rail a { display: flex; gap: 10px; padding: 8px 0; color: var(--mut); transition: color .25s; }
.cs-rail a b { font-weight: 400; }
.cs-rail a:hover, .cs-rail a.is-on { color: var(--fg); }
.cs-rail__ln { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line2); }
.cs-rail__ln i { position: absolute; inset: 0 0 auto; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: top; transform: scaleY(var(--rp, 0)); }
.cs-rail__ln b { position: absolute; left: 50%; top: calc(var(--rp, 0) * 100%); width: 12px; height: 12px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #111; }
html:not(.js) .cs-rail__ln i { transform: none; }
html:not(.js) .cs-rail__ln b { display: none; }

.cs-part { scroll-margin-top: calc(var(--hd-h, 72px) + 24px); }
.cs-part__no { margin-bottom: 10px; font-size: 11px; color: var(--mut); }
.cs-part__h { font-size: clamp(2.4rem, 4.4vw, 3.8rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.cs-part__q { max-width: 34ch; margin-top: 22px; font-size: clamp(1.3rem, 1.9vw, 1.7rem); font-weight: 600; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
.cs-prose { display: grid; gap: 16px; max-width: 64ch; margin-top: 20px; font-size: clamp(1rem, 1.1vw, 1.06rem); line-height: 1.7; color: #3a3a42; }
.cs-pts { display: grid; gap: 1px; margin-top: 26px; border-radius: 18px; overflow: hidden; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); }
.cs-pts li { display: flex; gap: 14px; align-items: baseline; padding: 14px 18px; font-weight: 500; background: #fff; }
.cs-pts__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-warm); translate: 0 -1px; }

/* what we did: check rows */
.cs-did { margin-top: 30px; border-top: 1px solid var(--line2); }
.cs-did__i { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line2); }
.cs-did__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #111; background: var(--grad-warm); }
.cs-did__ic .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.cs-did__t { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.cs-did__t .mono { display: block; margin-bottom: 4px; font-size: 10.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.cs-did__b { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--mut); }

/* ---------- screenshots ---------- */
.cs-shots { margin-top: clamp(40px, 5vw, 64px); }
.cs-shots__h { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; }
.cs-shots__lead { max-width: 60ch; margin-top: 8px; color: var(--mut); }
.cs-shots__lead .mono { display: block; margin-top: 4px; font-size: 10.5px; }
.cs-shots__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.cs-shot--lead { grid-column: 1 / -1; }
.cs-shot figure { overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(17, 17, 17, .45); }
.cs-shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 10.5px; color: #a3a3ad; background: #111; }
.cs-shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: #333338; }
.cs-shot__bar i:first-child { background: #FF3D81; }
.cs-shot__bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-shot__img { position: relative; display: block; overflow: hidden; background: #f4f4f6; cursor: zoom-in; }
.cs-shot__img img { display: block; width: 100%; height: auto; transition: scale .8s var(--ease); }
.cs-shot__img:hover img { scale: 1.02; }
.cs-shot__img:focus-visible { outline: 2px solid var(--pink); outline-offset: -2px; }
.cs-shot__zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #111; background: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); opacity: 0; scale: .8; transition: opacity .3s, scale .4s var(--ease); }
.cs-shot__img:hover .cs-shot__zoom, .cs-shot__img:focus-visible .cs-shot__zoom { opacity: 1; scale: 1; }
.cs-shot__zoom .icon { width: 18px; height: 18px; }
/* placeholder until the real screenshot is added */
.cs-shot__ph { display: grid; place-content: center; justify-items: center; gap: 12px; aspect-ratio: 16 / 10; margin: 12px; border-radius: 12px; font-size: 11px; color: var(--mut); background: repeating-linear-gradient(135deg, #f4f4f6 0 12px, #efeff3 12px 24px); box-shadow: inset 0 0 0 1.5px var(--line2); }
.cs-shot--lead .cs-shot__ph { aspect-ratio: 16 / 7; }
.cs-shot__phi { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #111; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.cs-shot__phi .icon { width: 22px; height: 22px; }
.cs-shot figcaption { display: grid; gap: 4px; padding: 14px 18px 16px; font-size: 14px; line-height: 1.45; }
.cs-shot figcaption span { color: var(--mut); }
.cs-shot figcaption small { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--mut); }

/* full-size viewer */
.cs-zoom { width: fit-content; max-width: 94vw; max-height: 94svh; padding: 0; border: 0; border-radius: 20px; color: #f5f5f5; background: #111; overflow: visible; }
.cs-zoom::backdrop { background: rgba(8, 8, 9, .86); backdrop-filter: blur(6px); }
.cs-zoom figure { display: grid; max-height: 94svh; overflow: hidden; border-radius: inherit; }
.cs-zoom img { display: block; width: auto; max-width: 94vw; height: auto; max-height: calc(94svh - 42px); }
.cs-zoom figcaption { padding: 12px 18px; font-size: 11px; color: #a3a3ad; }
.cs-zoom__b { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; color: #111; background: #fff; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.cs-zoom__b .icon { width: 20px; height: 20px; }
.cs-zoom__b:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.cs-zoom__x { top: -18px; right: -18px; }
.cs-zoom__p, .cs-zoom__n { top: 50%; translate: 0 -50%; }
.cs-zoom__p { left: -23px; }
.cs-zoom__p .icon { rotate: 180deg; }
.cs-zoom__n { right: -23px; }

/* ---------- result chart ---------- */
.cs-chart { margin-top: clamp(40px, 5vw, 64px); padding: clamp(18px, 2.4vw, 30px); border-radius: 28px; color: #f5f5f5; background: #111; }
.cs-chart__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-bottom: 26px; font-size: 10.5px; color: #a3a3ad; }
.cs-chart__top span:first-child { display: inline-flex; align-items: center; gap: 8px; color: #f5f5f5; }
.cs-chart__plot { position: relative; height: clamp(220px, 28vw, 340px); margin-inline: clamp(8px, 2vw, 24px); }
.cs-chart__plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cs-chart__grid { stroke: rgba(255, 255, 255, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cs-chart__ln { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cs-chart__ln.is-ill { stroke-dasharray: 2 0; }
.cs-chart__pt { position: absolute; width: 14px; height: 14px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 61, 129, .35); }
.cs-chart__pt b { position: absolute; left: 50%; bottom: calc(100% + 10px); translate: 0 0; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; color: #111; background: #fff; font-variant-numeric: tabular-nums; }
.cs-chart__pt:not(.cs-chart__pt--end) b { left: 0; }
.cs-chart__pt--end b { left: auto; right: 0; color: #111; background: var(--grad-warm); }
.cs-chart__x { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding-inline: clamp(8px, 2vw, 24px); font-size: 10.5px; color: #a3a3ad; }

.cs-tbl { margin-top: 22px; border-top: 1px solid #26262a; }
.cs-tbl summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-top: 12px; font-size: 11px; color: #f5f5f5; cursor: pointer; }
.cs-tbl summary:hover { color: var(--orange); }
.cs-tbl__wrap { max-width: 100%; overflow-x: auto; }
.cs-tbl table, .cs-kw__t { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.cs-tbl th, .cs-tbl td { padding: 10px 12px 10px 0; text-align: left; border-bottom: 1px solid #26262a; }
.cs-tbl thead th { font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: #a3a3ad; }
.cs-tbl tbody th { font-weight: 400; }

/* ---------- other figures ---------- */
.cs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 28px; }
.cs-stat { display: grid; align-content: start; gap: 10px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.cs-stat__l { font-size: 10.5px; color: var(--mut); }
.cs-stat__v { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 600; line-height: 1.05; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.cs-stat__v > span:first-child { color: var(--mut); }
.cs-stat__d { font-size: 10.5px; color: var(--mut); }

/* ---------- keyword positions ---------- */
.cs-kw { margin-top: clamp(48px, 6vw, 80px); }
.cs-kw__h { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; }
.cs-kw__lead { max-width: 62ch; margin-top: 10px; color: var(--mut); }
.cs-kw .cs-tbl__wrap { margin-top: 22px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.cs-kw .cs-tbl__wrap:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.cs-kw__t { min-width: 560px; }
.cs-kw__t th, .cs-kw__t td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.cs-kw__t tbody tr:last-child > * { border-bottom: 0; }
.cs-kw__t thead th { font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--mut); background: var(--card); }
.cs-kw__t tbody th { font-weight: 500; }
.cs-kw__t td { width: 16%; white-space: nowrap; }
.cs-kw__t td.is-na { color: var(--mut); font-size: 13px; }
.cs-kw__t td.is-t10, .cs-kw__key .is-t10 { font-weight: 600; }
.cs-kw__t td.is-t10::before, .cs-kw__t td.is-t3::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #111; vertical-align: 1px; }
.cs-kw__t td.is-t3 { font-weight: 700; }
.cs-kw__t td.is-t3::before { background: var(--grad-warm); }
.cs-kw__key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; font-size: 10.5px; color: var(--mut); }
.cs-kw__key span { padding: 3px 9px; border-radius: 999px; color: #fff; background: #111; }
.cs-kw__key .is-t3 { color: #111; background: var(--grad-warm); }


/* testimonial (approved quotes only) */
.cs-quote { margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3.4vw, 40px); border-radius: 26px; color: #f5f5f5; background: #111; }
.cs-quote blockquote p { font-size: clamp(1.3rem, 2.2vw, 1.85rem); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.cs-quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 26px; }
.cs-quote__av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 600; color: #111; background: var(--grad-warm); }
.cs-quote__who { display: grid; gap: 2px; }
.cs-quote__who .mono { font-size: 10.5px; color: #a3a3ad; }
.cs-quote__tag { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 6px 12px; border-radius: 999px; font-size: 11px; color: #111; background: var(--grad-warm); }
.cs-quote__tag i { width: 6px; height: 6px; border-radius: 50%; background: #111; }

/* ---------- services used ---------- */
.cs-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 28px; }
.cs-svc__c { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 22px 20px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, translate .45s var(--ease); }
.cs-svc__c:hover { box-shadow: 0 0 0 1px var(--line2), 0 24px 40px -30px rgba(17, 17, 17, .45); translate: 0 -2px; }
.cs-svc__t { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.025em; }
.cs-svc__ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: #111; transition: background .3s, color .3s; }
.cs-svc__ic .icon { width: 16px; height: 16px; }
.cs-svc__c:hover .cs-svc__ic { color: #111; background: var(--grad-warm); }
.cs-svc__w { font-size: 15px; line-height: 1.55; color: var(--mut); }

/* ---------- CTA card + next case ---------- */
.cs-end { margin-top: -1px; padding-top: 1px; }   /* no hairline gap between the two grey blocks */
.cs-end__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; }
.cs-end__grid--one { grid-template-columns: minmax(0, 1fr); }
.cs-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(28px, 3.6vw, 48px); border-radius: 28px; color: #111; background: var(--grad); }
.cs-cta__h { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; }
.cs-cta__p { max-width: 42ch; color: rgba(17, 17, 17, .78); }
.cs-cta__btn { margin-top: auto; color: #fff; background: #111; }
.cs-cta__btn::before { background: #2a2a2e; }
.cs-cta__btn .btn__ic { color: #111; background: #fff; }
.cs-next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); min-height: 320px; overflow: hidden; border-radius: 28px; color: #f5f5f5; background: #111; transition: box-shadow .3s; }
.cs-next:hover { box-shadow: 0 30px 60px -36px rgba(255, 61, 129, .7); }
.cs-next__tx { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 36px); }
.cs-next__k { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #a3a3ad; }
.cs-next__k .icon { width: 14px; height: 14px; transition: translate .4s var(--ease); }
.cs-next:hover .cs-next__k .icon { translate: 4px 0; }
.cs-next__t { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.cs-next__s { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: #a3a3ad; }
.cs-next__m { display: flex; align-items: baseline; gap: 10px; margin-top: auto; font-variant-numeric: tabular-nums; }
.cs-next__m > span:first-child { font-size: 1.1rem; color: #a3a3ad; }
.cs-next__m b { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -.045em; }
.cs-next__vis { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(90% 90% at 80% 10%, rgba(123, 77, 255, .5), transparent 60%), radial-gradient(80% 80% at 10% 100%, rgba(255, 122, 0, .35), transparent 60%), #0b0b0c; }
.cs-next__vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.75); transition: filter .6s, scale .8s var(--ease); }
.cs-next:hover .cs-next__vis img { filter: none; scale: 1.04; }
.cs-next__ini { font-size: 6rem; font-weight: 600; letter-spacing: -.06em; color: rgba(255, 255, 255, .85); }
.cs-end__all { margin-top: 18px; }
.cs-end__all a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 11px; color: var(--mut); }
.cs-end__all a:hover { color: var(--fg); }
.cs-end__all .icon { width: 15px; height: 15px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1099px) {
  .cs-hero__top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .cs-cmp { aspect-ratio: 16 / 10; }
  .cs-story__grid { grid-template-columns: minmax(0, 1fr); }
  .cs-rail { display: none; }
  .cs-end__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .cs-strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cs-strip__m { grid-column: 1 / -1; }
  .cs-strip > div { min-height: 0; padding: 16px; }
  .cs-shots__grid { grid-template-columns: minmax(0, 1fr); }
  .cs-shot--lead .cs-shot__ph { aspect-ratio: 16 / 10; }
  .cs-next { grid-template-columns: minmax(0, 1fr); }
  .cs-next__vis { min-height: 180px; order: -1; }
  .cs-zoom__p { left: 6px; } .cs-zoom__n { right: 6px; } .cs-zoom__x { top: 6px; right: 6px; }
}
@media (max-width: 640px) {
  .cs-cmp { aspect-ratio: 4 / 5; }
  .cs-cmp .cmp__lbl { display: inline-flex; top: auto; bottom: 12px; left: 50%; right: auto; translate: -50% 0; padding: 5px 10px; font-size: 9.5px; white-space: normal; max-width: calc(100% - 24px); text-align: center; }
  .cs-meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cs-did__i { grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
  .cs-did__ic { width: 28px; height: 28px; }
  .cs-chart__pt b { font-size: 12px; }
  .cs-kw__t { min-width: 0; font-size: 13px; }
  .cs-kw__t th, .cs-kw__t td { padding: 10px 8px; }
  .cs-kw__t td { width: auto; white-space: normal; }
  .cs-kw__t td.is-t10::before, .cs-kw__t td.is-t3::before { margin-right: 5px; }
  .cs-quote__tag { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-shot__img img, .cs-next__vis img, .cs-shot__zoom { transition: none; }
}
