/* Topland Brd – sdílené styly webu
   Motiv topografické mapy s vrstevnicemi. Bez frameworku, bez build kroku. */

:root {
  /* Barvy */
  --green: #2E5E3E;          /* hlavní akcent */
  --green-dark: #183322;     /* tmavé pásy, patička */
  --green-deep: #122819;     /* patička pod tmavým pásem */
  --bg: #EFF1EA;             /* podklad */
  --yellow: #E5B53A;
  --text: #17241B;
  --text-muted: #3D4D42;
  --text-subtle: #4B5B50;
  --surface: #FFFFFF;
  --sage: #DCE5D3;
  --line: #CBD3C5;
  --card-border: #D5DCCF;
  --chip-border: #B9C4B1;
  --dashed: #8FA08A;
  --contour: #BFC9B8;
  --on-dark: #EFF1EA;
  --on-dark-muted: #B5C6B4;
  --on-dark-soft: #C9D6C6;
  --on-dark-line: #2E4A38;
  --on-dark-contour: #2C4A36;

  /* Písma */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Rozměry */
  --maxw: 1200px;
  --gutter: 24px;
  --radius: 6px;
  --section-y: clamp(56px, 7vw, 96px);
}

@media (max-width: 480px) {
  :root { --gutter: 20px; }
}

/* ---------- Základ ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

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

h1, h2, h3, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--green); }
a:hover { color: var(--green-dark); }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

address { font-style: normal; }

[id] { scroll-margin-top: 24px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #FFFFFF; }

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

/* Zástupné údaje, které je potřeba doplnit */
.placeholder {
  padding: 0 4px;
  border-radius: 3px;
  background: rgba(229, 181, 58, 0.35);
  outline: 1px dashed currentColor;
  font-family: var(--font-mono);
  font-size: 0.92em;
}

/* ---------- Typografie ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow--muted { color: var(--text-subtle); }
.eyebrow--yellow { color: var(--yellow); }
.eyebrow--on-dark { color: var(--on-dark-muted); font-size: 12.5px; font-weight: 400; }

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.mono-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-subtle);
}

.h1, .h2, .h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
}
.h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}
.h1--hero {
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
}
.h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.h2--sm { font-size: clamp(30px, 3.2vw, 42px); }
.h3 {
  font-size: 21px;
  font-weight: 650;
  line-height: 1.2;
}

.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; }
.lead--muted { color: var(--text-muted); }
.text { font-size: 17px; line-height: 1.65; color: var(--text-muted); }
.text--lg { font-size: 18px; line-height: 1.6; }
.text-sm { font-size: 16px; line-height: 1.55; color: var(--text-muted); }

/* ---------- Tlačítka ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--sm { padding: 12px 20px; font-size: 16px; }
.btn--primary { background: var(--green); color: #FFFFFF; }
.btn--primary:hover { background: var(--green-dark); color: #FFFFFF; }
.btn--outline { border-color: var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: #FFFFFF; }
.btn--dark { background: var(--text); color: #FFFFFF; }
.btn--dark:hover { background: var(--green-dark); color: #FFFFFF; }
.btn--yellow { background: var(--yellow); color: var(--text); }
.btn--yellow:hover { background: #F0C85A; color: var(--text); }

.btn svg { flex: none; }

.link-arrow {
  display: inline-block;
  padding: 12px 0;
  font-size: 17px;
  font-weight: 600;
}

/* ---------- Hlavička ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand__name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  margin-left: auto;
}
.main-nav a {
  padding: 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.main-nav a:hover { color: var(--green); }

@media (max-width: 760px) {
  .site-header__inner { gap: 4px 12px; padding-block: 10px 4px; }
  .header-cta { margin-left: auto; padding: 10px 18px; font-size: 15px; }
  .main-nav {
    order: 3;
    flex: 1 1 100%;
    margin-left: -10px;
    gap: 0;
  }
  .main-nav a { padding: 12px 10px; font-size: 15.5px; }
}

/* ---------- Patička ---------- */

.site-footer { background: var(--green-dark); color: var(--on-dark); }
.site-footer--deep { background: var(--green-deep); }
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-block: 64px 32px;
}
.site-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
}
.site-footer__about { flex: 2 1 320px; display: flex; flex-direction: column; gap: 14px; }
.site-footer__contact {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.55;
}
.site-footer__nav { flex: 1 1 180px; display: flex; flex-direction: column; gap: 2px; font-size: 15.5px; }
.site-footer__nav .eyebrow { margin-bottom: 8px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--yellow); }
.site-footer__nav a { padding: 6px 0; text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__claim { max-width: 30em; font-size: 15.5px; line-height: 1.6; color: var(--on-dark-muted); }
.site-footer__brand { display: flex; align-items: center; gap: 10px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--on-dark-line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--on-dark-muted);
}
.site-footer .placeholder { color: var(--on-dark); }

/* ---------- Obecné bloky ---------- */

.section { padding-block: var(--section-y); }

.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-14 { gap: 14px; }
.gap-18 { gap: 18px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
}
.row--end { align-items: flex-end; }
.row--between { justify-content: space-between; }
.row--center { align-items: center; }
.row > * { min-width: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.obj-40 { object-position: center 40%; }
.obj-60 { object-position: center 60%; }
.label--green { color: var(--green); }
.max-14em { max-width: 14em; }
.max-36em { max-width: 36em; }

.ruled-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 16.5px;
  line-height: 1.45;
}
.ruled-list li:last-child { border-bottom: 1px solid var(--line); }

.contour-divider {
  display: block;
  width: 100%;
  height: 72px;
}

.page-head { padding-block: clamp(48px, 6vw, 72px) clamp(32px, 4vw, 48px); }

/* Tři kroky „Jak se zapojit“ – žlutý pás */
.band-yellow { background: var(--yellow); color: var(--text); }
.cta-title { flex: 1 1 520px; font-size: clamp(32px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.03em; }
.band-yellow__inner { display: flex; flex-direction: column; gap: 40px; padding-block: clamp(64px, 7vw, 88px); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 32px;
}
.band-yellow__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.band-yellow__photo { flex: 0 1 420px; min-width: 0; width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); }
.step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 2px solid var(--text);
}
.step h3 { font-family: var(--font-display); font-size: 22px; font-weight: 650; }
.step p { font-size: 16.5px; line-height: 1.55; }

/* ---------- Domů ---------- */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 48px;
  padding-block: clamp(48px, 6vw, 72px) 48px;
}
.hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero__figure { flex: 1 1 500px; min-width: 0; position: relative; }
.hero__figure img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius); }
.hero__figure figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 3px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 12.5px;
}
@media (max-width: 760px) {
  .hero__figure img { height: 300px; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  padding-block: 32px 24px;
}
.stat { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 2px solid var(--text); }
.stat__num { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.stat__label { font-size: 15.5px; line-height: 1.45; color: var(--text-muted); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 64px; }
.section-head > * { flex: 1 1 420px; min-width: 0; }
.section-head--split { justify-content: space-between; gap: 16px 32px; }
.section-head--split > * { flex: 0 1 auto; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 20px;
}
.feature { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; }
.feature .icon { color: var(--green); }

.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 24px;
}
.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.project-card:hover { color: var(--text); border-color: var(--green); transform: translateY(-2px); }
.project-card:hover h3 { color: var(--green); }
.project-card__media { width: 100%; height: 230px; object-fit: cover; background: var(--sage); }
.project-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 26px; }
.project-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-subtle);
}
.project-card h3 { font-family: var(--font-display); font-size: 25px; font-weight: 650; line-height: 1.15; }
@media (prefers-reduced-motion: reduce) {
  .project-card, .project-card:hover { transition: none; transform: none; }
}

.quote-band {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  color: var(--on-dark);
}
.quote-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.quote-band__inner {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  padding: clamp(72px, 9vw, 112px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.quote-band blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.3vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.quote-band__source { font-family: var(--font-mono); font-size: 14px; color: var(--on-dark-muted); }

.news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 32px;
}
.news-item { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--text); }
.news-item__meta { font-family: var(--font-mono); font-size: 13.5px; color: var(--text-subtle); }
.news-item h3 { font-family: var(--font-display); font-size: 23px; font-weight: 650; line-height: 1.2; }
.news-item a { padding: 8px 0; font-size: 16px; font-weight: 600; align-self: flex-start; }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.split__media { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.split__media img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.split__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 760px) {
  .split__media img { height: 280px; }
}

.supporters { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding-block: 64px; }
.supporters__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.supporters__logos { flex: 1 1 480px; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.supporters__logos img { width: auto; height: 52px; }
.supporters__logos img.logo-leader { height: 56px; }
.supporters__logos img.logo-tall { height: 68px; }

/* ---------- Projekty ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 16px;
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text);
  text-decoration: none;
}
.chip:hover { border-color: var(--green); background: var(--surface); color: var(--green); }

.projects { padding-block: 32px 64px; }

.project {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  padding-block: 56px 80px;
  border-top: 2px solid var(--text);
}
.project:last-child { padding-bottom: 24px; }
.project__meta { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.project__num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--green);
}
.project__facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 16px 32px;
  font-size: 15.5px;
  line-height: 1.5;
}
.project__body { flex: 3 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.project__body .h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; }
.project__body h3 { font-family: var(--font-display); font-size: 24px; font-weight: 650; margin-top: 16px; }
@media (max-width: 760px) {
  .project { padding-block: 40px 56px; }
  .project__num { font-size: 56px; }
}

.figure { display: flex; flex-direction: column; gap: 10px; }
.figure--map img { width: 100%; border: 1px solid var(--card-border); border-radius: var(--radius); }

.sections-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  column-gap: 32px;
}
.sections-list li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.sections-list__num { flex: 0 0 28px; padding-top: 2px; font-family: var(--font-mono); font-size: 13px; color: var(--green); }
.sections-list__text { font-size: 15.5px; line-height: 1.45; }

.gallery { display: flex; flex-wrap: wrap; gap: 16px; }
.gallery > * { flex: 1 1 300px; min-width: 0; }
.gallery--3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
}
.gallery--portrait { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery.gallery--portrait img { height: auto; aspect-ratio: 2 / 3; }
.obj-30 { object-position: center 30%; }

.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.panel { display: flex; flex-direction: column; gap: 10px; }
.panel__media {
  display: block;
  padding: 16px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--surface);
}
.panel__media:hover { border-color: var(--green); }
.panel__media img { width: 100%; height: 280px; object-fit: contain; }
.panel figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 15.5px; }
.panel figcaption a { font-weight: 600; }
.gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); }
.gallery--3 img { height: 240px; }
.gallery figure { display: flex; flex-direction: column; gap: 8px; }

.media-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 40px; }
.media-row > * { min-width: 0; }
.media-row__text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.media-row__text--wide { flex: 2 1 360px; gap: 18px; }
.media-row__text--wider { flex: 3 1 340px; gap: 18px; }
.media-row__img { flex: 1 1 300px; width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); }
.media-row__img--tall { flex: 1 1 220px; height: 340px; }
.media-row__figure { flex: 2 1 240px; display: flex; flex-direction: column; gap: 8px; }
.media-row__figure img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); }
.project__body--row { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 24px 40px; }
.h2--xs { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -0.02em; }

.essay-quote { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.35; padding-top: 4px; }
.essay-quote--sm { font-size: 20px; line-height: 1.4; padding-top: 0; }

.toc-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 16.5px;
}
.toc-list li:last-child { border-bottom: 1px solid var(--line); }
.toc-list span { font-family: var(--font-mono); font-size: 13px; color: var(--text-subtle); }

.info-box { display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.info-box h3 { margin-top: 0; font-size: 22px; }
.pros-cons { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.pros-cons > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.pros-cons p:not(.label) { font-size: 15.5px; line-height: 1.55; }
@media (max-width: 480px) {
  .info-box { padding: 22px 20px; }
}

.illustration { display: block; width: 100%; height: 260px; border-radius: var(--radius); background: var(--sage); }

.invite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  padding: 24px 28px;
}
.invite__text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.invite__text p:last-child { font-size: 16.5px; line-height: 1.55; }
@media (max-width: 480px) {
  .invite { padding: 22px 20px; }
  .invite .btn { white-space: normal; }
}

/* ---------- O nás ---------- */

.banner img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) {
  .banner img { height: 240px; }
}

.text-block { display: flex; flex-wrap: wrap; gap: 24px 64px; padding-block: clamp(56px, 7vw, 80px); }
.text-block > h2 { flex: 1 1 280px; min-width: 0; }
.text-block__body { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.band-white { background: var(--surface); border-block: 1px solid var(--card-border); }
.band-white__inner { display: flex; flex-direction: column; gap: 40px; padding-block: clamp(56px, 7vw, 80px); }

.goals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  column-gap: 48px;
}
.goals li { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.goals__num { flex: 0 0 34px; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--green); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 9px 16px; border-radius: 999px; background: var(--sage); font-size: 15px; }

.team-section { display: flex; flex-direction: column; gap: 36px; padding-bottom: clamp(64px, 7vw, 88px); }
.team-section__head { padding-top: 40px; border-top: 2px solid var(--text); }
.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}
.person { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.person__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--green-dark);
}
.person h3 { font-family: var(--font-display); font-size: 20px; font-weight: 650; }
.person p,
.person__text { font-size: 15.5px; line-height: 1.5; color: var(--text-muted); }
.person--join {
  justify-content: center;
  gap: 8px;
  border: 1.5px dashed var(--dashed);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
}
.person--join:hover { color: var(--text); border-color: var(--green); background: var(--surface); }
.person--join .more { font-size: 15.5px; font-weight: 600; color: var(--green); }

.band-dark { background: var(--green-dark); color: var(--on-dark); }
.statutes { display: flex; flex-wrap: wrap; gap: 32px 64px; padding-block: clamp(56px, 7vw, 80px); }
.statutes__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.statutes__intro > p:not(.eyebrow) { font-size: 17px; line-height: 1.6; color: var(--on-dark-soft); }
.statutes__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.statutes__pdf { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; font-size: 16px; font-weight: 600; }
.statutes a.statutes__pdf { color: var(--on-dark); }
.statutes a.statutes__pdf:hover { color: var(--yellow); }
.site-footer a[aria-current="page"],
.statutes__pdf { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.statutes__list { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.statutes__list li { padding: 16px 0; border-top: 1px solid var(--on-dark-line); font-size: 16.5px; line-height: 1.5; }
.statutes__list li:last-child { border-bottom: 1px solid var(--on-dark-line); }
.statutes .placeholder { color: var(--on-dark); }

/* ---------- Stanovy ---------- */

.back-link { align-self: flex-start; padding: 6px 0; font-size: 15.5px; font-weight: 600; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

.statutes-doc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding-bottom: var(--section-y);
}
.statutes-doc__toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 10px; }
.statutes-doc__toc ol { border-top: 2px solid var(--text); }
.statutes-doc__toc a {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}
.statutes-doc__toc a:hover { color: var(--green); }
.statutes-doc__toc a span { flex: 0 0 38px; font-family: var(--font-mono); font-size: 12.5px; color: var(--green); padding-top: 1px; }
.statutes-doc__body { max-width: 46em; }

.article-block { padding-block: 32px 36px; border-top: 1px solid var(--line); }
.article-block:first-child { border-top: 2px solid var(--text); }
.article-block > * + * { margin-top: 14px; }
.article-block h2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.2vw, 28px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.article-block__num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.article-block h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 650;
}
.article-block__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 700;
}
.article-block p,
.article-block li { font-size: 17px; line-height: 1.65; color: var(--text-muted); }
.article-block .lead-in { color: var(--text); font-weight: 600; }
.article-block ul { display: flex; flex-direction: column; gap: 8px; }
.article-block li { position: relative; padding-left: 26px; }
.article-block li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.8em;
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: var(--green);
}

@media (max-width: 900px) {
  .statutes-doc { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .statutes-doc__toc { position: static; }
}

@media print {
  @page { size: A4; margin: 18mm 18mm 20mm; }
  .site-header, .site-footer, .skip-link, .no-print { display: none !important; }
  body { background: #FFFFFF; }
  .wrap { max-width: none; padding-inline: 0; }
  .page-head { padding-block: 0 24px; }
  .h1 { font-size: 30px; }
  .statutes-doc { display: block; padding-bottom: 0; }
  .statutes-doc__body { max-width: none; }
  .article-block { padding-block: 18px 20px; }
  .article-block h2 { margin-bottom: 12px; font-size: 19px; break-inside: avoid; break-after: avoid; }
  .article-block h3 { margin-top: 20px; font-size: 16px; break-inside: avoid; break-after: avoid; }
  .article-block .lead-in { break-after: avoid; }
  .article-block p,
  .article-block li { font-size: 11pt; line-height: 1.5; color: var(--text); }
  .article-block li { break-inside: avoid; }
  .print-only { display: block !important; }
}
.print-only { display: none; }

/* ---------- Kontakt ---------- */

.contact-grid { display: flex; flex-wrap: wrap; gap: 24px; padding-bottom: clamp(64px, 7vw, 88px); }
.contact-card { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 32px; padding: 36px; }
.contact-card .btn { align-self: flex-start; }
.contact-email {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.contact-address { font-size: 19px; line-height: 1.5; }
.org-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
@media (max-width: 480px) {
  .contact-card { padding: 28px 22px; }
}

.map-card {
  flex: 1 1 420px;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sage);
}
.map-card__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 20px;
  padding: 18px 20px;
  border-radius: 4px;
  background: var(--bg);
}
.map-card__bar strong { font-size: 16.5px; font-weight: 600; }
.map-card__bar a { padding: 10px 0; font-size: 16px; font-weight: 600; }
@media (max-width: 480px) {
  .map-card { min-height: 360px; }
  .map-card__bar { margin: 14px; }
}

/* ---------- Úpravy pro telefon ---------- */

@media (max-width: 760px) {
  /* Projekt: číslo a nadpis nahoře, pak údaje, pak text */
  .project { flex-direction: column; flex-wrap: nowrap; gap: 24px; }
  .project__meta,
  .project__body { display: contents; }
  .project__num,
  .project__meta > .eyebrow { order: 0; }
  .project__body > .h2 { order: 1; }
  .project__facts,
  .project__meta > .btn { order: 2; }
  .project__body > :not(.h2) { order: 3; }
  .project__meta > .btn { align-self: flex-start; }

  /* Rozcestník projektů jako vodorovně posuvný pás */
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; }

  .gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery--3 img { height: 150px; }
  .gallery--portrait { gap: 10px; }
  .panel__media img { height: 220px; }
  .band-yellow__photo { flex-basis: 100%; height: 220px; }
}

@media (max-width: 560px) {
  .person:not(.person--join) { flex-direction: row; align-items: center; gap: 16px; padding: 18px; }
  .person__initials { flex: none; width: 48px; height: 48px; font-size: 18px; }
  .person h3 { font-size: 18px; }
}
