/* ============================================
   Case studies — index + detail pages
   Extends the OZ Media design system (css/styles.css); no overrides of shared rules.
   ============================================ */

/* ---------- Hero ---------- */
.cs-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 56px 0 72px;
  background:
    radial-gradient(60% 80% at 82% 18%, rgba(203,31,44,0.26), transparent 62%),
    radial-gradient(40% 60% at 8% 100%, rgba(203,31,44,0.10), transparent 70%),
    #121212;
}
.cs-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; }
.cs-hero h1 { color: #fff; text-wrap: balance; font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.cs-hero .lede { color: #d6d6d6; max-width: 600px; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.cs-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; color: #e9e9e9;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
}
.cs-chip b { color: #fff; font-weight: 600; }

/* Fanned ad creatives (real client ads) */
.cs-fan { position: relative; aspect-ratio: 1 / 0.92; max-width: 520px; margin-left: auto; width: 100%; }
.cs-fan img {
  position: absolute; width: 58%; height: auto; border-radius: 14px;
  box-shadow: 0 30px 60px -18px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform .5s var(--ease-out);
}
.cs-fan img:nth-child(1) { left: 0;   top: 12%; transform: rotate(-8deg); z-index: 1; }
.cs-fan img:nth-child(2) { right: 0;  top: 6%;  transform: rotate(7deg);  z-index: 2; }
.cs-fan img:nth-child(3) { left: 21%; top: 30%; transform: rotate(-1.5deg); z-index: 3; width: 62%; }
.cs-fan:hover img:nth-child(1) { transform: rotate(-11deg) translateX(-10px); }
.cs-fan:hover img:nth-child(2) { transform: rotate(10deg) translateX(10px); }
.cs-fan:hover img:nth-child(3) { transform: rotate(-1.5deg) translateY(-8px) scale(1.02); }

/* ---------- Results strip ---------- */
.cs-stats-wrap { padding: 0; margin-top: -36px; position: relative; z-index: 4; }
.cs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cs-stat {
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03)), #141414;
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 26px 24px 22px; position: relative; overflow: hidden;
  box-shadow: 0 24px 50px -28px rgba(0,0,0,0.9);
}
.cs-stat::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--accent), rgba(203,31,44,0)); }
.cs-stat .num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; color: #fff; }
.cs-stat .num small { font-size: 0.5em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.cs-stat .lbl { display: block; margin-top: 10px; font-size: 0.9rem; font-weight: 600; color: #e6e6e6; }
.cs-stat .note { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--muted); line-height: 1.45; }

/* ---------- Article body ---------- */
.cs-body { padding: 72px 0 24px; }
.cs-body section, section.cs-block { padding: 56px 0; }
.cs-narrow { max-width: 760px; }
.cs-body h2, .cs-block h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 18px; text-wrap: balance; }
.cs-body .cs-eyebrow, .cs-eyebrow {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.cs-prose p { font-size: 1.05rem; line-height: 1.75; color: #c4c4c4; }
.cs-prose strong { color: #fff; font-weight: 600; }
.cs-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cs-prose a:hover { color: #fff; }
.cs-callout {
  margin: 28px 0; padding: 22px 26px; border-radius: var(--radius);
  border: 1px solid var(--glass-border); border-left: 3px solid var(--accent);
  background: var(--glass-bg); font-size: 1.12rem; line-height: 1.6; color: #f0f0f0; font-weight: 500;
}
.cs-callout strong { color: #fff; }

.cs-overview { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: start; }
.cs-snapshot { position: sticky; top: 96px; padding: 28px; }
.cs-snapshot .cs-client { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.cs-snapshot .cs-client img { width: 60px; height: 60px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.12); }
.cs-snapshot .cs-client strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.2; }
.cs-snapshot .cs-client span { font-size: 0.82rem; color: var(--muted); }
.cs-snapshot dl { margin: 0; display: grid; gap: 14px; }
.cs-snapshot dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.cs-snapshot dd { margin: 0; font-size: 0.93rem; color: #d8d8d8; line-height: 1.5; }
.cs-snapshot:hover { transform: none; }

/* Ideal customer tiles */
.cs-icp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 8px; }
.cs-icp div {
  padding: 18px 16px; border-radius: var(--radius-sm); background: var(--glass-bg);
  border: 1px solid var(--glass-border); font-size: 0.9rem; font-weight: 600; color: #fff; line-height: 1.35;
}
.cs-icp div span { display: block; margin-bottom: 8px; color: var(--accent); }
.cs-icp svg { width: 22px; height: 22px; display: block; }
.cs-icp-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 24px; }

/* Funnel steps */
.cs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 30px 0 10px; counter-reset: cs; }
.cs-step {
  position: relative; padding: 26px 26px 26px 26px; border: 1px solid var(--glass-border);
  background: var(--glass-bg); counter-increment: cs;
}
.cs-step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.cs-step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.cs-step + .cs-step { border-left: 0; }
.cs-step::before {
  content: "0" counter(cs); display: block; font-family: var(--font-head); font-weight: 800; font-size: 0.85rem;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 10px;
}
.cs-step:not(:last-child)::after {
  content: ""; position: absolute; right: -11px; top: 50%; width: 22px; height: 22px; z-index: 2;
  transform: translateY(-50%) rotate(45deg); background: #1a1a1a;
  border-top: 1px solid var(--glass-border); border-right: 1px solid var(--glass-border);
}
.cs-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cs-step p { font-size: 0.92rem; margin: 0; line-height: 1.6; }

/* Lead-form split with mock */
.cs-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.cs-list { margin: 18px 0 24px; display: grid; gap: 10px; }
.cs-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: #d2d2d2; line-height: 1.55; }
.cs-list li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.cs-mock {
  max-width: 380px; margin: 0 auto; width: 100%; border-radius: 28px; padding: 22px 20px 24px;
  background: linear-gradient(180deg, #1c1c1c, #131313); border: 1px solid var(--glass-border);
  box-shadow: 0 40px 70px -30px rgba(0,0,0,0.9), 0 0 0 6px rgba(255,255,255,0.03), 0 0 80px -30px rgba(203,31,44,0.55);
  transform: rotate(1.5deg);
}
.cs-mock-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.cs-mock-head img { width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.cs-mock-head strong { display: block; font-size: 0.85rem; color: #fff; line-height: 1.2; }
.cs-mock-head span { font-size: 0.72rem; color: var(--muted); }
.cs-mock-field { margin-bottom: 12px; }
.cs-mock-field small { display: block; font-size: 0.72rem; font-weight: 600; color: #cfcfcf; margin-bottom: 5px; }
.cs-mock-field i {
  display: flex; justify-content: space-between; align-items: center; font-style: normal;
  padding: 10px 12px; border-radius: 9px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  font-size: 0.8rem; color: #9a9a9a;
}
.cs-mock-field i::after { content: ""; width: 7px; height: 7px; border-right: 2px solid #777; border-bottom: 2px solid #777; transform: rotate(45deg) translateY(-2px); }
.cs-mock-btn { margin-top: 16px; text-align: center; padding: 12px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; font-size: 0.85rem; }
.cs-mock-cap { text-align: center; margin: 18px 0 0; font-size: 0.78rem; color: var(--muted); }

/* CRM flow chips */
.cs-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0; }
.cs-flow span {
  padding: 10px 16px; border-radius: 10px; font-size: 0.88rem; font-weight: 600; color: #fff;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
}
.cs-flow span.hl { background: rgba(203,31,44,0.16); border-color: rgba(203,31,44,0.5); }
.cs-flow i { font-style: normal; color: var(--accent); font-weight: 700; }
.cs-flow-old span { color: #b8b8b8; font-weight: 500; }
.cs-flow-old i { color: #777; }
.cs-flow-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 26px 0 -10px; }

/* ---------- Results ---------- */
.cs-results-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 32px 0 20px; }
.cs-compare { padding: 28px; }
.cs-compare:hover { transform: none; }
.cs-compare h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; color: var(--muted); }
.cs-compare.after h3 { color: var(--accent); }
.cs-compare.after { border-color: rgba(203,31,44,0.4); background: linear-gradient(180deg, rgba(203,31,44,0.10), rgba(255,255,255,0.03)); }
.cs-compare ul { display: grid; gap: 16px; }
.cs-compare li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: #cfcfcf; }
.cs-compare li:last-child { border: 0; padding: 0; }
.cs-compare li strong { color: #fff; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; text-align: right; white-space: nowrap; }
.cs-compare li em { display: block; font-size: 0.72rem; font-style: normal; color: var(--muted); font-weight: 400; margin-top: 2px; }

.cs-bars { margin: 8px 0 8px; display: grid; gap: 14px; }
.cs-bar { display: grid; grid-template-columns: 150px 1fr 70px; gap: 14px; align-items: center; font-size: 0.85rem; color: #cfcfcf; }
.cs-bar .track { height: 12px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.cs-bar .fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #6b6b6b, #9a9a9a); }
.cs-bar.now .fill { background: linear-gradient(90deg, var(--accent-dark), var(--accent)); }
.cs-bar b { color: #fff; text-align: right; font-family: var(--font-head); }

.cs-table-wrap { overflow-x: auto; margin: 22px 0 10px; border: 1px solid var(--glass-border); border-radius: var(--radius); }
.cs-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.92rem; }
.cs-table th, .cs-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.cs-table tr:last-child td { border-bottom: 0; }
.cs-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; background: rgba(255,255,255,0.03); }
.cs-table td { color: #d8d8d8; }
.cs-table td strong { color: #fff; }
.cs-source { font-size: 0.8rem; color: var(--muted); line-height: 1.6; margin: 12px 0 0; }
.cs-source strong { color: #d0d0d0; }

/* ---------- Creative gallery (scroll-snap, like an Instagram carousel) ---------- */
.cs-gallery-wrap { position: relative; }
.cs-gallery {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 24px 26px;
  margin: 0 -24px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent;
  -webkit-overflow-scrolling: touch; scroll-padding-inline: 24px;
}
.cs-gallery figure { flex: 0 0 min(320px, 78vw); margin: 0; scroll-snap-align: start; }
.cs-gallery img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; box-shadow: 0 24px 46px -24px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.08); }
.cs-gallery figcaption { margin-top: 12px; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.cs-gallery figcaption b { color: #ddd; font-weight: 600; }
.cs-gallery:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.cs-swipe-hint { font-size: 0.78rem; color: var(--muted); margin: 0; letter-spacing: 0.04em; }

/* ---------- Testimonial ---------- */
.cs-quote {
  position: relative; padding: 52px 56px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(70% 90% at 100% 0%, rgba(203,31,44,0.22), transparent 65%), #151515;
  border: 1px solid var(--glass-border);
}
.cs-quote::before {
  content: "\201C"; position: absolute; left: 34px; top: -28px; font-family: Georgia, serif; font-size: 12rem; line-height: 1;
  color: rgba(203,31,44,0.28); pointer-events: none;
}
.cs-quote blockquote { margin: 0; position: relative; }
.cs-quote .lead { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; font-weight: 500; color: #fff; font-style: italic; margin-bottom: 18px; }
.cs-quote blockquote p { color: #cfcfcf; font-size: 1rem; line-height: 1.75; font-style: italic; }
.cs-quote cite { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-style: normal; }
.cs-quote cite img { width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.12); }
.cs-quote cite strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1rem; }
.cs-quote cite span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Approach grid ---------- */
.cs-approach { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin: 22px 0; }
.cs-approach li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: #d2d2d2; line-height: 1.5; padding: 14px 16px; border-radius: 10px; background: var(--glass-bg); border: 1px solid var(--glass-border); }
.cs-approach li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }

/* ---------- Index page ---------- */
.cs-index-hero { padding: 64px 0 56px; }
.cs-index-hero h1 { max-width: 780px; text-wrap: balance; }
.cs-index-hero .lede { color: #cfcfcf; }
.cs-feature {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 0; overflow: hidden;
  border-radius: 22px; border: 1px solid var(--glass-border); background: var(--glass-bg);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s ease;
}
.cs-feature:hover { transform: translateY(-6px); box-shadow: 0 26px 56px -22px rgba(203,31,44,0.4); border-color: rgba(203,31,44,0.4); }
.cs-feature .art { position: relative; min-height: 340px; background: #121212; }
.cs-feature .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-feature .art .badge {
  position: absolute; left: 20px; top: 20px; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  border-radius: 999px; background: rgba(18,18,18,0.82); border: 1px solid var(--glass-border); backdrop-filter: blur(8px);
  font-size: 0.78rem; font-weight: 600; color: #fff;
}
.cs-feature .art .badge img { position: static; width: 30px; height: 30px; border-radius: 50%; background: #fff; }
.cs-feature .txt { padding: 44px 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.cs-feature .txt h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.cs-feature .txt h2 a:hover { color: var(--accent); }
.cs-feature .txt p { font-size: 0.98rem; line-height: 1.7; }
.cs-mini-stats { display: flex; flex-wrap: wrap; gap: 26px; margin: 8px 0 26px; }
.cs-mini-stats strong { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.1; }
.cs-mini-stats span { font-size: 0.78rem; color: var(--muted); }
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cs-tags span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--glass-border); color: #d0d0d0; background: var(--glass-bg); }
.cs-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cs-principles .card h3 { font-size: 1.1rem; }
.cs-principles .card p { font-size: 0.93rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cs-hero-grid, .cs-overview, .cs-split, .cs-feature { grid-template-columns: minmax(0, 1fr); }
  .cs-hero-grid { gap: 36px; }
  .cs-fan { margin: 0 auto; max-width: 440px; }
  .cs-snapshot { position: static; }
  .cs-stats { grid-template-columns: repeat(2, 1fr); }
  .cs-icp { grid-template-columns: repeat(2, 1fr); }
  .cs-principles { grid-template-columns: 1fr; }
  .cs-feature .art { min-height: 260px; }
}
@media (max-width: 720px) {
  .cs-hero { padding: 36px 0 60px; }
  .cs-body { padding-top: 48px; }
  .cs-body section, section.cs-block { padding: 40px 0; }
  .cs-steps { grid-template-columns: 1fr; }
  .cs-step:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .cs-step:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .cs-step + .cs-step { border-left: 1px solid var(--glass-border); border-top: 0; }
  .cs-step:not(:last-child)::after { right: auto; left: 40px; top: auto; bottom: -11px; transform: rotate(135deg); }
  .cs-results-panel, .cs-approach { grid-template-columns: minmax(0, 1fr); }
  .cs-compare { padding: 22px 20px; }
  .cs-compare li strong { white-space: normal; }
  .cs-bar { grid-template-columns: 1fr 64px; }
  .cs-bar .track { grid-column: 1 / -1; grid-row: 2; }
  .cs-quote { padding: 40px 26px 32px; }
  .cs-quote::before { font-size: 8rem; left: 16px; top: -14px; }
  .cs-feature .txt { padding: 30px 24px; }
  .cs-mock { transform: none; }
}
@media (max-width: 460px) {
  .cs-stats { grid-template-columns: 1fr; }
  .cs-stats-wrap { margin-top: -28px; }
  .cs-icp { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-fan img, .cs-feature { transition: none; }
  .cs-fan:hover img:nth-child(n) { transform: none; }
}

/* ============================================
   Case studies landing page (/case-studies)
   ============================================ */
.csl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.csl-hero h1 { max-width: 720px; }
.csl-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; }
.csl-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: #d2d2d2; }
.csl-trust svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* Glass "latest result" card in the hero */
.csl-snap {
  position: relative; padding: 28px; border-radius: 22px; max-width: 440px; margin-left: auto; width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)), #151515;
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 80px -36px rgba(0,0,0,0.95), 0 0 90px -40px rgba(203,31,44,0.7);
  transform: rotate(1.2deg); transition: transform .4s var(--ease-out);
}
.csl-snap:hover { transform: rotate(0deg) translateY(-4px); }
.csl-snap-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.csl-snap-client { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600; color: #fff; }
.csl-snap-client img { width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.csl-pill { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(203,31,44,0.5); background: rgba(203,31,44,0.12); white-space: nowrap; }
.csl-snap-label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.csl-snap-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.csl-snap-big s { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: #7d7d7d; text-decoration-thickness: 2px; }
.csl-snap-big strong { font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.csl-snap-big span { font-size: 0.85rem; color: var(--muted); }
.csl-snap-bars { display: flex; align-items: flex-end; gap: 12px; height: 96px; margin-bottom: 20px; padding-top: 22px; border-bottom: 1px solid var(--border); }
.csl-snap-bars i { flex: 1; display: block; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #5c5c5c, #3a3a3a); position: relative; }
.csl-snap-bars i.now { background: linear-gradient(180deg, var(--accent), var(--accent-dark)); box-shadow: 0 0 24px -4px rgba(203,31,44,0.7); }
.csl-snap-bars i::after { content: attr(data-l); position: absolute; left: 0; right: 0; top: -20px; text-align: center; font-style: normal; font-size: 0.68rem; font-weight: 600; color: #cfcfcf; }
.csl-snap-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.82rem; color: var(--muted); }
.csl-snap-foot a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.csl-snap-foot a { white-space: nowrap; }
.csl-snap-foot a svg { width: 15px; height: 15px; flex: none; }
.csl-snap-foot a:hover { color: var(--accent); }

/* "What we measure" tiles */
.csl-measure { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.csl-measure .card { padding: 26px 24px; }
.csl-measure .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(203,31,44,0.14); color: var(--accent); margin-bottom: 16px; }
.csl-measure .icon svg { width: 22px; height: 22px; }
.csl-measure h3 { font-size: 1.05rem; margin-bottom: 8px; }
.csl-measure p { font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* Section head with filter toolbar */
.csl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.csl-head h2 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.csl-head .cs-eyebrow { margin-bottom: 8px; }
.csl-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.csl-filters button {
  font: inherit; font-size: 0.8rem; font-weight: 600; cursor: pointer; color: #d6d6d6; padding: 8px 16px; border-radius: 999px;
  background: var(--glass-bg); border: 1px solid var(--glass-border); transition: background .2s, border-color .2s, color .2s;
}
.csl-filters button:hover { border-color: rgba(203,31,44,0.5); color: #fff; }
.csl-filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Card grid */
.csl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.csl-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; border: 1px solid var(--glass-border); background: var(--glass-bg);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s ease;
}
.csl-card:hover { transform: translateY(-6px); border-color: rgba(203,31,44,0.4); box-shadow: 0 26px 50px -24px rgba(203,31,44,0.45); }
.csl-card[hidden] { display: none; }
.csl-card .art { position: relative; display: block; aspect-ratio: 16 / 10; background: #121212; overflow: hidden; }
.csl-card .art > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.csl-card:hover .art > img { transform: scale(1.05); }
.csl-card .art .badge {
  position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px;
  background: rgba(18,18,18,0.85); border: 1px solid var(--glass-border); backdrop-filter: blur(8px); font-size: 0.74rem; font-weight: 600; color: #fff;
}
.csl-card .art .badge img { width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.csl-card .body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.csl-card h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 10px; }
.csl-card h3 a:hover { color: var(--accent); }
.csl-card p { font-size: 0.9rem; line-height: 1.65; margin-bottom: 18px; }
.csl-card .cs-mini-stats { margin: 0 0 20px; gap: 22px; padding-top: 16px; border-top: 1px solid var(--border); }
.csl-card .cs-mini-stats strong { font-size: 1.3rem; }
.csl-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: #fff; }
.csl-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.csl-card:hover .csl-more { color: var(--accent); }
.csl-card:hover .csl-more svg { transform: translateX(4px); }

/* "Your business could be next" card */
.csl-next {
  align-items: center; justify-content: center; text-align: center; padding: 40px 30px;
  border: 1.5px dashed rgba(255,255,255,0.22); background: radial-gradient(80% 60% at 50% 0%, rgba(203,31,44,0.14), transparent 70%), transparent;
}
.csl-next .plus { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: rgba(203,31,44,0.16); color: var(--accent); }
.csl-next .plus svg { width: 24px; height: 24px; }
.csl-next h3 { font-size: 1.2rem; }
.csl-next p { max-width: 280px; }

/* Featured card on the landing page (extends .cs-feature) */
.cs-feature .txt .cs-eyebrow { margin-bottom: 14px; }
.cs-feature .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 60%, rgba(21,21,21,0.55)); pointer-events: none; }

/* Process */
.csl-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: p; position: relative; }
.csl-process li { position: relative; padding: 0 26px 0 0; counter-increment: p; }
.csl-process li::before {
  content: counter(p); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 20px;
  font-family: var(--font-head); font-weight: 800; color: #fff; background: var(--accent); box-shadow: 0 0 0 6px rgba(203,31,44,0.16);
  position: relative; z-index: 1;
}
.csl-process li:not(:last-child)::after { content: ""; position: absolute; left: 52px; right: 8px; top: 22px; height: 2px; background: linear-gradient(90deg, rgba(203,31,44,0.6), rgba(255,255,255,0.08)); }
.csl-process h3 { font-size: 1.05rem; margin-bottom: 8px; }
.csl-process p { font-size: 0.9rem; line-height: 1.65; margin: 0; }

@media (max-width: 1080px) {
  .csl-measure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .csl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .csl-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .csl-snap { margin: 0 auto; transform: none; }
  .csl-process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .csl-process li:nth-child(2)::after { display: none; }
}
@media (max-width: 640px) {
  .csl-measure, .csl-grid, .csl-process { grid-template-columns: minmax(0, 1fr); }
  .csl-process li:not(:last-child)::after { display: none; }
  .csl-process li { padding-right: 0; }
  .csl-head { align-items: flex-start; }
  .csl-snap { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .csl-snap, .csl-card, .csl-card .art > img { transition: none; }
  .csl-snap:hover, .csl-card:hover, .csl-card:hover .art > img { transform: none; }
}

/* Placeholder card fills the row: side-by-side when there is a single study, full-width in the 2-column layout */
@media (min-width: 1081px) {
  .csl-grid > .csl-card:first-child:nth-last-child(2) + .csl-next { grid-column: span 2; flex-direction: row; text-align: left; gap: 32px; padding: 40px 48px; }
  .csl-grid > .csl-card:first-child:nth-last-child(2) + .csl-next p { max-width: 420px; }
}
@media (min-width: 641px) and (max-width: 1080px) {
  .csl-next { grid-column: 1 / -1; }
}
