@charset "utf-8";

/* =========================================================================
   Savings Tech Lab — savingstechlab.com
   Statická stránka, bez build stepu. Řazení: tokeny → základ → layout →
   komponenty (v pořadí, v jakém jsou na stránce) → animace → media queries.
   ========================================================================= */

/* ---------- Fonty (self-hosted, bez Google Fonts CDN) -------------------- */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokeny ------------------------------------------------------- */

:root {
  --navy: #010D19;
  --blue: #083488;
  --indigo: #3B2D7F;
  --purple: #763899;
  --cyan: #0FE0F7;

  --bg: #F6F8FB;
  --bg-alt: #EEF2FA;
  --surface: #fff;

  --ink: #010D19;
  --ink-2: #2A3546;
  --ink-3: #4A5568;

  --line: rgba(8, 52, 136, .12);
  --line-strong: rgba(8, 52, 136, .25);

  --grad-brand: linear-gradient(100deg, #010D19 0%, #083488 48%, #763899 100%);
  --grad-rule: linear-gradient(90deg, #0FE0F7, #763899);

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --sec-y: clamp(72px, 10vw, 140px);
  --radius: 22px;

  --focus: #083488;
  --header-h: 90px;
}

/* ---------- Základ ------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
canvas { display: block; max-width: 100%; }

img { height: auto; }

a { color: var(--blue); }
a:hover { color: var(--purple); }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -.01em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Prvky na tmavém pozadí přebarvují focus ring, aby zůstal čitelný. */
.on-dark { --focus: #0FE0F7; }

::selection {
  background: var(--cyan);
  color: var(--navy);
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s;
}

.skip:focus {
  transform: translateY(0);
  color: #fff;
}

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Layout ------------------------------------------------------- */

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  width: 100%;
}

.sec {
  scroll-margin-top: var(--header-h);
  padding: var(--sec-y) var(--gutter);
}

.sec--alt {
  position: relative;
  overflow: clip;
  background: linear-gradient(180deg, #F6F8FB, #EEF2FA 50%, #F6F8FB);
}

.sec--tail { padding-bottom: clamp(96px, 12vw, 160px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: '';
  flex: 0 0 28px;
  height: 2px;
  background: var(--grad-rule);
}

.eyebrow--light { color: var(--cyan); }
.eyebrow--light::before { display: none; }

.h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.15;
  max-width: 22ch;
}

.lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
}

/* Postupně se vybarvující zvýraznění, šířku řídí JS podle scrollu. */
.hl {
  background: var(--grad-rule) no-repeat 0 88%;
  background-image: linear-gradient(90deg, rgba(15, 224, 247, .55), rgba(118, 56, 153, .35));
  background-size: 0% .55em;
  color: inherit;
  padding: 0 .08em;
  transition: color .3s;
}

p .hl { font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s, background .3s, color .3s;
}

.btn--cyan {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 18px 40px -18px rgba(15, 224, 247, .8);
}

.btn--cyan:hover {
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -18px rgba(15, 224, 247, .95);
}

.btn--ghost {
  padding: 12px 18px;
  font-size: 14px;
  border: 1px solid currentColor;
}

.btn--ghost-cyan { color: #fff; border-color: var(--cyan); }
.btn--ghost-cyan:hover { background: var(--cyan); color: var(--navy); }

.btn--ghost-purple { color: var(--ink); border-color: var(--purple); }
.btn--ghost-purple:hover { background: var(--purple); color: #fff; }

.pill-link {
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform .25s, box-shadow .25s;
}

.pill-link--cyan { background: var(--cyan); color: var(--navy); }
.pill-link--cyan:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(15, 224, 247, .9); }

.pill-link--ghost { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; }
.pill-link--ghost:hover { color: #fff; background: rgba(255, 255, 255, .2); }

/* ---------- Hlavička ----------------------------------------------------- */

.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: clamp(10px, 1.5vw, 16px) clamp(12px, 3vw, 40px);
  pointer-events: none;
}

.hdr__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  flex-wrap: nowrap;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 8px 10px 8px clamp(16px, 2.2vw, 24px);
  border-radius: 999px;
  box-shadow: 0 20px 50px -30px rgba(1, 13, 25, 0);
  pointer-events: auto;
  transition: box-shadow .45s;
}

.hdr__bar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity .45s;
  pointer-events: none;
}

.hdr.is-glass .hdr__bar {
  box-shadow: 0 24px 60px -30px rgba(1, 13, 25, .75), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.hdr.is-glass .hdr__bar::before { opacity: 1; }

.hdr__logo {
  position: relative;
  display: flex;
  align-items: center;
}

.hdr__logo img { height: 34px; width: auto; }

.nav {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
}

.nav__pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s cubic-bezier(.3, .8, .2, 1), width .5s cubic-bezier(.3, .8, .2, 1), opacity .3s;
}

.nav__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  white-space: nowrap;
  text-decoration: none;
  transition: color .3s;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current='true'] { color: #fff; }

.burger {
  display: none;
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger i {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}

.burger[aria-expanded='true'] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded='true'] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(140deg, #010D19, #083488 50%, #763899);
  box-shadow: 0 30px 60px -30px rgba(1, 13, 25, .8);
  animation: stl-in .35s cubic-bezier(.2, .8, .2, 1) both;
}

.menu[hidden] { display: none; }

.menu a {
  padding: 12px 14px;
  border-radius: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.menu a:hover,
.menu a:focus-visible { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Hero --------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #010D19 0%, #083488 45%, #3B2D7F 75%, #763899 100%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  left: 60%;
  bottom: -20%;
  width: 70vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 224, 247, .28), rgba(15, 224, 247, 0) 60%);
  filter: blur(40px);
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(96px, 12vw, 140px) var(--gutter) clamp(48px, 6vw, 80px);
}

.hero__title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.1;
  color: #fff;
}

.hero__lead {
  margin: 28px 0 0;
  max-width: 40ch;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
}

.hero__cta { margin-top: 30px; }

.hero__visual {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 560px;
  max-height: 70vh;
  aspect-ratio: 1;
  justify-self: end;
}

.hero__scene {
  position: absolute;
  inset: 0;
}

.hero__scene svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ---------- Úvod: pipeline ----------------------------------------------- */

.sec__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.sec__head .h2 { max-width: 18ch; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.12; }
.sec__head .lead { margin: 0; max-width: 48ch; }

.flow { position: relative; }

.flow__track {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 43px;
  height: 2px;
  border-radius: 1px;
  background: rgba(8, 52, 136, .12);
}

.flow__line {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 1px;
  background: linear-gradient(90deg, #0FE0F7, #083488, #763899);
}

.flow__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 228px), 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.step {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .5s, box-shadow .5s, transform .5s;
}

.step.is-on {
  border-color: rgba(15, 224, 247, .7);
  box-shadow: 0 26px 50px -30px rgba(8, 52, 136, .45);
  transform: translateY(-4px);
}

.step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  transition: background .5s, color .5s;
}

.step.is-on .step__num { background: var(--blue); color: #fff; }

.step__title {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
}

.step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ikona: sloupce */
.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
}

.eq-bars i {
  width: 6px;
  border-radius: 3px;
  transform-origin: bottom;
  transition: height .6s;
}

.eq-bars i:nth-child(1) { height: 40%; background: var(--cyan); }
.eq-bars i:nth-child(2) { height: 70%; background: var(--blue); transition-delay: .1s; }
.eq-bars i:nth-child(3) { height: 55%; background: var(--purple); transition-delay: .2s; }
.eq-bars i:nth-child(4) { height: 90%; background: var(--cyan); transition-delay: .3s; }
.eq-bars i:nth-child(5) { height: 60%; background: var(--blue); transition-delay: .4s; }

.step.is-on .eq-bars i:nth-child(1) { height: 62%; }
.step.is-on .eq-bars i:nth-child(2) { height: 90%; }
.step.is-on .eq-bars i:nth-child(3) { height: 48%; }
.step.is-on .eq-bars i:nth-child(4) { height: 100%; }
.step.is-on .eq-bars i:nth-child(5) { height: 74%; }

/* ikona: prstenec */
.ring-icon {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
}

.ring-icon i {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
}

.ring-icon .dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  transform: rotate(var(--a)) translateX(15px);
}

.ring-icon .core {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--blue);
}

.step:hover .ring-icon .dot { animation: stl-ring-in 2.4s ease-in-out infinite; }
.step:hover .ring-icon .dot:nth-child(2) { animation-delay: .07s; }
.step:hover .ring-icon .dot:nth-child(3) { animation-delay: .14s; }
.step:hover .ring-icon .dot:nth-child(4) { animation-delay: .21s; }
.step:hover .ring-icon .dot:nth-child(5) { animation-delay: .28s; }
.step:hover .ring-icon .dot:nth-child(6) { animation-delay: .35s; }
.step:hover .ring-icon .core { animation: stl-ring-core 2.4s ease-in-out .3s infinite; }
.step:hover .eq-bars i { animation: stl-eq 1.6s ease-in-out infinite; }
.step:hover .eq-bars i:nth-child(2) { animation-delay: .15s; }
.step:hover .eq-bars i:nth-child(3) { animation-delay: .3s; }
.step:hover .eq-bars i:nth-child(4) { animation-delay: .45s; }
.step:hover .eq-bars i:nth-child(5) { animation-delay: .6s; }
.step:hover .rows-icon i { animation: stl-rows 1.8s ease-in-out infinite; }
.step:hover .rows-icon i:nth-child(2) { animation-delay: .2s; }
.step:hover .rows-icon i:nth-child(3) { animation-delay: .4s; }

/* ikona: řádky */
.rows-icon {
  display: grid;
  gap: 4px;
  width: 56px;
}

.rows-icon i {
  height: 6px;
  border-radius: 3px;
  transform-origin: left;
}

.rows-icon i:nth-child(1) { width: 100%; background: var(--cyan); }
.rows-icon i:nth-child(2) { width: 75%; background: var(--bg-alt); }
.rows-icon i:nth-child(3) { width: 88%; background: var(--bg-alt); }

/* ---------- Kultivace trhu: rovnice -------------------------------------- */

.blob {
  position: absolute;
  right: -10%;
  top: 10%;
  width: min(50vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 224, 247, .22), rgba(15, 224, 247, 0) 70%);
  filter: blur(30px);
  pointer-events: none;
}

.sec--alt .wrap { position: relative; }

.sec--alt .h2 { margin-bottom: 28px; }

.sec--alt > .wrap > .lead {
  max-width: 64ch;
  margin: 0 0 clamp(36px, 5vw, 56px);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
}

.eq {
  display: grid;
  grid-template-columns: 1fr 0 1fr 0 1fr 0 1fr 0 1.25fr;
  gap: 0 22px;
  align-items: stretch;
}

.eq__card {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 60px -36px rgba(8, 52, 136, .35);
}

.eq__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eq__tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.eq__tag--blue i { background: var(--blue); }
.eq__tag--purple i { background: var(--purple); }

.eq__title {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.1;
}

.eq__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.eq__op {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  border: 1px solid rgba(8, 52, 136, .15);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 8px 20px -8px rgba(8, 52, 136, .35);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
}

.eq__result {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  overflow: hidden;
  padding: 24px 22px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #010D19, #083488 55%, #3B2D7F);
  color: #fff;
  box-shadow: 0 40px 80px -36px rgba(1, 13, 25, .8);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}

.eq__result:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 40px 90px -30px rgba(15, 224, 247, .55), 0 30px 60px -30px rgba(118, 56, 153, .6);
}

/* Světelný rámeček obíhající kartu. Bez podpory @property zůstane gradient
   stát — rámeček je pořád vidět, jen se netočí. */
@property --stl-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes stl-ring-spin { to { --stl-angle: 360deg; } }

@keyframes stl-sheen {
  0% { left: -40%; opacity: 1; }
  70% { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

.eq__result::before,
.eq__result::after {
  content: '';
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.eq__result::before {
  inset: 0;
  z-index: 3;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--stl-angle), #0FE0F7, #763899, #083488, #0FE0F7);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: opacity .4s;
}

.eq__result::after {
  top: -20%;
  bottom: -20%;
  left: -40%;
  width: 35%;
  z-index: 2;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
}

.eq__result > * { position: relative; }

.eq__result-glow {
  position: absolute;
  right: -20%;
  bottom: -40%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 224, 247, .45), rgba(15, 224, 247, 0) 70%);
  filter: blur(20px);
}

.eq__result-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eq__result-title {
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.1;
}

.eq__result-text {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .85);
}

/* Odletující štítky nad kartou (jen ukazatel, pro čtečky skryté). */
.burst {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  z-index: -1;
}

.burst > span {
  position: absolute;
  left: 50%;
  top: 0;
  opacity: 0;
  transform: translate(-50%, 10px) scale(.5);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .4s;
  pointer-events: none;
}

.burst img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 0;
  background: linear-gradient(160deg, #083488, #763899);
  border: 2px solid #fff;
  box-shadow: 0 14px 30px -14px rgba(8, 52, 136, .7);
}

.burst b {
  display: block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(8, 52, 136, .6);
  font-variant-numeric: tabular-nums;
}

.burst .t-cyan { background: var(--cyan); color: var(--navy); }
.burst .t-blue { background: var(--blue); color: #fff; }
.burst .t-purple { background: var(--purple); color: #fff; }

.burst .t-code {
  border-radius: 8px;
  background: var(--navy);
  color: var(--cyan);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  box-shadow: 0 14px 30px -14px rgba(1, 13, 25, .7);
}

/* ---------- Jak pracujeme: sticky zásady --------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 5vw, 80px);
  align-items: stretch;
}

.split__sticky { position: sticky; top: 110px; }
.split__sticky .h2 { max-width: 14ch; margin-bottom: 20px; }
.split__sticky p:not(.eyebrow) { margin: 0; max-width: 40ch; font-size: 15.5px; color: var(--ink-3); }

.stack {
  display: grid;
  gap: 18px;
  padding-bottom: 20px;
}

.rule {
  position: static;
  overflow: visible;
  padding: 30px 30px 28px;
  border: 1px solid rgba(8, 52, 136, .14);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 60px -30px rgba(8, 52, 136, .35);
  transform-origin: top center;
}

.rule:nth-child(1) { top: 100px; }
.rule:nth-child(2) { top: 116px; }
.rule:nth-child(3) { top: 132px; }

/* Přilepení zapíná JS třídou .is-stacked, a jen když se karta vejde na výšku
   výřezu. Jinak by přilepená karta vyšší než obrazovka schovala vlastní patu. */
.stack.is-stacked > .rule,
.work.is-stacked > .work__item { position: sticky; }

.ring { display: none; }
.stack.is-stacked .ring { display: block; }

.rule--brand {
  border: 0;
  background: linear-gradient(135deg, #083488, #763899);
  color: #fff;
  box-shadow: 0 24px 60px -30px rgba(8, 52, 136, .5);
}

.rule__num {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--purple);
}

.rule--brand .rule__num { color: var(--cyan); }

.rule__title {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.3;
}

.rule p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.rule--brand p { color: rgba(255, 255, 255, .88); }

.ring {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
}

.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.ring__arc { transition: stroke-dashoffset .15s linear, opacity .3s; }

.ring__check {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
  color: var(--cyan);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .35s, transform .5s cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Naše práce: sticky karty ------------------------------------- */

.work {
  display: grid;
  gap: 20px;
}

.work__item {
  position: static;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: min(72vh, 640px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(1, 13, 25, .45);
  transform-origin: top center;
}

.work__item:nth-child(1) { top: 96px; background: linear-gradient(140deg, #010D19, #083488 70%, #1F3F9A); color: #fff; }
.work__item:nth-child(2) { top: 112px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.work__item:nth-child(3) { top: 128px; background: linear-gradient(140deg, #3B2D7F, #763899 60%, #9B4FC4); color: #fff; }

.work__item .work__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.work__kicker::after {
  content: '';
  flex: 0 0 40px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.work__item .work__kicker--cyan { color: var(--cyan); }
.work__item .work__kicker--purple { color: var(--purple); }

.work__title {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.12;
}

.work__item p {
  margin: 0 0 12px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
}

.work__item:nth-child(1) p:not(.work__kicker) { color: rgba(255, 255, 255, .82); }
.work__item:nth-child(3) p:not(.work__kicker) { color: rgba(255, 255, 255, .85); }
.work__item:nth-child(2) p:not(.work__kicker) { color: var(--ink-2); }

.work__item p:last-of-type { margin-bottom: 22px; }

.work__media {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: center;
  min-width: 0;
  min-height: 220px;
}

/* Kompas */
.compass {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.compass__dial {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(70%, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#083488 0 36deg, #0FE0F7 36deg 72deg, #763899 72deg 108deg, #083488 108deg 144deg, #0FE0F7 144deg 180deg, #763899 180deg 216deg, #083488 216deg 252deg, #0FE0F7 252deg 288deg, #763899 288deg 324deg, #083488 324deg 360deg);
  box-shadow: 0 30px 60px -25px rgba(8, 52, 136, .5);
  animation: stl-spin 40s linear infinite;
}

.compass__core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  text-align: center;
  animation: stl-spin 40s linear infinite reverse;
}

.compass__num {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
}

.compass__label {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.compass__legend {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.compass__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-alt);
}

.compass__legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

/* Maketa aplikace (dekorace) */
.mock {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(1, 13, 25, .45);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -40px rgba(1, 13, 25, .9);
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mock__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

.mock__url {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  height: 18px;
  padding: 0 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  margin-left: 10px;
}

.mock__url i { display: block; width: 34%; height: 5px; border-radius: 2.5px; background: rgba(255, 255, 255, .3); }

.mock__body { display: grid; grid-template-columns: 96px 1fr; }

.mock__menu {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px 12px;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.mock__menu i { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); transition: background .5s; }
.mock__menu i:first-child { height: 7px; background: var(--cyan); }
.mock__menu i:nth-child(1) { width: 70%; }
.mock__menu i:nth-child(2) { width: 55%; }
.mock__menu i:nth-child(3) { width: 80%; }
.mock__menu i:nth-child(4) { width: 48%; }
.mock__menu i:nth-child(5) { width: 62%; }

.mock__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 12px 10px;
}

.mock__head > i { display: block; width: 30%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .5); }

.mock__tabs { display: flex; gap: 6px; }
.mock__tabs i { display: block; width: 44px; height: 16px; border-radius: 8px; background: rgba(255, 255, 255, .12); transition: background .5s; }
.mock__tabs i:first-child { background: rgba(15, 224, 247, .5); }

.mock__cols,
.mock__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr .8fr auto;
  gap: 10px;
  align-items: center;
}

.mock__cols { padding: 6px 12px 8px; }
.mock__cols i { display: block; width: 50%; height: 5px; border-radius: 2.5px; background: rgba(255, 255, 255, .22); }
.mock__cols i:last-child { width: 28px; background: none; }

.mock__row {
  padding: 9px 12px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  transition: background .5s, transform .5s, box-shadow .5s;
}

.mock__row i { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.mock__row i:first-child { background: rgba(255, 255, 255, .35); }
.mock__row .tag { width: 28px; height: 8px; border-radius: 4px; }

.mock__row.is-on {
  background: rgba(15, 224, 247, .12);
  transform: scale(1.03);
  box-shadow: 0 14px 30px -18px rgba(15, 224, 247, .8);
}

.mock__row .tag { transition: transform .5s; }
.mock__row.is-on .tag { transform: scale(1.35); }

/* Maketa srovnávače */
.mock2 {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  border-radius: 16px;
  overflow: hidden;
  background: #F1F2F6;
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 40px 80px -40px rgba(1, 13, 25, .9);
}

.mock2__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(1, 13, 25, .08);
}

.mock2__dots { display: flex; align-items: center; gap: 6px; }
.mock2__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(1, 13, 25, .18); }

.mock2__url {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  height: 20px;
  padding: 0 10px;
  border-radius: 10px;
  background: #F1F2F6;
}

.mock2__url i { display: block; width: 38%; height: 5px; border-radius: 3px; background: rgba(1, 13, 25, .2); }

.mock2__avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #083488, #763899); }

.mock2__list { display: grid; gap: 8px; padding: 12px 14px 14px; }

.mock2__row {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto 22px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(1, 13, 25, .08);
  border-radius: 12px;
  background: #fff;
  transition: transform .5s, box-shadow .5s, border-color .5s;
}

.mock2__row.is-on {
  transform: scale(1.03);
  border-color: rgba(8, 52, 136, .5);
  box-shadow: 0 16px 30px -18px rgba(1, 13, 25, .5);
}

.mock2__col { display: grid; gap: 6px; }
.mock2__col i { display: block; border-radius: 3px; background: rgba(1, 13, 25, .14); height: 6px; }
.mock2__col--a i:nth-child(1) { width: 44px; height: 9px; border-radius: 4.5px; background: rgba(1, 13, 25, .3); }
.mock2__col--a i:nth-child(2) { width: 70%; background: rgba(1, 13, 25, .3); }
.mock2__col--a i:nth-child(3) { width: 45%; height: 4px; }
.mock2__col--b i:nth-child(1) { width: 80%; }
.mock2__col--b i:nth-child(2) { width: 60%; }
.mock2__col--b i:nth-child(3) { width: 70%; }

.mock2__price {
  height: 10px;
  border-radius: 5px;
  background: rgba(1, 13, 25, .3);
  transition: background .5s, transform .5s;
}

.mock2__row.is-on .mock2__price { background: var(--blue); transform: scale(1.15); }

.mock2__chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(1, 13, 25, .15);
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
  color: rgba(1, 13, 25, .45);
}

/* ---------- Kdo jsme ----------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.about .h2 { max-width: 18ch; margin-bottom: 22px; }
.about__text { margin: 0 0 22px; max-width: 60ch; font-size: 16.5px; color: var(--ink-2); }

.faces {
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
  padding: 8px 0 0;
  margin: 12px 0 0;
}

.faces__item {
  position: relative;
  width: clamp(52px, 5vw, 68px);
  height: clamp(52px, 5vw, 68px);
  padding: 0;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: linear-gradient(160deg, #083488, #763899);
  margin-left: -14px;
  cursor: default;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}

.faces__item:first-of-type { margin-left: 0; }

.faces__item img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 0;
}

.faces__item:hover,
.faces__item:focus-visible {
  transform: translateY(-6px) scale(1.18);
  z-index: 20;
  box-shadow: 0 14px 30px -12px rgba(8, 52, 136, .6);
}

.faces__more {
  /* Bez position by se vykreslilo pod fotkami – ty pozicované jsou. */
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(52px, 5vw, 68px);
  height: clamp(52px, 5vw, 68px);
  margin-left: -14px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(8, 52, 136, .18);
  color: var(--blue);
  font-size: clamp(10px, .9vw, 12px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  letter-spacing: .02em;
}

.faces__tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  z-index: 30;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.35;
  white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(1, 13, 25, .6);
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}

.faces__tip b { display: block; font-weight: 700; }
.faces__tip span { color: rgba(255, 255, 255, .78); }

.owner {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 24px;
  background: var(--navy);
  color: #fff;
}

.owner__glow-a,
.owner__glow-b {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(20px);
}

.owner__glow-a { right: -25%; top: -30%; background: radial-gradient(circle, rgba(118, 56, 153, .6), rgba(118, 56, 153, 0) 70%); }
.owner__glow-b { left: -25%; bottom: -30%; width: 60%; background: radial-gradient(circle, rgba(15, 224, 247, .35), rgba(15, 224, 247, 0) 70%); }

.owner__inner { position: relative; }

.owner h3 {
  margin: 0 0 16px;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: normal;
  color: var(--cyan);
}

.owner p { margin: 0 0 14px; font-size: 15.5px; color: rgba(255, 255, 255, .9); }

.owner .owner__note {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.7;
  color: rgba(255, 255, 255, .6);
}

.owner__logos { display: flex; flex-wrap: wrap; gap: 10px; }

.owner__logos span {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
}

.owner__logos img { height: 30px; width: auto; }

/* ---------- Historie: časová osa ----------------------------------------- */

.tl { position: relative; margin-top: clamp(56px, 8vw, 110px); }

.tl__inner {
  position: relative;
  display: flex;
  flex-direction: column;
}

.tl__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter) 32px;
}

.tl__range {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-3);
}

.tl__bar {
  position: relative;
  width: 140px;
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(8, 52, 136, .12);
}

.tl__fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, #083488, #0FE0F7);
}

.tl__rule { position: relative; height: 2px; margin: 0 0 -2px; background: rgba(8, 52, 136, .08); }

.tl__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;

  /* Scroller s overflow-x ořezává i svisle. Padding mu přidá místo, záporné
     okraje ho vrátí na původní pozici v layoutu.
     Nahoře 48 px: tečka je 7 px nad hranou karty, při hoveru se karta zvedne
     o 6 px a tečka se i s azurovým prstencem zvětší 1,5× (transform škáluje
     i box-shadow) → nejvyšší bod je 31 px nad hranou. Dole 46 px na stín. */
  padding: 48px 0 46px;
  margin: -48px 0 -46px;
}

.tl__track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter);
}

.tl__item {
  position: relative;
  width: clamp(240px, 25vw, 320px);
  padding: 30px 18px 20px clamp(16px, 2vw, 28px);
  border-radius: 0 0 18px 18px;
  scroll-snap-align: start;
  transition: background .35s, transform .35s, box-shadow .35s;
}

.tl__item:hover,
.tl__item:focus-within {
  background: #fff;
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -30px rgba(8, 52, 136, .45);
}

.tl__item::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c, var(--blue));
}

.tl__item[data-from]::before { background: linear-gradient(90deg, var(--from), var(--c) 45%, var(--c)); }

.tl__dot {
  position: absolute;
  top: -7px;
  left: clamp(16px, 2vw, 28px);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--c, var(--blue));
  box-shadow: 0 0 0 4px var(--bg);
  transition: transform .35s, box-shadow .35s;
}

.tl__item:hover .tl__dot,
.tl__item:focus-within .tl__dot {
  transform: scale(1.5);
  box-shadow: 0 0 0 6px #fff, 0 0 0 10px rgba(15, 224, 247, .35);
}

.tl__year {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--c, var(--blue));
  opacity: .9;
}

.tl__date {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.tl__item p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* Připnutá varianta: osa se posouvá podle scrollu (jen desktop, bez reduced motion). */
.tl.is-pinned { height: 200vh; }

.tl.is-pinned .tl__inner {
  position: sticky;
  top: 15vh;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.tl.is-pinned .tl__scroller {
  overflow: hidden;
  scroll-snap-type: none;
}
.tl.is-pinned .tl__track { will-change: transform; }

/* ---------- Kontakt ------------------------------------------------------ */

.sec--contact { background: linear-gradient(180deg, #F6F8FB, #EEF2FA); }
.sec--contact .h2 { max-width: 20ch; margin-bottom: 48px; }

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(1, 13, 25, .45);
}

.contact__person {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(160deg, #010D19, #083488 60%, #3B2D7F);
  color: #fff;
}

.contact__person > * { position: relative; }

/* Za obsahem, mimo tok – proto až za pravidlem výše. */
.contact__glow {
  position: absolute;
  right: -25%;
  bottom: -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 224, 247, .35), rgba(15, 224, 247, 0) 70%);
  filter: blur(30px);
}

.contact__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.contact__photo {
  flex: 0 0 108px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(160deg, #083488, #763899);
  border: 3px solid rgba(255, 255, 255, .18);
  box-shadow: 0 20px 40px -18px rgba(1, 13, 25, .8);
}

.contact__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transform: scale(1.15);
  transform-origin: 50% 20%;
}

.contact__role {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.contact__name {
  display: block;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 700;
  line-height: 1.15;
}

.contact__links { display: flex; flex-wrap: wrap; gap: 10px; }

.contact__note {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.contact__note p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.contact__note p:last-child { margin-bottom: 0; }
.contact__note p,
.contact__note a { overflow-wrap: anywhere; }
.contact__note a { color: var(--cyan); }
.contact__note a:hover { color: #fff; }

.press {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
}

.press__label {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
}

.press h3 {
  margin: 0;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.15;
}

.press__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
}

.press__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(8, 52, 136, .1);
  border-radius: 18px;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.press__card:hover {
  color: var(--ink);
  transform: translateY(-3px);
  border-color: rgba(15, 224, 247, .7);
  box-shadow: 0 22px 40px -24px rgba(8, 52, 136, .45);
}

.press__card-top { display: flex; align-items: center; justify-content: space-between; }

.press__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #083488, #763899);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.press__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.press__card b { display: block; font-size: 15px; font-weight: 700; }
.press__desc { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }

/* ---------- Patička ------------------------------------------------------ */

.foot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #010D19 0%, #083488 55%, #3B2D7F 100%);
  color: rgba(255, 255, 255, .75);
  font-size: 14.5px;
}

.foot__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .9;
  pointer-events: none;
}

.foot__glow {
  position: absolute;
  left: -10%;
  bottom: -40%;
  width: 60vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 56, 153, .45), rgba(118, 56, 153, 0) 60%);
  filter: blur(40px);
  pointer-events: none;
}

.foot__inner {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(40px, 5vw, 64px);
}

.foot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.foot__brand { display: grid; gap: 22px; justify-items: start; }
.foot__brand img { height: 48px; width: auto; }

.foot__claim {
  margin: 0;
  max-width: 26ch;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, .9);
}

.foot__col-title {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.foot__address { line-height: 1.8; font-style: normal; }
.foot__address b { color: #fff; font-weight: 700; }
.foot__address span { color: rgba(255, 255, 255, .68); }

.foot__links { display: flex; flex-direction: column; gap: 10px; line-height: 1.4; }
.foot__links a { color: #fff; font-weight: 600; text-decoration: none; }
.foot__links a:hover { color: var(--cyan); }

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13.5px;
}

.foot__group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #fff;
}

.foot__group a { display: inline-flex; align-items: center; }
.foot__group img { height: 12px; width: auto; position: relative; top: 1px; }

.foot__copy { color: rgba(255, 255, 255, .68); }

.foot__cookies {
  margin: 14px 0 0;
  max-width: 70ch;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .62);
}

/* ---------- Animace ------------------------------------------------------ */

@keyframes stl-pulse { 0%, 100% { opacity: .55 } 50% { opacity: 1 } }
@keyframes stl-eq { 0%, 100% { transform: scaleY(.55) } 50% { transform: scaleY(1) } }
@keyframes stl-ring-in {
  0%, 15% { transform: rotate(var(--a)) translateX(15px); opacity: 1 }
  55%, 70% { transform: rotate(var(--a)) translateX(0); opacity: 0 }
  100% { transform: rotate(var(--a)) translateX(15px); opacity: 1 }
}
@keyframes stl-ring-core {
  0%, 20% { transform: scale(1); background: #083488; box-shadow: none }
  60%, 72% { transform: scale(2.6); background: #0FE0F7; box-shadow: 0 0 0 6px rgba(15, 224, 247, .25) }
  100% { transform: scale(1); background: #083488; box-shadow: none }
}
@keyframes stl-rows { 0%, 100% { transform: scaleX(.7) } 50% { transform: scaleX(1) } }
@keyframes stl-merge-ball {
  0%, 8% { transform: translate(var(--x), var(--y)) scale(1); opacity: 1 }
  42% { transform: translate(0, 0) scale(.6); opacity: 1 }
  46%, 78% { transform: translate(0, 0) scale(0); opacity: 0 }
  84% { transform: translate(calc(var(--x) * 1.15), calc(var(--y) * 1.15)) scale(.9); opacity: 1 }
  100% { transform: translate(var(--x), var(--y)) scale(1); opacity: 1 }
}
@keyframes stl-net {
  0%, 8% { opacity: 1; transform: scale(1) }
  40% { opacity: 0; transform: scale(.15) }
  41%, 82% { opacity: 0; transform: scale(1.15) }
  100% { opacity: 1; transform: scale(1) }
}
@keyframes stl-net-dot {
  0% { offset-distance: 0%; opacity: 0 }
  15% { opacity: 1 }
  85% { opacity: 1 }
  100% { offset-distance: 100%; opacity: 0 }
}
@keyframes stl-drift { from { transform: translate(-6px, 4px) } to { transform: translate(6px, -5px) } }
@keyframes stl-blob-spin { to { transform: rotate(360deg) } }
@keyframes stl-merge-core {
  0%, 38% { transform: scale(0) }
  48% { transform: scale(1.12) }
  54%, 76% { transform: scale(1) }
  82%, 100% { transform: scale(0) }
}
@keyframes stl-merge-logo {
  0%, 50% { opacity: 0; transform: scale(.7) }
  58%, 74% { opacity: 1; transform: scale(1) }
  80%, 100% { opacity: 0; transform: scale(.7) }
}
@keyframes stl-merge-ring {
  0%, 44% { transform: scale(.9); opacity: 0 }
  48% { opacity: .9 }
  70% { transform: scale(2); opacity: 0 }
  100% { transform: scale(2); opacity: 0 }
}
@keyframes stl-spin { to { transform: rotate(360deg) } }
@keyframes stl-in { from { opacity: 0; transform: translateY(18px) scale(.97) } to { opacity: 1; transform: none } }

/* Odhalování při scrollu: skryjeme jen když je JS aktivní. */
.js [data-reveal],
.js [data-fact] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

.js [data-reveal].is-in,
.js [data-fact].is-in {
  opacity: 1;
  transform: none;
}

.js [data-words] .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}

.js [data-words] .word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .5s;
}

.js [data-words].is-in .word > span {
  transform: none;
  opacity: 1;
}

.js .eq__card,
.js .eq__op,
.js .eq__result { opacity: 0; transform: translateY(24px) scale(.96); }
.js .eq__op { transform: scale(.4); }

.js .eq.is-in .eq__card,
.js .eq.is-in .eq__op,
.js .eq.is-in .eq__result {
  opacity: 1;
  transform: none;
  transition: opacity .6s, transform .8s cubic-bezier(.2, .8, .2, 1);
}

.js .eq.is-in > *:nth-child(1) { transition-delay: 0ms }
.js .eq.is-in > *:nth-child(2) { transition-delay: 350ms }
.js .eq.is-in > *:nth-child(3) { transition-delay: 450ms }
.js .eq.is-in > *:nth-child(4) { transition-delay: 800ms }
.js .eq.is-in > *:nth-child(5) { transition-delay: 900ms }
.js .eq.is-in > *:nth-child(6) { transition-delay: 1250ms }
.js .eq.is-in > *:nth-child(7) { transition-delay: 1350ms }
.js .eq.is-in > *:nth-child(8) { transition-delay: 1700ms }
.js .eq.is-in > *:nth-child(9) { transition-delay: 1850ms }

/* Hover na kartě rovnice: vybraná roste, sousedky ustupují, štítky vylétnou. */
@media (hover: hover) and (pointer: fine) {
  .eq:hover .eq__card,
  .eq:hover .eq__result {
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s, box-shadow .45s;
    transform: scale(.95);
    opacity: .7;
  }

  .eq .eq__card:hover {
    transform: scale(1.06);
    opacity: 1;
    z-index: 2;
    box-shadow: 0 40px 80px -36px rgba(8, 52, 136, .55);
  }

  .eq .eq__result:hover {
    transform: translateY(-8px) scale(1.03);
    opacity: 1;
    z-index: 2;
    box-shadow: 0 40px 90px -30px rgba(15, 224, 247, .55), 0 30px 60px -30px rgba(118, 56, 153, .6);
  }

  .eq__result:hover::before {
    opacity: 1;
    animation: stl-ring-spin 5s linear infinite;
  }

  .eq__result:hover::after {
    animation: stl-sheen .9s cubic-bezier(.2, .8, .2, 1);
  }

  .eq__card:hover .burst > span,
  .eq__result:hover .burst > span {
    opacity: 1;
    transform: translate(calc(-50% + var(--bx)), var(--by)) rotate(var(--br)) scale(1);
  }

  .eq__card:hover .burst > span:nth-child(2) { transition-delay: 45ms }
  .eq__card:hover .burst > span:nth-child(3) { transition-delay: 90ms }
  .eq__card:hover .burst > span:nth-child(4) { transition-delay: 135ms }
  .eq__card:hover .burst > span:nth-child(5) { transition-delay: 180ms }
  .eq__card:hover .burst > span:nth-child(6) { transition-delay: 225ms }
  .eq__card:hover .burst > span:nth-child(7) { transition-delay: 270ms }
}

/* ---------- Media queries ------------------------------------------------ */

@media (max-width: 1179.98px) {
  .nav__link { padding: 7px 8px; }
}

/* Rovnice v řadě: 5 sloupců + 8 mezer po 22 px. Pod ~1280 px klesne obsah
   karty pod 142 px, což je šířka slova „Technologie" v nadpisu — od té chvíle
   se text láme do úzkého sloupce a karty se rozjedou na výšku. */
@media (max-width: 1279.98px) {
  .eq {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 640px;
  }

  .eq__op {
    justify-self: center;
    margin: -20px 0;
  }
}

@media (max-width: 899.98px) {
  :root { --header-h: 78px; }

  .nav { display: none; }
  .burger { display: flex; }

  .split__sticky { position: static; }

  .work__item { min-height: 0; padding: 24px; }

  .tl__head { padding-bottom: 20px; }
}

@media (max-width: 719.98px) {
  body { font-size: 16px; }

  /* Makety rozhraní jsou čistá dekorace a na telefonu z nich zbydou nečitelné
     proužky. Bez nich se karty vejdou na výšku výřezu a zapne se překládání. */
  .work__media { display: none; }

  .hero { min-height: auto; }
  .hero__inner { padding-top: clamp(112px, 26vw, 150px); }
  .hero__visual { max-width: 380px; justify-self: center; margin-inline: auto; }

  .mock__body { grid-template-columns: 64px 1fr; }

  /* Bez přepnutí do sloupce si legenda ukousne šířku a ciferník se zdeformuje. */
  .compass { flex-direction: column; }
  .compass__dial { flex: none; width: min(70%, 220px); }
  .compass__legend { position: static; justify-content: center; margin-top: 18px; }

  .faces__item,
  .faces__more { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal],
  .js [data-fact],
  .js [data-words] .word > span,
  .js .eq__card,
  .js .eq__op,
  .js .eq__result {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__canvas,
  .foot__canvas { display: none; }
}

@media print {
  .hdr,
  .skip,
  .hero__canvas,
  .foot__canvas,
  .blob,
  .burst { display: none !important; }

  body { background: #fff; color: #000; font-size: 11pt; }
  .work__item, .rule, .tl__item { break-inside: avoid; }
}

/* ---------- 404 ----------------------------------------------------------- */

/* Styly jsou tady, a ne v <style> na stránce, protože CSP povoluje jen
   externí stylesheety (style-src-elem 'self'). */

.err-body { background: var(--navy); }

.err {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  background: linear-gradient(160deg, #010D19 0%, #083488 45%, #3B2D7F 75%, #763899 100%);
  color: #fff;
}

.err__glow {
  position: absolute;
  left: 55%;
  bottom: -25%;
  width: 70vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 224, 247, .28), rgba(15, 224, 247, 0) 60%);
  filter: blur(40px);
  pointer-events: none;
}

.err__inner {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(48px, 10vw, 96px) var(--gutter);
}

.err__logo { display: inline-block; margin-bottom: clamp(32px, 6vw, 56px); }
.err__logo img { height: 40px; width: auto; }

.err__code {
  margin: 0;
  font-size: clamp(88px, 22vw, 200px);
  font-weight: 700;
  line-height: .85;
  letter-spacing: -.04em;
  background: linear-gradient(100deg, #0FE0F7 20%, rgba(255, 255, 255, .35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.err__title {
  margin: clamp(18px, 3vw, 28px) 0 0;
  max-width: 18ch;
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.12;
}

.err__text {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
}

.err__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 40px);
}

.err__note {
  margin: clamp(36px, 6vw, 56px) 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
}

.err__note a { color: var(--cyan); overflow-wrap: anywhere; }
.err__note a:hover { color: #fff; }
