@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/onest-latin-ext-L1-DEO5.woff2") format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/onest-latin-qiHpSDX.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: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-ext-9ZLLWTT.woff2") format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-UKAvhI1.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; }

:root {
    --bg: #FFFFFF;
    --surface: #FFFFFF;
    --text: #1D1D20;
    --text-2: #45454B;
    --text-3: #65656C;
    --text-4: #8A8A91;
    --ink: 52, 52, 60;
    --ac: #5B5BF6;
    --sketch-fill: #E6E6E8;
    --pearl: linear-gradient(120deg, #DCDCE0, #FFFFFF 50%, #E4E4E7);
    --line: rgba(var(--ink), .14);
}

body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Onest', ui-sans-serif, system-ui, sans-serif; }
a { color: var(--text); }
a:hover { color: var(--ac); }
html { scroll-padding-top: 110px; }
.page { position: relative; overflow-x: clip; padding-top: 88px; }
.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
.lead { margin: 0; max-width: 560px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }

.caret { display: inline-block; width: .09em; height: .78em; margin-left: .06em; vertical-align: -.04em; background: var(--ac); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* header */
.site-header { position: fixed; top: 16px; left: clamp(20px, 4vw, 40px); right: clamp(20px, 4vw, 40px); z-index: 10; max-width: 1280px; margin: 0 auto; padding: 14px 32px; box-sizing: border-box; background: #FFFFFF; border: 3px solid var(--ac); border-radius: 999px; display: flex; align-items: center; gap: 48px; }
.logo { display: flex; align-items: center; text-decoration: none; color: var(--text); font-weight: 600; font-size: 21px; letter-spacing: -.04em; }
.nav-links { display: flex; gap: 4px; }
.navlink { padding: 8px 16px; border-radius: 999px; white-space: nowrap; color: var(--text-2); text-decoration: none; font-size: 15px; transition: color .2s, background-color .2s, box-shadow .3s, transform .3s; }
.navlink:hover { color: #FFFFFF; background-color: var(--ac); transform: translateY(-2px); box-shadow: 0 0 0 4px color-mix(in oklab, var(--ac) 22%, transparent), 0 10px 30px -12px var(--ac); }
.nav-links { align-items: center; }
.lang-pick { position: relative; order: 1; margin-left: auto; }
.lang-pick summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; cursor: pointer; color: var(--text-2); font-size: 13px; transition: color .2s, background-color .2s; }
.lang-pick summary::-webkit-details-marker { display: none; }
.lang-pick summary:hover, .lang-pick[open] summary { color: var(--ac); background-color: color-mix(in oklab, var(--ac) 12%, transparent); }
.lang-pick summary:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.lang-pick .chev { transition: transform .2s; }
.lang-pick[open] .chev { transform: rotate(180deg); }
.flag { flex: none; width: 20px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(var(--ink), .14); }
.lang-list { position: absolute; top: calc(100% + 14px); right: 0; min-width: 190px; margin: 0; padding: 6px; list-style: none; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(var(--ink), .14); animation: lang-in .18s ease-out; }
.lang-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text-2); font-size: 15px; text-decoration: none; transition: color .2s, background-color .2s; }
.lang-list a:hover { color: var(--ac); background-color: color-mix(in oklab, var(--ac) 8%, transparent); }
.lang-list a[aria-current] { color: var(--ac); font-weight: 500; }
@keyframes lang-in { from { opacity: 0; transform: translateY(-6px); } }
.menu-btn { display: none; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 8px 0 26px; border-radius: 999px; background: var(--ac); color: #FFFFFF; text-decoration: none; font-weight: 600; font-size: 16px; transition: box-shadow .3s, transform .3s cubic-bezier(.2, .7, .1, 1); }
.btn:hover { color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 0 0 6px color-mix(in oklab, var(--ac) 22%, transparent), 0 14px 44px -12px var(--ac); }
.btn .ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--ac); transition: transform .3s cubic-bezier(.2, .7, .1, 1); }
.btn:hover .ico { transform: rotate(-45deg); }
.cta { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; border-bottom: 1px solid rgba(var(--ink), .2); padding-bottom: 4px; transition: border-color .2s; }
.cta:hover { border-color: var(--ac); }


/* hero */
.hero { position: relative; min-height: 780px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-inner { position: relative; z-index: 2; max-width: 1360px; width: 100%; margin: 0 auto; padding: 120px clamp(20px, 4vw, 40px) 168px; box-sizing: border-box; display: flex; flex-direction: column; gap: 40px; }
.hero h1 { margin: 0; font-size: clamp(36px, 5vw, 76px); line-height: 1; letter-spacing: -.045em; font-weight: 600; max-width: 18ch; text-wrap: balance; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; align-items: start; }
.hero-figure .draw { animation-name: draw, fadein; animation-duration: 1.1s, .5s; animation-fill-mode: both; }
.hero-figure svg { display: block; width: 100%; height: auto; }
.hero-row { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.rise { animation: rise .9s cubic-bezier(.2, .7, .1, 1) both; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* sections */
.section { position: relative; z-index: 2; max-width: 1360px; margin: 0 auto; padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 40px); box-sizing: border-box; }
.section-head { margin-bottom: 56px; }
.section-head h2 { margin: 0; font-size: clamp(34px, 4.2vw, 60px); line-height: 1; letter-spacing: -.045em; font-weight: 600; max-width: 15ch; text-wrap: balance; }
#proces .section-head { margin-bottom: 72px; }
#proces .section-head h2 { max-width: 16ch; }

.tinted { --tint: #F0F0F1; isolation: isolate; }
.tinted::before { content: ""; position: absolute; z-index: -1; top: -7.8vw; bottom: -7.8vw; left: calc(50% - 50vw); width: 100vw; background: url("../images/rhombs-top-fSU_Nyd.svg") top / 100% auto no-repeat, url("../images/rhombs-bottom-T5ujph_.svg") bottom / 100% auto no-repeat, linear-gradient(var(--tint), var(--tint)) center / 100% calc(100% - 31.25vw + 2px) no-repeat; }

/* services */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; align-items: start; }
.rows { display: flex; flex-direction: column; gap: 12px; }
.row { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; align-items: center; gap: 16px; padding: 24px; border-radius: 16px; background: #FFFFFF; cursor: pointer; color: var(--text-4); transition: color .25s; }
.row:focus-visible { outline: 2px solid var(--ac); outline-offset: 4px; }
.row.on { color: var(--text); }
.row:hover { color: var(--ac); }
.row .t { font-size: clamp(26px, 3vw, 42px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; transition: transform .35s cubic-bezier(.2, .7, .1, 1); }
.row.on .t { transform: translateX(10px); }
.row .ico { display: flex; align-items: center; color: var(--text-4); transition: color .25s; }
.row:hover .ico, .row.on .ico { color: var(--ac); }
.row.on .ico svg * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s cubic-bezier(.6, .1, .2, 1) forwards; }
.row .arr { opacity: 0; color: var(--ac); transition: opacity .25s, transform .35s cubic-bezier(.2, .7, .1, 1); transform: translateX(-6px); }
.row.on .arr { opacity: 1; transform: none; }
.panel { border: 1px solid rgba(var(--ink), .1); border-radius: 22px; background: var(--surface); padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 28px; animation: swap .45s cubic-bezier(.2, .7, .1, 1) both; }
.panel[hidden] { display: none; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bp { background-image: linear-gradient(rgba(var(--ink), .035) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink), .035) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; }
.figure { color: var(--text-3); position: relative; height: 280px; border-radius: 14px; background-color: var(--bg); border: 1px solid rgba(var(--ink), .07); overflow: hidden; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.6, .1, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.panel-block { display: flex; flex-direction: column; gap: 12px; }
.label { margin: 0; font-size: 12px; font-weight: 400; color: var(--text-3); letter-spacing: .06em; }
.panel-lead { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--text); text-wrap: pretty; }
.gets { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.gets li { display: flex; gap: 14px; align-items: baseline; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.gets li::before { content: ''; flex: none; width: 6px; height: 6px; background: var(--ac); transform: translateY(-2px); }
.panel-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(var(--ink), .08); }
.tech { margin: 0; font-size: 12px; color: var(--text-3); }
.panel-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }

/* technologies */
/* z-index 1 keeps the services rhombs (z-index 2) painted over the pearl; #proces comes later, so its rhombs paint over it too */
#technologie, #proces { z-index: 1; }
#technologie { isolation: isolate; }
/* the pearl extends under the transparent parts of the neighbouring rhombs bands so there is no seam */
#technologie::before { content: ""; position: absolute; z-index: -1; top: -7.8vw; bottom: -7.8vw; left: calc(50% - 50vw); width: 100vw; background: var(--pearl); }
.techs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.techs li { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px 16px; border: 1px solid rgba(var(--ink), .1); border-radius: 16px; font-size: 17px; font-weight: 500; }
.techs svg { width: 48px; height: 48px; }

/* process */
.path { position: relative; }
.path > svg { position: absolute; left: 0; top: 0; width: 100%; height: 160px; overflow: visible; }
.ink { stroke: var(--ac); stroke-dasharray: 1; stroke-dashoffset: 0; }
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 180px 0 0; list-style: none; }
.st { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0 20px; }
.node { position: absolute; left: 50%; top: -60px; width: 14px; height: 14px; margin-left: -7px; margin-top: -7px; background: var(--bg); border: 1.5px solid var(--ac); box-sizing: border-box; transition: transform .4s cubic-bezier(.2, .7, .1, 1), background .25s; }
.st:nth-child(odd) .node { top: -140px; }
.st:hover .node { transform: rotate(45deg) scale(1.25); background: var(--ac); }
.st .ico { display: flex; color: var(--ac); }
.st h3 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.03em; transition: color .25s; }
.st:hover h3 { color: var(--ac); }
.st p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); max-width: 28ch; }
.res { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 6px 12px; border: 1px solid rgba(var(--ink), .12); border-radius: 999px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-2); }
.res i { width: 5px; height: 5px; background: var(--ac); display: inline-block; }

/* subpages */
.page-head { padding-bottom: clamp(40px, 5vw, 64px); }
/* top: -88px reaches under the fixed header (.page padding-top). Layers: the drawing at a fixed scale (cover would blow it up on taller heads),
   the rhombs band (130px) closing the tint at the bottom and spilling a bit into the content, the tint above the band. */
.page-head { isolation: isolate; }
.page-head::before { content: ""; position: absolute; z-index: -1; top: -88px; bottom: -80px; left: calc(50% - 50vw); width: 100vw; background: url("../images/head-sketch-QR-sZ40.svg") right bottom 32px / max(100%, 1792px) auto no-repeat, url("../images/head-rhombs-V7-zOX7.svg") left bottom / 960px 130px repeat-x, linear-gradient(#F0F0F1, #F0F0F1) top / 100% calc(100% - 128px) no-repeat; }
/* heads with their own figure get no drawing */
.page-head:has(.figure)::before { background-image: none, url("../images/head-rhombs-V7-zOX7.svg"), linear-gradient(#F0F0F1, #F0F0F1); }
/* below this the drawing runs under the text */
@media (max-width: 1100px) {
    .page-head::before { background-image: none, url("../images/head-rhombs-V7-zOX7.svg"), linear-gradient(#F0F0F1, #F0F0F1); }
}
.page-head h1 { margin: 0; font-size: clamp(36px, 5vw, 68px); line-height: 1; letter-spacing: -.045em; font-weight: 600; max-width: 18ch; text-wrap: balance; }
.page-head > .lead { margin-top: 24px; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; align-items: center; }
.page-head-text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; font-size: 12px; color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--text-4); }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: var(--ac); }
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 64px; align-items: start; padding-top: clamp(40px, 5vw, 64px); }
.side { position: sticky; top: 120px; }
.prose { max-width: 68ch; }
.prose h2 { margin: 48px 0 16px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; color: var(--text-2); }
.prose ul { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose li { display: flex; gap: 14px; align-items: baseline; font-size: 17px; line-height: 1.7; color: var(--text-2); }
.prose li::before { content: ''; flex: none; width: 6px; height: 6px; background: var(--ac); transform: translateY(-3px); }
.prose .page-cta { margin-top: 40px; }

/* contact */
.cform { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.cform label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.cform input, .cform textarea { box-sizing: border-box; width: 100%; padding: 14px 16px; border: 1px solid rgba(var(--ink), .18); border-radius: 12px; background: var(--surface); font: inherit; font-size: 16px; color: var(--text); }
.cform textarea { resize: vertical; }
.cform input:focus-visible, .cform textarea:focus-visible { outline: 2px solid var(--ac); outline-offset: 1px; }
.cform ul { margin: 0 0 8px; padding: 0; list-style: none; font-size: 14px; color: #B42318; }
.cform [aria-invalid="true"] { border-color: #B42318; }
.cform-note { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-3); }
.hp { position: absolute; left: -9999px; }
button.btn { align-self: flex-start; border: 0; font-family: inherit; cursor: pointer; }
.notice { margin: 0 0 24px; padding: 16px 20px; border-radius: 12px; background: color-mix(in oklab, var(--ac) 10%, #FFFFFF); }
.spec { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(var(--ink), .08); }
.spec:last-child { border-bottom: 1px solid rgba(var(--ink), .08); }
.spec .lbl { font-size: 12px; color: var(--text-3); }
.spec .val { font-size: 16px; color: var(--text); overflow-wrap: anywhere; }

/* footer */
.footer { position: relative; isolation: isolate; }
.footer::before { content: ""; position: absolute; z-index: -1; inset: -7.8vw 0 0; background: var(--pearl); }
.footer-inner { position: relative; max-width: 1360px; margin: 0 auto; padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 40px) clamp(40px, 5vw, 64px); box-sizing: border-box; }
.frame { position: relative; padding: 14px; }
.corner { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ac); opacity: .75; }
.corner.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.tb { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.r1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.cell { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.6vw, 32px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.cell-brand { gap: 20px; }
.cell-nav { justify-content: space-between; }
.wordmark { margin: 0; font-size: clamp(44px, 6vw, 88px); font-weight: 600; letter-spacing: -.06em; line-height: .9; }
.tagline { margin: 0; max-width: 40ch; font-size: 16px; line-height: 1.6; color: var(--text-3); }
.k { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; }
.fnav { display: flex; flex-direction: column; gap: 10px; }
.fnav a { color: var(--text-2); text-decoration: none; font-size: 15px; transition: color .2s; }
.fnav a:hover { color: var(--text); }
.sbar { display: flex; flex-wrap: wrap; }
.seg { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.seg.grow { flex: 1; justify-content: flex-end; }
.seg a { color: var(--text-2); text-decoration: none; transition: color .2s; }
.seg a:hover { color: var(--ac); }

/* back to top */
.to-top { position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 9; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #FFFFFF; border: 1px solid rgba(var(--ink), .12); color: var(--ac); box-shadow: 0 10px 30px -12px rgba(var(--ink), .35); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s, transform .35s cubic-bezier(.2, .7, .1, 1), visibility 0s .35s, background-color .25s, color .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { color: #FFFFFF; background: var(--ac); border-color: var(--ac); transform: translateY(-3px); }
.to-top svg { transition: transform .35s cubic-bezier(.2, .7, .1, 1); }
.to-top:hover svg { transform: translateY(-2px); }
.to-top:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }

/* scroll-driven animations */
@supports (animation-timeline: view()) {
    .ink { animation: ink linear both; animation-timeline: view(); animation-range: entry 40% cover 55%; }
    @keyframes ink { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
    .st { animation: prise linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    @keyframes prise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
}

/* Longest labels (EN) need about 820px on one line. */
@media (max-width: 860px) {
    .site-header { flex-wrap: wrap; justify-content: space-between; gap: 0; padding-right: 16px; }
    .site-header.open { border-radius: 28px; }
    .menu-btn { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
    .menu-btn:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
    .menu-btn span { width: 20px; height: 2px; background: var(--text); transition: transform .25s; }
    .open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
    .open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .nav-links { display: none; }
    .open .nav-links { display: flex; flex-direction: column; align-items: stretch; width: 100%; margin-left: -16px; padding: 12px 0 4px; }
    .open .navlink { padding: 12px 16px; font-size: 17px; }
    .lang-pick { order: 0; margin-right: 4px; }
}

@media (max-width: 900px) {
    .hero-top { grid-template-columns: minmax(0, 1fr); }
    .hero-figure { display: none; }
    .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .page-head-grid, .page-body { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .side { position: static; }
    .r1 { grid-template-columns: minmax(0, 1fr); }
    .sbar { flex-direction: column; }
    .seg { white-space: normal; }
    .seg.grow { justify-content: flex-start; }
    .fnav { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; }
}

@media (max-width: 860px) {
    .path > svg { display: none; }
    .cols { grid-template-columns: minmax(0, 1fr); padding-top: 0; gap: 40px; border-left: 1px solid var(--line); margin-left: 7px; }
    .st { align-items: flex-start; text-align: left; padding: 0 0 0 32px; }
    .cols .st .node { left: 0; top: 6px; }
}

@media (max-width: 760px) {
    .tinted::before { top: -86px; bottom: -86px; background-size: 1100px auto, 1100px auto, 100% calc(100% - 342px); background-position: center top, center bottom, center; }
    .page-head::before { bottom: -50px; background-size: auto, 640px 87px, 100% calc(100% - 85px); }
    #technologie::before { top: -86px; bottom: -86px; }
    .footer::before { top: -86px; }
    .hero-inner { padding-bottom: 112px; }
    .hero { min-height: 620px; }
}

@media (max-width: 560px) {
    .figure { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .rise, .caret, .panel, .ink, .st, .lang-list { animation: none; }
    .draw, .hero-figure .draw, .row.on .ico svg * { animation: none; stroke-dashoffset: 0; }
    .btn, .navlink, .row .t, .to-top, .to-top svg { transition: none; }
}
