/* Self-hosted web fonts (SIL Open Font License 1.1). This site makes no third-party requests. */
/* Inter – text */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/Inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/Inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/Inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
/* Source Serif 4 – display */
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/fonts/SourceSerif4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/fonts/SourceSerif4-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/fonts/SourceSerif4-cyrillic.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
/* IBM Plex Mono – technical labels */
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/IBMPlexMono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF,U+2000-206F,U+20AC; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/IBMPlexMono-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA,U+1E00-1E9F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/IBMPlexMono-400-cyrillic.woff2') format('woff2'); unicode-range: U+0400-045F,U+0490-0491,U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/IBMPlexMono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF,U+2000-206F,U+20AC; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/IBMPlexMono-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA,U+1E00-1E9F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/IBMPlexMono-500-cyrillic.woff2') format('woff2'); unicode-range: U+0400-045F,U+0490-0491,U+2116; }
/* Arabic pages: IBM Plex Sans Arabic */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/IBMPlexSansArabic-400-arabic.woff2') format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/IBMPlexSansArabic-600-arabic.woff2') format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+2010-2011,U+FB50-FDFF,U+FE70-FEFC; }
/* Chinese uses the visitor's system fonts (see :lang(zh) in style.css). */

/* ==========================================================================
   IPE – Industry & Project Engineering s.r.o. – www.ipe.sk
   Graphic charter "The drawing board" (October 2026)
   - Vellum paper, drafting ink, IPE cyan for rules and markers, blueprint blue for dark bands
   - Source Serif 4 for headlines, Inter for text, IBM Plex Mono for technical labels
   - Signature devices: title-block fact boxes with project codes, dimension-line rules,
     "FIG." captions, blueprint grid, large serif figures, square corners
   - Images are never cropped and never carry text. Logical properties for Arabic (rtl).
   ========================================================================== */

:root {
  --ink: #10202e;          /* drafting ink: text, borders of title blocks */
  --ink-2: #364552;        /* secondary text */
  --ink-3: #5c6873;        /* labels, captions (5.4:1 on white) */
  --paper: #ffffff;
  --vellum: #f4f2ec;       /* drafting vellum: alternate sections */
  --vellum-2: #ebe7dc;
  --rule: #d9d3c5;         /* hairlines */
  --cyan: #0a8fd4;         /* IPE logo cyan: rules, markers, focus */
  --cyan-ink: #00679f;     /* links and active states (6.1:1 on white) */
  --cyan-soft: #e3f2fa;
  --blueprint: #0c2a44;    /* dark bands, footer */
  --blueprint-2: #133a5c;
  --signal: #b8410e;       /* markup orange: kicker numbers, small markers (5.5:1) */
  --ok: #1f6b3a;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --wrap: 1200px;
  --grid-line: rgba(255,255,255,.055);
  --grid-line-strong: rgba(255,255,255,.09);
}
:lang(zh) { --sans: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif; --serif: 'Source Serif 4', 'Songti SC', 'Noto Serif SC', 'SimSun', serif; }
:lang(ar) { --sans: 'IBM Plex Sans Arabic', 'Inter', Tahoma, system-ui, sans-serif; --serif: 'IBM Plex Sans Arabic', 'Inter', Tahoma, serif; --mono: 'IBM Plex Sans Arabic', 'IBM Plex Mono', monospace; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; font-feature-settings: 'ss01' on, 'cv11' on; }
:lang(zh) body { line-height: 1.8; }
:lang(ar) body { line-height: 1.85; font-size: 18px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--cyan-soft); }
[id] { scroll-margin-top: 96px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: -0.015em; line-height: 1.12; margin: 0 0 .45em; }
h1 { font-size: clamp(34px, 5vw, 60px); }
h2 { font-size: clamp(27px, 3.2vw, 40px); }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.005em; }
h4 { font-family: var(--sans); font-size: 15px; font-weight: 700; margin: 0 0 .4em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; }
p, ul, ol, dl, table { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.25em; }
li { margin-bottom: .35em; }
li::marker { color: var(--cyan); }
strong { font-weight: 650; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
.narrow { max-width: 780px; }

/* ---------- technical label (mono) ---------- */
.eyebrow, .label, .crumbs, figcaption::before, .tag, thead th, .factbox dt, .fact span, .facts-note {
  font-family: var(--mono); }
.eyebrow { font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-ink); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 9px; height: 9px; background: var(--signal); flex: 0 0 auto; }
:lang(ar) .eyebrow, :lang(zh) .eyebrow { letter-spacing: 0; }


/* ---------- header ---------- */
/* audience bar above the header */
.aud-bar { background: var(--blueprint, #0C2A44); color: #9FB8CC; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; }
.aud-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; min-height: 34px; padding-top: 4px; padding-bottom: 4px; }
.aud-bar span { text-transform: uppercase; color: #93ADC2; }   /* 4.6:1 on blueprint */
.aud-bar a { color: #fff; text-decoration: none; }
.aud-bar a:hover, .aud-bar a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.aud-bar a[aria-current] { color: #7FD0F5; }
.site-head { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand img { width: 78px; height: auto; }
.brand-txt { display: flex; flex-direction: column; font-family: var(--mono); font-size: 11.5px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 550; font-size: 15px; padding: 9px 11px; position: relative; }
.nav a::after { content: ''; position: absolute; inset-inline: 11px; bottom: 3px; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--cyan-ink); }
.nav a.nav-cta { background: var(--ink); color: #fff; margin-inline-start: 10px; padding: 10px 16px; }
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover { background: var(--blueprint-2); }
.langs { display: flex; gap: 0; order: 3; flex: 0 0 auto; border: 1px solid var(--rule); }
.langs a { text-decoration: none; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-3); padding: 5px 8px; }
.langs a + a { border-inline-start: 1px solid var(--rule); }
.langs a[aria-current="true"] { color: #fff; background: var(--ink); }
.burger { display: none; background: none; border: 1px solid var(--rule); width: 46px; height: 42px; cursor: pointer; position: relative; }
.burger span:first-child, .burger span:first-child::before, .burger span:first-child::after { content: ''; position: absolute; inset-inline-start: 12px; width: 20px; height: 2px; background: var(--ink); }
.burger span:first-child { top: 20px; }
.burger span:first-child::before { top: -6px; inset-inline-start: 0; }
.burger span:first-child::after { top: 6px; inset-inline-start: 0; }
@media (max-width: 1220px) {
  .head-row { flex-wrap: wrap; }
  .js .burger { display: block; order: 3; margin-inline-start: 10px; }
  .langs { order: 2; margin-inline-start: auto; flex-wrap: wrap; }
  .js .nav { display: none; order: 5; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 14px; margin-inline-start: 0; }
  .js.nav-open .nav { display: flex; }
  .nav a { border-bottom: 1px solid var(--rule); }
  .nav a::after { display: none; }
  .nav a.nav-cta { margin: 10px 0 0; text-align: center; }
}

/* ---------- sections ---------- */
main { display: block; }
.sec { padding: 84px 0; }
.sec.alt { background: var(--vellum); }
.sec.dark, .blueprint { background-color: var(--blueprint); color: #dbe6ef;
  background-image: linear-gradient(var(--grid-line-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px),
                    linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.sec.dark h2, .sec.dark h3, .blueprint h2, .blueprint h3 { color: #fff; }
.sec.dark a, .blueprint a { color: #8fd3f7; }
.sec.dark .eyebrow, .blueprint .eyebrow { color: #8fd3f7; }
.sec-head { max-width: 780px; margin-bottom: 40px; }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 760px; }
.sec.dark .lead, .blueprint .lead { color: #c4d4e1; }
@media (max-width: 600px) { .sec { padding: 56px 0; } .lead { font-size: 18px; } }

/* hero: vellum with a faint drafting grid; text left, image right, shown whole */
.hero { padding: 64px 0 72px; background-color: var(--vellum);
  background-image: linear-gradient(rgba(16,32,46,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(16,32,46,.045) 1px, transparent 1px);
  background-size: 24px 24px; border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.hero figure { margin: 0; background: #fff; padding: 10px 10px 0; border: 1px solid var(--rule); box-shadow: 0 1px 0 var(--rule), 14px 14px 0 -1px var(--vellum-2); }
.hero figure img { border: 0; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding: 40px 0 48px; } }
.page-head { padding: 56px 0 40px; background-color: var(--vellum); border-bottom: 1px solid var(--rule);
  background-image: linear-gradient(rgba(16,32,46,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(16,32,46,.04) 1px, transparent 1px); background-size: 24px 24px; }
.page-head h1 { margin-bottom: 14px; max-width: 900px; }
.crumbs { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--cyan-ink); }

/* buttons: square, ink */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 13px 20px; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; transition: background .15s, color .15s; }
.btn::after { content: '→'; font-family: var(--sans); transition: transform .15s; }
:lang(ar) .btn::after { content: '←'; }
.btn:hover { background: var(--ink); color: #fff; }
.btn:hover::after { transform: translateX(3px); }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: var(--cyan-ink); border-color: var(--cyan-ink); }
.btn.dl::after { content: '↓'; }
.sec.dark .btn, .blueprint .btn, .cta-band .btn { border-color: #fff; color: #fff; }
.sec.dark .btn.primary, .blueprint .btn.primary, .cta-band .btn.primary { background: #fff; color: var(--ink); }
.sec.dark .btn:hover, .cta-band .btn:hover { background: #fff; color: var(--ink); }

/* facts: large serif figures over mono labels */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule); }
.fact { padding: 26px 22px 24px; border-inline-start: 1px solid var(--rule); }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4vw, 50px); line-height: 1; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.02em; }
.fact span { display: block; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); line-height: 1.45; }
.facts-note { font-size: 12px; color: var(--ink-3); margin-top: 12px; letter-spacing: .03em; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--rule); } }

/* cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--rule); border-top: 2px solid var(--ink); padding: 24px 24px 22px; display: flex; flex-direction: column; position: relative; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; padding-top: 12px; font-size: 15px; color: var(--cyan-ink); }
.card .more::after { content: ' →'; }
:lang(ar) .card .more::after { content: ' ←'; }
.card figure { margin: -24px -24px 20px; border-bottom: 1px solid var(--rule); }
.card figure img { width: 100%; border: 0; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-top-color: var(--cyan); box-shadow: 0 10px 28px -18px rgba(16,32,46,.45); }
a.card:hover h3 { color: var(--cyan-ink); }
.tag { display: inline-block; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--rule); padding: 2px 8px; margin: 0 6px 10px 0; }
:lang(ar) .tag { margin: 0 0 10px 6px; }
.tag.done { color: var(--ok); border-color: #b9d9c4; }
.tag.plan { color: #8a4b00; border-color: #e8cfa4; }

/* split text + figure */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.split.wide-fig { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 920px) { .split, .split.wide-fig { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* figures: thin frame, "FIG. nn" captions */
main { counter-reset: fig; }
figure { margin: 0 0 1.2em; }
figure img { border: 1px solid var(--rule); background: #fff; }
figcaption { font-size: 14px; color: var(--ink-3); margin-top: 10px; line-height: 1.5; counter-increment: fig; }
figcaption::before { content: 'FIG. ' counter(fig, decimal-leading-zero) ' — '; font-size: 11.5px; letter-spacing: .06em; color: var(--cyan-ink); }
.hero figcaption { padding: 0 2px 10px; }
img[data-shape="portrait"] { max-height: 640px; width: auto; }
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 660px) { .figs { grid-template-columns: 1fr; } }

/* phases: numbered drawing stages */
.phases { list-style: none; padding: 0; counter-reset: ph; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.phases > li { counter-increment: ph; padding: 20px 18px 6px; border-inline-end: 1px solid var(--rule); margin: 0; }
.phases > li:last-child { border-inline-end: 0; }
.phases > li::before { content: counter(ph, decimal-leading-zero); display: block; font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1; color: var(--cyan); margin-bottom: 12px; }
.phases h3 { font-size: 18px; }
.phases p { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 1000px) { .phases > li { border-inline-end: 0; border-bottom: 1px solid var(--rule); padding-bottom: 18px; } }

/* steps (vertical) */
.steps { list-style: none; padding: 0; counter-reset: st; border-inline-start: 1px solid var(--rule); margin-inline-start: 18px; }
.steps > li { counter-increment: st; position: relative; padding-inline-start: 40px; margin-bottom: 28px; }
.steps > li::before { content: counter(st, decimal-leading-zero); position: absolute; inset-inline-start: -19px; top: 0; width: 38px; height: 38px; background: var(--paper); border: 1.5px solid var(--ink); font-family: var(--mono); font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-2); }

/* project / solution case */
.case { border-top: 1px solid var(--rule); padding: 64px 0; }
.case:first-of-type { border-top: 0; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 52px; align-items: start; }
@media (max-width: 920px) { .case-grid { grid-template-columns: 1fr; gap: 24px; } .case { padding: 44px 0; } }
.group-head { padding-top: 56px; padding-bottom: 8px; margin-top: 8px; }
.group-head::before { content: ''; display: block; border-top: 1.5px solid var(--ink); margin-bottom: 40px; }
.group-head h2 { margin-bottom: 4px; }

/* title block: fact box drawn like the title block of an engineering drawing */
.factbox { border: 1.5px solid var(--ink); margin: 0 0 20px; background: #fff; font-size: 15px; }
.factbox div { display: grid; grid-template-columns: 8.6em minmax(0, 1fr); border-bottom: 1px solid var(--rule); }
.factbox div:last-child { border-bottom: 0; }
.factbox dt { font-size: 11px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); padding: 9px 10px; border-inline-end: 1px solid var(--rule); background: var(--vellum); }
.factbox dd { margin: 0; padding: 8px 12px; }
.factbox .tb-code { grid-template-columns: 1fr auto; background: var(--ink); color: #fff; border-bottom: 0; }
.factbox .tb-code dt { background: transparent; color: #9fb4c6; border: 0; }
.factbox .tb-code dd { font-family: var(--mono); font-size: 13px; letter-spacing: .05em; padding-top: 9px; }
@media (max-width: 480px) { .factbox div { grid-template-columns: 1fr; } .factbox dt { border-inline-end: 0; padding-bottom: 2px; } }
.added { border-inline-start: 3px solid var(--cyan); padding: 4px 0 4px 20px; margin: 22px 0 0; }
:lang(ar) .added { padding: 4px 20px 4px 0; }
.added h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-ink); }
.added ul { margin: 0; }
.note { font-size: 15px; color: var(--ink-2); background: var(--vellum); border-inline-start: 3px solid var(--signal); padding: 12px 16px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.jump li { margin: 0; }
.jump a { display: inline-block; font-size: 14px; font-weight: 550; text-decoration: none; border: 1px solid var(--rule); padding: 7px 12px; background: #fff; color: var(--ink); }
.jump a:hover { border-color: var(--ink); }

/* tables */
.table-wrap { overflow-x: auto; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule); }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 0; }
.table-wrap table { min-width: 900px; }
.split .table-wrap table { min-width: 0; }   /* narrow two-column tables (e.g. Tools) */
th, td { text-align: start; padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { background: var(--vellum); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
:lang(ar) thead th, :lang(zh) thead th { letter-spacing: 0; }
tbody tr:hover { background: #fbfaf6; }
td.y { white-space: nowrap; font-family: var(--mono); font-size: 13.5px; color: var(--ink-3); }
td.sz { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); min-width: 9em; }
#ref-table { min-width: 1080px; }
.filter { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; margin-bottom: 20px; }
.filter label { display: flex; flex-direction: column; font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); gap: 6px; }
.filter select, .filter input { font: inherit; font-family: var(--sans); font-size: 15px; text-transform: none; letter-spacing: 0; padding: 9px 11px; border: 1px solid var(--ink-3); min-width: 240px; max-width: 100%; background: #fff; color: var(--ink); border-radius: 0; }
.filter output { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); padding-bottom: 10px; }

/* certificates */
.cert { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); gap: 18px; align-items: start; }
.cert .badge { width: 5.6em; height: 5.6em; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--mono); font-weight: 500; font-size: 14px; line-height: 1.15; color: var(--ink); background: var(--vellum); }
.cert dl { margin: 0; font-size: 15px; }
.cert dt { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.cert dd { margin: 0; }

/* partners */
.partners { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.partners li { margin: 0; border-bottom: 1px solid var(--rule); padding: 11px 4px; }
.partners li span { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.partners li.us a { color: var(--ink); font-weight: 700; }
.partners li.us span { color: var(--signal); }
@media (max-width: 560px) { .partners { grid-template-columns: 1fr; } }
.sec.alt .partners li { background: transparent; }

/* contact band */
.cta-band { color: #dbe6ef; padding: 44px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center;
  background-color: var(--blueprint);
  background-image: linear-gradient(var(--grid-line-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px), linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: #c4d4e1; }
.cta-band a:not(.btn) { color: #fff; }
.cta-band .btns { justify-content: flex-end; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 28px 22px; } .cta-band .btns { justify-content: flex-start; } }
address { font-style: normal; }

/* client names */
.clients { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.clients li { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink-2); padding: 14px 26px 14px 0; border-bottom: 1px solid var(--rule); }
.clients li::after { content: '·'; color: var(--cyan); margin-inline-start: 26px; }
.clients li:last-child::after { content: ''; }

/* ---------- project map (real map images rendered from Natural Earth outlines) ---------- */
.map-fig { margin: 0 0 18px; }
.map-fig img { border: 1px solid rgba(255,255,255,.18); background: var(--blueprint); }
.sec.dark figcaption { color: #9fb4c6; }
.sec.dark figcaption::before { color: #8fd3f7; }
.map-wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 44px; align-items: start; }
@media (max-width: 980px) { .map-wrap { grid-template-columns: 1fr; } }
.tmap { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, auto)); gap: 6px; }
.tmap li { margin: 0; aspect-ratio: 1 / 1; border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; justify-content: space-between; padding: 6px 7px; font-family: var(--mono); font-size: 11px; line-height: 1.2; color: rgba(255,255,255,.35); }
.tmap li b { font-family: var(--mono); font-weight: 500; font-size: 15px; letter-spacing: .04em; }
.tmap li.on { background: var(--cyan); border-color: var(--cyan); color: #04243a; }
.tmap li.on.home { background: #fff; border-color: #fff; color: var(--ink); box-shadow: 0 0 0 3px var(--signal); }
.tmap li.on span { font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.tmap .ru { grid-column: 8 / span 2; grid-row: 1 / span 3; aspect-ratio: auto; }
@media (max-width: 560px) { .tmap { gap: 4px; } .tmap li { padding: 4px; } .tmap li b { font-size: 12px; } .tmap li span { display: none; } }
.tmap .c1 { grid-column: 1; } .tmap .c2 { grid-column: 2; } .tmap .c3 { grid-column: 3; } .tmap .c4 { grid-column: 4; } .tmap .c5 { grid-column: 5; }
.tmap .c6 { grid-column: 6; } .tmap .c7 { grid-column: 7; } .tmap .c8 { grid-column: 8; } .tmap .c9 { grid-column: 9; }
.tmap .r1 { grid-row: 1; } .tmap .r2 { grid-row: 2; } .tmap .r3 { grid-row: 3; } .tmap .r4 { grid-row: 4; } .tmap .r5 { grid-row: 5; } .tmap .r6 { grid-row: 6; }
.tworld { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tworld li { margin: 0; background: var(--cyan); color: #04243a; padding: 8px 9px; font-family: var(--mono); font-size: 11px; }
.tworld li b { display: block; font-size: 15px; font-weight: 500; }
.map-key { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: #9fb4c6; margin-top: 14px; }
.map-key i { display: inline-block; width: 12px; height: 12px; background: var(--cyan); vertical-align: -1px; margin-inline-end: 6px; }
.map-key i.h { background: #fff; box-shadow: 0 0 0 2px var(--signal); margin-inline-start: 16px; }
.clist { list-style: none; padding: 0; margin: 0; font-size: 15px; border-top: 1px solid rgba(255,255,255,.2); }
.clist li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); margin: 0; display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: 10px; color: #c4d4e1; }
.clist li b { font-family: var(--mono); font-weight: 500; color: #fff; }

/* download block */
.download { margin-top: 36px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; border: 1.5px solid var(--ink); padding: 20px 22px; background: #fff; }
.download .doc { width: 54px; height: 70px; border: 1.5px solid var(--ink); position: relative; font-family: var(--mono); font-size: 11px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; background: var(--vellum); }
.download .doc::before { content: ''; position: absolute; top: -1.5px; inset-inline-end: -1.5px; width: 16px; height: 16px; background: linear-gradient(225deg, var(--paper) 50%, var(--ink) 50%, var(--ink) calc(50% + 1.5px), var(--vellum) calc(50% + 1.5px)); }
.download h3 { margin: 0 0 4px; font-size: 19px; }
.download p { margin: 0; color: var(--ink-3); font-size: 14px; }
/* data charts (rendered PNGs, light charter) */
.chart-fig { margin: 40px 0 8px; }
.chart-fig img { display: block; width: 100%; max-width: 1120px; height: auto; background: #fff; }
@media (max-width: 700px) { .chart-fig { overflow-x: auto; -webkit-overflow-scrolling: touch; } .chart-fig img { width: 680px; max-width: none; } }   /* legible on phones: the chart scrolls sideways inside its figure */
/* download block: the real cover of the presentation (exported by build-deck.ps1) with a PDF tag */
.download .doc-cover { position: relative; display: block; width: 184px; margin-bottom: 30px; border: 1.5px solid var(--ink); background: var(--blueprint); box-shadow: 6px 6px 0 var(--rule); }
.download .doc-cover img { display: block; width: 100%; height: auto; }
.download .doc-cover b { position: absolute; inset-inline-start: -1.5px; top: calc(100% + 10px); background: var(--signal); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 3px 7px; }
@media (max-width: 640px) { .download { grid-template-columns: 1fr; } .download .doc-cover { width: 200px; } }

/* footer */
.site-foot { color: #b9c9d6; padding: 64px 0 28px; font-size: 15px;
  background-color: var(--blueprint);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 24px 24px; }
.site-foot a { color: #e6f1f8; text-decoration: none; }
.site-foot a:hover { color: #8fd3f7; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid > div > a { display: block; padding: 4px 0; }
.foot-brand { color: #fff; font-family: var(--serif); font-weight: 600; font-size: 19px; display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 80px; height: auto; }
.foot-h { color: #fff; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 20px; font-size: 12.5px; color: #8fa5b8; }
.foot-legal p { margin: 0 0 6px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-head, .site-foot, .btns, .filter, .cta-band { display: none; } body { font-size: 11pt; } a { color: inherit; } .hero, .page-head { background: none; } }

/* phone header: logo, languages and menu button on one row (kept last so it wins) */
@media (max-width: 600px) { .brand-txt { display: none; } .head-row { min-height: 64px; gap: 8px; } .brand img { width: 64px; } }


/* ---- fresh-audit fixes (11 Oct 2026) ---- */
[hidden] { display: none !important; }   /* e.g. the reference filter stays hidden without JavaScript */
h1, h2, h3, h4 { overflow-wrap: anywhere; hyphens: auto; }   /* long German compounds at 360 px */
@media (max-width: 600px) { .filter select, .filter input { min-width: 0; width: 100%; } .filter label { flex: 1 1 100%; } }
/* the Arabic label of the language switcher uses a system font on non-Arabic pages (no 42 kB web-font download) */
html:not([lang="ar"]) .langs a[lang="ar"] { font-family: Tahoma, "Segoe UI", "Noto Sans Arabic", Arial, sans-serif; }
@media print {
  .aud-bar, .burger, .langs, .nav, .skip, .cta-band .btns { display: none !important; }
  .sec.dark, .sec.dark * { background: #fff !important; color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  .chart-fig { overflow: visible; } .chart-fig img { width: 100%; max-width: 100%; }
}

/* ---- UX fixes from the fresh audit (12 Oct 2026) ---- */
/* audience bar: links on the left, language switcher on the right */
.aud-bar .wrap { justify-content: space-between; }
.aud-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.aud-bar .langs { order: 0; margin-inline-start: auto; border: 1px solid rgba(255, 255, 255, .28); flex: 0 0 auto; }
.aud-bar .langs a { color: #d6e4ee; padding: 4px 8px; font-size: 12px; }
.aud-bar .langs a + a { border-inline-start: 1px solid rgba(255, 255, 255, .22); }
.aud-bar .langs a[aria-current="true"] { background: #fff; color: var(--ink); }
.aud-bar .langs a:hover { text-decoration: none; background: rgba(255, 255, 255, .12); }
@media (max-width: 600px) {
  .aud-bar .wrap { flex-direction: column; align-items: stretch; gap: 6px; padding-top: 6px; padding-bottom: 8px; }
  .aud-links { gap: 0 14px; }
  .aud-links a { display: inline-block; padding: 6px 0; }
  .aud-bar .langs { margin-inline-start: 0; align-self: flex-start; }
  .aud-bar .langs a { padding: 9px 9px; min-width: 34px; text-align: center; }
}
/* country list beside the map: robust when the description is several elements (Arabic <bdi> runs) */
.clist li { display: block; position: relative; padding-inline-start: 3.6em; }
.clist li > b { position: absolute; inset-inline-start: 0; top: 9px; width: 3.3em; }
/* cards with a picture: same picture box for every card, whole image letterboxed on vellum (never cropped) */
.card figure { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: var(--vellum); }
.card figure img { width: 100%; height: 100%; object-fit: contain; }
/* charts: on phones the whole chart is shown; tapping it opens the full-size image */
@media (max-width: 700px) { .chart-fig { overflow: visible; } .chart-fig img { width: 100%; max-width: 100%; } }
.chart-fig a.zoom { display: block; }
/* wide tables become stacked cards on phones (labels written by build.ps1 as data-label) */
@media (max-width: 700px) {
  .table-wrap table, #ref-table { min-width: 0 !important; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap tr { display: block; border-bottom: 1px solid var(--rule); padding: 10px 0; }
  .table-wrap td { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 8px; border: 0; padding: 3px 0; }
  .table-wrap td::before { content: attr(data-label); font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--ink-3); }
  .table-wrap td:empty { display: none; }
  .table-wrap td.y { font-weight: 600; color: var(--ink); }
}

/* ---- external audit (12 Oct 2026) ---- */
/* phones: the top bar keeps only the language row (audience routes are on the home page, in the footer and in page CTAs) */
@media (max-width: 600px) {
  .aud-links { display: none; }
  .aud-bar .wrap { padding-top: 6px; padding-bottom: 6px; }
}
/* visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.aud-bar a:focus-visible { outline-color: #fff; }
/* long compound words (German, Russian) never push the page wider than the screen */
p, li, dd, td, th, figcaption, .card h3 { overflow-wrap: break-word; }
/* reference filter: reset button and empty state */
.filter #ref-reset { align-self: end; }
.btn { max-width: 100%; }   /* long labels (German) wrap instead of widening the page */
.btn > * { min-width: 0; }
.cta-band > * { min-width: 0; }
@media (max-width: 660px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   IPE – language additions (sk, de, ru, zh-Hans, ar) – to be merged at the END of style.css.
   Until merged, build.ps1 appends this file after style.css (see "i18n.css" in build.ps1).
   style.css already has: logical properties, :lang(zh)/:lang(ar) font variables, Arabic arrows
   on .btn and .card .more, .tag/.added margins for Arabic. This file adds what is still missing.
   ========================================================================== */

/* ---------- caption counter: "FIG. 01 —" in the language of the page ---------- */
:lang(sk) figcaption::before { content: 'OBR. ' counter(fig, decimal-leading-zero) ' — '; }
:lang(de) figcaption::before { content: 'ABB. ' counter(fig, decimal-leading-zero) ' — '; }
:lang(ru) figcaption::before { content: 'РИС. ' counter(fig, decimal-leading-zero) ' — '; }
:lang(zh) figcaption::before { content: '图 ' counter(fig, decimal-leading-zero) ' — '; }
:lang(ar) figcaption::before { content: 'شكل ' counter(fig, decimal-leading-zero) ' — '; }

/* ---------- Chinese (system fonts; no CJK font is hosted) ---------- */
:lang(zh) {
  --sans: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --serif: 'Source Serif 4', 'Noto Serif SC', 'Songti SC', 'SimSun', serif;   /* Latin glyphs from Source Serif 4, Han from the system serif */
  --mono: 'IBM Plex Mono', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', monospace;
}
:lang(zh) body { line-height: 1.8; line-break: strict; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { line-height: 1.32; letter-spacing: 0; }
:lang(zh) h1 { font-size: clamp(30px, 4.4vw, 52px); }
:lang(zh) .lead { line-height: 1.75; }
:lang(zh) em, :lang(zh) i { font-style: normal; font-weight: 600; }          /* no synthetic Han italics */
:lang(zh) .eyebrow, :lang(zh) .crumbs, :lang(zh) .tag, :lang(zh) .fact span, :lang(zh) .facts-note,
:lang(zh) .factbox dt, :lang(zh) thead th, :lang(zh) .foot-h, :lang(zh) .aud-bar, :lang(zh) .filter label,
:lang(zh) .cert dt, :lang(zh) .partners li span, :lang(zh) .added h4 { letter-spacing: .02em; }
:lang(zh) .fact span, :lang(zh) .eyebrow, :lang(zh) .aud-bar { font-size: 13.5px; }

/* ---------- Arabic (IBM Plex Sans Arabic for text and headings: Source Serif 4 has no Arabic) ---------- */
:lang(ar) {
  --sans: 'IBM Plex Sans Arabic', 'Inter', Tahoma, system-ui, sans-serif;
  --serif: 'IBM Plex Sans Arabic', 'Inter', Tahoma, sans-serif;
  --mono: 'IBM Plex Sans Arabic', 'IBM Plex Mono', ui-monospace, monospace;
}
:lang(ar) *, :lang(ar) *::before, :lang(ar) *::after { letter-spacing: 0 !important; }   /* tracking breaks Arabic joining */
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { line-height: 1.4; }
:lang(ar) h1 { font-size: clamp(30px, 4.4vw, 52px); }
:lang(ar) .lead { line-height: 1.8; }
:lang(ar) em, :lang(ar) i { font-style: normal; font-weight: 600; }
/* small mono labels are too small for Arabic letterforms */
:lang(ar) .eyebrow, :lang(ar) .aud-bar, :lang(ar) .fact span { font-size: 14px; }
:lang(ar) .crumbs, :lang(ar) thead th, :lang(ar) .foot-h, :lang(ar) .filter label, :lang(ar) .tag, :lang(ar) .facts-note { font-size: 13px; }
:lang(ar) .factbox dt, :lang(ar) .cert dt, :lang(ar) .partners li span, :lang(ar) .added h4 { font-size: 12.5px; }
:lang(ar) figcaption { font-size: 15px; }

/* ---------- right-to-left mirroring ---------- */
/* Grids, flex rows, tables (text-align: start), list padding, factbox and steps already follow the
   direction through logical properties. What remains are physical offsets, shadows and transforms. */
[dir="rtl"] .nav a::after { transform-origin: right; }
[dir="rtl"] .btn::after { content: '←'; }
[dir="rtl"] .btn:hover::after { transform: translateX(-3px); }
[dir="rtl"] .btn.dl::after { content: '↓'; }
[dir="rtl"] .btn.dl:hover::after { transform: translateY(2px); }
[dir="rtl"] .card .more::after { content: ' ←'; }
[dir="rtl"] .tag { margin: 0 0 10px 6px; }
[dir="rtl"] .added { padding: 4px 20px 4px 0; }
[dir="rtl"] .clients li { padding: 14px 0 14px 26px; }
[dir="rtl"] .hero figure { box-shadow: 0 1px 0 var(--rule), -14px 14px 0 -1px var(--vellum-2); }
[dir="rtl"] .download .doc-cover { box-shadow: -6px 6px 0 var(--rule); }
[dir="rtl"] .download .doc::before { background: linear-gradient(135deg, var(--paper) 50%, var(--ink) 50%, var(--ink) calc(50% + 1.5px), var(--vellum) calc(50% + 1.5px)); }
[dir="rtl"] .clist li b, [dir="rtl"] td.y, [dir="rtl"] td.sz { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] td.y, [dir="rtl"] td.sz { text-align: right; }
/* geographic tile maps keep their real west-east orientation */
[dir="rtl"] .tmap, [dir="rtl"] .tworld { direction: ltr; }
/* Latin islands (phone numbers, e-mail, codes, product names) keep their own order inside Arabic lines */
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] [translate="no"], [dir="rtl"] .factbox .tb-code dd { unicode-bidi: isolate; }
[dir="rtl"] .factbox .tb-code dd { direction: ltr; text-align: left; }
/* the "FIG. 01 —" label stays one unit before the Arabic caption */
[dir="rtl"] figcaption::before { unicode-bidi: isolate; }
/* the brand words are English: keep them left-to-right inside the logo block */
[dir="rtl"] .brand-txt { direction: ltr; text-align: left; }
/* the burger icon is symmetric; its bars are positioned with inset-inline-start already */
/* filter form: the search field and the counter read right to left */
[dir="rtl"] .filter output { direction: rtl; }

/* ---------- header: six language labels ---------- */
/* Desktop: the row of labels stays as it is. Long German and Russian menus get a little less padding
   so the header keeps one row down to the 1221 px breakpoint. */
@media (min-width: 1221px) and (max-width: 1440px) {
  :lang(de) .nav a, :lang(ru) .nav a { padding-inline: 8px; font-size: 14.5px; }
  :lang(de) .nav a::after, :lang(ru) .nav a::after { inset-inline: 8px; }
  :lang(de) .nav a.nav-cta, :lang(ru) .nav a.nav-cta { padding-inline: 12px; margin-inline-start: 6px; }
}
/* Phones: the language switcher sits in the audience bar above the header (see style.css). */
}

/* chart bar widths (generated) */
.w-1 { width: 1%; }
.w-2 { width: 2%; }
.w-3 { width: 3%; }
.w-4 { width: 4%; }
.w-5 { width: 5%; }
.w-6 { width: 6%; }
.w-7 { width: 7%; }
.w-8 { width: 8%; }
.w-9 { width: 9%; }
.w-10 { width: 10%; }
.w-11 { width: 11%; }
.w-12 { width: 12%; }
.w-13 { width: 13%; }
.w-14 { width: 14%; }
.w-15 { width: 15%; }
.w-16 { width: 16%; }
.w-17 { width: 17%; }
.w-18 { width: 18%; }
.w-19 { width: 19%; }
.w-20 { width: 20%; }
.w-21 { width: 21%; }
.w-22 { width: 22%; }
.w-23 { width: 23%; }
.w-24 { width: 24%; }
.w-25 { width: 25%; }
.w-26 { width: 26%; }
.w-27 { width: 27%; }
.w-28 { width: 28%; }
.w-29 { width: 29%; }
.w-30 { width: 30%; }
.w-31 { width: 31%; }
.w-32 { width: 32%; }
.w-33 { width: 33%; }
.w-34 { width: 34%; }
.w-35 { width: 35%; }
.w-36 { width: 36%; }
.w-37 { width: 37%; }
.w-38 { width: 38%; }
.w-39 { width: 39%; }
.w-40 { width: 40%; }
.w-41 { width: 41%; }
.w-42 { width: 42%; }
.w-43 { width: 43%; }
.w-44 { width: 44%; }
.w-45 { width: 45%; }
.w-46 { width: 46%; }
.w-47 { width: 47%; }
.w-48 { width: 48%; }
.w-49 { width: 49%; }
.w-50 { width: 50%; }
.w-51 { width: 51%; }
.w-52 { width: 52%; }
.w-53 { width: 53%; }
.w-54 { width: 54%; }
.w-55 { width: 55%; }
.w-56 { width: 56%; }
.w-57 { width: 57%; }
.w-58 { width: 58%; }
.w-59 { width: 59%; }
.w-60 { width: 60%; }
.w-61 { width: 61%; }
.w-62 { width: 62%; }
.w-63 { width: 63%; }
.w-64 { width: 64%; }
.w-65 { width: 65%; }
.w-66 { width: 66%; }
.w-67 { width: 67%; }
.w-68 { width: 68%; }
.w-69 { width: 69%; }
.w-70 { width: 70%; }
.w-71 { width: 71%; }
.w-72 { width: 72%; }
.w-73 { width: 73%; }
.w-74 { width: 74%; }
.w-75 { width: 75%; }
.w-76 { width: 76%; }
.w-77 { width: 77%; }
.w-78 { width: 78%; }
.w-79 { width: 79%; }
.w-80 { width: 80%; }
.w-81 { width: 81%; }
.w-82 { width: 82%; }
.w-83 { width: 83%; }
.w-84 { width: 84%; }
.w-85 { width: 85%; }
.w-86 { width: 86%; }
.w-87 { width: 87%; }
.w-88 { width: 88%; }
.w-89 { width: 89%; }
.w-90 { width: 90%; }
.w-91 { width: 91%; }
.w-92 { width: 92%; }
.w-93 { width: 93%; }
.w-94 { width: 94%; }
.w-95 { width: 95%; }
.w-96 { width: 96%; }
.w-97 { width: 97%; }
.w-98 { width: 98%; }
.w-99 { width: 99%; }
.w-100 { width: 100%; }
