/* =========================================================
   Obec pre občana — cinematic dark campaign site
   Design: forest-charcoal drenched + emerald + gold (OKLCH)
   ========================================================= */

:root {
  /* surfaces — tinted toward forest hue, never pure black */
  --ink-900: oklch(0.16 0.016 158);
  --ink-850: oklch(0.19 0.018 158);
  --ink-800: oklch(0.22 0.020 158);
  --ink-700: oklch(0.27 0.022 158);
  --line:    oklch(0.34 0.022 158 / 0.55);
  --line-soft: oklch(0.40 0.020 158 / 0.28);

  /* brand */
  --emerald:      oklch(0.74 0.135 158);
  --emerald-deep: oklch(0.52 0.110 158);
  --gold:         oklch(0.84 0.130 85);
  --gold-soft:    oklch(0.90 0.085 88);

  /* text — warm off-whites, never pure #fff */
  --cream:  oklch(0.95 0.012 92);
  --muted:  oklch(0.81 0.016 135);
  --faint:  oklch(0.64 0.014 150);

  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);          /* expo-out */
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink-900);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--ink-900); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--gold); color: var(--ink-900); padding: 0.6rem 1rem;
  border-radius: 10px; font-weight: 600; transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* film grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.05;
  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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* =================== NAV =================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem var(--pad);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: oklch(0.16 0.016 158 / 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding-block: 0.8rem;
  border-bottom-color: var(--line-soft);
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; color: var(--gold); }
.nav__mark { display: grid; place-items: center; flex: none; }
.nav__name {
  font-family: var(--font-display); font-weight: 500; font-size: 0.98rem;
  line-height: 1.02; letter-spacing: 0.01em; color: var(--cream); text-transform: none;
}
.nav__name em { font-style: italic; color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav__links a { font-size: 0.93rem; color: var(--muted); position: relative; transition: color 0.25s var(--ease); }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover:not(.nav__cta)::after { width: 100%; }
.nav__cta {
  color: var(--ink-900) !important; background: var(--gold);
  padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 600;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px oklch(0.82 0.115 86 / 0.25); }
.nav__burger { display: none; }

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer; will-change: transform;
  transition: transform 0.45s var(--ease), background 0.4s var(--ease), color 0.3s var(--ease), box-shadow 0.45s var(--ease);
}
.btn__ico { transition: transform 0.45s var(--ease); }
.btn:hover .btn__ico { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--ink-900); box-shadow: 0 12px 40px oklch(0.82 0.115 86 / 0.18); }
.btn--gold:hover { box-shadow: 0 18px 52px oklch(0.82 0.115 86 / 0.30); }
.btn--ghost { border-color: var(--line); color: var(--cream); background: transparent; }
.hero .btn--ghost { border-color: oklch(0.95 0.012 92 / 0.38); background: oklch(0.16 0.016 158 / 0.28); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* =================== HERO =================== */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 7rem var(--pad) clamp(3rem, 7vh, 6rem); overflow: hidden;
}
.hero__scene { position: absolute; inset: 0; z-index: 0; }
.hero__hills { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__hills .layer { will-change: transform; }
.hero__glow {
  position: absolute; left: 50%; top: 18%; width: 70vw; height: 60vh; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, oklch(0.74 0.135 158 / 0.22), transparent 62%);
  filter: blur(40px); z-index: 0;
}
.hero__particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__particles span {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold); opacity: 0; box-shadow: 0 0 8px oklch(0.82 0.115 86 / 0.7);
  animation: float linear infinite;
}
@keyframes float {
  0% { opacity: 0; transform: translateY(20px); }
  12% { opacity: 0.8; }
  88% { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-60vh); }
}
.hero__inner { position: relative; z-index: 3; max-width: 880px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.86rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.6rem;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 10px var(--emerald); }
.hero__title {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 0.98;
  font-size: clamp(2.7rem, 8.5vw, 6.2rem); margin-bottom: 1.7rem;
}
.hero__title .line { display: block; overflow: hidden; padding: 0.06em 0 0.16em; margin: -0.06em 0 -0.16em; }
.hero__title .line > * { display: inline-block; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__lede { max-width: 56ch; font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.28rem); color: var(--muted); margin-bottom: 2.3rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* =================== SECTION SHELL =================== */
.section { position: relative; padding-block: clamp(5rem, 12vh, 9rem); }
.kicker {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--emerald);
  margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.7rem;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--emerald-deep); }
.section__title {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.04;
  font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.4rem); max-width: 20ch;
}

/* =================== VÍZIA =================== */
.vizia { border-top: 1px solid var(--line-soft); }
.vizia__manifest { max-width: 60ch; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem); color: var(--cream); margin: 1.8rem 0 3.5rem; font-family: var(--font-display); font-weight: 400; line-height: 1.45; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(3rem, 7vh, 4.5rem); }
.pillar { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.pillar__num { font-family: var(--font-display); font-size: 1rem; color: var(--gold); letter-spacing: 0.05em; }
.pillar h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.05rem); line-height: 1.12; margin: 0.9rem 0 0; letter-spacing: -0.015em; max-width: 14ch; }
.pillar p { color: var(--muted); font-size: 0.98rem; }

/* =================== PROGRAM =================== */
.program { background: linear-gradient(var(--ink-900), var(--ink-850) 40%, var(--ink-900)); }
.program__head { margin-bottom: clamp(2.5rem, 5vh, 4rem); }
.agenda { list-style: none; padding: 0; counter-reset: a; }
.agenda__item {
  display: grid; grid-template-columns: 64px 1fr; gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: start; padding: clamp(1.6rem, 3vh, 2.4rem) 0; position: relative;
  border-top: 1px solid var(--line-soft);
}
.agenda__item::before {
  counter-increment: a; content: "0" counter(a);
  position: absolute; right: 0; top: clamp(1.6rem, 3vh, 2.4rem);
  font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 400;
  color: oklch(0.40 0.020 158 / 0.45); line-height: 1; letter-spacing: -0.03em; pointer-events: none;
  transition: color 0.5s var(--ease), transform 0.5s var(--ease);
}
.agenda__item:hover::before { color: oklch(0.82 0.115 86 / 0.30); }
.agenda__ico {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px;
  border: 1px solid var(--line); background: oklch(0.22 0.020 158 / 0.6);
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease), background 0.5s var(--ease);
}
.agenda__item:hover .agenda__ico { border-color: var(--emerald-deep); transform: translateY(-3px); background: oklch(0.27 0.022 158 / 0.7); }
.ico { width: 34px; height: 34px; }
.ico path, .ico circle, .ico line { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.agenda__body { max-width: 62ch; padding-right: clamp(2.5rem, 10vw, 6rem); }
.agenda__body h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.85rem); letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.agenda__body p { color: var(--muted); }

/* =================== PRVÉ KROKY =================== */
.kroky { border-top: 1px solid var(--line-soft); }
.timeline { position: relative; margin-top: clamp(2.5rem, 5vh, 4rem); padding-left: 2.4rem; }
.timeline__rail { position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.timeline__rail i { position: absolute; inset: 0 0 auto 0; height: 0; background: linear-gradient(var(--emerald), var(--gold)); border-radius: 2px; }
.step { position: relative; padding: 0 0 clamp(2rem, 4vh, 3.2rem); }
.step:last-child { padding-bottom: 0; }
.step__dot {
  position: absolute; left: calc(-2.4rem + 1px); top: 0.55em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink-900); border: 2px solid var(--emerald-deep); transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.step.is-on .step__dot { border-color: var(--gold); box-shadow: 0 0 0 5px oklch(0.82 0.115 86 / 0.12); }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); letter-spacing: -0.01em; line-height: 1.2; }
.step p { color: var(--muted); max-width: 56ch; }

/* =================== FOOTER =================== */
.foot { border-top: 1px solid var(--line); padding-block: clamp(3rem, 7vh, 5rem); }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.foot__brand { display: flex; align-items: center; gap: 1rem; color: var(--gold); }
.foot__claim { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; line-height: 1.2; color: var(--cream); }
.foot__nav { display: flex; flex-direction: column; gap: 0.7rem; }
.foot__nav a { color: var(--muted); font-size: 0.95rem; width: fit-content; transition: color 0.25s var(--ease); }
.foot__nav a:hover { color: var(--gold); }
.foot__legal p { color: var(--faint); font-size: 0.85rem; line-height: 1.6; }
.foot__disc { margin-top: 0.8rem; }

/* =================== REVEAL =================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }

/* =================== EXTRAS =================== */
section[id], .lozband, #top { scroll-margin-top: 86px; }
.hero__title, .section__title, .lozband h2 { text-wrap: balance; }

.hero__cam { position: absolute; inset: 0; z-index: 1; overflow: hidden; will-change: transform; }
/* slideshow: crossfade + per-slide slow camera move (Ken Burns) */
.hslide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1); }
.hslide.is-active { opacity: 1; }
.hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  filter: brightness(0.62) saturate(0.85); transform-origin: 58% 62%;
  transform: var(--from); will-change: transform;
}
.hslide.is-moving .hero__photo { animation: kenBurns 9.6s linear forwards; }
@keyframes kenBurns { from { transform: var(--from); } to { transform: var(--to); } }
/* low-res lake panorama: soften so the upscale reads as atmosphere, not pixels */
.hslide--soft .hero__photo { object-position: 50% 50%; filter: brightness(0.55) saturate(0.9) blur(1.4px); }

/* progress bars (stories-style) */
.hero__progress { display: flex; gap: 0.45rem; margin-top: 1.3rem; width: min(260px, 62vw); }
.hero__progress button { flex: 1; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hero__progress i { position: relative; display: block; width: 100%; height: 2px; border-radius: 2px; overflow: hidden; background: oklch(0.95 0.012 92 / 0.24); transition: height 0.25s var(--ease); }
.hero__progress button:hover i { height: 3px; }
.hero__progress i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left center; }
.hero__progress button.is-done i::after { transform: scaleX(1); }
.hero__progress button.is-active i::after { animation: heroProg var(--dur, 7s) linear forwards; }
.hero__progress.is-paused button.is-active i::after { animation-play-state: paused; }
@keyframes heroProg { to { transform: scaleX(1); } }

/* title letters (split by JS) */
.hero__title .ch { display: inline-block; white-space: pre; will-change: transform, opacity, filter; }
/* warm sun glow behind the pines, slow breathing */
.hero__sun {
  position: absolute; z-index: 2; pointer-events: none; right: -12vw; top: -18vh; width: 70vw; height: 80vh;
  background: radial-gradient(closest-side, oklch(0.90 0.10 80 / 0.34), oklch(0.84 0.12 80 / 0.10) 55%, transparent);
  mix-blend-mode: screen; animation: sunBreath 11s ease-in-out infinite alternate;
}
@keyframes sunBreath { from { opacity: 0.55; transform: scale(0.96); } to { opacity: 1; transform: scale(1.06); } }
/* god rays drifting through the trees */
.hero__rays {
  position: absolute; z-index: 2; inset: -20% -30%; pointer-events: none; mix-blend-mode: screen; opacity: 0.8;
  background: repeating-linear-gradient(112deg,
    transparent 0 7%, oklch(0.93 0.09 82 / 0.17) 9%, transparent 12%,
    transparent 16%, oklch(0.93 0.09 82 / 0.11) 18.5%, transparent 21%);
  -webkit-mask-image: radial-gradient(60% 55% at 72% 28%, #000 10%, transparent 72%);
          mask-image: radial-gradient(60% 55% at 72% 28%, #000 10%, transparent 72%);
  animation: raysDrift 18s ease-in-out infinite alternate;
}
@keyframes raysDrift {
  from { transform: translate3d(-4%, 0, 0); opacity: 0.5; }
  to   { transform: translate3d(4%, 2%, 0); opacity: 1; }
}

/* candidate portraits inside hero */
.hero__cands {
  position: absolute; z-index: 3; right: var(--pad); bottom: clamp(3rem, 7vh, 6rem);
  display: flex; align-items: flex-end; gap: clamp(0.8rem, 1.4vw, 1.2rem); color: var(--cream);
}
.hcand { margin: 0; width: clamp(128px, 11.5vw, 184px); transition: transform 0.6s var(--ease); }
.hcand:nth-child(2) { margin-bottom: clamp(1.6rem, 4vh, 2.8rem); }
.hcand__frame {
  display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; position: relative;
  box-shadow: 0 0 0 1px oklch(0.95 0.012 92 / 0.14), 0 24px 50px oklch(0.10 0.02 158 / 0.55);
}
.hcand__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, oklch(0.14 0.016 158 / 0.55));
}
.hcand__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 0.9s var(--ease); animation: portraitBreath 7s ease-in-out infinite alternate; }
.hcand:nth-child(2) .hcand__frame img { animation-delay: -3.5s; }
@keyframes portraitBreath { from { scale: 1; } to { scale: 1.04; } }
/* soft light sheen sweeping across on hover */
.hcand__frame::before {
  content: ""; position: absolute; inset: -20% -60%; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, oklch(0.97 0.03 90 / 0.28) 50%, transparent 60%);
  transform: translateX(-70%); transition: transform 1.1s var(--ease);
}
.hero__cands:hover .hcand__frame::before, .hero__cands:focus-visible .hcand__frame::before { transform: translateX(70%); }
.hcand:nth-child(2) .hcand__frame::before { transition-delay: 0.08s; }
.hcand figcaption { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.7rem; font-size: 0.86rem; line-height: 1.15; color: var(--cream); }
.hcand figcaption b {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--ink-900); font-family: var(--font-display); font-size: 1rem; font-weight: 600;
}
.hero__cands:hover .hcand { transform: translateY(-4px); }
.hero__cands:hover .hcand__frame img { transform: scale(1.04); }
.hero__cands:focus-visible { outline-offset: 8px; border-radius: 18px; }
.hero__veil { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, oklch(0.16 0.016 158 / 0.6) 0%, oklch(0.16 0.016 158 / 0.18) 18%, transparent 34%, oklch(0.14 0.016 158 / 0.55) 72%, oklch(0.12 0.016 158 / 0.85) 100%); }
.hero__count { margin-top: 1.5rem; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); display: inline-flex; align-items: center; gap: 0.6rem; }
.hero__count::before { content: ""; width: 20px; height: 1px; background: var(--gold-soft); opacity: 0.55; }
.vizia__meta { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft); font-size: 0.82rem; letter-spacing: 0.04em; color: var(--faint); }
.vizia__meta b { color: var(--muted); font-weight: 500; }

/* Lozorno photo band — cinematic forest duotone */
.lozband { position: relative; min-height: clamp(440px, 60vh, 640px); display: grid; align-items: center; overflow: hidden; border-block: 1px solid var(--line-soft); }
.lozband__media { position: absolute; inset: 0; overflow: hidden; }
.lozband__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; filter: brightness(0.5) contrast(1.06) saturate(0.65); }
.lozband__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: oklch(0.34 0.07 158 / 0.45); mix-blend-mode: color; }
.lozband__media::after { content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, oklch(0.16 0.016 158 / 0.55), oklch(0.14 0.016 158 / 0.82)),
              radial-gradient(120% 80% at 50% 25%, oklch(0.52 0.11 158 / 0.30), transparent 72%); }
.lozband__inner { position: relative; z-index: 3; max-width: 760px; }
.lozband h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 1.3rem + 2.4vw, 3.1rem); letter-spacing: -0.015em; line-height: 1.06; margin: 0.9rem 0 1rem; }
.lozband p { color: var(--cream); max-width: 52ch; }
.lozband__cap { position: absolute; right: var(--pad); bottom: 0.9rem; z-index: 4; font-size: 0.7rem; color: var(--faint); letter-spacing: 0.03em; }
.lozband__cap a { color: var(--faint); border-bottom: 1px solid var(--line-soft); }
.lozband__cap a:hover { color: var(--muted); }

/* =================== MOTTO (vizia) =================== */
.vizia__motto {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.95rem); line-height: 1.35;
  color: var(--gold-soft); max-width: 30ch; margin: 2.2rem 0 0;
}

/* =================== PROGRAM: fakt =================== */
.agenda__fact {
  margin-top: 0.9rem; padding: 0.8rem 1.05rem; max-width: 60ch;
  background: oklch(0.24 0.024 158 / 0.65); border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  font-size: 0.93rem; color: var(--muted);
}
.agenda__fact b { color: var(--gold-soft); font-weight: 600; }

/* =================== KANDIDATKY =================== */
.kandidatky { border-top: 1px solid var(--line-soft); background: linear-gradient(var(--ink-900), var(--ink-850) 55%, var(--ink-900)); }
.kandidatky__lede { max-width: 58ch; color: var(--muted); margin: 1.5rem 0 0; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem); }

.cands { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.2rem); margin-top: clamp(2.5rem, 5vh, 3.8rem); }

.cand {
  display: flex; flex-direction: column;
  background: oklch(0.19 0.018 158 / 0.72);
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease);
}

.cand__head { display: flex; align-items: flex-end; gap: clamp(1.1rem, 2.4vw, 1.6rem); }
.cand__photo {
  position: relative; flex: none; width: clamp(118px, 12vw, 150px); aspect-ratio: 3 / 4;
  border-radius: 16px; background: var(--ink-800);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px oklch(0.10 0.02 158 / 0.45);
}
.cand__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 16px; }
.cand__num {
  position: absolute; right: -10px; bottom: -10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--ink-900);
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; box-shadow: 0 0 0 4px var(--ink-850);
}

.cand__role { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald); margin-bottom: 0.45rem; }
.cand__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.12; letter-spacing: -0.012em; text-wrap: balance; }
.cand__meta { font-size: 0.9rem; color: var(--faint); margin-top: 0.35rem; }

.cand__prio {
  margin: 1.5rem 0 0; padding: 1rem 1.15rem;
  background: oklch(0.27 0.022 158 / 0.5);
  border-radius: 12px; font-size: 0.97rem; color: var(--cream);
}
.cand__prio b { color: var(--gold-soft); font-weight: 600; }

.cand__cols { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 1.6rem; }
.cand__col h4 {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-bottom: 0.7rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--line-soft);
}
.cand__col ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.cand__col li { position: relative; padding-left: 1.05rem; font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.cand__col li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--emerald-deep); }

.cands__note { margin-top: 1.6rem; font-size: 0.85rem; color: var(--faint); }

/* =================== AKO VOLIT =================== */
.akovolit { border-top: 1px solid var(--line-soft); }
.akovolit__lede { max-width: 56ch; color: var(--muted); margin: 1.5rem 0 0; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); }
.akovolit__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: clamp(2.5rem, 5vh, 3.8rem); }

.ballot { margin: 0; }
.ballot__cap { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.8rem; }
.ballot__paper {
  background: oklch(0.94 0.010 92); color: oklch(0.24 0.014 158);
  border-radius: 6px; padding: clamp(1.3rem, 3vw, 1.9rem);
  box-shadow: 0 26px 60px oklch(0.10 0.02 158 / 0.55), 0 2px 0 oklch(0.86 0.012 92);
  transform: rotate(-1.1deg);
  transition: transform 0.6s var(--ease);
}
.ballot:hover .ballot__paper { transform: rotate(0deg); }
.ballot__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: 0.01em; }
.ballot__sub { font-size: 0.82rem; color: oklch(0.45 0.014 158); margin-top: 0.15rem; }
.ballot__hint {
  font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: oklch(0.42 0.05 30); margin-top: 0.9rem; padding-bottom: 0.7rem;
  border-bottom: 1px solid oklch(0.80 0.012 92);
}
.ballot__list { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.1rem; }
.ballot__row { display: flex; align-items: center; gap: 0.85rem; padding: 0.55rem 0.2rem; border-bottom: 1px dashed oklch(0.84 0.012 92); }
.ballot__row:last-child { border-bottom: 0; }
.ballot__num { position: relative; flex: none; width: 26px; height: 26px; display: grid; place-items: center; font-size: 0.86rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ballot__row.is-dim .ballot__num { color: oklch(0.62 0.012 92); font-weight: 500; }
.ballot__nm { font-size: 0.93rem; font-weight: 500; }

.ballot__row.is-dim .ballot__num { border: 1px solid oklch(0.82 0.012 92); border-radius: 4px; }
.ballot__row.is-dim .ballot__nm { flex: 1; height: 0.62em; border-radius: 3px; background: oklch(0.87 0.010 92); }

.ballot__row.is-pick { background: oklch(0.90 0.030 92); border-radius: 4px; }
.ballot__ring {
  position: absolute; inset: -5px; border: 2.5px solid oklch(0.52 0.19 26);
  border-radius: 50%; transform: rotate(-8deg) scale(0.9); opacity: 0;
}
.ballot__row.is-pick .ballot__ring { animation: ringIn 0.7s var(--ease) forwards; }
.ballot__row.is-pick:nth-of-type(6) .ballot__ring { animation-delay: 0.45s; }
@keyframes ringIn { to { opacity: 1; transform: rotate(-4deg) scale(1); } }

.ballot__note { margin-top: 1rem; font-size: 0.82rem; color: var(--faint); max-width: 42ch; }

.vfacts { display: grid; border-top: 1px solid var(--line); }
.vfact { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.4rem 1.4rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.vfact__k { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--emerald); padding-top: 0.28rem; }
.vfact__v { color: var(--muted); font-size: 1.02rem; }
.vfact__v b { color: var(--cream); font-weight: 600; }
.vfact--warn { background: oklch(0.84 0.13 85 / 0.07); padding-inline: 1rem; margin-inline: -1rem; border-radius: 12px; border-bottom-color: transparent; }
.vfact--warn .vfact__k { color: var(--gold); }

/* =================== PODPOROVATELIA =================== */
.podporovatelia { padding-block: clamp(3.5rem, 8vh, 6rem); border-top: 1px solid var(--line-soft); background: linear-gradient(var(--ink-900), var(--ink-850) 60%, var(--ink-900)); }
.podpor__lead { margin-top: clamp(1.4rem, 3vh, 2rem); max-width: 40ch; font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 0.9vw, 1.6rem); line-height: 1.4; color: var(--cream); }

/* =================== RESPONSIVE =================== */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; gap: 1.4rem; }
  .foot__grid { grid-template-columns: 1fr; }
  /* nove sekcie */
  .cands { grid-template-columns: 1fr; }
  .akovolit__grid { grid-template-columns: 1fr; }
  .ballot__paper { transform: none; }
  .hero { justify-content: flex-end; padding-bottom: clamp(2rem, 5vh, 3rem); }
  .hero__cands { position: relative; right: auto; bottom: auto; margin-top: 1.8rem; align-self: flex-start; }
  .hcand { width: clamp(104px, 28vw, 150px); }
  .hcand:nth-child(2) { margin-bottom: 1.2rem; }
}
@media (max-width: 680px) {
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 1.6rem; padding: 2rem;
    background: oklch(0.16 0.016 158 / 0.97); backdrop-filter: blur(16px);
    transform: translateX(100%); transition: transform 0.5s var(--ease); }
  .nav__links.is-open { transform: none; }
  .nav__links a { font-size: 1.2rem; }
  .nav__burger { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 95; }
  .nav__burger span { width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }
  .nav__burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav__burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .agenda__item { grid-template-columns: 52px 1fr; gap: 1.1rem; }
  .agenda__ico { width: 52px; height: 52px; }
  .agenda__body { padding-right: 0; }
  .agenda__item::before { font-size: 2.2rem; opacity: 0.6; }
  .hero__title { margin-bottom: 1.3rem; }
  .hero__eyebrow { font-size: 0.76rem; margin-bottom: 1.1rem; }
  .hero__count { margin-top: 1.1rem; }
  .hero__rays { opacity: 0.4; }
  .hslide--soft .hero__photo { filter: brightness(0.5) saturate(0.9) blur(2.6px); }
  .vfact { grid-template-columns: 1fr; gap: 0.3rem; }
  .cand__head { gap: 0.9rem; }
  .cand__photo { width: 104px; }
  .cand__num { width: 36px; height: 36px; font-size: 1.1rem; right: -8px; bottom: -8px; }
  .vizia__motto { padding-left: 1rem; }
}

/* =================== REDUCED MOTION =================== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__particles, .pulse { display: none; }
  .hero__photo, .hero__sun, .hero__rays, .hcand__frame img { animation: none !important; }
  .hero__photo { transform: scale(1.06); }
  .hslide { transition: none !important; }
  .hero__progress i::after { animation: none !important; }
  .hero__progress button.is-active i::after { transform: scaleX(1); }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.12s !important; }
  .ballot__row.is-pick .ballot__ring { animation: none; opacity: 1; transform: rotate(-4deg) scale(1); }
  .ballot:hover .ballot__paper { transform: rotate(-1.1deg); }

}
