/* Case studies: hub and single pages. Everything is scoped under .cs. */
.cs { --ink: #12201d; --forest: #173d35; --deep: #102e28; --lime: #d8f24b; --lime-soft: #e9f99b; --cream: #f4f1e9; --paper: #fbfaf6; --line: rgba(18, 32, 29, .14); --muted: #56635f; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; overflow: hidden; }
:where(.cs) :where(h1, h2, h3, p, figure, blockquote, dl, dd, ul) { margin: 0; padding: 0; }
:where(.cs) :where(h1, h2, h3) { font-family: 'Manrope', sans-serif; }
:where(.cs) :where(ul) { list-style: none; }
:where(.cs) :where(a) { color: inherit; text-decoration: none; }
:where(.cs) :where(svg) { width: 18px; height: 18px; flex: none; }
.cs-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* Scroll reveals (only hidden once the script has marked the page, so nothing is lost without JS) */
html.cs-js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
html.cs-js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.cs-js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Buttons and links */
.cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px; border-radius: 10px; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cs-btn:hover { transform: translateY(-2px); }
.cs-btn--lime { background: var(--lime); color: var(--ink); box-shadow: 0 10px 28px rgba(216, 242, 75, .22); }
.cs-btn--lime:hover { background: var(--lime-soft); }
.cs-btn--ghost { border: 1px solid rgba(255, 255, 255, .38); color: #fff; }
.cs-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.cs-btn--solid { background: var(--deep); color: #fff; }
.cs-btn--solid:hover { background: var(--forest); }
.cs-btn--block { width: 100%; }
.cs-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--line); transition: border-color .2s ease, color .2s ease; }
.cs-link:hover { border-color: var(--ink); }
.cs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.cs-actions--center { justify-content: center; }
.cs-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.cs-eyebrow span { width: 26px; height: 2px; background: var(--lime); }

/* Hero */
.cs-hero { position: relative; background: radial-gradient(circle at 82% 8%, rgba(216, 242, 75, .1), transparent 45%), linear-gradient(155deg, var(--forest) 0%, var(--deep) 60%, #0b1d19 100%); color: #fff; padding: 9.5rem 0 4.5rem; overflow: hidden; }
.cs-hero::before { content: ''; position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(rgba(255, 255, 255, .55) .6px, transparent .6px); background-size: 9px 9px; mask-image: linear-gradient(to right, #000, transparent 70%); pointer-events: none; }
.cs-hero > .cs-wrap { position: relative; }
.cs-hero h1 { margin-top: 22px; font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.cs-hero h1 em { color: var(--lime); font-style: normal; font-weight: 700; }
.cs-lede { margin-top: 24px; max-width: 40rem; font-size: 1.125rem; line-height: 1.65; color: rgba(255, 255, 255, .74); }
.cs-proof { display: flex; flex-wrap: wrap; gap: 18px 56px; margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); }
.cs-proof li { display: flex; flex-direction: column; gap: 4px; }
.cs-proof strong { font-family: 'Manrope', sans-serif; font-size: 1.75rem; letter-spacing: -.03em; color: var(--lime); }
.cs-proof span { font-size: 13px; color: rgba(255, 255, 255, .66); }

/* Jump menu */
.cs-jump { position: sticky; top: 64px; z-index: 30; background: rgba(251, 250, 246, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.cs-jump .cs-wrap { display: flex; gap: 8px; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.cs-jump .cs-wrap::-webkit-scrollbar { display: none; }
.cs-jump a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; background: #fff; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.cs-jump a b { font-family: 'Manrope', sans-serif; font-size: 11px; color: var(--muted); }
.cs-jump a:hover { border-color: var(--ink); }
.cs-jump a.is-active { background: var(--deep); color: #fff; border-color: var(--deep); }
.cs-jump a.is-active b { color: var(--lime); }

/* Browser + phone mock-up */
.cs-device { position: relative; }
.cs-browser { border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 90px -30px rgba(16, 46, 40, .35), 0 12px 30px rgba(16, 46, 40, .1); overflow: hidden; }
.cs-browser-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: #f1efe8; border-bottom: 1px solid var(--line); }
.cs-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d0c4; }
.cs-browser-bar span { margin-left: 12px; flex: 1; max-width: 300px; padding: 4px 12px; border-radius: 999px; background: #fff; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-shot { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top; background: #eef1ee; }
.cs-shot--archived { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; background: radial-gradient(circle at 30% 20%, var(--lime-soft), transparent 55%), linear-gradient(160deg, #f4f1e9, #e7e2d3); color: var(--forest); }
.cs-shot--archived svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--deep); color: var(--lime); box-sizing: content-box; }
.cs-shot--archived strong { font-family: 'Manrope', sans-serif; font-size: 1.25rem; }
.cs-shot--archived span { max-width: 22rem; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cs-phone { position: absolute; right: -14px; bottom: -34px; width: 23%; min-width: 96px; border: 5px solid var(--ink); border-radius: 22px; background: var(--ink); overflow: hidden; box-shadow: 0 30px 50px -10px rgba(16, 46, 40, .45); }
.cs-phone img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 16px; }

/* Hub: one section per customer */
.cs-item { padding: 100px 0; scroll-margin-top: 130px; }
.cs-item:nth-of-type(even) { background: var(--cream); }
.cs-item-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.cs-item.is-flip .cs-item-media { order: 2; }
.cs-meta { display: flex; align-items: center; gap: 14px; }
.cs-num { font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 800; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: var(--lime); }
.cs-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cs-item h2 { margin-top: 20px; font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.06; letter-spacing: -.045em; font-weight: 600; }
.cs-item h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--lime); }
.cs-summary { margin-top: 18px; font-size: 1.0625rem; line-height: 1.7; color: #3d4a46; }
.cs-facts { margin-top: 28px; border-top: 1px solid var(--line); }
.cs-facts > div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cs-facts dt { padding-top: 2px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cs-facts dd { font-size: 15px; line-height: 1.55; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-chips span { padding: 4px 11px; border-radius: 999px; background: rgba(23, 61, 53, .08); font-size: 12.5px; font-weight: 600; color: var(--forest); }
.cs-quote { margin-top: 26px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cs-quote-top { display: flex; align-items: center; gap: 10px; }
.cs-quote .g-logo { width: 22px; height: 22px; }
.cs-stars { color: #f0a52b; letter-spacing: 2px; font-size: 14px; }
.cs-quote-tag { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cs-quote blockquote { margin-top: 12px; }
.cs-quote blockquote p { font-size: 15.5px; line-height: 1.62; color: #2c3a36; }
.cs-quote blockquote p + p { margin-top: 10px; }
.cs-quote figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.cs-quote figcaption strong { color: var(--ink); }

/* Call-to-action band between sections */
.cs-band { background: var(--deep); color: #fff; padding: 36px 0; }
.cs-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cs-band strong { display: block; font-family: 'Manrope', sans-serif; font-size: 1.45rem; letter-spacing: -.03em; }
.cs-band span { display: block; margin-top: 6px; max-width: 34rem; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .7); }

/* Final CTA */
.cs-final { position: relative; text-align: center; color: #fff; padding: 110px 0 96px; background: radial-gradient(circle at 50% 0%, rgba(216, 242, 75, .1), transparent 55%), linear-gradient(160deg, var(--forest), var(--deep) 70%); overflow: hidden; }
.cs-final .cs-eyebrow { justify-content: center; }
.cs-final h2 { max-width: 46rem; margin: 22px auto 0; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.05em; font-weight: 500; }
.cs-final h2 em { color: var(--lime); font-style: normal; font-weight: 700; }
.cs-final p { max-width: 40rem; margin: 22px auto 0; font-size: 1.0625rem; line-height: 1.7; color: rgba(255, 255, 255, .7); }
.cs-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .62); }
.cs-assure li { display: flex; align-items: center; gap: 7px; }
.cs-assure svg { width: 14px; height: 14px; color: var(--lime); }

/* Single case study */
.cs-hero--single { padding-bottom: 5.5rem; }
.cs-crumbs { font-size: 13px; color: rgba(255, 255, 255, .62); }
.cs-crumbs a { color: rgba(255, 255, 255, .88); border-bottom: 1px solid rgba(255, 255, 255, .28); }
.cs-crumbs a:hover { color: var(--lime); border-color: var(--lime); }
.cs-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; margin-top: 34px; }
.cs-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(216, 242, 75, .13); color: var(--lime); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cs-hero--single h1 { margin-top: 20px; font-size: clamp(2.3rem, 4.8vw, 4rem); }
.cs-hero--single .cs-lede { font-size: 1.1875rem; }
.cs-hero-media .cs-browser { box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .55); }
.cs-glance { background: #fff; border-bottom: 1px solid var(--line); }
.cs-glance-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.cs-glance-grid > div { padding: 30px 32px 30px 0; }
.cs-glance-grid > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.cs-glance-grid span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cs-glance-grid p { margin-top: 8px; font-size: 1.0625rem; line-height: 1.5; font-weight: 500; }
.cs-glance-grid .is-result { background: linear-gradient(90deg, var(--lime-soft), transparent); }
.cs-glance-grid .is-result p { font-weight: 700; }

.cs-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; padding: 84px 0 96px; align-items: start; }
.cs-sec + .cs-sec { margin-top: 64px; }
.cs-sec h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.6rem, 2.8vw, 2.1rem); letter-spacing: -.04em; line-height: 1.15; font-weight: 600; }
.cs-step { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: var(--lime); font-size: 14px; font-weight: 800; letter-spacing: 0; }
.cs-sec > p { margin-top: 16px; max-width: 44rem; font-size: 1.0625rem; line-height: 1.78; color: #33413d; }
.cs-did { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.cs-did li { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.cs-did li:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16, 46, 40, .08); }
.cs-did-icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--deep); color: var(--lime); }
.cs-did strong { font-family: 'Manrope', sans-serif; font-size: 16px; }
.cs-did li p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.cs-result { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 24px 28px; border-radius: 16px; background: linear-gradient(155deg, var(--forest), var(--deep)); color: #fff; }
.cs-result svg { width: 28px; height: 28px; color: var(--lime); }
.cs-result strong { font-family: 'Manrope', sans-serif; font-size: clamp(1.2rem, 2.4vw, 1.6rem); letter-spacing: -.03em; line-height: 1.25; }
.cs-note { margin-top: 20px !important; padding: 16px 20px; border-left: 3px solid var(--lime); background: var(--cream); border-radius: 0 12px 12px 0; font-size: 15px !important; color: var(--muted) !important; }
.cs-quote--big { margin-top: 22px; padding: 30px 32px; border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(16, 46, 40, .25); }
.cs-quote--big blockquote p { font-size: 1.0625rem; line-height: 1.75; }
.cs-sub { margin-top: 34px; font-size: 1.125rem; letter-spacing: -.02em; }
.cs-valued { display: grid; gap: 10px; margin-top: 16px; }
.cs-valued li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; line-height: 1.55; }
.cs-valued svg { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--lime); color: var(--ink); box-sizing: border-box; }
.cs-see { display: grid; gap: 12px; margin-top: 22px; }
.cs-see-card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .2s ease, border-color .2s ease; }
.cs-see-card:hover { transform: translateX(4px); border-color: var(--ink); }
.cs-see-card > svg:first-child { width: 22px; height: 22px; color: var(--forest); }
.cs-see-card > div { flex: 1; }
.cs-see-card strong { display: block; font-family: 'Manrope', sans-serif; font-size: 15.5px; }
.cs-see-card span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.cs-inline-cta { margin-top: 72px; padding: 44px 44px 48px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 90% 0%, rgba(216, 242, 75, .14), transparent 50%), linear-gradient(155deg, var(--forest), var(--deep)); }
.cs-inline-cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.045em; font-weight: 600; display: block; }
.cs-inline-cta p { margin-top: 14px; max-width: 36rem; font-size: 1.0625rem; line-height: 1.7; color: rgba(255, 255, 255, .74); }

/* Sticky sidebar card */
.cs-aside { position: sticky; top: 112px; }
.cs-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -30px rgba(16, 46, 40, .25); }
.cs-card-label { font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.cs-card h3 { margin-top: 10px; font-size: 1.4rem; letter-spacing: -.035em; }
.cs-card-sector { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.cs-chips-col { display: grid; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.cs-chips-col li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.cs-chips-col svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--lime); color: var(--ink); box-sizing: border-box; }
.cs-card-result { margin: 22px 0; padding: 16px 18px; border-radius: 12px; background: var(--lime-soft); }
.cs-card-result span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #4d5a1a; }
.cs-card-result strong { display: block; margin-top: 4px; font-size: 15px; line-height: 1.4; }
.cs-card .cs-btn--lime { box-shadow: none; background: var(--deep); color: #fff; }
.cs-card .cs-btn--lime:hover { background: var(--forest); }
.cs-card-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; min-height: 44px; font-size: 14px; font-weight: 700; }
.cs-card-phone svg { width: 16px; height: 16px; }

/* More case studies */
.cs-more { background: var(--cream); padding: 88px 0; }
.cs-more-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.cs-more-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.04em; font-weight: 600; }
.cs-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.cs-more-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.cs-more-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -20px rgba(16, 46, 40, .25); }
.cs-more-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eef1ee; }
.cs-more-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .5s ease; }
.cs-more-card:hover .cs-more-img img { transform: scale(1.04); }
.cs-more-archived { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(160deg, #f4f1e9, #e7e2d3); color: var(--forest); font-weight: 700; font-size: 14px; }
.cs-more-archived svg { width: 30px; height: 30px; }
.cs-more-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 22px 22px 24px; }
.cs-more-body strong { font-family: 'Manrope', sans-serif; font-size: 1.15rem; letter-spacing: -.025em; line-height: 1.3; }
.cs-more-result { font-size: 14px; line-height: 1.5; color: var(--muted); }
.cs-more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 700; }
.cs-more-link svg { width: 15px; height: 15px; }

/* Responsive */
@media (max-width: 1040px) {
  .cs-item-grid { gap: 48px; }
  .cs-body { grid-template-columns: 1fr; gap: 48px; }
  .cs-aside { position: static; }
}
@media (max-width: 900px) {
  .cs-item { padding: 72px 0; }
  .cs-item-grid, .cs-hero-grid { grid-template-columns: 1fr; }
  .cs-item.is-flip .cs-item-media { order: 0; }
  .cs-hero-grid { gap: 48px; }
  .cs-glance-grid { grid-template-columns: 1fr; }
  .cs-glance-grid > div, .cs-glance-grid > div + div { padding: 20px 0; border-left: 0; }
  .cs-glance-grid > div + div { border-top: 1px solid var(--line); }
  .cs-more-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .cs-wrap { width: min(100% - 32px, 1180px); }
  .cs-hero { padding: 7.5rem 0 3.25rem; }
  .cs-proof { gap: 16px 32px; margin-top: 36px; }
  .cs-jump { top: 60px; }
  .cs-item { padding: 56px 0; }
  .cs-phone { right: -6px; bottom: -22px; width: 26%; }
  .cs-facts > div { grid-template-columns: 1fr; gap: 6px; }
  .cs-actions { gap: 12px 18px; }
  .cs-actions .cs-btn { width: 100%; }
  .cs-actions--center .cs-btn { width: 100%; }
  .cs-band-inner .cs-btn { width: 100%; }
  .cs-did { grid-template-columns: 1fr; }
  .cs-body { padding: 56px 0 64px; }
  .cs-inline-cta { padding: 30px 24px 34px; margin-top: 56px; }
  .cs-quote--big { padding: 22px; }
  .cs-more-grid { grid-template-columns: 1fr; }
  .cs-final { padding: 72px 0 88px; }
  .cs-result { padding: 20px; }
}
.cs-item .cs-btn { padding: 0 22px; }
.cs-link { white-space: nowrap; }
