.ipscs-block,.ipscs-single{font-family:inherit;color:var(--ipscs-text,#102131)}
.ipscs-block{max-width:1200px;margin:0 auto;padding:72px 24px}
.ipscs-section-head{text-align:center;max-width:760px;margin:0 auto 32px}.ipscs-section-head h2{margin:0 0 10px;font-size:clamp(30px,4vw,46px);line-height:1.08;color:var(--ipscs-navy,#071827)}.ipscs-section-head p{margin:0;color:#66727d;line-height:1.7}.ipscs-head-row{max-width:none;display:flex;align-items:end;justify-content:space-between;text-align:left;gap:24px}.ipscs-head-row>div:first-child{max-width:760px}
.ipscs-filters{background:#fff;border:1px solid #e6eaed;border-radius:16px;padding:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;box-shadow:0 12px 34px rgba(10,31,49,.06);margin-bottom:28px}.ipscs-filter select{width:100%;min-height:50px;border:1px solid #dce2e6;border-radius:10px;padding:0 14px;background:#fff;color:var(--ipscs-text);font:inherit}.ipscs-reset{border:0;border-radius:10px;padding:0 18px;background:var(--ipscs-navy);color:#fff;font-weight:700;cursor:pointer}
.ipscs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.ipscs-card{border:1px solid #e5eaee;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(8,31,49,.06);transition:.25s transform,.25s box-shadow}.ipscs-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(8,31,49,.11)}.ipscs-card[hidden]{display:none!important}.ipscs-card-media{display:block;height:220px;position:relative;overflow:hidden}.ipscs-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.ipscs-card:hover .ipscs-card-media img{transform:scale(1.035)}.ipscs-pill{position:absolute;left:14px;bottom:14px;background:var(--ipscs-accent);color:#071827;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.ipscs-card-body{padding:20px}.ipscs-card h3{font-size:22px;line-height:1.2;margin:0 0 14px}.ipscs-card h3 a{color:var(--ipscs-navy);text-decoration:none}.ipscs-card-meta{display:flex;gap:14px;flex-wrap:wrap;color:#66727d;font-size:14px;margin-bottom:16px}.ipscs-text-link{display:inline-flex;gap:8px;align-items:center;color:var(--ipscs-navy);font-weight:800;text-decoration:none}.ipscs-text-link span{color:var(--ipscs-accent);font-size:20px}.ipscs-no-match,.ipscs-empty{text-align:center;padding:28px;border:1px dashed #cad1d7;border-radius:12px;color:#687680}
.ipscs-carousel-section,.ipscs-related{overflow:hidden}.ipscs-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 44px)/3);gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:6px 2px 18px;scrollbar-width:none}.ipscs-carousel::-webkit-scrollbar{display:none}.ipscs-carousel-card{scroll-snap-align:start}.ipscs-carousel-actions{display:flex;gap:10px;flex:0 0 auto}.ipscs-carousel-actions button,.ipscs-gallery-nav button{width:46px;height:46px;border-radius:50%;border:1px solid #dce2e6;background:#fff;color:var(--ipscs-navy);font-size:20px;font-weight:800;cursor:pointer;transition:.2s}.ipscs-carousel-actions button:hover,.ipscs-gallery-nav button:hover{background:var(--ipscs-accent);border-color:var(--ipscs-accent)}
.ipscs-single-hero{position:relative;min-height:620px;display:flex;align-items:flex-end;background:var(--ipscs-navy);color:#fff;overflow:hidden}.ipscs-single-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,19,31,.96) 0%,rgba(4,19,31,.72) 48%,rgba(4,19,31,.28) 100%);z-index:1}.ipscs-single-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ipscs-hero-inner{position:relative;z-index:2;width:min(1200px,calc(100% - 48px));margin:0 auto;padding:110px 0 88px}.ipscs-kicker{color:var(--ipscs-accent);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:13px;margin-bottom:15px}.ipscs-single-hero h1{max-width:850px;font-size:clamp(42px,6vw,76px);line-height:1.02;margin:0 0 18px;color:#fff}.ipscs-hero-headline{max-width:720px;font-size:clamp(20px,2.5vw,30px);line-height:1.25;font-weight:700;margin:0 0 16px}.ipscs-hero-copy{max-width:720px;font-size:17px;line-height:1.75;color:#d8e1e7}.ipscs-hero-copy p:last-child{margin-bottom:0}.ipscs-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--ipscs-accent);color:#071827!important;text-decoration:none!important;border-radius:8px;padding:15px 22px;font-weight:800;margin-top:24px}.ipscs-btn:hover{filter:brightness(.97)}
.ipscs-snapshot-wrap{position:relative;z-index:4;width:min(1120px,calc(100% - 48px));margin:-42px auto 0}.ipscs-snapshot-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#071827;color:#fff;border:1px solid rgba(255,255,255,.16);border-radius:16px;overflow:hidden;box-shadow:0 16px 36px rgba(6,26,42,.18)}.ipscs-snap{padding:24px 18px;border-right:1px solid rgba(255,255,255,.14)}.ipscs-snap:last-child{border-right:0}.ipscs-snap small{display:block;color:#94a6b4;text-transform:uppercase;letter-spacing:.06em;font-size:10px;margin-bottom:7px}.ipscs-snap strong{display:block;color:#fff;font-size:17px;line-height:1.25}
.ipscs-single-content{background:#fff}.ipscs-story{max-width:1200px;margin:0 auto;padding:92px 24px 20px}.ipscs-story-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px;align-items:center;padding:64px 0;border-bottom:1px solid #edf0f2}.ipscs-story-section:nth-child(even) .ipscs-story-media{order:-1}.ipscs-story-copy h2{font-size:clamp(30px,4vw,48px);line-height:1.08;color:var(--ipscs-navy);margin:0 0 18px}.ipscs-story-copy{font-size:17px;line-height:1.8;color:#52616d}.ipscs-story-copy p:last-child{margin-bottom:0}.ipscs-story-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px;display:block;box-shadow:0 18px 48px rgba(8,31,49,.1)}
.ipscs-gallery-section{background:var(--ipscs-light,#f5f7f9);padding:84px 0}.ipscs-gallery-shell{max-width:1200px;margin:0 auto;padding:0 24px}.ipscs-gallery-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.ipscs-gallery-head h2{font-size:clamp(30px,4vw,46px);color:var(--ipscs-navy);margin:0}.ipscs-gallery-track{display:grid;grid-auto-flow:column;grid-auto-columns:70%;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none}.ipscs-gallery-track::-webkit-scrollbar{display:none}.ipscs-gallery-slide{scroll-snap-align:start;border-radius:18px;overflow:hidden;min-height:450px;background:#dce4e9}.ipscs-gallery-slide img{width:100%;height:100%;min-height:450px;max-height:620px;object-fit:cover;display:block}.ipscs-gallery-nav{display:flex;gap:10px}
.ipscs-project-snapshot{max-width:1200px;margin:0 auto;padding:84px 24px}.ipscs-project-snapshot h2{font-size:clamp(30px,4vw,46px);color:var(--ipscs-navy);margin:0 0 28px}.ipscs-snapshot-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e2e8ec;border-radius:16px;overflow:hidden}.ipscs-fact{display:flex;justify-content:space-between;gap:22px;padding:18px 22px;border-bottom:1px solid #e8edef}.ipscs-fact:nth-child(odd){border-right:1px solid #e8edef}.ipscs-fact:last-child,.ipscs-fact:nth-last-child(2):nth-child(odd){border-bottom:0}.ipscs-fact span{color:#7a8791}.ipscs-fact strong{text-align:right;color:var(--ipscs-navy)}
.ipscs-final-cta{width:min(1200px,calc(100% - 48px));margin:20px auto 90px;background:linear-gradient(120deg,#071827,#0c2c43);color:#fff;border-radius:22px;padding:56px;display:flex;justify-content:space-between;align-items:center;gap:35px;overflow:hidden;position:relative}.ipscs-final-cta:after{content:"";position:absolute;width:260px;height:260px;border:55px solid rgba(245,184,0,.08);border-radius:50%;right:-60px;top:-90px}.ipscs-final-cta-copy{position:relative;z-index:2;max-width:720px}.ipscs-final-cta h2{font-size:clamp(32px,4vw,50px);line-height:1.05;margin:0 0 14px;color:#fff}.ipscs-final-cta p{color:#d9e2e8;line-height:1.7;margin:0}.ipscs-final-cta .ipscs-btn{position:relative;z-index:2;margin:0;white-space:nowrap}
@media(max-width:980px){.ipscs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ipscs-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ipscs-carousel{grid-auto-columns:calc((100% - 22px)/2)}.ipscs-snapshot-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ipscs-snap{border-bottom:1px solid rgba(255,255,255,.14)}.ipscs-story-section{gap:34px}.ipscs-gallery-track{grid-auto-columns:85%}.ipscs-final-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:700px){.ipscs-block{padding:52px 18px}.ipscs-section-head{text-align:left}.ipscs-head-row{align-items:flex-start}.ipscs-head-row p{max-width:88%}.ipscs-filters{grid-template-columns:1fr}.ipscs-grid{grid-template-columns:1fr}.ipscs-card-media{height:230px}.ipscs-carousel{grid-auto-columns:86%}.ipscs-single-hero{min-height:620px}.ipscs-single-hero:before{background:linear-gradient(0deg,rgba(4,19,31,.98) 0%,rgba(4,19,31,.75) 62%,rgba(4,19,31,.35) 100%)}.ipscs-hero-inner{width:calc(100% - 36px);padding:120px 0 78px}.ipscs-snapshot-wrap{width:calc(100% - 36px);margin-top:-26px}.ipscs-snapshot-cards{grid-template-columns:1fr 1fr}.ipscs-snap{padding:17px 14px}.ipscs-story{padding:58px 18px 10px}.ipscs-story-section{grid-template-columns:1fr;gap:24px;padding:42px 0}.ipscs-story-section:nth-child(even) .ipscs-story-media{order:0}.ipscs-story-media img{aspect-ratio:16/11}.ipscs-gallery-section{padding:58px 0}.ipscs-gallery-shell{padding:0 18px}.ipscs-gallery-head{align-items:flex-start}.ipscs-gallery-track{grid-auto-columns:92%}.ipscs-gallery-slide,.ipscs-gallery-slide img{min-height:300px}.ipscs-project-snapshot{padding:58px 18px}.ipscs-snapshot-table{grid-template-columns:1fr}.ipscs-fact,.ipscs-fact:nth-child(odd){border-right:0;border-bottom:1px solid #e8edef!important}.ipscs-fact:last-child{border-bottom:0!important}.ipscs-final-cta{width:calc(100% - 36px);padding:34px 26px;margin-bottom:62px}.ipscs-final-cta .ipscs-btn{white-space:normal;text-align:center;width:100%}}

/* Find a Project Like Yours */
.ipscs-finder-section{padding-top:64px;padding-bottom:64px}
.ipscs-finder-heading{text-align:center;max-width:820px;margin:0 auto 28px}
.ipscs-finder-eyebrow{font-size:18px;line-height:1.3;font-weight:800;color:#4d83c2;margin-bottom:7px}
.ipscs-finder-heading h2{margin:0 0 8px;font-size:clamp(28px,3.6vw,42px);line-height:1.12;color:var(--ipscs-navy,#071827)}
.ipscs-finder-heading p{margin:0;color:#66727d;font-size:16px;line-height:1.65}
.ipscs-finder-box{background:var(--ipscs-light,#f5f7f9);border:1px solid #e6eaed;border-radius:18px;padding:26px;box-shadow:0 12px 34px rgba(10,31,49,.05)}
.ipscs-finder-filters{margin:0;box-shadow:none;border:0;padding:0;background:transparent;align-items:stretch}
.ipscs-find-button{min-height:50px;border:0;border-radius:10px;padding:0 20px;background:var(--ipscs-navy,#071827);color:#fff;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:10px;transition:.2s}
.ipscs-find-button span{color:var(--ipscs-accent,#f5b800);font-size:19px}
.ipscs-find-button:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(7,24,39,.16)}
.ipscs-finder-clear{display:block;margin:14px auto 0;border:0;background:transparent;color:#63717d;text-decoration:underline;font:inherit;font-size:13px;cursor:pointer}
.ipscs-finder-results{scroll-margin-top:90px;padding-top:42px}
.ipscs-finder-results[hidden]{display:none!important}
.ipscs-finder-results-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}
.ipscs-finder-results-head h3{margin:0;color:var(--ipscs-navy,#071827);font-size:clamp(24px,3vw,34px)}
.ipscs-match-count{color:#687680;font-size:14px}
@media(max-width:980px){.ipscs-finder-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ipscs-find-button{grid-column:1/-1}}
@media(max-width:700px){.ipscs-finder-section{padding-top:48px;padding-bottom:48px}.ipscs-finder-heading{text-align:left}.ipscs-finder-box{padding:18px}.ipscs-finder-filters{grid-template-columns:1fr}.ipscs-find-button{grid-column:auto}.ipscs-finder-results-head{align-items:flex-start;flex-direction:column;gap:5px}}

/* ===== v1.2 Single Case Study visual refresh ===== */
.ipscs-single{overflow:visible;background:#fff}
.ipscs-single-hero{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-top:-100px;
  min-height:680px;
}
.ipscs-single-hero .ipscs-hero-inner{width:min(1240px,calc(100% - 64px));padding:180px 0 88px}

/* Full Project Snapshot moved directly below hero */
.ipscs-project-snapshot{
  max-width:none;
  margin:0;
  padding:76px 24px 84px;
  background:#fff;
}
.ipscs-snapshot-inner{width:min(1200px,100%);margin:0 auto}
.ipscs-project-snapshot h2{margin:0 0 28px}

/* Alternating full-width story bands */
.ipscs-single-content{background:#fff}
.ipscs-story-section{display:block;padding:0;border:0}
.ipscs-story-section-inner{
  width:min(1200px,calc(100% - 48px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:64px;
  align-items:center;
  padding:88px 0;
}
.ipscs-story-section:nth-of-type(even) .ipscs-story-media{order:0}
.ipscs-tone-light{background:#f5f7f9;color:#102131}
.ipscs-tone-dark{background:linear-gradient(135deg,#071827 0%,#0b2a40 100%);color:#fff}
.ipscs-tone-dark .ipscs-story-copy h2{color:#fff}
.ipscs-tone-dark .ipscs-story-copy{color:#d5e0e7}
.ipscs-tone-dark .ipscs-story-media img{box-shadow:0 22px 54px rgba(0,0,0,.25)}
.ipscs-tone-light .ipscs-story-copy{color:#52616d}
.ipscs-story-media img{transition:transform .45s ease,box-shadow .45s ease}
.ipscs-story-section:hover .ipscs-story-media img{transform:translateY(-3px)}

/* Gallery: transform-based slider to avoid scroll snapping glitches */
.ipscs-gallery-section{padding:84px 0;background:#f5f7f9}
.ipscs-gallery-shell{width:min(1200px,calc(100% - 48px));max-width:none;padding:0;margin:0 auto}
.ipscs-gallery-head{margin-bottom:28px}
.ipscs-gallery-viewport{overflow:hidden;border-radius:18px}
.ipscs-gallery-track{
  display:flex;
  gap:18px;
  overflow:visible;
  scroll-snap-type:none;
  scroll-behavior:auto;
  width:auto;
  transform:translate3d(0,0,0);
  transition:transform .62s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}
.ipscs-gallery-slide{
  flex:0 0 72%;
  min-width:0;
  scroll-snap-align:none;
  border-radius:18px;
  overflow:hidden;
  min-height:470px;
  background:#dce4e9;
}
.ipscs-gallery-slide img{width:100%;height:100%;min-height:470px;max-height:620px;object-fit:cover;display:block}
.ipscs-gallery-nav button{
  width:50px;height:50px;display:grid;place-items:center;padding:0;
  border:1px solid #d5dde3;background:#fff;color:#071827;
  box-shadow:0 5px 16px rgba(7,24,39,.06)
}
.ipscs-gallery-nav button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ipscs-gallery-nav button:hover:not(:disabled){transform:translateY(-2px);background:var(--ipscs-accent,#f5b800);border-color:var(--ipscs-accent,#f5b800)}
.ipscs-gallery-nav button:disabled{opacity:.35;cursor:not-allowed;transform:none}

/* Related projects as the next dark band */
.ipscs-related-band{background:linear-gradient(135deg,#071827 0%,#0b2a40 100%)}
.ipscs-related-band .ipscs-related{padding-top:82px;padding-bottom:82px}
.ipscs-related-band .ipscs-section-head h2{color:#fff}
.ipscs-related-band .ipscs-section-head p{color:#c9d5dd}

/* Lightweight reveal only; no animation libraries */
.ipscs-reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s cubic-bezier(.22,.61,.36,1)}
.ipscs-reveal.is-visible{opacity:1;transform:none}
.ipscs-single-hero.ipscs-reveal{transform:translateY(12px)}
.ipscs-single-hero.ipscs-reveal.is-visible{transform:none}

@media(max-width:980px){
  .ipscs-story-section-inner{gap:36px;padding:70px 0}
  .ipscs-gallery-slide{flex-basis:84%}
}
@media(max-width:700px){
  .ipscs-single-hero{margin-top:-100px;min-height:640px}
  .ipscs-single-hero .ipscs-hero-inner{width:calc(100% - 36px);padding:165px 0 72px}
  .ipscs-project-snapshot{padding:52px 18px 58px}
  .ipscs-story-section-inner{width:calc(100% - 36px);grid-template-columns:1fr;gap:26px;padding:56px 0}
  .ipscs-story-section-inner .ipscs-story-media{order:0!important}
  .ipscs-gallery-section{padding:58px 0}
  .ipscs-gallery-shell{width:calc(100% - 36px)}
  .ipscs-gallery-head{align-items:center}
  .ipscs-gallery-head h2{font-size:clamp(28px,9vw,40px)}
  .ipscs-gallery-slide{flex-basis:100%;min-height:300px}
  .ipscs-gallery-slide img{min-height:300px;max-height:460px}
  .ipscs-gallery-nav button{width:44px;height:44px}
  .ipscs-related-band .ipscs-related{padding-top:58px;padding-bottom:58px}
}
@media(prefers-reduced-motion:reduce){
  .ipscs-reveal{opacity:1;transform:none;transition:none}
  .ipscs-gallery-track,.ipscs-story-media img{transition:none}
}

/* ===== v1.3 Full-bleed sections + 1290px responsive container ===== */
.ipscs-single{
  --ipscs-container:1290px;
  width:100%;
  max-width:none!important;
  overflow-x:clip;
}

/* Keep reusable grids/carousels wider across the site too */
.ipscs-block{max-width:var(--ipscs-container,1290px)}

/* Full viewport background bands even when the theme wraps content in a narrow container */
.ipscs-single-hero,
.ipscs-project-snapshot,
.ipscs-story-section,
.ipscs-gallery-section,
.ipscs-related-band{
  width:100vw;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  box-sizing:border-box;
}

/* Consistent 1290px content container */
.ipscs-single-hero .ipscs-hero-inner,
.ipscs-snapshot-inner,
.ipscs-story-section-inner,
.ipscs-gallery-shell{
  width:min(var(--ipscs-container,1290px),calc(100% - 48px));
  max-width:none;
  margin-left:auto;
  margin-right:auto;
  box-sizing:border-box;
}

.ipscs-single-hero .ipscs-hero-inner{padding-left:0;padding-right:0}
.ipscs-project-snapshot{padding-left:0;padding-right:0}
.ipscs-story-section-inner{padding-left:0;padding-right:0}
.ipscs-gallery-shell{padding-left:0;padding-right:0}

/* Related shortcode has its own .ipscs-block container */
.ipscs-related-band .ipscs-related{
  width:min(var(--ipscs-container,1290px),calc(100% - 48px));
  max-width:none;
  margin-left:auto;
  margin-right:auto;
  box-sizing:border-box;
  padding-left:0;
  padding-right:0;
}

/* CTA follows the same content width */
.ipscs-final-cta{
  width:min(var(--ipscs-container,1290px),calc(100% - 48px));
  max-width:none;
}

/* Better desktop proportions inside the wider container */
.ipscs-story-section-inner{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:76px}
.ipscs-story-copy{max-width:560px}
.ipscs-story-media{width:100%}
.ipscs-story-media img{width:100%;max-height:560px}
.ipscs-snapshot-table{width:100%}

@media (max-width:1100px){
  .ipscs-single-hero .ipscs-hero-inner,
  .ipscs-snapshot-inner,
  .ipscs-story-section-inner,
  .ipscs-gallery-shell,
  .ipscs-related-band .ipscs-related,
  .ipscs-final-cta{width:calc(100% - 40px)}
  .ipscs-story-section-inner{gap:44px}
}

@media (max-width:767px){
  .ipscs-single{overflow-x:hidden}
  .ipscs-single-hero{min-height:600px}
  .ipscs-single-hero .ipscs-hero-inner,
  .ipscs-snapshot-inner,
  .ipscs-story-section-inner,
  .ipscs-gallery-shell,
  .ipscs-related-band .ipscs-related,
  .ipscs-final-cta{width:calc(100% - 32px)}

  .ipscs-single-hero .ipscs-hero-inner{padding-top:155px;padding-bottom:62px}
  .ipscs-single-hero h1{font-size:clamp(36px,11vw,52px);line-height:1.04}
  .ipscs-hero-headline{font-size:20px}
  .ipscs-hero-copy{font-size:15px;line-height:1.65}

  .ipscs-project-snapshot{padding-top:52px;padding-bottom:56px}
  .ipscs-project-snapshot h2{font-size:34px}
  .ipscs-snapshot-table{grid-template-columns:1fr}
  .ipscs-fact{padding:16px 15px;align-items:flex-start}
  .ipscs-fact,.ipscs-fact:nth-child(odd){border-right:0;border-bottom:1px solid #e8edef!important}
  .ipscs-fact:last-child{border-bottom:0!important}
  .ipscs-fact span{flex:0 0 42%}
  .ipscs-fact strong{flex:1;word-break:break-word}

  .ipscs-story-section-inner{grid-template-columns:1fr;gap:26px;padding-top:54px;padding-bottom:54px}
  .ipscs-story-copy{max-width:none;font-size:16px;line-height:1.7}
  .ipscs-story-copy h2{font-size:34px}
  .ipscs-story-media,.ipscs-story-section-inner .ipscs-story-media{order:0!important}
  .ipscs-story-media img{aspect-ratio:16/10;max-height:none;border-radius:14px}

  .ipscs-gallery-section{padding-top:56px;padding-bottom:56px}
  .ipscs-gallery-head{gap:14px;align-items:flex-end}
  .ipscs-gallery-head h2{font-size:32px;line-height:1.1}
  .ipscs-gallery-slide{flex-basis:100%;min-height:260px}
  .ipscs-gallery-slide img{min-height:260px;max-height:420px}
  .ipscs-gallery-nav{gap:7px}
  .ipscs-gallery-nav button{width:42px;height:42px;flex:0 0 42px}

  .ipscs-related-band .ipscs-related{padding-top:54px;padding-bottom:54px}
  .ipscs-final-cta{padding:30px 22px;margin-top:16px;margin-bottom:56px;border-radius:16px}
}

@media (max-width:480px){
  .ipscs-single-hero .ipscs-hero-inner,
  .ipscs-snapshot-inner,
  .ipscs-story-section-inner,
  .ipscs-gallery-shell,
  .ipscs-related-band .ipscs-related,
  .ipscs-final-cta{width:calc(100% - 24px)}
  .ipscs-single-hero h1{font-size:34px}
  .ipscs-project-snapshot h2,.ipscs-story-copy h2,.ipscs-gallery-head h2{font-size:30px}
  .ipscs-fact{gap:10px}
  .ipscs-fact span{flex-basis:40%}
  .ipscs-gallery-head{align-items:flex-start;flex-direction:column}
}

/* ===== v1.4 Linked Finder + Live Grid ===== */
.ipscs-filter-grid-section{
  max-width:var(--ipscs-container,1290px);
  padding-top:58px;
  padding-bottom:72px;
}
.ipscs-linked-finder-box{
  background:linear-gradient(135deg,#f8fafb 0%,#f3f6f8 100%);
  border:1px solid #e7ecef;
  border-radius:20px;
  padding:30px;
  box-shadow:0 12px 34px rgba(7,24,39,.045);
}
.ipscs-linked-finder-box .ipscs-finder-heading{margin-bottom:22px}
.ipscs-linked-finder-box .ipscs-finder-eyebrow{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--ipscs-accent,#f5b800)}
.ipscs-linked-finder-box .ipscs-finder-heading h2{font-size:clamp(28px,3vw,40px)}
.ipscs-linked-finder-box .ipscs-filters{margin-bottom:0}
.ipscs-linked-results{scroll-margin-top:100px;padding-top:46px}
.ipscs-linked-results .ipscs-section-head{margin-bottom:28px}
.ipscs-linked-results .ipscs-match-count{display:block;margin-top:8px;min-height:20px;font-weight:700;color:#66727d}
.ipscs-filter-grid-section .ipscs-card{
  transition:opacity .22s ease,transform .25s ease,box-shadow .25s ease;
}

@media(max-width:980px){
  .ipscs-filter-grid-section{padding-top:48px;padding-bottom:60px}
  .ipscs-linked-finder-box{padding:24px}
}
@media(max-width:700px){
  .ipscs-filter-grid-section{padding:42px 18px 54px}
  .ipscs-linked-finder-box{padding:18px;border-radius:16px}
  .ipscs-linked-finder-box .ipscs-finder-heading{text-align:left;margin-bottom:18px}
  .ipscs-linked-results{padding-top:34px}
  .ipscs-linked-results .ipscs-section-head{text-align:left;margin-bottom:22px}
  .ipscs-filter-grid-section .ipscs-find-button{width:100%}
}

/* ===== v1.5 Alternating story media layout ===== */
@media (min-width:768px){
  /* Desktop: first story = copy left / image right, next story reverses. */
  .ipscs-story-section.ipscs-layout-copy-left .ipscs-story-copy{order:0;justify-self:start}
  .ipscs-story-section.ipscs-layout-copy-left .ipscs-story-media{order:1}
  .ipscs-story-section.ipscs-layout-image-left .ipscs-story-media{order:0}
  .ipscs-story-section.ipscs-layout-image-left .ipscs-story-copy{order:1;justify-self:end}
}

@media (max-width:767px){
  /* Mobile: image always comes first, then the text, regardless of desktop alternation. */
  .ipscs-story-section-inner{display:grid!important;grid-template-columns:1fr!important}
  .ipscs-story-section-inner .ipscs-story-media{order:-1!important}
  .ipscs-story-section-inner .ipscs-story-copy{order:1!important;justify-self:stretch!important;width:100%}
}

/* ===== v1.8 Elementor single page: Project Snapshot only ===== */
.ipscs-project-snapshot.ipscs-snapshot-v18{
  --ipscs-snapshot-container:1290px;
  position:relative;
  box-sizing:border-box;
  width:100vw!important;
  max-width:none!important;
  margin-top:0!important;
  margin-bottom:0!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:76px 0 84px!important;
  background:#fff;
  color:#111;
  clear:both;
}
.ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-snapshot-inner{
  width:min(var(--ipscs-snapshot-container),calc(100% - 96px))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0!important;
  box-sizing:border-box;
}
.ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-kicker{
  margin:0 0 20px!important;
  color:var(--ipscs-accent,#f5b800)!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
}
.ipscs-project-snapshot.ipscs-snapshot-v18 h2{
  margin:0 0 28px!important;
  color:#111!important;
  font-size:clamp(38px,3.4vw,52px)!important;
  line-height:1.04!important;
  font-weight:500!important;
  letter-spacing:-.035em!important;
}
.ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-snapshot-table{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  width:100%!important;
  overflow:hidden!important;
  border:1px solid #dfe5e9!important;
  border-radius:16px!important;
  background:#fff!important;
  box-sizing:border-box;
}
.ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-fact{
  min-width:0;
  min-height:64px;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  padding:17px 22px!important;
  margin:0!important;
  border:0!important;
  border-bottom:1px solid #e8edef!important;
  box-sizing:border-box;
  background:#fff;
}
.ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-fact:nth-child(odd){border-right:1px solid #e8edef!important}
.ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-fact:nth-child(7),
.ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-fact:nth-child(8){border-bottom:0!important}
.ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-fact span{
  flex:0 0 auto!important;
  color:#7a8791!important;
  font-size:15px!important;
  line-height:1.35!important;
  font-weight:400!important;
}
.ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-fact strong{
  min-width:0!important;
  color:#111!important;
  font-size:15px!important;
  line-height:1.35!important;
  font-weight:700!important;
  text-align:right!important;
  overflow-wrap:anywhere;
}
@media(max-width:1100px){
  .ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-snapshot-inner{width:calc(100% - 56px)!important}
}
@media(max-width:700px){
  .ipscs-project-snapshot.ipscs-snapshot-v18{padding:58px 0 64px!important}
  .ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-snapshot-table{grid-template-columns:1fr!important}
  .ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-fact,
  .ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-fact:nth-child(odd){border-right:0!important;border-bottom:1px solid #e8edef!important}
  .ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-fact:last-child{border-bottom:0!important}
}
@media(max-width:560px){
  .ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-snapshot-inner{width:calc(100% - 32px)!important}
  .ipscs-project-snapshot.ipscs-snapshot-v18 h2{font-size:34px!important}
  .ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-fact{align-items:flex-start!important;gap:12px!important;padding:16px!important}
  .ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-fact span{flex:0 0 40%!important;font-size:14px!important}
  .ipscs-project-snapshot.ipscs-snapshot-v18 .ipscs-fact strong{flex:1!important;font-size:14px!important}
}


/* Simple Case Studies Grid */
.ipscs-simple-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:30px;
}
.ipscs-simple-grid-section .ipscs-filters {
    display:none !important;
}
@media(max-width:768px){
    .ipscs-simple-grid {
        grid-template-columns:1fr;
    }
}


/* Category Yellow Shades */
.ipscs-pill-industrial {
    background:#F4B400 !important;
    color:#111 !important;
}
.ipscs-pill-commercial {
    background:#FFD54F !important;
    color:#111 !important;
}
.ipscs-pill-residential {
    background:#FFE082 !important;
    color:#111 !important;
}
