/* Propojené Rouské – styly webu
   Barvy a písma podle grafického manuálu. Mobile first, bez JavaScriptu. */

:root {
  --green-900: #1F4D3A;
  --green-600: #5C8F5A;
  --green-300: #A7C957;
  --sand: #E7E1CF;
  --sand-100: #F3EFE3;
  --paper: #FBF9F4;
  --gold: #D4A261;
  --ink: #22332B;
  --ink-soft: #2F3D36;
  --ink-muted: #3D4A43;
  --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-script: 'Dancing Script', 'Brush Script MT', 'Segoe Script', cursive;
  --max: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --circle: 108px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-sans);
  color: var(--green-900);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding-left: 20px; }
li { margin: 0 0 6px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-900); text-decoration: none; }
a:hover { color: var(--green-600); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
strong { color: var(--green-900); font-weight: 600; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--green-900); color: #fff;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  padding: 10px 16px; border-radius: 999px; z-index: 10;
}
.skip-link:focus { top: 12px; }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  text-align: center;
}
.btn--primary { background: var(--green-900); color: #fff; }
.btn--primary:hover { background: #163a2c; color: #fff; }
.btn--outline { border: 1.5px solid var(--green-900); color: var(--green-900); }
.btn--outline:hover { background: rgba(31, 77, 58, 0.06); color: var(--green-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.script { font-family: var(--font-script); color: var(--gold); font-weight: 600; line-height: 1; }

/* Hlavička */
.site-header { padding-block: 18px; }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 30px;
}
.site-logo img { height: 60px; width: auto; mix-blend-mode: multiply; }
@media (min-width: 720px) { .site-logo img { height: 72px; } }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--font-sans); font-size: 13px; font-weight: 600; }
@media (min-width: 720px) { .site-nav { gap: 8px 22px; font-size: 15px; } }
.site-nav a { padding: 6px 0; }

/* Úvod se společnou fotkou
   Mobil: fotka nahoře, okraje se rozpouštějí do zelené, text pod ní.
   Desktop: text vlevo, menší fotka vpravo s měkkými okraji do jednobarevného pozadí. */
.hero { position: relative; background: var(--green-900); color: #fff; overflow: hidden; }
.hero__media { position: relative; }
.hero__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }
.hero__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, var(--green-900) 0%, rgba(31, 77, 58, 0) 7%, rgba(31, 77, 58, 0) 93%, var(--green-900) 100%),
    linear-gradient(to bottom, rgba(31, 77, 58, 0) 60%, var(--green-900) 100%);
}
.hero__content { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 0 var(--pad) 44px; }
.hero__script { font-size: clamp(30px, 4vw, 40px); }
.hero__title { font-size: clamp(38px, 6vw, 56px); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; color: #fff; max-width: 15ch; }
.hero__lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--sand); max-width: 600px; }
.hero .btn--primary { background: #fff; color: var(--green-900); }
.hero .btn--primary:hover { background: var(--sand); color: var(--green-900); }
.hero .btn--outline { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.hero .btn--outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.hero a:focus-visible { outline-color: var(--green-300); }

@media (min-width: 960px) {
  .hero {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 48px;
    padding: 36px max(var(--pad), calc(50% - var(--max) / 2 + var(--pad))) 44px;
  }
  .hero__content { grid-column: 1; grid-row: 1; padding: 0; }
  .hero__media { grid-column: 2; grid-row: 1; }
  .hero__media img { aspect-ratio: 3 / 2; object-position: 50% 58%; }
  .hero__media::after {
    background:
      linear-gradient(to right, var(--green-900) 0%, rgba(31, 77, 58, 0) 10%, rgba(31, 77, 58, 0) 90%, var(--green-900) 100%),
      linear-gradient(to bottom, var(--green-900) 0%, rgba(31, 77, 58, 0) 16%, rgba(31, 77, 58, 0) 82%, var(--green-900) 100%);
  }
}
@media (min-width: 1200px) { .hero { gap: 64px; } }

/* Pás s portréty a heslem */
.team { background: var(--green-900); --circle: 100px; }
.team__row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 22px 18px; padding-top: 8px;
}
.team__item { width: var(--circle); display: flex; justify-content: center; }
.portrait-circle {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
}
.portrait-circle__frame { position: relative; width: var(--circle); height: var(--circle); }
.portrait-circle__photo {
  display: block; width: 100%; height: 100%;
  border-radius: 50%; border: 5px solid var(--paper); background: var(--sand);
  overflow: hidden; transition: border-color 0.15s ease;
}
.portrait-circle__num {
  position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--green-900); border: 2px solid var(--green-900);
  font-family: var(--font-sans); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.portrait-circle__name {
  width: calc(var(--circle) + 18px); margin-inline: -9px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600; line-height: 1.25;
  text-align: center; text-wrap: balance;
}
.portrait-circle:hover { color: #fff; }
.portrait-circle:hover .portrait-circle__photo { border-color: var(--green-300); }
.portrait-circle:hover .portrait-circle__name { text-decoration: underline; text-underline-offset: 3px; }
.portrait-circle:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 12px; }
.team__motto {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 40px;
  padding: 36px 0 40px;
  font-family: var(--font-sans); font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: #fff;
  text-align: center;
}
.team__motto span:nth-child(2) { color: var(--green-300); }
@media (min-width: 720px) {
  .team { --circle: 112px; }
  .team__row { gap: 24px 20px; }
  .portrait-circle__name { width: calc(var(--circle) + 28px); margin-inline: -14px; font-size: 13px; }
}

/* Zástupný portrét (SVG silueta) */
.ph { display: block; width: 100%; height: 100%; }
.portrait { background: var(--sand); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Kandidáti */
.profiles { display: flex; flex-direction: column; }
.profile { padding-block: 36px; }
.profile:nth-child(even) { background: var(--sand-100); }
.profile .wrap {
  display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center;
}
.profile__portrait {
  width: min(240px, 60vw); aspect-ratio: 6 / 7; border-radius: 18px;
}
.profile__body { display: flex; flex-direction: column; gap: 10px; max-width: 700px; }
.profile__label { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--green-600); }
.profile__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.profile__num { font-family: var(--font-sans); font-size: clamp(40px, 5vw, 56px); font-weight: 800; line-height: 1; color: var(--green-300); }
.profile__name { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; }
.profile__meta { font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--green-600); }
.profile__why-title { font-size: 30px; margin-top: 8px; }
.profile__why { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.profile__ps { font-style: italic; margin-top: -2px; }
.profile--leader { padding-block: 48px; }
.profile--leader .profile__portrait { width: min(320px, 70vw); }
.profile--leader .profile__num { font-size: clamp(44px, 5.5vw, 64px); }
.profile--leader .profile__name { font-size: clamp(30px, 3.6vw, 40px); }
.pullquote {
  font-size: clamp(20px, 2.2vw, 24px); line-height: 1.4; font-style: italic; color: var(--green-900);
  padding-left: 22px; border-left: 3px solid var(--gold); margin-block: 6px;
}
.profile .btn { align-self: flex-start; margin-top: 8px; }

@media (min-width: 720px) {
  .profile .wrap { grid-template-columns: 240px 1fr; gap: 48px; }
  .profile--flip .wrap { grid-template-columns: 1fr 240px; }
  .profile--flip .profile__portrait { order: 2; }
  .profile--leader .wrap { grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
  .profile__portrait, .profile--leader .profile__portrait { width: 100%; }
}

/* Sekce – společné hlavičky */
.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1.1; }
.section-head p { font-size: 18px; line-height: 1.5; color: var(--ink-muted); max-width: 560px; }
@media (min-width: 900px) {
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
}

/* Vize 2035 */
.vision { background: var(--sand); padding-block: 56px 64px; }
.vision .wrap { display: flex; flex-direction: column; gap: 40px; }
.vision__intro { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.vision__intro h2 { font-size: clamp(28px, 7.6vw, 52px); font-weight: 800; line-height: 1.05; white-space: nowrap; letter-spacing: -0.01em; }
.vision__sub { font-size: clamp(20px, 2.2vw, 24px); font-style: italic; color: var(--green-600); margin-top: 8px; }
.vision__path-icon { display: block; width: 100%; max-width: 300px; height: auto; margin-top: 18px; }
.vision__text { display: flex; flex-direction: column; gap: 14px; font-size: 19px; line-height: 1.6; color: var(--ink-soft); max-width: 680px; }
@media (min-width: 900px) {
  .vision__intro { grid-template-columns: auto minmax(0, 1fr); gap: 72px; }
  .vision__intro h2 { font-size: clamp(34px, 3.7vw, 52px); }
}

.path {
  list-style: none; padding-left: 30px; margin-left: 10px;
  border-left: 3px dashed var(--green-600);
}
.path__item { position: relative; display: flex; flex-direction: column; gap: 12px; padding-bottom: 44px; }
.path__item:last-child { padding-bottom: 0; }
.path__icon {
  position: absolute; left: -49px; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-900); color: var(--green-300);
  display: flex; align-items: center; justify-content: center;
}
.path__icon svg { width: 18px; height: 18px; }
.path__title { font-size: clamp(22px, 2.6vw, 26px); font-weight: 700; }
.path__claim { font-size: clamp(18px, 2vw, 20px); font-style: italic; color: var(--green-900); }
.path__text { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 760px; }
.wants__label { font-family: var(--font-sans); font-size: 13px; font-weight: 700; color: var(--green-600); margin-top: 4px; }
.wants { display: grid; grid-template-columns: 1fr; gap: 4px 32px; margin-top: -6px; font-size: 16px; line-height: 1.5; color: var(--ink-soft); max-width: 900px; }
.goal { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; font-size: 17px; }
.goal__label { font-family: var(--font-sans); font-size: 13px; font-weight: 700; color: var(--green-600); white-space: nowrap; }
.goal__text { font-weight: 600; color: var(--green-900); }
@media (min-width: 720px) {
  .path { padding-left: 44px; margin-left: 20px; }
  .path__icon { left: -66px; width: 40px; height: 40px; }
  .path__icon svg { width: 20px; height: 20px; }
  .wants { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goal { flex-direction: row; align-items: baseline; gap: 12px; }
}

/* Jak chceme Rouské vést */
.principles { background: var(--green-900); color: #fff; padding-block: 56px 64px; }
.principles .wrap { display: flex; flex-direction: column; gap: 36px; }
.principles h2 { color: #fff; }
.principles .section-head p { color: var(--sand); }
.principles__lead { font-family: var(--font-sans); font-size: 15px; font-weight: 700; color: var(--green-300); margin-top: -12px; }
.principles__grid { display: grid; grid-template-columns: 1fr; gap: 28px 40px; }
.principle { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--green-600); padding-top: 16px; }
.principle__word { font-family: var(--font-sans); font-size: 24px; font-weight: 800; color: var(--green-300); }
.principle p { font-size: 17px; line-height: 1.5; color: var(--sand); }
@media (min-width: 600px) { .principles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .principles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Představujeme si Rouské, kde… */
.picture { padding-block: 56px 48px; position: relative; overflow: hidden; }
.picture .wrap { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; position: relative; }
.picture h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1.1; }
.picture__head { display: flex; flex-direction: column; gap: 14px; }
.picture__lead { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; font-style: italic; color: var(--green-600); }
.picture__body { display: flex; flex-direction: column; gap: 24px; }
.picture__text { font-size: 19px; line-height: 1.7; color: var(--ink-soft); max-width: 720px; }
.picture__closing-text { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; font-style: italic; color: var(--green-900); max-width: 680px; padding-left: 22px; border-left: 3px solid var(--gold); }
.picture__leaf { position: absolute; right: -110px; bottom: -170px; width: 420px; height: auto; opacity: 0.07; pointer-events: none; }
@media (min-width: 900px) {
  .picture .wrap { grid-template-columns: 380px 1fr; gap: 64px; }
}

/* Jak nám dát hlas */
.vote { padding-block: 24px 56px; }
.vote .wrap { display: flex; flex-direction: column; gap: 28px; }
.vote__ways { display: grid; grid-template-columns: 1fr; gap: 20px; }
.way {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border-radius: 16px; padding: 20px;
  box-shadow: 0 10px 30px rgba(31, 77, 58, 0.08);
}
.way svg { width: 100%; height: auto; display: block; }
.way h3 { font-size: 18px; font-weight: 700; }
.way p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.vote__note { font-size: 15px; line-height: 1.5; color: var(--green-600); font-style: italic; }
.vote__when {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px;
  background: var(--green-900); border-radius: 16px; padding: 24px 28px; color: #fff;
}
.vote__when .script { font-size: 34px; }
.when { font-family: var(--font-sans); }
.when__label { font-size: 13px; font-weight: 600; color: var(--green-300); }
.when__value { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 800px) { .vote__ways { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

/* Patička */
.site-footer { padding-block: 28px 48px; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 36px;
  border-top: 1px solid rgba(31, 77, 58, 0.2); padding-top: 28px;
}
.site-footer img { height: 64px; width: auto; mix-blend-mode: multiply; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 10px 32px; font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--green-900); }
.site-footer__note { width: 100%; font-family: var(--font-sans); font-size: 13px; color: var(--green-600); }

/* Podstránka: slovo lídra */
.essay-head { background: var(--sand); padding-block: 32px 40px; position: relative; overflow: hidden; }
.essay-head__leaf { position: absolute; right: -120px; bottom: -200px; width: 460px; height: auto; opacity: 0.08; pointer-events: none; }
.essay-head .wrap { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; position: relative; }
.essay-head__portrait { width: min(240px, 60vw); aspect-ratio: 13 / 16; border-radius: 20px; border: 6px solid var(--paper); }
.essay-head__text { display: flex; flex-direction: column; gap: 12px; }
.essay-head__back { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--green-600); }
.essay-head .script { font-size: clamp(28px, 3.5vw, 36px); }
.essay-head h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.02; letter-spacing: -0.015em; }
.essay-head__sub { font-size: clamp(18px, 2.2vw, 22px); font-style: italic; color: var(--green-600); }
.essay-head__facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 10px 0 0; }
.essay-head__facts div { display: flex; flex-direction: column; gap: 2px; }
.essay-head__facts dt { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-600); }
.essay-head__facts dd { margin: 0; font-family: var(--font-sans); font-size: 17px; font-weight: 700; color: var(--green-900); }
@media (min-width: 720px) {
  .essay-head { padding-block: 40px 48px; }
  .essay-head .wrap { flex-direction: row; align-items: flex-end; gap: 56px; }
  .essay-head__portrait { width: 280px; }
}

.essay { padding-block: 48px 64px; }
.essay .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.essay__toc { display: none; }
.essay__body { display: flex; flex-direction: column; gap: 40px; max-width: 720px; }
@media (min-width: 1000px) {
  .essay .wrap { grid-template-columns: 220px minmax(0, 720px); gap: 72px; }
  .essay__toc { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 24px; border-top: 2px solid var(--green-600); padding-top: 16px; }
  .essay__toc-title { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-600); margin-bottom: 4px; }
  .essay__toc a { font-family: var(--font-sans); font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--green-900); }
  .essay__toc a:hover { color: var(--green-600); }
}

.essay-section { display: flex; flex-direction: column; gap: 18px; }
.essay-section h2 { font-size: clamp(24px, 2.8vw, 28px); font-weight: 700; line-height: 1.2; }
.essay-section p { font-size: 19px; line-height: 1.7; color: var(--ink-soft); }
.essay__lead { font-size: clamp(20px, 2.4vw, 23px) !important; line-height: 1.6 !important; color: var(--green-900) !important; }
.essay__lead::first-letter { font-family: var(--font-sans); font-weight: 800; font-size: 3.1em; line-height: 0.8; float: left; padding: 6px 10px 0 0; color: var(--green-600); }

.pullquote--big { position: relative; border-left: 0; padding: 12px 0 0 0; margin: 12px 0 4px; }
.pullquote--big::before { content: '\201C'; position: absolute; left: -6px; top: -34px; font-family: var(--font-sans); font-size: 110px; font-weight: 800; line-height: 1; color: var(--gold); opacity: 0.9; }
.pullquote--big p { font-size: clamp(24px, 3vw, 30px) !important; line-height: 1.35 !important; font-style: italic; color: var(--green-900) !important; margin: 0; padding-left: 44px; }

.promises { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: 1fr; gap: 12px 28px; }
.promises li { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; line-height: 1.5; color: var(--ink-soft); }
.promises .mark { flex: none; width: 24px; height: 24px; margin-top: 2px; }
@media (min-width: 640px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.essay-box { background: var(--sand); border-radius: 20px; padding: 28px 24px; }
.essay-box h2 { margin-bottom: 4px; }
.wishes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 10px 28px; }
.wishes li { position: relative; padding-left: 26px; font-size: 18px; line-height: 1.5; color: var(--ink-soft); }
.wishes li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--green-300); }
@media (min-width: 640px) { .essay-box { padding: 36px 40px; } .wishes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.essay-close { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgba(31, 77, 58, 0.2); padding-top: 32px; }
.essay-close p { font-size: 19px; line-height: 1.7; color: var(--ink-soft); }
.essay__motto { font-family: var(--font-sans); font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; color: var(--green-900) !important; margin-top: 6px; }
.essay__sign { font-size: 44px; margin-top: 10px; color: var(--gold) !important; }
.essay-close .btn-row { margin-top: 18px; }

/* Rozbalovací priority ve vizi */
.priorities { margin-top: 4px; }
.priorities > summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  min-height: 44px; padding: 0 14px; border: 1.5px solid rgba(31, 77, 58, 0.35); border-radius: 999px;
  font-size: 14px; color: var(--green-900); background: rgba(255, 255, 255, 0.5);
}
.priorities > summary::-webkit-details-marker { display: none; }
.priorities > summary::after {
  content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.15s ease;
}
.priorities[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.priorities > summary:hover { background: #fff; }
.priorities > summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.priorities__count { font-weight: 600; color: var(--green-600); }
.priorities .wants { margin-top: 14px; }
@media (min-width: 900px) {
  .priorities > summary { border: 0; padding: 0; min-height: 0; background: none; cursor: default; pointer-events: none; }
  .priorities > summary::after, .priorities__count { display: none; }
  .priorities .wants { margin-top: 6px; }
}
.vision__pdf { align-self: flex-start; margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .priorities > summary::after { transition: none; } }

/* Stránka 404 */
.notfound { padding-block: 64px 96px; }
.notfound .wrap { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-inline: 0; }
.notfound .script { font-size: clamp(28px, 3.5vw, 36px); }
.notfound h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; line-height: 1.05; }
.notfound p { font-size: 19px; line-height: 1.6; color: var(--ink-soft); max-width: 600px; }
.notfound .btn-row { margin-top: 12px; }

/* Stránka Ochrana osobních údajů */
.legal-head { padding-block: 32px 40px; }
.legal { padding-block: 40px 64px; }
.legal__body { display: flex; flex-direction: column; gap: 32px; max-width: 720px; }
.legal__summary { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.55; color: var(--green-900); padding: 20px 24px; background: var(--sand-100); border-radius: 16px; }
.legal__section { display: flex; flex-direction: column; gap: 12px; }
.legal__section h2 { font-size: clamp(22px, 2.6vw, 26px); font-weight: 700; }
.legal__section p, .legal__list { font-size: 18px; line-height: 1.65; color: var(--ink-soft); }
.legal__list { padding-left: 22px; }
.legal__list li { margin-bottom: 6px; }
.legal__todo { background: #FBE9C8; padding: 0 6px; border-radius: 4px; }
.legal__updated { font-family: var(--font-sans); font-size: 14px; color: var(--green-600); }
.site-footer__note a { color: var(--green-600); text-decoration: underline; text-underline-offset: 3px; }

/* Kontakt */
.contact { background: var(--sand); padding-block: 56px 64px; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.contact__intro { display: flex; flex-direction: column; gap: 14px; }
.contact__intro h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1.1; }
.contact__intro p { font-size: 18px; line-height: 1.55; color: var(--ink-muted); max-width: 460px; }
.contact__mail { font-family: var(--font-sans); font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: var(--green-900); text-decoration: underline; text-decoration-color: var(--green-300); text-decoration-thickness: 3px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact__form { display: flex; flex-direction: column; gap: 16px; background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 10px 30px rgba(31, 77, 58, 0.08); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--green-900); }
.field input, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--paper);
  border: 1.5px solid rgba(31, 77, 58, 0.3); border-radius: 12px; padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--green-900); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__note { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.contact__note a { color: var(--green-900); text-decoration: underline; text-underline-offset: 2px; }
.contact__form .btn { align-self: flex-start; border: 0; cursor: pointer; }
@media (min-width: 900px) {
  .contact .wrap { grid-template-columns: 380px minmax(0, 1fr); gap: 64px; }
  .contact__form { padding: 32px; }
}
.site-footer__mail { width: 100%; font-family: var(--font-sans); font-size: 15px; font-weight: 600; }
.site-footer__mail a { color: var(--green-900); }

/* Nadpis vize: rok 2026 a pod ním blednoucí roky 27–34 */
.vision__head { position: relative; width: fit-content; max-width: 100%; }
.vision__year { position: relative; display: inline-block; }
.vision__years {
  position: absolute; top: 100%; right: 0; margin: 6px 0 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; align-items: flex-end;
  font-family: var(--font-sans); font-weight: 800; font-size: 0.56em; line-height: 1.12; letter-spacing: 0; color: var(--green-600);
}
.vision__years li { margin: 0; }
.vision__years li:first-child { color: var(--green-900); }
.vision__head-rest { contain: inline-size; padding-right: 0; font-size: clamp(28px, 7.6vw, 52px); }
.vision__head-rest > * { font-size: initial; }
.vision__head-rest .vision__sub { font-size: clamp(19px, 2.4vw, 26px); margin-top: 10px; }
@media (min-width: 900px) { .vision__head-rest { font-size: clamp(34px, 3.7vw, 52px); } }

/* Vize lídra – Moje představa Rouského */
.vision-card {
  position: relative; overflow: hidden;
  background: var(--green-900); color: var(--sand);
  border-radius: 24px; padding: 32px 24px 36px; gap: 0 !important;
}
.vision-card::after {
  content: ''; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 320px; pointer-events: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 520'%3E%3Cpath d='M60 500 C40 300 120 120 340 20 C360 240 280 420 60 500 Z' fill='%23A7C957' fill-opacity='0.08'/%3E%3C/svg%3E");
}
.essay-section .vision-card__kicker { font-size: clamp(30px, 3.6vw, 36px); line-height: 1.1; color: var(--gold); margin: 0 0 10px; }
.essay-section .vision-card__lead, .vision-card__lead {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em;
  color: #fff; margin: 0 0 28px; max-width: 18ch;
}
.vision-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.vision-list li {
  display: flex; align-items: flex-start; gap: 14px; margin: 0;
  padding: 14px 0; border-top: 1px solid rgba(231, 225, 207, 0.18);
}
.vision-list li:last-child { border-bottom: 1px solid rgba(231, 225, 207, 0.18); }
.vision-list__leaf { flex: none; width: 24px; height: 24px; margin-top: 3px; }
.essay-section .vision-list span, .vision-list span { font-size: 19px; line-height: 1.5; color: var(--sand); }
.essay-section .vision-card__peak, .vision-card__peak {
  position: relative; z-index: 1; margin: 28px 0 0; padding-left: 20px; border-left: 3px solid var(--gold);
  font-size: clamp(21px, 2.6vw, 26px); line-height: 1.4; font-style: italic; color: #fff;
}
.vision-card__peak strong { color: var(--green-300); font-weight: 600; }
@media (min-width: 640px) { .vision-card { padding: 44px 48px 48px; } }

/* Poděkování po volbách */
.thanks { background: var(--sand); padding-block: 32px 40px; }
.thanks__card {
  position: relative; max-width: 820px; margin-inline: auto;
  background: #fff; border-radius: 24px; padding: 32px 24px 28px;
  box-shadow: 0 14px 40px rgba(31, 77, 58, 0.10);
  display: flex; flex-direction: column; gap: 14px;
}
.thanks__card p { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.thanks__title { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 6px; }
.thanks__card .thanks__result {
  font-family: var(--font-sans); font-size: clamp(20px, 2.4vw, 24px); font-weight: 600; line-height: 1.4; color: var(--green-900);
  background: var(--sand-100); border-left: 4px solid var(--green-300); border-radius: 0 12px 12px 0; padding: 14px 18px; margin-block: 4px;
}
.thanks__result strong { font-weight: 800; color: var(--green-900); }
.thanks__card .thanks__home { font-size: clamp(20px, 2.3vw, 23px); font-style: italic; color: var(--green-900); }
.thanks__card .thanks__sign { font-size: 34px; color: var(--gold); margin-top: 4px; }
@media (min-width: 720px) { .thanks { padding-block: 48px 56px; } .thanks__card { padding: 48px 56px 40px; } }

/* Lišta archivní verze */
.archive-bar { background: var(--gold); color: var(--green-900); font-family: var(--font-sans); font-size: 14px; }
.archive-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-block: 10px; }
.archive-bar p { margin: 0; }
.archive-bar a { font-weight: 700; color: var(--green-900); text-decoration: underline; text-underline-offset: 3px; }

/* Oznámení pod poděkováním */
.thanks .wrap { display: flex; flex-direction: column; gap: 24px; }
.notice { border-top: 6px solid var(--gold); }
.thanks__card .notice__kicker { font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-600); }
.notice__title { font-size: clamp(24px, 3vw, 30px); font-weight: 700; line-height: 1.2; margin-bottom: 2px; }
.notice__sign { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.notice__sign img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sand); }
.thanks__card .notice__name { font-size: 30px; color: var(--gold); line-height: 1; }
.thanks__card .notice__role { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--green-600); margin-top: 4px; }
