@font-face{font-family:'Outfit';src:url(/assets/fonts/outfit.woff) format('woff');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'TKM Youth';src:url(/assets/fonts/29b7a2b80f8a.woff2) format('woff2');font-weight:100 900;font-style:normal;font-display:swap}h1,h2,h3,.tkm-display{font-family:'TKM Youth', 'Outfit', 'Helvetica Neue', Helvetica, sans-serif;font-weight:900}h1,h2{letter-spacing:-0.025em!important}
:root { --bg: #DEF1FF; --blue: #0037EF; --navy: #0E2A9E; --orange: #F39A36; --white: #FFFFFF; --muted: #4F64C8; color-scheme: light }
html { scroll-behavior: smooth }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
body { margin: 0; background: var(--bg); color: var(--blue); font-family: 'Outfit', 'Helvetica Neue', Helvetica, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden }
a { color: var(--blue) } a:hover { color: var(--navy) }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px }
h1, h2, h3 { text-wrap: balance }
.route span[style*="text-transform: uppercase"][style*="border-radius: 999px"] { align-self: flex-start }
.route { position: relative; overflow: hidden; background: var(--bg) }
.route a[style*="border-radius"]:not(.nav-link), .route button { transition: transform .18s ease, box-shadow .18s ease }
.route a[style*="background: #0037EF"]:hover { color: #fff !important; box-shadow: 0 10px 24px rgba(0,55,239,.28) }

/* header */
.hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 20px }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--blue) }
.logo-mark { height: 40px; width: auto }
.logo-sub { font-size: 12px; line-height: 1.15; color: var(--muted); font-weight: 500 }
.main-nav { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,0.45) }
.nav-link { padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--blue); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap }
.nav-link:hover { background: var(--navy); color: var(--white) }
.nav-link[aria-current="page"] { background: var(--blue); color: var(--white) }
.nav-only-mobile { display: none }
.hdr-actions { display: flex; align-items: center; gap: 10px }
.lang { width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; text-decoration: none }
.nav-toggle { display: none; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--blue); cursor: pointer; position: relative }
.nav-toggle span { position: absolute; left: 15px; right: 15px; height: 2.5px; border-radius: 2px; background: var(--white); transition: transform .2s ease, top .2s ease }
.nav-toggle span:first-child { top: 19px } .nav-toggle span:last-child { top: 28px }
.nav-open .nav-toggle span:first-child { top: 24px; transform: rotate(45deg) }
.nav-open .nav-toggle span:last-child { top: 24px; transform: rotate(-45deg) }

@media (max-width: 1180px) {
  .main-nav { display: none; position: absolute; left: clamp(16px, 4vw, 64px); right: clamp(16px, 4vw, 64px); top: 100%; flex-direction: column; gap: 6px; padding: 10px; border-radius: 28px; background: var(--white); box-shadow: 0 24px 60px rgba(14,42,158,.18) }
  .nav-open .main-nav { display: flex }
  .main-nav .nav-link { font-size: 20px; padding: 16px 20px; background: var(--bg) }
  .main-nav .nav-link[aria-current="page"] { background: var(--blue) }
  .nav-only-mobile { display: block }
  .nav-toggle { display: block }
}
@media (max-width: 640px) {
  .hdr-cta, .logo-sub { display: none !important }
  .logo-mark { height: 32px }
  .lang { width: 42px; height: 42px }
}

/* mobile tuning of the design's inline layout */
@media (max-width: 720px) {
  .route [style*="border-radius: 40px"], .route [style*="border-radius: 36px"] { border-radius: 28px !important }
  .route p[style*="font-size: 22px"], .route p[style*="font-size: 21px"], .route p[style*="font-size: 20px"] { font-size: 18px !important }
  .route [style*="padding-top: 120px"], .route [style*="padding-top: 100px"], .route [style*="padding-top: 80px"] { padding-top: 48px !important }
  .route [style*="padding-bottom: 120px"], .route [style*="padding-bottom: 100px"], .route [style*="padding-bottom: 80px"] { padding-bottom: 48px !important }
  .route section[style*="min-height"] { min-height: 0 !important }
  .route span[style*="border-radius: 50%"] { flex-shrink: 0 }
  /* Služby system diagram becomes a wrapped list of pills */
  .sys-diagram { height: auto !important; display: flex; flex-wrap: wrap; gap: 8px; padding-block: 8px }
  .sys-diagram > div { position: static !important; transform: none !important }
  .sys-diagram > div[style*="inset: 0"], .sys-diagram > div[style*="translate(-50%"] { display: none }
  /* stat tiles two per row */
  .route [style$="minmax(min(240px, 100%), 1fr)); gap: 16px"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important }
  .route [style$="minmax(min(240px, 100%), 1fr)); gap: 16px"] > div { padding: 22px 10px !important; border-radius: 24px !important }
  .route [style$="minmax(min(240px, 100%), 1fr)); gap: 16px"] > div > span:first-child { font-size: clamp(26px, 8vw, 34px) !important; white-space: nowrap }
  .route [style$="minmax(min(240px, 100%), 1fr)); gap: 16px"] > div > span { font-size: 14px }
  .route span[style*="white-space: nowrap"][style*="font-size: 40px"] { font-size: 24px !important }
  /* videos and reels: swipeable row */
  .route [style*="minmax(min(240px, 100%), 1fr)); gap: 16px; align-items: start"],
  .route [style*="minmax(min(200px, 100%), 1fr)); gap: 16px; align-items: start"] {
    display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px !important;
    margin-inline: calc(-1 * clamp(16px, 4vw, 64px)); padding-inline: clamp(16px, 4vw, 64px); padding-bottom: 8px; scrollbar-width: none }
  .route [style*="align-items: start"] > article, .route [style*="minmax(min(200px, 100%), 1fr)); gap: 16px; align-items: start"] > a {
    flex: 0 0 72%; margin-top: 0 !important; scroll-snap-align: start }
  /* client list two per row */
  .route [style*="minmax(min(190px, 100%), 1fr)); gap: 12px"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important }
  .route [style*="minmax(min(190px, 100%), 1fr)); gap: 12px"] > div { min-height: 64px !important; font-size: 16px !important; border-radius: 16px !important }
  .route span[style*="width: 96px; height: 96px"] { width: 56px !important; height: 56px !important; font-size: 20px !important; border-radius: 16px !important }
  .route span[style*="white-space: nowrap"][style*="border-radius: 999px"] { white-space: normal !important }
  footer > div[aria-hidden="true"] > div:last-child { left: auto !important; right: 6% !important; top: 10% !important }
  .prod-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: 150px !important; gap: 10px !important }
  .prod-tile { border-radius: 20px !important }
  /* footer wordmark sized to the screen */
  footer > div[aria-hidden="true"] { height: 46vw !important }
  footer > div[aria-hidden="true"] > div:first-child { font-size: 26vw !important; left: 4% !important; right: auto !important; bottom: 8% !important }
}
@media (max-width: 1180px) {
  .route[data-route="uvod"] section:first-of-type div[aria-hidden="true"][style*="position: absolute; right"] { display: none }
}
@media (min-width: 721px) and (max-width: 1180px) {
  .route [style$="minmax(min(240px, 100%), 1fr)); gap: 16px"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important }
}
.marquee { display: flex; width: max-content; gap: 56px; animation: marquee 40s linear infinite }
.marquee:hover { animation-play-state: paused }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)) } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none } }
/* TKM Engine hero: animated diagram with engine dynamics
   – core fires in a two-stroke rhythm, every firing sends a pressure wave
   – rotor rings rev up and settle like a flywheel
   – labels take a small kick on each firing (engine shake) */
.engine-viz { --fire: 2.6s }
.engine-viz .ev-orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px dashed rgba(0,55,239,0.28); animation: ev-rev 14s cubic-bezier(.55,0,.45,1) infinite }
.engine-viz .ev-orbit::after { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #F39A36; box-shadow: 0 0 0 6px rgba(243,154,54,0.18); animation: ev-spark var(--fire) ease-out infinite }
.engine-viz .ev-orbit-1 { width: 340px; height: 340px; margin: -170px 0 0 -170px }
.engine-viz .ev-orbit-2 { width: 480px; height: 480px; margin: -240px 0 0 -240px; animation-name: ev-rev-back; animation-duration: 18s }
.engine-viz .ev-orbit-2::after { background: #0037EF; box-shadow: 0 0 0 6px rgba(0,55,239,0.15); top: auto; bottom: -7px; animation-delay: calc(var(--fire) / 2) }
.engine-viz .ev-wave { position: absolute; left: 50%; top: 50%; width: 250px; height: 250px; margin: -125px 0 0 -125px; border-radius: 50%; border: 2px solid rgba(0,55,239,0.4); opacity: 0; animation: ev-wave var(--fire) cubic-bezier(.15,.6,.3,1) infinite }
.engine-viz .ev-wave + .ev-wave { animation-delay: calc(var(--fire) / 2); border-color: rgba(243,154,54,0.45) }
.engine-viz .ev-core > div[style] { animation: ev-fire calc(var(--fire) / 2) cubic-bezier(.3,0,.3,1) infinite }
.engine-viz .ev-label { animation: ev-fire calc(var(--fire) / 2) cubic-bezier(.3,0,.3,1) infinite }
.engine-viz > div:not(.ev-orbit):not(.ev-wave):not(.ev-core) > span:not(.ev-label) { animation: ev-kick calc(var(--fire) / 2) ease-out infinite; box-shadow: 0 10px 26px rgba(14,42,158,0.14) }
.engine-viz > div:nth-child(7) > span { animation-delay: .04s }
.engine-viz > div:nth-child(8) > span { animation-delay: .08s }
.engine-viz > div:nth-child(9) > span { animation-delay: .06s }
.engine-viz > div:nth-child(10) > span { animation-delay: .1s }
.engine-viz > div:nth-child(11) > span { animation-delay: .12s }
.engine-viz > div:nth-child(12) > span { animation-delay: .07s }
@keyframes ev-rev { 0% { transform: rotate(0) } 55% { transform: rotate(560deg) } 100% { transform: rotate(720deg) } }
@keyframes ev-rev-back { 0% { transform: rotate(0) } 55% { transform: rotate(-400deg) } 100% { transform: rotate(-540deg) } }
@keyframes ev-wave { 0% { transform: scale(1); opacity: .95 } 100% { transform: scale(2.15); opacity: 0 } }
@keyframes ev-fire { 0% { transform: scale(1) } 10% { transform: scale(1.055) } 24% { transform: scale(.985) } 40% { transform: scale(1.012) } 60%, 100% { transform: scale(1) } }
@keyframes ev-kick { 0% { transform: translate(0, 0) } 12% { transform: translate(0, 3px) } 30% { transform: translate(0, -1.5px) } 50%, 100% { transform: translate(0, 0) } }
@keyframes ev-spark { 0%, 100% { transform: scale(1) } 12% { transform: scale(1.35) } }
@media (prefers-reduced-motion: reduce) { .engine-viz *, .engine-viz *::after { animation: none !important } }

/* ---- Decent motion layer ---- */
/* 1 · reveal on scroll (hidden state is applied by script only to elements below the fold) */
.anim .rv { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms) }
.anim .rv.rv-wait { opacity: 0; transform: translateY(26px) }

/* 4 · hover */
.route a[style*="background: #FFFFFF"][style*="border-radius"]:not(.nav-link):not(.lang),
.route article[style*="padding: 12px 12px 22px"] {
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, opacity .7s cubic-bezier(.2,.7,.2,1);
}
.route a[style*="background: #FFFFFF"][style*="border-radius"][style*="flex"]:not(.nav-link):not(.lang):hover,
.route article[style*="padding: 12px 12px 22px"]:hover {
  transform: translateY(-5px); box-shadow: 0 20px 44px rgba(14,42,158,.13);
}
.route a[style*="min-height: 52px"]:hover, .route a[style*="min-height: 46px"]:hover, .route form button:hover { transform: translateY(-2px) }
.route [style*="overflow: hidden"] > img { transition: transform .7s cubic-bezier(.2,.7,.2,1) }
.route a:hover [style*="overflow: hidden"] > img, .route article:hover [style*="overflow: hidden"] > img, .prod-tile:hover > img { transform: scale(1.045) }
.route a span[aria-hidden="true"]:not([style]), .route button span[aria-hidden="true"]:not([style]) { display: inline-block; transition: transform .25s cubic-bezier(.2,.7,.2,1) }
.route a:hover span[aria-hidden="true"]:not([style]), .route button:hover span[aria-hidden="true"]:not([style]) { transform: translateX(5px) }

/* 5 · breathing spheres */
.route div[style*="radial-gradient(circle at 32% 28%"] { animation: tkm-breathe 7s ease-in-out infinite }
.route section:nth-of-type(2n) div[style*="radial-gradient(circle at 32% 28%"] { animation-duration: 8.5s; animation-delay: -2s }
.engine-viz div[style*="radial-gradient(circle at 32% 28%"] { animation: none }
@keyframes tkm-breathe { 0%, 100% { transform: translateY(0) scale(1) } 50% { transform: translateY(-9px) scale(1.025) } }

/* 6 · footer wordmark lands */
.anim footer .ft-wait svg, .anim footer .ft-wait + div { opacity: 0 }
.anim footer .ft-in svg { animation: tkm-letter .95s cubic-bezier(.2,.8,.2,1) both }
.anim footer .ft-in > span:nth-child(2) svg { animation-delay: .1s }
.anim footer .ft-in > span:nth-child(3) svg { animation-delay: .2s }
.anim footer .ft-in + div { animation: tkm-dot .8s .45s cubic-bezier(.3,1.5,.5,1) both }
@keyframes tkm-letter { from { opacity: 0; transform: translateY(45%) rotate(-14deg) } to { opacity: 1; transform: none } }
@keyframes tkm-dot { from { opacity: 0; transform: translateY(-160%) scale(.6) } to { opacity: 1; transform: none } }

/* 7 · page switch */
.route.route-enter { animation: tkm-enter .45s cubic-bezier(.2,.7,.2,1) both }
@keyframes tkm-enter { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }


/* 8 · ambient background motion */
.bg-blobs > div:nth-child(-n+3) { will-change: transform, translate; animation: tkm-drift-a 22s ease-in-out infinite alternate }
.bg-blobs > div:nth-child(2) { animation-name: tkm-drift-b; animation-duration: 27s }
.bg-blobs > div:nth-child(3) { animation-name: tkm-drift-c; animation-duration: 31s }
.bg-blobs > div:nth-child(4) { animation: tkm-sheen 14s ease-in-out infinite alternate }
@keyframes tkm-drift-a { to { transform: translate(6%, 8%) scale(1.08) } }
@keyframes tkm-drift-b { to { transform: translate(-7%, 5%) scale(.94) } }
@keyframes tkm-drift-c { to { transform: translate(-5%, -6%) scale(1.06) } }
@keyframes tkm-sheen { from { transform: rotate(28deg) translateX(-12%); opacity: .7 } to { transform: rotate(32deg) translateX(14%); opacity: 1 } }
.orbit-ring { will-change: translate }
.orbit-rider { animation: tkm-orbit 46s linear infinite }
.bg-orbit .orbit-ring:nth-child(2n) .orbit-rider { animation-direction: reverse }
.orbit-rider > span { animation: tkm-pulse 3.4s ease-in-out infinite }
@keyframes tkm-orbit { to { transform: rotate(360deg) } }
@keyframes tkm-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(243,154,54,.45) } 50% { transform: scale(1.18); box-shadow: 0 0 0 9px rgba(243,154,54,0) } }
.logo-dot { will-change: translate }
.anim footer .ft-in + .logo-dot { animation: tkm-dot .8s .45s cubic-bezier(.3,1.5,.5,1) both, tkm-pulse-soft 4.2s 1.6s ease-in-out infinite }
@keyframes tkm-pulse-soft { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.07) } }

.plus { margin-left: 0.16em }
.count { font-variant-numeric: tabular-nums }

@media (prefers-reduced-motion: reduce) {
  .anim .rv.rv-wait, .anim footer .ft-wait svg, .anim footer .ft-wait + div { opacity: 1; transform: none }
  .route *, .route { animation: none !important; transition: none !important }
  .orbit-ring, .bg-blobs > div, .logo-dot { translate: none !important }
}
@media print { .anim .rv.rv-wait, .anim footer .ft-wait svg, .anim footer .ft-wait + div { opacity: 1 !important; transform: none !important } }

/* Fit score bars fill in on scroll */
.fit-bar { transform-origin: left center; transition: transform 1.2s cubic-bezier(.2,.7,.2,1) }
.fit-bar.fit-wait { transform: scaleX(0) }
@media (prefers-reduced-motion: reduce) { .fit-bar { transition: none } .fit-bar.fit-wait { transform: none } }

/* 9 · home hero: floating labels around the sphere, stats rise in */
.route[data-route="uvod"] > section:first-of-type div[aria-hidden="true"][style*="position: absolute; right"] > span { display: inline-flex; animation: tkm-float 5.5s ease-in-out infinite }
.route[data-route="uvod"] > section:first-of-type div[aria-hidden="true"][style*="position: absolute; right"]:nth-of-type(3) > span { animation-duration: 6.4s; animation-delay: -1.2s }
.route[data-route="uvod"] > section:first-of-type div[aria-hidden="true"][style*="position: absolute; right"]:nth-of-type(4) > span { animation-duration: 4.8s; animation-delay: -2.6s }
.route[data-route="uvod"] > section:first-of-type div[aria-hidden="true"][style*="position: absolute; right"]:nth-of-type(5) > span { animation-duration: 7s; animation-delay: -0.6s }
@keyframes tkm-float { 0%, 100% { transform: translate(0, 0) } 33% { transform: translate(6px, -10px) } 66% { transform: translate(-5px, 6px) } }
.anim .route[data-route="uvod"] > section:first-of-type [style*="display: grid"] > div { animation: tkm-rise .8s cubic-bezier(.2,.7,.2,1) both }
.anim .route[data-route="uvod"] > section:first-of-type [style*="display: grid"] > div:nth-child(2) { animation-delay: .1s }
.anim .route[data-route="uvod"] > section:first-of-type [style*="display: grid"] > div:nth-child(3) { animation-delay: .2s }
.anim .route[data-route="uvod"] > section:first-of-type [style*="display: grid"] > div:nth-child(4) { animation-delay: .3s }
@keyframes tkm-rise { from { opacity: 0; transform: translateY(22px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .route[data-route="uvod"] > section:first-of-type * { animation: none !important } }
