/* ==========================================================================
   webomi — styly
   ========================================================================== */

:root {
  --paper: #F1EEE6;
  --paper-2: #E7E3D8;
  --ink: #111110;
  --ink-2: #1C1C1A;
  --muted: #6D6A62;
  --line: rgba(17, 17, 16, .14);
  --accent: #FF4F1F;
  --accent-2: #FF7A50;

  --bg: var(--paper);
  --fg: var(--ink);

  --f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 14px;
  --ease: cubic-bezier(.65, .05, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

.dark {
  --bg: var(--ink);
  --fg: var(--paper);
  --muted: #9A978E;
  --line: rgba(241, 238, 230, .14);
  --mark-bg: var(--paper);
  --mark-fg: var(--ink);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 14vw, 200px) 0; position: relative; }
.dark { background: var(--bg); color: var(--fg); }
.muted { color: var(--muted); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.eyebrow .idx { color: var(--accent); }

.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.035em;
  max-width: 14ch;
}
.h2 em { font-size: 1.08em; }

/* rozdělený text pro animace */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .08em 0; margin: 0 -.04em -.08em 0; text-indent: 0; }
.wi { display: inline-block; }

/* ---------- zrnitý šum přes celou stránku ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- tlačítka ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: var(--paper); --b-hover: var(--accent); --b-hover-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 10px 0 26px; border-radius: 100px;
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 500; font-size: 16px; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--b-hover); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--b-hover-fg); }
.btn-arrow {
  font-style: normal; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--b-fg); color: var(--b-bg);
  transition: transform .55s var(--ease-out), background .5s, color .5s;
}
.btn:hover .btn-arrow { transform: rotate(-45deg); background: var(--b-hover-fg); color: var(--b-hover); }
.btn-ink { }
.btn-accent { --b-bg: var(--accent); --b-fg: var(--ink); --b-hover: var(--ink); --b-hover-fg: var(--paper); }
.dark .btn-accent { --b-hover: var(--paper); --b-hover-fg: var(--ink); }
.btn-line { --b-bg: transparent; --b-fg: var(--fg, var(--ink)); --b-hover: var(--ink); --b-hover-fg: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line .btn-arrow { background: var(--ink); color: var(--paper); }
.btn-line:hover .btn-arrow { background: var(--paper); color: var(--ink); }
.btn-sm { height: 46px; padding-left: 20px; font-size: 15px; }
.btn-sm .btn-arrow { width: 30px; height: 30px; }
.btn-lg { height: 64px; padding-left: 30px; font-size: 17px; }
.btn-lg .btn-arrow { width: 46px; height: 46px; }

.link-under { position: relative; font-weight: 500; padding: 4px 0; }
.link-under::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease-out);
}
.link-under:hover::after { transform: scaleX(0); transform-origin: left; animation: relink .9s var(--ease-out) .25s forwards; }
@keyframes relink { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

.tag {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 100px; white-space: nowrap;
}

/* ---------- preloader ---------- */
.preloader { display: none; }
.js-anim .preloader {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--paper);
}
.preloader-mark { width: 92px; height: 92px; overflow: visible; }
.preloader-mark path {
  fill: none; stroke: var(--paper); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.preloader-mark circle { fill: var(--accent); transform-origin: 51.5px 15px; transform: scale(0); }
.preloader-count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: rgba(241, 238, 230, .5); }

/* ---------- vlastní kurzor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; border-radius: 50%; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--accent); will-change: transform; }
/* kroužek má pevnou velikost, mění se jen scale (bez přepočtu layoutu) */
.cursor-ring { width: 104px; height: 104px; margin: -52px 0 0 -52px; display: grid; place-items: center; will-change: transform; }
.cursor-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2.7px solid #fff; transform: scale(.365);
  /* jemný stín, aby byl bílý kroužek vidět i na světlém pozadí */
  box-shadow: 0 0 0 1.5px rgba(17, 17, 16, .12), inset 0 0 0 1.5px rgba(17, 17, 16, .12);
  transition: transform .45s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor.is-link .cursor-ring::before { transform: scale(.615); background-color: rgba(255, 255, 255, .14); }
.cursor.is-label .cursor-ring::before { transform: scale(1); background-color: var(--accent); border-color: var(--accent); box-shadow: none; }
.cursor.is-label .cursor-dot { opacity: 0; }
.cursor-label { position: relative; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-label .cursor-label { opacity: 1; }

/* ---------- navigace ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease-out), background .4s, padding .4s;
}
.nav.is-scrolled { background: rgba(241, 238, 230, .96); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav.on-dark { color: var(--paper); }
.nav.on-dark.is-scrolled { background: rgba(17, 17, 16, .96); box-shadow: 0 1px 0 rgba(241, 238, 230, .1); }
.nav.on-dark .nav-logo { color: var(--paper); --mark-bg: var(--paper); --mark-fg: var(--ink); }
.nav.on-dark .nav-links { background: rgba(241, 238, 230, .08); }
.nav.on-dark .nav-links a:hover { background: var(--paper); color: var(--ink); }
.nav.on-dark .nav-cta { --b-bg: var(--paper); --b-fg: var(--ink); }
.nav.on-dark .nav-burger { background: var(--paper); }
.nav.on-dark .nav-burger span { background: var(--ink); }
.nav-logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.nav-mark { width: 36px; height: 36px; transition: transform .6s var(--ease-out); }
.nav-logo:hover .nav-mark { transform: rotate(-12deg) scale(1.06); }
.nav-wordmark { width: 104px; height: 22px; }
.nav-links { display: flex; gap: 6px; padding: 6px; border-radius: 100px; background: rgba(17, 17, 16, .05); }
.nav-links a {
  position: relative; padding: 9px 16px; border-radius: 100px; font-size: 15px; font-weight: 500;
  transition: background .35s, color .35s;
}
.nav-links a:hover { background: var(--ink); color: var(--paper); }
.nav-links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; z-index: 2; }
.nav-burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--paper); transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.nav-burger span:first-child { top: 19px; } .nav-burger span:last-child { top: 26px; }
.menu-open .nav-burger span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-open .nav-burger span:last-child { top: 22.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 36px;
  clip-path: circle(0 at calc(100% - var(--gutter) - 23px) 41px);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - var(--gutter) - 23px) 41px); visibility: visible; }
.menu-open .nav { color: var(--paper); background: transparent; box-shadow: none; }
.menu-open .nav-logo { color: var(--paper); --mark-bg: var(--paper); --mark-fg: var(--ink); }
.menu-open .nav-burger { background: var(--accent); }
.menu-links a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(2.6rem, 12vw, 4.5rem); line-height: 1.08; letter-spacing: -.04em;
  border-bottom: 1px solid rgba(241, 238, 230, .12); padding: 6px 0;
  transform: translateY(30px); opacity: 0; transition: transform .7s var(--ease-out), opacity .7s;
}
.menu-links small { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0; color: var(--accent); }
.menu-open .menu-links a { transform: none; opacity: 1; }
.menu-open .menu-links a:nth-child(1) { transition-delay: .2s; } .menu-open .menu-links a:nth-child(2) { transition-delay: .25s; }
.menu-open .menu-links a:nth-child(3) { transition-delay: .3s; } .menu-open .menu-links a:nth-child(4) { transition-delay: .35s; }
.menu-open .menu-links a:nth-child(5) { transition-delay: .4s; }
.menu-foot { display: flex; flex-direction: column; gap: 6px; font-family: var(--f-mono); font-size: 13px; color: rgba(241, 238, 230, .6); }
.menu-foot a { color: var(--paper); font-size: 18px; font-family: var(--f-body); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 150px var(--gutter) 28px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc((100vw - 2 * var(--gutter)) / 12) 100%, calc((100vw - 2 * var(--gutter)) / 12) 100%;
  background-position: var(--gutter) 0;
  background-repeat: repeat-x;
}
.hero::before { /* jemně schová mřížku nahoře a dole */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(var(--paper), transparent 22%, transparent 70%, var(--paper));
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px); align-items: end; max-width: 1440px; width: 100%; margin: 0 auto;
}
.hero-eyebrow { margin-bottom: 22px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #2BB24C; position: relative; }
.dot-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #2BB24C; animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }

.hero-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3.6rem, 10.2vw, 10.5rem);
  line-height: .86; letter-spacing: -.055em;
  margin-left: -.04em;
}
.hero-title .line { display: block; }
.line-rot { color: var(--accent); }
.rotator { display: inline-grid; font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.03em; font-size: 1.1em; line-height: .9; }
.rot-word { grid-area: 1 / 1; display: inline-block; white-space: nowrap; }
.rotator .rot-word:not(.is-active) { visibility: hidden; }
.js-anim .rotator .rot-word { visibility: visible; }
.rotator { overflow: hidden; padding: .06em .08em .32em 0; }
.line-rot .w { padding-bottom: 0; margin-bottom: -.26em; }
html:not(.js-anim) .blk { border-color: transparent; }
html:not(.js-anim) .bb-xline { display: none; }

.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 40px; max-width: 520px; }
.hero-lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: #3A3934; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero-meta {
  position: relative; display: flex; justify-content: space-between; gap: 16px;
  max-width: 1440px; width: 100%; margin: 56px auto 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint i { display: inline-block; font-style: normal; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* --- animovaný prohlížeč --- */
.hero-visual { position: relative; perspective: 1400px; padding: 40px 0 30px; }
.hv-tilt { position: relative; transform-style: preserve-3d; will-change: transform; }
.browser {
  position: relative; background: #FBFAF6; border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(17, 17, 16, .1), 0 30px 60px -20px rgba(17, 17, 16, .25), 0 70px 120px -40px rgba(17, 17, 16, .25);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.bdot { width: 10px; height: 10px; border-radius: 50%; background: rgba(17, 17, 16, .18); }
.bdot:first-child { background: var(--accent); }
.browser-url {
  flex: 1; margin-left: 12px; max-width: 260px; height: 26px; border-radius: 7px; background: rgba(255, 255, 255, .7);
  display: flex; align-items: center; gap: 7px; padding: 0 10px; font-family: var(--f-mono); font-size: 11px; color: var(--muted);
}
.url-lock { font-size: 7px; color: #2BB24C; }
.browser-body { padding: 18px 20px 22px; display: grid; gap: 18px; }

.blk { position: relative; display: block; border-radius: 6px; border: 1.5px dashed rgba(17, 17, 16, .25); overflow: hidden; font-style: normal; }
.blk > b { position: absolute; inset: -1px; background: var(--ink); transform-origin: left; display: block; }
.bb-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bb-logo { width: 54px; height: 16px; }
.bb-logo > b { background: var(--ink); }
.bb-navlinks { display: flex; gap: 10px; }
.bb-navlinks .blk { width: 34px; height: 8px; border-radius: 4px; }
.bb-navlinks .blk > b { background: rgba(17, 17, 16, .25); }
.bb-navbtn { width: 58px; height: 22px; border-radius: 30px; }
.bb-navbtn > b { background: var(--accent); }
.bb-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; }
.bb-text { display: grid; gap: 10px; }
.bb-h1 { height: 22px; width: 92%; }
.bb-h2 { height: 22px; width: 64%; }
.bb-h2 > b { background: var(--accent); }
.bb-p { height: 7px; width: 100%; margin-top: 6px; border-radius: 4px; }
.bb-p > b, .bb-p2 > b { background: rgba(17, 17, 16, .18); }
.bb-p2 { width: 80%; margin-top: 0; }
.bb-cta { height: 30px; width: 104px; border-radius: 30px; margin-top: 8px; }
.bb-cta em { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-body); font-style: normal; font-size: 11px; font-weight: 600; color: var(--paper); opacity: 0; }
.bb-img { aspect-ratio: 1; border-radius: 10px; }
.bb-img > b { background: #F4D9C9; }
.bb-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-sun { fill: var(--accent); }
.art-hill { fill: var(--ink); }
.art-hill2 { fill: #3B3A35; }
.bb-xline { position: absolute; left: 0; top: 0; width: 141%; height: 1.5px; background: rgba(17, 17, 16, .2); transform-origin: 0 0; transform: rotate(45deg); }
.bb-xline2 { left: auto; right: 0; transform-origin: 100% 0; transform: rotate(-45deg); }
.bb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bb-cards .blk { height: 54px; border-radius: 8px; }
.bb-cards .blk > b { background: var(--paper-2); }
.bb-cards .blk:nth-child(2) > b { background: var(--ink); }

/* výchozí (statický) stav = hotový web; animace začíná z wireframu */
.js-anim .blk > b, .js-anim .bb-art { opacity: 0; }

.fake-cursor { position: absolute; width: 22px; height: 22px; left: 70%; top: 85%; fill: var(--ink); stroke: #fff; stroke-width: 1.4; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); opacity: 0; }
.click-ring { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; pointer-events: none; }

.hv-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; background: var(--paper); border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(17, 17, 16, .35);
  transform: translateZ(60px);
}
.hv-chip strong { display: block; font-family: var(--f-display); font-size: 20px; line-height: 1; letter-spacing: -.03em; }
.hv-chip span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hv-score { left: -28px; bottom: 6px; }
.hv-score svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.sc-bg, .sc-fg { fill: none; stroke-width: 4; }
.sc-bg { stroke: rgba(17, 17, 16, .1); }
.sc-fg { stroke: #2BB24C; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 1; }
.hv-mobile { right: -18px; top: 6px; }
.hv-phone { width: 22px; height: 38px; border-radius: 6px; border: 2px solid var(--ink); position: relative; display: block; }
.hv-phone i { position: absolute; left: 4px; right: 4px; top: 6px; height: 12px; border-radius: 2px; background: var(--accent); }
.hv-stamp { position: absolute; right: 10%; bottom: -26px; width: 112px; height: 112px; transform: translateZ(90px); }
.hv-stamp > svg { width: 100%; height: 100%; animation: spin 14s linear infinite; overflow: visible; }
.hv-stamp text { font-family: var(--f-mono); font-size: 9.6px; letter-spacing: .14em; fill: var(--ink); }
.hv-stamp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); z-index: -1; }
.hv-stamp-star { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--accent); color: var(--ink); overflow: hidden; padding: 22px 0;
  transform: rotate(-1.5deg) scale(1.03); margin: 30px 0 0; position: relative; z-index: 2;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 3.4rem); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.marquee i { font-style: normal; font-size: clamp(1.4rem, 3vw, 2.4rem); display: inline-block; animation: spin 6s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- MANIFEST ---------- */
.manifest-text {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 4rem); line-height: 1.1; letter-spacing: -.03em;
  max-width: 24ch; text-indent: 2.2em;
}
.manifest-text em { color: var(--accent); font-size: 1.1em; }
.manifest-text .mw { transition: none; }
.manifest-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.fact { padding-top: 22px; display: grid; gap: 6px; }
.fact strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.4rem, 4.6vw, 4.2rem); letter-spacing: -.04em; line-height: 1; }
.fact span { color: var(--muted); max-width: 24ch; }

/* ---------- PRÁCE ---------- */
.work { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 120px); overflow: hidden; }
@media (min-width: 901px) {
  .work { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 40px; }
}
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.work-progress { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 12px; }
.wp-bar { width: 140px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.wp-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(.25); }
.work-viewport { width: 100%; }
.work-track { will-change: transform; display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); width: max-content; }

.work-card { width: clamp(300px, min(42vw, (100vh - 330px) * 1.333), 640px); flex-shrink: 0; display: block; }
.wc-screen {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; padding: clamp(14px, 1.6vw, 22px);
  transition: transform .8s var(--ease-out), border-radius .8s var(--ease-out);
}
.work-card:hover .wc-screen { transform: scale(.975); border-radius: 26px; }
.wc-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-top: 18px; }
.wc-info h3 { font-family: var(--f-display); font-weight: 600; font-size: 24px; letter-spacing: -.03em; line-height: 1.1; }
.wc-info p { color: var(--muted); font-size: 15px; }

.wc-photo { padding: 0; background: #1a1a1a; }
.wc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.work-card:hover .wc-photo img { transform: scale(1.05); }
.wc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 30%, transparent 60%, rgba(0, 0, 0, .55)); }
.wc-bar { position: absolute; left: 16px; top: 14px; display: flex; gap: 6px; z-index: 1; }
.wc-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.wc-brand { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff; font-size: clamp(20px, 2vw, 28px); line-height: 1; }

.work-card-cta {
  width: clamp(260px, min(28vw, (100vh - 330px) * .75), 420px); aspect-ratio: 3 / 4; align-self: flex-start;
  border-radius: var(--radius); background: var(--accent); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; padding: 28px;
  transition: border-radius .8s var(--ease-out), background .5s;
}
.work-card-cta:hover { border-radius: 40px; background: var(--ink); color: var(--paper); }
.wcc-small { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.wcc-big { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 6vw, 6rem); line-height: .9; letter-spacing: -.05em; }
.wcc-big em { color: inherit; }
.wcc-arrow { font-size: 40px; transition: transform .6s var(--ease-out); align-self: flex-end; }
.work-card-cta:hover .wcc-arrow { transform: rotate(-45deg); }

/* ---------- SLUŽBY ---------- */
.sec-head { margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.sec-head-note { max-width: 34ch; }
.services .h2 { max-width: 16ch; }
.services .h2 em { color: var(--accent); }
.svc-list { border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.svc a {
  position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 60px; align-items: center; gap: 24px;
  padding: clamp(22px, 2.6vw, 36px) 0; isolation: isolate;
  transition: color .5s var(--ease-out), padding .6s var(--ease-out);
}
.svc a::before {
  content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: var(--accent);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out);
}
.svc a:hover::before { transform: scaleY(1); }
.svc a:hover { color: var(--ink); padding-left: 20px; padding-right: 20px; }
.svc-num { font-family: var(--f-mono); font-size: 13px; color: var(--accent); transition: color .4s; }
.svc a:hover .svc-num { color: var(--ink); }
.svc-name { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 3.8rem); line-height: 1; letter-spacing: -.04em; }
.svc-desc { color: var(--muted); max-width: 40ch; transition: color .4s; }
.svc a:hover .svc-desc { color: rgba(17, 17, 16, .78); }
.svc-arrow {
  justify-self: end; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 20px; transform: rotate(-45deg);
  transition: transform .6s var(--ease-out), background .4s, border-color .4s, color .4s;
}
.svc a:hover .svc-arrow { transform: rotate(0); background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- PROCES ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 8vw, 140px); align-items: start; }
.process-side { position: sticky; top: 120px; }
.process-side .h2 { margin-bottom: 26px; }
.process-side .h2 em { color: var(--accent); }
.process-side p { max-width: 40ch; }
.steps { position: relative; display: grid; gap: clamp(48px, 7vw, 96px); padding-left: 48px; }
.steps-line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(1); }
.js-anim .steps-line i { transform: scaleY(0); }
.step { position: relative; }
.step-dot {
  position: absolute; left: -48px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink); transition: background .4s, transform .4s var(--ease-out);
}
.step.is-on .step-dot { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }
.step-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.step-num { color: var(--accent); }
.step-time { padding: 5px 10px; border-radius: 30px; border: 1px solid var(--line); }
.step h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
.step p { color: var(--muted); max-width: 44ch; font-size: 18px; }

/* ---------- CENÍK ---------- */
.pricing { background: var(--paper-2); }
.pricing .h2 { max-width: 12ch; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 28px;
  padding: clamp(26px, 2.6vw, 38px); border-radius: 22px; background: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  transition: translate .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.plan:hover { translate: 0 -8px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(17, 17, 16, .3); }
.plan h3 { font-family: var(--f-display); font-weight: 600; font-size: 30px; letter-spacing: -.03em; margin-bottom: 8px; }
.plan header p { color: var(--muted); font-size: 15px; max-width: 30ch; }
.plan-price { display: flex; align-items: baseline; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-price strong { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 4.6vw, 4.4rem); letter-spacing: -.05em; line-height: .9; }
.plan-price span, .plan-price small { font-family: var(--f-mono); font-size: 14px; color: var(--muted); }
.plan ul { display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.plan li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.4L13 6.4' fill='none' stroke='%23F1EEE6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.plan .btn { justify-content: space-between; }

.plan-featured { background: var(--ink); color: var(--paper); --line: rgba(241, 238, 230, .16); --muted: #A9A69D; }
.plan-featured li::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.4L13 6.4' fill='none' stroke='%23111110' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-featured .btn-accent { --b-hover: var(--paper); --b-hover-fg: var(--ink); }
.plan-stamp { position: absolute; top: -30px; right: -18px; width: 104px; height: 104px; }
.plan-stamp > svg { width: 100%; height: 100%; animation: spin 16s linear infinite; overflow: visible; }
.plan-stamp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); z-index: -1; }
.plan-stamp text { font-family: var(--f-mono); font-size: 8.6px; letter-spacing: .12em; fill: var(--ink); }
.plan-stamp span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; color: var(--ink); }
.plans-note { margin-top: 28px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-align: center; letter-spacing: .02em; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.faq .h2 em { color: var(--accent); }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left;
  padding: 28px 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.2rem, 1.8vw, 1.6rem); letter-spacing: -.02em; line-height: 1.2;
  transition: color .3s;
}
.qa-q:hover { color: var(--accent); }
.qa-q i { position: relative; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: background .4s, transform .6s var(--ease-out), border-color .4s; }
.qa-q i::before, .qa-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease-out); }
.qa-q i::after { transform: rotate(90deg); }
.qa-q[aria-expanded="true"] i { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: rotate(180deg); }
.qa-q[aria-expanded="true"] i::after { transform: rotate(0); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.qa-a > div { overflow: hidden; }
.qa-a p { color: var(--muted); max-width: 56ch; padding-bottom: 28px; padding-right: 60px; }
.qa.is-open .qa-a { grid-template-rows: 1fr; }

/* ---------- KONTAKT ---------- */
.contact { overflow: hidden; }
.contact-title {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(3.2rem, 9.5vw, 10rem);
  line-height: .9; letter-spacing: -.055em; margin-bottom: clamp(56px, 8vw, 110px);
}
.contact-title em { color: var(--accent); font-size: 1.06em; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.contact-side { display: grid; gap: 22px; }
.contact-side p { max-width: 36ch; font-size: 18px; }
.contact-mail { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.03em; width: fit-content; position: relative; }
.contact-mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform-origin: left; transition: transform .6s var(--ease-out); }
.contact-mail:hover::after { transform: scaleX(.3); }
.contact-phone { font-family: var(--f-mono); color: var(--muted); }

.form { display: grid; gap: 30px; }
.form fieldset { border: 0; }
.form legend { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 100px;
  border: 1px solid var(--line); font-size: 15px; cursor: pointer; user-select: none;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.chips span:hover { border-color: var(--fg); }
.chips input:checked + span { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.chips span:active { transform: scale(.95); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--fg);
  font: inherit; font-size: 19px; padding: 26px 0 12px; resize: vertical; outline: none; border-radius: 0;
  transition: border-color .3s;
}
.field span { position: absolute; left: 0; top: 26px; color: var(--muted); pointer-events: none; transform-origin: left; transition: transform .4s var(--ease-out), color .3s; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-24px) scale(.72); color: var(--accent); }
.field.is-error input { border-color: #FF6B6B; }
.form-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.form-msg { font-family: var(--f-mono); font-size: 13px; color: var(--accent); }

/* ---------- FOOTER ---------- */
.footer { padding: clamp(64px, 8vw, 110px) 0 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 32px; margin-bottom: clamp(64px, 9vw, 120px); }
.footer-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-col a { position: relative; transition: color .3s; }
.footer-col a:hover { color: var(--accent); }
.footer-label { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.footer-clock { color: var(--muted); font-family: var(--f-mono); font-size: 14px; }
.to-top { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-size: 22px; transition: background .4s, color .4s; }
.to-top:hover { background: var(--paper); }
.footer-wordmark { width: 100%; height: auto; overflow: visible; color: var(--paper); }
.fw-path { fill: none; stroke: var(--paper); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js-anim .fw-path { stroke-dashoffset: 1; }
.fw-dot { fill: var(--accent); }
.has-cursor .footer-wordmark { cursor: none; }
.footer-wordmark { cursor: pointer; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.footer-bottom a:hover { color: var(--accent); }

/* ==========================================================================
   Responzivita
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; width: 100%; margin: 20px auto 0; }
  .hero-bottom { max-width: 640px; }
  .process-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-side { position: static; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .svc a { grid-template-columns: 50px minmax(0, 1fr) 52px; }
  .svc-desc { grid-column: 2; grid-row: 2; }
  .svc-arrow { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 900px) {
  .work-head { flex-direction: column; align-items: flex-start; }
  .work-progress { display: none; }
  .work-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 6px; }
  .work-viewport::-webkit-scrollbar { display: none; }
  .work-card { width: 82vw; scroll-snap-align: center; }
  .work-card-cta { width: 70vw; aspect-ratio: auto; min-height: 60vw; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-wordmark { width: 92px; }
  .hero { padding-top: 132px; background-size: calc((100vw - 2 * var(--gutter)) / 4) 100%, calc((100vw - 2 * var(--gutter)) / 4) 100%; }
  .hero-title { font-size: clamp(3.2rem, 17.5vw, 6rem); }
  .hero-bottom { margin-top: 28px; }
  .hero-visual { padding: 26px 8px 30px; }
  .hv-score { left: -4px; bottom: -6px; }
  .hv-mobile { right: -4px; top: -2px; }
  .hv-stamp { width: 84px; height: 84px; bottom: -20px; right: 4%; }
  .hv-stamp text { font-size: 9px; }
  .browser-body { padding: 14px; gap: 14px; }
  .hide-sm { display: none; }
  .manifest-text { text-indent: 0; }
  .manifest-facts { grid-template-columns: 1fr; gap: 0; }
  .fact { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .svc a { grid-template-columns: 34px minmax(0, 1fr) 44px; gap: 6px 14px; }
  .svc-arrow { width: 44px; height: 44px; }
  .svc a:hover { padding-left: 10px; padding-right: 10px; }
  .steps { padding-left: 36px; }
  .step-dot { left: -36px; }
  .field-row { grid-template-columns: 1fr; gap: 30px; }
  .qa-a p { padding-right: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .to-top { grid-column: 2; grid-row: 1; justify-self: end; }
  .plan-stamp { right: -6px; width: 92px; height: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* animace mimo obrazovku stojí (šetří výkon) */
.anim-paused, .anim-paused * { animation-play-state: paused !important; }

/* symboly jako SVG (na iPhonu se znaky jako ✳ zobrazují jako emoji) */
.ast { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; }
.hv-stamp-star .ast { animation: spin 8s linear infinite reverse; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.form-msg.is-error { color: #FF6B6B; }
