/* Locale typography and logical alignment; photographs and video stay unmirrored. */
html[lang="ar"]{--sans:Tahoma,Arial,sans-serif;--serif:Georgia,"Times New Roman",serif}
html[lang="ru"]{--sans:Arial,Helvetica,sans-serif;--serif:Georgia,"Times New Roman",serif}
html[lang="ar"] :is(h1,h2,h3,p,button,a,label,legend,small,.eyebrow){letter-spacing:normal}
html[lang="ar"] :is(h1,h2,h3){line-height:1.35}
html[lang="ar"] em{font-style:normal}
html[lang="ar"] .story-chapter[data-chapter] :is(h1,h2){line-height:1.25;font-size:clamp(46px,6.5vw,98px)}
html[lang="ar"] :is(.story-description,.form-intro,.craft-copy>p,.heritage-text>p){line-height:1.9}
html[dir="rtl"] :is(.project-card,.pattern-variant,.collection-option,.collection-choice,.pattern-card-meta p){text-align:start}
html[dir="rtl"] .desktop-nav{margin-left:0;margin-right:auto}
html[dir="rtl"] .section-index{margin-right:0;margin-left:23px}
html[dir="rtl"] :is(.detail-plus,.option-arrow){margin-left:0;margin-right:auto}
html[dir="rtl"] .timeline-dot{left:auto;right:0}
html[dir="rtl"] :is(.collection-intro>p,.projects-heading>p){padding-right:0;padding-left:8vw}
html[dir="rtl"] :is(.pattern-facts dd,.library-results-line p){text-align:end}
html[dir="rtl"] :is(.library-stock-note,.pattern-code-review){border-left:0;border-right:2px solid var(--gold)}
html[dir="rtl"] .motion-toggle{right:auto;left:calc(var(--gutter) + 24px)}
html[dir="rtl"] .story-location{margin-right:0;margin-left:150px}
html[dir="rtl"] .story-shade{background:linear-gradient(270deg,rgba(25,28,34,.82),rgba(25,28,34,.48) 45%,rgba(25,28,34,.1)),linear-gradient(0deg,rgba(25,28,34,.74),transparent 40%)}
html[dir="rtl"] .story-chapter[data-chapter="1"]{left:calc(var(--gutter) + 28px);right:51%}
html[dir="rtl"] .preview-brand{object-position:right}
html[dir="rtl"] :is(.contact-phone,a[href^="tel:"],a[href^="mailto:"],input[type="email"],#design-search,.chapter-control,.preview-tools,.preview-stage){direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] input[type="email"]{text-align:right}
html[dir="rtl"] .preview-stage>img{left:50%}
[data-language],[data-catalog-language]{white-space:nowrap}
html[lang="ru"] :is(.desktop-nav,.header-actions){gap:16px}
html[lang="ru"] .story-chapter[data-chapter] :is(h1,h2){font-size:clamp(43px,6vw,92px);line-height:1.1}
@media(max-width:1100px){html[lang="ru"] .header-cta{display:none}}
@media(max-width:900px){html[dir="rtl"] .story-chapter[data-chapter="1"]{right:calc(var(--gutter) + 20px);left:calc(var(--gutter) + 20px)}}
@media(max-width:600px){
 .site-header{gap:12px}.header-actions{gap:10px}.language-switch{gap:10px}
 .library-header-right nav{gap:10px}
 html[lang="ar"] .story-chapter[data-chapter] :is(h1,h2){font-size:clamp(34px,9.5vw,54px)}
 html[lang="ru"] .story-chapter[data-chapter] :is(h1,h2){font-size:clamp(32px,8.6vw,49px)}
 html[dir="rtl"] .preview-heading{text-align:start}
 html[dir="rtl"] .library-categories a:first-child{padding-left:14px;padding-right:0}
 html[dir="rtl"] :is(.collection-intro>p,.projects-heading>p){padding-left:0}
 html[lang="ar"] .library-intro h1,html[lang="ru"] .library-intro h1{font-size:clamp(36px,10vw,54px)}
}
@media(max-width:420px){.site-header .brand{width:138px}.site-header{padding-inline:16px}.library-header{gap:12px}.library-header>a img{width:132px}}
@media(max-height:600px) and (orientation:landscape){html[lang="ar"] .story-chapter[data-chapter] :is(h1,h2),html[lang="ru"] .story-chapter[data-chapter] :is(h1,h2){font-size:34px}}
