/* ==========================================================================
   Economy Watch — ručně psané styly, žádný framework.
   ========================================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "JB Mono";
  src: url("../fonts/jbmono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #0c0d0f;
  --ink-2: #141619;
  --ink-3: #1f2226;
  --paper: #f2eee6;
  --paper-2: #e7e1d4;
  --accent: #ff5a1f;
  --accent-2: #ff7a47;
  --muted-on-ink: #9b978f;
  --muted-on-paper: #5e5b55;
  --line-on-ink: rgba(242, 238, 230, .14);
  --line-on-paper: rgba(12, 13, 15, .16);

  --f-sans: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JB Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1400px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
  --header-h: 72px;

  color-scheme: dark;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  interpolate-size: allow-keywords;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: clamp(16px, .25vw + 15px, 18px);
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

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

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

.visually-hidden, .hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--ink);
  padding: 10px 16px; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- Tlačítka ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  position: relative;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.5em;
  border: 1.5px solid var(--bd);
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; line-height: 1;
  font-stretch: 90%;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute; inset: -1px;
  background: var(--fill, var(--paper));
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--fg-hover, var(--ink)); }
.btn__arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--accent { --bg: var(--accent); --fg: var(--ink); --bd: var(--accent); --fill: var(--paper); }
.btn--ghost  { --bd: var(--line-on-ink); --fill: var(--paper); }
.section--paper .btn--ghost { --bd: var(--line-on-paper); --fill: var(--ink); --fg-hover: var(--paper); }
.btn--small { padding: .7em 1.1em; font-size: .9rem; }
.btn--big { padding: 1.15em 1.8em; font-size: 1.08rem; }

/* ---------- Hlavička ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 14px var(--gutter);
  transition: transform .5s var(--ease);
  pointer-events: none;
}
.top__inner {
  pointer-events: auto;
  max-width: calc(var(--max) - 2 * var(--gutter) + 40px);
  margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  height: 52px;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.top.is-scrolled .top__inner {
  background: rgba(12, 13, 15, .72);
  border-color: var(--line-on-ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}
.top.is-hidden { transform: translateY(-110%); }
.top__logo { display: block; width: 150px; flex: none; color: var(--paper); transition: color .3s; }
.top__logo:hover { color: var(--accent); }
.top__nav { display: flex; gap: 4px; margin-left: auto; }
.top__nav a {
  position: relative;
  padding: 8px 12px;
  font-size: .92rem; font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  color: rgba(242, 238, 230, .8);
  transition: color .25s, background .25s;
}
.top__nav a span { font-family: var(--f-mono); font-size: .65rem; color: var(--accent); margin-right: 6px; vertical-align: 2px; }
.top__nav a:hover, .top__nav a.is-active { color: var(--paper); background: rgba(242, 238, 230, .08); }
.top__clock {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .75rem;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted-on-ink);
  white-space: nowrap;
}
.top__clock time { color: var(--paper); font-variant-numeric: tabular-nums; }
.top__clock i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 2s infinite; }
.top__burger { display: none; }

@keyframes blink { 50% { opacity: .2; } }

/* ---------- Úvod ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(24px, 6vh, 80px));
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 78% 45%, rgba(255, 90, 31, .16), transparent 70%),
    linear-gradient(var(--line-on-ink) 1px, transparent 1px) 0 0 / 100% 96px,
    linear-gradient(90deg, var(--line-on-ink) 1px, transparent 1px) 0 0 / 96px 100%;
  mask-image: radial-gradient(90% 80% at 60% 40%, #000 30%, transparent 85%);
  opacity: .9;
}
.hero__bg::after {
  /* jemné zrno */
  content: ""; position: absolute; inset: 0;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity: .25; mix-blend-mode: overlay;
}
.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 28px;
  font-family: var(--f-mono); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-on-ink);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--accent);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

.hero__title {
  margin: 0;
  font-size: clamp(2.6rem, 5.1vw, 6.2rem);
  font-weight: 700;
  font-stretch: 78%;
  line-height: .92;
  letter-spacing: -.025em;
  text-transform: none;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.hero__title .line:nth-child(4) > span { transition-delay: .24s; }
.is-loaded .hero__title .line > span { transform: none; }
.hero__lead {
  max-width: 34em;
  margin: clamp(24px, 4vh, 40px) 0 0;
  font-size: clamp(1.05rem, .5vw + .95rem, 1.3rem);
  color: rgba(242, 238, 230, .78);
  line-height: 1.5;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 5vh, 44px); }

.hero__watch { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: end; }
.watch { width: 100%; height: auto; overflow: visible; opacity: 0; transform: scale(.92) rotate(-8deg); transition: opacity 1.4s var(--ease) .2s, transform 1.6s var(--ease) .2s; }
.is-loaded .watch { opacity: 1; transform: none; }
.w-bezel { fill: none; stroke: var(--line-on-ink); stroke-width: 1.5; }
.w-ring { animation: spin 90s linear infinite; transform-origin: 0 0; }
.w-ring text { font-family: var(--f-mono); font-size: 15px; font-weight: 500; fill: var(--muted-on-ink); letter-spacing: .1em; }
.w-face { fill: url(#dial-glow); stroke: rgba(242, 238, 230, .22); stroke-width: 1.5; }
.w-ticks line { stroke: rgba(242, 238, 230, .35); stroke-width: 2; stroke-linecap: round; }
.w-ticks line.maj { stroke: var(--paper); stroke-width: 5; }
.w-num text { font-family: var(--f-sans); font-stretch: 75%; font-weight: 700; font-size: 44px; fill: var(--paper); text-anchor: middle; }
.w-brand { font-family: var(--f-sans); font-stretch: 75%; font-weight: 700; font-size: 20px; letter-spacing: .14em; fill: var(--paper); text-anchor: middle; }
.w-small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; fill: var(--accent); text-anchor: middle; }
.w-date rect { fill: var(--paper); }
.w-date text { font-family: var(--f-mono); font-weight: 700; font-size: 15px; fill: var(--ink); text-anchor: middle; letter-spacing: .04em; }
.w-sub circle:first-child { fill: rgba(0, 0, 0, .35); stroke: rgba(242, 238, 230, .2); stroke-width: 1.5; }
.w-star { fill: rgba(242, 238, 230, .45); }
.w-moon__dark { fill: rgba(242, 238, 230, .07); stroke: rgba(242, 238, 230, .16); stroke-width: 1; }
.w-moon__lit { fill: var(--paper); filter: drop-shadow(0 0 6px rgba(242, 238, 230, .25)); }
.w-sub__t { font-family: var(--f-mono); font-size: 7.5px; letter-spacing: .16em; fill: var(--muted-on-ink); text-anchor: middle; }
.w-sub__v { font-family: var(--f-mono); font-size: 7.5px; font-weight: 700; letter-spacing: .12em; fill: var(--accent); text-anchor: middle; }
.w-hand--h rect, .w-hand--m rect { fill: var(--paper); }
.w-hand--h rect { filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }
.w-hand--m rect { filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); }
.w-hand--s line { stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.w-hand--s circle { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.w-cap { fill: var(--ink); stroke: var(--accent); stroke-width: 4; }

@keyframes spin { to { transform: rotate(360deg); } }

.hero__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 32px; padding-bottom: 28px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-on-ink);
}
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll i { position: relative; width: 1px; height: 36px; background: var(--line-on-ink); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: drip 2s var(--ease-in-out) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Páska ---------- */
.ticker {
  position: relative; z-index: 2;
  background: var(--accent); color: var(--ink);
  overflow: hidden;
  border-block: 1px solid var(--ink);
}
.ticker__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker span {
  padding: .3em .55em;
  font-size: clamp(1.6rem, 3.6vw, 3.2rem);
  font-weight: 700; font-stretch: 75%;
  text-transform: uppercase; letter-spacing: -.01em;
  white-space: nowrap;
}
.ticker b { font-size: clamp(.7rem, 1.2vw, 1rem); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sekce ---------- */
.section { position: relative; padding: clamp(88px, 14vw, 180px) 0; }
.section--paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.section--ink { background: var(--ink); color: var(--paper); }
.section__head { display: grid; gap: 20px; margin-bottom: clamp(48px, 7vw, 96px); max-width: 1100px; }
.label {
  margin: 0;
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
  opacity: .7;
}
.label span { color: var(--accent); }
.label::after { content: ""; flex: 0 0 64px; height: 1px; background: currentColor; opacity: .5; }
.h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6.6vw, 6.4rem);
  font-weight: 700; font-stretch: 78%;
  line-height: .95; letter-spacing: -.025em;
}
.h2 { text-wrap: balance; }
.section__intro { margin: 0; max-width: 38em; font-size: clamp(1.1rem, .6vw + .95rem, 1.45rem); line-height: 1.45; opacity: .85; }

/* rolující slovo */
.roll { display: inline-block; height: 1.45em; overflow: hidden; vertical-align: bottom; position: relative; }
.roll__track { display: flex; flex-direction: column; transition: transform .7s var(--ease); }
.roll__track span { height: 1.45em; line-height: 1.45em; font-weight: 650; color: #e2470f; white-space: nowrap; }

/* ---------- Rejstřík ---------- */
.index { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.index__item { border-bottom: 1px solid var(--line-on-paper); }
.index details { position: relative; }
.index summary {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, auto) 44px;
  align-items: center; gap: 20px;
  padding: clamp(18px, 2.4vw, 30px) 8px;
  cursor: pointer;
  list-style: none;
  isolation: isolate;
  transition: color .4s var(--ease), padding .4s var(--ease);
}
.index summary::-webkit-details-marker { display: none; }
.index summary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease);
}
@media (hover: hover) {
  .index summary:hover { color: var(--paper); padding-left: 24px; padding-right: 24px; }
  .index summary:hover::before { transform: scaleY(1); }
  .index summary:hover .index__tags { color: var(--muted-on-ink); }
}
.index__no { font-family: var(--f-mono); font-size: .8rem; color: #e2470f; }
.index__title {
  font-size: clamp(1.7rem, 4.2vw, 3.6rem);
  font-weight: 650; font-stretch: 80%;
  line-height: 1; letter-spacing: -.02em;
}
.index__tags { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-on-paper); text-align: right; transition: color .4s; }
.index__icon { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; opacity: .7; justify-self: end; transition: transform .5s var(--ease), background .3s; }
.index__icon::before, .index__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.index__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.index details[open] .index__icon { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); color: var(--ink); opacity: 1; }
.index details[open] .index__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.index__body { padding: 0 8px clamp(24px, 3vw, 40px) calc(64px + 20px + 8px); max-width: 52em; }
.index__body p { margin: 0; font-size: clamp(1.05rem, .5vw + .95rem, 1.3rem); line-height: 1.5; color: #2b2a27; }
.index details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.index details[open]::details-content { block-size: auto; }
.index__item--nic .index__title { color: #e2470f; }

/* ---------- Postup ---------- */
.process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.process__sticky { position: sticky; top: calc(50vh - min(19vw, 260px)); display: grid; justify-items: center; gap: 20px; }
.pwatch { width: min(38vw, 520px); height: auto; }
.pw-outer { fill: none; stroke: var(--line-on-ink); stroke-width: 1; }
.pw-track { fill: none; stroke: rgba(242, 238, 230, .08); stroke-width: 22; }
.pw-prog { fill: none; stroke: var(--accent); stroke-width: 22; stroke-dasharray: 741.42; stroke-dashoffset: 741.42; }
.pw-tick { stroke: rgba(242, 238, 230, .3); stroke-width: 1.5; }
.pw-tick--q { stroke: var(--paper); stroke-width: 3; }
.pw-q { font-family: var(--f-mono); font-size: 22px; font-weight: 600; text-anchor: middle; fill: rgba(242, 238, 230, .28); transition: fill .4s; }
.pw-q.is-on { fill: var(--paper); }
.pw-hand line { stroke: var(--paper); stroke-width: 5; stroke-linecap: round; }
.pw-cap { fill: var(--accent); }
.process__now { margin: 0; font-weight: 700; font-stretch: 78%; letter-spacing: -.02em; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--accent); line-height: 1; height: 1em; }
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  min-height: 62vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 0;
  border-top: 1px solid var(--line-on-ink);
  opacity: .28;
  transition: opacity .6s var(--ease);
}
.step.is-on { opacity: 1; }
.step__time { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.step__title { margin: 14px 0 18px; font-size: clamp(2.4rem, 5.4vw, 5.2rem); font-weight: 700; font-stretch: 78%; line-height: .95; letter-spacing: -.025em; }
.step__title span { display: block; font-family: var(--f-mono); font-size: .9rem; font-weight: 400; letter-spacing: .1em; color: var(--muted-on-ink); margin-bottom: 10px; }
.step p { margin: 0; max-width: 30em; font-size: clamp(1.05rem, .5vw + .95rem, 1.3rem); color: rgba(242, 238, 230, .8); }

/* ---------- Manifest ---------- */
.manifest {
  margin: 0 0 clamp(80px, 10vw, 140px);
  max-width: 27ch;
  font-size: clamp(2.2rem, 5.6vw, 5.6rem);
  font-weight: 600; font-stretch: 82%;
  line-height: 1.02; letter-spacing: -.025em;
}
.manifest .w { opacity: .14; transition: opacity .25s linear; }
.manifest .w.is-on { opacity: 1; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.stat { padding: 28px 24px 8px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-on-paper); }
.stat__n {
  display: flex; align-items: baseline; gap: 4px;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  font-weight: 700; font-stretch: 75%;
  line-height: .9; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stat__n small { font-size: .42em; font-weight: 500; letter-spacing: 0; }
.stat__n .inf { color: #e2470f; }
.stat p { margin: 16px 0 0; max-width: 18em; color: var(--muted-on-paper); font-size: 1rem; }

.facts {
  margin: clamp(80px, 10vw, 140px) 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1.5px solid var(--ink);
}
.facts > div { padding: 22px 24px; border-right: 1px solid var(--line-on-paper); border-bottom: 1px solid var(--line-on-paper); }
.facts > div:nth-child(3n) { border-right: 0; }
.facts > div:nth-last-child(-n+3) { border-bottom: 0; }
.facts dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-paper); margin-bottom: 8px; }
.facts dd { margin: 0; font-size: clamp(1.05rem, .6vw + .9rem, 1.35rem); font-weight: 550; }
.facts a { text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: #e2470f; }
.facts a:hover { color: #e2470f; }

/* ---------- Kontakt ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.form { display: grid; gap: 34px; }
.chips { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { padding: 0; margin-bottom: 14px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-ink); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span {
  display: inline-block; padding: .62em 1.1em;
  border: 1.5px solid var(--line-on-ink); border-radius: 999px;
  font-size: .95rem; font-weight: 500;
  transition: background .25s, color .25s, border-color .25s;
}
.chip:hover span { border-color: var(--paper); }
.chip input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  padding: 30px 0 12px;
  background: transparent;
  border: 0; border-bottom: 1.5px solid var(--line-on-ink);
  border-radius: 0;
  font-size: clamp(1.15rem, .8vw + 1rem, 1.5rem);
  outline: none;
  transition: border-color .3s;
  appearance: none;
}
.field textarea { display: block; resize: vertical; min-height: 150px; line-height: 1.45; }
.field label {
  position: absolute; left: 0; top: 30px;
  font-size: clamp(1.15rem, .8vw + 1rem, 1.5rem);
  color: var(--muted-on-ink);
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform .35s var(--ease), color .3s;
}
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-26px) scale(.6);
  color: var(--paper);
}
.field input:-webkit-autofill { -webkit-text-fill-color: var(--paper); transition: background-color 9999s; }
.field__count { position: absolute; right: 0; top: 6px; font-family: var(--f-mono); font-size: .7rem; color: var(--muted-on-ink); }
.field__err { position: absolute; left: 0; top: 100%; margin-top: 6px; font-size: .85rem; line-height: 1.3; color: var(--accent-2); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--accent-2); }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 10px; }
.form__note { margin: 0; flex: 1 1 260px; font-size: .82rem; color: var(--muted-on-ink); line-height: 1.5; }
.form__status { font-size: 1.05rem; min-height: 1.5em; }
.form__status:empty { min-height: 0; }
.form__status.is-ok, .form__status.is-chyba, .form__status.is-limit {
  padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--line-on-ink);
  display: flex; gap: 12px; align-items: center;
}
.form__status.is-ok { background: rgba(124, 214, 135, .1); border-color: rgba(124, 214, 135, .4); }
.form__status.is-ok::before { content: "✓"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #7cd687; color: var(--ink); font-weight: 700; }
.form__status.is-chyba, .form__status.is-limit { background: rgba(255, 90, 31, .1); border-color: rgba(255, 90, 31, .45); }
.form.is-sending .btn { pointer-events: none; opacity: .7; }
.form.is-sending .btn__arrow { animation: nudge .8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.form.is-done .chips, .form.is-done .field, .form.is-done .form__foot { display: none; }
.form__again { display: none; justify-self: start; }
.form.is-done .form__again { display: inline-flex; }
.form.is-done .form__status { font-size: clamp(1.2rem, 1vw + 1rem, 1.6rem); padding: 28px; }

/* vizitka */
.card-wrap { position: sticky; top: calc(var(--header-h) + 40px); perspective: 1200px; }
.card {
  position: relative;
  aspect-ratio: 1.586;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: 18px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 90, 31, .22), transparent 55%),
    linear-gradient(145deg, #f5f1e9, #e4ddcf);
  color: var(--ink);
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 40px 80px -30px rgba(0, 0, 0, .7), 0 18px 30px -18px rgba(0, 0, 0, .6);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
  overflow: hidden;
}
.card.is-tilting { transition: transform .1s linear; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.card__logo { width: 58%; max-width: 220px; }
.card__chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #d9b26a, #f4dc9c 45%, #b98d3e); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.card__mail {
  margin-top: auto;
  font-size: clamp(1.2rem, 2vw, 1.75rem); font-weight: 650; font-stretch: 85%;
  letter-spacing: -.01em;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease);
  align-self: flex-start;
}
.card__mail:hover { background-size: 100% 1.5px; }
.card__addr { font-style: normal; font-size: .88rem; line-height: 1.45; margin-top: 10px; color: #3d3b37; }
.card__foot { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(12, 13, 15, .2); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #3d3b37; }
.card__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 50% at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 70%);
  mix-blend-mode: soft-light;
  opacity: 0; transition: opacity .4s;
}
.card.is-tilting .card__shine { opacity: 1; }
.card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- Patička ---------- */
.foot { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 120px) 0 36px; border-top: 1px solid var(--line-on-ink); }
.foot__logo { display: block; color: var(--paper); transition: color .4s; }
.foot__logo:hover { color: var(--accent); }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 6vw, 72px); font-size: .9rem; color: var(--muted-on-ink); }
.foot__cols p { margin: 0; line-height: 1.6; }
.foot__cols a { color: var(--paper); text-decoration: none; }
.foot__cols a:hover { color: var(--accent); }
.foot__end { text-align: right; }

/* ---------- Animace při scrollu ---------- */
@media (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
  .reveal.is-in { opacity: 1; transform: none; }
}
@media (scripting: none) {
  .hero__title .line > span, .watch { transform: none; opacity: 1; }
}

/* ---------- Responzivita ---------- */
@media (max-width: 1100px) {
  .top__nav a span { display: none; }
  .top__clock { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .top { padding: 10px 12px; }
  .top__inner { padding: 0 6px 0 16px; gap: 12px; }
  .top__logo { width: 132px; }
  .top__cta { margin-left: auto; }
  .top__burger {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line-on-ink); background: rgba(12, 13, 15, .6);
    cursor: pointer; position: relative; z-index: 2;
  }
  .top__burger span { display: block; width: 18px; height: 1.5px; background: var(--paper); transition: transform .4s var(--ease); }
  .top__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .top__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .top__nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 0;
    padding: 100px var(--gutter) 40px;
    background: var(--ink);
    clip-path: circle(0 at calc(100% - 40px) 36px);
    transition: clip-path .7s var(--ease-in-out);
    visibility: hidden;
  }
  .menu-open .top__nav { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
  .top__nav a {
    font-size: clamp(2.6rem, 11vw, 4rem); font-weight: 700; font-stretch: 78%;
    letter-spacing: -.02em; line-height: 1;
    padding: 16px 0; border-radius: 0;
    border-bottom: 1px solid var(--line-on-ink);
    color: var(--paper);
  }
  .top__nav a:hover { background: none; color: var(--accent); }
  .top__nav a span { display: inline; font-size: .8rem; vertical-align: 1.4em; }
  .menu-open { overflow: hidden; }

  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__watch { order: -1; max-width: min(78vw, 440px); justify-self: center; margin: -10px 0 8px; }
  .hero__foot span:first-child, .hero__foot span:last-child { display: none; }
  .hero__foot { justify-content: center; }

  .index summary { grid-template-columns: 36px minmax(0, 1fr) 40px; gap: 12px; }
  .index__tags { grid-column: 2; grid-row: 2; text-align: left; font-size: .68rem; }
  .index__icon { grid-row: 1 / span 2; grid-column: 3; width: 40px; height: 40px; }
  .index__body { padding-left: calc(36px + 12px + 8px); }

  .process__grid { grid-template-columns: 1fr; }
  .process__sticky {
    top: calc(var(--header-h) + 8px); z-index: 3;
    grid-template-columns: auto 1fr; justify-items: start; align-items: center;
    padding: 10px 14px; margin: 0 calc(var(--gutter) * -1) 0;
    background: rgba(12, 13, 15, .85);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-block: 1px solid var(--line-on-ink);
  }
  .pwatch { width: 64px; }
  .pw-q { display: none; }
  .process__now { font-size: 1.6rem; }
  .step { min-height: 0; padding: 56px 0; opacity: 1; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-on-paper); margin-top: 24px; }

  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3n) { border-right: 1px solid var(--line-on-paper); }
  .facts > div:nth-child(2n) { border-right: 0; }
  .facts > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-on-paper); }
  .facts > div:nth-last-child(-n+2) { border-bottom: 0; }

  .contact__grid { grid-template-columns: 1fr; }
  .card-wrap { position: relative; top: 0; max-width: 480px; }

  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__end { text-align: left; }
}
@media (max-width: 560px) {
  .top__cta { display: none; }
  .top__burger { margin-left: auto; }
  .hero__title { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding-left: 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line-on-paper); margin-top: 24px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line-on-paper); }
  .facts > div:last-child { border-bottom: 0; }
  .foot__cols { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; justify-content: center; }
}

/* ---------- Omezený pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero__title .line > span, .watch { opacity: 1; transform: none; }
  .manifest .w { opacity: 1; }
}

/* ---------- Tisk ---------- */
@media print {
  .top, .ticker, .hero__watch, .hero__bg, .form, .card__actions, .process__sticky { display: none !important; }
  body, .section--ink, .foot { background: #fff; color: #000; }
  .reveal, .step, .manifest .w { opacity: 1 !important; transform: none !important; }
}

/* ---------- 404 ---------- */
.e404 { min-height: 100svh; display: grid; place-items: center; background:
  radial-gradient(50% 50% at 80% 20%, rgba(255, 90, 31, .14), transparent 70%), var(--ink); }
.e404__main { display: grid; gap: 28px; padding-block: 64px; max-width: 1000px; }
.e404__logo { width: 180px; color: var(--paper); margin-bottom: 24px; }
.e404__main p { margin: 0; }
