/* Case studies share the site's type, controls and real device scene.
   All prose is visible without JS; only the single 3D host is enhanced. */
.cs-page{overflow:clip}
.cs-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cs-intro{padding-top:52px;padding-bottom:44px}
.cs-back{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:14px;color:#636363!important}
.cs-back svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform 350ms var(--nh-ease)}
.cs-back:hover svg{transform:translateX(-5px)}
.cs-page .cs-intro h1{font-size:clamp(48px,6.4vw,94px);font-weight:500;letter-spacing:-.065em;line-height:1.06;margin:24px 0 32px;max-width:1200px;text-wrap:balance;overflow-wrap:anywhere}
.cs-intro__bottom{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:64px}
.cs-intro__bottom>p{font-size:17px;line-height:1.65;color:#636363;max-width:640px}
.cs-actions{display:flex;justify-content:flex-end;align-items:center;gap:28px;flex-wrap:wrap}
.cs-actions .nh-button{white-space:nowrap}
.cs-explore{font-size:14px;gap:12px}
.cs-stage{width:min(1456px,calc(100% - 64px));margin:0 auto;background:#101010;border-radius:28px;overflow:hidden;color:#fff}
.cs-stage__surface{padding-top:16px}
.cs-page .cs-model{height:clamp(410px,43vw,650px);max-width:1130px;margin:auto}
.cs-stage figcaption{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 36px 26px;color:#a9a9a9;font-size:12px}
.cs-stage figcaption>span:nth-child(2){color:#f3f3f3;margin-left:auto}
.cs-stage__dot{width:7px;height:7px;background:#ff6418;border-radius:50%;flex-shrink:0}
.cs-device{perspective:1600px}
.cs-device__monitor{position:absolute;left:12%;top:13%;width:67%;aspect-ratio:1.6;border:12px solid #e8e8e3;border-bottom-width:27px;border-radius:22px;background:#101010;box-shadow:8px 6px 0 #ababab;transform:rotateY(-9deg) rotateZ(-2deg)}
.cs-device__monitor img{height:100%;width:100%;object-fit:cover;object-position:top;border-radius:7px}
.cs-device__monitor:before{content:"";position:absolute;top:calc(100% + 27px);left:45%;height:48px;width:10%;background:#dadad7}
.cs-device__monitor:after{content:"";position:absolute;top:calc(100% + 68px);left:34%;width:32%;height:9px;border-radius:6px;background:#eee}
.cs-device__phone{position:absolute;width:19%;aspect-ratio:390/844;left:73%;top:31%;border:8px solid #ecece7;border-radius:23px;background:#101010;box-shadow:5px 5px 0 #aaa;transform:rotateZ(4deg)}
.cs-device__phone img{width:100%;height:100%;object-fit:cover;object-position:top;border:4px solid #101010;border-radius:15px}
.cs-device--single .cs-device__monitor{left:16%}
.cs-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:28px;margin-block:0;padding-block:36px 44px;border-bottom:1px solid #dedede}
.cs-facts dt{font-size:12px;color:#777;margin-bottom:8px}
.cs-facts dd{font-size:15px;line-height:1.55;margin:0}
.cs-facts dd a{display:inline-flex;align-items:center;gap:14px}
.cs-facts .nh-arrow{width:16px;height:16px}
.cs-facts dd a:hover{text-decoration:underline;text-underline-offset:5px}
.cs-story{padding-block:96px}
.cs-chapter{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr);gap:100px}
.cs-chapter__title{align-self:start}
.cs-number{display:block;font-size:12px;color:#b83d00;margin-bottom:20px}
.cs-page .cs-chapter h2{font-size:clamp(32px,3vw,46px);font-weight:500;line-height:1.12;max-width:340px;text-wrap:balance}
.cs-chapter__copy p{color:#636363;font-size:18px;line-height:1.8}
.cs-chapter__copy--lead p{font-size:24px;line-height:1.6;letter-spacing:-.02em;color:#252525}
.cs-chapter--scope{margin-top:88px}
.cs-scope{list-style:none;margin:0;padding:0;border-top:1px solid #dedede}
.cs-scope li{display:grid;grid-template-columns:24px 1fr 20px;gap:18px;align-items:start;padding:20px 0;border-bottom:1px solid #dedede}
.cs-scope li>span{font-size:11px;padding-top:6px;color:#777}
.cs-scope p{font-size:17px;line-height:1.55}
.cs-scope svg{width:19px;height:19px;stroke:#b83d00;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;margin-top:3px}
.cs-solution{background:#101010;color:#fff;padding-block:100px}
.cs-solution .cs-number{color:#ff8548}
.cs-chapter__copy .cs-solution__lead{color:#e5e5e5;font-size:23px;line-height:1.65;letter-spacing:-.018em}
.cs-work-list{margin-top:38px}
.cs-work-list h3{font-size:18px;font-weight:500;margin-bottom:24px}
.cs-work-list ol{list-style:none;margin:0;padding:0}
.cs-work-list li{display:grid;grid-template-columns:24px 1fr;gap:20px;border-top:1px solid #363636;padding:22px 0}
.cs-work-list__number{font-size:11px;color:#ff8548;padding-top:4px}
.cs-work-list li p{font-size:16px;line-height:1.7;color:#bcbcbc;max-width:56ch}
.cs-solution-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px;list-style:none;padding:64px 0 0;margin-block:0}
.cs-solution-steps li{border-top:1px solid #424242;padding-top:24px;min-width:0}
.cs-solution-steps__number{display:block;font-size:12px;color:#ff8548;margin-bottom:28px}
.cs-page .cs-solution-steps h3{font-size:25px;line-height:1.25;font-weight:500;letter-spacing:-.035em;margin-bottom:16px;max-width:250px}
.cs-solution-steps p{font-size:16px;line-height:1.75;color:#bcbcbc;max-width:35ch}
.cs-result ul{margin:0;padding:0 0 24px 20px;color:#bcbcbc;font-size:16px;line-height:1.75}
.cs-result li+li{margin-top:12px}
.cs-result{margin-top:44px}
.cs-result h3{margin-bottom:18px}
.cs-result p{color:#bcbcbc}
.cs-gallery{padding-block:100px}
.cs-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:48px;margin-bottom:42px}
.cs-section-head p{max-width:310px;font-size:15px;color:#636363}
.cs-gallery__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 30px}
.cs-gallery__item{display:block;min-width:0}
.cs-gallery__item:first-child{grid-column:1/-1}
.cs-gallery__image{display:block;position:relative;background:#f3f3f3;border-radius:18px;overflow:hidden;padding:30px}
.cs-gallery__item:first-child .cs-gallery__image{padding:50px 66px}
.cs-gallery__image>img{width:100%;height:auto;aspect-ratio:auto;border-radius:5px;box-shadow:0 8px 28px #0000000c;transition:transform 700ms var(--nh-ease)}
.cs-gallery__zoom{position:absolute;right:16px;bottom:16px;width:44px;height:44px;display:grid;place-items:center;background:#fff;border-radius:50%;transition:background 300ms}
.cs-gallery__zoom svg{width:19px;height:19px;stroke:#101010;stroke-width:1.5;stroke-linejoin:round}
.cs-gallery__caption{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:20px;margin-top:14px;color:#777}
.cs-gallery__caption>span:first-child{color:#101010}
.cs-gallery__item:hover .cs-gallery__zoom{background:#ff6418}
/* A real phone capture keeps its portrait proportions and a readable device
   size. It must never grow into a half-page strip with an empty column. */
.cs-gallery__grid--devices{grid-template-columns:minmax(0,3fr) minmax(230px,1fr);gap:30px;align-items:start}
.cs-gallery__grid--devices .cs-gallery__item:first-child{grid-column:auto}
.cs-gallery__grid--devices .cs-gallery__image,.cs-gallery__grid--devices .cs-gallery__item:first-child .cs-gallery__image{height:clamp(400px,42vw,560px);padding:28px;display:flex;align-items:center;justify-content:center}
.cs-gallery__grid--devices .cs-gallery__image>img{width:100%;height:auto;max-height:100%;object-fit:contain}
.cs-gallery__item--mobile .cs-gallery__image{display:flex;align-items:center;justify-content:center}
.cs-gallery__item--mobile .cs-gallery__image>img{width:auto;max-width:min(100%,245px);max-height:510px;object-fit:contain;border:5px solid #161616;border-radius:21px;box-shadow:0 12px 32px #00000012}
.cs-gallery__grid--devices .cs-gallery__item--mobile .cs-gallery__image>img{width:auto;height:auto;max-width:100%;max-height:100%}
.cs-reviews{padding-block:80px 90px;background:#f3f3f3}
.cs-page .cs-quote-mark{display:block;font-size:116px;line-height:.65;color:#ff6418;margin-bottom:25px}
.cs-quote{margin:0}
.cs-quote+.cs-quote{margin-top:48px;padding-top:36px;border-top:1px solid #d5d5d5}
.cs-quote blockquote{font-size:20px;line-height:1.75;letter-spacing:-.015em;margin:24px 0 28px}
.cs-quote figcaption{display:flex;align-items:center;gap:16px}
.cs-avatar{width:50px;height:50px;flex-shrink:0;display:grid;place-items:center;border:1px solid #ddd;background:#fff;border-radius:50%;font-size:18px;overflow:hidden}
.cs-avatar img{width:100%;height:100%;object-fit:cover}
.cs-quote strong,.cs-quote small{display:block;font-size:15px;font-weight:500}
.cs-quote small{color:#636363;font-size:12px;font-weight:400;margin-top:3px}
.cs-contact{padding-block:96px 64px}
.cs-contact__inner{display:grid;grid-template-columns:64px 1fr auto;gap:34px;align-items:center;border-radius:28px;background:#f3f3f3;padding:48px}
.cs-contact__arrow{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#ff6418}
.cs-contact__arrow .nh-arrow{width:36px;height:36px;stroke-width:1.3}
.cs-page .cs-contact h2{font-size:clamp(30px,3vw,44px);font-weight:500}
.cs-contact p{color:#636363;margin-top:15px;max-width:590px;font-size:16px}
.cs-contact__back{margin-top:34px}
.cs-lightbox{position:fixed;inset:0;z-index:15000;background:#101010f5;color:#fff;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:24px 36px;gap:18px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 300ms var(--nh-ease),visibility 0s linear 300ms}
.cs-lightbox.active{opacity:1;visibility:visible;pointer-events:auto;transition:opacity 300ms var(--nh-ease)}
.cs-lightbox__bar,.cs-lightbox__footer{display:flex;align-items:center;justify-content:space-between;gap:20px}
.cs-lightbox__bar>div>span{display:block;font-size:12px;color:#aaa}
.cs-lightbox__bar strong{display:block;font-size:18px;font-weight:500}
.cs-lightbox button{display:grid;place-items:center;width:48px;height:48px;padding:0;background:transparent;border:1px solid #555;border-radius:50%;color:#fff}
.cs-lightbox button:hover{background:#ff6418;color:#101010;border-color:#ff6418}
.cs-lightbox button:disabled{opacity:.3;cursor:default}
.cs-lightbox svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.cs-lightbox__stage{min-height:0;overflow:auto;display:flex;align-items:flex-start;justify-content:center;overscroll-behavior:contain}
.cs-lightbox__stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;align-self:center}
.cs-lightbox__stage{position:relative}
.cs-lightbox.is-loading .cs-lightbox__stage::after{content:"";position:absolute;top:calc(50% - 15px);left:calc(50% - 15px);width:30px;height:30px;border:3px solid #ffffff60;border-top-color:#ff6418;border-radius:50%;animation:cs-image-loading 800ms linear infinite;pointer-events:none;box-shadow:0 0 0 5px #10101090}
@keyframes cs-image-loading{to{transform:rotate(360deg)}}
.cs-lightbox__footer{font-size:13px;color:#aaa}
.cs-lightbox__footer>div{display:flex;gap:12px}
@media(hover:hover) and (pointer:fine){.cs-gallery__item:hover img{transform:scale(1.015)}}
@supports(animation-timeline:view()){ @media(min-width:1001px) and (prefers-reduced-motion:no-preference){.cs-stage__surface{animation:cs-stage-drift linear both;animation-timeline:view();animation-range:entry 0% exit 100%}@keyframes cs-stage-drift{from{transform:translateY(14px)}to{transform:translateY(-14px)}}}}
@media(min-width:1600px){.cs-intro{padding-top:64px}}
@media(max-width:1100px){.cs-intro__bottom{gap:28px}.cs-actions{gap:16px}.cs-chapter{gap:55px;grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr)}.cs-contact__inner{grid-template-columns:50px 1fr;gap:24px;padding:36px}.cs-contact__arrow{width:50px;height:50px}.cs-contact__inner>.nh-button{grid-column:2;justify-self:start}.cs-chapter__copy--lead p{font-size:21px}}
@media(max-width:760px){
 .cs-intro{padding-block:26px 30px}.cs-page .cs-intro h1{font-size:clamp(42px,10.8vw,72px);letter-spacing:-.058em;line-height:1.08;margin:22px 0}
 .cs-intro__bottom{display:block}.cs-intro__bottom>p{font-size:16px;line-height:1.7}.cs-actions{justify-content:flex-start;gap:14px;margin-top:24px}.cs-actions .nh-button{font-size:13px;padding:12px 16px;min-height:50px;gap:12px}.cs-explore{font-size:12px;gap:8px}
 .cs-stage{width:calc(100% - 24px);border-radius:20px}.cs-page .cs-model{height:clamp(250px,63vw,480px)}.cs-stage__surface{padding-top:10px}.cs-stage figcaption{padding:10px 20px 20px;font-size:10px;gap:12px}.cs-stage figcaption>span:first-child{max-width:100px}.cs-stage figcaption>span:nth-child(2){overflow-wrap:anywhere}
 .cs-device__monitor{border-width:6px;border-bottom-width:13px;border-radius:12px;box-shadow:4px 3px 0 #aaa}.cs-device__monitor:before{top:calc(100% + 13px);height:25px}.cs-device__monitor:after{top:calc(100% + 34px);height:5px}.cs-device__phone{border-width:4px;border-radius:12px;box-shadow:3px 2px 0 #aaa}.cs-device__phone img{border-width:2px;border-radius:7px}
 .cs-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding-block:28px;gap:24px}.cs-facts>div{min-width:0}.cs-facts dd{font-size:14px;overflow-wrap:anywhere}.cs-facts dt{font-size:12px}.cs-facts dd a{min-height:44px;max-width:100%;min-width:0}.cs-facts dd a>span{flex:none}.cs-facts>div:last-child:nth-child(odd){grid-column:1/-1}
 .cs-story{padding-block:56px}.cs-chapter{grid-template-columns:1fr;gap:28px}.cs-chapter__title{display:flex;gap:20px;align-items:baseline}.cs-number{margin:0;flex:0 0 20px}.cs-page .cs-chapter h2{font-size:32px;max-width:none}.cs-chapter__copy--lead p{font-size:20px;line-height:1.65}.cs-chapter--scope{margin-top:50px}.cs-scope li{padding:18px 0;gap:12px;grid-template-columns:22px 1fr 18px}.cs-scope p{font-size:16px}
 .cs-solution{padding-block:56px}.cs-chapter__copy .cs-solution__lead{font-size:21px;line-height:1.65}.cs-work-list{margin-top:28px}
 .cs-solution-steps{grid-template-columns:1fr;gap:28px;padding-top:36px}.cs-solution-steps li{display:grid;grid-template-columns:24px 1fr;gap:10px 16px;padding-top:24px}.cs-solution-steps__number{margin:0;padding-top:5px}.cs-page .cs-solution-steps h3{font-size:23px;max-width:none;margin:0}.cs-solution-steps p{grid-column:2;max-width:none;font-size:15px;line-height:1.7}
 .cs-gallery{padding-block:56px}.cs-section-head{display:block;margin-bottom:28px}.cs-section-head p{margin-top:18px;font-size:14px}.cs-gallery__grid{grid-template-columns:minmax(0,1fr);gap:30px}.cs-gallery__image,.cs-gallery__item:first-child .cs-gallery__image{padding:14px;border-radius:14px}.cs-gallery__zoom{width:44px;height:44px;right:9px;bottom:9px}.cs-gallery__caption{font-size:12px;margin-top:10px;flex-wrap:wrap;gap:8px 16px}
 .cs-gallery__grid--devices .cs-gallery__image,.cs-gallery__grid--devices .cs-gallery__item:first-child .cs-gallery__image{height:auto;padding:18px}
 .cs-gallery__grid--devices .cs-gallery__item--mobile .cs-gallery__image{padding:24px}
 .cs-gallery__grid--devices .cs-gallery__item--mobile .cs-gallery__image>img{width:auto;max-width:min(100%,230px);max-height:500px;border-radius:19px}
 .cs-reviews{padding-block:52px}.cs-reviews .cs-chapter__title{align-items:center}.cs-page .cs-quote-mark{font-size:75px;line-height:.6;margin:0;width:28px}.cs-quote blockquote{font-size:17px;line-height:1.8;margin-top:22px}
 .cs-contact{padding-block:56px 40px}.cs-contact__inner{padding:28px 24px;grid-template-columns:1fr;gap:26px;border-radius:22px}.cs-contact__inner>.nh-button{grid-column:auto}.cs-page .cs-contact h2{font-size:34px}.cs-contact p{font-size:15px}.cs-contact__arrow{width:48px;height:48px;border-radius:14px}.cs-contact__arrow .nh-arrow{width:27px;height:27px}
 .cs-lightbox{padding:16px;gap:16px}.cs-lightbox__bar strong{font-size:16px}.cs-lightbox__bar>div>span{font-size:11px}.cs-lightbox button{width:44px;height:44px;flex-shrink:0}
}
@media(prefers-reduced-motion:reduce){.cs-page *,.cs-lightbox,.cs-lightbox *{animation:none!important;transition:none!important}.cs-stage__surface{transform:none!important}}
