/* =========================================================
   František Šesták 2026 — dizajn v2 „tmavý editorial“
   Samostatný koncept pre /inydesign
   ========================================================= */

:root {
	--bg: #0d1f12;
	--bg-2: #122917;
	--panel: #173320;
	--hair: rgba(242, 239, 226, 0.14);
	--hair-strong: rgba(242, 239, 226, 0.28);
	--ink: #f2efe2;
	--muted: #9fb098;
	--gold: #e9b435;
	--gold-soft: #f4d47c;
	--display: "Fraunces", Georgia, serif;
	--sans: "Manrope", "Segoe UI", system-ui, sans-serif;
	--wrap: 1180px;
}

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

html { scroll-behavior: smooth; }

body.d2 {
	font-family: var(--sans);
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--ink);
	background:
		radial-gradient(1000px 600px at 100% -5%, rgba(233, 180, 53, 0.07), transparent 60%),
		var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--ink); }

.sr-only, .skip-link {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.skip-link:focus {
	width: auto; height: auto; clip: auto; z-index: 100;
	top: 8px; left: 8px; background: var(--gold); color: var(--bg);
	padding: 10px 18px; font-weight: 800; text-decoration: none;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(13, 31, 18, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--hair);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
	width: 12px; height: 12px; background: var(--gold);
	border-radius: 50% 50% 50% 0;
}
.brand-text {
	font-family: var(--display); font-size: 1.25rem; font-weight: 700;
	letter-spacing: 0.04em; text-transform: uppercase;
}
.brand-text em { font-style: normal; color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
	text-decoration: none; color: var(--ink);
	font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	padding: 4px 0; border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover { color: var(--gold-soft); border-bottom-color: var(--gold); }
.site-nav .nav-cta {
	background: var(--gold); color: var(--bg);
	padding: 11px 24px; border-bottom: none;
	transition: background 0.2s;
}
.site-nav .nav-cta:hover { background: var(--gold-soft); color: var(--bg); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.nav-toggle-bar { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; border-bottom: 1px solid var(--hair); overflow: hidden; }
.hero::before {
	content: "";
	position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 18c14 10 26 24 26 40 0 15-12 26-26 26S34 73 34 58c0-16 12-30 26-40zm0 66v18' fill='none' stroke='%23e9b435' stroke-width='3'/%3E%3C/svg%3E");
	background-size: 120px 120px;
}
.hero-inner {
	position: relative;
	display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center;
	padding-top: 80px; padding-bottom: 88px;
}
.hero-kicker {
	font-size: 0.8rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--gold); margin-bottom: 26px;
	display: flex; align-items: center; gap: 14px;
}
.hero-kicker::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero h1 {
	font-size: clamp(3.4rem, 9vw, 6.4rem);
	line-height: 0.98; font-weight: 700;
	text-transform: uppercase; letter-spacing: -0.01em;
}
.hero h1 span { color: transparent; -webkit-text-stroke: 2px var(--gold); }
.hero-role {
	font-family: var(--display); font-style: italic;
	font-size: clamp(1.1rem, 2.2vw, 1.45rem); color: var(--gold-soft);
	margin-top: 18px;
}
.hero-claim {
	font-size: 1.15rem; color: var(--muted); max-width: 44ch;
	margin-top: 18px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.btn {
	display: inline-block; text-decoration: none; cursor: pointer;
	font-family: var(--sans); font-size: 0.88rem; font-weight: 800;
	letter-spacing: 0.14em; text-transform: uppercase;
	padding: 17px 34px; border: 1px solid transparent;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-line { border-color: var(--hair-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }

.hero-index {
	list-style: none; counter-reset: pillar;
	display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 42px;
	padding-top: 26px; border-top: 1px solid var(--hair);
}
.hero-index li {
	counter-increment: pillar;
	font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--muted);
}
.hero-index li::before {
	content: "0" counter(pillar);
	font-family: var(--display); color: var(--gold); margin-right: 8px;
}

.hero-photo { position: relative; justify-self: end; max-width: 400px; }
.hero-photo img {
	border: 1px solid var(--hair-strong);
	box-shadow: 14px 14px 0 var(--gold);
}
.hero-photo figcaption {
	margin-top: 30px; text-align: right;
	font-family: var(--display); font-style: italic;
	font-size: 1rem; color: var(--muted); line-height: 1.6;
}

/* ---------- Ticker ---------- */
.ticker {
	overflow: hidden; white-space: nowrap;
	border-bottom: 1px solid var(--hair);
	background: var(--bg-2);
	padding: 16px 0;
}
.ticker-track {
	display: inline-flex; align-items: center; gap: 34px;
	animation: tick 42s linear infinite;
	will-change: transform;
}
.ticker-track span {
	font-family: var(--display); font-style: italic;
	font-size: 1.05rem; color: var(--gold-soft);
}
.ticker-track .tick-sep { color: var(--muted); font-style: normal; font-size: 0.8rem; }
@keyframes tick {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.ticker-track { animation: none; }
}

/* ---------- Sekcie ---------- */
.sec { padding: 96px 0; border-bottom: 1px solid var(--hair); }
.sec-kicker {
	display: flex; align-items: center; gap: 16px;
	font-size: 0.8rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--muted); margin-bottom: 40px;
}
.sec-kicker span {
	font-family: var(--display); font-size: 1.5rem; font-weight: 600;
	color: var(--gold); letter-spacing: 0;
}
.sec-kicker::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.sec-title { font-size: clamp(2.1rem, 4.5vw, 3.2rem); line-height: 1.1; margin-bottom: 0.5em; }
.sec-title em { font-style: italic; color: var(--gold); }
.sec-lead { color: var(--muted); font-size: 1.12rem; max-width: 620px; margin-bottom: 48px; }

/* ---------- Príhovor ---------- */
.prihovor-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.prihovor-grid h2 {
	font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12;
	position: sticky; top: 110px;
}
.prihovor-body p { margin-bottom: 1.15em; color: rgba(242, 239, 226, 0.88); }
.prihovor-body blockquote {
	font-family: var(--display); font-style: italic; font-weight: 500;
	font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.4; color: var(--gold-soft);
	border-left: 2px solid var(--gold); padding: 8px 0 8px 26px; margin: 1.5em 0;
}
.prihovor-more { margin: 1.5em 0; border: 1px solid var(--hair); padding: 20px 24px; background: var(--bg-2); }
.prihovor-more summary { cursor: pointer; font-weight: 800; font-size: 0.88rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.prihovor-more[open] summary { margin-bottom: 16px; }
.prihovor-sign { margin-top: 1.8em; color: var(--muted); }
.sign-name { font-family: var(--display); font-style: italic; font-size: 1.7rem; color: var(--ink); }

/* ---------- Program ---------- */
.prio-list { border-top: 1px solid var(--hair); }
.prio {
	display: grid; grid-template-columns: 180px 1fr; gap: 30px;
	padding: 44px 0; border-bottom: 1px solid var(--hair);
	transition: background 0.25s;
}
.prio:hover { background: rgba(23, 51, 32, 0.5); }
.prio-num {
	font-family: var(--display); font-size: clamp(4rem, 8vw, 6.5rem); font-weight: 700; line-height: 0.9;
	color: transparent; -webkit-text-stroke: 1.5px var(--gold);
}
.prio-body h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 16px; }
.prio-body ul { list-style: none; }
.prio-body li {
	position: relative; padding-left: 24px; margin-bottom: 10px;
	color: rgba(242, 239, 226, 0.82); font-size: 1.02rem;
}
.prio-body li::before {
	content: ""; position: absolute; left: 0; top: 12px;
	width: 10px; height: 1px; background: var(--gold);
}

/* ---------- O mne ---------- */
.omne-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.omne-photo { max-width: 380px; }
.omne-photo img {
	border: 1px solid var(--hair-strong);
	box-shadow: -14px 14px 0 var(--panel), -14px 14px 0 1px var(--hair);
}
.omne-grid h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5em; }
.omne-text > p { color: rgba(242, 239, 226, 0.85); }
.omne-facts { margin: 30px 0; border-top: 1px solid var(--hair); }
.omne-facts > div {
	display: grid; grid-template-columns: 140px 1fr; gap: 18px;
	padding: 13px 0; border-bottom: 1px solid var(--hair);
}
.omne-facts dt {
	font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--muted); padding-top: 4px;
}
.omne-facts dd { font-weight: 700; color: var(--ink); }
.omne-note { font-family: var(--display); font-style: italic; color: var(--gold-soft); font-size: 1.25rem; }

/* ---------- Naše korene ---------- */
.hist-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 52px; }
.hist { position: relative; cursor: zoom-in; overflow: hidden; border: 1px solid var(--hair); }
.hist img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
	filter: grayscale(1) contrast(1.05) brightness(0.92);
	transition: filter 0.35s, transform 0.35s;
}
.hist:hover img { filter: grayscale(0.1) contrast(1.02); transform: scale(1.04); }
.hist figcaption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 26px 12px 10px;
	background: linear-gradient(transparent, rgba(13, 31, 18, 0.9));
	font-family: var(--display); font-style: italic; font-size: 0.92rem; color: var(--gold-soft);
}
.korene-note {
	max-width: 700px; margin: 0 auto; text-align: center;
	font-family: var(--display); font-style: italic;
	font-size: 1.25rem; line-height: 1.6; color: var(--muted);
}

/* ---------- Kontakt (invertovaný zlatý blok) ---------- */
.kontakt { background: var(--gold); color: var(--bg); border-bottom: none; }
.kontakt .sec-kicker, .kontakt .sec-kicker span { color: var(--bg); }
.kontakt .sec-kicker::after { background: rgba(13, 31, 18, 0.25); }
.kontakt h2 {
	color: var(--bg); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08;
	max-width: 20ch; margin-bottom: 0.5em;
}
.kontakt-lead { color: rgba(13, 31, 18, 0.75); font-size: 1.15rem; max-width: 54ch; margin-bottom: 44px; font-weight: 600; }
.kontakt-rows { border-top: 1px solid rgba(13, 31, 18, 0.3); }
.krow {
	display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: baseline;
	padding: 22px 0; border-bottom: 1px solid rgba(13, 31, 18, 0.3);
	text-decoration: none; color: var(--bg);
	transition: padding-left 0.25s;
}
a.krow:hover { padding-left: 14px; }
.krow span { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; }
.krow strong { font-family: var(--display); font-size: clamp(1.4rem, 3.4vw, 2.2rem); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0; background: var(--bg); }
.footer-inner { text-align: center; display: grid; gap: 10px; }
.footer-name { font-family: var(--display); font-size: 1.05rem; }
.footer-slogan { font-family: var(--display); font-style: italic; color: var(--gold-soft); font-size: 0.98rem; }
.footer-imprint { font-size: 0.82rem; color: var(--muted); }
.footer-imprint a { color: var(--gold-soft); }

/* ---------- Lightbox (galéria) ---------- */
.lightbox {
	position: fixed; inset: 0; z-index: 100;
	display: none; align-items: center; justify-content: center;
	background: rgba(6, 14, 8, 0.95); padding: 28px;
}
.lightbox.open { display: flex; }
.lightbox figure { max-width: min(92vw, 900px); text-align: center; }
.lightbox img {
	max-width: 100%; max-height: 80vh; width: auto; height: auto; margin: 0 auto;
	border: 1px solid var(--hair-strong); box-shadow: 10px 10px 0 var(--gold);
}
.lightbox figcaption {
	font-family: var(--display); font-style: italic;
	color: var(--gold-soft); font-size: 1.1rem; margin-top: 22px;
}
.lightbox-close {
	position: absolute; top: 14px; right: 20px;
	background: none; border: none; cursor: pointer;
	color: var(--ink); font-size: 2.6rem; line-height: 1; padding: 8px;
}
.lightbox-close:hover { color: var(--gold); }

/* ---------- Modal: odkaz kandidátovi ---------- */
.modal {
	position: fixed; inset: 0; z-index: 110;
	display: none; align-items: center; justify-content: center;
	background: rgba(6, 14, 8, 0.85); padding: 24px;
}
.modal.open { display: flex; }
.modal-card {
	position: relative; width: 100%; max-width: 540px;
	background: var(--bg-2); border: 1px solid var(--hair-strong);
	padding: 40px 36px 32px; box-shadow: 14px 14px 0 var(--gold);
}
.modal-card h3 { font-size: 1.7rem; }
.modal-lead { color: var(--muted); font-size: 1rem; margin: 8px 0 20px; }
.modal-close {
	position: absolute; top: 8px; right: 12px;
	background: none; border: none; cursor: pointer;
	color: var(--muted); font-size: 2rem; line-height: 1; padding: 6px;
}
.modal-close:hover { color: var(--gold); }
#odkaz-form textarea {
	width: 100%; padding: 14px 16px;
	border: 1px solid var(--hair-strong); background: rgba(6, 14, 8, 0.5);
	font-family: var(--sans); font-size: 1.02rem; color: var(--ink);
	resize: vertical; min-height: 130px; outline: none;
}
#odkaz-form textarea:focus { border-color: var(--gold); }
.modal-submit { width: 100%; margin-top: 16px; }
.form-status { margin-top: 12px; font-size: 0.95rem; text-align: center; min-height: 1.4em; }
.form-status.ok { color: var(--gold-soft); font-weight: 700; }
.form-status.err { color: #ff9d84; font-weight: 700; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Cookie lišta ---------- */
.cookie-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 105;
	background: var(--bg-2); border-top: 1px solid var(--hair-strong);
	box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
	padding: 18px 28px;
}
.cookie-bar[hidden] { display: none; }
.cookie-inner {
	max-width: var(--wrap); margin: 0 auto;
	display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.cookie-inner p { font-size: 0.92rem; line-height: 1.55; color: var(--muted); margin: 0; }
.cookie-inner p strong { color: var(--ink); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions .btn { padding: 12px 22px; font-size: 0.78rem; }
.footer-imprint a { color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid transparent; }
.footer-imprint a:hover { border-bottom-color: var(--gold); }
@media (max-width: 760px) {
	.cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; }
	.cookie-actions .btn { flex: 1; text-align: center; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.hist img, .hist:hover img { transform: none; transition: none; }
}

/* ---------- Responzivita ---------- */
@media (max-width: 1020px) {
	.hero-inner { grid-template-columns: 1fr; gap: 52px; padding-top: 56px; padding-bottom: 60px; }
	.hero-photo { justify-self: start; max-width: 340px; }
	.hero-photo figcaption { text-align: left; }
	.prihovor-grid, .omne-grid { grid-template-columns: 1fr; gap: 40px; }
	.prihovor-grid h2 { position: static; }
	.omne-photo { max-width: 320px; }
	.hist-strip { grid-template-columns: repeat(3, 1fr); }
	.prio { grid-template-columns: 110px 1fr; gap: 22px; }
}

@media (max-width: 760px) {
	.sec { padding: 68px 0; }
	.nav-toggle { display: block; }
	.site-nav {
		display: none; position: absolute; top: 68px; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--bg-2); border-bottom: 1px solid var(--hair);
		padding: 8px 28px 24px;
	}
	.site-nav.open { display: flex; }
	.site-nav a { padding: 15px 4px; font-size: 0.95rem; border-bottom: 1px solid var(--hair); }
	.site-nav .nav-cta { margin-top: 16px; text-align: center; }
	.hist-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
	.prio { grid-template-columns: 1fr; gap: 10px; padding: 34px 0; }
	.prio-num { font-size: 3.4rem; }
	.krow { grid-template-columns: 1fr; gap: 4px; }
	.omne-facts > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 520px) {
	body.d2 { font-size: 1.02rem; }
	.hero-cta .btn { width: 100%; text-align: center; }
	.hero-photo { box-shadow: none; }
	.hero-photo img { box-shadow: 8px 8px 0 var(--gold); }
}
