/* Mobile/tablet composition. Desktop choreography remains in the original styles. */
.shopify-overview{padding:100px var(--page-gutter);background:#fff;color:#171717}
.shopify-overview>header{max-width:760px;margin-bottom:64px}
.shopify-overview h2{font-size:clamp(36px,4.6vw,64px);line-height:1.1;white-space:pre-line;margin:24px 0}
.shopify-overview>header>p{font-size:19px;max-width:42ch;color:#666}
.shopify-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px}
.shopify-principles article{border-top:1px solid #ddd;padding-top:22px}
.shopify-principles .ts-mono{color:#777}.shopify-principles h3{font-size:25px;line-height:1.25;margin:36px 0 16px}
.shopify-principles p{font-size:16px;color:#666;max-width:34ch}
.shopify-measure{background:#f7f7f5;padding:36px;margin-top:64px;border-radius:8px}
.shopify-measure>h3{font-size:25px;margin:0 0 32px}
.shopify-measure>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.shopify-measure strong{font-size:clamp(20px,2vw,28px);font-weight:400}
.shopify-measure article p,.shopify-measure>p{font-size:14px;color:#666;margin:12px 0 0}
.shopify-measure>p{margin-top:32px}.shopify-overview>.px-line-link{max-width:280px;margin-top:28px}
.ts-offer-copy>.ts-platform-cost{font-size:14px;color:#666;margin-top:18px;max-width:50ch}
.px-work-controls{display:none}
.ts-main img{max-width:100%}
@media(max-width:1024px){
 body[data-variant=telescope][data-page=presentation] .site-header{inset:0 0 auto;transform:none;width:100%;height:64px;padding:8px 24px;gap:12px;background:#fff;border:0;border-bottom:1px solid #e6e6e6;border-radius:0;box-shadow:none}
 body[data-variant=telescope][data-page=presentation] .site-header .brand-logo{width:158px}
 body[data-variant=telescope][data-page=presentation] .menu-button{width:44px;height:44px}
 body[data-variant=telescope][data-page=presentation] .lang-select select{height:44px;min-width:52px;font-size:13px}
 body[data-variant=telescope][data-page=presentation] .client-nav{top:64px;min-height:48px;height:48px;margin-top:64px;padding:0 24px;gap:14px;font-size:13px}
 body[data-variant=telescope][data-page=presentation] .client-nav nav{min-width:0;flex:1;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
 body[data-variant=telescope][data-page=presentation] .client-nav nav,body[data-variant=telescope][data-page=presentation] .client-nav nav a{height:48px}
 body[data-variant=telescope][data-page=presentation] .client-nav .nav-number,body[data-variant=telescope][data-page=presentation] .client-nav-label{display:none}
 body[data-variant=telescope][data-page=presentation] .client-nav .other-services-button{font-size:12px;min-height:44px;flex:none;gap:5px}
 body[data-variant=telescope][data-page=presentation] .client-nav .nav-proposal{display:flex;align-items:center;min-height:44px;font-size:12px;flex:none;padding-inline-start:12px;border-inline-start:1px solid #ddd}
 body[data-variant=telescope][data-page=presentation] .mobile-nav{inset:112px 16px auto;transform:none;width:auto;max-height:calc(100svh - 128px);overflow-y:auto}
 body[data-variant=telescope][data-page=presentation].px-dark-nav .site-header{background:#07090b;border-color:#ffffff1c}
 .ts-main{margin-top:-112px;--page-gutter:32px}
 .ts-hero{height:220svh}.ts-hero h1{font-size:clamp(32px,5vw,51px);width:90%;line-height:1.16}
 .ts-scroll{bottom:28px!important}.ts-scroll>span{display:block!important;font-size:12px}
 .ts-service,.ts-motion-off .ts-service{height:auto}
 .ts-service-stage,.ts-motion-off .ts-service-stage{position:relative;display:flex;flex-direction:column;height:auto;min-height:0;padding:144px var(--page-gutter) 72px;gap:24px;overflow:visible}
 .ts-service-name{position:static;order:0;width:auto;transform:none}.ts-service-name>span{font-size:13px;max-width:none}
 .ts-service-images{position:relative;inset:auto;order:1;width:100%;height:auto;max-height:none;aspect-ratio:1672/941;flex:none}
 .ts-service-copy{position:static;order:2;inset:auto;width:100%;max-width:680px;height:auto;min-height:240px;text-align:start}
 .ts-slide-copy{position:relative;display:none;gap:18px;padding:0;min-height:0}.ts-slide-copy.is-active{display:flex}
 .ts-slide-copy h2{font-size:clamp(30px,4.3vw,42px);line-height:1.15;max-width:24ch;margin:0;order:0}
 .ts-slide-copy>p{font-size:17px;line-height:1.6;max-width:49ch}.ts-slide-copy ul{font-size:13px;line-height:1.5;gap:8px 16px;margin:0}
 .ts-slide-arrows{position:static;order:3;justify-content:flex-start;gap:12px;margin:0}.ts-slide-arrows button{min-width:48px;min-height:48px}
 .ts-service-caption{position:static;order:4;display:block;font-size:12px;max-width:none}
 .px-work,.ts-motion-off .px-work{height:auto;padding:0 0 30px}
 .px-work-stage,.ts-motion-off .px-work-stage{height:auto;position:relative!important;inset:auto!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;direction:ltr}
 .px-work-track,.ts-motion-off .px-work-track{height:auto;min-height:550px;transform:none!important;will-change:auto;align-items:stretch}
 .px-work-start,.px-work-end{width:72vw;max-width:560px;padding:64px 32px;scroll-snap-align:start}
 .px-project{width:76vw;padding:64px 32px;scroll-snap-align:center;align-items:center}
 .px-project-inner,.px-project:nth-child(odd) .px-project-inner{transform:none}
 .px-project h3{font-size:30px}.px-project-bottom{display:block}.px-project-bottom .px-line-link{margin-top:12px;min-height:44px;font-size:13px}
 .px-work-progress{display:none}.px-work-controls{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:0 32px}
 .px-work-controls button{width:48px;height:48px;display:grid;place-items:center;border:1px solid #bbb;background:none;border-radius:50%;cursor:pointer;color:inherit}
 .px-work-controls button svg{width:18px;height:18px}.px-work-controls button:first-child svg{transform:rotate(180deg)}
 .px-craft{height:280svh}.px-craft-stage>header{top:144px;padding:0 32px}.px-craft-stage>header h2{font-size:30px}
 .px-craft-card{width:calc(100% - 64px);max-width:600px;left:50%;right:auto;translate:-50% 0;top:auto;bottom:105px;padding:24px;background:#080b10ed;backdrop-filter:none}
 .px-craft-card h3{font-size:28px}.px-craft-card p{font-size:17px;margin-top:22px;max-width:45ch}.px-craft-card svg{width:40px;height:40px}
 .px-craft-bottom{bottom:32px;left:32px;right:32px}.px-craft-bottom>p{display:none}.px-craft-bottom .px-line-link{width:100%}
 .px-motion{height:380svh}.px-motion-bottom{bottom:32px}.px-motion-bottom a{min-height:48px}
 .px-footer-clock{display:none}.px-footer-top{grid-template-columns:1.7fr 1fr;gap:32px}.px-footer-actions{padding-top:24px}
 .px-footer-info{gap:24px;grid-template-columns:1.2fr 1fr 1fr}.px-footer-info a{overflow-wrap:anywhere;min-height:32px}.px-footer-play button{min-height:44px}
 .ts-main .is-compact .service-explainer{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:36px}
 .ts-motion-off .px-craft-card{translate:none;width:auto;max-width:none}.ts-motion-off .px-craft-stage{padding:540px 32px 48px;min-height:0}.ts-motion-off .px-craft-canvas{top:200px;height:320px}
 .shopify-overview{padding:72px var(--page-gutter)}.shopify-principles{gap:24px}.shopify-principles h3{font-size:23px}.shopify-measure{padding:28px}
}
@media(min-width:761px) and (max-width:1024px){
 .px-fact-grid{width:calc(100% - 64px);grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.px-fact-card{height:390px;padding:28px}
 .px-fact-value{font-size:45px}.px-fact-orbit{width:175px}
 .px-motion-bottom{top:140px;bottom:28px;pointer-events:none}.px-motion-bottom p{align-self:flex-start}.px-motion-bottom a{align-self:flex-end;pointer-events:auto}
}
@media(max-width:760px){
 .ts-main{--page-gutter:24px}
 body[data-variant=telescope][data-page=presentation] .site-header{padding-inline:20px}
 body[data-variant=telescope][data-page=presentation] .client-nav{padding-inline:16px;gap:10px;font-size:12px}
 body[data-variant=telescope][data-page=presentation] .client-nav .other-services-button{font-size:11px}
 .ts-hero h1,html[lang=de] .ts-hero h1,html[dir=rtl] .ts-hero h1{font-size:clamp(28px,7.8vw,43px);width:calc(100% - 36px);line-height:1.2}
 .ts-service-copy{min-height:280px}.ts-service-stage{padding-bottom:48px}
 .px-work-start,.px-work-end{width:86vw;max-width:none;padding:56px 24px}.px-project{width:90vw;padding:48px 24px}
 .px-work-track,.ts-motion-off .px-work-track{min-height:500px}.px-work-controls{padding-inline:24px}
 .px-work-start h2{font-size:37px}.px-work-end h3{font-size:32px}.px-project h3{font-size:28px}
 .px-craft-stage>header{top:136px;padding-inline:24px}.px-craft-stage>header h2{font-size:25px}
 .px-craft-card{width:calc(100% - 48px);padding:20px;bottom:100px}.px-craft-card h3{font-size:25px}.px-craft-card p{font-size:16px;margin-top:18px}
 .px-motion-bottom{top:132px;bottom:24px}.px-motion-bottom p{max-width:30ch;font-size:14px}.px-motion-type>span{font-size:16vw}
 .px-footer-top{display:block}.px-footer-actions{padding-top:28px}.px-footer-info{grid-template-columns:1fr 1fr;gap:26px}
 .px-footer-info a{font-size:14px}.px-footer h2{font-size:clamp(32px,9vw,43px)}
 .ts-main .is-compact .service-explainer{display:block}.ts-main .service-explainer-intro h3{font-size:27px}
 .shopify-overview>header{margin-bottom:40px}.shopify-overview h2{font-size:35px}.shopify-overview>header>p{font-size:17px}
 .shopify-principles,.shopify-measure>div{grid-template-columns:1fr;gap:28px}.shopify-principles h3{margin-top:22px}.shopify-principles p{max-width:none}
 .shopify-measure{margin-top:40px;padding:26px 22px}.shopify-measure>h3{font-size:24px}.shopify-measure article+article{border-top:1px solid #ddd;padding-top:22px}
 .ts-motion-off .px-craft-stage{padding:490px 24px 48px}.ts-motion-off .px-craft-canvas{top:210px;height:260px}
}
@media(max-width:360px){
 body[data-variant=telescope][data-page=presentation] .client-nav{padding-inline:12px;gap:7px}.client-nav .nav-proposal span{display:none}
 .ts-slide-copy h2{font-size:28px}.ts-slide-copy>p{font-size:16px}.ts-service-copy{min-height:310px}
 .px-fact-card{padding:22px}.px-fact-value{font-size:38px}.px-fact-bottom{gap:10px}
 .ts-other{gap:12px}.ts-other>.ts-mono{font-size:13px}.ts-other>.other-services-button{font-size:12px}
}
/* Short landscape viewports need room for content beneath the persistent header. */
@media(max-width:1024px) and (max-height:600px){
 .ts-hero-stage{min-height:560px}.ts-hero{height:1150px}.ts-hero h1{font-size:36px}
 .px-craft-stage{min-height:620px}.px-craft{height:1800px}.px-motion-stage{min-height:620px}.px-motion{height:2100px}
 .px-motion-bottom{top:132px;bottom:24px;flex-direction:column;align-items:stretch}.px-motion-bottom p{align-self:center;margin:auto auto 0;margin-top:0}
 .px-motion-type>span{font-size:13vw}.ts-motion-off .px-motion{height:620px}
}
@media(hover:none){.px-project-image:hover img{transform:none}.px-atmosphere{display:none}}
@media(prefers-reduced-motion:reduce){.px-project-image img,.px-motion-fallback img{transition:none}}

.px-facts-window{direction:ltr}
html[dir=rtl] .px-fact-card{direction:rtl}
@media(max-width:1024px){body[data-page=proposal] .mp-menu-button,body[data-page=proposal] .mp-icon-button{min-height:44px;min-width:40px}body[data-page=proposal] .mp-language select{min-height:44px}}
@media(min-width:861px) and (max-width:1100px){body[data-page=proposal] .mp-packages{grid-template-columns:1fr}body[data-page=proposal] .mp-package{padding:24px}body[data-page=proposal] .mp-package h3{font-size:20px}body[data-page=proposal] .mp-package li{font-size:15px}body[data-page=proposal] .mp-price{font-size:22px}}

/* Haffer has no Persian glyphs; use the existing sans-serif fallback only for those glyphs. */
html[lang=fa] body,html[lang=fa] body *{font-family:Haffer,Vazir,Arial,sans-serif!important}
@media(min-width:600px) and (max-width:1024px) and (max-height:600px){
 .ts-service-stage,.ts-motion-off .ts-service-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"image name" "image copy" "caption controls";column-gap:28px;row-gap:18px;padding:136px 32px 40px}
 .ts-service-name{grid-area:name}.ts-service-images{grid-area:image;align-self:center}.ts-service-copy{grid-area:copy;min-height:0}.ts-slide-copy{gap:14px}.ts-slide-copy h2{font-size:27px}.ts-slide-copy>p{font-size:16px;line-height:1.5}.ts-slide-copy ul{font-size:12px}
 .ts-service-caption{grid-area:caption;align-self:center}.ts-slide-arrows{grid-area:controls}
}
