/*
|--------------------------------------------------------------------------
| Clickin — IT & CCTV SOLUTION Case Study (v5, lean SaaS)
| Scoped to #it-cctv-case-study. System fonts, global theme tokens,
| one radius system, solid inner accents, identical outer sections.
|--------------------------------------------------------------------------
*/

#it-cctv-case-study {
    --r: 12px;          /* cards, panels, images  */
    --r-sm: 8px;        /* buttons, chips, tags   */
    --bd: var(--color-border, rgba(127, 127, 127, .22));
    --bd-hover: var(--color-border-hover, rgba(127, 127, 127, .4));
    --soft: color-mix(in srgb, var(--color-heading) 4%, transparent);
    --container: var(--container-width, 1180px);
    --pad-x: var(--container-padding-x, 20px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --ease-out: cubic-bezier(.22, 1, .36, 1);

    /* text-safe accents (dark) */
    --c1: #9d85ff; --c2: #60a5fa; --c3: #4ade80; --c4: #fbbf24; --c5: #fb7185; --c6: #2dd4bf;
    /* solid fills (white text, identical in every theme) */
    --s1: #6d4aff; --s2: #2563eb; --s3: #15803d; --s4: #b45309; --s5: #e11d48; --s6: #0f766e;

    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: var(--color-primary);
    background: var(--color-bg);
    overflow: clip;
}

[data-theme="light"] #it-cctv-case-study {
    --bd: var(--color-border, rgba(20, 20, 40, .12));
    --c1: #6d4aff; --c2: #2563eb; --c3: #15803d; --c4: #b45309; --c5: #e11d48; --c6: #0f766e;
}

#it-cctv-case-study *,
#it-cctv-case-study *::before,
#it-cctv-case-study *::after { box-sizing: border-box; font-family: inherit; }

#it-cctv-case-study a { color: inherit; }
#it-cctv-case-study img { display: block; max-width: 100%; }
#it-cctv-case-study :is(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; padding: 0; }
#it-cctv-case-study :is(ul, ol) { list-style: none; }
#it-cctv-case-study :is(h1, h2, h3) { color: var(--color-heading); font-weight: 600; }
#it-cctv-case-study p { color: var(--color-secondary); }
#it-cctv-case-study :focus-visible { outline: 2px solid var(--c1); outline-offset: 3px; border-radius: 4px; }

#it-cctv-case-study .cs-container {
    max-width: var(--container);
    width: 100%;
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

/* colors by position */
#it-cctv-case-study :is(.cs-gauges, .cs-challenges, .cs-tech, .cs-outcomes, .cs-steps, .cs-hero-proof) > :nth-child(6n+1) { --c: var(--c1); --s: var(--s1); }
#it-cctv-case-study :is(.cs-gauges, .cs-challenges, .cs-tech, .cs-outcomes, .cs-steps, .cs-hero-proof) > :nth-child(6n+2) { --c: var(--c2); --s: var(--s2); }
#it-cctv-case-study :is(.cs-gauges, .cs-challenges, .cs-tech, .cs-outcomes, .cs-steps, .cs-hero-proof) > :nth-child(6n+3) { --c: var(--c3); --s: var(--s3); }
#it-cctv-case-study :is(.cs-gauges, .cs-challenges, .cs-tech, .cs-outcomes, .cs-steps, .cs-hero-proof) > :nth-child(6n+4) { --c: var(--c4); --s: var(--s4); }
#it-cctv-case-study :is(.cs-gauges, .cs-challenges, .cs-tech, .cs-outcomes, .cs-steps, .cs-hero-proof) > :nth-child(6n+5) { --c: var(--c5); --s: var(--s5); }
#it-cctv-case-study :is(.cs-gauges, .cs-challenges, .cs-tech, .cs-outcomes, .cs-steps, .cs-hero-proof) > :nth-child(6n+6) { --c: var(--c6); --s: var(--s6); }

/* ---------- Sections: same outer background everywhere ---------- */
#it-cctv-case-study .cs-section,
#it-cctv-case-study .cs-section-alt,
#it-cctv-case-study .cs-final {
    padding: 56px 0;
    background: var(--color-bg);
}

#it-cctv-case-study .cs-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 28px;
}

#it-cctv-case-study .cs-head h2 { max-width: 680px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.02em; }
#it-cctv-case-study .cs-head > p { font-size: 15px; line-height: 1.7; }

#it-cctv-case-study .cs-label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--c1); }

/* ---------- Buttons: reference size (38px / 8px 18px / 14px / 8px radius) ---------- */
#it-cctv-case-study .cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    max-width: 100%;
    padding: 8px 18px;
    border: 1px solid var(--bd);
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}

#it-cctv-case-study .cs-btn-primary {
    background: var(--color-button-primary-bg, var(--color-heading));
    border-color: var(--color-button-primary-bg, var(--color-heading));
    color: var(--color-button-primary-text, var(--color-bg));
}
#it-cctv-case-study .cs-btn-primary:hover { background: var(--color-button-primary-hover-bg, var(--color-button-primary-bg, var(--color-heading))); opacity: .9; }

#it-cctv-case-study .cs-btn-ghost { background: transparent; color: var(--color-secondary); }
#it-cctv-case-study .cs-btn-ghost:hover { border-color: var(--bd-hover); color: var(--color-heading); }

/* ---------- Hero ---------- */
#it-cctv-case-study .cs-hero { padding: 124px 0 40px; background: var(--color-bg); }

#it-cctv-case-study .cs-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    color: var(--color-muted);
    font-size: 12px;
}
#it-cctv-case-study .cs-breadcrumb a { text-decoration: none; }
#it-cctv-case-study .cs-breadcrumb a:hover { color: var(--color-heading); }

#it-cctv-case-study .cs-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}

#it-cctv-case-study .cs-hero-copy h1 { margin-bottom: 16px; font-size: 40px; font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
#it-cctv-case-study .cs-hero-lead { max-width: 540px; margin-bottom: 24px; font-size: 16px; line-height: 1.7; }

#it-cctv-case-study .cs-hero-actions,
#it-cctv-case-study .cs-final-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* stat strip */
#it-cctv-case-study .cs-hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 32px;
    border: 1px solid var(--bd);
    border-radius: var(--r);
    background: var(--bd);
    overflow: hidden;
}

#it-cctv-case-study .cs-hero-proof li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
    background: var(--color-surface);
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.35;
}

#it-cctv-case-study .cs-hero-proof strong { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; color: var(--c); }

#it-cctv-case-study .cs-hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}
#it-cctv-case-study .cs-hero-meta dt { font-size: 12px; color: var(--color-muted); }
#it-cctv-case-study .cs-hero-meta dd { margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--color-heading); line-height: 1.4; }

/* hero image: soft frame */
#it-cctv-case-study .cs-frame {
    display: block;
    padding: 6px;
    border: 1px solid var(--bd);
    border-radius: var(--r);
    background: var(--color-surface);
    text-decoration: none;
}

#it-cctv-case-study .cs-browser-bar {
    display: grid;
    grid-template-columns: 48px 1fr 20px;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 10px;
    color: var(--color-muted);
    font-size: 11px;
}
#it-cctv-case-study .cs-browser-bar > span { text-align: center; }
#it-cctv-case-study .cs-browser-bar b { text-align: right; font-weight: 600; }
#it-cctv-case-study .cs-browser-dots { display: flex; gap: 5px; }
#it-cctv-case-study .cs-browser-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-muted); opacity: .4; }

#it-cctv-case-study .cs-browser-image {
    overflow: hidden;
    border: 1px solid var(--bd);
    border-radius: var(--r-sm);
    background: var(--color-bg);
}
#it-cctv-case-study .cs-browser-image img { width: 100%; height: auto; object-fit: contain; }

/* ---------- Hairline grids (shared) ---------- */
#it-cctv-case-study :is(.cs-gauges, .cs-challenges, .cs-tech, .cs-outcomes) {
    display: grid;
    gap: 1px;
    border: 1px solid var(--bd);
    border-radius: var(--r);
    background: var(--bd);
    overflow: hidden;
}

#it-cctv-case-study .cs-challenges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#it-cctv-case-study .cs-tech { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#it-cctv-case-study .cs-outcomes { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }

#it-cctv-case-study :is(.cs-challenges article, .cs-tech li, .cs-outcomes article) { background: var(--color-surface); }

/* ---------- Score panel (original six scores) ---------- */
#it-cctv-case-study .cs-gauges { grid-template-columns: repeat(6, minmax(0, 1fr)); }

#it-cctv-case-study .cs-gauge { display: flex; flex-direction: column; align-items: center; padding: 24px 8px 20px; background: var(--color-surface); text-align: center; }

#it-cctv-case-study .cs-ring { position: relative; width: 84px; height: 84px; margin-bottom: 14px; }
#it-cctv-case-study .cs-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
#it-cctv-case-study .cs-ring circle { fill: none; stroke-width: 6; stroke-linecap: round; }
#it-cctv-case-study .cs-ring-bg { stroke: color-mix(in srgb, var(--c) 16%, transparent); }
#it-cctv-case-study .cs-ring-fg { stroke: var(--c); stroke-dasharray: var(--v) 100; transition: stroke-dasharray 1.5s var(--ease-out) calc(var(--i, 0) * 120ms + 150ms); }
#it-cctv-case-study.is-armed .cs-ring-fg { stroke-dasharray: 0 100; }
#it-cctv-case-study.is-armed .cs-gauges.is-in .cs-ring-fg { stroke-dasharray: var(--v) 100; }
#it-cctv-case-study .cs-ring strong { position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; font-weight: 600; letter-spacing: -.03em; color: var(--c); font-variant-numeric: tabular-nums; }

#it-cctv-case-study .cs-gauge h3 { font-size: 13px; line-height: 1.3; }
#it-cctv-case-study .cs-gauge span { margin-top: 3px; font-size: 11px; color: var(--color-muted); }

/* ---------- Cards ---------- */
#it-cctv-case-study .cs-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

#it-cctv-case-study .cs-card {
    padding: 28px;
    border: 1px solid var(--bd);
    border-radius: var(--r);
    background: var(--color-surface);
}
#it-cctv-case-study .cs-card h3 { margin-bottom: 10px; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
#it-cctv-case-study .cs-card p { font-size: 14px; line-height: 1.7; }

#it-cctv-case-study .cs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
#it-cctv-case-study .cs-chips span {
    padding: 6px 11px;
    border: 1px solid var(--bd);
    border-radius: var(--r-sm);
    background: var(--soft);
    color: var(--color-secondary);
    font-size: 12px;
    line-height: 1.3;
}
#it-cctv-case-study .cs-chips-sm { margin-top: 16px; }
#it-cctv-case-study .cs-chips-sm span { font-size: 11px; }

#it-cctv-case-study .cs-card-business .cs-chips span:nth-child(3n+1) { color: var(--c1); }
#it-cctv-case-study .cs-card-business .cs-chips span:nth-child(3n+2) { color: var(--c2); }
#it-cctv-case-study .cs-card-business .cs-chips span:nth-child(3n+3) { color: var(--c3); }

/* hairline cell content */
#it-cctv-case-study :is(.cs-challenges article, .cs-tech li, .cs-outcomes article) { padding: 24px; }
#it-cctv-case-study :is(.cs-challenges article, .cs-outcomes article)::before {
    content: "";
    display: block;
    width: 20px;
    height: 4px;
    margin-bottom: 16px;
    border-radius: 2px;
    background: var(--s);
}
#it-cctv-case-study :is(.cs-challenges, .cs-outcomes) h3 { margin-bottom: 6px; font-size: 15px; }
#it-cctv-case-study :is(.cs-challenges, .cs-outcomes) p { font-size: 13px; line-height: 1.65; }

#it-cctv-case-study .cs-tech strong { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--color-heading); }
#it-cctv-case-study .cs-tech strong::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--s); }
#it-cctv-case-study .cs-tech span { display: block; padding-left: 17px; font-size: 12px; line-height: 1.6; color: var(--color-muted); }

/* before / after */
#it-cctv-case-study .cs-ba { display: grid; grid-template-columns: 1fr 32px 1fr; align-items: stretch; gap: 12px; margin-top: 16px; }
#it-cctv-case-study .cs-ba-card { padding: 24px; border: 1px solid var(--bd); border-radius: var(--r); background: var(--color-surface); }
#it-cctv-case-study .cs-ba-tag { display: inline-block; padding: 4px 10px; border-radius: var(--r-sm); font-size: 11px; font-weight: 600; color: #fff; }
#it-cctv-case-study .cs-ba > .cs-ba-card:first-child .cs-ba-tag { background: var(--s4); }
#it-cctv-case-study .cs-ba > .cs-ba-card:last-child .cs-ba-tag { background: var(--s3); }
#it-cctv-case-study .cs-ba-card h3 { margin: 12px 0 6px; font-size: 16px; }
#it-cctv-case-study .cs-ba-card p { font-size: 13px; line-height: 1.65; }
#it-cctv-case-study .cs-ba-arrow { display: grid; place-items: center; color: var(--color-muted); }

/* ---------- Bento ---------- */
#it-cctv-case-study .cs-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }

#it-cctv-case-study .cs-tile { grid-column: span 2; padding: 28px; border: 1px solid var(--bd); border-radius: var(--r); background: var(--color-surface); }
#it-cctv-case-study .cs-tile-wide { grid-column: span 3; }
#it-cctv-case-study .cs-tile h3 { margin-bottom: 8px; font-size: 17px; letter-spacing: -.01em; }
#it-cctv-case-study .cs-tile p { font-size: 13px; line-height: 1.7; }

#it-cctv-case-study .cs-tile-accent { background: var(--s1); border-color: var(--s1); }
#it-cctv-case-study .cs-bento > .cs-tile:nth-child(5) { background: var(--s3); border-color: var(--s3); }
#it-cctv-case-study :is(.cs-tile-accent, .cs-bento > .cs-tile:nth-child(5)) h3 { color: #fff; }
#it-cctv-case-study :is(.cs-tile-accent, .cs-bento > .cs-tile:nth-child(5)) p { color: rgba(255, 255, 255, .88); }

#it-cctv-case-study .cs-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
#it-cctv-case-study .cs-actions li { padding: 6px 12px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .18); color: #fff; font-size: 12px; font-weight: 600; }

/* ---------- Duo variants ---------- */
#it-cctv-case-study .cs-duo-seo { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch; }

/* ---------- Quote / CTA ---------- */
#it-cctv-case-study .cs-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
#it-cctv-case-study .cs-stars { display: flex; gap: 3px; color: #f59e0b; }
#it-cctv-case-study .cs-quote blockquote p { font-size: 17px; line-height: 1.65; font-weight: 500; letter-spacing: -.01em; color: var(--color-heading); }

#it-cctv-case-study .cs-quote figcaption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding-top: 18px;
    border-top: 1px solid var(--bd);
    font-size: 12px;
    color: var(--color-muted);
}
#it-cctv-case-study .cs-quote figcaption strong { color: var(--color-heading); font-weight: 600; }

#it-cctv-case-study .cs-verify {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--r-sm);
    background: var(--s3);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
#it-cctv-case-study .cs-verify:hover { opacity: .9; }

#it-cctv-case-study .cs-rule { margin-top: 16px; padding: 16px 20px; border: 1px dashed var(--bd); border-radius: var(--r); font-size: 12px; line-height: 1.7; color: var(--color-muted); }
#it-cctv-case-study .cs-rule strong { color: var(--color-heading); font-weight: 600; }

#it-cctv-case-study .cs-cta-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: var(--s1); border-color: var(--s1); }
#it-cctv-case-study .cs-cta-card h3 { color: #fff; }
#it-cctv-case-study .cs-cta-card p { color: rgba(255, 255, 255, .88); }
#it-cctv-case-study .cs-cta-card .cs-btn { margin-top: 24px; background: #fff; border-color: #fff; color: var(--s1); }

/* ---------- Next steps ---------- */
#it-cctv-case-study .cs-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: cs-step; }

#it-cctv-case-study .cs-steps li { padding: 28px; border: 1px solid var(--bd); border-radius: var(--r); background: var(--color-surface); counter-increment: cs-step; }
#it-cctv-case-study .cs-steps li::before {
    content: counter(cs-step);
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 18px;
    border-radius: var(--r-sm);
    background: var(--s);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
#it-cctv-case-study .cs-steps h3 { margin-bottom: 8px; font-size: 16px; }
#it-cctv-case-study .cs-steps p { font-size: 13px; line-height: 1.7; }

/* ---------- Final ---------- */
#it-cctv-case-study .cs-final { padding-bottom: 72px; }

#it-cctv-case-study .cs-final-shell {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--bd);
    border-radius: var(--r);
    background: var(--color-surface);
}

#it-cctv-case-study .cs-final-media { position: relative; display: block; overflow: hidden; border: 1px solid var(--bd); border-radius: var(--r-sm); text-decoration: none; }
#it-cctv-case-study .cs-final-media img { width: 100%; height: auto; object-fit: contain; }
#it-cctv-case-study .cs-final-media > span { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: var(--r-sm); background: var(--s1); color: #fff; font-size: 12px; font-weight: 600; }

#it-cctv-case-study .cs-final-copy { padding: 8px 12px 8px 0; }
#it-cctv-case-study .cs-final-copy h2 { margin-bottom: 12px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.02em; }
#it-cctv-case-study .cs-final-copy > p:not(.cs-label) { max-width: 520px; margin-bottom: 24px; font-size: 15px; line-height: 1.7; }
#it-cctv-case-study .cs-back-link { display: inline-block; margin-top: 20px; color: var(--color-muted); font-size: 12px; text-decoration: none; }
#it-cctv-case-study .cs-back-link:hover { color: var(--color-heading); }

/* ---------- Scroll reveal (plays when the element reaches the viewport) ---------- */
#it-cctv-case-study.is-armed .cs-rv {
    opacity: 0;
    transform: translateY(24px) scale(.985);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 90ms);
}
#it-cctv-case-study.is-armed .cs-rv.is-visible { opacity: 1; transform: none; }

/* ---------- Hero entrance ---------- */
#it-cctv-case-study.is-armed .cs-reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
#it-cctv-case-study.is-armed .cs-reveal.is-visible { opacity: 1; transform: none; }
#it-cctv-case-study .cs-reveal-delay { transition-delay: .08s; }

/* ---------- Tablet ---------- */
@media (max-width: 1050px) {
    #it-cctv-case-study :is(.cs-section, .cs-section-alt, .cs-final) { padding: 48px 0; }
    #it-cctv-case-study .cs-final { padding-bottom: 56px; }
    #it-cctv-case-study .cs-hero { padding: 116px 0 32px; }
    #it-cctv-case-study .cs-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    #it-cctv-case-study .cs-hero-visual { max-width: 760px; }
    #it-cctv-case-study .cs-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
    #it-cctv-case-study .cs-gauges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #it-cctv-case-study :is(.cs-duo, .cs-duo-seo) { grid-template-columns: 1fr; }
    #it-cctv-case-study .cs-outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #it-cctv-case-study .cs-final-shell { grid-template-columns: 1fr; gap: 24px; }
    #it-cctv-case-study .cs-final-copy { padding: 0 8px 8px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    #it-cctv-case-study { --pad-x: var(--container-padding-x-mobile, 16px); }
    #it-cctv-case-study :is(.cs-section, .cs-section-alt, .cs-final) { padding: 40px 0; }
    #it-cctv-case-study .cs-final { padding-bottom: 48px; }
    #it-cctv-case-study .cs-hero { padding: 104px 0 28px; }
    #it-cctv-case-study .cs-breadcrumb { margin-bottom: 28px; font-size: 11px; }
    #it-cctv-case-study .cs-hero-grid { gap: 32px; }
    #it-cctv-case-study .cs-hero-copy h1 { font-size: 30px; }
    #it-cctv-case-study .cs-hero-lead { font-size: 15px; }
    #it-cctv-case-study .cs-hero-actions,
    #it-cctv-case-study .cs-final-actions { flex-direction: column; align-items: stretch; gap: 10px; }
    #it-cctv-case-study .cs-btn { font-size: 13px; }
    #it-cctv-case-study .cs-hero-actions .cs-btn,
    #it-cctv-case-study .cs-final-actions .cs-btn { width: 100%; }
    #it-cctv-case-study .cs-hero-proof li { padding: 12px; }
    #it-cctv-case-study .cs-hero-proof strong { font-size: 20px; }
    #it-cctv-case-study .cs-gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #it-cctv-case-study :is(.cs-challenges, .cs-tech, .cs-outcomes) { grid-template-columns: 1fr; }
    #it-cctv-case-study .cs-card { padding: 22px 20px; }
    #it-cctv-case-study .cs-ba { grid-template-columns: 1fr; gap: 10px; }
    #it-cctv-case-study .cs-ba-arrow { transform: rotate(90deg); min-height: 20px; }
    #it-cctv-case-study .cs-bento { grid-template-columns: 1fr; gap: 12px; }
    #it-cctv-case-study :is(.cs-tile, .cs-tile-wide) { grid-column: auto; padding: 22px 20px; }
    #it-cctv-case-study .cs-steps { grid-template-columns: 1fr; gap: 12px; }
    #it-cctv-case-study .cs-steps li { padding: 22px 20px; }
    #it-cctv-case-study .cs-final-shell { padding: 12px; }
    #it-cctv-case-study .cs-final-copy { padding: 0 8px 8px; }
}

@media (max-width: 380px) {
    #it-cctv-case-study .cs-hero-meta { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    #it-cctv-case-study *,
    #it-cctv-case-study *::before,
    #it-cctv-case-study *::after { transition-duration: .001ms !important; animation: none !important; }
    #it-cctv-case-study.is-armed .cs-reveal,
    #it-cctv-case-study.is-armed .cs-rv { opacity: 1; transform: none; }
    #it-cctv-case-study.is-armed .cs-ring-fg { stroke-dasharray: var(--v) 100; }
}