/* Project S · homepage concept v0.2 (Bryteq) — dark, brand pair blue #37b5fe + yellow #f7d52d */
@font-face { font-family: "Manrope V"; src: url(../fonts/manrope-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; 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: "Manrope V"; src: url(../fonts/manrope-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Golos V"; src: url(../fonts/golos-text-latin-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-display: swap; 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: "Golos V"; src: url(../fonts/golos-text-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope V"; src: url(../fonts/manrope-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos V"; src: url(../fonts/golos-text-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/ibm-plex-mono-cyrillic-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/ibm-plex-mono-cyrillic-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* Kazakh (projects.com.kz, 2026-11-23): Ә Ғ Қ Ң Ө Ұ Ү Һ live in Cyrillic Extended – Golos + Plex Mono have them, Manrope does not */
@font-face { font-family: "Golos V"; src: url(../fonts/golos-text-cyrillic-ext-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/ibm-plex-mono-cyrillic-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/ibm-plex-mono-cyrillic-ext-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+A720-A7FF; }

:root {
  --f-display: "Manrope V", "Segoe UI", system-ui, sans-serif;
  --f-body: "Golos V", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --hdr: 76px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --r: 4px;
  /* A · Command (default) */
  --bg: #050d18;
  --bg-2: #08162a;
  --surface: #0b1c31;
  --surface-2: #0f243d;
  --line: rgba(150, 196, 238, .13);
  --line-2: rgba(150, 196, 238, .24);
  --ink: #eaf2fb;
  --ink-2: #a3b7cc;
  --ink-3: #7a91a9;
  --accent: #37b5fe;
  --accent-ink: #6ccaff;
  --on-accent: #03111f;
  --signal: #f7d52d;
  --signal-ink: #f7d52d;
  --signal-gfx: #f7d52d;
  --y-glow: rgba(247, 213, 45, .18);
  --glow: rgba(55, 181, 254, .16);
  --dot: rgba(160, 205, 245, .16);
  --shade: rgba(3, 9, 18, .62);
  --photo-tone: saturate(.9) brightness(.86);
  color-scheme: dark;
}
:lang(kk) { --f-display: "Golos V", "Segoe UI", system-ui, sans-serif; }   /* Manrope has no Ә Ғ Қ Ң → Kazakh headings in Golos, never mixed fonts in one word */


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--on-accent); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

/* type helpers */
h1 em, h2 em, .band__q em { color: var(--accent-ink); }
.hero__title em { color: var(--signal) !important; background: none !important; -webkit-text-fill-color: currentColor; }
h1 em, h2 em { background: linear-gradient(100deg, #8fdcff 0%, var(--accent) 55%, #1f8fd8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; }
.eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px var(--y-glow); position: relative; }
.eyebrow i::after { content: ""; position: absolute; left: 9px; top: 4px; width: 22px; height: 1px; background: linear-gradient(90deg, var(--signal), var(--accent)); }
.eyebrow i { margin-right: 26px; }
.sec { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.sec__head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec__head--split { max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; }
.sec h2, .cta h2 { font-size: clamp(36px, 5.2vw, 72px); line-height: 1.1; }
.sec__lead { color: var(--ink-2); font-size: clamp(17px, 1.35vw, 19.5px); max-width: 620px; }
.sec__head h2 + .sec__lead { margin-top: 26px; }

/* buttons (Emil: press .97, ease-out, hover only on fine pointers) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: var(--r); font: 600 15.5px/1 var(--f-body); letter-spacing: .01em; white-space: nowrap; transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .25s var(--ease-out), scale .14s var(--ease-out); }
.btn svg { width: 18px; height: 18px; transition: translate .25s var(--ease-out); }
.btn:active { scale: .97; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 64px; padding: 0 32px; font-size: 17px; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -12px rgba(55, 181, 254, .7); }
.btn--yellow { background: var(--signal); color: #1a1400; box-shadow: 0 12px 34px -12px rgba(247, 213, 45, .65); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn--signal { background: var(--signal); color: #1d1600; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: #63c6ff; box-shadow: 0 14px 40px -12px rgba(55, 181, 254, .9); }
  .btn--accent:hover svg { translate: 4px 0; }
  .btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
  .btn--signal:hover { background: #ffe352; }
  .btn--yellow:hover { background: #ffe14d; box-shadow: 0 16px 44px -12px rgba(247, 213, 45, .85); }
  .btn--yellow:hover svg { translate: 4px 0; }
}

/* ===== preloader: the original round logo assembles itself (canvas), then the panel lifts ===== */
.pre { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 50%, #0b2440 0%, #050d18 72%); }
.pre__stage { display: grid; justify-items: center; gap: 18px; }
.pre__logo { position: relative; width: min(320px, 72vw); aspect-ratio: 1; }
.pre__logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pre__logo.is-live img { opacity: 0; }
#prelogo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.pre__stage { position: relative; z-index: 1; }
.js.no-motion .pre { display: none; }

/* ===== header ===== */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); transition: background-color .35s var(--ease-out), border-color .35s; border-bottom: 1px solid transparent; }
.hdr.is-solid { background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 36px; height: 36px; color: var(--accent); filter: drop-shadow(0 0 10px rgba(55, 181, 254, .35)); }
.logo__word { font: 800 17px/1 var(--f-display); letter-spacing: .2em; }
.logo__word small { display: block; margin-top: 5px; font: 500 9.5px/1 var(--f-mono); letter-spacing: .62em; color: var(--accent-ink); }
.logo--lg .logo__mark { width: 52px; height: 52px; }
.logo--lg .logo__word { font-size: 22px; }
.nav { position: relative; display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav a { position: relative; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .2s var(--ease-out); }
.nav a.is-on { color: var(--ink); }
.nav > a + a::before, .nav > a + .dd::before, .nav > .dd + a::before, .nav > .dd + .dd::before { content: ""; position: absolute; left: -7px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); translate: 0 -50%; box-shadow: 0 0 8px rgba(247, 213, 45, .55); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); } }
.nav__dot { position: absolute; bottom: 0; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0; transition: translate .45s var(--ease-out), opacity .3s; box-shadow: 0 0 10px var(--accent); }
.hdr__tools { display: flex; align-items: center; gap: 14px; }
.clocks { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font: 500 12px/1 var(--f-mono); color: var(--ink-2); }
.clocks span { padding: 7px 10px; border-radius: 999px; }
.clocks span:first-child { background: var(--surface); }
.clocks b { font-weight: 500; color: var(--ink-3); margin-right: 3px; }
.clocks time { color: var(--ink); font-variant-numeric: tabular-nums; }
.langs { position: relative; }
.langs__btn { height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); font: 500 12.5px/1 var(--f-mono); letter-spacing: .1em; }
.langs__btn::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -2px; }
.langs__list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .5); transform-origin: top right; animation: pop .2s var(--ease-out); }
.langs__list a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 4px; font-size: 14px; color: var(--ink-2); }
.langs__list a[aria-current] { color: var(--ink); background: var(--surface-2); }
.langs__list a[data-soon]::after { content: "soon"; font: 500 10px/1.8 var(--f-mono); letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) { .langs__list a:hover { background: var(--surface-2); color: var(--ink); } }
/* language switcher: globe on the button, round flags in the list + phone row (Dima 2026-11-23) */
.langs__btn { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; flex: none; }
.clocks span { white-space: nowrap; }
@media (max-width: 1366px) { .clocks span { padding: 7px 7px; } .clocks b { margin-right: 2px; } .langs__btn { padding: 0 10px; gap: 6px; } }
.langs__btn::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: url(../img/globe.svg) center / contain no-repeat; mask: url(../img/globe.svg) center / contain no-repeat; opacity: .85; }
.langs__list a { justify-content: flex-start; align-items: center; gap: 10px; }
.langs__list a[data-soon]::after { margin-left: auto; }
.langs__list a::before, .mnav .mnav__langs a::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--surface-2) center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 1px rgba(0, 0, 0, .25); }
.mnav .mnav__langs a { display: inline-flex; align-items: center; gap: 7px; }
.mnav .mnav__langs a::before { width: 16px; height: 16px; }
:is(.langs__list, .mnav__langs) a[hreflang="pl"]::before { background-image: url(../img/flags/pl.svg); }
:is(.langs__list, .mnav__langs) a[hreflang="en"]::before { background-image: url(../img/flags/en.svg); }
:is(.langs__list, .mnav__langs) a[hreflang="de"]::before { background-image: url(../img/flags/de.svg); }
:is(.langs__list, .mnav__langs) a[hreflang="uk"]::before { background-image: url(../img/flags/uk.svg); }
:is(.langs__list, .mnav__langs) a[hreflang="ru"]::before { background-image: url(../img/flags/ru.svg); }   /* Dima 2026-11-23: «ставь везде российский флаг» (Leonid decides later) */
:is(.langs__list, .mnav__langs) a[hreflang="kk"]::before { background-image: url(../img/flags/kk.svg); }
@keyframes pop { from { opacity: 0; scale: .95; } }
.mtg { position: relative; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); transition: border-color .2s, color .2s, background-color .2s; }
.mtg i { position: relative; width: 10px; height: 11px; }
.mtg i::before, .mtg i::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; border-radius: 1px; background: currentColor; transition: clip-path .25s var(--ease-out), width .25s var(--ease-out), left .25s var(--ease-out); }
.mtg i::before { left: 0; }
.mtg i::after { left: 7px; }
/* paused → play triangle (two halves of one triangle) */
.mtg[aria-pressed="false"] i::before { left: 1px; width: 5px; clip-path: polygon(0 0, 100% 22.5%, 100% 77.5%, 0 100%); border-radius: 0; }
.mtg[aria-pressed="false"] i::after { left: 6px; width: 5px; clip-path: polygon(0 22.5%, 100% 50%, 100% 50%, 0 77.5%); border-radius: 0; }
.mtg__tip { position: absolute; top: 50%; left: calc(100% + 10px); white-space: nowrap; font: 500 11.5px/1 var(--f-mono); letter-spacing: .04em; color: var(--ink-2); opacity: 0; translate: -6px -50%; pointer-events: none; transition: opacity .18s var(--ease-out), translate .18s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .mtg:hover { border-color: var(--accent); color: var(--accent); } .mtg:hover .mtg__tip { opacity: 1; translate: 0 -50%; } }
.mtg:focus-visible .mtg__tip { opacity: 1; translate: 0 -50%; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r); position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: translate .3s var(--ease-out), rotate .3s var(--ease-out); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { translate: 0 4px; rotate: 45deg; }
.burger[aria-expanded="true"] i:last-child { translate: 0 -4px; rotate: -45deg; }
.hdr__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; }
.hdr__progress i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, transparent, var(--accent) 70%, var(--signal)); }
.mnav { position: absolute; top: 100%; left: 0; right: 0; display: grid; padding: 12px var(--gut) 24px; background: var(--bg); border-bottom: 1px solid var(--line); animation: drop .3s var(--ease-out); }
.mnav[hidden] { display: none; }
/* full-screen phone menu: under the header, own scroll, page locked (html.menu-open) */
.mnav { position: fixed; top: var(--hdr); bottom: 0; height: calc(100dvh - var(--hdr)); align-content: start; overflow-y: auto;
  overscroll-behavior: contain; padding-bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 99; }
html.menu-open, html.menu-open body { overflow: hidden; }
.mnav__foot { display: grid; gap: 14px; margin-top: 26px; }
.mnav .mnav__cta { justify-content: center; padding: 0 22px; border-bottom: 0; font: 600 16px/1 var(--f-body); }
.mnav .mnav__mail { display: flex; align-items: center; gap: 10px; padding: 4px 0; border-bottom: 0; font: 500 16px/1.3 var(--f-mono); color: var(--accent-ink); }
.mnav__addr { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 15px; }
.mnav__mail svg, .mnav__addr svg { width: 20px; height: 20px; flex: none; color: var(--signal); }
.mnav__foot .mnav__langs { padding-top: 4px; }
.mnav a { padding: 14px 0; font: 600 24px/1.1 var(--f-display); border-bottom: 1px solid var(--line); }
@keyframes drop { from { opacity: 0; translate: 0 -10px; } }

.dd { position: relative; display: flex; align-items: center; }
.dd__top { padding-right: 4px !important; }
.dd__btn { width: 24px; height: 32px; display: grid; place-items: center; color: var(--ink-3); }
.dd__btn::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .25s var(--ease-out); }
.dd__menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; padding: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); opacity: 0; translate: 0 -6px; pointer-events: none; transform-origin: top left; transition: opacity .18s var(--ease-out), translate .18s var(--ease-out); }
.dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.dd__menu a { position: relative; display: block; padding: 10px 34px 10px 12px; border-radius: 4px; font-size: 14.5px; white-space: nowrap; color: var(--ink-2); }
.dd__menu a::after { content: "→"; position: absolute; right: 12px; top: 50%; translate: -4px -50%; opacity: 0; color: var(--signal); transition: opacity .15s var(--ease-out), translate .2s var(--ease-out); }
.dd.is-open .dd__menu { opacity: 1; translate: 0 0; pointer-events: auto; }
.dd.is-open .dd__btn::before { rotate: 225deg; translate: 0 2px; }
@media (hover: hover) and (pointer: fine) {
  .dd:hover .dd__menu, .dd:focus-within .dd__menu { opacity: 1; translate: 0 0; pointer-events: auto; }
  .dd__menu a:hover { background: var(--surface-2); color: var(--ink); }
  .dd__menu a:hover::after { opacity: 1; translate: 0 -50%; }
}
.mnav a.sub { padding: 10px 0 10px 18px; font: 500 16px/1.2 var(--f-body); color: var(--ink-2); border-bottom-color: transparent; }
.mnav a.sub::before { content: "· "; color: var(--signal); }
.mnav__langs { display: flex; gap: 8px; padding-top: 18px; }
.mnav .mnav__langs a { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: var(--r); font: 500 13px/1 var(--f-mono); letter-spacing: .1em; color: var(--ink-2); }
.mnav .mnav__langs a[aria-current] { color: var(--bg); background: var(--accent); border-color: var(--accent); }

/* ===== hero ===== */
.hero { position: relative; min-height: max(720px, 100svh); padding: calc(var(--hdr) + 40px) 0 90px; display: flex; align-items: center; overflow: clip; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.3px); background-size: 30px 30px; -webkit-mask: radial-gradient(90% 80% at 70% 45%, #000 20%, transparent 75%); mask: radial-gradient(90% 80% at 70% 45%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -18vw; top: -12vw; border-radius: 50%; background: radial-gradient(circle, rgba(55, 181, 254, .16), transparent 62%); pointer-events: none; }
.hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; z-index: -1; pointer-events: none; }
@media (max-width: 1000px) { .hero__ring { display: none; } }   /* no halo on phones / tablets (Dima) */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 32px; align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__title { font-size: clamp(48px, 6.1vw, 100px); line-height: .98; letter-spacing: -.05em; font-weight: 750; }
/* RU / PL words are longer: «Мудрые лидеры» / «Mądrzy liderzy» must stay on one line (Dima) */
html:lang(ru) .hero__title, html:lang(pl) .hero__title, html:lang(uk) .hero__title { font-size: clamp(42px, 4.9vw, 82px); }
.hero__title em { display: inline-block; padding-bottom: .06em; }
.hero__lead { margin-top: 30px; max-width: 590px; color: var(--ink-2); font-size: clamp(17px, 1.45vw, 20px); }
.hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__sub { margin-top: 26px; font: 500 clamp(17px, 1.5vw, 21px)/1.35 var(--f-display); color: var(--accent-ink); letter-spacing: -.01em; }
.hero__sub + .hero__lead { margin-top: 16px; }
.hero__quote { margin-top: 44px; padding-left: 16px; border-left: 2px solid var(--signal); font: 400 14px/1.4 var(--f-mono); color: var(--ink-3); letter-spacing: .02em; }
.hero__viz { position: relative; height: min(640px, 72vh); min-height: 460px; margin-right: calc(-1 * max(0px, (100vw - var(--wrap)) / 2 - var(--gut)) - var(--gut)); }
.nexus { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__viz::before { content: ""; position: absolute; left: 50%; top: 46%; width: min(86%, 600px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, transparent 64%, rgba(247, 213, 45, .05) 70%, transparent 71%), repeating-conic-gradient(from 0deg, var(--signal) 0 .55deg, transparent .55deg 3deg); -webkit-mask: radial-gradient(circle, transparent 66.5%, #000 67%, #000 70.5%, transparent 71%); mask: radial-gradient(circle, transparent 66.5%, #000 67%, #000 70.5%, transparent 71%); opacity: .55; }
.motion .hero__viz::before { animation: spin 90s linear infinite; }
.state { position: absolute; right: min(calc(50% + min(43%, 300px) * .8), calc(100% - 120px)); bottom: 4%;   /* right edge left of the ring: never covers it on smaller screens (Dima) */
   display: grid; grid-template-columns: auto auto; gap: 8px 22px; align-items: center; padding: 16px 18px; min-width: 268px; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--line-2); border-radius: 6px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 12px/1 var(--f-mono); }
.state__k { color: var(--ink-3); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.state__v { justify-self: end; color: var(--signal-ink); letter-spacing: .06em; text-transform: uppercase; transition: color .4s; }
.state.is-ok .state__v { color: var(--accent-ink); }
.state__bar { grid-column: 1 / -1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.state__bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--s, .2)); background: var(--signal); transition: background-color .4s; }
.state.is-ok .state__bar i { background: var(--accent); }
.state__n { grid-column: 1 / -1; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: grid; justify-items: center; gap: 10px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.hero__scroll i { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); transform-origin: top; }
.motion .hero__scroll i { animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ===== facts ===== */
.facts { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.facts__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 40px 28px 38px; border-left: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font: 700 clamp(44px, 4.6vw, 64px)/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: lining-nums tabular-nums; color: var(--signal); }
.fact b small { font-size: .38em; letter-spacing: 0; margin-left: 8px; color: var(--accent-ink); vertical-align: .9em; }
.fact > span { color: var(--ink-2); font-size: 15px; line-height: 1.45; max-width: 230px; }

/* ===== practices ===== */
.pr { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: stretch; }
.pr__card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: translate .5s var(--ease-out), border-color .3s, box-shadow .5s var(--ease-out); }
.pr__img { aspect-ratio: 16 / 8.2; overflow: hidden; position: relative; }
.pr__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--surface)); }
.pr__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-tone); transition: scale 1.2s var(--ease-out); }
.pr__body { position: relative; padding: 4px 36px 38px; }
.pr__n { font: 500 13px/1 var(--f-mono); color: var(--accent-ink); letter-spacing: .1em; }
.pr__body h3 { margin: 14px 0 14px; font-size: clamp(26px, 2.4vw, 34px); }
.pr__body p { color: var(--ink-2); }
.ticks { margin-top: 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 1px; background: var(--accent); }
.ticks li::after { content: ""; position: absolute; left: 12px; top: calc(.55em - 2px); width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.pr__link { display: grid; place-items: center; align-content: center; gap: 10px; color: var(--accent); position: relative; }
.pr__link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); opacity: .5; }
.pr__link svg { width: 96px; height: 96px; position: relative; background: var(--bg); border-radius: 50%; overflow: visible; }
.pr__orbit { fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; transform-origin: 60px 60px; }
.motion .pr__orbit { animation: spin 26s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.pr__link span { position: relative; font: 500 11px/1 var(--f-mono); letter-spacing: .4em; text-transform: uppercase; color: var(--ink-3); background: var(--bg); padding: 4px 6px; }
@media (hover: hover) and (pointer: fine) {
  .pr__card:hover { translate: 0 -6px; border-color: var(--line-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
  .pr__card:hover .pr__img img { scale: 1.05; }
}

/* cursor glow on cards */
[data-glow] { --mx: 50%; --my: 50%; }
[data-glow]::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(320px circle at var(--mx) var(--my), var(--glow), transparent 70%); }
@media (hover: hover) and (pointer: fine) { [data-glow]:hover::before { opacity: 1; } }

/* ===== about: four pillars ===== */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pillar { container-type: inline-size; position: relative; overflow: hidden; padding: 34px 28px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; min-height: 320px; transition: translate .5s var(--ease-out), border-color .3s; }
.pillar::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--signal), var(--accent)); transform-origin: 0 50%; transform: scaleX(.18); transition: transform .7s var(--ease-out); }
.pillar__k { font: 800 clamp(34px, 3.2vw, 48px)/1 var(--f-display); letter-spacing: -.045em; color: var(--signal); padding-bottom: 36px; }
.pillar:nth-child(even) .pillar__k { color: var(--accent-ink); }
/* the big word always fits its card: one size for all four cards of a language (longest word: EN «experience»,
   PL «doświadczenie», RU «цифровизация») */
.pillar__k { white-space: nowrap; font-size: min(clamp(34px, 3.2vw, 48px), 15.5cqi); }
html:lang(pl) .pillar__k { font-size: min(48px, 11.2cqi); }
html:lang(ru) .pillar__k, html:lang(uk) .pillar__k { font-size: min(48px, 11.6cqi); }   /* longest RU keyword «цифровизация» */
.pillar h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -.02em; }
.pillar p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 22px; }
.pillar__tag { align-self: flex-start; margin-top: auto; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 99px; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .pillar:hover { translate: 0 -5px; border-color: var(--line-2); } .pillar:hover::after { transform: scaleX(1); } }
.laotzu { margin: 28px 0 0; padding-left: 18px; border-left: 2px solid var(--signal); }
.laotzu p { font: 500 clamp(18px, 1.6vw, 22px)/1.4 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.laotzu cite { display: block; margin-top: 8px; text-align: right; font: 500 12px/1 var(--f-mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.laotzu + .sec__lead { margin-top: 24px; }

.ideas { margin-top: clamp(32px, 4vw, 52px); padding: 26px 30px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px 40px; align-items: center; border: 1px solid var(--line-2); border-left: 3px solid var(--signal); border-radius: 6px; background: linear-gradient(90deg, rgba(247, 213, 45, .06), transparent 60%); }
.ideas__k { font: 700 clamp(20px, 1.8vw, 26px)/1.2 var(--f-display); letter-spacing: -.02em; }
.ideas__t { color: var(--ink-2); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.values li { padding: 28px 28px 6px; border-left: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.values li:first-child { border-left: 0; padding-left: 0; }
.values b { font: 700 22px/1.2 var(--f-display); letter-spacing: -.02em; }
.values b em { color: var(--signal); }
.values span { color: var(--ink-2); font-size: 15.5px; }
.band__cite { position: relative; margin-top: 28px; text-align: right; font: 500 13px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
/* quote signatures: right-aligned, no dash in front (Dima 2026-11-17) */

/* ===== products: Digitex catalogue ===== */
.prod { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), var(--bg-2) 70%, var(--bg)); }
.pd__intro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.pd__logo { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.pd__intro p { color: var(--ink-2); max-width: 860px; }
.pd__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 22px; }
.pd__tabs button { height: 46px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--line-2); font: 600 15px/1 var(--f-body); color: var(--ink-2); transition: background-color .2s var(--ease-out), color .2s, border-color .2s, scale .14s var(--ease-out); }
.pd__tabs button:active { scale: .97; }
.pd__tabs button[aria-selected="true"] { background: var(--signal); border-color: var(--signal); color: #1a1400; }
@media (hover: hover) and (pointer: fine) { .pd__tabs button:hover { border-color: var(--signal); color: var(--ink); } .pd__tabs button[aria-selected="true"]:hover { color: #1a1400; } }
.pd__line { display: none; }
.pd__line.is-on { display: block; animation: dvIn .4s var(--ease-out); }
.pd__lead { color: var(--ink-2); max-width: 900px; margin-bottom: 20px; }
.pd__cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.pd__cats button { text-align: left; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); display: grid; gap: 8px; align-content: start; transition: border-color .2s, background-color .2s; }
.pd__cats b { font: 700 17px/1.2 var(--f-display); letter-spacing: -.02em; }
.pd__cats span { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.pd__cats button.is-on { border-color: var(--accent); background: linear-gradient(160deg, rgba(55, 181, 254, .14), var(--surface) 70%); }
.pd__cats button.is-on b { color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .pd__cats button:hover { border-color: var(--line-2); } }
.pd__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pcard { position: relative; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; text-align: left; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); overflow: hidden; animation: dvIn .4s var(--ease-out) both; transition: border-color .25s, translate .4s var(--ease-out); }
.pcard__img { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; background: radial-gradient(70% 70% at 50% 45%, #f4f8fc, #d9e3ee); }
.pcard__img { overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; }
.pcard__b { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; }
.pcard__b b { font: 700 17px/1.2 var(--f-display); letter-spacing: -.02em; }
.pcard__b span { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.pcard__b i { font: 500 11.5px/1 var(--f-mono); font-style: normal; color: var(--signal); letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
@media (hover: hover) and (pointer: fine) { .pcard:hover { border-color: var(--accent); translate: 0 -4px; } }
.pd__platan { position: relative; overflow: hidden; margin-top: 28px; padding: 24px 28px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.pd__platan img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.pd__platan h3 { font-size: 21px; margin-bottom: 4px; }
.pd__platan p { color: var(--ink-2); font-size: 15px; }
.pdlg { width: min(980px, 100% - 32px); max-height: min(86vh, 760px); padding: 0; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--ink); overflow: auto; }
.pdlg::backdrop { background: rgba(2, 7, 14, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pdlg[open] { animation: dlgIn .32s var(--ease-out); }
@keyframes dlgIn { from { opacity: 0; scale: .96; } }
.pdlg__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); font-size: 24px; line-height: 1; }
@media (hover: hover) and (pointer: fine) { .pdlg__x:hover { background: var(--signal); color: #1a1400; } }
.pdlg__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.pdlg__img { display: grid; place-items: center; padding: 30px; background: radial-gradient(70% 70% at 50% 45%, #f4f8fc, #d3dfeb); min-height: 320px; }
.pdlg__img img { max-height: 420px; width: auto; max-width: 100%; object-fit: contain; }
.pdlg__body { padding: 34px 32px 30px; }
.pdlg__cat { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.pdlg__body h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 10px 0 16px; }
#pdlg-text p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 12px; }
.pdlg__body .btn { margin-top: 10px; }

/* ===== why choose + partners ===== */
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.why__grid .sec__lead { margin-top: 26px; }
.why__list { list-style: none; display: grid; }
.why__list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.why__list li:last-child { border-bottom: 1px solid var(--line); }
.why__ic { display: block; width: 44px; height: 44px; color: var(--signal); transition: translate .3s var(--ease-out), scale .3s var(--ease-out); }   /* big yellow icon, no circle (Dima) */
.why__ic svg { width: 44px; height: 44px; stroke-width: 1.25; }
@media (hover: hover) and (pointer: fine) { .why__list li:hover .why__ic { scale: 1.08; translate: 0 -2px; } }
.why__list h3 { font-size: 21px; margin-bottom: 6px; letter-spacing: -.02em; }
.why__list p { color: var(--ink-2); font-size: 15.5px; }
.ptn__k { grid-column: 1 / -1; font: 500 12.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }


/* ===== engage (scroll-lit) ===== */
.engage { padding-block: clamp(70px, 9vw, 130px); border-top: 1px solid var(--line); }
.lit { font: 600 clamp(28px, 3.7vw, 54px)/1.22 var(--f-display); letter-spacing: -.03em; max-width: 1180px; }
.lit .w { color: var(--ink); }
.js.motion .lit .w { color: color-mix(in srgb, var(--ink) 18%, transparent); transition: color .35s var(--ease-out); }
.js.motion .lit .w.on { color: var(--ink); }
.js.motion .lit .w.hot { color: var(--accent-ink); }
.lit .hot { color: var(--accent-ink); }
.lit i { font-style: normal; }
/* a two-colour heading = two lines: the highlighted part always starts on its own line (Dima 2026-11-17) */
h1 > em, h2 > em, h3.route__h > em, h3.dv__h > em, .band__q > em, .ftr__claim > em { display: block; }
/* gradient text (background-clip: text) is painted only inside the em box; a block em is one line-height tall, so the
   descenders of j/y/g/p/ę fell outside it and were cut flat (Dima 2026-11-23). Extend the box down, keep the layout. */
h1:not(.hero__title) > em, h2 > em { padding-bottom: .22em; margin-bottom: -.22em; }
h1:not(.hero__title):has(> em), h2:has(> em) { display: flow-root; }   /* keeps the em's negative margin inside → heading height unchanged */

/* ===== competence ===== */
.comp { background: linear-gradient(180deg, var(--bg), var(--bg-2) 60%, var(--bg)); }
.opory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 clamp(40px, 5vw, 64px); border-block: 1px solid var(--line); }
.opory li { padding: 24px 28px; border-left: 1px solid var(--line); display: grid; gap: 6px; }
.opory li:first-child { border-left: 0; padding-left: 0; }
.opory b { font: 700 clamp(20px, 1.8vw, 26px)/1.15 var(--f-display); letter-spacing: -.025em; }
.opory span { font: 500 13px/1.3 var(--f-mono); color: var(--signal); letter-spacing: .06em; }
.opory span::before { content: ": "; color: var(--ink-3); }
.cmp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile__tag { font: 500 11.5px/1.3 var(--f-mono) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink) !important; margin-top: 18px; }
.tile__tag + h3 { margin-top: 10px !important; }
.tile--hero { background: linear-gradient(150deg, #0e2a4a 0%, var(--surface) 60%); border-color: var(--line-2); }
.tile--hero h3 { font-size: clamp(28px, 2.6vw, 38px); }
.tile--hero p b { color: var(--signal); font-weight: 600; }
.tile--it { grid-column: 1 / -1; min-height: 360px; padding: 0; justify-content: flex-end; }
/* IT tile: photo only on hover, like the other competence tiles (Dima 2026-11-19) – no permanent image / overlay */
.tile__it { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end; padding: 38px 38px 36px; }
.tile__it .tile__n { top: 0; right: auto; left: auto; position: static; display: block; margin-bottom: 18px; }
.tile__it .tile__ic { padding-bottom: 0; }
.tile__it h3 { font-size: clamp(26px, 2.4vw, 34px); }
.tile__it p { color: #b5c6d8 !important; max-width: 600px; }
.tile__goal { margin-top: 22px; padding-left: 16px; border-left: 2px solid var(--signal); font: 600 18px/1.4 var(--f-display) !important; color: #eaf2fb !important; letter-spacing: -.01em; }
.tile__goal em { color: var(--signal); }
.tile { position: relative; overflow: hidden; padding: 30px 28px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; min-height: 300px; transition: translate .5s var(--ease-out), border-color .3s; }
.tile--wide { grid-column: span 2; }
.tile__n { position: absolute; top: 30px; right: 30px; font: 500 13px/1 var(--f-mono); color: var(--ink-3); }
.tile__ic { width: 44px; height: 44px; color: var(--accent); margin-bottom: 0; padding-bottom: 0; box-sizing: content-box; }   /* text right under the icon (Dima) */
.tile h3 { font-size: clamp(21px, 1.7vw, 25px); margin: 26px 0 10px; }
.tile p { color: var(--ink-2); font-size: 15.5px; }
.tile--wide p { max-width: 620px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 99px; font: 500 12px/1 var(--f-mono); color: var(--ink-2); }
.tile--photo { padding: 0; justify-content: flex-end; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--photo-tone); transition: scale 1.2s var(--ease-out); }
.tile--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(3, 10, 20, .88)); }
.tile__cap { position: relative; z-index: 1; padding: 28px 30px; color: #eaf2fb !important; font: 600 19px/1.35 var(--f-display) !important; letter-spacing: -.01em; }
/* line icons draw themselves: dasharray/offset are inherited through <use> (symbol shapes have pathLength="1") */
@media (hover: hover) and (pointer: fine) {
  .tile:hover { translate: 0 -5px; border-color: var(--line-2); }
  .tile--photo:hover img { scale: 1.05; }
}

.more { position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font: 500 13px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }
.more svg { width: 16px; height: 16px; rotate: 90deg; transition: translate .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .more:hover svg { translate: 0 3px; } }

/* competence tiles: photo grows from the cursor, sparks scatter (desktop pointer only) */
@property --rv { syntax: "<length>"; inherits: false; initial-value: 0px; }
.tile__hv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; pointer-events: none;
  filter: saturate(.95) brightness(.42);
  -webkit-mask: radial-gradient(circle at var(--mx) var(--my), #000 calc(var(--rv) - 70px), transparent var(--rv));
  mask: radial-gradient(circle at var(--mx) var(--my), #000 calc(var(--rv) - 70px), transparent var(--rv));
  transition: --rv .5s var(--ease-out), opacity .4s var(--ease-out); }
.cmp .tile > :is(svg, p, h3, ul, a) { position: relative; z-index: 1; }
.cmp .tile .tile__n { z-index: 1; }
.spark { position: absolute; z-index: 2; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--signal); pointer-events: none; box-shadow: 0 0 6px rgba(247, 213, 45, .8); }
@media (hover: hover) and (pointer: fine) {
  .cmp .tile:hover .tile__hv { --rv: 1100px; opacity: 1; transition: --rv 1.1s var(--ease-out), opacity .3s var(--ease-out); }
  .cmp .tile:hover p:not(.tile__tag) { color: #c9d6e4; }
}

/* ===== deep dives: full Business / IT consulting pages ===== */
.deep { padding: 0 0 clamp(70px, 9vw, 120px); }
.dv { border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); margin-top: 14px; scroll-margin-top: calc(var(--hdr) + 16px); }
.dv summary { list-style: none; display: flex; align-items: center; gap: 22px; padding: 24px 28px; cursor: pointer; }
.dv summary::-webkit-details-marker { display: none; }
.dv__n { font: 500 13px/1 var(--f-mono); color: var(--signal); }
.dv__t { font: 700 clamp(20px, 2vw, 28px)/1.15 var(--f-display); letter-spacing: -.025em; }
.dv__t small { display: block; margin-top: 6px; font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.dv__x { margin-left: auto; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: background-color .2s, border-color .2s; }
.dv__x::before, .dv__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; background: var(--ink); translate: -50% -50%; transition: rotate .3s var(--ease-out); }
.dv__x::after { rotate: 90deg; }
.dv[open] .dv__x { background: var(--signal); border-color: var(--signal); }
.dv[open] .dv__x::before, .dv[open] .dv__x::after { background: #1a1400; }
.dv[open] .dv__x::after { rotate: 0deg; }
@media (hover: hover) and (pointer: fine) { .dv summary:hover .dv__x { border-color: var(--signal); } }
.dv__body { padding: 8px 28px 36px; border-top: 1px solid var(--line); }
.dv[open] .dv__body { animation: dvIn .45s var(--ease-out); }
@keyframes dvIn { from { opacity: 0; translate: 0 -8px; } }
.dv__body p { color: var(--ink-2); }
.dv__h { font-size: clamp(22px, 2.1vw, 30px); margin: 40px 0 16px; }
.dv__h em { color: var(--accent-ink); }
.dv__three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.dv__three > div { padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); }
.dv__k { font: 500 12px/1.3 var(--f-mono) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--signal) !important; margin-bottom: 12px; }
.dv__three ul, .dv__areas ul, .dv__list { display: grid; gap: 8px; }
.dv__three li, .dv__areas li, .dv__list li { position: relative; padding-left: 20px; font-size: 15.5px; color: var(--ink); }
.dv__three li::before, .dv__areas li::before, .dv__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--accent); }
.dv__q, .dv__quotes blockquote { margin: 34px 0 0; padding-left: 18px; border-left: 2px solid var(--signal); }
.dv__q p, .dv__quotes p { font: 600 clamp(18px, 1.6vw, 22px)/1.4 var(--f-display); color: var(--ink) !important; letter-spacing: -.01em; }
.dv__q cite, .dv__quotes cite { display: block; margin-top: 8px; text-align: right; font: 500 12px/1 var(--f-mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.dv__lead { font-style: italic; margin-bottom: 18px; }
.dv__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dv__steps li { padding: 22px; border-top: 2px solid var(--accent); background: var(--bg-2); border-radius: 0 0 6px 6px; display: grid; gap: 8px; align-content: start; }
.dv__steps span { font: 500 12px/1 var(--f-mono); color: var(--signal); letter-spacing: .12em; text-transform: uppercase; }
.dv__steps b { font: 700 19px/1.2 var(--f-display); letter-spacing: -.02em; }
.dv__claim { margin-top: 30px; font: 700 clamp(20px, 2vw, 28px)/1.2 var(--f-display) !important; color: var(--signal) !important; letter-spacing: -.025em; }
.dv__quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dv__quotes blockquote { margin-top: 0; }
.dv__quotes p { font-size: 16.5px; }
.dv__intro { margin-top: 24px; font-size: clamp(17px, 1.4vw, 19.5px); max-width: 980px; }
.dv__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 48px; }
.dv__two p { margin: 12px 0; }
.dv__areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dv__areas article { padding: 24px 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; display: grid; gap: 12px; align-content: start; }
.dv__areas b { font: 700 19px/1.2 var(--f-display); letter-spacing: -.02em; }
.dv__note { font-size: 14.5px; color: var(--accent-ink) !important; }
.dv__list--big li { font: 600 19px/1.35 var(--f-display); }

/* ===== route (how we work) ===== */
.rt { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(26px, 3.5vw, 46px); }
.rt__line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; z-index: 2; }
.rt--3 .rt__line { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rt__line button { display: grid; justify-items: start; gap: 8px; text-align: left; font: 700 clamp(18px, 1.7vw, 24px)/1.1 var(--f-display); letter-spacing: -.02em; color: var(--ink-3); padding-top: 34px; position: relative; transition: color .3s var(--ease-out); }
.rt__line button span { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; color: var(--ink-3); }
.rt__line button i { position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line-2); translate: 0 -50%; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.rt__line button[aria-selected="true"], .rt__line button.done { color: var(--ink); }
.rt__line button.done i { border-color: var(--accent); background: var(--accent); }
.rt__line button[aria-selected="true"] i { border-color: var(--signal); background: var(--signal); box-shadow: 0 0 0 6px rgba(247, 213, 45, .16), 0 0 18px rgba(247, 213, 45, .6); }
.rt__line button[aria-selected="true"] span { color: var(--signal-ink); }
.rt__track { position: absolute; z-index: 1; left: clamp(26px, 3.5vw, 46px); right: clamp(26px, 3.5vw, 46px); top: clamp(26px, 3.5vw, 46px); height: 1.5px; translate: 0 -.75px; background: var(--line-2); margin-left: 9px; }
.rt__fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent)); }
.rt__pulse { position: absolute; top: 50%; left: 0; width: 70px; height: 3px; translate: -100% -50%; background: linear-gradient(90deg, transparent, var(--signal)); border-radius: 2px; opacity: 0; filter: drop-shadow(0 0 6px var(--signal)); }
.rt__panels { display: grid; margin-top: 46px; padding-top: 36px; border-top: 1px solid var(--line); }
.rt__panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px 56px; align-content: start; visibility: hidden; opacity: 0; transition: opacity .45s var(--ease-out), visibility 0s .45s; }
.rt__panel.is-on { visibility: visible; opacity: 1; transition: opacity .55s var(--ease-out) .1s, visibility 0s; }
.rt__panel h3 { font-size: clamp(26px, 2.6vw, 38px); grid-column: 1; }
.rt__panel p { grid-column: 1; color: var(--ink-2); font-size: 17.5px; max-width: 640px; }
.rt__meta { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 0; align-content: start; }
.rt__meta li { padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 14px/1.3 var(--f-mono); color: var(--ink-2); display: flex; gap: 12px; }
.rt__meta li::before { content: "→"; color: var(--accent-ink); }

/* ===== quote band ===== */
.band { position: relative; padding: clamp(90px, 12vw, 170px) 0; overflow: clip; background: radial-gradient(60% 120% at 15% 0%, rgba(55, 181, 254, .18), transparent 60%), linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; -webkit-mask: radial-gradient(70% 90% at 50% 50%, #000, transparent); mask: radial-gradient(70% 90% at 50% 50%, #000, transparent); opacity: .5; }
.band__q { position: relative; font: 700 clamp(30px, 4.4vw, 64px)/1.1 var(--f-display); letter-spacing: -.045em; max-width: 1200px; }
.band__q em { color: var(--signal-ink); }
.band__q em { color: var(--signal); }

/* ===== partners ===== */
.ptn { margin-top: clamp(56px, 7vw, 96px); }
.ptn__track { --show: 3; display: grid; grid-template-columns: repeat(var(--show), minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.ptn__track > .ptn__card:nth-child(n + 4) { display: none; }
/* belt (JS adds .is-belt): cards drift left without stopping; at the left edge a card sinks into shadow, at the right
   edge the next rises from shadow (mask); all cards one height (flex stretch) – Dima 2026-11-17 */
.ptn__track.is-belt { display: block; overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.ptn__belt { display: flex; align-items: stretch; gap: 18px; width: max-content; animation: ptnBelt var(--dur, 40s) linear infinite; }
.ptn__belt > .ptn__card { flex: 0 0 var(--cw, 400px); display: flex !important; }
.ptn__track.is-belt:hover .ptn__belt, .ptn__track.is-belt:focus-within .ptn__belt { animation-play-state: paused; }
@keyframes ptnBelt { to { transform: translateX(var(--shift, -50%)); } }

.ptn__card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: 40px 38px 38px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; transition: translate .5s var(--ease-out), border-color .3s; }
.ptn__logo { height: 44px; width: auto; margin: 24px 0 50px; filter: brightness(0) invert(1); opacity: .92; }
.ptn__card h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 12px; }
.ptn__card p { color: var(--ink-2); max-width: 520px; }
@media (hover: hover) and (pointer: fine) { .ptn__card:hover { translate: 0 -5px; border-color: var(--line-2); } }

/* ===== reach ===== */
.reach { border-top: 1px solid var(--line); overflow: clip; }
.reach__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.reach__copy h2 + .sec__lead { margin-top: 26px; }
.offices { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.office { position: relative; overflow: hidden; aspect-ratio: 4 / 3.4; border-radius: 6px; border: 1px solid var(--line); display: flex; align-items: flex-end; transition: translate .5s var(--ease-out); }
.office img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
.office::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(3, 10, 20, .9)); }
.office__t { position: relative; z-index: 2; padding: 18px 20px; display: grid; gap: 6px; color: #a3b7cc; font: 500 12px/1.35 var(--f-mono); }
.office__t b { font: 700 22px/1 var(--f-display); color: #fff; letter-spacing: -.02em; }
@media (hover: hover) and (pointer: fine) { .office:hover { translate: 0 -5px; } .office:hover img { scale: 1.06; } }
.reach__map { position: relative; aspect-ratio: 1.3; margin-right: calc(-1 * max(0px, (100vw - var(--wrap)) / 2 - var(--gut)) - var(--gut)); }
.reach__map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ===== team ===== */
.team { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.tm { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tm__card { margin: 0; }
.tm__ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--surface); }
.tm__ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(.95); transition: filter .6s var(--ease-out), scale 1.2s var(--ease-out); }
.tm__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(55, 181, 254, .28), rgba(5, 18, 38, .55)); mix-blend-mode: multiply; transition: opacity .6s var(--ease-out); }
.tm__card figcaption { padding: 18px 2px 0; display: grid; gap: 6px; }
.tm__card b { font: 700 21px/1.1 var(--f-display); letter-spacing: -.02em; }
.tm__card span { font: 500 12.5px/1.3 var(--f-mono); color: var(--accent-ink); letter-spacing: .06em; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) { .tm__card:hover img { filter: none; scale: 1.04; } .tm__card:hover .tm__ph::after { opacity: 0; } }

/* ===== contact ===== */
.cta { position: relative; overflow: clip; padding: clamp(90px, 11vw, 150px) 0; background: radial-gradient(70% 120% at 90% 0%, rgba(247, 213, 45, .16), transparent 55%), linear-gradient(135deg, #0b3a66 0%, #0a2a4c 45%, #07182d 100%); border-top: 1px solid var(--line); }
.cta h2 em { background: none !important; color: var(--signal) !important; -webkit-text-fill-color: currentColor; }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.cta .sec__lead { margin-top: 24px; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 34px; }
.topics button { height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--ink-2); transition: background-color .2s var(--ease-out), color .2s, border-color .2s, scale .14s var(--ease-out); }
.topics button:active { scale: .97; }
.topics button[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: #1a1400; }
@media (hover: hover) and (pointer: fine) { .topics button:hover { border-color: var(--accent); color: var(--ink); } .topics button[aria-pressed="true"]:hover { color: var(--on-accent); } }
.cta__card { margin: 0; padding: 10px 32px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; }
.cta__card > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.cta__card > div:last-child { border-bottom: 0; }
.cta__card dt { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.cta__card dt svg { width: 18px; height: 18px; color: var(--accent); }
.cta__card dd { margin: 0; font-size: 16.5px; line-height: 1.55; }
.cta__card a { color: var(--accent-ink); }

/* ===== footer: one row — live logo · claim · menus · socials; legal line centred under it ===== */
.ftr { padding: 64px 0 28px; border-top: 1px solid var(--line); background: radial-gradient(50% 120% at 8% 40%, rgba(55, 181, 254, .08), transparent 60%), var(--bg); }
.ftr__main { display: grid; grid-template-columns: auto minmax(0, 1.25fr) repeat(3, minmax(0, .72fr)); gap: 34px; align-items: start; padding-bottom: 40px; }
.ftr__claimbox, .ftr__col { padding-top: 46px; }
.flogo { position: relative; display: block; width: clamp(190px, 17vw, 236px); aspect-ratio: 1; }
.flogo img, .flogo canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.flogo canvas { opacity: 0; }
.flogo.is-live img { opacity: 0; }
.flogo.is-live canvas { opacity: 1; }
.ftr__claim { font: 700 clamp(22px, 2vw, 30px)/1.12 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.ftr__claim em { color: var(--signal); }
.ftr__sub { margin-top: 10px; color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.ftr__mail { display: inline-block; margin-top: 14px; font: 500 14px/1 var(--f-mono); color: var(--accent-ink); }
.ftr__col .ftr__h { font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--signal); margin-bottom: 12px; }
.ftr__col a, .ftr__col p { display: block; color: var(--ink-2); font-size: 13.5px; line-height: 1.35; margin: 0 0 6px; }
@media (hover: hover) and (pointer: fine) { .ftr__col a:hover, .ftr__mail:hover { color: var(--signal); } }
.soc { display: grid; grid-template-columns: repeat(2, 40px); gap: 8px; }
.soc a { width: 40px; height: 40px; margin: 0; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); transition: background-color .2s var(--ease-out), color .2s, border-color .2s, scale .14s var(--ease-out); }
.soc a:active { scale: .94; }
.soc svg { width: 18px; height: 18px; }
.soc--office { margin-top: 16px; }
@media (hover: hover) and (pointer: fine) { .soc a:hover { background: var(--signal); border-color: var(--signal); color: #1a1400; } }
.ftr__legal { padding: 18px 0; border-top: 1px solid var(--line); text-align: center; font-size: 12px; line-height: 1.7; color: var(--ink-3); }
.ftr__legal i { font-style: normal; color: var(--signal); margin: 0 6px; }
.ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 76px 0 0; border-top: 1px solid var(--line); font: 500 12px/1 var(--f-mono); color: var(--ink-3); }
.ftr__copy { display: inline-flex; align-items: center; gap: 12px; }

.credit { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.credit img { height: 16px; width: auto; }
.ftr__ver { color: var(--ink-3); }

/* ===== back to top: the logo mark fills node by node with the scroll ===== */
.totop { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: 22px; z-index: 90; width: 58px; height: 58px; padding: 9px; border-radius: 50%; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; translate: 0 16px; pointer-events: none; transition: opacity .3s var(--ease-out), translate .4s var(--ease-out), scale .14s var(--ease-out); }
.totop.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.totop:active { scale: .94; }
.totop svg { width: 100%; height: 100%; overflow: visible; }
.totop__lines line { stroke: var(--line-2); transition: stroke .3s; }
.totop__nodes circle { fill: var(--surface-2); stroke: var(--line-2); stroke-width: 2; transition: fill .3s, stroke .3s; }
.totop__lines line.on { stroke: var(--accent); }
.totop__nodes circle.on { fill: var(--accent); stroke: var(--accent); }
.totop__core { fill: var(--signal); }
@media (hover: hover) and (pointer: fine) { .totop:hover .totop__core { fill: var(--accent); } .totop:hover { translate: 0 -3px; } }


/* ===== motion start states (only under .js.motion) ===== */
.js.motion [data-rise] { opacity: 0; transform: translateY(36px); }
.js.motion [data-split] { visibility: hidden; }
.js.motion .hero__viz { opacity: 0; }
.js.motion.reveal-all [data-rise], .js.motion.reveal-all [data-split], .js.motion.reveal-all .hero__viz { opacity: 1 !important; transform: none !important; visibility: visible !important; }
.reveal-all .pre { display: none !important; }
.reveal-all .lit .w { color: var(--ink) !important; }
.split-line { overflow: clip; padding-bottom: .22em; margin-bottom: -.22em; }

/* ===== responsive ===== */
@media (max-width: 1360px) { html:lang(de) .nav a { padding: 10px 10px; } }   /* German menu words are longer */
@media (max-width: 1180px) {
  .clocks { display: none; }
  .nav a { padding: 10px 10px; }
}
@media (max-width: 1000px) {
  :root { --hdr: 66px; }
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
  .hdr__tools { margin-left: auto; }
  .hero { padding-top: calc(var(--hdr) + 30px); min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__viz { margin-right: 0; height: 440px; min-height: 0; margin-inline: calc(-1 * var(--gut)); }
  .state { left: var(--gut); right: auto; }
  .hero__scroll { display: none; }
  .sec__head--split { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sec__head--split .sec__lead { margin-top: 24px; }
  .pr { grid-template-columns: minmax(0, 1fr); }
  .pr__link { height: 110px; }
  .pr__link::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px); }
  .cmp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile__it { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .opory, .values { grid-template-columns: minmax(0, 1fr); }
  .opory li, .values li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .opory li:first-child, .values li:first-child { border-top: 0; }
  .tile--wide { grid-column: span 2; }
  .ptn__track { --show: 1; }
  .ptn__track > .ptn__card:nth-child(n + 2) { display: none; }
  .pd__cats, .pd__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dv__three, .dv__steps, .dv__quotes, .dv__areas { grid-template-columns: minmax(0, 1fr); }
  .dv__two, .ideas { grid-template-columns: minmax(0, 1fr); }
  .pdlg__in { grid-template-columns: minmax(0, 1fr); }
  .pdlg__img { min-height: 220px; }
  .pd__platan { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pd__intro { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ftr__main { grid-template-columns: auto minmax(0, 1fr); row-gap: 28px; }
  .ftr__claimbox { grid-column: 2; }
  .ftr__col { grid-column: auto; }
  .ftr__claimbox, .ftr__col { padding-top: 0; }
  .ftr__claimbox { align-self: center; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .tm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reach__grid { grid-template-columns: minmax(0, 1fr); }
  .reach__map { margin-right: 0; margin-inline: calc(-1 * var(--gut)); aspect-ratio: 1.5; }
  .tm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__in { grid-template-columns: minmax(0, 1fr); }
  .facts__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rt__panel { grid-template-columns: minmax(0, 1fr); }
  .rt__meta { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .langs, .mtg { display: none; }
  .hero__title { font-size: clamp(36px, 10.6vw, 60px); }
  .hero__viz { height: 380px; }
  .state { display: none; }   /* phones: just the scene, no state chip (Dima) */
  .btn { height: 52px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .fact { padding: 28px 16px 26px; }
  .fact:nth-child(2n) { padding-right: 0; }
  .fact b { font-size: 40px; }
  .pr__body { padding: 0 22px 28px; }
  .cmp { grid-template-columns: minmax(0, 1fr); }
  .pd__cats { grid-template-columns: minmax(0, 1fr); }
  .pd__grid { gap: 10px; }
  .pcard__b span { display: none; }
  .dv summary { padding: 18px; gap: 14px; }
  .dv__body { padding: 6px 18px 26px; }
  .pdlg__body { padding: 24px 20px; }
  .ftr__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .flogo, .ftr__claimbox { grid-column: 1 / -1; }
  .flogo { width: 200px; }
  .soc { grid-template-columns: repeat(4, 40px); }
  .ftr__soc { grid-column: 1 / -1; }
  .ftr { padding-bottom: 96px; }
  .ftr__bottom { padding-right: 0; }
  .tile__it { padding: 28px 24px; }
  .rt--3 .rt__line button { font-size: 13px; }
  .tile--wide { grid-column: auto; }
  .tile { min-height: 0; padding: 28px 24px; }
  .tile--photo { min-height: 260px; }
  .rt__line { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rt__line button { font-size: 14px; }
  .rt__line button span { font-size: 10.5px; }
  .offices { grid-template-columns: minmax(0, 1fr); }
  .office { aspect-ratio: 16 / 10; }
  .tm { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar { min-height: 0; }
  .pillar__k { padding-bottom: 22px; }
  .tm__card b { font-size: 17px; }
  .tm__card span { font-size: 11px; }
  .cta__card { padding: 4px 22px; }
  .btn--lg { width: 100%; font-size: 15.5px; padding: 0 18px; }
}

/* ===== inner pages (business-consulting, it-consulting, products) ===== */
.phero { position: relative; overflow: clip; padding: calc(var(--hdr) + 64px) 0 64px; border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 85% 0%, rgba(55, 181, 254, .16), transparent 60%), radial-gradient(40% 80% at 0% 100%, rgba(247, 213, 45, .07), transparent 60%), var(--bg); }
.phero h1 { font-size: clamp(42px, 6vw, 92px); line-height: 1.02; letter-spacing: -.045em; max-width: 1100px; }
.phero h1 em { background: none !important; -webkit-text-fill-color: currentColor; color: var(--signal) !important; }
.phero__lead { margin-top: 26px; max-width: 820px; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 20px); }
.phero .chips { margin-top: 26px; }
.phero--img .phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: saturate(.9) brightness(.42); }
.phero--img::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(5, 13, 24, .95) 10%, rgba(5, 13, 24, .55) 70%, rgba(5, 13, 24, .3)); }
.phero--img .wrap { position: relative; z-index: 1; }
.crumbs { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; color: var(--ink-3); margin-bottom: 26px; }
.crumbs a { color: var(--ink-2); }
.crumbs i { font-style: normal; color: var(--signal); margin: 0 6px; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--signal); } }
.page-body { padding-top: 20px; }
.dv__body--page { border-top: 0; padding: 0; }
.prod--page { border-top: 0; padding-top: 60px; }
.nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.dd__top[aria-current]::after { margin-left: -5px; }
/* «Details» on competence cards → own pages */
.det { position: absolute; right: 22px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--signal); border-radius: 99px; font: 600 13.5px/1 var(--f-body); color: var(--signal); background: rgba(5, 13, 24, .5); transition: background-color .2s var(--ease-out), color .2s, scale .14s var(--ease-out); }
.det svg { width: 15px; height: 15px; transition: translate .25s var(--ease-out); }
.det:active { scale: .97; }
.det--inline { position: static; margin-top: 18px; }
.ptn__card .det--inline { margin-top: auto; }
.ptn__logo.ptn__logo--sq { height: 92px; margin: 0 0 26px; }   /* one 118 px logo zone in every card → headings on one line */
.ptn__card p { margin-bottom: 22px; }
@media (hover: hover) and (pointer: fine) { .det:hover { background: var(--signal); color: #1a1400; } .det:hover svg { translate: 3px 0; } }
.tile--hero, .tile--it .tile__it { padding-bottom: 76px; }
.cmp .tile > a.det { position: absolute; }

/* ===== legal page (policies.html) ===== */
.legal-page .hdr { position: sticky; }
.legal__back { margin-left: auto; }
.legal { max-width: 860px; padding: 70px 0 90px; }
.legal h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 30px; }
.legal h2 { font-size: clamp(22px, 2.2vw, 30px); margin: 40px 0 12px; }
.legal h3 { font-size: 20px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 12px; overflow-wrap: anywhere; }
.legal ul { list-style: none; display: grid; gap: 4px; margin: 0 0 14px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }

/* ===== v0.7: original architecture ===== */
.sec__head--center { max-width: 900px; margin-inline: auto; text-align: center; }
.sec__head--center .eyebrow { justify-content: center; }
.laotzu--center { display: inline-block; text-align: left; margin-top: 26px; }
.cmp--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cmp--3 .tile { min-height: 0; }
.cmp--3 .tile:has(.det) { padding-bottom: 76px; }   /* room for the Details pill */
.bcm { margin-top: clamp(32px, 4vw, 52px); padding: 28px 30px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px 40px; align-items: center; border: 1px solid var(--line-2); border-left: 3px solid var(--accent); border-radius: 6px; background: linear-gradient(90deg, rgba(55, 181, 254, .08), transparent 60%); }
.bcm__k { font: 700 clamp(20px, 1.8vw, 26px)/1.2 var(--f-display); letter-spacing: -.02em; }
.bcm__t { color: var(--ink-2); }
.values--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sec__head--sub { margin: clamp(48px, 6vw, 72px) 0 28px; }
.route__h { font-size: clamp(28px, 3vw, 42px); margin-bottom: 18px; }
.route__h em { color: var(--accent-ink); }
.band__k { position: relative; font: 500 12.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--signal); margin-bottom: 22px; }
@media (max-width: 1000px) { .cmp--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .values--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bcm { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .cmp--3, .values--4 { grid-template-columns: minmax(0, 1fr); } }

/* Cookie consent (theme inc/consent.php + assets/js/consent.js) */
.ftr__ck { color: var(--ink-2); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; transition: color .2s; }
@media (hover: hover) and (pointer: fine) { .ftr__ck:hover { color: var(--accent-ink); } }
.ck { position: fixed; z-index: 120; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); width: min(430px, calc(100vw - 32px)); padding: 22px 22px 20px; border-radius: 6px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 94%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 28px 70px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(3, 9, 18, .4); opacity: 0; translate: 0 18px; transition: opacity .35s var(--ease-out), translate .45s var(--ease-out); }
.ck.is-on { opacity: 1; translate: 0 0; }
.ck::before { content: ""; position: absolute; left: 22px; top: -1px; width: 46px; height: 2px; background: var(--signal); }
.ck__t { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.ck__t i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px rgba(247, 213, 45, .7); }
.ck__x { margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ck__x a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.ck__b { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ck__b .btn { width: 100%; }
@media (max-width: 560px) { .ck { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; padding: 16px 16px 14px; } .ck::before { left: 16px; } .ck__x { font-size: 13.5px; line-height: 1.5; margin-bottom: 14px; } .ck__b .btn { height: 44px; } }

/* Kazakh display tuning (Dima 2026-11-23: «жирное, заголовки больше»). Golos stands in for Manrope on kk pages (Manrope has no
   Ә Ғ Қ Ң); at the same weight Golos is heavier and its Cyrillic lowercase is ~18 % taller → one weight step lighter + 6 % smaller
   x-height. Latin-only bits (logo) and numbers stay in Manrope. */
:lang(kk) .logo__word, :lang(kk) .fact b { font-family: "Manrope V", "Segoe UI", system-ui, sans-serif; }
:lang(kk) :is(h1, h2, h3, h4, .hero__sub, .laotzu p, .pillar__k, .ideas__k, .values b, .pd__cats b, .pcard__b b, .lit, .opory b,
  .tile__goal, .tile__cap, .dv__t, .dv__q p, .dv__quotes p, .dv__steps b, .dv__claim, .dv__areas b, .dv__list--big li, .rt__line button,
  .band__q, .office__t b, .tm__card b, .ftr__claim, .bcm__k, .mnav a) { font-size-adjust: ex-height .475;   /* Dima 11-23: one more step smaller */ }
:lang(kk) :is(h1, h2, h3, h4) { font-weight: 600; }
:lang(kk) .hero__title { font-weight: 620; }
:lang(kk) .pillar__k { font-weight: 660; }
:lang(kk) :is(.ideas__k, .values b, .pd__cats b, .pcard__b b, .opory b, .dv__t, .dv__steps b, .dv__areas b, .rt__line button, .band__q,
  .office__t b, .tm__card b, .ftr__claim, .bcm__k) { font-weight: 600; }
:lang(kk) .dv__claim { font-weight: 600 !important; }
:lang(kk) :is(.lit, .dv__q p, .dv__quotes p, .dv__list--big li, .mnav a) { font-weight: 520; }
:lang(kk) :is(.tile__goal, .tile__cap) { font-weight: 520 !important; }
:lang(kk) :is(.hero__sub, .laotzu p) { font-weight: 460; }

