/* Case narratives and shared scope notes. */
.scope-note {max-width: 960px; margin: 36px 0; font: 400 18px/1.65 'Onest', sans-serif; color: inherit;}
.case__t {max-width: 24ch;}
.case__t h3 {margin:0; font:inherit;}
.case__label {margin:0 0 18px; color:#d6bdaa; font:500 14px/1.4 'Onest',sans-serif;}
.case__t .case__description {margin:20px 0; font-size:18px;}
.case__more {display:inline-block; padding:10px 0; font:600 18px/1.4 'Onest',sans-serif; border-bottom:1px solid #e2542c;}
.funnel-demo {width:100%; padding:clamp(24px,4vw,60px); background:#241b14; border-top:3px solid #e2542c; border-radius:12px 36px 12px 12px; color:#f2efe6; font-family:'Onest',sans-serif;}
.funnel-demo__label {margin:0 0 26px; color:#d6bdaa; font-size:16px;}
.funnel-demo ol {list-style:none; margin:0; padding:0; counter-reset:funnel;}
.funnel-demo li {position:relative; padding:0 0 28px 58px; counter-increment:funnel;}
.funnel-demo li:last-child {padding-bottom:0;}
.funnel-demo li:before {content:counter(funnel); position:absolute; left:0; top:0; width:36px; height:36px; display:grid; place-items:center; border:1px solid #e2542c; border-radius:48% 52% 46% 54%; color:#e2542c; font-size:20px;}
.funnel-demo li:not(:last-child):after {content:''; position:absolute; left:18px; top:44px; bottom:7px; border-left:1px solid #836348;}
.funnel-demo b {display:block; font-size:clamp(18px,2vw,25px); line-height:1.35;}
.funnel-demo li span {display:block; margin-top:8px; color:#c1b7ac; font-size:16px; line-height:1.5;}
.funnel-demo__caption {margin:24px 0 0; color:#b5a89a; font-size:13px; line-height:1.4;}
.case-page {background:#f2efe6; color:#191510;}
.case-story {max-width:1180px; margin:auto; padding:150px 32px 80px; font-family:'Onest',sans-serif;}
.case-back {display:inline-block; margin-bottom:50px; text-decoration:none; border-bottom:1px solid currentColor;}
.case-story__tag {margin:0 0 20px; color:#76513e; font-size:16px;}
.case-story h1 {font-family:'Geologica',sans-serif; font-size:clamp(34px,5.5vw,70px); line-height:1.13; letter-spacing:-.035em; margin:0 0 32px;}
.case-story__lead {font-size:clamp(20px,2.3vw,26px); line-height:1.6; max-width:900px; margin-bottom:48px;}
.case-story__cover {display:block; width:100%; height:auto; border-radius:12px;}
.case-story section {padding:48px 0; border-bottom:1px solid #cfc6bb;}
.case-story h2 {font-family:'Geologica',sans-serif; font-size:clamp(27px,3vw,38px); line-height:1.25; margin:0 0 24px;}
.case-story section p,.case-story section li {max-width:900px; font-size:19px; line-height:1.7;}
.case-story section p+p {margin-top:20px;}
.case-story ul {padding-left:24px;}
.case-story li+li {margin-top:16px;}
.case-action {display:inline-block; margin-top:24px; padding:16px 24px; background:#e2542c; color:#17120f; font-weight:600; text-decoration:none;}
.case-action:hover {background:#cc4723;}
.case-action:focus-visible,.case-back:focus-visible {outline:3px solid #17120f; outline-offset:4px;}
.case-page .foot {background:#17120f; color:#f2efe6;}
.case-story__cta {margin-top:32px;}
@media(max-width:860px){.case__t {max-width:none; width:100%;}.case__t .case__description {font-size:16px;}.case-story {padding:110px 22px 48px;}.case-story section {padding:34px 0;}.case-story section p,.case-story section li {font-size:17px;}.case-back {margin-bottom:32px;}.funnel-demo {padding:26px 20px;}.funnel-demo li {padding-left:48px;}}
.case-page .top {color:#f2efe6;}
.case-story {padding-top:90px;}
@media(max-width:860px){.case-story{padding-top:50px;}}
.work .case {gap:clamp(40px,6vw,100px);}
.work .case__stage {flex:1 1 62%;}
.work .case__t {flex:0 1 34%; min-width:0;}
.work .case--churchill .funnel-demo {padding:32px;}
.work .case--churchill .funnel-demo b {font-size:22px;}
@media(max-width:860px){.work .case__stage,.work .case__t{flex:auto;width:100%;}.work .case {gap:40px;}.work .case--churchill .funnel-demo{padding:24px 18px;}.work .case--churchill .funnel-demo b{font-size:19px;}}
.case-page .top__mark {color:#f2efe6;}

/* Mobile slides use their own intrinsic height, never stretched columns. */
@media(max-width:860px) {
 .work { padding-top:40px; padding-bottom:32px; }
 .work .work__top { margin-bottom:8px; padding-bottom:16px; gap:20px; }
 .work .work__h2 { font-size:clamp(30px,8vw,40px); line-height:1.08; }
 .work .cases { align-items:flex-start; }
 .work .case,.work .case--flip { flex-direction:column; align-items:stretch; justify-content:flex-start; gap:24px; padding:20px var(--gut) 24px; }
 .work .case__stage,.work .case__t { flex:0 0 auto; width:100%; margin:0; }
 .work .case__t { font-size:26px; line-height:1.15; }
 .work .case__label { margin-bottom:10px; font-size:13px; letter-spacing:0; }
 .work .case__t .case__description { margin:12px 0; font-size:16px; line-height:1.5; }
 .work .case__more { font-size:16px; padding:6px 0; }
 .work .case::before,.work .case__t::after { content:none; }
 .work .case__stage { display:grid; grid-template-columns:minmax(0,1fr) 34%; align-items:start; }
 .work .case__stage > .shot:not(.shot--phone) { grid-area:1 / 1 / 2 / 3; margin-right:8%; }
 .work .case__stage > .shot--phone,.work .case--flip .shot--phone { position:relative; grid-area:1 / 2 / 2 / 3; width:100%; left:auto; right:auto; bottom:auto; margin-top:80px; }
 .work .shot:not(.shot--phone) img { width:100%; max-width:100%; height:auto; max-height:none; }
 .work .shot { box-shadow:0 0 0 3px rgba(23,23,26,.5),0 8px 20px rgba(0,0,0,.25); }
 .work .case--churchill .case__stage { display:block; }
 .work .case--churchill .funnel-demo { padding:20px 16px; }
 .work .case--churchill .funnel-demo b { font-size:17px; }
 .work .funnel-demo li { padding-bottom:20px; }
 .work .funnel-demo li:last-child { padding-bottom:0; }
 .work .funnel-demo li span { font-size:14px; margin-top:4px; }
 .work .funnel-demo__label { font-size:14px; margin-bottom:20px; }
}

/* Real Churchill project screenshots: workflow and participant-facing bot. */
.work .case--churchill .case__stage {display:grid; grid-template-columns:minmax(0,1fr) 34%; gap:12px; align-items:center;}
.work .case--churchill .case__stage > .churchill-flow {grid-area:1/1/2/3; margin-right:20%;}
.churchill-flow {display:block; overflow:hidden; aspect-ratio:1.45; border-radius:12px; background:#f4f6fb;}
.work .case--churchill .churchill-flow img,.churchill-gallery .churchill-flow img {width:130%; max-width:none; height:auto; max-height:none; border-radius:0; margin-top:-14%;}
.work .case--churchill .case__stage > .churchill-chat {grid-area:1/2/2/3; margin:100px 0 0;}
.work .case--churchill .churchill-chat img {width:100%;height:auto;max-height:none;}
.churchill-gallery {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;align-items:start;}
.churchill-gallery figure {margin:0;min-width:0;}
.churchill-gallery .shot {box-shadow:none;}
.churchill-gallery figcaption {font-size:14px;line-height:1.5;margin-top:14px;color:#76513e;}
@media(max-width:860px){
 .work .case--churchill .case__stage {grid-template-columns:minmax(0,1fr) 40%;}
 .work .case--churchill .case__stage > .churchill-flow {margin-right:10%;}
 .work .case--churchill .case__stage > .churchill-chat {margin-top:90px;}
 .churchill-gallery {grid-template-columns:1fr;gap:28px;}
 .churchill-gallery .churchill-chat {max-width:460px;margin:auto;}
}

/* Enduro CRM: original screenshots with visible demo-data captions. */
.work .case--enduro .case__demo-note {margin:12px 0; color:#d6bdaa; font:400 13px/1.5 'Onest',sans-serif; letter-spacing:0;}
.enduro-context {max-width:900px; margin:0 0 32px; font-size:17px; line-height:1.65; color:#76513e;}
.enduro-cover {margin:0;}
.enduro-cover figcaption,.enduro-gallery figcaption {margin-top:14px; font-size:14px; line-height:1.6; color:#76513e;}
.enduro-gallery {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px 24px; margin-top:32px; align-items:start;}
.enduro-gallery figure {margin:0; min-width:0;}
.enduro-gallery figure:nth-child(3) {grid-column:1/-1;}
.enduro-gallery img {display:block; width:100%; height:auto; border:1px solid #cfc6bb; border-radius:12px;}
.enduro-gallery strong {display:block; margin-bottom:6px; color:#191510; font-size:17px;}
.enduro-gallery__mobile {width:100%; max-width:390px; justify-self:center;}
.enduro-cover a:focus-visible,.enduro-gallery a:focus-visible {display:block; outline:3px solid #e2542c; outline-offset:5px; border-radius:12px;}
@media(max-width:860px) {
 .enduro-gallery {grid-template-columns:minmax(0,1fr); gap:28px;}
 .enduro-gallery figure:nth-child(3) {grid-column:auto;}
 .enduro-context {font-size:16px;}
}
