@import url('https://fonts.googleapis.com/css2?family=Questrial&family=League+Spartan:wght@700&display=swap');
  *{ box-sizing: border-box; }
html,body{
    margin: 0;
    padding: 0;
    background: #332C2A;
    font-family: 'questrial', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  }
.cs-desc{
    font-size: 16px;
    line-height: 1.6;
    color: #FFFFFF;
    margin: 0 0 14px;
    font-weight: 400;
    opacity: 0.88;
  }
.cs-desc:last-of-type{
    margin-bottom: 18px;
  }
.cs-desc strong.tag{
    color: #FBF6F0;
    font-weight: 700;
  }
.cs-stat{
    font-size: 19px;
    line-height: 1.5;
    font-weight: 700;
    color: #FBF6F0;
  }
.cs-stat .highlight{
    color: #E0D2C5;
  }
.cs-industry{
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #332C2A;
    background: #E0D2C5;
    padding: 5px 12px;
    border-radius: 20px;
    margin: 0 0 14px;
  }
.cs-cost{
    font-size: 15px;
    color: #FFFFFF;
    opacity: 0.85;
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(224,210,197,0.18);
  }
.cs-cost strong{
    opacity: 1;
    font-weight: 700;
    color: #E0D2C5;
  }
.cs-intro{
    max-width: 780px;
    margin: 0 auto 50px;
    text-align: center;
  }
.cs-intro h1{
    font-family: 'questrial', sans-serif;
    font-weight: 400;
    font-size: 38px;
    color: #FBF6F0;
    margin: 0 0 18px;
    line-height: 1.2;
  }
.cs-intro h1 strong{
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 48px;
  }
.cs-intro p{
    font-size: 17px;
    line-height: 1.65;
    color: #FFFFFF;
    opacity: 0.85;
    margin: 0 0 28px;
  }
.cs-filters{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto 40px;
  }
.cs-filter-chip{font-family: 'questrial', sans-serif;font-weight: 700;letter-spacing: 0.02em;border: 1px solid rgba(224,210,197,.22);padding: 9px 16px;cursor: pointer;transition: background .2s ease, border-color .2s ease, color .2s ease}
.cs-filter-chip:hover{border-color: rgba(224,210,197,.55)}
.cs-filter-chip.active{
    background: #E0D2C5;
    color: #332C2A;
    border-color: #E0D2C5;
  }
.cs-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
  }
.cs-card{
    border: 1px solid rgba(224,210,197,.20);
    border-radius: 20px;
    background: rgba(255,255,255,.02);
    overflow: hidden;
    transition: border-color .25s ease;
    align-self: start;
  }
.cs-card-head{
    display: flex;
    align-items: center;
    min-height: 164px;
    gap: 16px;
    width: 100%;
    padding: 16px 18px;
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
  }
.cs-card-num{
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #E0D2C5;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    width: 20px;
  }
.cs-card-mock-thumb{
    flex-shrink: 0;
    width: 110px;
  }
.cs-card-mock-thumb .cs-mock-host,.cs-card-mock-big .cs-mock-host{
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(0,0,0,.4);
    overflow: hidden;
    background: #fff;
  }
.cs-card-meta{
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
.cs-card-meta .cs-industry{
    margin: 0 0 8px;
    padding: 4px 10px;
    font-size: 9.5px;
    letter-spacing: .05em;
    align-self: flex-start;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
  }
.cs-title{
    font-family: 'questrial', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.25;
    color: #FBF6F0;
    margin: 0 0 6px;
  }
.cs-title strong{
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 27px;
  }
.cs-card-meta .cs-stat{
    margin: 0 0 7px;
    font-family: 'questrial', sans-serif;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    color: #E0D2C5;
  }
.cs-card-meta .cs-stat .highlight{
    color: inherit;
    font-weight: inherit;
  }
.cs-card-investment{
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 11.5px;
    line-height: 1.3;
    color: rgba(255,255,255,.58);
  }
.cs-card-investment strong{
    color: #FBF6F0;
    font-size: 12.5px;
    font-weight: 700;
  }
.cs-card-toggle{
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(224,210,197,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'League Spartan', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #E0D2C5;
    transition: transform .25s ease, background .2s ease;
  }
.cs-card-body{
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
  }
.cs-card-body-inner{
    display: flex;
    gap: 24px;
    padding: 6px 20px 24px 56px;
    align-items: flex-start;
  }
.cs-card-mock-big{
    flex: 1 1 0;
    min-width: 0;
    max-width: 340px;
  }
.cs-card-text{
    flex: 1.3 1 0;
    min-width: 0;
  }
.cs-inspire{
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    color: #FBF6F0;
    opacity: 1;
    max-width: 560px;
    margin: 0 auto 26px;
    text-align: center;
  }
.cs-cta{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
.cs-cta .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E0D2C5;
    color: #332C2A;
    text-decoration: none;
    padding: 15px 24px;
    border-radius: 15px;
    font-family: 'questrial', sans-serif;
    font-size: 17px;
    font-weight: 700;
    border: 0;
    transition: background .2s ease, color .2s ease;
  }
.cs-cta .btn:hover{
    background: #FFFFFF;
    color: #332C2A;
  }
  @media (max-width: 860px) {.cs-intro h1{ font-size: 28px; }
.cs-intro h1 strong{ font-size: 36px; }
.cs-intro{ margin-bottom: 40px; }
.cs-grid{ grid-template-columns: 1fr; }
.cs-card-head{ flex-wrap: wrap; min-height: 0; }
.cs-card-mock-thumb{ width: 84px; }
.cs-card-body-inner{ flex-direction: column; padding: 6px 18px 22px 18px; }
.cs-card-mock-big{ max-width: 220px; }
.cs-inspire{ font-size: 17px; }
.cs-cta{ flex-direction: column; align-items: stretch; }
.cs-cta .btn{ width: 100%; }
  }
@property --budget-glow-angle{
    syntax:"<angle>";
    inherits:false;
    initial-value:0deg;
  }
@keyframes budgetBorderGlow{
    to{--budget-glow-angle:360deg}
  }
.cs-card-text .cs-desc{
    position:relative;
    padding:14px 16px 14px 18px;
    margin:0 0 10px;
    border-radius:14px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(255,255,255,.065);
  }
.cs-card-text .cs-desc strong.tag{
    display:block;
    width:max-content;
    margin-bottom:6px;
    font-family:'League Spartan',sans-serif;
    font-size:13px;
    text-transform:lowercase;
    letter-spacing:.03em;
  }
.cs-card-text .cs-desc:nth-of-type(2){
    border-color:rgba(224,210,197,.18);
    background:
      linear-gradient(145deg,rgba(224,210,197,.07),rgba(255,255,255,.018));
  }
.cs-card-text .cs-desc:nth-of-type(2) strong.tag{
    color:#E0D2C5;
  }
.cs-story-payoff{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    margin:9px 0 11px;
    padding:11px 14px;
    font-family:'League Spartan',sans-serif;
    font-size:14px;
    font-weight:700;
    letter-spacing:.035em;
    text-transform:uppercase;
    color:#E0D2C5;
    text-align:center;
  }
.cs-story-payoff::before,.cs-story-payoff::after{
    content:"";
    height:1px;
    flex:1;
    max-width:72px;
    background:linear-gradient(90deg,transparent,rgba(224,210,197,.5));
  }
.cs-story-payoff::after{
    background:linear-gradient(90deg,rgba(224,210,197,.5),transparent);
  }
.cs-story-dot{
    width:7px;
    height:7px;
    flex:0 0 7px;
    border-radius:50%;
    background:#FFE3D3;
    box-shadow:
      0 0 6px rgba(224,210,197,.9),
      0 0 15px rgba(224,210,197,.42);
    animation:csPayoffPulse 2.8s ease-in-out infinite;
  }
@keyframes csPayoffPulse{
    0%,100%{transform:scale(.82);opacity:.72}
    50%{transform:scale(1.16);opacity:1}
  }

  @media(max-width:860px){.cs-story-payoff{
      font-size:12px;
      padding:9px 5px;
      gap:7px;
    }
.cs-story-payoff::before,.cs-story-payoff::after{
      max-width:34px;
    }
  }

  @media(prefers-reduced-motion:reduce){.cs-story-dot{animation:none}
  }
/* =========================================================
   FINAL NEXT 12 TYPOGRAPHY + SPACING SYSTEM
   Mirrors the homepage: Questrial body,League Spartan display,#332C2A / #E0D2C5 / #FBF6F0,soft 22px geometry.
   ========================================================= */

.cs-grid{
  gap:20px;
}
.cs-card{
  border-radius:22px;
}
/* ---- Page intro ---- */
.cs-intro h1{
  font-family:'Questrial',sans-serif;
  font-size:38px;
  line-height:1.12;
  font-weight:400;
  letter-spacing:-.01em;
}
.cs-intro h1 strong{
  font-family:'League Spartan',sans-serif;
  font-size:44px;
  line-height:1;
  font-weight:700;
}
.cs-intro p{
  font-size:17px;
  line-height:1.58;
}
/* ---- Collapsed case-study preview ---- */
.cs-card-head{
  min-height:164px;
  padding:17px 18px;
  gap:16px;
}
.cs-card-meta .cs-industry{
  font-family:'Questrial',sans-serif;
  font-size:10px;
  line-height:1;
  font-weight:700;
  letter-spacing:.055em;
  padding:5px 10px;
  margin:0 0 9px;
  align-self:flex-start;
  width:max-content;
  max-width:100%;
  white-space:nowrap;
  border-radius:999px;
}
.cs-title,.cs-title strong{
  font-family:'League Spartan',sans-serif;
  font-size:21px;
  line-height:1.08;
  font-weight:700;
  letter-spacing:-.01em;
  color:#FBF6F0;
}
.cs-title{
  margin:0 0 9px;
}
.cs-card-meta .cs-stat,.cs-card-meta .cs-stat .highlight{
  font-family:'Questrial',sans-serif;
  font-size:13.5px;
  line-height:1.35;
  font-weight:700;
  color:#E0D2C5;
}
.cs-card-meta .cs-stat{
  margin:0 0 7px;
}
.cs-card-investment{
  font-family:'Questrial',sans-serif;
  font-size:12px;
  line-height:1.3;
  color:rgba(255,255,255,.60);
  gap:6px;
}
.cs-card-investment strong{
  font-size:12.5px;
  color:#FBF6F0;
  font-weight:700;
}
/* ---- Expanded Before / After story ---- */
.cs-card-text .cs-desc{
  font-family:'Questrial',sans-serif;
  font-size:15.5px;
  line-height:1.55;
  padding:17px 18px;
  margin:0 0 10px;
  opacity:1;
}
.cs-card-text .cs-desc strong.tag{
  display:block;
  width:max-content;
  margin:0 0 8px;
  font-family:'League Spartan',sans-serif;
  font-size:18px;
  line-height:1;
  font-weight:700;
  letter-spacing:.01em;
  text-transform:lowercase;
  color:#FBF6F0;
}
.cs-card-text .cs-desc:nth-of-type(2) strong.tag{
  color:#E0D2C5;
}
.cs-story-payoff{
  margin:8px 0 10px;
  padding:10px 12px;
  gap:9px;
  font-family:'League Spartan',sans-serif;
  font-size:15px;
  line-height:1.15;
  font-weight:700;
  letter-spacing:.015em;
  text-transform:none;
  color:#E0D2C5;
}
.cs-cost{
  font-family:'Questrial',sans-serif;
  font-size:13.5px;
  line-height:1.5;
  margin-top:14px;
  padding-top:13px;
}
.cs-cost strong{
  font-size:14px;
}
/* Keep visual hierarchy to four clear levels:
   26px title / 18px before-after / 15.5px body / 13-14px metadata. */

@media(max-width:860px){
  .cs-intro h1{
    font-size:28px;
  }

  .cs-intro h1 strong{
    font-size:32px;
  }

  .cs-intro p{
    font-size:15.5px;
  }

  .cs-card-head{
    min-height:0;
    padding:16px;
    gap:13px;
  }

  .cs-title,
  .cs-title strong{
    font-size:19px;
  }

  .cs-card-meta .cs-stat,
  .cs-card-meta .cs-stat .highlight{
    font-size:12.5px;
  }

  .cs-card-investment{
    font-size:11.5px;
  }

  .cs-card-text .cs-desc{
    font-size:14.5px;
    line-height:1.5;
    padding:15px 16px;
  }

  .cs-card-text .cs-desc strong.tag{
    font-size:17px;
    margin-bottom:7px;
  }

  .cs-story-payoff{
    font-size:13.5px;
    padding:9px 5px;
  }

  .cs-cost{
    font-size:12.5px;
  }
}
/* ===== Preview card weight rebalance ===== */

/* Title stays the primary anchor,but slightly less heavy */
.cs-title,.cs-title strong{
  font-weight:600;
}
/* Industry pill should read as a label,not another headline */
.cs-card-meta .cs-industry{
  font-weight:400;
  letter-spacing:.045em;
}
/* Hours saved: peach provides emphasis,so it doesn't need bold */
.cs-card-meta .cs-stat,.cs-card-meta .cs-stat .highlight{
  font-weight:400;
  font-size:13.5px;
}
/* Investment is supporting metadata */
.cs-card-investment{
  font-weight:400;
}
.cs-card-investment strong{
  font-weight:400;
  color:rgba(251,246,240,.82);
}
/* The before/after labels can remain strong because they're structural */
.cs-card-text .cs-desc strong.tag{
  font-weight:600;
}
/* ===== Preview hierarchy: Questrial title + bold outcomes ===== */

/* Title: Questrial,regular weight */
.cs-title,.cs-title strong{
  font-family:'Questrial',sans-serif;
  font-weight:400;
  font-size:20px;
  line-height:1.2;
  letter-spacing:0;
}
/* Hours saved: bold + peach */
.cs-card-meta .cs-stat,.cs-card-meta .cs-stat .highlight{
  font-family:'Questrial',sans-serif;
  font-weight:700;
  color:#E0D2C5;
}
/* Investment: bold value / supporting label */
.cs-card-investment{
  font-family:'Questrial',sans-serif;
  font-weight:400;
  color:rgba(255,255,255,.60);
}
.cs-card-investment strong{
  font-weight:700;
  color:#FBF6F0;
}

@media(max-width:860px){.cs-title,.cs-title strong{
    font-size:19px;
  }
}
/* ===== Final preview title treatment ===== */

/* Bring back League Spartan bold,but lowercase makes it softer + more editorial */
.cs-title,.cs-title strong{
  font-family:'League Spartan',sans-serif;
  font-weight:700;
  font-size:21px;
  line-height:1.08;
  letter-spacing:-.005em;
  text-transform:lowercase;
}

@media(max-width:860px){.cs-title,.cs-title strong{
    font-size:19px;
  }
}
/* ===== Universal department tags ===== */
.cs-card-meta .cs-industry{
  font-family:'Questrial',sans-serif;
  font-weight:700;
  font-size:10px;
  letter-spacing:.045em;
  text-transform:uppercase;
}
/* ===== Department filters + quieter result line ===== */
.cs-card-meta .cs-stat,.cs-card-meta .cs-stat .highlight{
  font-weight:400;
}
/* ===== Clean preview metrics: time saved + investment ===== */

.cs-card-meta .cs-stat,.cs-card-investment{
  font-family:'Questrial',sans-serif;
  font-size:13px;
  line-height:1.35;
  font-weight:400;
  margin:0;
}
/* Both labels use the same quiet treatment */
.cs-metric-label,.cs-card-investment{
  color:rgba(251,246,240,.62);
}
/* Override the inherited color so only the time value is peach */
.cs-card-meta .cs-stat{
  color:#E0D2C5;
}
.cs-card-meta .cs-stat .cs-metric-label{
  color:rgba(251,246,240,.62);
  font-weight:400;
}
/* Investment is no longer a tiny footnote */
.cs-card-investment{
  display:block;
  font-size:13px;
}
/* Investment amount carries the emphasis */
.cs-card-investment strong{
  font-size:13px;
  font-weight:700;
  color:#FBF6F0;
}
/* Keep the two metrics close together as one information group */
.cs-card-meta .cs-stat{
  margin-top:8px;
}
.cs-card-meta .cs-card-investment{
  margin-top:4px;
}
/* Don't let old equal-spacing overrides separate these two */
.cs-card-meta .cs-stat + .cs-card-investment{
  margin-top:4px;
}

@media(max-width:860px){.cs-card-meta .cs-stat,.cs-card-investment,.cs-card-investment strong{
    font-size:12.5px;
  }
}
/* ===== Mobile flow polish ===== */
@media(max-width:860px){

  .cs-intro{
    margin-bottom:26px;
  }

  .cs-intro h1{
    margin-bottom:12px;
  }

  .cs-intro p{
    margin-bottom:18px;
  }

  /* Keep category filters to two rows where possible */
  .cs-filters{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
    max-width:100%;
    margin-bottom:24px;
  }

  .cs-filter-chip{width:100%;padding:8px 7px;line-height:1.15;white-space:normal;min-height:36px}

  /* Give each project more breathing room on phone */
  .cs-grid{
    gap:14px;
  }

  .cs-card{
    border-radius:18px;
  }

  .cs-card-head{
    display:grid;
    grid-template-columns:24px 78px minmax(0,1fr) 30px;
    align-items:center;
    gap:10px;
    padding:14px 12px;
  }

  .cs-card-num{
    width:auto;
    font-size:12px;
  }

  .cs-card-mock-thumb{
    width:78px;
  }

  .cs-card-meta{
    min-width:0;
  }

  .cs-card-meta .cs-industry{
    font-size:9px;
    padding:4px 8px;
    margin-bottom:6px;
  }

  .cs-title,
  .cs-title strong{
    font-size:18px;
    line-height:1.12;
    margin-bottom:7px;
  }

  .cs-card-meta .cs-stat,
  .cs-card-investment,
  .cs-card-investment strong{
    font-size:12px;
  }

  .cs-card-toggle{
    width:28px;
    height:28px;
    font-size:17px;
  }

  .cs-card-text .cs-desc{
    font-size:14px;
    line-height:1.5;
    padding:14px 14px;
  }

  .cs-card-text .cs-desc strong.tag{
    font-size:16px;
  }

  .cs-story-payoff{
    font-size:12.5px;
  }
}
/* Extra-small phones: preserve readability without a third filter row */
@media(max-width:430px){
  .cs-filters{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .cs-filter-chip{padding:7px 5px}

  .cs-card-head{
    grid-template-columns:22px 68px minmax(0,1fr) 28px;
    gap:8px;
  }

  .cs-card-mock-thumb{
    width:68px;
  }

  .cs-title,
  .cs-title strong{
    font-size:17px;
  }

  .cs-card-meta .cs-stat,
  .cs-card-investment,
  .cs-card-investment strong{
    font-size:11.5px;
  }
}
/* ===== EXPERIMENT: app mockup as preview-card background ===== */

/* Hide the separate thumbnail; the mockup becomes the card atmosphere instead */
.cs-card-head{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.cs-card-head .cs-card-mock-thumb{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  margin:0 !important;
  border-radius:0 !important;
  opacity:1;
  z-index:-3;
  pointer-events:none;
}
.cs-card-head .cs-card-mock-thumb .cs-mock-host{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  transform:scale(1.06);
  transform-origin:center;
}
/* The embedded app image stays visible but softened */
.cs-card-head .cs-card-mock-thumb iframe{
  width:100% !important;
  height:100% !important;
  filter:saturate(.55) contrast(.88) brightness(.56);
}
/* Dark grey tint + subtle peach atmosphere */
.cs-card-head::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(48,45,47,.94) 0%,
      rgba(48,45,47,.89) 42%,
      rgba(48,45,47,.78) 72%,
      rgba(48,45,47,.68) 100%);
}
.cs-card-head::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 88% 22%,rgba(224,210,197,.10),transparent 35%),
    linear-gradient(180deg,rgba(48,45,47,.06),rgba(48,45,47,.22));
}
/* Reclaim the thumbnail column */
.cs-card-head{
  display:grid;
  grid-template-columns:30px minmax(0,1fr) 34px;
  gap:15px;
  min-height:180px;
  padding:20px 20px;
  align-items:center;
}
.cs-card-meta{
  position:relative;
  z-index:2;
  max-width:78%;
  text-shadow:0 1px 8px rgba(0,0,0,.28);
}
.cs-card-num,.cs-card-toggle{
  position:relative;
  z-index:2;
}
.cs-card-meta .cs-industry{
  background:rgba(48,45,47,.72);
  border-color:rgba(224,210,197,.34);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.cs-card-investment{
  color:rgba(251,246,240,.72);
}
/* Mobile: a little stronger tint because the text occupies more of the image */
@media(max-width:860px){
  .cs-card-head{
    grid-template-columns:22px minmax(0,1fr) 30px;
    min-height:174px;
    padding:18px 14px;
    gap:10px;
  }

  .cs-card-meta{
    max-width:88%;
  }

  .cs-card-head::before{
    background:
      linear-gradient(90deg,
        rgba(48,45,47,.96) 0%,
        rgba(48,45,47,.91) 52%,
        rgba(48,45,47,.76) 100%);
  }

  .cs-title,
  .cs-title strong{
    font-size:19px;
  }

  .cs-card-meta .cs-stat,
  .cs-card-investment,
  .cs-card-investment strong{
    font-size:12.5px;
  }
}

@media(max-width:430px){.cs-card-head{
    min-height:166px;
    padding:16px 12px;
  }
.cs-card-meta{
    max-width:92%;
  }
}
/* ===== APP-BACKGROUND PREVIEW POLISH ===== */

/* Center the preview content vertically */
.cs-card-head{
  align-items:center !important;
}
.cs-card-meta{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  align-self:stretch;
}
/* Titles: peach,regular Questrial,one line on desktop */
.cs-title,.cs-title strong{
  font-family:'Questrial',sans-serif !important;
  font-weight:400 !important;
  color:#E0D2C5 !important;
  font-size:20px !important;
  line-height:1.15 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  margin-bottom:10px !important;
}
/* Metrics: all white,clean and consistent */
.cs-card-meta .cs-stat,.cs-card-meta .cs-stat .highlight,.cs-card-investment,.cs-card-investment strong,.cs-metric-label{
  color:#FBF6F0 !important;
}
/* Labels regular,values bold */
.cs-metric-label{
  font-weight:400 !important;
}
.cs-card-meta .cs-stat{
  font-family:'Questrial',sans-serif;
  font-size:13px !important;
  line-height:1.35 !important;
  font-weight:400 !important;
  margin-bottom:4px !important;
}
.cs-card-meta .cs-stat .highlight{
  font-weight:700 !important;
}
.cs-card-investment{
  font-family:'Questrial',sans-serif;
  font-size:13px !important;
  line-height:1.35 !important;
  font-weight:400 !important;
}
.cs-card-investment strong{
  font-size:13px !important;
  font-weight:700 !important;
}
/* Bold the actual hours amount while keeping "time saved:" regular */
.cs-card-meta .cs-stat{
  display:block;
}
.cs-card-meta .cs-stat .cs-metric-label{
  font-weight:400 !important;
}
.cs-card-meta .cs-stat{
  color:#FBF6F0 !important;
}
/* Since the value is plain text after the label,make the whole stat semibold,then reset the label back to regular */
.cs-card-meta .cs-stat{
  font-weight:700 !important;
}
.cs-card-meta .cs-stat .cs-metric-label{
  font-weight:400 !important;
}
/* Keep department pill readable but subordinate */
.cs-card-meta .cs-industry{
  color:#FBF6F0 !important;
  background:rgba(48,45,47,.68) !important;
  border-color:rgba(224,210,197,.30) !important;
  font-weight:700 !important;
}
/* Mobile: titles may use up to 2 lines */
@media(max-width:860px){
  .cs-card-head{
    align-items:center !important;
  }

  .cs-card-meta{
    justify-content:center;
  }

  .cs-title,
  .cs-title strong{
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
    font-size:18px !important;
    line-height:1.15 !important;
    margin-bottom:8px !important;
  }

  .cs-card-meta .cs-stat,
  .cs-card-investment,
  .cs-card-investment strong{
    font-size:12px !important;
  }
}
/* ===== Final preview title + department tag treatment ===== */

/* Titles: League Spartan gives them the same stronger brand voice as the site */
.cs-title,.cs-title strong{
  font-family:'League Spartan',sans-serif !important;
  font-weight:700 !important;
  color:#E0D2C5 !important;
  font-size:21px !important;
  line-height:1.08 !important;
  letter-spacing:-.005em !important;
  white-space:nowrap;
}
/* Department tag: light neutral chip so it separates from the tinted app image */
.cs-card-meta .cs-industry{
  background:#E7E5E4 !important;
  color:#332C2A !important;
  border:1px solid rgba(255,255,255,.28) !important;
  box-shadow:0 1px 5px rgba(0,0,0,.10);
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  font-family:'Questrial',sans-serif !important;
  font-weight:700 !important;
  text-shadow:none !important;
}
/* Mobile: allow the League Spartan title to wrap to two lines */
@media(max-width:860px){
  .cs-title,
  .cs-title strong{
    font-size:19px !important;
    line-height:1.08 !important;
    white-space:normal !important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
  }
}
/* ===== Softer department chips + clearer open control ===== */

/* Department: readable,but deliberately quieter than the title */
.cs-card-meta .cs-industry{
  background:rgba(205,201,199,.72) !important;
  color:#332C2A !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:none !important;
  opacity:.88;
  font-weight:700 !important;
}
/* Make the + an obvious control without turning it into another focal point */
.cs-card-toggle{
  display:flex !important;
  align-items:center;
  justify-content:center;
  width:34px !important;
  height:34px !important;
  flex:0 0 34px;
  border-radius:50% !important;
  background:rgba(48,45,47,.78) !important;
  border:1px solid rgba(224,210,197,.58) !important;
  color:#E0D2C5 !important;
  font-size:23px !important;
  line-height:1 !important;
  font-weight:400 !important;
  text-shadow:none !important;
  box-shadow:
    0 2px 8px rgba(0,0,0,.22),
    0 0 10px rgba(224,210,197,.08);
  opacity:1 !important;
}
/* Small hover cue on desktop */
.cs-card-head:hover .cs-card-toggle{
  background:rgba(224,210,197,.12) !important;
  border-color:rgba(224,210,197,.82) !important;
}

@media(max-width:860px){.cs-card-toggle{
    width:32px !important;
    height:32px !important;
    flex-basis:32px;
    font-size:21px !important;
  }
.cs-card-meta .cs-industry{
    opacity:.9;
  }
}
/* ===== Questrial bold titles + quieter expand affordance ===== */

/* Try Questrial bold for preview titles */
.cs-title,.cs-title strong{
  font-family:'Questrial',sans-serif !important;
  font-weight:700 !important;
  color:#E0D2C5 !important;
  font-size:20px !important;
  line-height:1.15 !important;
  letter-spacing:0 !important;
}
/* Replace the button-like plus treatment with a simple chevron.
   The whole card header is already clickable,so this only needs to hint "open". */
.cs-card-toggle{
  width:28px !important;
  height:28px !important;
  flex:0 0 28px !important;
  display:flex !important;
  align-items:center;
  justify-content:center;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:transparent !important;
  font-size:0 !important;
  opacity:.82 !important;
  position:relative;
}
.cs-card-toggle::before{
  content:"";
  width:9px;
  height:9px;
  border-right:2px solid #E0D2C5;
  border-bottom:2px solid #E0D2C5;
  transform:rotate(45deg) translateY(-2px);
  transform-origin:center;
  transition:transform .22s ease, opacity .22s ease;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.35));
}
.cs-card-head:hover .cs-card-toggle{
  background:transparent !important;
  border:0 !important;
}
.cs-card-head:hover .cs-card-toggle::before{
  opacity:1;
}

@media(max-width:860px){.cs-title,.cs-title strong{
    font-size:18px !important;
    line-height:1.15 !important;
  }
.cs-card-toggle{
    width:26px !important;
    height:26px !important;
    flex-basis:26px !important;
    opacity:.9 !important;
  }
}
/* ===== Stronger expand chevron ===== */
.cs-card-toggle{
  width:34px !important;
  height:34px !important;
  flex:0 0 34px !important;
  opacity:1 !important;
}
.cs-card-toggle::before{
  width:12px !important;
  height:12px !important;
  border-right:2.5px solid #E0D2C5 !important;
  border-bottom:2.5px solid #E0D2C5 !important;
  filter:
    drop-shadow(0 1px 3px rgba(0,0,0,.65))
    drop-shadow(0 0 4px rgba(224,210,197,.28));
}
/* Tiny dark halo behind the arrow for contrast without making it a button */
.cs-card-toggle::after{
  content:"";
  position:absolute;
  width:30px;
  height:30px;
  border-radius:50%;
  background:rgba(48,45,47,.42);
  z-index:-1;
}

@media(max-width:860px){.cs-card-toggle{
    width:34px !important;
    height:34px !important;
    flex-basis:34px !important;
  }
.cs-card-toggle::before{
    width:12px !important;
    height:12px !important;
  }
}
/* ===== Preview visual reset: fewer competing accents ===== */

/* Make the app background more even so the text reads consistently */
.cs-card-head::before{
  background:
    linear-gradient(90deg,
      rgba(48,45,47,.95) 0%,
      rgba(48,45,47,.91) 50%,
      rgba(48,45,47,.82) 100%) !important;
}
/* Keep the title as the only peach focal point */
.cs-title,.cs-title strong{
  color:#E0D2C5 !important;
}
/* Department chip: dark,quiet,readable */
.cs-card-meta .cs-industry{
  background:rgba(48,45,47,.70) !important;
  color:#FBF6F0 !important;
  border:1px solid rgba(255,255,255,.14) !important;
  box-shadow:none !important;
  opacity:1 !important;
}
/* Metrics stay simple white */
.cs-card-meta .cs-stat,.cs-card-meta .cs-stat .highlight,.cs-card-investment,.cs-card-investment strong,.cs-metric-label{
  color:#FBF6F0 !important;
}
/* Arrow: neutral white,no glow,contained just enough to read */
.cs-card-toggle{
  width:30px !important;
  height:30px !important;
  flex:0 0 30px !important;
  border-radius:50% !important;
  background:rgba(48,45,47,.58) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:none !important;
  opacity:1 !important;
}
.cs-card-toggle::before{
  width:9px !important;
  height:9px !important;
  border-right:2px solid #FBF6F0 !important;
  border-bottom:2px solid #FBF6F0 !important;
  filter:none !important;
}
.cs-card-toggle::after{
  display:none !important;
}
.cs-card-head:hover .cs-card-toggle{
  background:rgba(48,45,47,.72) !important;
  border-color:rgba(255,255,255,.30) !important;
}

@media(max-width:860px){.cs-card-toggle{
    width:30px !important;
    height:30px !important;
    flex-basis:30px !important;
  }
}
/* ===== Centered chevron + animated border-light circle ===== */

.cs-card-toggle{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:32px !important;
  height:32px !important;
  flex:0 0 32px !important;
  border-radius:50% !important;
  background:rgba(48,45,47,.68) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  overflow:visible !important;
  isolation:isolate;
}
/* animated peach border light matching the top 3-column treatment */
.cs-card-toggle::after{
  content:"" !important;
  display:block !important;
  position:absolute;
  inset:-1px;
  border-radius:50%;
  padding:1.5px;
  background:conic-gradient(
    from var(--toggle-glow-angle,0deg),
    transparent 0deg,
    transparent 302deg,
    rgba(224,210,197,0) 315deg,
    rgba(224,210,197,.42) 330deg,
    #FFE7DA 342deg,
    rgba(224,210,197,.68) 352deg,
    transparent 360deg
  );
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
  z-index:2;
  filter:drop-shadow(0 0 5px rgba(224,210,197,.32));
  animation:toggleBorderGlow 7s linear infinite;
}
@property --toggle-glow-angle{
  syntax:"<angle>";
  inherits:false;
  initial-value:0deg;
}
@keyframes toggleBorderGlow{
  to{--toggle-glow-angle:360deg}
}
/* Draw the chevron with absolutely centered geometry */
.cs-card-toggle::before{
  content:"" !important;
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:8px !important;
  height:8px !important;
  margin:0 !important;
  border:0 !important;
  border-right:2px solid #FBF6F0 !important;
  border-bottom:2px solid #FBF6F0 !important;
  transform:translate(-50%,-65%) rotate(45deg) !important;
  transform-origin:center !important;
  filter:none !important;
  z-index:3;
  transition:transform .22s ease;
}
.cs-card-head:hover .cs-card-toggle{
  background:rgba(48,45,47,.78) !important;
}

@media(prefers-reduced-motion:reduce){.cs-card-toggle::after{
    animation:none;
    --toggle-glow-angle:338deg;
  }
}

@media(max-width:860px){.cs-card-toggle{
    width:32px !important;
    height:32px !important;
    flex-basis:32px !important;
  }
}
/* ===== Case study modal ===== */
body.cs-modal-open{
  overflow:hidden;
}
.cs-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
}
.cs-modal.is-open{
  display:flex;
}
.cs-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(19,18,19,.76);
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
  animation:csModalFade .18s ease both;
}
.cs-modal-dialog{
  position:relative;
  z-index:1;
  width:min(1080px,94vw);
  max-height:88vh;
  overflow:auto;
  border-radius:24px;
  background:#332C2A;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:
    0 28px 80px rgba(0,0,0,.48),
    0 0 0 1px rgba(224,210,197,.035);
  animation:csModalIn .22s ease both;
  scrollbar-width:thin;
}
.cs-modal-close{
  position:sticky;
  top:16px;
  float:right;
  z-index:8;
  width:38px;
  height:38px;
  margin:16px 16px -54px 0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(48,45,47,.88);
  color:#FBF6F0;
  font-family:'Questrial',sans-serif;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 4px 16px rgba(0,0,0,.22);
}
.cs-modal-close:hover{
  border-color:rgba(224,210,197,.45);
  color:#E0D2C5;
}
.cs-modal-content{
  clear:both;
}
/* Header copied into the popup */
.cs-modal-project-head{
  padding:26px 72px 17px 28px;
  border-bottom:1px solid rgba(255,255,255,.075);
}
.cs-modal-project-head .cs-industry{
  display:inline-flex;
  width:max-content;
  margin:0 0 11px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(205,201,199,.72);
  color:#332C2A;
  font-family:'Questrial',sans-serif;
  font-size:10px;
  line-height:1;
  font-weight:700;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.cs-modal-project-head .cs-title{
  margin:0 0 10px !important;
  font-family:'Questrial',sans-serif !important;
  font-size:28px !important;
  line-height:1.12 !important;
  font-weight:700 !important;
  color:#E0D2C5 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
.cs-modal-project-head .cs-stat,.cs-modal-project-head .cs-card-investment{
  display:inline-block;
  margin:0 18px 0 0 !important;
  font-family:'Questrial',sans-serif;
  font-size:13.5px !important;
  line-height:1.4;
  color:#FBF6F0 !important;
}
.cs-modal-project-head .cs-stat{
  font-weight:700 !important;
}
.cs-modal-project-head .cs-stat .cs-metric-label{
  font-weight:400 !important;
  color:#FBF6F0 !important;
}
.cs-modal-project-head .cs-card-investment strong{
  color:#FBF6F0 !important;
  font-weight:700 !important;
}
/* Existing body becomes the modal body */
.cs-modal-content > .cs-card-body{
  display:block !important;
  max-height:none !important;
  height:auto !important;
  opacity:1 !important;
  visibility:visible !important;
  overflow:visible !important;
}
.cs-modal-content .cs-card-body-inner{
  display:grid !important;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  gap:24px;
  align-items:start;
  padding:24px 28px 30px !important;
}
.cs-modal-content .cs-card-mock-big{
  width:100%;
  max-width:none !important;
  margin:0 !important;
  border-radius:17px;
  overflow:hidden;
}
.cs-modal-content .cs-card-text{
  min-width:0;
}
/* The inline accordion should never open in the page anymore */
.cs-grid > .cs-card > .cs-card-body{
  display:none !important;
}
@keyframes csModalFade{
  from{opacity:0}
  to{opacity:1}
}
@keyframes csModalIn{
  from{opacity:0;transform:translateY(10px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

@media(max-width:860px){.cs-modal{
    padding:12px;
    align-items:flex-end;
  }
.cs-modal-dialog{
    width:100%;
    max-height:92vh;
    border-radius:22px 22px 16px 16px;
  }
.cs-modal-project-head{
    padding:23px 58px 16px 18px;
  }
.cs-modal-project-head .cs-title{
    font-size:23px !important;
  }
.cs-modal-project-head .cs-stat,.cs-modal-project-head .cs-card-investment{
    display:block;
    margin:4px 0 0 !important;
    font-size:12.5px !important;
  }
.cs-modal-content .cs-card-body-inner{
    grid-template-columns:1fr;
    gap:16px;
    padding:18px 16px 22px !important;
  }
.cs-modal-close{
    top:12px;
    width:36px;
    height:36px;
    margin:12px 12px -48px 0;
  }
}
/* ===== Modal positioning fix ===== */
.cs-modal{
  align-items:center !important;
  justify-content:center !important;
}
.cs-modal-dialog{
  margin:auto !important;
  max-height:min(88vh,900px) !important;
}
/* Keep mobile centered too instead of bottom-sheet positioning */
@media(max-width:860px){
  .cs-modal{
    align-items:center !important;
    justify-content:center !important;
    padding:12px !important;
  }

  .cs-modal-dialog{
    width:100% !important;
    max-height:90vh !important;
    margin:auto !important;
    border-radius:22px !important;
  }
}
/* ===== Modal layout: full-width image,Before/After underneath ===== */

.cs-modal-content .cs-card-body-inner{
  display:block !important;
  padding:24px 28px 30px !important;
}
.cs-modal-content .cs-card-mock-big{
  width:100% !important;
  max-width:none !important;
  margin:0 0 22px !important;
  border-radius:18px;
  overflow:hidden;
}
.cs-modal-content .cs-card-text{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  min-width:0;
}
/* Before and After become the two main columns */
.cs-modal-content .cs-card-text .cs-desc{
  margin:0 !important;
  min-height:100%;
}
/* The payoff runs full width between transformation and investment */
.cs-modal-content .cs-story-payoff,.cs-modal-content .cs-cost{
  grid-column:1 / -1;
}
.cs-modal-content .cs-story-payoff{
  margin:2px 0 0 !important;
}
.cs-modal-content .cs-cost{
  margin-top:0 !important;
}
/* Keep the large image visually dominant */
.cs-modal-content .cs-card-mock-big .cs-mock-host{
  width:100% !important;
}
/* Mobile: stack Before and After */
@media(max-width:860px){
  .cs-modal-content .cs-card-body-inner{
    padding:18px 16px 22px !important;
  }

  .cs-modal-content .cs-card-mock-big{
    margin-bottom:16px !important;
    border-radius:15px;
  }

  .cs-modal-content .cs-card-text{
    grid-template-columns:1fr;
    gap:10px;
  }

  .cs-modal-content .cs-story-payoff,
  .cs-modal-content .cs-cost{
    grid-column:1;
  }
}
/* ===== FINAL MODAL FLOW: Before/After row ABOVE image ===== */

/* Turn body into a layout we can reorder */
.cs-modal-content .cs-card-body-inner{
  display:flex !important;
  flex-direction:column !important;
  padding:24px 28px 30px !important;
  gap:0 !important;
}
/* Text wrapper participates in parent layout so its children can be positioned */
.cs-modal-content .cs-card-text{
  display:contents !important;
}
/* BEFORE + AFTER: one horizontal row above image */
.cs-modal-content .cs-card-text .cs-desc{
  width:calc(50% - 8px) !important;
  min-height:0 !important;
  margin:0 !important;
}
/* Create the two-column row using ordering + positioning */
.cs-modal-content .cs-card-text .cs-desc:first-of-type{
  order:1;
  align-self:flex-start;
}
.cs-modal-content .cs-card-text .cs-desc:nth-of-type(2){
  order:1;
  align-self:flex-end;
  margin-top:calc(-1 * var(--cs-ba-height, 0px)) !important;
}
/* Image comes immediately after the before/after row */
.cs-modal-content .cs-card-mock-big{
  order:2;
  width:100% !important;
  max-width:none !important;
  margin:18px 0 18px !important;
  border-radius:18px;
  overflow:hidden;
}
/* Payoff + detailed investment follow image */
.cs-modal-content .cs-story-payoff{
  order:3;
  width:100%;
  margin:0 0 8px !important;
}
.cs-modal-content .cs-cost{
  order:4;
  width:100%;
  margin:0 !important;
}
/* Desktop-only grid is more robust: use a wrapper-like grid on the inner body */
@media(min-width:861px){
  .cs-modal-content .cs-card-body-inner{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    column-gap:16px !important;
    row-gap:18px !important;
  }

  .cs-modal-content .cs-card-text{
    display:contents !important;
  }

  .cs-modal-content .cs-card-text .cs-desc:first-of-type{
    grid-column:1 !important;
    grid-row:1 !important;
    width:auto !important;
    margin:0 !important;
  }

  .cs-modal-content .cs-card-text .cs-desc:nth-of-type(2){
    grid-column:2 !important;
    grid-row:1 !important;
    width:auto !important;
    margin:0 !important;
    align-self:stretch !important;
  }

  .cs-modal-content .cs-card-mock-big{
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    margin:0 !important;
  }

  .cs-modal-content .cs-story-payoff{
    grid-column:1 / -1 !important;
    grid-row:3 !important;
    margin:0 !important;
  }

  .cs-modal-content .cs-cost{
    grid-column:1 / -1 !important;
    grid-row:4 !important;
    margin:0 !important;
  }
}
/* Mobile stays stacked: Before,After,image */
@media(max-width:860px){
  .cs-modal-content .cs-card-body-inner{
    display:flex !important;
    padding:18px 16px 22px !important;
  }

  .cs-modal-content .cs-card-text .cs-desc{
    width:100% !important;
    margin:0 0 10px !important;
    align-self:auto !important;
  }

  .cs-modal-content .cs-card-text .cs-desc:first-of-type{
    order:1;
  }

  .cs-modal-content .cs-card-text .cs-desc:nth-of-type(2){
    order:2;
    margin-top:0 !important;
  }

  .cs-modal-content .cs-card-mock-big{
    order:3;
    margin:6px 0 14px !important;
  }

  .cs-modal-content .cs-story-payoff{
    order:4;
  }

  .cs-modal-content .cs-cost{
    order:5;
  }
}
/* ===== Cleaner modal story: Before → After → image → disclaimer ===== */

/* Hide the redundant payoff inside popup */
.cs-modal-content .cs-story-payoff{
  display:none !important;
}
/* Modal header only needs department + title now */

/* Desktop Before / After row */
@media(min-width:861px){
  .cs-modal-content .cs-card-body-inner{
    position:relative;
    grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr) !important;
    column-gap:12px !important;
    row-gap:18px !important;
  }

  .cs-modal-content .cs-card-text .cs-desc:first-of-type{
    grid-column:1 !important;
    grid-row:1 !important;
  }

  .cs-modal-content .cs-card-text .cs-desc:nth-of-type(2){
    grid-column:3 !important;
    grid-row:1 !important;
  }

  /* Small glowing transition line between Before and After */
  .cs-modal-content .cs-card-body-inner::before{
    content:"";
    grid-column:2;
    grid-row:1;
    align-self:center;
    justify-self:center;
    width:42px;
    height:2px;
    border-radius:999px;
    background:linear-gradient(
      90deg,
      rgba(224,210,197,.10),
      rgba(224,210,197,.72) 45%,
      #FFE7DA 66%,
      rgba(224,210,197,.28)
    );
    box-shadow:
      0 0 5px rgba(224,210,197,.52),
      0 0 12px rgba(224,210,197,.20);
    animation:csModalArrowGlow 2.4s ease-in-out infinite;
  }

  .cs-modal-content .cs-card-body-inner::after{
    content:"";
    grid-column:2;
    grid-row:1;
    align-self:center;
    justify-self:end;
    width:8px;
    height:8px;
    margin-right:3px;
    border-top:2px solid #FFE7DA;
    border-right:2px solid #FFE7DA;
    transform:rotate(45deg);
    filter:drop-shadow(0 0 4px rgba(224,210,197,.65));
    animation:csModalArrowGlow 2.4s ease-in-out infinite;
  }

  .cs-modal-content .cs-card-mock-big{
    grid-column:1 / -1 !important;
    grid-row:2 !important;
  }

  .cs-modal-content .cs-cost{
    grid-column:1 / -1 !important;
    grid-row:3 !important;
  }
}
@keyframes csModalArrowGlow{
  0%,100%{opacity:.58}
  50%{opacity:1}
}
/* Investment is now just a quiet centered disclaimer */
.cs-modal-content .cs-cost{
  border-top:0 !important;
  padding-top:0 !important;
  margin:0 auto !important;
  max-width:760px;
  text-align:center;
  font-family:'Questrial',sans-serif;
  font-size:12.5px !important;
  line-height:1.5 !important;
  font-weight:400 !important;
  color:rgba(251,246,240,.56) !important;
}
/* Mobile keeps the stack clean and uses a vertical transition cue */
@media(max-width:860px){
  .cs-modal-content .cs-card-body-inner{
    position:relative;
  }

  .cs-modal-content .cs-card-text .cs-desc:first-of-type{
    margin-bottom:22px !important;
  }

  .cs-modal-content .cs-card-text .cs-desc:first-of-type::after{
    content:"↓";
    position:absolute;
    left:50%;
    bottom:-19px;
    transform:translateX(-50%);
    color:#E0D2C5;
    font-family:'Questrial',sans-serif;
    font-size:17px;
    text-shadow:0 0 7px rgba(224,210,197,.38);
  }

  .cs-modal-content .cs-cost{
    font-size:11.5px !important;
    padding:0 8px !important;
  }
}

@media(prefers-reduced-motion:reduce){.cs-modal-content .cs-card-body-inner::before,.cs-modal-content .cs-card-body-inner::after{
    animation:none;
  }
}
/* Bring time saved + investment back into modal header */
.cs-modal-project-head .cs-stat,.cs-modal-project-head .cs-card-investment{
  display:inline-block !important;
  margin:0 18px 0 0 !important;
  font-family:'Questrial',sans-serif;
  font-size:13.5px !important;
  line-height:1.4 !important;
  color:#FBF6F0 !important;
}
.cs-modal-project-head .cs-stat{
  font-weight:700 !important;
}
.cs-modal-project-head .cs-stat .cs-metric-label{
  font-weight:400 !important;
  color:#FBF6F0 !important;
}
.cs-modal-project-head .cs-card-investment{
  font-weight:400 !important;
}
.cs-modal-project-head .cs-card-investment strong{
  color:#FBF6F0 !important;
  font-weight:700 !important;
}

@media(max-width:860px){.cs-modal-project-head .cs-stat,.cs-modal-project-head .cs-card-investment{
    display:block !important;
    margin:4px 0 0 !important;
    font-size:12.5px !important;
  }
}
/* Tighter project-image crop inside modal */
.cs-modal-content .cs-card-mock-big{
  aspect-ratio:16 / 8.2 !important;
  background:#fff;
  overflow:hidden !important;
}
.cs-modal-content .cs-card-mock-big .cs-mock-host{
  position:relative !important;
  width:100% !important;
  height:100% !important;
  overflow:hidden !important;
}
.cs-modal-content .cs-card-mock-big .cs-mock-host > *{
  transform-origin:top center !important;
}
/* The mock host itself is built around 1160x850.
   Enlarging it slightly removes dead space while keeping important UI visible. */
.cs-modal-content .cs-card-mock-big .cs-mock-host{
  transform:scale(1.08);
  transform-origin:center top;
}
/* keep the crop slightly gentler on mobile */
@media(max-width:860px){
  .cs-modal-content .cs-card-mock-big{
    aspect-ratio:16 / 9 !important;
  }

  .cs-modal-content .cs-card-mock-big .cs-mock-host{
    transform:scale(1.04);
  }
}
/* Home-page-style glowing transition between Before and After */
@media(min-width:861px){
  .cs-modal-content .cs-card-body-inner{
    grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr) !important;
  }

  .cs-modal-content .cs-card-body-inner::before{
    content:"";
    grid-column:2;
    grid-row:1;
    align-self:center;
    justify-self:center;
    width:54px;
    height:2px;
    border-radius:999px;
    background:rgba(224,210,197,.18);
    box-shadow:0 0 7px rgba(224,210,197,.12);
    position:relative;
  }

  .cs-modal-content .cs-card-body-inner::after{
    content:"";
    grid-column:2;
    grid-row:1;
    align-self:center;
    justify-self:start;
    width:18px;
    height:2px;
    border-radius:999px;
    background:linear-gradient(90deg,
      rgba(224,210,197,0),
      rgba(224,210,197,.75) 35%,
      #FFE7DA 60%,
      rgba(224,210,197,.15) 100%);
    box-shadow:
      0 0 5px rgba(224,210,197,.78),
      0 0 12px rgba(224,210,197,.32);
    animation:csHomeArrowRun 2.8s ease-in-out infinite;
  }

  @keyframes csHomeArrowRun{
    0%{
      transform:translateX(0);
      opacity:.15;
    }
    14%{
      opacity:1;
    }
    78%{
      opacity:1;
    }
    100%{
      transform:translateX(36px);
      opacity:.12;
    }
  }

  /* subtle arrow head at the After end */
  .cs-modal-content .cs-card-text .cs-desc:nth-of-type(2)::before{
    content:"";
    position:absolute;
    left:-21px;
    top:50%;
    width:8px;
    height:8px;
    border-top:2px solid #E0D2C5;
    border-right:2px solid #E0D2C5;
    transform:translateY(-50%) rotate(45deg);
    filter:
      drop-shadow(0 0 4px rgba(224,210,197,.58))
      drop-shadow(0 0 8px rgba(224,210,197,.18));
  }

  .cs-modal-content .cs-card-text .cs-desc:nth-of-type(2){
    position:relative;
  }
}

@media(prefers-reduced-motion:reduce){.cs-modal-content .cs-card-body-inner::after{
    animation:none !important;
    transform:translateX(18px);
    opacity:1;
  }
}
/* ===== Replace previous modal connector with exact homepage-style SVG flow ===== */
@media(min-width:861px){
  .cs-modal-content .cs-card-body-inner::before,
  .cs-modal-content .cs-card-body-inner::after,
  .cs-modal-content .cs-card-text .cs-desc:nth-of-type(2)::before{
    display:none !important;
    content:none !important;
  }
}

@media(min-width:861px){.cs-modal-content .cs-card-body-inner{
    grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr) !important;
  }
}


@media(min-width:861px){.cs-modal-content .cs-card-text{
    display:contents !important;
  }
.cs-modal-content .cs-card-text .cs-desc:first-of-type{
    grid-column:1 !important;
    grid-row:1 !important;
  }
.cs-modal-content .cs-card-text .cs-desc:nth-of-type(2){
    grid-column:3 !important;
    grid-row:1 !important;
  }
}

@media(max-width:860px){.cs-modal-content .cs-card-text{
    display:flex !important;
    flex-direction:column !important;
  }
.cs-modal-content .cs-card-text .cs-desc:first-of-type{
    order:1;
  }
.cs-modal-content .cs-card-text .cs-desc:nth-of-type(2){
    order:3;
  }
}

@media(min-width:861px){.cs-modal-content .cs-card-body-inner{
    grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr) !important;
    column-gap:12px !important;
  }
.cs-modal-content .cs-card-text{
    display:contents !important;
  }
.cs-modal-content .cs-card-text .cs-desc:first-of-type{
    grid-column:1 !important;
    grid-row:1 !important;
  }
.cs-modal-content .cs-card-text .cs-desc:nth-of-type(2){
    grid-column:3 !important;
    grid-row:1 !important;
    position:relative;
  }
.cs-modal-content .cs-card-body-inner::before{
    content:"";
    grid-column:2;
    grid-row:1;
    align-self:center;
    justify-self:center;
    width:28px;
    height:1px;
    background:rgba(224,210,197,.28);
  }
.cs-modal-content .cs-card-body-inner::after{
    content:"";
    grid-column:2;
    grid-row:1;
    align-self:center;
    justify-self:end;
    width:7px;
    height:7px;
    margin-right:4px;
    border-top:1.5px solid #E0D2C5;
    border-right:1.5px solid #E0D2C5;
    transform:rotate(45deg);
    opacity:.9;
  }
}

@media(max-width:860px){.cs-modal-content .cs-card-text{
    display:flex !important;
    flex-direction:column !important;
  }
.cs-modal-content .cs-card-text .cs-desc:first-of-type{
    margin-bottom:18px !important;
    position:relative;
  }
.cs-modal-content .cs-card-text .cs-desc:first-of-type::after{
    content:"↓";
    position:absolute;
    left:50%;
    bottom:-17px;
    transform:translateX(-50%);
    color:#E0D2C5;
    font-size:15px;
    line-height:1;
    opacity:.8;
  }
}
/* ===== Modal image crop: preserve context,trim only bottom whitespace ===== */
.cs-modal-content .cs-card-mock-big{
  width:100% !important;
  max-width:none !important;
  height:auto !important;
  aspect-ratio:auto !important;
  overflow:hidden !important;
  background:#fff;
  border-radius:18px;
}
.cs-modal-content .cs-card-mock-big .cs-mock-host{
  width:100% !important;
  height:auto !important;
  aspect-ratio:1160 / 850 !important;
  transform:none !important;
  transform-origin:center top !important;
  overflow:hidden !important;
}
/* Default: show the full mockup,no zoom */
.cs-modal-content .cs-card-mock-big .cs-mock-host > *{
  transform:none !important;
}
/* For screenshots with extra dead white space at the bottom,trim only the bottom edge without scaling the UI itself. */
.cs-modal-content .cs-card-mock-big.trim-bottom{
  max-height:clamp(420px, 58vw, 650px);
}
/* Explicit per-mock bottom trims based on where the useful content ends.
   These only change container height; they do NOT zoom the screenshot. */
.cs-modal-content .cs-card-mock-big:has(#mock-1){
  max-height:520px;
}
.cs-modal-content .cs-card-mock-big:has(#mock-2){
  max-height:560px;
}
.cs-modal-content .cs-card-mock-big:has(#mock-3){
  max-height:520px;
}
.cs-modal-content .cs-card-mock-big:has(#mock-4){
  max-height:530px;
}
.cs-modal-content .cs-card-mock-big:has(#mock-5){
  max-height:560px;
}
.cs-modal-content .cs-card-mock-big:has(#mock-6){
  max-height:560px;
}
.cs-modal-content .cs-card-mock-big:has(#mock-7){
  max-height:540px;
}
.cs-modal-content .cs-card-mock-big:has(#mock-8){
  max-height:540px;
}
.cs-modal-content .cs-card-mock-big:has(#mock-9){
  max-height:540px;
}
.cs-modal-content .cs-card-mock-big:has(#mock-10){
  max-height:540px;
}

@media(max-width:860px){.cs-modal-content .cs-card-mock-big{
    border-radius:15px;
  }
.cs-modal-content .cs-card-mock-big .cs-mock-host{
    transform:none !important;
  }
.cs-modal-content .cs-card-mock-big:has(#mock-1),.cs-modal-content .cs-card-mock-big:has(#mock-2),.cs-modal-content .cs-card-mock-big:has(#mock-3),.cs-modal-content .cs-card-mock-big:has(#mock-4),.cs-modal-content .cs-card-mock-big:has(#mock-5),.cs-modal-content .cs-card-mock-big:has(#mock-6),.cs-modal-content .cs-card-mock-big:has(#mock-7),.cs-modal-content .cs-card-mock-big:has(#mock-8),.cs-modal-content .cs-card-mock-big:has(#mock-9),.cs-modal-content .cs-card-mock-big:has(#mock-10){
    max-height:none;
  }
}
/* ===== IMAGE VISIBILITY FIX ===== */
.cs-modal-content .cs-card-mock-big,.cs-modal-content .cs-card-mock-big:has(#mock-1),.cs-modal-content .cs-card-mock-big:has(#mock-2),.cs-modal-content .cs-card-mock-big:has(#mock-3),.cs-modal-content .cs-card-mock-big:has(#mock-4),.cs-modal-content .cs-card-mock-big:has(#mock-5),.cs-modal-content .cs-card-mock-big:has(#mock-6),.cs-modal-content .cs-card-mock-big:has(#mock-7),.cs-modal-content .cs-card-mock-big:has(#mock-8),.cs-modal-content .cs-card-mock-big:has(#mock-9),.cs-modal-content .cs-card-mock-big:has(#mock-10){
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  overflow:hidden !important;
  background:transparent !important;
}
.cs-modal-content .cs-card-mock-big .cs-mock-host{
  display:block !important;
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:1160 / 850 !important;
  transform:none !important;
  scale:1 !important;
  overflow:visible !important;
  opacity:1 !important;
  visibility:visible !important;
}
/* Do not transform/crop the actual mock content */
.cs-modal-content .cs-card-mock-big .cs-mock-host > *{
  transform:none !important;
  opacity:1 !important;
  visibility:visible !important;
}
/* Keep modal ordering */
@media(min-width:861px){
  .cs-modal-content .cs-card-mock-big{
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    margin:0 !important;
  }
}

@media(max-width:860px){.cs-modal-content .cs-card-mock-big{
    order:3 !important;
    margin:6px 0 14px !important;
  }
}
/* ===== FIX: visible minimal connector arrow between Before / After ===== */
@media(min-width:861px){
  .cs-modal-content .cs-card-body-inner{
    position:relative !important;
    grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr) !important;
    column-gap:10px !important;
  }

  /* remove any hidden/overridden pseudo connectors */
  .cs-modal-content .cs-card-body-inner::before,
  .cs-modal-content .cs-card-body-inner::after{
    content:"" !important;
    display:block !important;
    position:relative !important;
    z-index:5 !important;
    pointer-events:none !important;
  }

  .cs-modal-content .cs-card-body-inner::before{
    grid-column:2 !important;
    grid-row:1 !important;
    align-self:center !important;
    justify-self:center !important;
    width:30px !important;
    height:1px !important;
    background:#E0D2C5 !important;
    opacity:.72 !important;
    box-shadow:0 0 6px rgba(224,210,197,.18) !important;
  }

  .cs-modal-content .cs-card-body-inner::after{
    grid-column:2 !important;
    grid-row:1 !important;
    align-self:center !important;
    justify-self:end !important;
    width:8px !important;
    height:8px !important;
    margin-right:5px !important;
    border-top:2px solid #E0D2C5 !important;
    border-right:2px solid #E0D2C5 !important;
    transform:rotate(45deg) !important;
    opacity:.9 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
}
/* ===== FINAL: plain right arrow + thin app-photo border ===== */
@media(min-width:861px){
  /* Kill every previous line / ball / pseudo connector */
  .cs-modal-content .cs-card-body-inner::before{
    content:none !important;
    display:none !important;
  }

  .cs-modal-content .cs-card-body-inner::after{
    content:"→" !important;
    display:block !important;
    grid-column:2 !important;
    grid-row:1 !important;
    align-self:center !important;
    justify-self:center !important;
    position:relative !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:none !important;
    box-shadow:none !important;
    filter:none !important;
    transform:none !important;
    color:#E0D2C5 !important;
    font-family:'Questrial',sans-serif !important;
    font-size:21px !important;
    line-height:1 !important;
    font-weight:400 !important;
    opacity:.78 !important;
  }
}
/* Thin,quiet border around the app visual */
.cs-modal-content .cs-card-mock-big{
  border:1px solid rgba(224,210,197,.22) !important;
  border-radius:18px !important;
  box-shadow:none !important;
  box-sizing:border-box !important;
}

@media(max-width:860px){.cs-modal-content .cs-card-mock-big{
    border-radius:15px !important;
  }
}
/* ===== Give Before / After more width; keep arrow compact ===== */
@media(min-width:861px){
  .cs-modal-content .cs-card-body-inner{
    grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr) !important;
    column-gap:6px !important;
  }

  .cs-modal-content .cs-card-body-inner::after{
    font-size:18px !important;
    margin:0 !important;
    padding:0 !important;
  }
}
/* ===== Equal-height Before / After containers ===== */
@media(min-width:861px){
  .cs-modal-content .cs-card-text .cs-desc:first-of-type,
  .cs-modal-content .cs-card-text .cs-desc:nth-of-type(2){
    height:100% !important;
    min-height:100% !important;
    align-self:stretch !important;
    box-sizing:border-box !important;
  }
}
/* Mobile: keep both boxes visually consistent too */
@media(max-width:860px){
  .cs-modal-content .cs-card-text .cs-desc{
    width:100% !important;
    box-sizing:border-box !important;
  }
}
/* ===== Scan-friendly Before / After lists ===== */
.cs-card-text .cs-desc{
  display:block;
}
.cs-card-text .cs-desc .cs-scan-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:9px;
}
.cs-card-text .cs-desc .cs-scan-list li{
  position:relative;
  margin:0;
  padding-left:22px;
  font-family:'Questrial',sans-serif;
  font-size:14.5px;
  line-height:1.35;
  font-weight:400;
  color:#FBF6F0;
}
/* Before = quiet neutral dot */
.cs-card-text .cs-before .cs-scan-list li::before{
  content:"";
  position:absolute;
  left:2px;
  top:.48em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:rgba(251,246,240,.34);
}
/* After = peach check */
.cs-card-text .cs-after .cs-scan-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:-1px;
  color:#E0D2C5;
  font-family:'League Spartan',sans-serif;
  font-size:16px;
  line-height:1;
  font-weight:700;
}
/* Keep paired containers equal height */
@media(min-width:861px){
  .cs-modal-content .cs-card-text .cs-before,
  .cs-modal-content .cs-card-text .cs-after{
    height:100% !important;
    min-height:100% !important;
    align-self:stretch !important;
  }
}

@media(max-width:860px){.cs-card-text .cs-desc .cs-scan-list{
    gap:8px;
  }
.cs-card-text .cs-desc .cs-scan-list li{
    font-size:13.5px;
    padding-left:21px;
  }
}
/* ===== Fix checklist markup/layout ===== */
.cs-card-text .cs-desc{
  display:block !important;
}
.cs-modal-content .cs-card-text .cs-before,.cs-modal-content .cs-card-text .cs-after{
  box-sizing:border-box !important;
}
/* keep labels aligned cleanly */
.cs-card-text .cs-desc strong.tag{
  display:block !important;
  margin-bottom:10px !important;
}
/* prevent browser default UL spacing from leaking in */
.cs-card-text .cs-scan-list{
  margin:0 !important;
  padding:0 !important;
}
/* equal-height desktop cards */
@media(min-width:861px){
  .cs-modal-content .cs-card-text .cs-before,
  .cs-modal-content .cs-card-text .cs-after{
    height:100% !important;
    min-height:100% !important;
    align-self:stretch !important;
  }
}
/* ===== Force Before / After to identical widths ===== */
@media(min-width:861px){
  .cs-modal-content .cs-card-body-inner{
    grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr) !important;
    column-gap:6px !important;
  }

  .cs-modal-content .cs-card-text .cs-before{
    grid-column:1 !important;
    grid-row:1 !important;
    width:100% !important;
    max-width:none !important;
    justify-self:stretch !important;
    align-self:stretch !important;
    box-sizing:border-box !important;
  }

  .cs-modal-content .cs-card-text .cs-after{
    grid-column:3 !important;
    grid-row:1 !important;
    width:100% !important;
    max-width:none !important;
    justify-self:stretch !important;
    align-self:stretch !important;
    box-sizing:border-box !important;
  }
}
/* ===== AUTOMATION PAGE SHELL ALIGNMENT ===== */
html{scroll-behavior:smooth}
/* Cards open a project modal,so use an open-project icon instead of a down chevron. */
.cs-card-toggle{
  font-size:0 !important;
}
.cs-card-toggle::before{
  content:"↗" !important;
  position:static !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  border:0 !important;
  transform:none !important;
  color:#FBF6F0 !important;
  font-family:'Questrial',sans-serif !important;
  font-size:17px !important;
  font-weight:400 !important;
  line-height:1 !important;
}
.cs-card-head:hover .cs-card-toggle::before{color:#E0D2C5 !important}
/* Match the contact/footer system used on the home and software pages. */
.contact-strip{margin-top:0}
.site-footer-links{display:none}
.site-header .site-cta{border-radius:999px !important}
.contact-strip .contact-btn{border-radius:999px !important}
/* Project cards and app screenshots stay intentionally rounded. */
.cs-card,.cs-card-head,.cs-card-mock-big,.cs-modal-content .cs-card-mock-big{
  border-radius:18px;
}
/* ===== AUTOMATION HERO-TO-CASE-STUDY BRIDGE ===== */
.cs-wrap{position:relative;background:
    linear-gradient(rgba(224,210,197,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(224,210,197,.025) 1px,transparent 1px),
    radial-gradient(circle at 82% 0%,rgba(193,109,70,.10),transparent 32%),
    linear-gradient(180deg,#2C2523 0%,#332C2A 34%);background-size:32px 32px,32px 32px,auto,auto}
.cs-intro{
  max-width:1160px;
  margin:0 auto 62px;
  text-align:left;
}
.cs-transition-copy{
  max-width:820px;
  margin-bottom:32px;
}
.cs-transition-kicker{
  display:block;
  margin-bottom:13px;
  color:#E0D2C5;
  font-family:'League Spartan',sans-serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:.15em;
}
.cs-intro .cs-transition-copy p{
  max-width:800px;
  margin:0;
  color:#FBF6F0;
  font-size:17px;
  line-height:1.62;
  opacity:.86;
}
.cs-listing-intro{
  max-width:1160px;
  margin:0 auto 25px;
  padding-top:45px;
  border-top:1px solid rgba(224,210,197,.13);
}
.cs-listing-intro h2{
  max-width:720px;
  margin:0;
  color:#FBF6F0;
  font-family:'League Spartan',sans-serif;
  font-size:clamp(34px,4vw,52px);
  font-weight:700;
  line-height:.98;
  letter-spacing:-.035em;
}
.cs-filters{
  max-width:1160px;
  margin-left:auto;
  margin-right:auto;
  justify-content:flex-start;
}

@media(max-width:760px){.cs-wrap{background-size:26px 26px,26px 26px,auto,auto}
.cs-intro{margin-bottom:46px}
.cs-transition-copy{margin-bottom:26px}
.cs-intro .cs-transition-copy p{font-size:15px;line-height:1.58}
.cs-listing-intro{padding-top:36px;margin-bottom:22px}
.cs-listing-intro h2{font-size:36px;max-width:330px}
}
.cs-wrap{max-width:none;padding-left:24px;padding-right:24px}
.cs-intro{max-width:none;margin:0 0 72px}
.cs-listing-intro,.cs-filters,.cs-grid{max-width:1160px;margin-left:auto;margin-right:auto}
.cs-card-toggle{
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid rgba(224,210,197,.35);
  background:rgba(48,45,47,.72);
  transform:none;
}
.cs-card-toggle::before{font-size:18px!important}
.cs-cta{justify-content:flex-start}
.cs-cta .btn{border-radius:0;padding:14px 20px;font-size:14px;text-transform:lowercase}
@media(max-width:640px){.cs-wrap{padding-left:0;padding-right:0}
.cs-intro{margin-bottom:52px;padding:0 16px}
.cs-listing-intro,.cs-filters,.cs-grid{margin-left:16px;margin-right:16px}
.cs-cta .btn{width:auto}
}
/* Keep the modal affordance and its animated border perfectly circular. */
.cs-card .cs-card-toggle{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border-radius:50%!important;
  transform:none!important;
}
.cs-card .cs-card-toggle::after{border-radius:50%!important}
.cs-intro{margin-top:0!important;margin-bottom:76px!important}
.cs-listing-intro{
  padding-top:0!important;
  border-top:0!important;
  margin-top:0!important;
}
.cs-listing-intro h2{
  max-width:none!important;
  white-space:nowrap;
}

@media(max-width:900px){.cs-listing-intro h2{white-space:normal}
}
@media(max-width:640px){.cs-intro{margin-bottom:52px!important}
.cs-listing-intro{padding-top:0!important}
}
/* 2026-09-16: make the proof strip truly full-bleed with one continuous glow. */
.cs-wrap{padding-left:0!important;padding-right:0!important}
.cs-intro{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  margin-bottom:118px!important;
}
@property --proof-glow-angle{
  syntax:"<angle>";
  inherits:false;
  initial-value:0deg;
}
@keyframes proofStripGlow{to{--proof-glow-angle:360deg}}
.cs-cta{margin-top:12px!important}
@media(max-width:640px){.cs-intro{margin-bottom:64px!important}
}
.cs-intro{margin-bottom:101px!important}
.cs-listing-intro{margin-bottom:25px!important}
@media(max-width:640px){.cs-intro{margin-bottom:64px!important}
}
/* 2026-09-16: use the 76px section rhythm from Software. */
.cs-intro{margin-bottom:76px!important}
@media(max-width:640px){.cs-intro{margin-bottom:52px!important}
}
/* Match the Case Studies kicker to the 14px hero eyebrow. */
.cs-listing-intro .cs-transition-kicker{font-size:14px!important}
/* 2026-09-16: bring case-study controls and card type into the Software visual system. */
.cs-filter-chip{border-radius:999px!important}
.cs-title{
  font-family:'League Spartan',sans-serif!important;
  font-size:20px!important;
  font-weight:700!important;
  line-height:1.08!important;
  text-transform:lowercase!important;
}
.cs-card-head .cs-stat,.cs-card-investment,.cs-card-investment strong{
  font-size:17px!important;
  line-height:1.58!important;
}
@media(max-width:640px){.cs-card-head .cs-stat,.cs-card-investment,.cs-card-investment strong{
    font-size:15px!important;
    line-height:1.5!important;
  }
}
/* Strengthen the case-study hierarchy and mirror Software's vertical rhythm. */
.cs-card .cs-title{
  color:#FBF6F0!important;
  font-size:26px!important;
  line-height:1.05!important;
  margin:0 0 14px!important;
}
.cs-card .cs-industry{margin-bottom:8px!important}
.cs-card-head .cs-stat{
  color:#E0D2C5!important;
  margin:0 0 6px!important;
}
.cs-card .cs-card-investment{
  color:#E0D2C5!important;
  margin:0!important;
}
.cs-card .cs-card-investment strong{color:#E0D2C5!important}
.cs-card .cs-metric-label{color:#E0D2C5!important}
@media(max-width:640px){.cs-card .cs-title{font-size:22px!important;margin-bottom:12px!important}
.cs-card-head .cs-stat{margin-bottom:5px!important}
}
/* 2026-09-16: optically center case titles and tighten metric spacing. */
.cs-card .cs-industry{margin-bottom:10px!important}
.cs-card .cs-title{margin-bottom:10px!important}
.cs-card-head .cs-stat{margin-bottom:2px!important}
@media(max-width:640px){.cs-card .cs-industry{margin-bottom:8px!important}
.cs-card .cs-title{margin-bottom:8px!important}
.cs-card-head .cs-stat{margin-bottom:2px!important}
}
/* 2026-09-16: simplify collapsed case-study cards for faster scanning. */
.cs-grid{gap:26px!important}
.cs-card{position:relative}
.cs-card-head{
  position:relative!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  min-height:0!important;
  padding:0!important;
  overflow:hidden;
}
.cs-card-num{display:none!important}
.cs-card-meta{
  order:1;
  min-height:178px;
  padding:24px 74px 22px 24px;
  align-items:flex-start!important;
  justify-content:center!important;
  text-align:left!important;
}
.cs-card-mock-thumb{
  order:2;
  position:relative;
  width:100%!important;
  height:138px;
  overflow:hidden;
  border-top:1px solid rgba(224,210,197,.12);
  background:#242122;
}
.cs-card-mock-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(36,33,34,.10),rgba(36,33,34,.40)),
    linear-gradient(90deg,rgba(224,210,197,.05),transparent 55%);
}
.cs-card-mock-thumb .cs-mock-host{
  width:100%!important;
  min-height:100%;
  border-radius:0!important;
  opacity:.62;
  filter:saturate(.58) contrast(.88);
  transform:translateY(-8%);
  transition:opacity .25s ease,filter .25s ease,transform .25s ease;
}
.cs-card-head:hover .cs-card-mock-thumb .cs-mock-host{
  opacity:.76;
  filter:saturate(.72) contrast(.94);
  transform:translateY(-8%) scale(1.01);
}
.cs-card .cs-card-toggle{
  position:absolute!important;
  top:22px!important;
  right:22px!important;
  z-index:4;
  margin:0!important;
}
.cs-card .cs-industry{margin-bottom:12px!important}
.cs-card .cs-title{
  max-width:440px;
  margin-bottom:13px!important;
}
.cs-card-head .cs-stat{margin-bottom:1px!important}

@media(max-width:640px){.cs-grid{gap:18px!important}
.cs-card-meta{
    min-height:160px;
    padding:21px 64px 19px 20px;
  }
.cs-card-mock-thumb{height:112px}
.cs-card .cs-card-toggle{
    top:18px!important;
    right:18px!important;
  }
.cs-card .cs-industry{margin-bottom:10px!important}
.cs-card .cs-title{margin-bottom:10px!important}
}
/* Ensure the collapsed preview participates in the new stacked card layout. */
.cs-card:not(.expanded) .cs-card-mock-thumb{
  position:relative!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  height:138px!important;
}
@media(max-width:640px){.cs-card:not(.expanded) .cs-card-mock-thumb{height:112px!important}
}
/* 2026-09-16: retain the lighter hierarchy in the original compact card footprint. */
.cs-card:not(.expanded) .cs-card-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 148px!important;
  min-height:178px!important;
}
.cs-card:not(.expanded) .cs-card-meta{
  grid-column:1;
  grid-row:1;
  min-height:178px;
  padding:22px 24px!important;
}
.cs-card:not(.expanded) .cs-card-mock-thumb{
  grid-column:2;
  grid-row:1;
  width:148px!important;
  height:178px!important;
  border-top:0;
  border-left:1px solid rgba(224,210,197,.12);
}
.cs-card:not(.expanded) .cs-card-mock-thumb .cs-mock-host{
  width:155%!important;
  min-height:100%;
  transform:translate(-16%,-4%);
}
.cs-card:not(.expanded) .cs-card-head:hover .cs-card-mock-thumb .cs-mock-host{
  transform:translate(-16%,-4%) scale(1.01);
}
.cs-card:not(.expanded) .cs-card-toggle{
  top:16px!important;
  right:16px!important;
}
@media(max-width:640px){.cs-card:not(.expanded) .cs-card-head{
    grid-template-columns:minmax(0,1fr) 104px!important;
    min-height:166px!important;
  }
.cs-card:not(.expanded) .cs-card-meta{
    min-height:166px;
    padding:19px 16px 18px 18px!important;
  }
.cs-card:not(.expanded) .cs-card-mock-thumb{
    width:104px!important;
    height:166px!important;
  }
.cs-card:not(.expanded) .cs-card-toggle{
    top:14px!important;
    right:14px!important;
  }
}
/* 2026-09-16: full-card app backgrounds with quieter metrics and peach tags. */
.cs-card:not(.expanded) .cs-card-head{
  display:block!important;
  min-height:178px!important;
  isolation:isolate;
}
.cs-card:not(.expanded) .cs-card-mock-thumb{
  position:absolute!important;
  inset:0!important;
  z-index:0;
  width:100%!important;
  height:100%!important;
  border:0!important;
  background:#242122;
}
.cs-card:not(.expanded) .cs-card-mock-thumb::after{
  background:
    linear-gradient(90deg,rgba(31,28,29,.94) 0%,rgba(31,28,29,.88) 52%,rgba(31,28,29,.72) 100%),
    linear-gradient(180deg,rgba(31,28,29,.48),rgba(31,28,29,.68))!important;
}
.cs-card:not(.expanded) .cs-card-mock-thumb .cs-mock-host{
  width:100%!important;
  min-height:100%;
  opacity:.58!important;
  filter:saturate(.62) contrast(.9)!important;
  transform:scale(1.03)!important;
}
.cs-card:not(.expanded) .cs-card-head:hover .cs-card-mock-thumb .cs-mock-host{
  opacity:.66!important;
  filter:saturate(.7) contrast(.94)!important;
  transform:scale(1.045)!important;
}
.cs-card:not(.expanded) .cs-card-meta{
  position:relative!important;
  z-index:3;
  width:100%;
  max-width:430px;
  min-height:178px;
  padding:22px 70px 22px 24px!important;
}
.cs-card .cs-industry{
  color:#332C2A!important;
  background:#E0D2C5!important;
  border-color:#E0D2C5!important;
}
.cs-card-head .cs-stat,.cs-card-head .cs-stat .highlight,.cs-card .cs-metric-label,.cs-card .cs-card-investment,.cs-card .cs-card-investment strong{
  color:rgba(235,232,230,.78)!important;
}
@media(max-width:640px){.cs-card:not(.expanded) .cs-card-head{min-height:166px!important}
.cs-card:not(.expanded) .cs-card-meta{
    max-width:330px;
    min-height:166px;
    padding:19px 58px 18px 18px!important;
  }
.cs-card:not(.expanded) .cs-card-mock-thumb{
    width:100%!important;
    height:100%!important;
  }
}
/* 2026-09-16: quiet category tags against the app-background cards. */
.cs-card .cs-industry{
  color:#E0D2C5!important;
  background:rgba(31,28,29,.78)!important;
  border:1px solid rgba(224,210,197,.32)!important;
}
/* 2026-09-16: connect the final CTA directly to the case-study journey. */
.cs-cta-kicker{
  display:block;
  margin:0 0 11px;
  font-family:'League Spartan',sans-serif;
  font-size:14px;
  font-weight:700;
  line-height:1;
  letter-spacing:.12em;
  color:#E0D2C5;
}
@media(max-width:640px){.cs-cta-kicker{font-size:13px;margin-bottom:10px}
}
.cs-cta-kicker{color:#E0D2C5 !important}
/* Match the case studies heading to the section headline scale used across the site. */
.cs-listing-intro .cs-transition-kicker{
  margin:0;
  font-family:'League Spartan',sans-serif!important;
  font-size:clamp(30px,3.2vw,38px)!important;
  font-weight:700!important;
  line-height:1.08!important;
  letter-spacing:-.03em!important;
  text-transform:lowercase!important;
  color:#FBF6F0!important;
}
/* Keep uppercase peach labels in Questrial. */
.cs-cta-kicker{font-family:'Questrial',sans-serif}
/* Consistent service-page type hierarchy. */
.auto-hero-copy .eyebrow,.cs-listing-intro .cs-transition-kicker,.cs-cta-kicker{
  font-family:'Questrial',sans-serif;
  font-size:14px!important;
  font-weight:700;
  line-height:1!important;
  letter-spacing:.22em;
}
.cs-card-head .cs-stat,.cs-card-investment,.cs-card-investment strong{font-size:16px!important;line-height:1.55!important}
.cs-desc{font-size:16px;line-height:1.55}
.cs-cost{font-size:14px;line-height:1.5}
.cs-card .cs-desc{font-size:16px!important;line-height:1.55!important}
/* Restore the Case Studies heading hierarchy and unify supporting copy colour. */
.cs-listing-intro .cs-transition-kicker{
  font-family:'League Spartan',sans-serif!important;
  font-size:38px!important;
  font-weight:700!important;
  line-height:1.05!important;
  letter-spacing:-.03em!important;
  text-transform:lowercase!important;
  color:#FBF6F0!important;
}
.cs-card-head .cs-stat,.cs-card-investment,.cs-card-investment strong,.cs-card .cs-desc{color:rgba(251,246,240,.74)!important;opacity:1!important}
.cs-cost{color:rgba(251,246,240,.62)!important;opacity:1!important}
/* Editorial service-page treatment for case-study popouts. */
.cs-modal{padding:24px}
.cs-modal-backdrop{
  background:rgba(20,18,19,.84);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.cs-modal-dialog{
  width:min(1120px,calc(100vw - 48px));
  max-height:calc(100vh - 48px);
  margin:auto;
  border:0;
  border-radius:0;
  background:#2C2523;
  box-shadow:0 32px 90px rgba(0,0,0,.62);
  scrollbar-color:rgba(224,210,197,.34) transparent;
}
.cs-modal-dialog::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  z-index:3;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 0%,rgba(224,210,197,.20) 12%,rgba(224,210,197,.82) 50%,rgba(224,210,197,.20) 88%,transparent 100%);
}
.cs-modal-close{
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  margin:0 0 -42px auto;
  border:1px solid rgba(224,210,197,.30);
  border-radius:0;
  background:rgba(41,38,39,.92);
  color:#E0D2C5;
  box-shadow:none;
  font-size:22px;
}
.cs-modal-close:hover{background:#E0D2C5;color:#332C2A;border-color:#E0D2C5}
.cs-modal-project-head{
  display:grid;
  grid-template-columns:auto auto 1fr;
  column-gap:0;
  padding:34px 84px 26px 36px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.cs-modal-project-head .cs-industry{
  grid-column:1/-1;
  justify-self:start;
  height:auto;
  margin:0 0 12px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#E0D2C5;
  font-family:'Questrial',sans-serif;
  font-size:12px;
  font-weight:700;
  line-height:1;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.cs-modal-project-head .cs-title{
  grid-column:1/-1;
  margin:0 0 18px;
  color:#FBF6F0;
  font-family:'League Spartan',sans-serif!important;
  font-size:clamp(30px,3vw,40px)!important;
  font-weight:700;
  line-height:1.04!important;
  letter-spacing:-.025em;
  text-transform:lowercase!important;
}
.cs-modal-project-head .cs-stat,.cs-modal-project-head .cs-card-investment{
  display:block;
  width:auto;
  margin:0!important;
  padding:12px 28px 0 0;
  border-top:1px solid rgba(224,210,197,.18);
  color:rgba(251,246,240,.72)!important;
  font-family:'Questrial',sans-serif;
  font-size:14px!important;
  line-height:1.45!important;
}
.cs-modal-project-head .cs-card-investment{padding-left:28px;border-left:1px solid rgba(255,255,255,.10)}
.cs-modal-project-head .cs-stat .cs-metric-label,.cs-modal-project-head .cs-card-investment strong{color:#E0D2C5!important;font-weight:700}
.cs-modal-content .cs-card-body-inner{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:24px!important;
  padding:30px 36px 34px!important;
}
.cs-modal-content .cs-card-body-inner::before,.cs-modal-content .cs-card-body-inner::after{display:none!important}
.cs-modal-content .cs-card-mock-big{
  grid-column:1/-1!important;
  width:100%!important;
  height:auto!important;
  min-height:540px;
  border:1px solid rgba(224,210,197,.20)!important;
  border-radius:0!important;
  background:#231e1d;
  overflow:hidden;
}
.cs-modal-content .cs-card-mock-big .cs-mock-host{border-radius:0!important}
.cs-modal-content .cs-card-text{display:contents!important}
.cs-modal-content .cs-card-text .cs-desc{
  min-height:0!important;
  padding:20px 22px!important;
  border:0!important;
  border-top:1px solid rgba(224,210,197,.24)!important;
  border-radius:0!important;
  background:transparent!important;
  color:rgba(251,246,240,.72)!important;
  box-shadow:none!important;
}
.cs-modal-content .cs-card-text .cs-desc::before,.cs-modal-content .cs-card-text .cs-desc::after{display:none!important}
.cs-modal-content .cs-card-text .cs-desc:first-of-type{grid-column:1!important}
.cs-modal-content .cs-card-text .cs-desc:nth-of-type(2){grid-column:2!important}
.cs-modal-content .cs-card-text .cs-desc .tag{
  display:block;
  margin:0 0 12px;
  color:#E0D2C5;
  font-family:'Questrial',sans-serif;
  font-size:12px;
  font-weight:700;
  line-height:1;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.cs-modal-content .cs-card-text .cs-after{border-left:1px solid rgba(255,255,255,.10)!important}
.cs-modal-content .cs-card-text .cs-cost{
  grid-column:1/-1!important;
  width:100%;
  margin:0!important;
  padding:16px 0 0!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  color:rgba(251,246,240,.52)!important;
  font-size:13px!important;
  line-height:1.5!important;
}
@media(max-width:760px){.cs-modal{padding:0}
.cs-modal-dialog{width:100%;max-height:100vh;border-radius:0}
.cs-modal-project-head{grid-template-columns:1fr;padding:28px 64px 22px 20px}
.cs-modal-project-head .cs-title{font-size:30px!important}
.cs-modal-project-head .cs-stat,.cs-modal-project-head .cs-card-investment{padding:10px 0 0;border-left:0}
.cs-modal-project-head .cs-card-investment{margin-top:8px!important}
.cs-modal-content .cs-card-body-inner{grid-template-columns:1fr!important;gap:18px!important;padding:20px!important}
.cs-modal-content .cs-card-mock-big{grid-column:1!important;min-height:0}
.cs-modal-content .cs-card-text .cs-desc:first-of-type,.cs-modal-content .cs-card-text .cs-desc:nth-of-type(2){grid-column:1!important}
.cs-modal-content .cs-card-text .cs-after{border-left:0!important}
.cs-modal-content .cs-card-text .cs-cost{grid-column:1!important}
}
/* Defeat legacy modal grid rules so the editorial layout stays intact. */
.cs-modal .cs-modal-dialog .cs-modal-project-head .cs-title{color:#FBF6F0!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-body-inner{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big{
  grid-column:1/-1!important;
  width:100%!important;
  max-width:none!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-desc:first-of-type{grid-column:1!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-desc:nth-of-type(2){grid-column:2!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-desc{font-size:16px!important;line-height:1.55!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{grid-column:1/-1!important}
@media(max-width:760px){.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-body-inner{grid-template-columns:1fr!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big,.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-desc:first-of-type,.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-desc:nth-of-type(2),.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{grid-column:1!important}
}
/* Explicit modal rows prevent older nth-of-type placement rules creating an implicit third column. */
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big{grid-column:1/-1!important;grid-row:1!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-before{grid-column:1!important;grid-row:2!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after{grid-column:2!important;grid-row:2!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{grid-column:1/-1!important;grid-row:3!important}
@media(max-width:760px){.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-before{grid-column:1!important;grid-row:2!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after{grid-column:1!important;grid-row:3!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{grid-column:1!important;grid-row:4!important}
}
/* Put the story first,then show the product visual in a darker Next 12 palette. */
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-before{grid-column:1!important;grid-row:1!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after{grid-column:2!important;grid-row:1!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big{grid-column:1/-1!important;grid-row:2!important;position:relative;background:#231e1d!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{grid-column:1/-1!important;grid-row:3!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big .cs-mock-host{
  filter:brightness(.72) saturate(.58) contrast(.94);
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:8;
  pointer-events:none;
  background:rgba(40,36,38,.12);
  mix-blend-mode:multiply;
}
@media(max-width:760px){.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-before{grid-column:1!important;grid-row:1!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after{grid-column:1!important;grid-row:2!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big{grid-column:1!important;grid-row:3!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{grid-column:1!important;grid-row:4!important}
}
/* Simplify modal linework and let the rebuilt mockup theme carry the visual. */
.cs-modal-project-head{border-bottom:0!important}
.cs-modal-project-head .cs-stat,.cs-modal-project-head .cs-card-investment{border-top:0!important}
.cs-modal-content .cs-card-text .cs-before,.cs-modal-content .cs-card-text .cs-after{border-top:0!important}
.cs-modal-content .cs-card-text .cs-after{border-left:1px solid rgba(255,255,255,.10)!important}
.cs-modal-content .cs-card-text .cs-cost{
  width:100%!important;
  max-width:none!important;
  padding-top:0!important;
  border-top:0!important;
  text-align:center;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big .cs-mock-host{filter:none!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big::after{display:none!important}
@media(max-width:760px){.cs-modal-content .cs-card-text .cs-after{border-left:0!important}}
/* 2026-09-16: align modal metrics on one shared baseline. */
@media(min-width:761px){
  .cs-modal-project-head{grid-template-columns:max-content max-content 1fr!important}
  .cs-modal-project-head .cs-stat,
  .cs-modal-project-head .cs-card-investment{
    align-self:center!important;
    height:24px!important;
    min-height:24px!important;
    margin:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
    line-height:24px!important;
    white-space:nowrap;
  }
  .cs-modal-project-head .cs-stat{padding-left:0!important;padding-right:28px!important}
  .cs-modal-project-head .cs-card-investment{padding-left:28px!important;padding-right:0!important}
  .cs-modal-project-head .cs-stat .cs-metric-label,
  .cs-modal-project-head .cs-card-investment strong{line-height:24px!important}
}
/* 2026-09-16: complete case-study proof structure and ROI hierarchy. */
.cs-card-head .cs-card-capacity{display:none}
.cs-modal-project-head{
  grid-template-columns:max-content max-content max-content 1fr!important;
}
.cs-modal-project-head .cs-stat,.cs-modal-project-head .cs-card-investment,.cs-modal-project-head .cs-card-capacity{
  display:block;
  align-self:center!important;
  height:24px!important;
  min-height:24px!important;
  margin:0!important;
  padding:0 28px!important;
  color:rgba(251,246,240,.70)!important;
  font-family:'Questrial',sans-serif;
  font-size:14px!important;
  line-height:24px!important;
  white-space:nowrap;
}
.cs-modal-project-head .cs-stat{padding-left:0!important}
.cs-modal-project-head .cs-card-investment,.cs-modal-project-head .cs-card-capacity{border-left:1px solid rgba(255,255,255,.10)!important}
.cs-modal-project-head .cs-card-capacity strong,.cs-modal-project-head .cs-card-capacity .cs-metric-label{color:#E0D2C5!important;font-weight:700}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-workflow{
  grid-column:1/-1!important;
  grid-row:3!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{
  grid-column:1/-1!important;
  grid-row:5!important;
}
.cs-workflow{
  padding:26px!important;
  background:#242728;
  border:1px solid rgba(255,255,255,.08);
}
.cs-detail-kicker{
  display:block;
  margin:0 0 20px;
  color:#E0D2C5;
  font-family:'Questrial',sans-serif;
  font-size:12px;
  font-weight:700;
  line-height:1;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.cs-workflow-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:26px;
}
.cs-workflow-step{min-width:0}
.cs-workflow-step .cs-step-num{
  display:block;
  margin-bottom:12px;
  color:rgba(224,210,197,.50);
  font-family:'Questrial',sans-serif;
  font-size:12px;
  letter-spacing:.12em;
}
.cs-workflow-step strong{
  display:block;
  margin-bottom:8px;
  color:#FBF6F0;
  font-family:'League Spartan',sans-serif;
  font-size:20px;
  font-weight:600;
  line-height:1.1;
}
.cs-workflow-step p{
  margin:0;
  color:rgba(251,246,240,.66);
  font-family:'Questrial',sans-serif;
  font-size:14px;
  line-height:1.5;
}
.cs-modal-content .cs-card-text .cs-cost{
  color:rgba(251,246,240,.58)!important;
}
@media(max-width:900px){.cs-modal-project-head{grid-template-columns:1fr 1fr!important}
.cs-modal-project-head .cs-industry,.cs-modal-project-head .cs-title{grid-column:1/-1!important}
.cs-modal-project-head .cs-card-capacity{
    grid-column:1/-1!important;
    width:max-content;
    margin-top:8px!important;
    padding-left:0!important;
    border-left:0!important;
  }
.cs-workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){.cs-modal-project-head{grid-template-columns:1fr!important}
.cs-modal-project-head .cs-stat,.cs-modal-project-head .cs-card-investment,.cs-modal-project-head .cs-card-capacity{
    grid-column:1!important;
    width:auto;
    height:auto!important;
    min-height:0!important;
    margin:6px 0 0!important;
    padding:0!important;
    border-left:0!important;
    line-height:1.45!important;
  }
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-workflow{grid-column:1!important;grid-row:4!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{grid-column:1!important;grid-row:6!important}
.cs-workflow-grid{grid-template-columns:1fr}
.cs-workflow{padding:22px!important}
}
/* 2026-09-16: unify the case-study narrative and move the screen below the explanation. */
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-body-inner{
  column-gap:0!important;
  row-gap:24px!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-before{
  grid-column:1!important;
  grid-row:1!important;
  padding:25px 28px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-right:0!important;
  background:#202121!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after{
  grid-column:2!important;
  grid-row:1!important;
  padding:25px 28px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-left:1px solid rgba(255,255,255,.10)!important;
  background:#202121!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-workflow{
  grid-column:1/-1!important;
  grid-row:2!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big{
  grid-column:1/-1!important;
  grid-row:4!important;
  display:grid!important;
  grid-template-rows:44px minmax(0,1fr);
  height:520px!important;
  min-height:0!important;
  border-color:rgba(255,255,255,.12)!important;
  background:#0F1010!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big::before{
  content:"what it looks like";
  position:static!important;
  display:flex!important;
  align-items:center;
  padding:0 20px;
  border-bottom:1px solid rgba(255,255,255,.09);
  background:#171818;
  color:rgba(251,246,240,.58);
  font-family:'Questrial',sans-serif;
  font-size:12px;
  font-weight:700;
  line-height:1;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big .cs-mock-host{
  grid-row:2;
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{
  grid-column:1/-1!important;
  grid-row:5!important;
}
.cs-workflow{background:#1D1E1E!important}
.cs-modal-project-head .cs-stat,.cs-modal-project-head .cs-card-investment,.cs-modal-project-head .cs-card-capacity{
  color:#FBF6F0!important;
}
.cs-modal-project-head .cs-stat .cs-metric-label,.cs-modal-project-head .cs-card-investment,.cs-modal-project-head .cs-card-investment strong,.cs-modal-project-head .cs-card-capacity,.cs-modal-project-head .cs-card-capacity strong{
  color:#FBF6F0!important;
}
.cs-modal-project-head .cs-stat .cs-metric-label,.cs-modal-project-head .cs-card-capacity .cs-metric-label{
  color:rgba(251,246,240,.56)!important;
  font-weight:400!important;
}
@media(max-width:760px){.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-before{
    grid-column:1!important;
    grid-row:1!important;
    border-right:1px solid rgba(255,255,255,.09)!important;
  }
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after{
    grid-column:1!important;
    grid-row:2!important;
    border-left:1px solid rgba(255,255,255,.09)!important;
  }
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-workflow{grid-column:1!important;grid-row:3!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big{
    grid-column:1!important;
    grid-row:5!important;
    height:360px!important;
  }
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{grid-column:1!important;grid-row:6!important}
}
/* Keep workflow step headlines consistent with the site's lowercase editorial style. */
.cs-workflow-step strong{text-transform:lowercase}
/* Constrain the product evidence so it supports the story instead of dominating it. */
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big{
  height:440px!important;
  max-height:440px!important;
  min-height:0!important;
  overflow:hidden!important;
  grid-template-rows:44px 396px!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big .cs-mock-host{
  height:396px!important;
  max-height:396px!important;
  min-height:0!important;
  overflow:hidden!important;
}
@media(max-width:760px){.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big{
    height:330px!important;
    max-height:330px!important;
    grid-template-rows:44px 286px!important;
  }
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big .cs-mock-host{
    height:286px!important;
    max-height:286px!important;
  }
}
/* 2026-09-16: merge outcomes into the transformation and show complete app-window previews. */
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-workflow{
  grid-column:1/-1!important;
  grid-row:2!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big{
  grid-column:1/-1!important;
  grid-row:3!important;
  height:520px!important;
  max-height:520px!important;
  min-height:0!important;
  grid-template-rows:44px 476px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:14px!important;
  background:#101010!important;
  box-shadow:0 18px 40px rgba(0,0,0,.22);
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big::before{
  content:"what it looks like";
  padding:0 20px 0 70px;
  border-radius:13px 13px 0 0;
  background:
    radial-gradient(circle at 22px 22px,#666 0 3px,transparent 4px),
    radial-gradient(circle at 36px 22px,#555 0 3px,transparent 4px),
    radial-gradient(circle at 50px 22px,#444 0 3px,transparent 4px),
    #181818!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big .cs-mock-host{
  height:476px!important;
  max-height:476px!important;
  min-height:0!important;
  border-radius:0 0 13px 13px!important;
  overflow:hidden!important;
  background:#101010!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{
  grid-column:1/-1!important;
  grid-row:4!important;
}
@media(max-width:760px){.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-workflow{grid-column:1!important;grid-row:3!important}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big{
    grid-column:1!important;
    grid-row:4!important;
    height:350px!important;
    max-height:350px!important;
    grid-template-rows:44px 306px!important;
    border-radius:10px!important;
  }
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big .cs-mock-host{
    height:306px!important;
    max-height:306px!important;
    border-radius:0 0 9px 9px!important;
  }
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{grid-column:1!important;grid-row:5!important}
}
/* Centre the app-window label inside its chrome. */
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big::before{
  height:44px!important;
  min-height:44px!important;
  box-sizing:border-box;
  align-self:stretch!important;
}
/* ===== Case study popup alignment with planning-page columns ===== */
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-workflow{
  padding:0!important;
  background:#6D6668!important;
  border:0!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-workflow .cs-detail-kicker{
  margin:0!important;
  padding:0 0 18px!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-workflow-grid{
  gap:0!important;
  border-top:1px solid rgba(255,255,255,.09)!important;
  border-left:1px solid rgba(255,255,255,.09)!important;
  background:#2C2523!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-workflow-step{
  min-width:0!important;
  padding:23px 21px 25px!important;
  border-right:1px solid rgba(255,255,255,.09)!important;
  border-bottom:1px solid rgba(255,255,255,.09)!important;
  background:#2C2523!important;
}
/* One top rule plus a central divider creates the same T structure. */
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-before,.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after{
  padding:22px 22px 24px!important;
  border:0!important;
  border-top:1px solid rgba(255,255,255,.09)!important;
  background:#2C2523!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after{
  border-left:1px solid rgba(255,255,255,.09)!important;
}
/* Keep supporting labels inside the popup hierarchy. */
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-mock-big::before{
  color:#E0D2C5!important;
}
.cs-modal .cs-modal-dialog .cs-modal-project-head .cs-stat,.cs-modal .cs-modal-dialog .cs-modal-project-head .cs-stat *,.cs-modal .cs-modal-dialog .cs-modal-project-head .cs-card-investment,.cs-modal .cs-modal-dialog .cs-modal-project-head .cs-card-investment *,.cs-modal .cs-modal-dialog .cs-modal-project-head .cs-card-capacity,.cs-modal .cs-modal-dialog .cs-modal-project-head .cs-card-capacity *{
  color:rgba(251,246,240,.58)!important;
}

@media(max-width:760px){.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after{
    border-left:0!important;
  }
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-workflow-grid{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:520px){.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-workflow-grid{
    grid-template-columns:1fr!important;
  }
}
/* ===== Case study comparison markers and disclaimer alignment ===== */
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-before,.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after{
  position:relative!important;
  padding:0 22px 24px!important;
  border:0!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-before::before,.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:30px!important;
  left:0!important;
  right:0!important;
  height:1px!important;
  background:rgba(255,255,255,.09)!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:0!important;
  bottom:0!important;
  left:0!important;
  width:1px!important;
  background:rgba(255,255,255,.09)!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-desc .tag{
  margin:0!important;
  height:30px!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-scan-list{
  padding-top:18px!important;
}
.cs-card-text .cs-before .cs-scan-list li::before{
  content:"×"!important;
  left:0!important;
  top:-1px!important;
  width:auto!important;
  height:auto!important;
  border-radius:0!important;
  background:transparent!important;
  color:#D9786A!important;
  font-family:'League Spartan',sans-serif!important;
  font-size:17px!important;
  font-weight:700!important;
  line-height:1!important;
}
.cs-card-text .cs-after .cs-scan-list li::before{
  color:#8FB69B!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{
  grid-column:1!important;
  grid-row:5!important;
  padding:15px 20px 0 0!important;
}

@media(max-width:760px){.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after::after{
    display:none!important;
  }
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{
    grid-column:1!important;
    grid-row:6!important;
    padding-right:0!important;
  }
}
/* Keep Before and After aligned evenly around the divider. */
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after{
  padding-left:22px!important;
}
.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-cost{
  grid-column:1/-1!important;
  grid-row:5!important;
  padding:15px 0 0!important;
}
@media(max-width:760px){.cs-modal .cs-modal-dialog .cs-modal-content .cs-card-text .cs-after{
    padding-left:22px!important;
  }
}
/* Tighten the popup metric row around its vertical dividers. */
@media(min-width:761px){
  .cs-modal .cs-modal-dialog .cs-modal-project-head .cs-stat,
  .cs-modal .cs-modal-dialog .cs-modal-project-head .cs-card-investment,
  .cs-modal .cs-modal-dialog .cs-modal-project-head .cs-card-capacity{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .cs-modal .cs-modal-dialog .cs-modal-project-head .cs-stat{
    padding-left:0!important;
  }
}
