/* RAW camera – www.rawfuture.cz/rawcamera/
   Černobílá stránka, oranžová jen jako signál (stejně jako v aplikaci). Písma Inter a IBM Plex Mono (SIL OFL 1.1). */

@font-face { font-family: "Inter"; font-weight: 100; font-style: normal; font-display: swap; src: url(fonts/Inter-Thin.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 300; font-style: normal; font-display: swap; src: url(fonts/Inter-Light.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/Inter-Regular.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/Inter-Medium.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/Inter-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/IBMPlexMono-Regular.woff2) format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/IBMPlexMono-Medium.woff2) format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/IBMPlexMono-SemiBold.woff2) format("woff2"); }

:root {
  --black: #050505;
  --panel: #0e0e0d;
  --key: #1a1a19;
  --key-hi: #262624;
  --line: #242423;
  --line-2: #3a3937;
  --ink: #f2f1ed;
  --ink-2: #a9a8a3;
  --ink-3: #6f6e69;
  --paper: #eeede8;
  --paper-2: #e3e1da;
  --p-ink: #0b0b0b;
  --p-ink-2: #55534e;
  --p-line: #cbc9c1;
  --signal: #f05a24;
  --sans: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --g: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; overflow-x: clip; background: var(--black); }
img, svg, canvas, picture { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

[data-lang="cs"] body [lang="en"],
[data-lang="en"] body [lang="cs"] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--black);
  padding: 10px 14px; font: 500 14px var(--sans); border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.signal { color: var(--signal); }

/* LED bodový displej: text z teček jako v hledáčku aplikace */
.led { font-family: var(--mono); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  -webkit-mask: radial-gradient(circle closest-side, #000 72%, transparent 80%) 0 0 / var(--dot, 3px) var(--dot, 3px);
          mask: radial-gradient(circle closest-side, #000 72%, transparent 80%) 0 0 / var(--dot, 3px) var(--dot, 3px); }

/* Zrno filmu přes celou stránku */
.grain { position: fixed; inset: -100px; z-index: 90; pointer-events: none; opacity: .075; background-image: var(--grain);
  background-size: 220px 220px; will-change: transform; animation: grain 1s steps(6) infinite; mix-blend-mode: overlay; }
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-37px, 22px); } 33% { transform: translate(18px, -41px); }
  50% { transform: translate(-12px, 33px); } 67% { transform: translate(41px, 9px); } 83% { transform: translate(-25px, -17px); }
  100% { transform: translate(0, 0); }
}

/* ===== Start: LED a clona ===== */
.boot { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.boot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.boot-led { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 18px; }
.boot-led .dots { display: flex; gap: 9px; }
.boot-led .dots i { width: 7px; height: 7px; border-radius: 50%; background: #262624; }
.boot-led .dots i.on { background: var(--ink); }
.boot-led .dots i.on.sig { background: var(--signal); }
.boot-led .word { --dot: 3px; font-size: 30px; color: var(--ink); }
.boot.done { display: none; }

/* ===== Navigace ===== */
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 120; color: var(--ink); transition: transform .45s var(--ease), background-color .3s, color .3s, box-shadow .3s; }
.nav.solid { background: rgba(5, 5, 5, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav.on-paper { color: var(--p-ink); }
.nav.on-paper.solid { background: rgba(238, 237, 232, .84); box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.nav.away { transform: translateY(-100%); }
.nav:not(.solid):not(.on-paper) { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.nav .in { display: flex; align-items: center; gap: 22px; padding: 14px var(--g); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.brand .mark { width: 22px; height: 22px; border: 1.5px solid currentColor; border-radius: 50%; display: grid; place-items: center; }
.brand .mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.nav .links { display: flex; gap: 22px; margin-left: auto; }
.nav .links a { text-decoration: none; opacity: .72; transition: opacity .2s; }
.nav .links a:hover { opacity: 1; }
.lang { display: flex; gap: 2px; }
.lang button { font: 500 11px/1 var(--mono); letter-spacing: .08em; padding: 7px 7px; opacity: .5; border-radius: 3px; }
.lang button[aria-pressed="true"] { opacity: 1; box-shadow: inset 0 0 0 1px currentColor; }
.pill { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; background: var(--ink); color: var(--black); text-shadow: none;
  font: 500 13px/1 var(--sans); letter-spacing: -.005em; padding: 10px 14px 10px 12px; border-radius: 999px; white-space: nowrap; transition: background .3s, color .3s; }
.nav.on-paper .pill { background: var(--p-ink); color: var(--paper); }
.pill svg { width: 15px; height: 15px; }
.nav .pill { margin-left: 4px; }

/* Počítadlo snímků jako na FM2 (okénko v liště) – klik převine film na začátek */
.counter { position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none; background: #000; color: var(--ink); text-shadow: none;
  box-shadow: 0 0 0 1px #3a3a38; display: grid; place-items: center; overflow: hidden; margin-left: 6px; }
.counter::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px dashed #3d3d3b; }
.counter .n { position: relative; font: 600 12px/1 var(--mono); transition: transform .45s var(--ease), opacity .45s var(--ease); }
.counter .n.out { transform: translateY(-120%); opacity: 0; }
.counter.end .n { color: var(--signal); }
.counter .tick { position: absolute; top: 2px; left: 50%; width: 2px; height: 4px; margin-left: -1px; background: var(--signal); }

/* ===== Společné části sekcí ===== */
.sec { position: relative; padding: clamp(96px, 14vw, 200px) var(--g); }
.paper { background: var(--paper); color: var(--p-ink); color-scheme: light; }
.paper ::selection { background: var(--p-ink); color: var(--paper); }
::selection { background: var(--ink); color: var(--black); }
.head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: clamp(48px, 7vw, 96px); max-width: 1500px; }
.head .idx { display: flex; align-items: center; gap: 14px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.paper .head .idx { color: var(--p-ink-2); }
.head .idx b { color: var(--signal); font-weight: 600; }
.head .idx::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .35; }
.head h2 { font-weight: 300; font-size: clamp(42px, 7.2vw, 118px); line-height: .94; letter-spacing: -.045em; max-width: 13ch; }
.head h2 em { font-style: normal; font-weight: 100; }
.head p { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 46ch; font-weight: 400; letter-spacing: -.005em; }
.paper .head p { color: var(--p-ink-2); }
.wrap { max-width: 1500px; margin: 0 auto; }

/* Nástup obsahu jako na rawfuture.cz */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.m-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.m-w > span { display: inline-block; will-change: transform; }

/* ===== 01 Hero: hledáček, do kterého se vstoupí ===== */
.hero { position: relative; height: 230vh; height: 230svh; background: var(--black); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-title { position: absolute; left: var(--g); right: var(--g); top: max(76px, 9vh); z-index: 3; display: flex; justify-content: space-between;
  align-items: baseline; font-size: clamp(64px, 15.2vw, 290px); line-height: .8; letter-spacing: -.055em; white-space: nowrap; pointer-events: none; }
.hero-title .w1 { font-weight: 600; }
.hero-title .w2 { font-weight: 100; }
.hero-title .ch { display: inline-block; will-change: transform, opacity; }
.vf { position: absolute; inset: 0; z-index: 2; cursor: none; background: #000; touch-action: pan-y;
  clip-path: inset(var(--ct, 46%) var(--cr, 22%) var(--cb, 8%) var(--cl, 22%) round var(--cr-r, 4px)); }
.vf-img { position: absolute; inset: 0; transform: scale(var(--zs, 1.18)); transform-origin: 50% 55%; will-change: transform; }
.vf-img picture { position: absolute; inset: 0; }
.vf-img img { width: 100%; height: 100%; object-fit: cover; }
.vf-img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%); }
.vf-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--lo, 0); pointer-events: none; }
.vf-lines rect, .vf-lines path { fill: none; stroke: rgba(245, 244, 240, .92); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.vf-lines text { fill: rgba(245, 244, 240, .92); font: 500 11px var(--mono); letter-spacing: .08em; }
.vf-meter { position: absolute; left: 0; top: 0; width: 92px; height: 92px; margin: -46px 0 0 -46px; pointer-events: none; opacity: 0;
  transition: opacity .25s; will-change: transform; }
.vf.live .vf-meter { opacity: 1; }
.vf-meter svg { width: 100%; height: 100%; overflow: visible; }
.vf-meter circle, .vf-meter path { fill: none; stroke: #fff; stroke-width: 1.3; }
.vf-meter .zone { position: absolute; left: 100%; top: 50%; transform: translate(10px, -50%); white-space: nowrap; color: #fff;
  font: 600 12px/1 var(--mono); letter-spacing: .08em; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.vf-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px);
  padding: 14px clamp(16px, 3vw, 40px) calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0, 0, 0, .78) 45%);
  opacity: var(--lo, 0); pointer-events: none; }
.leds { display: flex; align-items: center; gap: 7px; font: 600 15px/1 var(--mono); color: #6b6a66; }
.leds span { width: 13px; text-align: center; transition: color .12s; }
.leds span.on { color: #fff; }
.leds span.on.o { color: var(--signal); }
.vf-bar .led { --dot: 2px; font-size: clamp(15px, 1.7vw, 24px); color: #fff; display: flex; gap: clamp(12px, 2vw, 30px); white-space: nowrap; }
.vf-bar .led .dim { color: #8d8c87; }
.vf-hint { margin-left: auto; color: #c9c8c3; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.vf-curtain { position: absolute; inset: 0; z-index: 3; background: #000; transform: translateY(-101%); pointer-events: none; }
.vf-flash { position: absolute; left: clamp(16px, 3vw, 40px); bottom: 66px; z-index: 4; font: 500 12px/1.4 var(--mono); letter-spacing: .06em;
  color: #fff; background: rgba(0, 0, 0, .7); padding: 8px 11px; border-radius: 3px; opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; }
.vf-flash.show { opacity: 1; transform: none; }
.vf-flash b { color: var(--signal); font-weight: 600; }
.hero-meta { position: absolute; left: var(--g); right: var(--g); bottom: max(5vh, 28px); z-index: 3; display: grid;
  grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; pointer-events: none; }
.hero-meta > * { pointer-events: auto; }
.hero-lead { display: grid; gap: 14px; max-width: 30rem; }
.hero-lead .mono { color: var(--ink-2); }
.hero-lead p { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; letter-spacing: -.012em; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 15px/1 var(--sans); letter-spacing: -.01em;
  padding: 15px 20px; border-radius: 999px; transition: transform .5s var(--ease), background .25s, color .25s; }
.btn svg { width: 17px; height: 17px; }
.btn.white { background: var(--ink); color: var(--black); }
.btn.line { box-shadow: inset 0 0 0 1px rgba(242, 241, 237, .4); color: var(--ink); }
.btn:hover { transform: translateY(-2px); }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.paper .btn.white { background: var(--p-ink); color: var(--paper); }
.hero-side { position: absolute; z-index: 3; top: 50%; display: grid; gap: 8px; color: var(--ink-3); pointer-events: none; }
.hero-side.l { left: var(--g); }
.hero-side.r { right: var(--g); text-align: right; }
.scrollcue { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 1px; height: 46px; background: linear-gradient(var(--ink-3), transparent);
  transform-origin: top; animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ===== 02 Manifest ===== */
.manifest { padding-top: clamp(110px, 16vw, 230px); padding-bottom: clamp(110px, 16vw, 230px); }
.manifest .big { font-weight: 300; font-size: clamp(30px, 4.6vw, 76px); line-height: 1.08; letter-spacing: -.035em; max-width: 21ch; }
.manifest .big .w { transition: color .2s linear; color: #cdcbc4; }
.manifest .big .w.on { color: var(--p-ink); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(80px, 10vw, 150px); border-top: 1px solid var(--p-line); }
.stat { padding: 22px 22px 0 0; display: grid; gap: 14px; border-right: 1px solid var(--p-line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 22px; }
.stat .odo { --dot: 5px; display: flex; font-size: clamp(64px, 9vw, 150px); line-height: 1; color: var(--p-ink); height: 1.05em; overflow: hidden; }
.stat .dg { display: inline-block; height: 1.05em; overflow: hidden; }
.stat .dg > span { display: block; will-change: transform; }
.stat .dg b { display: block; height: 1.05em; line-height: 1.05em; font-weight: inherit; }
.stat p { font-size: 15px; line-height: 1.4; color: var(--p-ink-2); max-width: 18ch; }

/* ===== 03 Ovládání ===== */
.ctl-shot { position: relative; border-radius: clamp(14px, 2.2vw, 34px); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 40px 120px rgba(0, 0, 0, .6); }
.ctl-shot img { width: 100%; aspect-ratio: 2868 / 1320; object-fit: cover; }
.hot { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  display: grid; place-items: center; font: 600 11px/1 var(--mono); color: #000; background: var(--ink); box-shadow: 0 0 0 4px rgba(0, 0, 0, .35);
  transform: scale(0); transition: transform .6s var(--ease), background .2s, color .2s; }
.ctl.in .hot { transform: scale(1); }
.hot.on, .hot:hover { background: var(--signal); color: #fff; }
.hot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--ink); opacity: 0; }
.hot.on::after { animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.ctl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); margin-top: clamp(48px, 6vw, 90px); align-items: start; }
.callouts { counter-reset: c; border-top: 1px solid var(--line); }
.callouts li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line);
  color: var(--ink-2); font-size: 16px; line-height: 1.4; cursor: default; transition: color .25s; }
.callouts li b { font: 600 12px/1.6 var(--mono); color: var(--ink-3); letter-spacing: .06em; transition: color .25s; }
.callouts li.on { color: var(--ink); }
.callouts li.on b { color: var(--signal); }

/* Volič režimů – kolečko z boku */
.dialbox { display: grid; gap: 26px; }
.dial { position: relative; height: 128px; border-radius: 10px; overflow: hidden; touch-action: none; cursor: grab; user-select: none;
  background: linear-gradient(180deg, #050505, #1d1d1b 18%, #2b2b29 50%, #1d1d1b 82%, #050505);
  box-shadow: inset 0 0 0 1px #2e2e2c, 0 18px 50px rgba(0, 0, 0, .45); }
.dial:active { cursor: grabbing; }
.dial .knurl { position: absolute; left: 0; right: 0; height: 16px; opacity: .9;
  background: repeating-linear-gradient(90deg, #0b0b0b 0 3px, #3c3c3a 3px 5px, #151514 5px 8px); }
.dial .knurl.t { top: 0; } .dial .knurl.b { bottom: 0; }
.dial .shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .0) 26%, rgba(0, 0, 0, 0) 74%, #000 100%); }
.dial .ltr { position: absolute; left: 50%; top: 50%; font: 300 66px/1 var(--sans); letter-spacing: -.02em; color: #8e8d88; will-change: transform, opacity; }
.dial .ltr.on { color: var(--signal); font-weight: 400; }
.dial .notch { position: absolute; left: 50%; top: 16px; width: 2px; height: 14px; margin-left: -1px; background: var(--signal); z-index: 2; }
.dial-read { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 22px; align-items: baseline; }
.dial-read .big { grid-row: span 2; font: 200 96px/0.82 var(--sans); letter-spacing: -.04em; color: var(--ink); }
.dial-read h3 { font: 500 20px/1.2 var(--sans); letter-spacing: -.015em; }
.dial-read p { color: var(--ink-2); font-size: 16px; line-height: 1.45; max-width: 40ch; }
.dial-led { --dot: 2px; font-size: 22px; display: flex; gap: 22px; color: #6b6a66; padding: 16px 18px; background: #000; border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; overflow: hidden; }
.dial-led .you { color: #fff; }
.dial-led .auto { color: #7c7b76; }
.dial-help { color: var(--ink-3); }

/* ===== 04 Temná komora ===== */
.dr { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.print { position: sticky; top: 90px; }
.print .tray { position: relative; aspect-ratio: 3 / 4; background: #111; overflow: hidden; border-radius: 2px;
  box-shadow: 0 0 0 10px #e9e7e0, 0 0 0 11px #cfccc3, 0 30px 80px rgba(0, 0, 0, .55); }
.print canvas, .print .tray img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.print .tray img.next { opacity: 0; transition: opacity .9s var(--ease); }
.print .tray img.next.show { opacity: 1; }
.print figcaption { margin-top: 30px; display: grid; gap: 8px; }
.print .led { --dot: 2px; font-size: clamp(22px, 2.4vw, 34px); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: clip; }
.print .chain { color: var(--ink-3); }
.print .credit { color: var(--ink-3); font-size: 12px; line-height: 1.5; margin-top: 8px; max-width: 52ch; }
.banks { display: flex; gap: 6px; margin-bottom: 14px; }
.banks button { flex: 1; text-align: left; padding: 12px 14px; border-radius: 6px; background: var(--key); color: var(--ink-2);
  display: grid; gap: 4px; transition: background .2s, color .2s; }
.banks button b { font: 600 22px/1 var(--mono); color: var(--ink-3); }
.banks button span { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.banks button[aria-selected="true"] { background: var(--ink); color: var(--black); }
.banks button[aria-selected="true"] b { color: var(--signal); }
.keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.key { position: relative; min-height: 74px; padding: 10px 12px; border-radius: 6px; background: var(--key); text-align: left;
  display: grid; align-content: space-between; gap: 6px; transition: background .2s, transform .15s; }
.key:hover { background: var(--key-hi); }
.key:active { transform: scale(.97); }
.key .n { font: 500 10px/1 var(--mono); color: var(--ink-3); letter-spacing: .06em; }
.key .t { font: 600 12.5px/1.15 var(--mono); letter-spacing: .03em; color: var(--ink); }
.key::after { content: ""; position: absolute; right: 10px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: #2f2f2d; }
.key[aria-checked="true"] { background: #262624; box-shadow: inset 0 0 0 1px #4a4946; }
.key[aria-checked="true"]::after { background: var(--signal); }
.filters { margin-top: clamp(36px, 4vw, 56px); }
.filters .lbl { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-3); margin-bottom: 16px; }
.discs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 10px; }
.disc { display: grid; justify-items: center; gap: 8px; color: var(--ink-2); }
.disc i { position: relative; width: 100%; max-width: 64px; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 42%), radial-gradient(circle, var(--c) 0 62%, color-mix(in srgb, var(--c) 72%, #000) 100%);
  box-shadow: 0 0 0 4px #1b1b1a, 0 0 0 5px #3b3b39, inset 0 0 0 1px rgba(255, 255, 255, .16); filter: grayscale(1) brightness(.78);
  transition: transform .5s var(--ease), box-shadow .3s, filter .45s var(--ease); }
.disc:hover i, .disc:focus-visible i, .disc[aria-checked="true"] i { filter: none; }
.disc[data-f="none"] i { background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 34%), #121211; }
.disc[data-f="none"] i::after { content: ""; position: absolute; left: 18%; right: 18%; top: 50%; height: 1px; background: #4a4946; transform: rotate(-45deg); }
.disc span { font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-align: center; }
.disc span small { display: block; color: var(--ink-3); font-size: 10px; margin-top: 2px; }
.disc:hover i { transform: rotate(-35deg) scale(1.04); }
.disc[aria-checked="true"] i { box-shadow: 0 0 0 4px #1b1b1a, 0 0 0 6px var(--signal), inset 0 0 0 1px rgba(255, 255, 255, .18); transform: rotate(-90deg); }
.disc[aria-checked="true"] span { color: var(--ink); }
.drawer { margin-top: clamp(36px, 4vw, 56px); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dng { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 6px; background: var(--key); font: 600 12px/1 var(--mono); letter-spacing: .08em; }
.dng i { width: 34px; height: 18px; border-radius: 3px; background: linear-gradient(90deg, #e4572e, #f2c14e, #63b37c, #3c7dd9); filter: grayscale(1) brightness(.7); transition: filter .3s; }
.dng[aria-pressed="true"] i { filter: none; }
.dng[aria-pressed="true"] { background: var(--ink); color: var(--black); }
.drawer p { color: var(--ink-3); font-size: 14px; line-height: 1.45; max-width: 44ch; }

/* ===== 05 Hledáček: rámečky a formáty ===== */
.vfs { position: relative; height: 520vh; height: 520svh; margin-top: clamp(-40px, -3vw, 0px); }
.vfs-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 4vw, 70px); align-items: center; }
.vfs-frame { position: relative; aspect-ratio: 4 / 3; background: #000; width: 100%; max-height: 78vh; justify-self: center; overflow: hidden; border-radius: 4px; }
.vfs-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vfs-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vfs-frame .mask { fill: rgba(0, 0, 0, .62); fill-rule: evenodd; }
.vfs-frame .fl { fill: none; stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.vfs-frame .ticks { stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.vfs-read { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.vfs-read .led { --dot: 2px; font-size: clamp(16px, 1.7vw, 24px); color: #fff; }
.vfs-read .mono { color: #d2d1cc; }
.vfs-steps { position: relative; min-height: 300px; }
.vfs-steps li { position: absolute; inset: 0; display: grid; align-content: center; gap: 16px; opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease); }
.vfs-steps li.on { opacity: 1; transform: none; }
.vfs-steps .k { font: 200 clamp(60px, 7vw, 120px)/.9 var(--sans); letter-spacing: -.05em; }
.vfs-steps .k small { font-size: .32em; font-weight: 400; letter-spacing: 0; margin-left: .15em; color: var(--ink-3); }
.vfs-steps p { color: var(--ink-2); font-size: 17px; line-height: 1.5; max-width: 34ch; }
.vfs-prog { display: flex; gap: 6px; margin-top: 26px; }
.vfs-prog i { width: 22px; height: 3px; background: var(--line-2); transition: background .3s; }
.vfs-prog i.on { background: var(--ink); }

/* ===== 06 Shift ===== */
.sh-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.sh-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0b0b0b; border-radius: 4px; perspective: 620px; }
.sh-img { position: absolute; inset: -6%; transform-origin: 50% 100%; will-change: transform;
  transform: rotateX(var(--tilt, 30deg)) scale(var(--sc, 1.42)); }
.sh-img img { width: 100%; height: 100%; object-fit: cover; }
.sh-guides { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sh-guides line { stroke: var(--signal); stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-dasharray: 5 6; opacity: .9; }
.sh-level { position: absolute; left: 16px; top: 14px; display: flex; gap: 14px; align-items: center; background: rgba(0, 0, 0, .66); padding: 10px 12px; border-radius: 4px; }
.sh-level .led { --dot: 2px; font-size: 20px; color: #fff; white-space: nowrap; }
.sh-level .bub { position: relative; width: 70px; height: 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px #6a6966; }
.sh-level .bub::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: #8a8984; }
.sh-level .bub i { position: absolute; top: 2px; left: 50%; width: 14px; height: 6px; margin-left: -7px; border-radius: 4px; background: #fff; transform: translateX(var(--bx, 0px)); }
.sh-copy { display: grid; gap: 22px; }
.sh-copy p { color: var(--p-ink-2); font-size: 18px; line-height: 1.5; max-width: 40ch; }
.shiftkey { justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 6px; background: var(--p-ink); color: var(--paper);
  font: 600 13px/1 var(--mono); letter-spacing: .08em; }
.shiftkey i { width: 8px; height: 8px; border-radius: 50%; background: #4a4946; transition: background .2s; }
.shiftkey[aria-pressed="true"] i { background: var(--signal); }

/* ===== 07 Poloviční políčko: film ===== */
.half .head { margin-bottom: 0; }
.filmrun { position: relative; height: 330vh; height: 330svh; }
.filmpin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; overflow: hidden; margin: 0 calc(-1 * var(--g)); }
.film { --h: min(56vh, 520px); position: relative; display: flex; align-items: center; height: calc(var(--h) * 1.46); padding: 0 8vw;
  background: #0c0c0b; will-change: transform; width: max-content; }
.film::before, .film::after { content: ""; position: absolute; left: 0; right: 0; height: calc(var(--h) * .083);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='198' height='83'%3E%3Crect x='40' y='0' width='117' height='83' rx='14' fill='%23000'/%3E%3C/svg%3E") repeat-x 0 0 / calc(var(--h) * .198) 100%; }
.film::before { top: calc(var(--h) * .073); }
.film::after { bottom: calc(var(--h) * .073); }
.film .pair { display: flex; gap: calc(var(--h) * .02); margin-right: calc(var(--h) * .07); position: relative; }
.film .pair img { height: var(--h); width: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.film .edge { position: absolute; left: 0; top: calc(var(--h) * -.062); font: 500 calc(var(--h) * .026)/1 var(--mono); letter-spacing: .1em; color: #8a8984; white-space: nowrap; }
.film .edge b { color: var(--ink); font-weight: 600; margin-right: 1.4em; }
.film .edge.bot { top: auto; bottom: calc(var(--h) * -.062); }
.half-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); margin-top: clamp(40px, 5vw, 70px); }
.half-copy p { color: var(--ink-2); font-size: 18px; line-height: 1.5; max-width: 42ch; }
.burst { display: grid; gap: 12px; }
.burst .led { --dot: 3px; font-size: clamp(40px, 5vw, 70px); color: var(--ink); line-height: 1; }
.burst .row { display: flex; gap: 8px; }
.burst .row button { font: 600 12px/1 var(--mono); letter-spacing: .08em; padding: 11px 14px; border-radius: 5px; background: var(--key); color: var(--ink-2); }
.burst .row button[aria-pressed="true"] { background: var(--ink); color: var(--black); }

/* ===== 08 Dvakrát ===== */
.twice-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #000; touch-action: pan-y; user-select: none; }
.twice-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.twice-stage .bw { clip-path: inset(0 0 0 var(--cut, 100%)); }
.twice-stage .bar { position: absolute; top: 0; bottom: 0; left: var(--cut, 100%); width: 1px; background: #fff; }
.twice-stage .grip { position: absolute; top: 50%; left: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: #000;
  display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.twice-stage .tag { position: absolute; top: 14px; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; background: rgba(0, 0, 0, .66); color: #fff; padding: 7px 10px; border-radius: 3px; }
.twice-stage .tag.l { left: 14px; } .twice-stage .tag.r { right: 14px; }
.twice-stage input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.twice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(40px, 5vw, 70px); }
.twice-grid div { border-top: 1px solid var(--p-line); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.twice-grid h3 { font: 500 19px/1.25 var(--sans); letter-spacing: -.015em; }
.twice-grid p { color: var(--p-ink-2); font-size: 16px; line-height: 1.5; }
.twice-grid code { font: 500 13px var(--mono); }

/* ===== 09 Aplikace (snímky obrazovky) ===== */
.shots { display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--g) 30px; margin: 0 calc(-1 * var(--g));
  scrollbar-width: none; overscroll-behavior-x: contain; }
.shots::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 min(78vw, 1100px); scroll-snap-align: center; display: grid; gap: 16px; }
.shot .frame { position: relative; border-radius: clamp(12px, 2vw, 28px); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
.shot img { width: 100%; aspect-ratio: 2868 / 1320; object-fit: cover; }
.shot figcaption { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; }
.shot figcaption b { grid-row: span 2; font: 600 12px/1.6 var(--mono); color: var(--signal); }
.shot figcaption strong { font: 500 18px/1.3 var(--sans); letter-spacing: -.015em; }
.shot figcaption span { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.shots-nav { display: flex; gap: 8px; margin-top: 8px; }
.shots-nav button { width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; transition: box-shadow .2s; }
.shots-nav button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.shots-nav svg { width: 18px; height: 18px; }

/* ===== 10 Specifikace ===== */
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 90px); border-top: 1px solid var(--p-line); }
.spec { display: grid; grid-template-columns: 52px minmax(0, 11rem) minmax(0, 1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--p-line); align-items: baseline; }
.spec b { font: 600 12px/1.6 var(--mono); color: var(--signal); }
.spec h3 { font: 500 17px/1.35 var(--sans); letter-spacing: -.01em; }
.spec p { color: var(--p-ink-2); font-size: 15.5px; line-height: 1.5; }

/* ===== 11 Podpora ===== */
.support-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; align-items: center; padding: 22px 0;
  font: 400 clamp(18px, 1.7vw, 23px)/1.3 var(--sans); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; justify-self: end; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--ink-2); transition: transform .35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; max-width: 60ch; padding: 0 40px 24px 0; }
.contact { position: sticky; top: 90px; display: grid; gap: 22px; padding: 28px; border-radius: 8px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.contact h3 { font: 300 32px/1.05 var(--sans); letter-spacing: -.03em; }
.contact a.big { font: 400 clamp(18px, 1.6vw, 22px)/1.3 var(--sans); text-decoration: none; letter-spacing: -.01em; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; width: fit-content; }
.contact a.big:hover { border-color: var(--ink); }
.contact .who { color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.contact .privacy { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.contact .privacy a { color: var(--ink); }

/* ===== Patička ===== */
.foot { position: relative; padding: clamp(80px, 12vw, 180px) var(--g) 40px; overflow: hidden; background: var(--black); }
.foot .huge { font-size: clamp(64px, 17vw, 330px); line-height: .8; letter-spacing: -.06em; white-space: nowrap; color: var(--ink); }
.foot .huge .w1 { font-weight: 600; } .foot .huge .w2 { font-weight: 100; margin-left: .14em; }
.foot .row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 70px); }
.foot .row p { color: var(--ink-2); font-size: 18px; max-width: 34ch; line-height: 1.4; }
.foot .legal { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: clamp(60px, 8vw, 120px); padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: 13px; line-height: 1.5; }
.foot .legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot .legal a { text-decoration: none; color: var(--ink-2); }
.foot .legal a:hover { color: var(--ink); }
.foot .tm { margin-top: 14px; color: #4f4e4a; font-size: 12px; }

/* ===== Stránka zásad ===== */
.doc { padding: 140px var(--g) 90px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-weight: 300; font-size: clamp(44px, 7vw, 96px); line-height: .95; letter-spacing: -.045em; }
.doc .meta { margin-top: 20px; color: var(--ink-3); }
.doc section { margin-top: 56px; display: grid; gap: 18px; }
.doc h2 { font: 500 22px/1.3 var(--sans); letter-spacing: -.015em; }
.doc p { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.doc p strong { color: var(--ink); font-weight: 500; }
.doc .back { display: inline-flex; gap: 10px; align-items: center; margin-top: 60px; text-decoration: none; color: var(--ink); }

/* ===== Šířky ===== */
@media (max-width: 1100px) {
  .nav .links { display: none; }
  .nav .lang { margin-left: auto; }
  .ctl-grid, .dr, .support-grid, .sh-grid { grid-template-columns: minmax(0, 1fr); }
  .print { position: relative; top: 0; max-width: 560px; }
  .contact { position: relative; top: 0; }
  .vfs-pin { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 22px; }
  .vfs-steps { min-height: 210px; }
  .specs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nav .in { gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .nav .pill span { display: none; }
  .nav .pill { padding: 9px 10px; }
  .brand .txt { display: none; }
  .hero { height: 200vh; height: 200svh; }
  .hero-title { flex-direction: column; align-items: flex-start; font-size: 25vw; line-height: .82; gap: 0; }
  .hero-meta { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero-cta { justify-content: flex-start; }
  .hero-side { display: none; }
  .vf-hint { display: none; }
  .vf-bar .led .opt { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--p-line); margin-top: 22px; }
  .keys { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .discs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 6px; }
  .disc span small { display: none; }
  .half-copy, .twice-grid { grid-template-columns: minmax(0, 1fr); }
  .spec { grid-template-columns: 40px minmax(0, 1fr); }
  .spec p { grid-column: 2; }
  .shot { flex-basis: 88vw; }
  .counter { width: 30px; height: 30px; margin-left: 0; }
  .counter .n { font-size: 11px; }
  .dial-read .big { font-size: 72px; }
  .dial-led { font-size: 17px; gap: 14px; }
  .twice-stage { aspect-ratio: 4 / 5; }
  .twice-stage .tag.r { top: auto; bottom: 14px; }
  .sh-level { gap: 10px; padding: 8px 10px; }
  .sh-level .led { font-size: 14px; white-space: nowrap; }
  .sh-level .bub { width: 44px; }
  .film { --h: min(46vh, 420px); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .grain { animation: none; }
  .scrollcue { animation: none; }
  .hot.on::after { animation: none; }
  * { scroll-behavior: auto !important; }
}
