/* Hush Heist: noční obchodní dům, zlato lupu, červená poplachu, modrá ochranky
   (stejná paleta jako rozhraní hry). */
:root {
	--bg: #0b0e14;
	--bg-2: #10151e;
	--panel: #141a24;
	--panel-2: #1d2533;
	--border: #2a3344;
	--text: #e8eaed;
	--muted: #9aa3b2;
	--gold: #ffb000;
	--gold-2: #ffc94d;
	--gold-dark: #3a2a00;
	--red: #ff3b2f;
	--blue: #4fc3f7;
	--green: #43d17a;
	--paper: #f1ece0;
	--ink: #16161a;
	--news-red: #d1141a;
	--radius: 14px;
	--display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--wrap: 1180px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 700; color: #fff; }
::selection { background: var(--gold); color: var(--ink); }

.skip {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }

/* --- Typografie --- */
.eyebrow {
	margin: 0 0 12px;
	font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--gold);
}
.h2 {
	margin: 0 0 16px;
	font-family: var(--display); font-weight: 400;
	font-size: clamp(36px, 5.2vw, 64px); line-height: 1.02; letter-spacing: .01em;
	text-transform: uppercase;
}
.lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); color: #c9ced8; max-width: 62ch; }
h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; }

/* --- Tlačítka --- */
.btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 22px; border-radius: 12px;
	font-weight: 800; font-size: 16px; letter-spacing: .02em; text-decoration: none; text-transform: uppercase;
	border: 2px solid transparent;
	transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s;
	cursor: pointer;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: none; opacity: .75; }
.btn__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; gap: 3px; text-align: left; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 176, 0, .6); }
.btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 176, 0, .75); }
.btn--ghost { color: var(--text); border-color: rgba(255, 255, 255, .28); background: rgba(11, 14, 20, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 16px 26px; font-size: 17px; }
.btn--xl { padding: 20px 30px; font-size: 20px; border-radius: 14px; }
.btn--xl svg { width: 26px; height: 26px; }
.btn:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* --- Navigace --- */
.nav {
	position: fixed; inset: 0 0 auto; z-index: 50;
	transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(11, 14, 20, .82); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border); }
.nav__inner { width: min(1280px, 100% - 32px); margin-inline: auto; height: 68px; display: flex; align-items: center; gap: 28px; }
.nav__brand img { width: 122px; height: auto; }
/* Nahoře je velké logo v úvodu: malé v liště se ukáže až po odscrollování. */
.nav__brand { opacity: 0; transition: opacity .3s; }
.nav.is-scrolled .nav__brand, .nav.is-open .nav__brand { opacity: 1; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 15px; color: #cfd4dc; transition: color .2s; }
.nav__links a:hover { color: var(--gold); }
.nav__toggle { display: none; }

/* --- Úvod --- */
.hero {
	position: relative; min-height: 100svh;
	display: grid; align-items: center;
	padding: 110px 0 90px;
	overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.05); }
.hero__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(11, 14, 20, .94) 0%, rgba(11, 14, 20, .72) 38%, rgba(11, 14, 20, .2) 72%, rgba(11, 14, 20, .35) 100%),
		linear-gradient(0deg, var(--bg) 0%, rgba(11, 14, 20, 0) 26%);
}
.scanlines {
	position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: multiply;
	background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .9) 0 1px, transparent 1px 3px);
}
.hero__content { width: min(1280px, 100% - 40px); margin-inline: auto; position: relative; }
.hero__logo { width: clamp(240px, 30vw, 420px); height: auto; margin: 0 0 22px -6px; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .55)); }
.hero__title {
	margin: 0 0 18px;
	font-family: var(--display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(52px, 8.4vw, 116px); line-height: .95; letter-spacing: .005em;
	text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
}
.hero__title span { color: var(--gold); }
.hero__lead { max-width: 560px; margin: 0 0 30px; font-size: clamp(17px, 1.7vw, 20px); color: #d5d9e0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
	font-size: 13px; font-weight: 600; color: #d9dde4;
	padding: 6px 12px; border-radius: 999px;
	background: rgba(20, 26, 36, .65); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px);
}
.hero__scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Záznam z kamery: REC, číslo kamery, čas a rohy záběru. */
.cctv { position: absolute; inset: 0; pointer-events: none; font: 600 13px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; color: #e9f5ec; text-shadow: 0 1px 2px #000; }
.cctv > span { position: absolute; }
.cctv__rec { top: 14px; left: 16px; display: flex; align-items: center; gap: 7px; }
.cctv__rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: rec 1.2s steps(2) infinite; }
@keyframes rec { 50% { opacity: .15; } }
.cctv__cam { top: 14px; right: 16px; }
.cctv__time { bottom: 14px; right: 16px; }
.cctv--hero { inset: 84px 26px 26px; font-size: 14px; opacity: .85; }
.cctv--hero .cctv__rec { top: 18px; left: 22px; }
.cctv--hero .cctv__cam { top: 18px; right: 22px; }
.cctv--hero .cctv__time { bottom: 18px; right: 22px; }
.cctv__corner { width: 26px; height: 26px; border: 2px solid rgba(255, 255, 255, .55); }
.cctv__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.cctv__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.cctv__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.cctv__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* Výstražná páska */
.tape {
	position: relative; z-index: 2;
	transform: rotate(-1.4deg); margin: -26px -20px 0;
	background: repeating-linear-gradient(-45deg, var(--gold) 0 26px, #111 26px 52px);
	padding: 5px 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
	overflow: hidden;
}
.tape__track { display: flex; width: max-content; animation: tape 38s linear infinite; }
.tape__track span {
	display: block; white-space: nowrap; padding: 8px 0;
	background: var(--gold); color: var(--ink);
	font-family: var(--display); font-size: 20px; letter-spacing: .08em;
}
@keyframes tape { to { transform: translateX(-50%); } }

/* --- Sekce --- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--panel { background: linear-gradient(180deg, var(--bg-2), var(--bg) 85%); border-top: 1px solid #161c27; }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); }
.intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 64px); align-items: center; margin-bottom: clamp(48px, 7vw, 88px); }
.intro__media { margin: 0; }
.intro__media figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
	padding: 28px; border-radius: var(--radius);
	background: linear-gradient(180deg, var(--panel), rgba(20, 26, 36, .4));
	border: 1px solid var(--border);
	transition: transform .3s var(--ease), border-color .3s;
}
.pillar:hover { transform: translateY(-4px); border-color: #3a4558; }
.pillar p { margin: 0; color: var(--muted); }
.pillar__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; }
.pillar__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar__icon--gold { color: var(--gold); background: rgba(255, 176, 0, .12); }
.pillar__icon--blue { color: var(--blue); background: rgba(79, 195, 247, .12); }
.pillar__icon--red { color: var(--red); background: rgba(255, 59, 47, .12); }

/* Rámeček obrázku nebo videa */
.frame, .role__media, .clip, .tool__media {
	position: relative; overflow: hidden; border-radius: var(--radius);
	background: #000; border: 1px solid var(--border);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.frame img, .frame video, .role__media video, .clip video, .tool__media video { width: 100%; height: auto; object-fit: cover; aspect-ratio: 16 / 9; }

/* Průběh kola */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 6vw, 72px); }
.step { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.step:nth-child(even) .step__media { order: 2; }
.step__text { position: relative; }
.step__num {
	position: absolute; top: -.35em; right: 0; z-index: -1;
	font-family: var(--display); font-size: clamp(110px, 14vw, 180px); line-height: 1; color: rgba(255, 176, 0, .08);
}
.step__time { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.step h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); text-transform: uppercase; letter-spacing: .01em; }
.step p:last-child { margin: 0; color: #c2c8d2; }

/* Role */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.role {
	display: flex; flex-direction: column; border-radius: calc(var(--radius) + 6px);
	background: var(--panel); border: 1px solid var(--border); overflow: hidden;
	transition: transform .3s var(--ease);
}
.role:hover { transform: translateY(-4px); }
.role__media { border-radius: 0; border: 0; border-bottom: 1px solid var(--border); box-shadow: none; }
.role__body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.role__tag { margin: 0 0 6px; font-family: var(--display); font-size: 40px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.role--thief .role__tag { color: var(--gold); }
.role--guard .role__tag { color: var(--blue); }
.role--thief { box-shadow: inset 0 3px 0 var(--gold); }
.role--guard { box-shadow: inset 0 3px 0 var(--blue); }
.role h3 { font-size: 22px; margin-bottom: 14px; }
.ticks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: #c2c8d2; }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: .48em; width: 14px; height: 8px;
	border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg);
}
.role--thief .ticks li::before { color: var(--gold); }
.role--guard .ticks li::before { color: var(--blue); }
.role__win { margin: auto 0 0; padding: 14px 16px; border-radius: 10px; background: var(--panel-2); color: #d5d9e0; font-size: 15px; }

/* Ukázky (bento) */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.clip { margin: 0; border-radius: var(--radius); }
.clip--wide { grid-column: span 2; }
.clip figcaption {
	position: absolute; inset: auto 0 0; padding: 40px 18px 16px;
	background: linear-gradient(0deg, rgba(5, 7, 10, .92), rgba(5, 7, 10, 0));
	font-size: 15px; color: #d7dbe2;
}
.clip figcaption strong { color: var(--gold); }
.clip--wide video { aspect-ratio: 16 / 9; }
/* Úzké dlaždice dorovnají výšku široké v témže řádku (video vyplní celou buňku). */
.bento .clip:not(.clip--wide) { min-height: 260px; }
.bento .clip:not(.clip--wide) video { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.clip .cctv { font-size: 12px; }

/* Nástroje */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tool { display: flex; flex-direction: column; gap: 14px; }
.tool__media { aspect-ratio: 16 / 9; }
.tool__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px rgba(255, 176, 0, 0); border-radius: inherit; transition: box-shadow .25s; }
.tool:hover .tool__media::after { box-shadow: inset 0 0 0 2px var(--gold); }
.tool h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 4px; }
.tool h3 span { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--gold); white-space: nowrap; }
.tool p { margin: 0; color: var(--muted); font-size: 15px; }

/* Noviny */
.section--paper {
	background:
		radial-gradient(1200px 500px at 70% 40%, rgba(255, 255, 255, .5), transparent 70%),
		var(--paper);
	color: var(--ink);
}
.section--paper::before {
	content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
	background-image: radial-gradient(rgba(0, 0, 0, .06) 1px, transparent 1px);
	background-size: 4px 4px;
}
.news { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.news__kicker { margin: 0 0 10px; font-family: var(--display); font-size: 18px; letter-spacing: .06em; color: var(--news-red); text-transform: uppercase; }
.news__title { margin: 0 0 18px; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5.6vw, 72px); line-height: .98; text-transform: uppercase; }
.news__lead { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; }
.news__note { margin: 0; font-family: var(--serif); font-style: italic; color: #4a4a50; }
.news__paper {
	margin: 0; transform: rotate(1.6deg);
	border-radius: 4px; overflow: hidden; background: #000;
	box-shadow: 0 2px 0 #d7d0c0, 0 30px 60px -20px rgba(40, 30, 10, .55), 0 10px 20px -10px rgba(40, 30, 10, .4);
	transition: transform .5s var(--ease);
}
.news__paper:hover { transform: rotate(0deg) scale(1.02); }
.news__paper video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot {
	position: relative; padding: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
	background: #000; cursor: zoom-in; color: inherit; font: inherit;
}
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.shot:hover img { transform: scale(1.05); }
.shot span {
	position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 8px;
	background: rgba(5, 7, 10, .8); font-size: 13px; font-weight: 600;
}

/* Ovládání */
.tabs__list { display: inline-flex; gap: 6px; padding: 6px; border-radius: 12px; background: var(--panel); border: 1px solid var(--border); margin-bottom: 26px; }
.tabs__list button {
	padding: 10px 22px; border: 0; border-radius: 8px; background: transparent; color: var(--muted);
	font: 700 15px var(--body); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s;
}
.tabs__list button[aria-selected="true"] { background: var(--gold); color: var(--ink); }
#tab-guard[aria-selected="true"] { background: var(--blue); }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.keys[hidden] { display: none; }
.key { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--border); color: #cfd4dc; font-size: 15px; }
.key span { display: flex; gap: 4px; flex: none; min-width: 108px; }
kbd {
	display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px;
	border-radius: 7px; background: linear-gradient(180deg, #2b3445, #1c2330); border: 1px solid #3a4558; border-bottom-width: 3px;
	font: 700 13px var(--body); color: #fff;
}

/* Stažení */
.download { padding-top: clamp(80px, 10vw, 130px); }
.download::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(800px 420px at 20% 30%, rgba(255, 176, 0, .12), transparent 70%);
}
.download__card {
	position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px);
	padding: clamp(28px, 5vw, 56px); border-radius: 24px;
	background: linear-gradient(160deg, #18202d, #10151e 60%); border: 1px solid #2f3a4d;
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.download__info .lead { margin-bottom: 28px; }
.reqs { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.reqs li { padding-left: 22px; position: relative; }
.reqs li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.install { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 18px; align-content: center; }
.install li { counter-increment: step; position: relative; padding: 18px 20px 18px 70px; border-radius: 14px; background: rgba(11, 14, 20, .55); border: 1px solid var(--border); }
.install li::before {
	content: counter(step); position: absolute; left: 18px; top: 18px;
	width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
	background: var(--gold); color: var(--ink); font-family: var(--display); font-size: 20px;
}
.install h3 { font-size: 18px; margin-bottom: 4px; }
.install p { margin: 0; color: var(--muted); font-size: 15px; }

/* Časté dotazy */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 12px; background: var(--panel); border: 1px solid var(--border); transition: border-color .2s; }
.faq details[open] { border-color: #3a4558; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
	border-right: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 20px 20px; color: #c2c8d2; }

/* Patička */
.footer { padding: 50px 0 60px; border-top: 1px solid #161c27; text-align: center; color: var(--muted); }
.footer__inner { display: grid; justify-items: center; gap: 8px; }
.footer img { width: 140px; height: auto; opacity: .9; margin-bottom: 8px; }
.footer p { margin: 0; }
.footer__small { font-size: 13px; opacity: .7; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 30px; background: rgba(5, 7, 10, .92); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.lightbox__close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--panel-2); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }

/* Postupné objevení při scrollu */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* --- Menší obrazovky --- */
@media (max-width: 1020px) {
	.tools { grid-template-columns: repeat(2, 1fr); }
	.keys { grid-template-columns: repeat(2, 1fr); }
	.nav__links { gap: 18px; }
}
@media (max-width: 900px) {
	.nav__links {
		position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0; margin: 0;
		background: rgba(11, 14, 20, .97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
		padding: 8px 20px 18px; transform: translateY(-120%); transition: transform .3s var(--ease); z-index: -1;
	}
	.nav__links a { padding: 14px 0; border-bottom: 1px solid #1a2130; font-size: 17px; }
	.nav.is-open .nav__links { transform: none; }
	.nav.is-open { background: rgba(11, 14, 20, .97); }
	.nav__cta { margin-left: auto; }
	.nav__toggle {
		display: grid; gap: 5px; width: 44px; height: 44px; place-content: center;
		background: transparent; border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
	}
	.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
	.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
	.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.pillars, .roles, .intro { grid-template-columns: 1fr; }
	.step, .news, .download__card { grid-template-columns: 1fr; }
	.step:nth-child(even) .step__media { order: 0; }
	.bento { grid-template-columns: 1fr 1fr; }
	.clip--wide { grid-column: auto; }
	.bento .clip:not(.clip--wide) { min-height: 0; aspect-ratio: 16 / 9; }
	.gallery { grid-template-columns: 1fr 1fr; }
	.hero__shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 14, 20, .78) 45%, rgba(11, 14, 20, .55) 100%); }
	.cctv--hero .cctv__time { display: none; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.nav__cta { display: none; }
	.nav__toggle { margin-left: auto; }
	.hero { padding: 96px 0 80px; align-items: end; }
	.hero__actions .btn { width: 100%; }
	.bento, .gallery, .tools, .keys { grid-template-columns: 1fr; }
	.clip figcaption { position: static; padding: 12px 14px 14px; background: var(--panel); }
	.bento .clip:not(.clip--wide) { aspect-ratio: auto; }
	.bento .clip:not(.clip--wide) video { position: static; aspect-ratio: 16 / 9; height: auto; }
	.role__body { padding: 22px; }
	.cctv--hero { inset: 76px 12px 12px; }
	.cctv--hero .cctv__cam { display: none; }
	.install li { padding: 16px 16px 16px 62px; }
	.install li::before { left: 14px; top: 16px; }
	.btn--xl { width: 100%; padding: 18px 20px; font-size: 17px; justify-content: flex-start; }
	.tape { margin-top: -18px; }
	.tape__track span { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.tape__track, .hero__scroll span, .cctv__rec i { animation: none; }
	.btn, .pillar, .role, .shot img, .news__paper { transition: none; }
}
