/* =========================================================================
   LBMKT — brutalist landing page
   Přepis Figma frame "brutalist-landing-page" (e0zDPMvOdmZcqLTADAuLUG · 2:4)
   ========================================================================= */

/* ---------- 1. FONTY (self-hosted, variable, latin + latin-ext) ---------- */

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/unbounded-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: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+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: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 2. TOKENY ---------- */

:root {
  /* barvy — Figma používala dva takřka shodné oranžové odstíny
     (#ff4d00 / #ff4f00); sjednoceno na jeden token */
  --orange: #ff4d00;
  --orange-dark: #992d00;
  --black: #000000;
  --ink: #0a0a0a;
  --white: #ffffff;
  --surface: #f4f4f6;
  --text-muted: #55555c;
  --text-dim: #888890;
  --text-dim-2: #a0a0ab;
  --text-bright: #eaeaea;

  /* typografie */
  --font-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* rytmus */
  --pad: clamp(20px, 5.56vw, 80px);
  --maxw: 1440px;
}

/* ---------- 3. RESET ---------- */

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }

::selection { background: var(--orange); color: var(--white); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--orange);
  color: var(--white);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
}
.skip-link:focus { left: 0; }

/* stránka je 1440px grid — vycentrovaná na širokých monitorech */
.page {
  max-width: var(--maxw);
  margin-inline: auto;
  background: var(--white);
}

/* ---------- 4. SDÍLENÉ PRVKY ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.eyebrow--sm { font-size: 12px; }

.h-section {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.06vw, 44px);
  line-height: 1.1;
  color: var(--black);
}

.mono-body {
  font-family: var(--font-mono);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --- tlačítka --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  text-align: center;
  cursor: pointer;
  border: 0;
  transition: transform 0.14s cubic-bezier(0.2, 0, 0, 1),
              box-shadow 0.14s cubic-bezier(0.2, 0, 0, 1),
              background-color 0.14s linear;
}

/* hero CTA — oranžová výplň, bílý 2px rám */
.btn--hero {
  background: var(--orange);
  border: 2px solid var(--white);
  padding: 20px 36px;
  font-weight: 800;
  font-size: clamp(13px, 1.11vw, 16px);
  color: var(--white);
}
.btn--hero:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--white);
}
.btn--hero:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--white); }

/* cta-break — 3px bílý rám + tvrdý bílý stín */
.btn--brutal {
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 6px 6px 0 var(--white);
  padding: 20px 40px;
  font-weight: 900;
  font-size: clamp(14px, 1.25vw, 18px);
  color: var(--white);
  text-transform: uppercase;
}
.btn--brutal:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--white); }
.btn--brutal:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--white); }

/* kontaktní CTA — 2px černý rám + tvrdý černý stín */
.btn--dark-shadow {
  background: var(--orange);
  border: 2px solid var(--black);
  box-shadow: 6px 6px 0 var(--black);
  padding: 16px 40px;
  font-weight: 900;
  font-size: 14px;
  color: var(--white);
}
.btn--dark-shadow:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--black); }
.btn--dark-shadow:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--black); }

/* malé šipkové tlačítko v ai-creative */
.btn--arrow {
  background: var(--orange);
  border: 2px solid var(--black);
  padding: 10px 16px;
  font-weight: 900;
  font-size: 11px;
  color: var(--white);
  white-space: nowrap;
}
.btn--arrow:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--black); }

/* =========================================================================
   HERO
   ========================================================================= */

.hero {
  position: relative;
  min-height: 900px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--pad);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__ident { display: flex; flex-direction: column; gap: 8px; }
.hero__name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--orange);
}
.hero__roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__roles li {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.35;
  color: var(--white);
  opacity: 0.8;
}
.hero__roles .hero__roles-lead { font-weight: 700; font-size: 14px; letter-spacing: 0.02em; opacity: 1; }
.hero__roles .hero__roles-sub { font-size: 11px; opacity: 0.5; }

/* navigace + status v pravém horním rohu hero */
.hero__utils {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 20px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--black);
  border: 1px solid var(--orange);
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--white);
  white-space: nowrap;
}
.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.6); }
  50%      { opacity: 0.55; box-shadow: 0 0 0 6px rgba(255, 77, 0, 0); }
}

.hero__mid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1000px;
  padding-block: 40px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.72vw, 68px);
  line-height: 1.05;
  color: var(--white);
}
.hero__title .accent { color: var(--orange); display: block; }
.hero__lede {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(13px, 1.11vw, 16px);
  line-height: 1.6;
  color: var(--white);
  max-width: 720px;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__proof {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}
.hero__proof-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--white);
  opacity: 0.6;
}
.hero__proof-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.39vw, 20px);
  color: var(--white);
}

/* =========================================================================
   ANTI-PITCH
   ========================================================================= */

.anti-pitch {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 96px var(--pad);
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  background: var(--white);
}
.anti-pitch__head {
  flex: 0 0 405px;
  max-width: 405px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.anti-pitch__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.22vw, 32px);
  line-height: 1.1;
  color: var(--black);
}
.anti-pitch__list {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.anti-pitch__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--black);
}
.anti-pitch__item h3 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(15px, 1.25vw, 18px);
  color: var(--black);
}
.anti-pitch__item p { font-size: 14px; line-height: 1.5; }

/* =========================================================================
   LOGO STRIP
   ========================================================================= */

.logo-strip {
  background: var(--white);
  border-top: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  padding: 40px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.logo-strip__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
}
/* nekonečný pás — dvě identické stopy jedoucí do ztracena */
.logo-strip__marquee {
  display: flex;
  gap: 32px;
  /* tvrdý ořez na hraně mřížky — žádné mizení, brutalismus měkké okraje nemá */
  overflow: hidden;
}
.logo-strip__track {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: none;
  display: flex;
  align-items: center;
  gap: 32px;
  animation: lb-marquee 46s linear infinite;
}
.logo-strip__marquee:hover .logo-strip__track { animation-play-state: paused; }
.logo-strip__track li {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(16px, 1.67vw, 24px);
  color: var(--ink);
  white-space: nowrap;
}
.logo-strip__track li::after {
  content: '/';
  font-weight: 300;
  color: var(--orange);
}
@keyframes lb-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - 32px)); }
}

/* =========================================================================
   SERVICES — monolith tower
   ========================================================================= */

.services {
  position: relative;
  background: var(--black);
  padding: 120px 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
/* dvojitá svislá kolejnice vlevo */
.services__rail,
.services__rail-ghost {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--orange);
  pointer-events: none;
}
.services__rail { left: 140px; width: 2px; }
.services__rail-ghost { left: 146px; width: 1px; opacity: 0.3; }

.services__body {
  width: 800px;
  max-width: 100%;
  padding-left: 64px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.services__header { display: flex; flex-direction: column; gap: 24px; }
.services__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 3.89vw, 56px);
  line-height: 1.05;
  color: var(--white);
}
.rule-2 { height: 2px; background: var(--orange); border: 0; margin: 0; width: 100%; }
.rule-1 { height: 1px; background: var(--orange); opacity: 0.15; border: 0; margin: 0; width: 100%; }

.tower-item { display: flex; flex-direction: column; gap: 24px; }
.tower-item__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.tower-item__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 6.94vw, 100px);
  line-height: 0.8;
  color: var(--orange);
}
.tower-item__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-bottom: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--text-dim);
}
.tower-item__body { display: flex; flex-direction: column; gap: 12px; }
.tower-item__body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 1.67vw, 24px);
  line-height: 1.2;
  color: var(--white);
}
.tower-item__body p {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}

.services__footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 40px;
}
.services__footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.services__footer-row span:first-child { color: var(--text-dim); }
.services__footer-row span:last-child { color: var(--orange); }

/* =========================================================================
   AI CREATIVE
   ========================================================================= */

.ai-creative {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-bottom: 4px solid var(--black);
  min-height: 860px;
}
.ai-creative__portrait {
  flex: 0 0 440px;
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--black);
  overflow: hidden;
}
.ai-creative__portrait > img,
.ai-creative__portrait > video {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ai-creative__banner {
  background: var(--black);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
}
.ai-creative__banner b { font-weight: 700; font-size: 12px; color: var(--orange); }
.ai-creative__banner span { font-weight: 400; font-size: 11px; color: var(--text-dim-2); }

.ai-creative__content {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--surface);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
}
.ai-creative__head { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.ai-creative__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 2.64vw, 38px);
  line-height: 1.15;
  color: var(--black);
}
/* mřížka kreativních výstupů */
.output-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
}
.output-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(11px, 0.9vw, 13px);
  line-height: 1.3;
  color: var(--ink);
}
.output-grid li::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--orange);
}

.ai-creative__blocks {
  display: flex;
  gap: 40px;
  width: 100%;
  flex-wrap: wrap;
}
.detail-block {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.detail-block__head { display: flex; align-items: center; gap: 8px; }
.detail-block__head i {
  width: 12px;
  height: 12px;
  flex: none;
  background: var(--orange);
}
.detail-block--dark .detail-block__head i { background: var(--black); }
.detail-block__head h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(14px, 1.11vw, 16px);
  color: var(--black);
}
.detail-block p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.quick-connect {
  width: 100%;
  background: var(--white);
  border: 2px solid var(--black);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.quick-connect__text { display: flex; flex-direction: column; gap: 4px; }
.quick-connect__text b {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--black);
}
.quick-connect__text span {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
}

/* pás AI nástrojů — drží se u spodní hrany sloupce */
.ai-stack {
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 10, 10, 0.15);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-stack__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--orange);
}
.ai-stack__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.ai-stack__row li {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(13px, 1.25vw, 18px);
  color: var(--ink);
  white-space: nowrap;
}
.ai-stack__row li:not(:last-child)::after {
  content: '/';
  font-weight: 300;
  color: var(--orange);
}

/* =========================================================================
   CTA BREAK — 73 % glitch
   ========================================================================= */

.cta-break {
  background: var(--black);
  padding: 80px clamp(20px, 6.94vw, 100px);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.cta-break__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.97vw, 14px);
}
.cta-break__meta > b { font-weight: 700; color: var(--orange); text-transform: uppercase; white-space: nowrap; }
.cta-break__meta > i { flex: 1 1 auto; height: 2px; background: var(--orange); }
.cta-break__meta > span { font-weight: 400; color: var(--white); white-space: nowrap; }

.cta-break__row {
  display: flex;
  align-items: center;
  gap: 80px;
}

.glitch {
  position: relative;
  flex: 0 0 480px;
  width: 480px;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(96px, 12.5vw, 180px);
  line-height: 1;
}
.glitch__layer {
  position: absolute;
  left: 0;
  right: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.glitch__layer--back { top: -6px; color: var(--orange-dark); }
.glitch__layer--ghost { top: 8px; left: 6px; color: var(--white); opacity: 0.3; }
.glitch__main {
  position: relative;
  width: 100%;
  text-align: center;
  color: var(--orange);
}
.glitch__bar { position: absolute; }
.glitch__bar--a { background: var(--black); left: 40px;  top: 110px; width: 240px; height: 6px; }
.glitch__bar--b { background: var(--orange); left: 120px; top: 130px; width: 180px; height: 4px; }
.glitch__bar--c { background: var(--black); left: 20px;  top: 80px;  width: 120px; height: 12px; }

.cta-break__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.cta-break__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.64vw, 38px);
  line-height: 1.2;
  color: var(--white);
}
.cta-break__title .accent { color: var(--orange); }
.cta-break__lede {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.11vw, 16px);
  line-height: 1.5;
  color: var(--text-bright);
}

/* =========================================================================
   RESULTS
   ========================================================================= */

.results { background: var(--white); }

.results__header {
  background: var(--surface);
  border-bottom: 2px solid var(--black);
  padding: 96px var(--pad) 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-row {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 64px var(--pad);
  border-bottom: 2px solid var(--black);
}
.case-row--light { background: var(--white); }
.case-row--dark  { background: var(--black); }
.case-row--tint  { background: var(--surface); }

.case-row__id {
  flex: 0 0 340px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-row__id b {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--orange);
}
.case-row__id h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 1.95vw, 28px);
  line-height: 1.1;
  color: var(--black);
}
.case-row--dark .case-row__id h3 { color: var(--white); }

.case-row__metric {
  flex: 0 0 280px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.case-row__metric b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.44vw, 64px);
  line-height: 1;
  color: var(--orange);
}
.case-row__metric span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--black);
}
.case-row--dark .case-row__metric span { color: var(--white); }

.case-row__desc {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.case-row--dark .case-row__desc { color: var(--white); }

.results__banner {
  display: flex;
  height: 380px;
  border-bottom: 2px solid var(--black);
}
.results__banner-card {
  flex: 0 0 340px;
  background: var(--orange);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.results__banner-card b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.2;
  color: var(--white);
}
.results__banner-card span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--black);
}
.results__banner-img {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.results__banner-img img { width: 100%; height: 100%; object-fit: cover; }
.results__banner-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  mix-blend-mode: color-burn;
}

/* =========================================================================
   PROCESS
   ========================================================================= */

.process {
  background: var(--surface);
  padding: 80px var(--pad);
  display: flex;
  flex-direction: column;
}
.process__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 48px;
  border-bottom: 2px solid var(--ink);
}
.process__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.process__meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  opacity: 0.8;
  text-align: right;
}
.process__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.06vw, 44px);
  line-height: 1.1;
  color: var(--ink);
}

.process__grid {
  margin-top: 0;
  background: var(--surface);
  border: 3px solid var(--ink);
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.process-box {
  background: var(--white);
  min-height: 360px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.process-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.process-box__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 4.44vw, 64px);
  line-height: 1;
  color: var(--ink);
}
.process-box__num--accent { color: var(--orange); }
.process-box__badge {
  padding: 4px 8px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--ink);
  white-space: nowrap;
}
.process-box__badge--accent { background: var(--orange); }
.process-box__body { display: flex; flex-direction: column; gap: 12px; }
.process-box__body h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.25;
  color: var(--ink);
}
.process-box__body p {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.8;
}

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */

.testimonials {
  background: var(--surface);
  border-bottom: 2px solid var(--black);
  padding: 120px var(--pad);
  display: flex;
  flex-direction: column;
}
.testimonials__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 64px;
  border-bottom: 2px solid var(--black);
}
/* pás log klientů */
.client-logos {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 0;
  border-bottom: 2px solid var(--black);
}
.client-logos__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--orange);
}
.client-logos__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
}
.client-logos__row img {
  height: 30px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  /* sjednocení do jedné černé — barevná loga by rozbila monochrom */
  filter: brightness(0);
  opacity: 0.75;
  transition: opacity 0.15s linear;
}
/* svislé znaky (Peugeot, Oslo Skin) potřebují víc výšky, aby měly stejnou opticku váhu */
.client-logos__row img.is-tall { height: 46px; }
/* široká loga (poměr přes 4:1) narážela na strop max-width a vycházela menší než ostatní */
.client-logos__row img.is-wide { height: 38px; max-width: 180px; }
.client-logos__row li:hover img { opacity: 1; }

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 0;
  border-bottom: 2px solid var(--black);
}
.testimonial:last-child { border-bottom: 0; }
.testimonial blockquote {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(17px, 1.95vw, 28px);
  line-height: 1.35;
  color: var(--black);
  text-wrap: pretty;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.testimonial figcaption::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
  flex: none;
}
.testimonial__who {
  display: flex;
  gap: 16px;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: clamp(12px, 0.97vw, 14px);
}
.testimonial__who b {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--black);
}
.testimonial__who span {
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--text-muted);
}

/* =========================================================================
   ABOUT
   ========================================================================= */

.about {
  position: relative;
  min-height: 800px;
  border: 2px solid var(--black);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  overflow: hidden;
  isolation: isolate;
}
.about__bg { position: absolute; inset: 0; z-index: -1; }
.about__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}
.about__head { display: flex; flex-direction: column; gap: 24px; }
.about__cols { display: flex; gap: 64px; align-items: flex-start; }
.about__claim {
  flex: 0 0 640px;
  max-width: 640px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 3.89vw, 56px);
  line-height: 1.05;
  color: var(--white);
}
.about__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about__text p {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim-2);
}
/* první odstavec nese hlavní sdělení — bílý a tučný */
.about__text p:first-child {
  font-weight: 700;
  font-size: clamp(14px, 1.11vw, 16px);
  color: var(--white);
}

/* certifikace pod textem — minimalisticky, jen řádek */
.about__certs {
  list-style: none;
  margin: 8px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.about__certs li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  white-space: nowrap;
}
.about__certs li:not(:last-child)::after {
  content: '/';
  color: var(--orange);
}

.stats-bar {
  background: var(--black);
  border: 2px solid var(--orange);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.stats-bar__divider {
  width: 2px;
  height: 40px;
  background: var(--orange);
  flex: none;
}
.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.stat > b {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--white);
}
.stat > strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(16px, 1.67vw, 24px);
  color: var(--orange);
}
.stat > span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim-2);
}

/* =========================================================================
   FAQ
   ========================================================================= */

.faq {
  background: var(--white);
  padding: 96px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.faq__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 48px;
  border-bottom: 2px solid var(--black);
}
.faq__header .h-section { font-weight: 800; }
.faq__list { border-top: 0; }
.faq__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid var(--black);
}
/* poslední otázku neuzavírat — sekci pod ní stejně ohraničuje kontakt */
.faq__item:last-child { border-bottom: 0; }
.faq__item h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 1.3;
  color: var(--black);
}
.faq__item p {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* =========================================================================
   CONTACT
   ========================================================================= */

.contact {
  background: var(--white);
  border-top: 2px solid var(--black);
  border-bottom: 4px solid var(--black);
  padding: 120px clamp(20px, 16.7vw, 240px) 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.contact__eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--orange);
}
.contact__title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  max-width: 800px;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.06vw, 44px);
  line-height: 1.1;
  color: var(--black);
}
.contact__lede {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
}

.contact__form {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.contact__fields {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--black);
  transition: border-color 0.15s linear;
}
.field__opt { font-weight: 400; color: var(--text-dim); }
.field:focus-within { border-color: var(--orange); }
.field > label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--black);
}
.field > input,
.field > textarea {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  color: var(--black);
  width: 100%;
  appearance: none;
  border-radius: 0;
}
.field > input::placeholder,
.field > textarea::placeholder { color: var(--text-dim); opacity: 1; }
.field > input:focus, .field > textarea:focus { outline: 0; }
.field > textarea {
  line-height: 1.6;
  min-height: 104px;
  resize: vertical;
}

/* past na roboty — skrytá, ale ne přes display:none (to roboti poznají) */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
}
.form-status.is-ok { color: var(--black); font-weight: 700; }
.form-status.is-error { color: var(--orange); font-weight: 700; }

.form-note {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
  text-align: center;
  max-width: 520px;
}

.btn[disabled] { opacity: 0.6; cursor: default; pointer-events: none; }

.contact__status {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  margin-top: 88px; /* Figma: 56px gap + 32px spacer frame */
  border-top: 1px solid var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
}
.contact__status b { font-weight: 700; color: var(--orange); }
.contact__status span { font-weight: 400; color: var(--text-muted); }

/* =========================================================================
   FOOTER
   ========================================================================= */

.footer {
  background: var(--white);
  border-top: 2px solid var(--black);
  padding: 64px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__brand b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(16px, 1.39vw, 20px);
  color: var(--black);
}
.footer__brand span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.footer__cols { display: flex; gap: 48px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col b {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--orange);
}
.footer__col a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--black);
  transition: color 0.12s linear;
}
.footer__col a:hover { color: var(--orange); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

/* =========================================================================
   CASE STUDIES — listing (case-studies.html)
   ========================================================================= */

/* --- hlavička s navigací --- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px var(--pad);
}
.site-header__brand { display: flex; flex-direction: column; gap: 4px; }
.site-header__brand b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(15px, 1.39vw, 20px);
  color: var(--white);
}
.site-header__brand span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.site-header__right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 24px);
  flex-wrap: wrap;
}
/* terminálová navigace — ./cesta */
.exec-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.exec-nav a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: #8e8894;
  white-space: nowrap;
  transition: color 0.12s linear;
}
.exec-nav a i { font-style: normal; }
.exec-nav a:hover { color: var(--white); }
.exec-nav a:hover i { color: var(--orange); }
.exec-nav a.is-active { color: var(--white); }
.exec-nav a.is-active i { color: var(--orange); }
.status--sm { font-size: 11px; padding: 5px 12px; }

/* --- hero --- */
.cs-hero {
  background: var(--black);
  padding: 80px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cs-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.17vw, 60px);
  line-height: 1.05;
  color: var(--white);
  max-width: 900px;
  margin: 0;
}
.cs-hero__lede {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.11vw, 16px);
  line-height: 1.6;
  color: var(--text-dim-2);
  max-width: 720px;
}

/* --- featured karta --- */
.cs-featured { background: var(--black); padding: 0 var(--pad) 80px; }
.featured-card {
  display: flex;
  align-items: stretch;
  background: #1a1a1f;
  border: 2px solid var(--orange);
}
.featured-card__img {
  position: relative;
  flex: 0 0 50%;
  min-height: 440px;
  overflow: hidden;
}
.featured-card__img img { width: 100%; height: 100%; object-fit: cover; }
.featured-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 15, 0.3);
}
.featured-card__tag {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 1;
  background: var(--orange);
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 12px;
  color: var(--white);
}
.featured-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 48px;
}
.featured-card__id {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--orange);
}
.featured-card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.22vw, 32px);
  line-height: 1.2;
  color: var(--white);
  margin: 0;
}
.featured-card__desc {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim-2);
}
.featured-card__stats { display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.statbox { display: flex; flex-direction: column; gap: 4px; }
.statbox b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.22vw, 32px);
  line-height: 1;
  color: var(--orange);
}
.statbox span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--text-dim-2);
}
.btn--featured {
  background: var(--orange);
  border: 1px solid var(--white);
  padding: 16px 32px;
  font-weight: 900;
  font-size: 14px;
  color: var(--white);
  margin-top: 20px;
  align-self: flex-start;
}
.btn--featured:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--white); }

/* --- archiv / tabulka --- */
.cs-archive {
  background: var(--surface);
  padding: 96px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.cs-archive__head { display: flex; flex-direction: column; gap: 12px; }

.cs-table-wrap { overflow-x: auto; }
.cs-table {
  width: 100%;
  min-width: 1000px;
  border-collapse: collapse;
  text-align: left;
}
.cs-table thead tr { background: var(--ink); }
.cs-table th {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--text-dim);
  padding: 16px 12px;
  white-space: nowrap;
}
.cs-table th:first-child, .cs-table td:first-child { padding-left: 24px; }
.cs-table th:last-child, .cs-table td:last-child { padding-right: 24px; }
.cs-table tbody tr {
  background: var(--white);
  border-bottom: 1px solid var(--ink);
}
.cs-table tbody tr:nth-child(even) { background: #ebebef; }
.cs-table td { padding: 20px 12px; vertical-align: middle; }
.cs-table__id {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--orange);
  white-space: nowrap;
}
.cs-table__client {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
}
.cs-table__sector {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  color: #5e5e6e;
  white-space: nowrap;
}
.cs-table__metric { white-space: nowrap; }
.cs-table__metric b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--orange);
}
.cs-table__metric span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #5e5e6e;
  margin-top: 2px;
}
.cs-table__desc {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  min-width: 280px;
}
.cs-table__action { text-align: right; white-space: nowrap; }
.cs-table__action a {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
  transition: color 0.12s linear;
}
.cs-table__action a:hover { color: var(--orange); }
.cs-table__action .is-muted {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.ta-r { text-align: right; }

/* --- statistický pruh --- */
.cs-stats {
  background: var(--black);
  border-top: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  padding: 44px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cs-stats__item { display: flex; align-items: baseline; gap: 16px; }
.cs-stats__item b {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}
.cs-stats__item strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(17px, 1.67vw, 24px);
  color: var(--orange);
  white-space: nowrap;
}
.cs-stats__divider { width: 1px; height: 40px; background: rgba(255, 255, 255, 0.2); flex: none; }

/* --- závěrečné CTA --- */
.cs-cta {
  background: var(--white);
  padding: 120px var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cs-cta__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.33vw, 48px);
  line-height: 1.1;
  color: var(--black);
  max-width: 800px;
  margin: 0;
}
.cs-cta__lede {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.11vw, 16px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
}
.cs-cta .btn { margin-top: 20px; }
.cs-cta .btn--brutal { border-color: var(--black); box-shadow: 6px 6px 0 var(--black); }
.cs-cta .btn--brutal:hover { box-shadow: 9px 9px 0 var(--black); }
.cs-cta .btn--brutal:active { box-shadow: 2px 2px 0 var(--black); }

@media (max-width: 1000px) {
  .featured-card { flex-direction: column; }
  .featured-card__img { flex: none; min-height: 280px; width: 100%; }
  .featured-card__body { padding: 32px; }
}

@media (max-width: 780px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-header__right { gap: 12px 16px; }
  .exec-nav { gap: 4px 10px; }
  .exec-nav a { padding: 6px 8px; font-size: 13px; }
  .cs-hero { padding-block: 56px; }
  .cs-archive { padding-block: 64px; }
  .cs-cta { padding-block: 80px; }
  .cs-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cs-stats__divider { width: 100%; height: 1px; }
}

/* =========================================================================
   CASE STUDY — detail (case-studies/*.html)
   ========================================================================= */

.art-hero {
  background: var(--black);
  padding: 56px var(--pad) 72px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.art-hero__back a {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--text-dim);
  transition: color 0.12s linear;
}
.art-hero__back a:hover { color: var(--orange); }
.art-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.33vw, 48px);
  line-height: 1.1;
  color: var(--white);
  max-width: 1000px;
  margin: 0;
}
.art-hero__lede {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.11vw, 16px);
  line-height: 1.6;
  color: var(--text-dim-2);
  max-width: 760px;
}
.art-hero__lede b { color: var(--white); font-weight: 700; }

.art-meta {
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}
.art-meta div { display: flex; flex-direction: column; gap: 6px; }
.art-meta dt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--orange);
}
.art-meta dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--white);
}

.art-tags {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.art-tags li {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim-2);
}

.art-results {
  margin-top: 28px;
  border: 2px solid var(--orange);
  display: flex;
  flex-wrap: wrap;
}
.art-results .statbox {
  flex: 1 1 220px;
  padding: 28px 32px;
  gap: 8px;
}
.art-results .statbox + .statbox { border-left: 1px solid rgba(255, 77, 0, 0.4); }
.art-results .statbox span { order: -1; color: var(--text-dim); }

/* --- sekce článku: střídavě světlá a tmavá, dvousloupcová --- */
.art-sec {
  background: var(--white);
  padding: 88px var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 40px 72px;
  align-items: start;
}
.art-sec--dark { background: var(--ink); }
.art-sec__head { display: flex; flex-direction: column; gap: 14px; }
.art-sec__content { display: flex; flex-direction: column; gap: 20px; max-width: 780px; }
.art-sec__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--orange);
}
.art-sec h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.1;
  color: var(--black);
  margin: 0;
}
.art-sec--dark h2 { color: var(--white); }
.art-sec p {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.art-sec p b { color: var(--black); font-weight: 700; }
.art-sec--dark p { color: var(--text-dim-2); }
.art-sec--dark p b { color: var(--white); }

/* číslovaná položka uvnitř sekce */
.art-num-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(10, 10, 10, 0.15);
}
.art-sec--dark .art-num-item { border-top-color: rgba(255, 255, 255, 0.18); }
.art-num-item__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-display) !important;
  font-weight: 800;
  font-size: clamp(14px, 1.25vw, 17px) !important;
  line-height: 1.3;
  color: var(--black) !important;
}
.art-sec--dark .art-num-item__head { color: var(--white) !important; }
.art-num-item__head b {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--orange) !important;
  flex: none;
}

/* oranžový pás s klíčovou myšlenkou */
.art-band {
  background: var(--orange);
  padding: 88px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.art-band__quote {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.78vw, 38px);
  line-height: 1.25;
  color: var(--black);
  max-width: 1100px;
  text-wrap: pretty;
}
.art-band__by {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--black);
}
.art-band__by span { width: 32px; height: 2px; background: var(--black); flex: none; }

.art-list, .art-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.art-list li, .art-steps li {
  position: relative;
  padding-left: 26px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.art-list li b, .art-steps li b { color: var(--black); font-weight: 700; }
.art-sec--dark .art-list li,
.art-sec--dark .art-steps li { color: var(--text-dim-2); }
.art-sec--dark .art-list li b,
.art-sec--dark .art-steps li b { color: var(--white); }
.art-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  background: var(--orange);
}
.art-steps { counter-reset: step; }
.art-steps li { counter-increment: step; }
.art-steps li::before {
  content: counter(step) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--orange);
}

.art-code {
  margin: 4px 0;
  background: var(--ink);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-x: auto;
}
.art-code__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  color: var(--text-dim);
}
.art-code code {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--orange);
  white-space: pre;
}

@media (max-width: 1000px) {
  .art-sec { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 780px) {
  .art-hero { padding-block: 40px 56px; }
  .art-meta { gap: 18px 32px; }
  .art-results .statbox { flex-basis: 100%; padding: 22px 24px; }
  .art-results .statbox + .statbox {
    border-left: 0;
    border-top: 1px solid rgba(255, 77, 0, 0.4);
  }
  .art-sec { padding-block: 56px; }
  .art-band { padding-block: 56px; }
}

/* =========================================================================
   DETAIL SLUŽBY (sluzby/*.html)
   ========================================================================= */

.svc-hero {
  display: flex;
  align-items: stretch;
  background: var(--black);
  min-height: 720px;
}
.svc-hero__left {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 40px var(--pad) 56px;
}
.svc-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}
/* v úzkém levém sloupci musí tlačítko zpět zůstat na řádku s navigací */
.svc-hero__top .exec-nav { gap: 6px; flex-wrap: nowrap; min-width: 0; }
.svc-hero__top .exec-nav > a,
.svc-hero__top .svc-menu > summary { padding-inline: 7px; }
/* návrat — jen šipka, kompaktní čtvereček, na jednom řádku s navigací */
.svc-hero__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: var(--black);
  border: 2px solid var(--orange);
  padding: 8px;
  color: var(--white);
  transition: background-color 0.14s linear, transform 0.14s cubic-bezier(0.2, 0, 0, 1);
}
.svc-hero__back span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: none;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}
.svc-hero__back:hover { transform: translateX(-3px); background: #17171c; }

.svc-hero__logo { display: flex; align-items: baseline; gap: 12px; }
.svc-hero__logo b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(15px, 1.25vw, 18px);
  color: var(--white);
}
.svc-hero__logo span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
}
.svc-hero__main { display: flex; flex-direction: column; gap: 20px; }
.svc-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.33vw, 48px);
  line-height: 1.08;
  color: var(--white);
  margin: 0;
}
.svc-hero__lede {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.11vw, 15px);
  line-height: 1.6;
  color: var(--text-dim-2);
  max-width: 560px;
}
.svc-hero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.svc-hero__slots {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--orange);
}
.svc-hero__media {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
  overflow: hidden;
}
.svc-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Portréty jdou na web jako záměrná ČB série s jedním oranžovým akcentem.
   Overlay proto jen LEHCE zateplí (18 %), aby fotka ladila s brandem, ale
   pořád četla jako černobílá. Původních 55 % ji přebarvovalo a koncept ničilo
   — nevracet. */
.svc-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  mix-blend-mode: color;
  opacity: 0.18;
  pointer-events: none;
}

/* badge na fotce — podprahová role */
.svc-badge {
  position: absolute;
  /* vpravo, vystředěný na úroveň kolen postavy */
  right: 32px;
  top: 74%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background: var(--black);
  border: 2px solid var(--orange);
  padding: 8px 14px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(11px, 0.97vw, 14px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
}

/* rozbalovací výběr služeb — jen na detailu služby */
.svc-menu { position: relative; }
.svc-menu > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  white-space: nowrap;
}
.svc-menu > summary::-webkit-details-marker { display: none; }
.svc-menu > summary::marker { content: ''; }
.svc-menu > summary i { font-style: normal; color: var(--orange); }
.svc-menu > summary::after {
  content: '▾';
  margin-left: 6px;
  font-size: 11px;
  color: var(--orange);
}
.svc-menu[open] > summary::after { content: '▴'; }

.svc-menu__panel {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 320px;
  background: var(--ink);
  border: 1px solid var(--orange);
  display: flex;
  flex-direction: column;
}
.svc-menu__panel a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.12s linear, color 0.12s linear;
}
.svc-menu__panel a:last-child { border-bottom: 0; }
.svc-menu__panel a b { font-weight: 700; color: var(--orange); flex: none; }
.svc-menu__panel a:hover { background: rgba(255, 77, 0, 0.12); color: var(--white); }
.svc-menu__panel a.is-active { color: var(--orange); }

.svc-sec {
  background: var(--white);
  padding: 88px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.svc-sec--dark { background: var(--ink); }
.svc-sec__head { display: flex; flex-direction: column; gap: 12px; }
.svc-sec h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.1;
  color: var(--black);
  margin: 0;
}
.svc-sec--dark h2 { color: var(--white); }

/* karty vrstev */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.svc-card {
  background: var(--surface);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.svc-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(16px, 1.53vw, 21px);
  color: var(--black);
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--orange);
  align-self: flex-start;
}
.svc-card p {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.svc-sec__lede {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.1vw, 15px);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0;
}
.svc-card p.svc-card__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.svc-card__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(10, 10, 10, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-card__list li {
  position: relative;
  padding-left: 20px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}
.svc-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* autorský termín „dato" — oranžový inline akcent */
.term { color: var(--orange); font-weight: 500; }

/* vodorovná časová osa */
.svc-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.svc-timeline li { display: flex; flex-direction: column; gap: 10px; }
.svc-timeline__num {
  position: relative;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.06vw, 42px);
  line-height: 1;
  color: var(--orange);
  padding-bottom: 24px;
}
/* spojnice mezi kroky */
.svc-timeline li:not(:last-child) .svc-timeline__num::after {
  content: '';
  position: absolute;
  left: 60px;
  right: -24px;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}
.svc-timeline h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
  margin: 0;
}
.svc-timeline p {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim-2);
}

/* srovnání běžná praxe × jak to dělám */
.svc-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.svc-compare__col { padding: 40px 44px; display: flex; flex-direction: column; gap: 24px; }
.svc-compare__col--old { background: var(--surface); }
.svc-compare__col--new { background: var(--ink); }
.svc-compare__col h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(15px, 1.39vw, 19px);
  margin: 0;
  color: var(--text-muted);
}
.svc-compare__col--new h3 { color: var(--orange); }
.svc-compare__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.svc-compare__col li {
  position: relative;
  padding-left: 30px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.svc-compare__col--new li { color: var(--text-dim-2); }
.svc-compare__col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.svc-compare__col--old li::before { content: '✕'; color: #9a9aa5; }
.svc-compare__col--new li::before { content: '✓'; color: var(--orange); }

/* závěrečné CTA */
.svc-cta {
  background: var(--black);
  padding: 88px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.svc-cta__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.06vw, 44px);
  line-height: 1.1;
  color: var(--white);
  max-width: 900px;
  margin: 16px 0 0;
}
.svc-cta__lede {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.11vw, 16px);
  line-height: 1.6;
  color: var(--text-dim-2);
  max-width: 640px;
}
.svc-cta__row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 12px; }
.svc-cta__alt {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.12s linear;
}
.svc-cta__alt:hover { color: var(--orange); }

/* odkaz na detail v dlaždici věže na homepage */
.tower-item__more a {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--orange);
  transition: opacity 0.12s linear;
}
.tower-item__more a:hover { opacity: 0.7; }

@media (max-width: 1000px) {
  .svc-hero { flex-direction: column-reverse; min-height: 0; }
  /* Portréty jsou celopostavové (768×1024). Pevná výška 340px z nich na mobilu
     vyřízla jen trup a usekla hlavu — proto necháme kontejner v poměru fotky,
     ať se zobrazí celá postava vč. obličeje. */
  .svc-hero__media { flex: none; width: 100%; aspect-ratio: 3 / 4; height: auto; max-height: 640px; }
  .svc-hero__media img { object-position: center top; }
  .svc-badge { right: 20px; bottom: 20px; top: auto; padding: 7px 12px; }
  .svc-hero__left { gap: 36px; padding-block: 32px 48px; }
  .svc-cards { grid-template-columns: minmax(0, 1fr); }
  .svc-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .svc-timeline li:not(:last-child) .svc-timeline__num::after { display: none; }
  .svc-compare { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 780px) {
  /* na úzkém displeji ať panel netrčí mimo obrazovku — rozbalí se v toku */
  .svc-menu__panel {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
  }
  .svc-hero__top { width: 100%; }
  .svc-sec { padding-block: 56px; gap: 32px; }
  .svc-card { padding: 28px; }
  .svc-compare__col { padding: 28px; }
  .svc-timeline { grid-template-columns: minmax(0, 1fr); }
  .svc-cta { padding-block: 56px; }
}

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */

/* Skrýváme jen když běží JS — bez JS je obsah normálně viditelný. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.2, 0, 0, 1),
              transform 0.55s cubic-bezier(0.2, 0, 0, 1);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1200px) {
  .services__rail { left: 40px; }
  .services__rail-ghost { left: 46px; }
  .services__body { padding-left: 0; padding-right: 0; }
  .services { padding-inline: max(var(--pad), 88px) var(--pad); }

  .case-row { gap: 40px; flex-wrap: wrap; }
  .case-row__id { flex-basis: 260px; }
  .case-row__metric { flex-basis: 200px; }
  .case-row__desc { flex-basis: 100%; }

  .cta-break__row { gap: 40px; }
  .glitch { flex-basis: 380px; width: 380px; height: 220px; }
  .glitch__bar--a { left: 30px; top: 92px;  width: 190px; }
  .glitch__bar--b { left: 95px; top: 110px; width: 145px; }
  .glitch__bar--c { left: 16px; top: 66px;  width: 96px; }

  .about__claim { flex-basis: 420px; }
  .about__cols { gap: 40px; }
}

@media (max-width: 1000px) {
  .anti-pitch { flex-direction: column; gap: 40px; padding-block: 64px; }
  .anti-pitch__head { flex-basis: auto; max-width: none; }

  .ai-creative { flex-direction: column; min-height: 0; }
  .ai-creative__portrait {
    flex: none;
    border-right: 0;
    border-bottom: 2px solid var(--black);
  }
  /* portrét 3:4 — na mobilu ukázat celý, bez ořezu */
  .ai-creative__portrait > img,
  .ai-creative__portrait > video { aspect-ratio: 3 / 4; height: auto; flex: none; }

  .output-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cta-break__row { flex-direction: column; align-items: flex-start; }
  .glitch { margin-inline: auto; }

  .about { min-height: 0; }
  .about__cols { flex-direction: column; }
  .about__claim { flex-basis: auto; max-width: none; }
  .stats-bar { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stats-bar__divider { width: 100%; height: 2px; }

  .results__banner { height: auto; flex-direction: column; }
  .results__banner-card { flex: none; }
  .results__banner-img { height: 280px; }
}

@media (max-width: 780px) {
  .services { padding-block: 80px; padding-inline: max(var(--pad), 60px) var(--pad); }
  .services__rail { left: 20px; }
  .services__rail-ghost { left: 26px; }
  .services__body { gap: 64px; }

  .process__grid { grid-template-columns: minmax(0, 1fr); }
  .process-box { min-height: 0; padding: 24px; }

  .testimonials { padding-block: 72px; }
  .testimonials__header { padding-bottom: 40px; }
  .testimonial { padding-block: 32px; }

  /* při zalomení nesmí zbylé položky odletět k okrajům — zarovnat vlevo */
  .logo-strip__row { justify-content: flex-start; gap: 10px 18px; }
  .logo-strip__item { gap: 18px; }
  .ai-stack__row { justify-content: flex-start; gap: 10px 18px; }
  .ai-stack__row li { gap: 18px; }

  .case-row { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 40px; }
  .case-row__id, .case-row__metric { flex-basis: auto; max-width: none; }

  .contact { padding-block: 72px 48px; }
  .contact__status { flex-direction: column; gap: 8px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .footer__top { gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 560px) {
  .hero { min-height: 100svh; padding-block: 32px 40px; }
  .hero__top { flex-direction: column; gap: 20px; }
  .hero__utils { justify-content: flex-start; }
  .hero__mid { padding-block: 32px; }
  .hero__bottom { flex-direction: column; align-items: stretch; gap: 24px; }
  .hero__proof { align-items: flex-start; text-align: left; }
  .btn--hero { width: 100%; }

  .glitch { flex-basis: auto; width: 100%; height: 180px; font-size: 96px; }
  .glitch__bar--a { left: 8%;  top: 74px; width: 55%; }
  .glitch__bar--b { left: 28%; top: 90px; width: 42%; }
  .glitch__bar--c { left: 4%;  top: 54px; width: 28%; }
  .btn--brutal { width: 100%; padding-inline: 20px; }

  .footer__cols { gap: 32px; flex-wrap: wrap; }

  /* dlouhý systémový eyebrow se na úzkém sloupci nesmí zlomit na osamocené "]" */
  .services .eyebrow { font-size: 11px; }
}

/* =========================================================================
   MOBILNÍ VZORY z Figma frame "mobile-landing-page"
   ========================================================================= */

@media (max-width: 600px) {

  /* --- PROCES: svislá časová osa místo mřížky boxů --- */
  .process__grid {
    background: transparent;
    border: 0;
    /* rámeček mřížky je pryč, takže odsazení od linky pod nadpisem musí dodat padding */
    padding: 44px 0 0;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .process-box {
    position: relative;
    background: transparent;
    min-height: 0;
    padding: 0 0 36px 34px;
    gap: 10px;
  }
  .process-box:last-child { padding-bottom: 0; }
  /* puntík na ose */
  .process-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
  }
  /* spojnice mezi puntíky */
  .process-box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 19px;
    bottom: 0;
    width: 2px;
    background: var(--orange);
  }
  .process-box:last-child::after { display: none; }
  .process-box__head { align-items: baseline; gap: 10px; }
  .process-box__num { font-size: 26px; line-height: 1; }

  /* --- FAQ: samostatné karty s oranžovým plusem --- */
  .faq__list {
    border-top: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .faq__item {
    position: relative;
    border: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    padding: 20px 20px 22px;
  }
  /* na mobilu je rám součástí karty, takže se spodní hrana vrací */
  .faq__item:last-child { border-bottom: 2px solid var(--black); }
  .faq__item h3 { padding-right: 26px; }
  .faq__item::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 16px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    color: var(--orange);
  }

  /* --- REFERENCE: karta s tvrdým stínem --- */
  .testimonial {
    background: var(--white);
    border: 2px solid var(--black);
    box-shadow: 7px 7px 0 var(--black);
    padding: 24px;
    margin-bottom: 28px;
  }
  .testimonial:last-child {
    border-bottom: 2px solid var(--black);
    margin-bottom: 0;
  }
  .testimonial figcaption { padding-top: 18px; border-top: 1px solid rgba(10, 10, 10, 0.15); }

  /* --- pás log: menší, ať se vejde na dva řádky --- */
  .client-logos__row { gap: 20px 28px; }
  .client-logos__row img { height: 24px; max-width: 92px; }
  .client-logos__row img.is-tall { height: 36px; }
  .client-logos__row img.is-wide { height: 30px; max-width: 145px; }
}

/* ---------- tisk / reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* bez pohybu se z pásu stane obyčejný zalomený výčet */
  .logo-strip__marquee { flex-wrap: wrap; overflow: hidden; }
  .logo-strip__track { animation: none; flex-wrap: wrap; flex: 1 1 100%; min-width: 0; }
  .logo-strip__track li { white-space: normal; }
  .logo-strip__track[aria-hidden="true"] { display: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   BLOG LISTING — přepis Figma frame "blog-listing" (e0zDPMvOdmZcqLTADAuLUG · 121:4)
   ========================================================================= */

.blog { background: var(--surface); }
.blog-wrap { max-width: var(--maxw); margin-inline: auto; }

/* ---------- hero ---------- */
.blog-hero { background: var(--black); border-bottom: 2px solid var(--black); }
.blog-hero__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(48px, 8vw, 80px) var(--pad);
  display: flex; flex-direction: column; gap: 32px;
}
.blog-hero__meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.blog-hero__meta-tag { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--orange); }
.blog-hero__meta-ver { font-family: var(--font-mono); font-size: 12px; color: var(--white); opacity: .6; }
.blog-hero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(40px, 7vw, 72px); line-height: 1.05; color: var(--white);
}
.blog-hero__lede {
  font-family: var(--font-mono); font-size: 16px; line-height: 1.6;
  color: var(--white); opacity: .8; max-width: 105ch;
}

/* ---------- featured ---------- */
.blog-featured { background: var(--white); border-bottom: 2px solid var(--black); }
.blog-featured__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr;
}
.blog-featured__img { position: relative; min-height: 540px; overflow: hidden; }
.blog-featured__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-featured__body {
  border-left: 2px solid var(--black);
  padding: clamp(32px, 4.4vw, 64px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  min-height: 540px;
}
.blog-featured__top { display: flex; flex-direction: column; gap: 24px; }
.blog-catrow { display: flex; align-items: center; gap: 8px; }
.blog-catrow__note { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.blog-featured__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(26px, 3vw, 36px); line-height: 1.15; color: var(--black);
}
.blog-featured__excerpt { font-family: var(--font-mono); font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.blog-featured__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.blog-featured__meta { display: flex; gap: 16px; font-family: var(--font-mono); font-size: 12px; }
.blog-featured__meta b { font-weight: 700; color: var(--black); }
.blog-featured__meta .sep { color: var(--text-muted); }
.blog-featured__meta .accent { font-weight: 700; color: var(--orange); }
.blog-featured__btn {
  background: var(--black); border: 1px solid var(--black); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
  padding: 12px 24px; text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s;
}
.blog-featured__btn:hover { background: var(--orange); border-color: var(--orange); }

/* ---------- tag chip ---------- */
.blog-tag {
  background: var(--black); border: 1px solid var(--black); color: var(--white);
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  padding: 4px 8px; line-height: 1; white-space: nowrap;
}
.blog-tag--accent { background: var(--orange); border-color: var(--black); }

/* ---------- grid ---------- */
.blog-grid { background: var(--surface); }
.blog-grid__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(40px, 6vw, 80px) var(--pad);
  display: flex; flex-direction: column; gap: 48px;
}
.blog-grid__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.blog-grid__title { font-family: var(--font-display); font-weight: 900; font-size: 24px; color: var(--black); }
.blog-grid__count { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.blog-card {
  background: var(--white); border: 2px solid var(--black); box-shadow: 4px 4px 0 var(--black);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .15s, box-shadow .15s;
}
.blog-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--orange); }
.blog-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.blog-card__thumb { height: 240px; overflow: hidden; }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.blog-card__tagrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.blog-card__read { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.blog-card__stack { display: flex; flex-direction: column; gap: 8px; }
.blog-card__title { font-family: var(--font-display); font-weight: 900; font-size: 18px; line-height: 1.3; color: var(--black); }
.blog-card__excerpt { font-family: var(--font-mono); font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.blog-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, .12); padding-top: 16px;
  font-family: var(--font-mono); font-weight: 700;
}
.blog-card__date { font-size: 11px; color: var(--black); }
.blog-card__open { font-size: 12px; color: var(--orange); }

/* ---------- pagination ---------- */
.blog-pager { background: var(--surface); display: flex; justify-content: center; padding: 0 var(--pad) 100px; }
.blog-pager__btn {
  background: var(--black); border: 3px solid var(--black); box-shadow: 6px 6px 0 var(--orange);
  color: var(--white); font-family: var(--font-display); font-weight: 900; font-size: 16px;
  padding: 20px 40px; text-decoration: none; text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.blog-pager__btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--orange); }

/* ---------- newsletter ---------- */
.blog-news { background: var(--orange); border-top: 2px solid var(--black); border-bottom: 2px solid var(--black); }
.blog-news__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(48px, 6vw, 80px) var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.blog-news__text { flex: 1 1 480px; max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
.blog-news__eyebrow { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--black); }
.blog-news__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.15; color: var(--white);
}
.blog-news__body { font-family: var(--font-mono); font-size: 14px; line-height: 1.5; color: var(--black); }
.blog-news__form { flex: 1 1 380px; max-width: 500px; display: flex; flex-direction: column; gap: 24px; }
.blog-news__field { border-bottom: 2px solid var(--black); padding-bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
.blog-news__label { font-family: var(--font-mono); font-weight: 700; font-size: 11px; color: var(--black); }
.blog-news__input {
  background: transparent; border: 0; padding: 0; width: 100%;
  font-family: var(--font-mono); font-size: 16px; color: var(--white);
}
.blog-news__input::placeholder { color: var(--white); opacity: .9; }
.blog-news__input:focus { outline: none; }
.blog-news__btn {
  background: var(--black); border: 2px solid var(--white); box-shadow: 4px 4px 0 var(--white);
  color: var(--white); font-family: var(--font-display); font-weight: 900; font-size: 14px;
  padding: 16px 32px; cursor: pointer; text-align: center;
  transition: transform .15s;
}
.blog-news__btn:hover { transform: translate(-2px, -2px); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .blog-featured__inner { grid-template-columns: 1fr; }
  .blog-featured__img { min-height: 320px; }
  .blog-featured__body { border-left: 0; border-top: 2px solid var(--black); min-height: auto; }
  .blog-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-cards { grid-template-columns: 1fr; }
  .blog-hero__meta, .blog-grid__head, .blog-featured__bottom { flex-direction: column; align-items: flex-start; }
  .blog-news__inner { flex-direction: column; align-items: stretch; }
  .blog-pager__btn { width: 100%; }
}

/* =========================================================================
   BLOG DETAIL (article) — přepis Figma frame "blog-detail" (e0zDPMvOdmZcqLTADAuLUG · 123:4)
   ========================================================================= */

/* ---------- article hero ---------- */
.blog-ahero { position: relative; min-height: 680px; overflow: hidden; border-bottom: 2px solid var(--black); display: flex; }
.blog-ahero__bg { position: absolute; inset: 0; }
.blog-ahero__bg img { width: 100%; height: 100%; object-fit: cover; }
.blog-ahero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 11, .75); }
.blog-ahero__inner {
  position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding: clamp(40px, 6vw, 80px) var(--pad);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.blog-ahero__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.blog-ahero__cat { background: var(--orange); color: var(--white); font-family: var(--font-mono); font-weight: 700; font-size: 14px; padding: 6px 16px; }
.blog-ahero__archive { font-family: var(--font-mono); font-size: 14px; color: var(--text-dim); opacity: .8; }
.blog-ahero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.15; color: var(--white);
  text-shadow: 4px 4px 12px rgba(0, 0, 0, .5); max-width: 1120px;
}
.blog-ahero__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--orange); padding-top: 24px; }
.blog-author { display: flex; align-items: center; gap: 16px; }
.blog-author__ring { width: 48px; height: 48px; border: 2px solid var(--orange); border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.blog-author__ring img { width: 100%; height: 100%; object-fit: cover; }
.blog-author__name { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--white); }
.blog-author__role { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.blog-ahero__meta { display: flex; gap: 48px; }
.blog-ameta__label { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); }
.blog-ameta__val { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--white); margin-top: 4px; }
.blog-ameta__val--accent { color: var(--orange); }

/* ---------- article body ---------- */
.blog-article { background: var(--white); padding: clamp(48px, 6vw, 80px) var(--pad) 96px; }
.blog-article__col { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; gap: 36px; }
.blog-article__intro { font-family: var(--font-sans); font-size: 18px; line-height: 1.6; color: var(--ink); }
.blog-p { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.blog-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.blog-list li { position: relative; padding-left: 24px; font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.blog-list li::before { content: '—'; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 700; }
.blog-list li strong { color: var(--ink); font-weight: 700; }

.blog-h2 { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.blog-h2__kicker { font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: var(--orange); }
.blog-h2__text { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 3vw, 28px); line-height: 1.2; color: var(--ink); }
.blog-h2__rule { border: 0; border-top: 2px solid var(--black); margin: 0; width: 100%; }
.blog-h3 { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.blog-h3__text { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.3; color: var(--ink); }

.blog-pull { border: 4px solid var(--black); padding: 40px 32px; }
.blog-pull__text { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.2; color: var(--black); }
.blog-pull__text .accent { color: var(--orange); }

/* ---- Blog: filtr kategorií ---- */
.blog-filter { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; margin: 0 0 40px; }
.blog-filter__btn { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); background: none; border: 0; padding: 0 0 6px; cursor: pointer; position: relative; transition: color .14s; }
.blog-filter__btn:hover { color: var(--black); }
.blog-filter__btn.is-active { color: var(--orange); }
.blog-filter__btn.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); }
.blog-filter__n { font-size: 11px; margin-left: 6px; opacity: .5; font-weight: 700; vertical-align: super; }
.blog-card--hidden { display: none !important; }

.blog-code { background: #ececef; border: 1px solid var(--black); padding: 12px 16px; }
.blog-code p { font-family: var(--font-mono); font-size: 13px; line-height: 1.5; color: var(--ink); }
.blog-code b { color: var(--orange); font-weight: 700; }

.blog-cmp-wrap { width: 100%; overflow-x: auto; }
.blog-cmp { width: 100%; border-collapse: collapse; border: 2px solid var(--black); background: var(--white); }
.blog-cmp th, .blog-cmp td { text-align: left; padding: 12px 16px; vertical-align: top; }
.blog-cmp thead th { background: var(--black); color: var(--white); font-family: var(--font-mono); font-weight: 700; font-size: 11px; }
.blog-cmp thead th.accent { color: var(--orange); }
.blog-cmp tbody tr + tr { border-top: 1px solid var(--black); }
.blog-cmp td:first-child { font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: var(--ink); width: 180px; }
.blog-cmp td { font-family: var(--font-sans); font-size: 13px; color: var(--text-muted); }
.blog-cmp td.strong { color: var(--ink); }


/* ---------- related (reuse .blog-card) ---------- */
.blog-card--related .blog-card__thumb { height: 200px; }
.blog-card--related .blog-card__title { font-size: 16px; }

@media (max-width: 760px) {
  .blog-ahero__bar { flex-direction: column; align-items: flex-start; }
  .blog-ahero__meta { gap: 32px; }
  .blog-cmp td:first-child { width: auto; white-space: nowrap; }
}

/* =========================================================================
   ABOUT / O MNĚ (o-mne/index.html) — inspirace Figma frame "about-me-page" (161:4)
   ========================================================================= */

.about-page { background: var(--white); }
.ab-eyebrow { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--orange); letter-spacing: .04em; }
.ab-h { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 4vw, 48px); line-height: 1.1; color: var(--ink); margin-top: 14px; }

/* ---------- hero ---------- */
.ab-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--black); border-bottom: 2px solid var(--black); }
.ab-hero__back { position: absolute; top: clamp(16px, 2.2vw, 28px); left: var(--pad); z-index: 3; }
.ab-hero__left { padding: clamp(48px, 6vw, 88px) var(--pad); display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 3vw, 44px); }
.ab-hero__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ab-hero__meta b { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--orange); }
.ab-hero__meta span { font-family: var(--font-mono); font-size: 12px; color: var(--white); opacity: .6; }
.ab-hero__roles { margin: 0 0 clamp(16px, 2vw, 28px); }
.ab-hero__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px, 6.4vw, 92px); line-height: 1; color: var(--white); }
.ab-hero__lede { font-family: var(--font-mono); font-size: 16px; line-height: 1.6; color: var(--white); opacity: .85; max-width: 52ch; }
.ab-hero__media { border-left: 2px solid var(--black); background: var(--black); display: flex; align-items: flex-start; overflow: hidden; }
.ab-hero__media img { display: block; width: 100%; height: auto; }

/* ---------- generic section ---------- */
.ab-sec { background: var(--white); }
.ab-sec--surface { background: var(--surface); }
.ab-sec--dark { background: var(--black); }
.ab-sec__inner { max-width: var(--maxw); margin-inline: auto; padding: clamp(56px, 7vw, 112px) var(--pad); }
.ab-sec--dark .ab-h { color: var(--white); }

/* ---------- manifest ---------- */
.ab-manifest__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ab-manifest__body { display: flex; flex-direction: column; gap: 22px; }
.ab-manifest__body p { font-family: var(--font-sans); font-size: 17px; line-height: 1.7; color: var(--text-muted); }
.ab-pull { border: 4px solid var(--black); padding: clamp(28px, 3vw, 40px); margin-top: 6px; }
.ab-pull p { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; color: var(--ink); }
.ab-pull .accent { color: var(--orange); }

/* ---------- timeline ---------- */
.ab-time { display: flex; flex-direction: column; margin-top: 48px; }
.ab-time__row { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid rgba(0, 0, 0, .14); }
.ab-time__row:last-child { border-bottom: 1px solid rgba(0, 0, 0, .14); }
.ab-time__year { font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--orange); }
.ab-time__t { font-family: var(--font-mono); font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: .02em; }
.ab-time__d { font-family: var(--font-sans); font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-top: 8px; }

/* ---------- pillars ---------- */
.ab-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.ab-pillar { border: 2px solid var(--black); box-shadow: 4px 4px 0 var(--black); padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--white); }
.ab-pillar__tag { font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: var(--orange); }
.ab-pillar__t { font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: 1.2; color: var(--ink); }
.ab-pillar__d { font-family: var(--font-sans); font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.ab-pillar ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ab-pillar li { font-family: var(--font-mono); font-size: 13px; color: var(--ink); padding-left: 16px; position: relative; }
.ab-pillar li::before { content: ""; position: absolute; left: 0; top: 6px; width: 6px; height: 6px; background: var(--orange); }

/* ---------- principles ---------- */
.ab-princ { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; }
.ab-princ__card { border: 2px solid var(--black); padding: 24px 28px; background: var(--white); }
.ab-princ__top { display: flex; align-items: center; justify-content: space-between; }
.ab-princ__id { font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: var(--orange); }
.ab-princ__dot { width: 8px; height: 8px; background: var(--orange); flex: none; }
.ab-princ__t { font-family: var(--font-display); font-weight: 900; font-size: clamp(18px, 2vw, 22px); color: var(--ink); margin-top: 14px; }
.ab-princ__d { font-family: var(--font-sans); font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-top: 8px; }
.ab-sec--dark .ab-princ__card { background: transparent; border-color: rgba(255, 255, 255, .22); }
.ab-sec--dark .ab-princ__t { color: var(--white); }
.ab-sec--dark .ab-princ__d { color: var(--text-dim-2); }

/* ---------- proof ---------- */
.ab-proof__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.ab-stat { border: 2px solid var(--black); padding: 28px; background: var(--white); }
.ab-stat__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 5vw, 60px); line-height: 1; color: var(--orange); }
.ab-stat__who { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--ink); margin-top: 14px; }
.ab-stat__d { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.ab-proof__note { font-family: var(--font-mono); font-size: 14px; color: var(--text-dim); margin-top: 32px; }
.ab-proof__logos { display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; margin-top: 28px; }
.ab-proof__logos img { height: 26px; width: auto; opacity: .65; }
.ab-proof__logos img.is-tall { height: 34px; }

/* ---------- personal ---------- */
.ab-personal__grid { display: grid; grid-template-columns: 460px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ab-personal__media { border: 2px solid var(--black); overflow: hidden; aspect-ratio: 3 / 4; }
.ab-personal__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ab-personal__body { display: flex; flex-direction: column; }
.ab-personal__body p { font-family: var(--font-sans); font-size: 17px; line-height: 1.7; color: var(--text-muted); }
.ab-personal__body .ab-pull p { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2; color: var(--ink); }
.ab-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ab-tag { border: 1px solid var(--black); font-family: var(--font-mono); font-size: 12px; padding: 6px 12px; color: var(--ink); }

/* ---------- cta ---------- */
.ab-cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.ab-cta .ab-h { max-width: 22ch; }
.ab-cta__lede { font-family: var(--font-mono); font-size: 15px; line-height: 1.6; color: var(--text-dim-2); max-width: 60ch; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .ab-hero { grid-template-columns: 1fr; }
  .ab-hero__left { padding-top: 84px; }
  .ab-hero__media { min-height: 440px; border-left: 0; border-top: 2px solid var(--black); }
  .ab-manifest__grid, .ab-personal__grid { grid-template-columns: 1fr; }
  .ab-pillars, .ab-proof__row { grid-template-columns: 1fr; }
  .ab-personal__media { max-width: 420px; }
}
@media (max-width: 640px) {
  .ab-time__row { grid-template-columns: 1fr; gap: 6px; }
  .ab-hero__meta { flex-direction: column; align-items: flex-start; }
}

/* ================= AI AGENT ENGINEERING (homepage) ================= */
.ai-eng { background: var(--ink); color: var(--white); padding: clamp(64px, 8vw, 120px) var(--pad); }
.ai-eng__inner { max-width: var(--maxw); margin: 0 auto; }

.ai-eng__eyebrow { display: flex; align-items: center; gap: 20px; margin: 0 0 clamp(20px, 2.4vw, 34px); }
.ai-eng__eyebrow span { font-family: var(--font-mono); font-weight: 700; font-size: clamp(11px, 0.9vw, 13px); letter-spacing: 0.04em; color: var(--orange); white-space: nowrap; text-transform: uppercase; }
.ai-eng__eyebrow::after { content: ""; flex: 1; height: 2px; background: var(--orange); }

.ai-eng__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -0.01em; max-width: 16ch; margin: 0 0 clamp(40px, 5vw, 72px); color: var(--white); }

.ai-eng__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 24px); margin-bottom: clamp(24px, 2.6vw, 40px); }
.ai-card { border: 1px solid rgba(255, 255, 255, 0.14); padding: clamp(24px, 2.2vw, 34px); min-height: clamp(300px, 26vw, 360px); display: flex; flex-direction: column; }
.ai-card--hl { border: 2px solid var(--orange); }
.ai-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: clamp(28px, 3vw, 44px); }
.ai-card__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 3.6vw, 54px); line-height: 0.9; color: var(--white); }
.ai-card--hl .ai-card__num { color: var(--orange); }
.ai-card__badge { font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; padding: 5px 9px; border: 1px solid rgba(255, 255, 255, 0.28); color: var(--text-dim-2); white-space: nowrap; }
.ai-card--hl .ai-card__badge { background: var(--orange); border-color: var(--orange); color: var(--white); }
.ai-card__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(17px, 1.5vw, 21px); margin: 0 0 12px; color: var(--white); }
.ai-card__body { font-family: var(--font-sans); font-size: 15px; line-height: 1.6; color: var(--text-dim-2); margin: 0; }
.ai-card__stack { font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.03em; color: var(--text-dim); margin: auto 0 0; padding-top: 20px; }
.ai-card--hl .ai-card__stack { color: var(--orange); }

.ai-term { border: 1px solid var(--orange); margin-bottom: clamp(24px, 2.6vw, 40px); background: rgba(0, 0, 0, 0.35); }
.ai-term__bar { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.ai-term__dots { display: inline-flex; gap: 7px; flex-shrink: 0; }
.ai-term__dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.ai-term__file { flex: 1; text-align: center; font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.03em; color: var(--orange); }
.ai-term__sys { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); flex-shrink: 0; white-space: nowrap; }
.ai-term__code { margin: 0; padding: clamp(18px, 2vw, 28px); overflow-x: auto; }
.ai-term__code code { font-family: var(--font-mono); font-size: clamp(12px, 1vw, 14px); line-height: 1.75; color: var(--text-dim-2); white-space: pre; display: block; }
.ai-term .c-kw { color: var(--orange); }
.ai-term .c-str { color: #e6b34d; }
.ai-term .c-com { color: var(--text-dim); }
.ai-term .c-dim { color: var(--text-dim); }
.ai-term .c-ok { color: #3fbf6f; }

.ai-eng__cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; border: 2px solid var(--orange); padding: clamp(24px, 2.6vw, 40px); }
.ai-eng__cta-text { display: flex; flex-direction: column; gap: 8px; }
.ai-eng__cta-text b { font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 1.9vw, 26px); color: var(--white); text-transform: uppercase; }
.ai-eng__cta-text span { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim-2); }

.ai-eng__more { margin: clamp(18px, 2vw, 26px) 0 0; font-family: var(--font-mono); font-size: 13px; }
.ai-eng__more a { color: var(--text-dim-2); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.25); padding-bottom: 2px; transition: color 0.14s, border-color 0.14s; }
.ai-eng__more a:hover { color: var(--orange); border-color: var(--orange); }

@media (max-width: 900px) {
  .ai-eng__grid { grid-template-columns: 1fr; }
  .ai-card { min-height: 0; }
  .ai-card__top { margin-bottom: 24px; }
  .ai-eng__cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- blog: typografická (bez fotek) hero + karty ---------- */
.blog-ahero { background: var(--ink); min-height: 520px; }
.blog-ahero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.022) 3px 4px),
    radial-gradient(110% 82% at 88% 10%, rgba(255, 77, 0, 0.18), transparent 58%);
}
.blog-card__cover {
  height: 200px; background: var(--ink); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 22px;
}
.blog-card__cover::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.03) 3px 4px),
    radial-gradient(120% 100% at 82% 16%, rgba(255, 77, 0, 0.22), transparent 62%);
}
.blog-card__cover-read { position: absolute; top: 16px; right: 20px; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim-2); }
.blog-card__cover-cat { position: relative; font-family: var(--font-display); font-weight: 900; font-size: clamp(19px, 2.1vw, 26px); line-height: 1.05; color: var(--white); letter-spacing: -0.01em; }
.blog-card--related .blog-card__cover { height: 150px; }

/* ---------- blog detail: minimalistické zpět místo headeru ---------- */
.blog-ahero__topL { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.blog-back { display: inline-flex; align-items: center; justify-content: center; color: var(--white); text-decoration: none; line-height: 1; transition: color 0.14s, transform 0.14s; }
.blog-back span { font-size: 26px; font-weight: 800; }
.blog-back:hover { color: var(--orange); transform: translateX(-3px); }

/* zvýraznění "AI" v nadpisu AI sekce — oranžový box */
.ai-eng__title .hl { background: var(--orange); color: var(--white); padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }


/* ============ blog listing: karty ve stylu „protokol" (ID // KATEGORIE + velký nadpis) ============ */
.blog-grid__inner { counter-reset: blogcard; }

.blog-card--typo .blog-card__cover {
  height: auto; min-height: 0; padding: 13px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--black);
}
/* místo scanline/glow → oranžové ID vlevo */
.blog-card--typo .blog-card__cover::before {
  content: "LOG_" counter(blogcard, decimal-leading-zero);
  counter-increment: blogcard;
  position: static; inset: auto; background: none;
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  letter-spacing: .06em; color: var(--orange); line-height: 1;
}
/* čtení pryč z proužku (jako v referenci) */
.blog-card--typo .blog-card__cover-read { display: none; }
/* kategorie: malé šedé mono vpravo, ne velký display */
.blog-card--typo .blog-card__cover-cat {
  position: static; order: 2;
  font-family: var(--font-mono); font-weight: 500; font-size: 12px;
  letter-spacing: .08em; line-height: 1; color: var(--text-dim-2);
  text-transform: uppercase; white-space: nowrap;
}
/* nadpis článku = ten výrazný velký prvek */
.blog-card--typo .blog-card__title {
  font-size: clamp(21px, 1.6vw, 26px); line-height: 1.12; letter-spacing: -.01em;
}

/* patička (linka + datum + OTEVŘÍT) zarovnaná dole u všech karet v řadě */
.blog-card--typo .blog-card__body { flex: 1 1 auto; }
.blog-card--typo .blog-card__foot { margin-top: auto; }

/* ============ mobilní hamburger nav ============ */
.nav-burger { display: none; }
.nav-overlay { display: none; }

@media (max-width: 780px) {
  /* schovej horizontální nav v hlavičce */
  html.js-nav .exec-nav { display: none; }

  /* hamburger tlačítko — vždy vpravo nahoře */
  html.js-nav .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    position: fixed; top: 14px; right: 14px; z-index: 200;
    width: 46px; height: 46px; padding: 12px;
    background: var(--ink); border: 1px solid rgba(255,255,255,.16);
    cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  html.js-nav .nav-burger span {
    display: block; width: 100%; height: 2px; background: var(--white);
    transition: transform .25s ease, opacity .2s ease, background .2s ease;
  }
  html.js-nav .nav-burger.is-open span { background: var(--orange); }
  html.js-nav .nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  html.js-nav .nav-burger.is-open span:nth-child(2) { opacity: 0; }
  html.js-nav .nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* fullscreen menu — připnuté na <body>, mimo transformovaný předek */
  html.js-nav .nav-overlay {
    position: fixed; inset: 0; z-index: 190;
    display: none; flex-direction: column;
    align-items: flex-start; justify-content: center;
    gap: 4px; padding: clamp(22px, 6vw, 52px); overflow-y: auto;
    background: var(--ink);
  }
  html.js-nav .nav-overlay.is-open { display: flex; }
  html.js-nav .nav-overlay a {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(24px, 6.6vw, 38px); line-height: 1.12;
    letter-spacing: -0.02em; color: var(--white); padding: 9px 0;
    max-width: 100%; text-decoration: none;
  }
  html.js-nav .nav-overlay a i { color: var(--orange); font-style: normal; }
  html.js-nav .nav-overlay a b { color: var(--orange); font-weight: 900; margin-right: .5em; }
  html.js-nav .nav-overlay a.is-active { color: var(--orange); }

  /* Na službě je menu rozdělené na skupiny (Služby × Sekce), ať uživatel pozná,
     kam který odkaz vede. Když skupiny nejsou (homepage), menu zůstává centrované. */
  html.js-nav .nav-overlay:has(.nav-overlay__group) { justify-content: flex-start; padding-top: 88px; }
  html.js-nav .nav-overlay__group { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
  html.js-nav .nav-overlay__group + .nav-overlay__group {
    margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(244, 244, 242, .32);
  }
  html.js-nav .nav-overlay__label {
    font-family: var(--font-mono); font-weight: 500;
    font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(244, 244, 242, .5); margin: 0 0 6px;
  }
  html.js-nav .nav-overlay__label::before { content: '// '; color: var(--orange); }

  /* zámek scrollu když je menu otevřené */
  html.js-nav.nav-open, html.js-nav.nav-open body { overflow: hidden; }
}

/* zabít vodorovný přetok, ale bez scroll-kontejneru (clip nerozbije position:fixed) */
html { overflow-x: clip; }

/* ============ AI stack: marquee na mobilu (jako logo-strip) ============ */
.ai-stack__marquee { display: block; }                 /* desktop: průhledný wrapper, řádek full-width */
.ai-stack__row[aria-hidden="true"] { display: none; }  /* desktop: jen jeden řádek */

@media (max-width: 780px) {
  .ai-stack__marquee { display: flex; gap: 32px; overflow: hidden; }
  .ai-stack__row {
    flex: none; flex-wrap: nowrap; justify-content: flex-start;
    gap: 20px; animation: lb-marquee 22s linear infinite;
  }
  .ai-stack__marquee:hover .ai-stack__row { animation-play-state: paused; }
  .ai-stack__row[aria-hidden="true"] { display: flex; }
}

/* při omezeném pohybu marquee vypnout (přístupnost) */
@media (prefers-reduced-motion: reduce) {
  .ai-stack__row { animation: none; flex-wrap: wrap; }
  .ai-stack__row[aria-hidden="true"] { display: none; }
}

/* ============ marquee na mobilu poběží VŽDY (i při systémovém Reduce Motion) — přání klienta ============ */
@media (max-width: 780px) {
  .logo-strip__marquee { overflow: hidden !important; flex-wrap: nowrap !important; }
  .logo-strip__track {
    animation: lb-marquee 42s linear infinite !important;
    flex: none !important; flex-wrap: nowrap !important; min-width: auto !important;
  }
  .logo-strip__track li { white-space: nowrap !important; }
  .logo-strip__track[aria-hidden="true"] { display: flex !important; }

  .ai-stack__marquee { overflow: hidden !important; }
  .ai-stack__row {
    animation: lb-marquee 22s linear infinite !important;
    flex: none !important; flex-wrap: nowrap !important;
  }
  .ai-stack__row[aria-hidden="true"] { display: flex !important; }
}

/* ============ client-logos (ZNAČKY): marquee na všech šířkách ============
   Dřív jel jen do 780 px a na desktopu se řada zalamovala. S deseti logy
   vycházelo desáté samo na druhý řádek, tak jede marquee všude. */
.client-logos__marquee { display: flex; gap: 32px; overflow: hidden; flex-wrap: nowrap; }
.client-logos__row {
  flex: none !important; flex-wrap: nowrap !important; justify-content: flex-start;
  gap: 32px !important; animation: lb-marquee 40s linear infinite;
}
.client-logos__marquee:hover .client-logos__row { animation-play-state: paused; }
.client-logos__row[aria-hidden="true"] { display: flex; }

@media (max-width: 780px) {
  .client-logos__row { animation-duration: 30s; }
}
@media (prefers-reduced-motion: reduce) {
  .client-logos__row { animation: none; }
  .client-logos__marquee { overflow-x: auto; }
}

/* ============ AI karty: 3D flip na hover (desktop) ============ */
.ai-card { position: relative; border: 0; padding: 0; background: transparent; display: block; perspective: 1200px; }
.ai-card--hl { border: 0; }
.ai-card__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ai-card:hover .ai-card__inner,
.ai-card:focus-within .ai-card__inner { transform: rotateY(180deg); }
.ai-card__face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.2vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--ink);
}
.ai-card--hl .ai-card__face--front { border: 2px solid var(--orange); }
.ai-card__face--back {
  transform: rotateY(180deg);
  justify-content: center; gap: 14px;
  border-color: rgba(255, 255, 255, 0.28);
}
.ai-card--hl .ai-card__face--back { border: 2px solid var(--orange); }
.ai-card__back-label { font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: .04em; color: var(--orange); }
.ai-card__back-text { font-family: var(--font-sans); font-size: 15px; line-height: 1.65; color: var(--white); margin: 0; }

/* na mobilu (≤900px) žádný flip — jen přední strana v normálním toku */
@media (max-width: 900px) {
  .ai-card { perspective: none; min-height: 0; }
  .ai-card__inner { position: static; transform: none !important; }
  .ai-card__face { position: static; backface-visibility: visible; -webkit-backface-visibility: visible; }
  .ai-card__face--back { display: none; }
}

/* ============ case-studies tabulka → karty na mobilu (bez horizontálního scrollu) ============ */
@media (max-width: 900px) {
  .cs-table-wrap { overflow-x: visible; }
  .cs-table { min-width: 0; width: 100%; }
  .cs-table thead { display: none; }
  .cs-table tbody, .cs-table tr, .cs-table td { display: block; }
  .cs-table td { padding: 0; }
  .cs-table th:first-child, .cs-table td:first-child { padding-left: 0; }
  .cs-table th:last-child, .cs-table td:last-child { padding-right: 0; }

  .cs-table tbody tr {
    border: 2px solid var(--ink);
    background: var(--white);
    padding: 22px;
    margin-bottom: 16px;
  }
  .cs-table tbody tr:nth-child(even) { background: var(--white); }

  .cs-table__id { font-size: 13px; margin-bottom: 6px; }
  .cs-table__client { font-size: clamp(22px, 6vw, 28px); white-space: normal; margin-bottom: 2px; }
  .cs-table__sector { margin-bottom: 18px; }

  .cs-table td.cs-table__metric { display: inline-block; vertical-align: top; margin: 0 32px 16px 0; }
  .cs-table__metric b { font-size: 22px; }
  .cs-table__metric span { font-size: 10px; }

  .cs-table__desc { min-width: 0; white-space: normal; line-height: 1.55; margin-bottom: 18px; }

  .cs-table__action { text-align: left; }
  .cs-table__action a {
    display: inline-block; border: 2px solid var(--ink); padding: 10px 18px; font-size: 13px;
  }
  .cs-table__action a:hover { background: var(--ink); color: var(--white); }
}


/* ============================================================
   BLOG — sdílené komponenty článků
   odkazy v textu, zdrojový box, CTA a infografiky (.fig*)
   ============================================================ */
.blog-article__col p a, .blog-article__col li a { color: var(--orange); text-decoration: underline;
            text-underline-offset: 3px; text-decoration-thickness: 2px; font-weight: 700; }
.blog-article__col p a:hover, .blog-article__col li a:hover { color: var(--ink); }
.blog-src { border-left: 4px solid var(--orange); padding: 18px 22px; background: rgba(0,0,0,.04);
            font-family: var(--font-mono); font-size: 13px; line-height: 1.65; color: var(--text-muted); }
.blog-src b { color: var(--ink); }
.blog-cta { border: 4px solid var(--black); padding: clamp(28px,4vw,40px);
            display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.blog-cta__h { font-family: var(--font-display); font-weight: 900;
               font-size: clamp(22px,2.6vw,30px); line-height: 1.15; color: var(--ink); }
.blog-cta__h .accent { color: var(--orange); }

/* ---------- INFOGRAFIKY ---------- */
.fig { margin: 0; border: 3px solid var(--black); background: var(--white); }
.fig__head { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--black); color: #fff; padding: 11px 16px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.fig__head b { color: var(--orange); font-weight: 700; }
.fig__body { padding: clamp(16px,2.6vw,26px); display: flex; flex-direction: column; gap: 18px; }
.fig__note { font-family: var(--font-mono); font-size: 12px; line-height: 1.65; color: var(--text-muted); }
.fig__note b { color: var(--ink); }

.fig-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fig-grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.fig-box { border: 2px solid var(--black); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.fig-box--fill { background: var(--orange); }
.fig-box--muted { background: var(--surface); }
.fig-box__t { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-muted); }
.fig-box--fill .fig-box__t { color: #4a1a00; }
.fig-box__v { font-family: var(--font-display); font-weight: 900; font-size: clamp(18px,2.2vw,24px);
  line-height: 1.05; color: var(--ink); }
.fig-box__d { font-family: var(--font-sans); font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.fig-box--fill .fig-box__d { color: #4a1a00; }

.fig-rows { display: flex; flex-direction: column; }
.fig-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.12); font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.fig-row:last-child { border-bottom: 0; }
.fig-row__x { color: var(--text-dim); }
.fig-row--sum { border-top: 3px solid var(--black); border-bottom: 0; margin-top: 6px; padding-top: 12px; font-weight: 700; }
.fig-row--sum span:last-child { color: var(--orange); }

.fig-bar { display: flex; height: 46px; border: 2px solid var(--black); }
.fig-bar span { display: block; border-right: 2px solid var(--black); }
.fig-bar span:last-child { border-right: 0; }
.fig-legend { display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.fig-legend i { display: inline-block; width: 11px; height: 11px; border: 1px solid var(--black);
  margin-right: 7px; font-style: normal; }

.fig-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
/* počet sloupců podle počtu kroků, ať nezůstává prázdné místo */
.fig-steps--2 { grid-template-columns: repeat(2,1fr); }
.fig-steps--3, .fig-steps--6 { grid-template-columns: repeat(3,1fr); }
.fig-steps--5 { grid-template-columns: repeat(5,1fr); }
.fig-step { border: 2px solid var(--black); border-top: 6px solid var(--orange); padding: 14px;
  display: flex; flex-direction: column; gap: 8px; }
.fig-step__n { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--orange); }
.fig-step__t { font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: 1.25; color: var(--ink); }
.fig-step__d { font-family: var(--font-sans); font-size: 13px; line-height: 1.5; color: var(--text-muted); }

.fig-stairs { display: grid; grid-template-columns: repeat(6,1fr); gap: 8px; align-items: end; }
.fig-stair { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fig-stair__v { font-family: var(--font-display); font-weight: 900; font-size: clamp(13px,1.5vw,17px); color: var(--ink); }
.fig-stair__bar { width: 100%; background: var(--orange); border: 2px solid var(--black); }
.fig-stair__d { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

.fig-buckets { display: flex; flex-direction: column; }
.fig-bucket { display: grid; grid-template-columns: 1.1fr 1.4fr 130px; gap: 14px; align-items: center;
  padding: 13px 0; border-bottom: 1px solid rgba(0,0,0,.12); }
.fig-bucket:last-child { border-bottom: 0; }
.fig-bucket__n { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--ink); }
.fig-bucket__c { font-family: var(--font-mono); font-size: 12px; line-height: 1.55; color: var(--text-muted); }
.fig-bucket__b { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.fig-bucket__fill { height: 18px; background: var(--orange); border: 2px solid var(--black); }
.fig-bucket__p { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; }

.fig-time { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.fig-time__node { border: 2px solid var(--black); border-left: 6px solid var(--orange); padding: 14px;
  display: flex; flex-direction: column; gap: 7px; }
.fig-time__d { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; color: var(--orange); }
.fig-time__t { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--ink); }
.fig-time__p { font-family: var(--font-sans); font-size: 13px; line-height: 1.5; color: var(--text-muted); }

@media (max-width: 700px) {
  .fig-grid2, .fig-grid3, .fig-steps, .fig-steps--2, .fig-steps--3,
  .fig-steps--5, .fig-steps--6, .fig-time { grid-template-columns: 1fr; }
  .fig-bucket { grid-template-columns: 1fr; gap: 6px; }
}

/* =========================================================================
   MCPFLOW — animované schéma pipeline v článku o analýze klíčových slov.
   Jedna scéna, tři fáze se rozsvěcují v cyklu. Bez knihovny, jen SVG + CSS.
   ========================================================================= */
.mcpflow { margin: 0; }
.mcpflow__frame { border: 2px solid var(--black); background: var(--white); }
.mcpflow__head {
  background: var(--black); color: var(--white);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.08em; padding: 10px 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.mcpflow__stage { padding: 18px 14px 6px; }
.mcpflow svg { display: block; width: 100%; height: auto; }

/* brutalistní jazyk webu: rám 3 px, tvrdý stín 6 px, jedna tloušťka všude */
.mcpflow .mf-box     { fill: var(--white); stroke: var(--black); stroke-width: 3; }
.mcpflow .mf-box--cta{ fill: var(--orange); }
.mcpflow .mf-sh      { fill: var(--black); }
.mcpflow .mf-t   { font-family: 'JetBrains Mono', ui-monospace, monospace; fill: var(--black); }
.mcpflow .mf-t--n{ font-size: 9px; letter-spacing: 0.1em; fill: #6b6b6b; }
.mcpflow .mf-t--b{ font-size: 13px; font-weight: 700; }
.mcpflow .mf-t--inv{ fill: var(--white); }
.mcpflow .mf-line{ stroke: var(--black); stroke-width: 3; fill: none; }
.mcpflow .mf-chip{ opacity: .25; }
.mcpflow .mf-chip rect{ fill: var(--black); }
.mcpflow .mf-dot { fill: var(--orange); opacity: 0; offset-rotate: 0deg; }
.mcpflow .mf-pkt { fill: var(--orange); opacity: 0; offset-rotate: 0deg; }
.mcpflow .mf-ok  { opacity: 0; }

/* fáze se rozsvěcují oranžově po sobě */
.mcpflow__legend {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px;
  letter-spacing: 0.06em; padding: 0 14px 14px;
}
.mcpflow__step { border-top: 3px solid #e2e2e2; padding-top: 8px; color: #6b6b6b; }
.mcpflow__step b { display: block; color: var(--black); font-weight: 700; }

/* animace běží až po scrollu do zorného pole */
.mcpflow.is-playing .mf-dot   { animation: mf-dot 12s linear infinite; }
.mcpflow.is-playing .mf-chip  { animation: mf-chip 12s cubic-bezier(.4,0,.2,1) infinite; }
.mcpflow.is-playing .mf-pkt   { animation: mf-pkt 12s ease-in-out infinite; }
.mcpflow.is-playing .mf-ok    { animation: mf-ok 12s linear infinite; }
.mcpflow.is-playing .mf-s1    { animation: mf-hot 12s linear infinite; }
.mcpflow.is-playing .mf-s2    { animation: mf-hot 12s linear infinite; animation-delay: 4s; }
.mcpflow.is-playing .mf-s3    { animation: mf-hot 12s linear infinite; animation-delay: 8s; }
.mcpflow.is-playing .mcpflow__step:nth-child(1) { animation: mf-leg 12s linear infinite; }
.mcpflow.is-playing .mcpflow__step:nth-child(2) { animation: mf-leg 12s linear infinite; animation-delay: 4s; }
.mcpflow.is-playing .mcpflow__step:nth-child(3) { animation: mf-leg 12s linear infinite; animation-delay: 8s; }

@keyframes mf-hot {          /* aktivní fáze: oranžový stín, tloušťka rámu se nemění */
  0%, 28%  { fill: var(--orange); }
  33%, 100%{ fill: var(--black); }
}
@keyframes mf-leg {
  0%, 30%  { border-top-color: var(--orange); color: var(--black); }
  33%, 100%{ border-top-color: #e2e2e2; color: #6b6b6b; }
}
@keyframes mf-dot {          /* fáze 1: data tečou po spojnici a zajedou do MCP */
  0%           { offset-distance: 0%;   opacity: 1; }
  20%          { offset-distance: 100%; opacity: 1; }
  20.1%, 100%  { offset-distance: 100%; opacity: 0; }
}
@keyframes mf-chip {         /* fáze 2: rozsypané výrazy se skládají do shluků */
  0%, 33%     { transform: translate(var(--sx), var(--sy)); opacity: .18; }
  40%         { opacity: 1; }
  56%, 66%    { transform: translate(var(--gx), var(--gy)); opacity: 1; }
  74%, 100%   { transform: translate(var(--gx), var(--gy)); opacity: .18; }
}
@keyframes mf-pkt {          /* fáze 3: jeden zápis odlétá a zajede do API */
  0%, 68%      { offset-distance: 0%;   opacity: 0; }
  70%          { offset-distance: 0%;   opacity: 1; }
  86%          { offset-distance: 100%; opacity: 1; }
  86.1%, 100%  { offset-distance: 100%; opacity: 0; }
}
@keyframes mf-ok {
  0%, 86%     { opacity: 0; }
  90%, 98%    { opacity: 1; }
  100%        { opacity: 0; }
}

@media (max-width: 700px) {
  .mcpflow__legend { grid-template-columns: 1fr; gap: 6px; }
  .mcpflow__stage  { padding: 12px 8px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .mcpflow.is-playing .mf-dot, .mcpflow.is-playing .mf-chip,
  .mcpflow.is-playing .mf-pkt, .mcpflow.is-playing .mf-ok,
  .mcpflow.is-playing .mf-s1, .mcpflow.is-playing .mf-s2, .mcpflow.is-playing .mf-s3,
  .mcpflow.is-playing .mcpflow__step { animation: none; }
  .mcpflow .mf-chip { opacity: .5; transform: translate(var(--gx), var(--gy)); }
  .mcpflow .mf-dot, .mcpflow .mf-pkt { opacity: 1; }
  }

/* =========================================================================
   MFX — scéna vrstev AI Maxu. Sdílí rám a legendu s .mcpflow,
   liší se obsahem: tři vrstvy se rozsvěcují v pořadí 1 → 3 → 2.
   ========================================================================= */
.mcpflow .mfx-box  { fill: var(--white); stroke: var(--black); stroke-width: 3; }
.mcpflow .mfx-sh   { fill: var(--black); }
.mcpflow .mfx-off  { opacity: 1; }
.mcpflow .mfx-on   { opacity: 0; }
.mcpflow .mfx-rail { stroke: var(--black); stroke-width: 3; fill: none; }
.mcpflow .mfx-head { fill: var(--orange); }

.mcpflow.is-playing .mfx-b1 { animation: mfx-fill1 12s linear infinite; }
.mcpflow.is-playing .mfx-b2 { animation: mfx-fill2 12s linear infinite; }
.mcpflow.is-playing .mfx-b3 { animation: mfx-fill3 12s linear infinite; }
.mcpflow.is-playing .mfx-t1 { animation: mfx-text1 12s linear infinite; }
.mcpflow.is-playing .mfx-t2 { animation: mfx-text2 12s linear infinite; }
.mcpflow.is-playing .mfx-t3 { animation: mfx-text3 12s linear infinite; }
.mcpflow.is-playing .mfx-o1 { animation: mfx-swap1 12s linear infinite; }
.mcpflow.is-playing .mfx-o2 { animation: mfx-swap2 12s linear infinite; }
.mcpflow.is-playing .mfx-o3 { animation: mfx-swap3 12s linear infinite; }
.mcpflow.is-playing .mfx-f1 { animation: mfx-fade1 12s linear infinite; }
.mcpflow.is-playing .mfx-f2 { animation: mfx-fade2 12s linear infinite; }
.mcpflow.is-playing .mfx-f3 { animation: mfx-fade3 12s linear infinite; }
.mcpflow.is-playing .mfx-play { animation: mfx-play 12s linear infinite; }

/* pořadí zapínání: vrstva 1 hned, vrstva 3 ve čtvrtém týdnu, vrstva 2 v osmém */
@keyframes mfx-fill1 { 0%,4%{fill:var(--white)} 8%,96%{fill:var(--orange)} 100%{fill:var(--white)} }
@keyframes mfx-fill3 { 0%,36%{fill:var(--white)} 40%,96%{fill:var(--orange)} 100%{fill:var(--white)} }
@keyframes mfx-fill2 { 0%,69%{fill:var(--white)} 73%,96%{fill:var(--orange)} 100%{fill:var(--white)} }
@keyframes mfx-text1 { 0%,4%{fill:var(--black)} 8%,96%{fill:var(--white)} 100%{fill:var(--black)} }
@keyframes mfx-text3 { 0%,36%{fill:var(--black)} 40%,96%{fill:var(--white)} 100%{fill:var(--black)} }
@keyframes mfx-text2 { 0%,69%{fill:var(--black)} 73%,96%{fill:var(--white)} 100%{fill:var(--black)} }
@keyframes mfx-swap1 { 0%,4%{opacity:0} 8%,96%{opacity:1} 100%{opacity:0} }   /* ZAPNUTO */
@keyframes mfx-swap3 { 0%,36%{opacity:0} 40%,96%{opacity:1} 100%{opacity:0} }
@keyframes mfx-swap2 { 0%,69%{opacity:0} 73%,96%{opacity:1} 100%{opacity:0} }
@keyframes mfx-fade1 { 0%,4%{opacity:1} 8%,96%{opacity:0} 100%{opacity:1} }   /* VYPNUTO */
@keyframes mfx-fade3 { 0%,36%{opacity:1} 40%,96%{opacity:0} 100%{opacity:1} }
@keyframes mfx-fade2 { 0%,69%{opacity:1} 73%,96%{opacity:0} 100%{opacity:1} }
@keyframes mfx-play  { 0%{transform:translateX(0)} 96%,100%{transform:translateX(var(--rail))} }

@media (prefers-reduced-motion: reduce) {
  .mcpflow.is-playing [class*="mfx-"] { animation: none; }
  .mcpflow .mfx-b1, .mcpflow .mfx-b2, .mcpflow .mfx-b3 { fill: var(--orange); }
  .mcpflow .mfx-t1, .mcpflow .mfx-t2, .mcpflow .mfx-t3 { fill: var(--white); }
  .mcpflow .mfx-off { opacity: 0; } .mcpflow .mfx-on { opacity: 1; }
}

/* =========================================================================
   MFY — scéna pro dvojku: vylučovací seznam jako křižovatka.
   Dotazy tečou ze zdroje přes seznam do jednoho ze tří kanálů.
   ========================================================================= */
.mcpflow .mfy-chip { fill: var(--black); opacity: 0; offset-rotate: 0deg; }
.mcpflow.is-playing .mfy-cin  { animation: mfy-in  12s linear infinite; }
.mcpflow.is-playing .mfy-cout { animation: mfy-out 12s linear infinite; }
.mcpflow.is-playing .mfy-h1 { animation: mfy-hit 12s linear infinite; }
.mcpflow.is-playing .mfy-h2 { animation: mfy-hit 12s linear infinite; animation-delay: 4s; }
.mcpflow.is-playing .mfy-h3 { animation: mfy-hit 12s linear infinite; animation-delay: 8s; }

@keyframes mfy-in {          /* dotaz zajede celý do seznamu, hrana ho ukrojí */
  0%           { offset-distance: 0%;   opacity: 1; }
  10%          { offset-distance: 100%; opacity: 1; }
  10.1%, 100%  { offset-distance: 100%; opacity: 0; }
}
@keyframes mfy-out {         /* z druhé hrany ven a rovnou zajede do svého kanálu */
  0%, 12%   { offset-distance: 0%;   opacity: 1; }
  25%       { offset-distance: 100%; opacity: 1; }
  25.1%,100%{ offset-distance: 100%; opacity: 0; }
}
@keyframes mfy-hit {         /* kanál, který dotaz převzal, se rozsvítí */
  0%, 18%   { fill: var(--black); }
  23%, 30%  { fill: var(--orange); }
  35%, 100% { fill: var(--black); }
}
@media (prefers-reduced-motion: reduce) {
  .mcpflow.is-playing .mfy-cin, .mcpflow.is-playing .mfy-cout, .mcpflow.is-playing .mfy-h1,
  .mcpflow.is-playing .mfy-h2, .mcpflow.is-playing .mfy-h3 { animation: none; }
  .mcpflow .mfy-chip { opacity: 1; offset-distance: 100%; }
}
