/* Arabic-Indic numerals use Arabic glyphs rather than the Persian numeral font. */
@font-face { font-family: AbayanNumerals; src: url('assets/kufam/Kufam-Arabic-Variable.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0660-0669; }
@font-face { font-family: AbayanNumerals; src: url('assets/kufam/Kufam-Arabic-Variable.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0660-0669; }
@font-face { font-family: AbayanNumerals; src: url('assets/kufam/Kufam-Arabic-Variable.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0660-0669; }
@font-face { font-family: AbayanNumerals; src: url('assets/kufam/Kufam-Arabic-Variable.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0660-0669; }
@font-face { font-family: AbayanNumerals; src: url('assets/kufam/Kufam-Arabic-Variable.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; unicode-range: U+0660-0669; }
/* A native disclosure with self-contained styles, separate from the header's primary navigation. */
.language-selector { position: relative; flex: 0 0 auto; color: #fff; font-size: 14px; }
.language-selector > summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 45px; padding: 9px 11px; border: 1px solid #ffffff45; border-radius: 9px; background: #ffffff08; white-space: nowrap; cursor: pointer; touch-action: manipulation; transition: background 160ms, border-color 160ms; }
.language-selector > summary::-webkit-details-marker { display: none; }
.language-selector > summary::marker { content: ''; }
.language-selector > summary:is(:hover,:focus-visible), .language-selector[open] > summary { background: #ffffff1c; border-color: #ffffff90; }
.language-selector .language-flag { display: block; width: 24px; height: 18px; flex: 0 0 24px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px #152d4b26; }
.language-current { font: inherit; line-height: 1.5; }
.language-selector .language-chevron { width: 14px; height: 14px; flex: 0 0 14px; opacity: .8; transition: transform 160ms; }
.language-selector[open] .language-chevron { transform: rotate(180deg); }
html[lang=en] .language-selector > summary .language-current, html[lang=en] .language-selector > summary .language-chevron { display: none; }
html[lang=en] .language-selector > summary { width: 44px; padding: 9px; }
.language-selector > .language-options { position: absolute; z-index: 5; inset-inline-end: 0; inset-block-start: calc(100% + 12px); display: grid; align-items: stretch; gap: 4px; width: 220px; max-width: calc(100vw - 32px); margin: 0; padding: 8px; color: #172b49; background: #fff; border: 1px solid #d7dfeb; border-radius: 14px; box-shadow: 0 16px 40px #071b3530, 0 2px 6px #071b3510; font-weight: 500; }
.language-options-title { margin: 0 4px 3px; padding: 6px 7px 10px; border-bottom: 1px solid #e7edf4; color: #586b82; font-size: 12px; font-weight: 500; line-height: 1.5; }
.language-selector .language-options > a { position: relative; display: grid; grid-template-columns: 24px minmax(0,1fr) 18px; align-items: center; justify-content: normal; gap: 12px; min-height: 48px; margin: 0; padding: 10px 12px; color: #203751; background: transparent; border: 0; border-radius: 8px; font:15px/1.5 AbayanNumerals,Abayan, Tahoma, Arial, sans-serif; text-align: start; text-decoration: none; white-space: nowrap; transition: background 140ms, color 140ms; }
.language-selector .language-options > a::before, .language-selector .language-options > a::after { content: none; display: none; }
.language-selector .language-options > a:is(:hover,:focus-visible) { color: #0c2d54; background: #edf2f8; }
.language-selector .language-options > a[aria-current] { color: #143e6b; background: #e8eff8; }
.language-selector .language-options > a[aria-current]:is(:hover,:focus-visible) { background: #dde8f5; }
.language-option-label { min-width: 0; }
.language-option-label bdi[dir=ltr] { font-family:AbayanNumerals,Arial, Helvetica, sans-serif; }
.language-selector .language-check { visibility: hidden; width: 18px; height: 18px; }
.language-selector a[aria-current] .language-check { visibility: visible; }
.language-selector > summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.language-selector .language-options > a:focus-visible { outline: 2px solid #285f97; outline-offset: -2px; }
html[lang=ar] body { font-family:AbayanNumerals,Abayan, Tahoma, Arial, sans-serif; }
html[lang=ar] a[href^="tel:"] { direction: ltr; unicode-bidi: isolate-override; }
html[lang=en] body { font-family:AbayanNumerals,Arial, Helvetica, sans-serif; font-weight: 400; line-height: 1.65; }
html[lang=en] :is(h1,h2,h3) { font-family:AbayanNumerals,Arial, Helvetica, sans-serif; line-height: 1.2; letter-spacing: -.025em; }
html[lang=en] :is(button,input,select,textarea) { font-family: inherit; }
html[lang=en] .page-intro h1 { font-size: clamp(38px,4.6vw,76px); }
html[lang=en] :is(.page-intro-copy,.detail-copy,.product-stage-copy) { text-align: start; }
html[lang=en] :is(.brand-persian,.hero h1 em) { font-style: normal; }
html[lang=en] .product-stage-copy::before { inset-inline-start: 0; inset-inline-end: auto; }
html[lang=en] .architecture-copy { margin-inline-start: auto; }
html[lang=en] .journal-prose :is(blockquote,ul,ol) { border-right: 0; padding-right: 0; }
html[lang=en] .journal-prose blockquote { border-inline-start: 3px solid #d7293a; padding-inline-start: 22px; }
html[lang=en] .journal-prose :is(ul,ol) { padding-inline-start: 24px; }
html[lang=en] .journal-read-arrow { transform: none; }
html[lang=en] .journal-progress { transform-origin: left; }
html[lang=en] .journal-progress span { transform-origin: left; }
html[lang=en] .spec-list dd { margin-inline-start: 0; }
html[lang=en] :is(.contact-email,.contact-phone) { text-align: start; }
@media(min-width:901px) {
 .site-header { gap: clamp(10px,1.1vw,18px); }
 .site-header > nav { gap: clamp(10px,1.2vw,20px); }
 html[lang=en] .site-header > nav { font-size: 14px; }
 html[lang=en] .site-header .header-consult { font-size: 13px; padding-inline: 12px; }
 html[lang=en] .site-header .account-trigger-label { display: none; }
 html[lang=en] .site-header .account-trigger { width: 44px; padding: 9px; justify-content: center; }
 html[lang=en] .site-header .account-chevron { display: none; }
}
@media(min-width:901px) and (max-width:1450px) {
 .language-selector > summary .language-current, .language-selector > summary .language-chevron { display: none; }
 .language-selector > summary { width: 44px; padding: 9px; }
}
@media(min-width:1451px) and (max-width:1600px) {
 html[lang=en] .site-header { gap: 12px; }
 html[lang=en] .site-header > nav { gap: 14px; }
 html[lang=en] .site-header > nav > .site-nav-link, html[lang=en] .site-header > nav > .site-nav-group > .site-nav-link { padding-inline: 4px; }
}
@media(min-width:901px) and (max-width:1280px) {
 html[lang=en] .site-header .header-consult { display: none; }
}
@media(min-width:901px) and (max-width:1450px) {
 html[lang=en] .site-header .header-consult { display: none; }
}
@media(min-width:901px) and (max-width:1200px) {
 html[lang=en] .site-header > nav { display: none; }
 html[lang=en] .site-header .brand { margin-inline-end: auto; }
 html[lang=en] .site-header .menu-toggle { display: flex; }
}
@media(max-width:700px) {
 .language-selector > summary .language-current, .language-selector > summary .language-chevron { display: none; }
 .language-selector > summary { width: 44px; padding: 9px; }
 html[lang=en] :is(.family-name,.family-route-nav a) { font-size: 13px; white-space: normal; }
 html[lang=en] :is(.section-heading h2,.closing-cta h2,.architecture-copy h2) { font-size: 32px; }
 html[lang=en] .product-stage h3 { font-size: 28px; }
 html[lang=en] .footer-bottom { flex-wrap: wrap; }
}
@media(prefers-reduced-motion:reduce) { .language-selector * { transition: none; } }
