html[lang^="en"]{direction:ltr}html[lang^="en"] body.karin-en{direction:ltr;text-align:left;font-family:Arial,"Helvetica Neue",sans-serif}html[lang^="en"] body.karin-en b,html[lang^="en"] body.karin-en strong{font-family:Arial,"Helvetica Neue",sans-serif}
html[lang^="en"] .karin-latin-number{direction:ltr;unicode-bidi:isolate;font-family:Arial,"Helvetica Neue",sans-serif!important;font-feature-settings:"locl" 0,"ss01" 0;font-variant-numeric:lining-nums}
html[lang^="en"] .ki-info-grid :is(article>a,article>p),html[lang^="en"] .ki-info-grid .karin-latin-number{font-family:Arial,"Helvetica Neue",sans-serif!important;font-feature-settings:"locl" 0!important;font-variant-numeric:lining-nums!important}
html[lang^="en"] body.karin-en :is([class^="kh-"],[class*=" kh-"],[class^="ks-"],[class*=" ks-"],[class^="ki-"],[class*=" ki-"],[class^="kc-"],[class*=" kc-"]){direction:ltr}
html[lang^="en"] .kh-nav,html[lang^="en"] .kh-menu,html[lang^="en"] .kh-submenu,html[lang^="en"] .kh-hero-inner,html[lang^="en"] .kh-footer-main,html[lang^="en"] .kh-footer-bottom{direction:ltr}
html[lang^="en"] :is(.kh-hero-copy,.kh-section-copy,.kh-head-copy,.kh-project-copy,.kh-team-copy,.kh-contact-copy,.kh-footer-about,.kh-footer-column,.kh-footer-contact,.ks-hero-copy,.ks-section-head,.ks-case-main,.ki-hero-copy,.ki-section-head,.ki-story-copy,.kc-hero-copy,.kc-contact-copy){text-align:left}
html[lang^="en"] :is(.kh-eyebrow,.kh-kicker,.ks-kicker,.ki-kicker,.kc-kicker){justify-content:flex-start}
html[lang^="en"] .kh-brand{direction:ltr;margin-right:auto;margin-left:0}html[lang^="en"] .kh-menu-parent>.kh-services-trigger{direction:ltr}
html[lang^="en"] .kh-submenu{right:50%;left:auto;text-align:left;transform:translate(50%,-8px)}html[lang^="en"] .kh-menu-parent.is-open .kh-submenu{transform:translate(50%,0)}html[lang^="en"] .kh-menu a,html[lang^="en"] .kh-submenu a{text-align:left}
html[lang^="en"] .kh-menu a.is-active:after{right:auto;left:50%;transform:translateX(-50%)}html[lang^="en"] .kh-services-trigger:after{right:auto;left:50%;transform:translateX(-50%)}
html[lang^="en"] .kh-hero h1,html[lang^="en"] .kh-section h2,html[lang^="en"] .ks-hero h1,html[lang^="en"] .ki-hero h1{letter-spacing:-.03em}
html[lang^="en"] .kh-hero-copy>p,html[lang^="en"] .kh-section-copy p,html[lang^="en"] .ks-hero-copy p,html[lang^="en"] .ki-hero-copy p{margin-left:0;margin-right:auto}
html[lang^="en"] .kh-hero-actions,html[lang^="en"] .kh-proof,html[lang^="en"] .kh-contact-copy ul{justify-content:flex-start}
/* The source templates are RTL, so every directional arrow must be mirrored in English. */
html[lang^="en"] :is(.kh-text-link,.kh-btn,.kh-nav-cta,.kh-footer-cta-link,.ki-arrow-link,.ks-project-link,.ks-all-projects,.kc-read) span[aria-hidden="true"],
html[lang^="en"] :is(.kh-text-link,.kc-read)>span,
html[lang^="en"] :is(.ks-project-flow,.ks-system-sequence)>i,
html[lang^="en"] :is(.kc-project-nav,.kc-article-aside) a>span[aria-hidden="true"]{display:inline-block;transform:scaleX(-1)}
html[lang^="en"] :is(.kh-project-arrows,.kh-lightbox-dialog,.kc-project-carousel-controls) button{direction:ltr}
html[lang^="en"] :is(.kh-project-arrows,.kh-lightbox-dialog,.kc-project-carousel-controls) button>span,
html[lang^="en"] :is(.kh-lightbox-prev,.kh-lightbox-next,.kc-project-carousel-controls>button){transform:scaleX(-1)}
html[lang^="en"] .kc-pagination :is(.prev,.next){transform:scaleX(-1)}
html[lang^="en"] .ks-problem-list article>span i{display:inline-block;transform:scaleX(-1)}
html[lang^="en"] .ks-problem-list article:hover>span i{transform:translateX(4px) scaleX(-1)}

/* Keep counters Latin even when the Persian font's localized numeral feature is active. */
html[lang^="en"] :is(.ks-solution-number,.ks-problem-number,.ks-case-index b,.ks-system-node b,.ks-system-sequence b,.kh-project-no,.kh-project-dots b,.kh-journey-step>b,.ki-about-timeline b,.ki-domain-grid article>b){direction:ltr;unicode-bidi:isolate;font-family:Arial,"Helvetica Neue",sans-serif!important;font-feature-settings:"locl" 0!important;font-variant-numeric:lining-nums}
html[lang^="en"] .kh-hero-slide[src*="karin-hero-"]{object-position:center center;transform:scale(1.045) scaleX(-1)}
html[lang^="en"] .kh-hero-slide[src*="karin-hero-"].is-active{transform:scale(1) scaleX(-1)}
html[lang^="en"] .kh-hero-overlay{background:linear-gradient(90deg,#071b39 0%,rgba(5,25,55,.94) 28%,rgba(5,24,52,.35) 62%,rgba(2,14,32,.25) 100%)}
html[lang^="en"] input,html[lang^="en"] textarea,html[lang^="en"] select{text-align:left;direction:ltr}
html[lang^="en"] .kh-footer-contact{align-items:flex-start}html[lang^="en"] .kh-footer-column a,html[lang^="en"] .kh-footer-contact a{text-align:left}
html[lang^="en"] .kh-footer-contact .kh-footer-address{display:block;width:100%;direction:ltr;unicode-bidi:isolate;white-space:normal;overflow-wrap:normal;word-break:normal;font-family:Arial,"Helvetica Neue",sans-serif!important;font-feature-settings:"locl" 0!important;font-variant-numeric:lining-nums;line-height:1.75}
html[lang^="en"] .kh-contact-copy li p{direction:ltr;unicode-bidi:isolate;font-family:Arial,"Helvetica Neue",sans-serif!important;font-feature-settings:"locl" 0!important;font-variant-numeric:lining-nums;text-align:left}
html[lang^="en"] .kh-footer .kh-footer-column h3:after{right:auto;left:0}
html[lang^="en"] .kh-logo-grid,html[lang^="en"] .kh-testimonial-grid{direction:ltr}
html[lang^="en"] .ks-case-card,html[lang^="en"] .ks-need-card,html[lang^="en"] .ks-matrix-card,html[lang^="en"] .ki-experience-card{text-align:left}
html[lang^="en"] .kh-project-copy p{text-align:left!important}
html[lang^="en"] .kh-project-image:after{background:linear-gradient(270deg,transparent 62%,rgba(6,22,46,.18))}
html[lang^="en"] .kh-project-image>img{width:100%;height:100%;margin:0;object-fit:cover;object-position:56% center}
html[lang^="en"] .kh-project.is-active .kh-project-image>img{transform:scale(1.035)}
html[lang^="en"] .ki-project-meta span+span:before{margin-right:10px;margin-left:0}
html[lang^="en"] .ki-credentials{right:auto;left:50%;margin-right:0;margin-left:-50vw;text-align:left}
html[lang^="en"] .ki-credential-item{justify-content:flex-start;border-right:0;border-left:1px solid #ced7df;text-align:left}
@media(max-width:800px){html[lang^="en"] .ki-credential-item{border-left:0}}
@media(min-width:721px) and (max-width:1100px){html[lang^="en"] .kh-hero-slide{object-position:center center;transform:scale(1.08) scaleX(-1)}html[lang^="en"] .kh-hero-slide.is-active{transform:scale(1.025) scaleX(-1)}html[lang^="en"] .kh-hero-overlay{background:linear-gradient(90deg,rgba(4,21,47,.9) 0%,rgba(4,21,47,.56) 52%,rgba(4,19,42,.18) 100%)}html[lang^="en"] .kh-hero-copy{margin-left:auto;margin-right:0}}
@media(max-width:720px){html[lang^="en"] .kh-menu{right:14px;left:14px}html[lang^="en"] .kh-submenu,html[lang^="en"] .kh-menu-parent.is-open .kh-submenu{transform:none}html[lang^="en"] .kh-hero-copy,html[lang^="en"] .kh-hero-copy>p{text-align:center;margin-inline:auto}html[lang^="en"] .kh-eyebrow,html[lang^="en"] .kh-hero-actions{justify-content:center}}

/* Service orbit cards need more room for translated labels. */
html[lang^="en"] .karin-services .ks-hero-system{direction:ltr}
html[lang^="en"] .karin-services .ks-system-node{box-sizing:border-box;width:154px;padding:12px 13px;text-align:left}
html[lang^="en"] .karin-services .ks-system-node b{float:none;display:block;margin-bottom:3px;line-height:1}
html[lang^="en"] .karin-services .ks-system-node strong{line-height:1.15;overflow-wrap:normal}
html[lang^="en"] .karin-services .ks-system-node small{line-height:1.45}
html[lang^="en"] .karin-services .ks-system-core{box-sizing:border-box;padding:15px;text-align:center}
html[lang^="en"] .karin-services .ks-system-core strong,
html[lang^="en"] .karin-services .ks-system-core span{max-width:104px;line-height:1.2}
html[lang^="en"] .karin-services .ks-node-problem{right:-2px}
html[lang^="en"] .karin-services .ks-node-process{right:2px}
html[lang^="en"] .karin-services .ks-node-solution{left:-8px}
@media(max-width:440px){
 html[lang^="en"] .karin-services .ks-system-node{width:120px;padding:10px}
 html[lang^="en"] .karin-services .ks-system-node strong{font-size:11px}
 html[lang^="en"] .karin-services .ks-system-node small{font-size:8.5px}
 html[lang^="en"] .karin-services .ks-node-problem{right:0}
 html[lang^="en"] .karin-services .ks-node-process{right:0}
 html[lang^="en"] .karin-services .ks-node-solution{left:0}
}

/* Correct LTR geometry and alignment for the project journey. */
html[lang^="en"] .kh-journey-path{right:auto;left:42px}html[lang^="en"] .kh-journey-path>i{right:auto;left:-1px}html[lang^="en"] .kh-journey-step{direction:ltr;text-align:left}html[lang^="en"] .kh-journey-step>b{margin:2px 8px 0 0}html[lang^="en"] .kh-journey-step>span{align-items:flex-start}html[lang^="en"] .kh-journey-step em{justify-content:flex-start}html[lang^="en"] .kh-panel-copy,html[lang^="en"] .kh-panel-copy>small{direction:ltr;text-align:left}html[lang^="en"] .kh-panel-copy dl>div{padding-right:0;padding-left:14px}html[lang^="en"] .kh-panel-copy dl>div:before{right:auto;left:0}html[lang^="en"] .kh-artifact-discovery>b{direction:ltr;text-align:left}html[lang^="en"] .kh-map-flow{direction:ltr}

html[lang^="en"] .kh-panel-copy>small{font-family:Arial,"Helvetica Neue",sans-serif}html[lang^="en"] .kh-artifact-review li{direction:ltr;text-align:left}html[lang^="en"] .kh-review-comment{direction:ltr;border-right:0;border-left:2px solid #ee873c;text-align:left}html[lang^="en"] .kh-review-comment b{margin-right:0;margin-left:auto}

/* Consistent English testimonial cards without compressing translated copy. */
html[lang^="en"] .kh-testimonial-grid{align-items:stretch}
html[lang^="en"] .kh-testimonial-card{display:grid;height:468px;grid-template-rows:260px 208px;text-align:left}
html[lang^="en"] .kh-testimonial-image{width:100%;height:260px}
html[lang^="en"] .kh-testimonial-card>div{box-sizing:border-box;display:block;min-width:0;min-height:0;padding:22px 24px;overflow:hidden}
html[lang^="en"] .kh-testimonial-card h3{display:-webkit-box;min-height:0;margin:0 0 10px;font-size:15px;line-height:1.4;text-align:left;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}
html[lang^="en"] .kh-testimonial-card p{display:-webkit-box;margin:0;font-size:10px;line-height:1.85;text-align:left;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4}
@media(max-width:720px){html[lang^="en"] .kh-testimonial-card{height:520px;grid-template-rows:310px 210px}html[lang^="en"] .kh-testimonial-image{height:310px}html[lang^="en"] .kh-testimonial-card h3{-webkit-line-clamp:2}html[lang^="en"] .kh-testimonial-card p{-webkit-line-clamp:4}}
/* English journey alignment, readable year card, and contact feedback. */
html[lang^="en"] .kh-journey-intro{direction:ltr;text-align:left}
html[lang^="en"] .kh-journey-intro>div{margin-right:auto;margin-left:0}
html[lang^="en"] .kh-journey-intro :is(.kh-kicker,h2,p){text-align:left}
html[lang^="en"] .kh-confidence-year{box-sizing:border-box;width:190px;min-width:190px;padding:22px 18px;text-align:center}
html[lang^="en"] .kh-confidence-year:before{right:auto;left:0;border-radius:0 3px 3px 0}
html[lang^="en"] .kh-confidence-year b{direction:ltr;font-family:Arial,sans-serif;letter-spacing:0}
html[lang^="en"] .kh-latin-year::before{content:"2021";direction:ltr;font-family:Arial,sans-serif;font-variant-numeric:lining-nums}
html[lang^="en"] .kh-confidence-year span{max-width:150px;white-space:normal;font-size:9px;line-height:1.45;text-align:center}
html[lang^="en"] .kh-confidence-visual figcaption{right:auto;left:22px;align-items:flex-start;text-align:left}
html[lang^="en"] :is(.kh-contact-copy a[href^="tel:"],.kh-footer-contact a[href^="tel:"],.kh-contact-form input[type="tel"]){direction:ltr;font-family:Arial,sans-serif;font-variant-numeric:lining-nums;text-align:left}
.kh-form-status{display:none;align-items:center;gap:9px;margin-top:13px;padding:11px 13px;border-radius:8px;font-size:10.5px;line-height:1.7}
.kh-form-status.is-visible{display:flex}.kh-form-status.is-sending{background:#edf6ff;color:#245a89}.kh-form-status.is-success{background:#eaf9f1;color:#197348}.kh-form-status.is-error{background:#fff0ef;color:#b43b30}
.kh-form-status.is-sending:before{content:"";flex:0 0 auto;width:13px;height:13px;border:2px solid rgba(36,90,137,.25);border-top-color:#1689ee;border-radius:50%;animation:khFormSpin .7s linear infinite}
.kh-contact-form.is-submitting input[type="submit"]{pointer-events:none;opacity:.72}
html[lang^="en"] .kh-contact-form input[type="submit"].kh-btn{padding-inline:18px;text-align:center}
@keyframes khFormSpin{to{transform:rotate(360deg)}}
@media(max-width:720px){html[lang^="en"] .kh-confidence-year{width:174px;min-width:174px}html[lang^="en"] .kh-confidence-visual figcaption{right:auto;left:15px}}
@media(prefers-reduced-motion:reduce){.kh-form-status.is-sending:before{animation:none}}
.kh-contact-form .wpcf7-response-output,.kh-contact-form .wpcf7-spinner{display:none!important}

/* Single portfolio pages: all translated prose follows the English reading direction. */
html[lang^="en"] .karin-single-portfolio :is(.kc-single-head,.kc-single-meta,.kc-portfolio-entry,.kc-portfolio-entry .elementor-widget-container,.kc-project-nav){direction:ltr!important;text-align:left!important}
html[lang^="en"] .karin-single-portfolio .kc-portfolio-entry :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,blockquote,figcaption,div,span,strong,small){direction:ltr!important;text-align:left!important}
html[lang^="en"] .karin-single-portfolio .kc-portfolio-entry :is(ul,ol){padding-right:0!important;padding-left:1.4em!important}

/* Do not depend solely on the translated `hidden` attribute for gallery state. */
.kc-project-carousel .kc-project-slide:not(.is-active){display:none!important}
.kc-project-carousel .kc-project-slide.is-active:not(.is-mobile-group){display:block}
.kc-project-carousel .kc-project-slide.is-active.is-mobile-group{display:grid}
