/* /case-study/jackpotsphere-jackpot-platform-case-study — AISHTMLNEWDESIGN-550
   Page-owned styles. EVERY selector is scoped to #page-case-study-jackpotsphere-jackpot-platform-case-study or a
   csjj- prefixed class: this sheet must never style body, a bare
   element, #ais-header or #ais-footer. The document reset
   (html,body{margin:0}) is owned by the shared layout sheet.
   Font is Inter; no body/UI text below 16px. */

/* VISUAL DIRECTION — JACKPOT METER
   The real jackpot-UI convention of a rising meter toward a payout threshold,
   applied to the page itself: crimson base, jackpot gold accent, and the four
   Results/ROI stats rendered as filled gauge bars rather than plain numerals.
   Kept clear of PROGRESSIVE POOL and THE POT, the site's other
   jackpot-adjacent directions.

   CTA COLOUR RULE, computed BY HAND before this file was written (two days
   running now, having been burned twice by the same knife-edge): ink text on
   gold measures 8.79:1; gold vs the hero gradient's worst crimson stop
   measures 4.83:1. Both cleared with real margin before a single rule was
   written, not discovered by running the harness after the fact. */

#page-case-study-jackpotsphere-jackpot-platform-case-study {
  --csjj-ink: #1a0d0d;
  --csjj-crimson: #5c1418;
  --csjj-crimson-dp: #430e11;
  --csjj-gold: #e0a72c;
  --csjj-gold-dp: #c8901f;
  /* --csjj-gold-dp is a FILL colour (button hover, 3:1 non-text floor) -- ink
     text on it measures 6.74:1, fine. It is NOT safe as small TEXT on light
     backgrounds: gold-dp as text-on-white measures only 2.81:1, far under
     AA 4.5. Every text usage (toc numerals, in-copy links, phone links,
     why-card numerals, hover states) uses this darker mix instead: 7.19:1
     on white, 5.84:1 on tint. */
  --csjj-gold-ink: #765009;
  --csjj-paper: #ffffff;
  --csjj-bone: #f7f3f0;
  --csjj-tint: #efe6e1;
  --csjj-text: #2a1f1c;
  --csjj-muted: #61524c;
  --csjj-line: #ddd0c8;
  --csjj-onink: #f0e6df;

  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--csjj-text);
  background: var(--csjj-bone);
  display: block;
}

#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-section { padding: 74px 0; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-section--tint { background: var(--csjj-tint); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-link { color: var(--csjj-gold-ink); text-decoration: underline; }

#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--csjj-ink);
  max-width: 26ch;
}
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-h2::after { content: ""; display: block; width: 56px; height: 6px; margin: 16px 0 28px; background: var(--csjj-gold); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-h2--band { color: #fff; }

/* ---------- hero ---------- */
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-hero { background: linear-gradient(150deg, #2a0a0c 0%, #5c1418 55%, #7a1c22 100%); padding: 84px 28px 76px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-hero__inner { max-width: 900px; margin: 0 auto; text-align: center; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-eyebrow { margin: 0 0 18px; font-size: 16px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #f5d78a; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-hero__title { margin: 0 0 20px; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-hero__lede { margin: 0 auto 26px; color: var(--csjj-onink); max-width: 78ch; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-hero__techlabel { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: #fff; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-tech { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-tech li { border: 2px solid rgba(240, 230, 223, 0.5); color: var(--csjj-onink); padding: 9px 16px; font-weight: 600; font-size: 16px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-hero__ctarow { margin: 32px 0 0; }

/* ---------- CTA button: the /our-values .ov-btn form ---------- */
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-btn {
  display: inline-block; border: 0; cursor: pointer; font-family: inherit;
  font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: 0.01em;
  padding: 17px 30px; border-radius: 2px;
  transition: background-color 0.18s, color 0.18s, transform 0.18s;
}
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-btn--gold { background: var(--csjj-gold); color: var(--csjj-ink); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-btn--gold:hover { background: var(--csjj-gold-dp); transform: translateY(-1px); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-btn--ink { background: var(--csjj-ink); color: #fff; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-btn--ink:hover { background: #0e0707; transform: translateY(-1px); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-btn--bone { background: var(--csjj-bone); color: var(--csjj-ink); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-btn--bone:hover { background: #fff; transform: translateY(-1px); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-btn:active { transform: translateY(0); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-btn:focus-visible { outline: 3px solid var(--csjj-gold); outline-offset: 3px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-sec__ctarow { margin: 34px 0 0; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-band__ctarow { margin: 40px 0 0; }

/* ---------- breadcrumb ---------- */
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-breadcrumb { background: var(--csjj-paper); border-bottom: 1px solid var(--csjj-line); display: flex; align-items: center; gap: 10px; padding: 14px 28px; font-size: 16px; color: var(--csjj-muted); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-breadcrumb__back { display: inline-flex; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-breadcrumb__leg:hover { color: var(--csjj-gold-ink); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-breadcrumb__now { color: var(--csjj-ink); font-weight: 600; }

/* ---------- contents ---------- */
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-toc { background: var(--csjj-paper); padding: 46px 0; border-bottom: 1px solid var(--csjj-line); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-toc__title { margin: 0 0 20px; font-size: 18px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--csjj-muted); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-toc__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-toc__list li { border-top: 1px solid var(--csjj-line); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-toc__list a { display: flex; align-items: baseline; gap: 14px; padding: 15px 2px; font-weight: 600; color: var(--csjj-ink); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-toc__list a:hover { color: var(--csjj-gold-ink); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-toc__num { font-weight: 800; color: var(--csjj-gold-ink); }

/* ---------- About ---------- */
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-lede { margin: 0; max-width: 80ch; color: var(--csjj-muted); }

/* ---------- Challenges ---------- */
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-chals { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-chal { position: relative; background: var(--csjj-paper); border: 1px solid var(--csjj-line); padding: 22px 26px 22px 30px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-chal::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; background: var(--csjj-gold); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-chal__t { margin: 0 0 6px; font-size: 1.14rem; font-weight: 800; color: var(--csjj-ink); display: flex; gap: 12px; align-items: baseline; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-chal__n { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; background: var(--csjj-ink); color: var(--csjj-gold); font-size: 16px; font-weight: 800; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-chal__b { margin: 0; color: var(--csjj-muted); }

/* ---------- Solution: the mapping table ---------- */
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-tablewrap { overflow-x: auto; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map { width: 100%; border-collapse: collapse; background: var(--csjj-paper); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map th { background: var(--csjj-ink); color: var(--csjj-gold); text-align: left; font-weight: 800; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; padding: 14px 18px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map td { border-top: 1px solid var(--csjj-line); padding: 16px 18px; vertical-align: top; color: var(--csjj-muted); font-size: 16px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map tbody tr:nth-child(odd) td { background: #fbf8f6; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map td:last-child { color: var(--csjj-ink); font-weight: 600; }

/* ---------- Results: the meter band ---------- */
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-band { background: var(--csjj-ink); padding: 74px 0; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-stat { display: flex; flex-direction: column; gap: 10px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-stat__meter { height: 10px; background: rgba(240, 230, 223, 0.14); border-radius: 6px; overflow: hidden; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-stat__fill { display: block; height: 100%; background: var(--csjj-gold); border-radius: 6px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-stat__n { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--csjj-gold); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-stat__b { color: var(--csjj-onink); font-size: 16px; }

/* ---------- Why ---------- */
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-whys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-why { background: var(--csjj-paper); border: 1px solid var(--csjj-line); border-top: 4px solid var(--csjj-gold); padding: 22px 26px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-why__t { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; color: var(--csjj-ink); display: flex; gap: 12px; align-items: baseline; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-why__n { color: var(--csjj-gold-ink); font-weight: 800; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-why__b { margin: 0; color: var(--csjj-muted); }

/* ---------- Client quote ---------- */
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-quote { margin: 0; background: var(--csjj-paper); border-left: 4px solid var(--csjj-gold); padding: 28px 32px; max-width: 80ch; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-quote blockquote { margin: 0; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-quote p { margin: 0; font-size: 1.22rem; line-height: 1.55; font-weight: 600; color: var(--csjj-ink); }

/* ---------- Area We Serve ---------- */
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-region { background: var(--csjj-paper); border: 1px solid var(--csjj-line); border-top: 4px solid var(--csjj-ink); padding: 22px 24px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-region__t { margin: 0 0 10px; font-size: 18px; font-weight: 800; letter-spacing: 0.08em; color: var(--csjj-ink); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-region__tel { margin: 0 0 10px; font-weight: 700; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-region__tel a { color: var(--csjj-gold-ink); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-region__addr { margin: 0; color: var(--csjj-muted); font-size: 16px; }

/* ---------- CTA modal: the /our-values shell ---------- */
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-modal { display: none; position: fixed; inset: 0; z-index: 1000; padding: 20px; overflow-y: auto; background: rgba(26, 13, 13, 0.72); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-modal.is-open { display: flex; align-items: flex-start; justify-content: center; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-modal__box { position: relative; width: 100%; max-width: 620px; margin: auto; border-radius: 16px; background: #fff; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); overflow: hidden; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-modal__x { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--csjj-line); border-radius: 50%; background: #fff; color: var(--csjj-ink); cursor: pointer; transition: background-color 0.16s, color 0.16s; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-modal__x::before,
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-modal__x::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; background: currentColor; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-modal__x::before { transform: translate(-50%, -50%) rotate(45deg); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-modal__x::after { transform: translate(-50%, -50%) rotate(-45deg); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-modal__x:hover { background: var(--csjj-gold); color: var(--csjj-ink); }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-modal__x:focus-visible { outline: 3px solid var(--csjj-gold); outline-offset: 2px; }
#page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-modal__frame { display: block; width: 100%; min-height: 860px; border: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-stats { grid-template-columns: repeat(2, 1fr); }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-regions { grid-template-columns: repeat(2, 1fr); }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-toc__list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  #page-case-study-jackpotsphere-jackpot-platform-case-study { font-size: 16px; }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-wrap { padding: 0 18px; }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-section, #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-band { padding: 56px 0; }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-hero { padding: 60px 18px 52px; }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-breadcrumb { padding: 12px 18px; }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-stats { grid-template-columns: 1fr; }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-whys { grid-template-columns: 1fr; }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-regions { grid-template-columns: 1fr; }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-btn { width: 100%; text-align: center; padding: 16px 22px; }

  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-tablewrap { overflow-x: visible; }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map, #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map tbody, #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map tr, #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map td { display: block; box-sizing: border-box; max-width: 100%; }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map tr { border: 1px solid var(--csjj-line); border-top: 4px solid var(--csjj-gold); margin-bottom: 16px; background: var(--csjj-paper); }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map td { border-top: 0; padding: 14px 18px; }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map tbody tr:nth-child(odd) td { background: transparent; }
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-map td::before { content: attr(data-label); display: block; font-size: 16px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--csjj-gold-ink); margin-bottom: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-btn, #page-case-study-jackpotsphere-jackpot-platform-case-study .csjj-btn:hover { transition: none; transform: none; }
}
