/* Claritus Case Studies. Tokens, type scale, radii and the single shadow come from the approved
   Claritus portfolio design: one blue, a sky tint and three neutrals. Instrument Serif at 32px and
   above only; DM Sans for everything else. */

.cw-cs {
	--paper: #FAFAF8;
	--ink: #12141A;
	--graphite: #5B5F6A;
	--fog: #E4E3DE;
	--blue: #0B5394;
	--blue-h: #094476;
	--sky: #E4EEF7;
	--white: #FFFFFF;
	--line-on-ink: rgba(250, 250, 248, .16);
	--shadow: 0 2px 12px rgba(0, 0, 0, .04);
	--cs-max: 1152px; /* matches the site header and service pages: logo edge to Book a Call edge */
	--cs-gutter: 24px;
	--serif: 'Instrument Serif', ui-serif, Georgia, 'Times New Roman', serif;
	--sans: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-family: var(--sans);
	color: var(--ink);
	background: var(--paper);
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: -.01em;
	-webkit-font-smoothing: antialiased;
	/* Full-bleed: case-studies.js measures the theme container and stretches this block to the
	   full viewport width (a pure-CSS 100vw trick drifts when the theme container is not centred). */
	width: 100%;
	max-width: none;
	flex: 0 0 auto; /* Astra wraps content in a flex container, which would shrink the block */
	min-width: 0;
	overflow-x: clip;
}

.cw-cs *,
.cw-cs *::before,
.cw-cs *::after { box-sizing: border-box; }

.cw-cs [hidden] { display: none !important; }
.cw-cs p { margin: 0 0 16px; }
.cw-cs a { color: var(--blue); text-decoration: none; }
.cw-cs a:hover { color: var(--blue-h); }
.cw-cs ul, .cw-cs ol, .cw-cs dl, .cw-cs dd, .cw-cs figure, .cw-cs blockquote { margin: 0; padding: 0; }
.cw-cs ul, .cw-cs ol { list-style: none; }
.cw-cs img { max-width: 100%; height: auto; display: block; }
.cw-cs button { font-family: var(--sans); }
.cs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.cw-cs .cs-sec { padding: 96px var(--cs-gutter); }
.cw-cs .cs-sec--tight { padding: 64px var(--cs-gutter); }
.cs-in { max-width: var(--cs-max); margin: 0 auto; }
.cs-narrow { max-width: 820px; }
.cs-center { text-align: center; }
.cs-bg-paper { background: var(--paper); }
.cs-bg-white { background: var(--white); }
.cs-bg-sky { background: var(--sky); }
.cs-ink { background: var(--ink); color: var(--paper); }
.cs-strip { background: var(--white); border-top: 1px solid var(--fog); border-bottom: 1px solid var(--fog); padding: 0 var(--cs-gutter); }
.cs-sec-head { max-width: 780px; margin-bottom: 48px; }
.cs-more { margin-top: 40px; }

/* Type */
.cw-cs .cs-h1,
.cw-cs .cs-h2,
.cw-cs .cs-h2-sm,
.cw-cs .cs-ink h2 {
	font-family: var(--serif);
	font-weight: 400;
	letter-spacing: -.01em;
	color: var(--ink);
	margin: 0 0 20px;
}
.cw-cs .cs-h1 { font-size: clamp(44px, 6vw, 56px); line-height: 1.05; }
.cw-cs .cs-h1 span { color: var(--blue); }
.cw-cs .cs-h2,
.cw-cs .cs-ink h2 { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.1; }
.cw-cs .cs-h2-sm { font-size: 32px; line-height: 1.15; }
.cw-cs .cs-ink h2 { color: var(--paper); }
.cw-cs .cs-h3 { font-family: var(--sans); font-size: 20px; font-weight: 500; line-height: 1.35; margin: 0 0 10px; color: var(--ink); }
.cs-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.cs-eyebrow--grey { color: var(--graphite); }
.cs-eyebrow--light { color: rgba(250, 250, 248, .72); }
.cs-lead { font-size: 18px; line-height: 1.6; color: var(--graphite); max-width: 560px; margin: 0 0 8px; }
.cw-cs .cs-link { font-weight: 500; }

/* Buttons (pill) */
.cs-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cw-cs .cs-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 13px 26px; border-radius: 100px; font-weight: 500; font-size: 15px;
	border: 1px solid transparent; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.cw-cs .cs-btn-primary { background: var(--blue); color: #fff; }
.cw-cs .cs-btn-primary:hover { background: var(--blue-h); color: #fff; }
.cw-cs .cs-btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.cw-cs .cs-btn-ghost:hover { background: var(--sky); color: var(--blue-h); }
.cw-cs .cs-btn-cream { background: var(--paper); color: var(--ink); }
.cw-cs .cs-btn-cream:hover { background: #fff; color: var(--ink); }
.cw-cs .cs-btn-outline-light { border-color: rgba(250, 250, 248, .5); color: var(--paper); background: transparent; }
.cw-cs .cs-btn-outline-light:hover { border-color: var(--paper); color: var(--paper); }

/* Badges: Live (outline), Client confirmed (sky), Fully verified (solid blue) */
.cs-badge { display: inline-block; border-radius: 100px; padding: 5px 12px; font-size: 12px; font-weight: 500; line-height: 1.3; cursor: help; }
.cs-badge--live { border: 1px solid var(--ink); color: var(--ink); background: #fff; }
.cs-badge--client { background: var(--sky); color: var(--blue); border: 1px solid var(--sky); }
.cs-badge--full { background: var(--blue); color: #fff; border: 1px solid var(--blue); }
.cs-badge--abs { position: absolute; left: 16px; top: 16px; z-index: 2; }
.cs-hero-copy .cs-badge { margin-bottom: 18px; }

/* Chips */
.cs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-chip { display: inline-block; font-size: 12px; padding: 5px 10px; border-radius: 100px; background: var(--sky); color: var(--blue); font-weight: 500; }
.cs-chip--outline { background: #fff; color: var(--ink); border: 1px solid var(--fog); font-size: 14px; padding: 8px 16px; }
.cs-chips--lg { gap: 10px; }
.cs-sec-head .cs-chips { margin-top: 8px; }

/* Placeholder (design: diagonal hairlines) */
.cs-ph {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: repeating-linear-gradient(135deg, #FAFAF8 0 14px, #E4E3DE 14px 15px);
	font-size: 14px; color: var(--graphite); text-align: center; padding: 16px;
}

/* Animations */
.cs-rv { animation: cs-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes cs-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cs-js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.cs-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Cards (portfolio, related) ---------- */
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.cw-cs .cs-card { display: block; background: #fff; border: 1px solid var(--fog); border-radius: 20px; overflow: hidden; color: var(--ink); box-shadow: var(--shadow); animation: cs-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.cw-cs a.cs-card { transition: border-color .2s ease; }
.cw-cs a.cs-card:hover { border-color: var(--blue); color: var(--ink); }
.cs-zoom { overflow: hidden; }
.cs-zoom > * { transition: transform .5s ease; }
.cs-card:hover .cs-zoom > .cs-cover,
.cs-card:hover .cs-zoom > .cs-ph { transform: scale(1.04); }
.cs-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--paper); }
.cw-cs .cs-cover { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cs-card-body { padding: 28px; }
.cs-card-client { font-size: 20px; font-weight: 500; line-height: 1.3; }
.cs-card-city { font-size: 14px; color: var(--graphite); margin: 4px 0 14px; }
.cs-card-body .cs-chips { margin-bottom: 20px; }
.cs-cardmetric { border-top: 1px solid var(--fog); padding-top: 16px; }
.cs-cardmetric-v { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--blue); }
.cs-metric--text .cs-cardmetric-v { font-size: 32px; line-height: 1.1; }
.cs-cardmetric-l { font-size: 13px; color: var(--graphite); margin-top: 6px; }
.cs-readmore { margin-top: 20px; font-weight: 500; color: var(--blue); font-size: 15px; display: flex; gap: 8px; align-items: center; }

/* Featured card */
.cw-cs .cs-card--featured { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); margin-bottom: 20px; }
.cs-card--featured .cs-card-media { aspect-ratio: auto; min-height: 320px; }
.cs-card--featured .cs-cover,
.cs-card--featured .cs-ph { position: absolute; inset: 0; }
.cs-card--featured .cs-card-body { padding: 40px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.cs-card--featured .cs-card-client { font-size: 24px; }
.cs-card--featured .cs-card-body .cs-chips { margin-bottom: 0; }
.cs-card--featured .cs-cardmetric { border-top: 0; padding-top: 0; }
.cs-card--featured .cs-cardmetric-v { font-size: 72px; }
.cs-card--featured .cs-metric--text .cs-cardmetric-v,
.cs-card--featured.cs-metric--text .cs-cardmetric-v { font-size: 48px; }
.cs-card--featured .cs-readmore { margin-top: 0; }
.cs-card-top { display: flex; gap: 10px; align-items: center; }
.cs-kicker { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--graphite); }
.cs-cardloc { font-size: 14px; color: var(--graphite); display: flex; gap: 6px; align-items: center; }

/* ---------- Portfolio page ---------- */
.cw-cs .cs-phero { padding: 56px var(--cs-gutter) 48px; }
.cw-cs .cs-phero--compact { padding: 24px var(--cs-gutter) 16px; }
.cw-cs .cs-pgrid-sec { padding: 64px var(--cs-gutter) 96px; }
.cs-phero .cs-lead { margin-bottom: 40px; }
.cs-filters { display: flex; flex-direction: column; gap: 14px; }
.cs-frow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cs-flabel { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--graphite); width: 72px; }
.cw-cs .cs-fchip {
	font: 500 14px var(--sans); padding: 9px 18px; border-radius: 100px; cursor: pointer;
	background: #fff; color: var(--ink); border: 1px solid var(--fog); line-height: 1.3; transition: background-color .2s ease, color .2s ease;
}
.cw-cs .cs-fchip:hover { border-color: var(--ink); }
.cw-cs .cs-fchip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cs-counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-counter { padding: 28px 0 28px 24px; border-left: 1px solid var(--fog); }
.cs-counter-n { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--ink); }
.cs-counter-l { font-size: 13px; color: var(--graphite); margin-top: 6px; }
.cs-empty { padding: 64px 0; text-align: center; color: var(--graphite); font-size: 18px; }

/* ---------- Single case study ---------- */
.cs-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.cw-cs .cs-hero { padding: 72px var(--cs-gutter) 80px; }
.cs-hero-visual { position: relative; padding-bottom: 28px; }
.cs-browser { background: #fff; border: 1px solid var(--fog); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.cs-browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--fog); }
.cs-browser-bar i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--fog); background: #fff; display: block; }
.cs-browser-bar span { margin-left: 10px; flex: 1; max-width: 320px; font-size: 12px; color: var(--graphite); background: #fff; border: 1px solid var(--fog); border-radius: 100px; padding: 3px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-browser-view { position: relative; aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.cs-browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cs-phone { position: absolute; right: -8px; bottom: 0; width: 24%; min-width: 96px; border: 5px solid var(--ink); border-radius: 26px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.cs-phone img { width: 100%; aspect-ratio: 9 / 19; object-fit: cover; object-position: top center; }

.cs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.cs-fact { padding: 24px 20px 24px 24px; border-left: 1px solid var(--fog); }
.cs-fact dt { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--graphite); margin-bottom: 4px; }
.cs-fact dd { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.4; }

.cs-subnav { position: sticky; top: var(--cs-sticky-top, 0); z-index: 20; background: rgba(250, 250, 248, .94); border-bottom: 1px solid var(--fog); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cs-subnav-in { display: flex; gap: 8px; padding: 12px var(--cs-gutter); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.cs-subnav-in::-webkit-scrollbar { display: none; }
.cw-cs .cs-subnav a { font-size: 14px; font-weight: 500; color: var(--graphite); padding: 8px 16px; border-radius: 100px; transition: background-color .2s ease, color .2s ease; }
.cw-cs .cs-subnav a:hover { color: var(--ink); }
.cw-cs .cs-subnav a.is-active { background: var(--sky); color: var(--blue); }
.cs-single [id] { scroll-margin-top: 72px; }

/* Results */
.cs-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); row-gap: 40px; }
.cs-metric { padding: 4px 28px; border-left: 1px solid var(--line-on-ink); }
.cs-metric-v { font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--paper); margin-bottom: 12px; }
.cs-metric-l { font-size: 15px; color: rgba(250, 250, 248, .72); line-height: 1.45; }
.cs-source { margin: 48px 0 0; font-size: 13px; color: rgba(250, 250, 248, .64); }

/* Brief */
.cs-brief { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.cw-cs .cs-about { padding: 32px; }
.cs-about-mark { margin-bottom: 20px; }
.cs-monogram { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sky); color: var(--blue); font-family: var(--serif); font-size: 32px; line-height: 1; }
.cw-cs .cs-logo { max-height: 56px; width: auto; }
.cs-about p { color: var(--graphite); font-size: 15px; margin-bottom: 12px; }
.cs-pinline { display: flex; gap: 8px; align-items: flex-start; }
.cs-pinline svg { flex: none; margin-top: 3px; color: var(--blue); }
.cs-needs-list li { display: flex; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--fog); font-size: 18px; }
.cs-needs-list li:first-child { border-top: 1px solid var(--fog); }
.cs-num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--blue); flex: none; width: 64px; }

/* Delivered (bento) */
.cs-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.cw-cs .cs-bento-card { grid-column: span var(--span, 2); padding: 32px; }
.cs-bento-card p { color: var(--graphite); margin: 0; }
.cs-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); margin-bottom: 18px; }
.cs-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cs-planned { margin-top: 24px; padding: 18px 22px; border: 1px dashed var(--blue); border-radius: 20px; color: var(--graphite); background: #fff; }
.cs-planned strong { color: var(--ink); font-weight: 500; }

/* Before and after */
.cs-ba-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cs-js .cs-ba-pair { display: none; }
.cs-js .cs-ba-pair.is-on { display: block; }
.cs-ba-pair + .cs-ba-pair { margin-top: 32px; }
.cs-ba figcaption { margin-top: 16px; font-size: 15px; color: var(--graphite); }
.cs-compare { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--fog); background: var(--paper); box-shadow: var(--shadow); user-select: none; }
.cs-compare-img { position: absolute; inset: 0; }
.cs-compare-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cs-compare--single .cs-compare-img { position: static; }
.cs-compare-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.cs-compare-tag { position: absolute; top: 16px; z-index: 3; background: #fff; color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; border: 1px solid var(--fog); }
.cs-compare-tag--l { left: 16px; }
.cs-compare-tag--r { right: 16px; }
.cs-compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 44px; margin-left: -22px; z-index: 2; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.cs-compare-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; }
.cs-compare-handle svg { position: relative; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: #fff; color: var(--ink); border: 1px solid var(--fog); box-shadow: var(--shadow); }
.cs-compare-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }

/* Gallery */
.cs-gallery { column-count: 3; column-gap: 16px; }
.cw-cs .cs-gal-item { display: block; position: relative; margin-bottom: 16px; border-radius: 16px; overflow: hidden; border: 1px solid var(--fog); break-inside: avoid; background: #fff; cursor: zoom-in; }
.cs-gal-item img { width: 100%; height: auto; transition: transform .5s ease; }
.cs-gal-item:hover img { transform: scale(1.04); }
.cs-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(18, 20, 26, .94); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 56px 24px 24px; }
.cs-lb img { max-width: min(92vw, 1400px); max-height: 78vh; width: auto; height: auto; border-radius: 12px; background: #fff; }
.cs-lb-cap { color: rgba(250, 250, 248, .82); font-size: 15px; margin-top: 16px; text-align: center; max-width: 720px; }
.cs-lb button { position: absolute; background: rgba(250, 250, 248, .12); color: #fff; border: 1px solid rgba(250, 250, 248, .3); width: 44px; height: 44px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; }
.cs-lb button:hover { background: rgba(250, 250, 248, .24); }
.cs-lb-x { top: 16px; right: 16px; }
.cs-lb-prev { left: 16px; top: 50%; margin-top: -22px; }
.cs-lb-next { right: 16px; top: 50%; margin-top: -22px; }

/* Prose */
.cs-prose h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 40px 0 16px; line-height: 1.15; }
.cs-prose h3 { font-family: var(--sans); font-size: 20px; font-weight: 500; margin: 28px 0 10px; }
.cs-prose a { text-decoration: underline; text-underline-offset: 3px; }
.cs-prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }

/* Timeline */
.cs-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; counter-reset: s; }
.cs-step { position: relative; padding-top: 56px; }
.cs-step::before { content: ''; position: absolute; top: 20px; left: 40px; right: -24px; height: 1.5px; background: var(--fog); }
.cs-step:last-child::before { display: none; }
.cs-step-dot { position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.cs-step p { color: var(--graphite); margin: 0; font-size: 15px; }

/* Tools */
.cs-tech { display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.cs-tech .cs-h2-sm { margin: 0; }

/* Testimonial */
.cs-quote { position: relative; background: #fff; border: 1px solid var(--fog); border-radius: 20px; padding: 56px 56px 48px; box-shadow: var(--shadow); }
.cs-bg-white .cs-quote,
.cs-bg-paper .cs-quote { background: var(--sky); border-color: var(--sky); }
.cs-quote-mark { display: block; font-family: var(--serif); font-size: 120px; line-height: .6; color: var(--blue); height: 56px; }
.cs-quote blockquote p { font-family: var(--serif); font-size: 32px; line-height: 1.25; color: var(--ink); margin: 0; }
.cs-quote figcaption { display: flex; gap: 16px; align-items: center; margin-top: 28px; font-size: 15px; color: var(--graphite); line-height: 1.4; }
.cs-quote figcaption strong { color: var(--ink); font-weight: 500; }
.cw-cs .cs-quote-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* Closing CTA and floating button */
.cs-cta { max-width: 780px; text-align: center; }
.cw-cs .cs-cta h2 { font-size: clamp(36px, 5vw, 56px); }
.cs-cta p { color: rgba(250, 250, 248, .8); font-size: 18px; }
.cs-cta .cs-cta-row { justify-content: center; }
.cw-cs .cs-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; padding: 13px 24px; border-radius: 100px; background: var(--blue); color: #fff; font-weight: 500; font-size: 15px; box-shadow: var(--shadow); }
.cw-cs .cs-float:hover { background: var(--blue-h); color: #fff; }

/* Responsive */
@media (max-width: 960px) {
	.cs-hero-grid, .cs-brief { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.cw-cs .cs-hero { padding: 48px var(--cs-gutter) 56px; }
	.cs-gallery { column-count: 2; }
	.cw-cs .cs-card--featured { grid-template-columns: minmax(0, 1fr); }
	.cs-card--featured .cs-card-media { min-height: 240px; }
	.cs-card--featured .cs-card-body { padding: 28px; }
	.cs-card--featured .cs-cardmetric-v { font-size: 56px; }
	.cw-cs .cs-bento-card { grid-column: span 3; }
	.cw-cs .cs-bento-card:last-child:nth-child(odd) { grid-column: span 6; }
}

@media (max-width: 900px) {
	.cw-cs { --cs-gutter: 20px; }
	.cw-cs .cs-sec { padding: 64px var(--cs-gutter); }
	.cw-cs .cs-sec--tight { padding: 48px var(--cs-gutter); }
	.cw-cs .cs-pgrid-sec { padding: 48px var(--cs-gutter) 64px; }
	.cs-strip { padding: 0 var(--cs-gutter); }
}

@media (max-width: 640px) {
	.cs-counters { grid-template-columns: minmax(0, 1fr); }
	.cs-counter { padding: 18px 0 18px 20px; }
	.cs-flabel { width: 100%; }
	.cs-gallery { column-count: 1; }
	.cw-cs .cs-bento-card, .cw-cs .cs-bento-card:last-child:nth-child(odd) { grid-column: span 6; }
	.cs-metric { padding: 4px 20px; }
	.cs-needs-list li { gap: 14px; font-size: 17px; }
	.cs-num { width: 48px; font-size: 36px; }
	.cs-quote { padding: 40px 24px 32px; }
	.cs-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.cs-step { padding: 0 0 32px 60px; }
	.cs-step::before { top: 40px; bottom: 0; left: 19px; right: auto; width: 1.5px; height: auto; }
	.cw-cs .cs-float { right: 16px; bottom: 16px; }
	.cs-phone { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.cs-rv, .cw-cs .cs-card { animation: none; }
	.cs-js [data-reveal] { transition: none; opacity: 1; transform: none; }
	.cs-zoom > *, .cs-gal-item img { transition: none; }
}

/* Cards that reveal on scroll must not also run the load animation */
.cw-cs .cs-card[data-reveal] { animation: none; }
