/* Barlow a Barlow Semi Condensed (SIL Open Font License 1.1), staženo z Google Fonts 2026-10-25, vlastní hostování. */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonty/Barlow-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonty/Barlow-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonty/Barlow-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonty/Barlow-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonty/Barlow-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonty/Barlow-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonty/Barlow-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonty/Barlow-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonty/BarlowSemiCondensed-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonty/BarlowSemiCondensed-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonty/BarlowSemiCondensed-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonty/BarlowSemiCondensed-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonty/BarlowSemiCondensed-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonty/BarlowSemiCondensed-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Styl webu urbanplanner.cz: vzhled A2 (světlá, firemní barvy z context/20_styl_dokumentu.md) + podstránky. */
:root {
  --paper: #ffffff;
  --ink: #2c3e50;
  --muted: #5d6d7e;
  --navy: #1b4f72;
  --sky: #2e86c1;
  --link: #1f6aa0; /* text odkazů: 5,3 : 1 na bílé, --sky jen na ozdoby (WCAG 1.4.3) */
  --mist: #ebf5fb;
  --rule: #d6dee6;
  --band: #1b4f72;
  --band-ink: #ffffff;
  --band-soft: #d6eaf8;
  --band-rule: #3b6a8c;
  --dot: #8aa3b8; /* 3 : 1 proti bílé (WCAG 1.4.11) */
  --land: #ffffff; --land-other: #dfe9f1; --border-other: #b9cad8; --fi: #009846; --map-filter: none;
  --hx-blue: #4b6db2; --hx-red: #e31e24; --hx-green: #009846;
  --f-display: "Barlow Semi Condensed", "Barlow", "Arial Narrow", sans-serif;
  --f-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --wide: 76rem;
  --logo-filter: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1d29; --ink: #e2eaf1; --muted: #9fb1c1; --navy: #9cc8ea; --sky: #5dade2; --link: #5dade2;
    --mist: #162a3b; --rule: #273d50; --band: #0b3553; --band-ink: #ffffff; --band-soft: #bcdcf3;
    --band-rule: #24506f; --dot: #3a5368;
    --land: #1d3448; --land-other: #13263a; --border-other: #2a4359; --fi: #3ec27a; --map-filter: brightness(.72) saturate(.85);
    --logo-filter: brightness(0) invert(.92); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1d29; --ink: #e2eaf1; --muted: #9fb1c1; --navy: #9cc8ea; --sky: #5dade2; --link: #5dade2;
  --mist: #162a3b; --rule: #273d50; --band: #0b3553; --band-ink: #ffffff; --band-soft: #bcdcf3;
  --band-rule: #24506f; --dot: #3a5368;
  --land: #1d3448; --land-other: #13263a; --border-other: #2a4359; --fi: #3ec27a; --map-filter: brightness(.72) saturate(.85);
  --logo-filter: brightness(0) invert(.92); color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.55; }
a { color: var(--link); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--navy); text-wrap: balance; line-height: 1.12; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wide); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }


header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 1.1rem; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo .znak { height: 2.6rem; width: auto; }
.logo .text { height: 1.6rem; width: auto; filter: var(--logo-filter); }
nav.main { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; font-weight: 500; font-size: .98rem; }
nav.main a { color: var(--ink); text-decoration: none; padding-block: .25rem; border-bottom: 2px solid transparent; }
nav.main a:hover { border-bottom-color: var(--sky); }
nav.main .lang { color: var(--muted); }
.tri { display: block; width: 3.25rem; height: 4px; background: linear-gradient(90deg, var(--hx-blue) 0 33.3%, var(--hx-red) 33.3% 66.6%, var(--hx-green) 66.6%); }

/* Úvod: text vlevo, slideshow vpravo */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 2.5rem; align-items: start; padding-block: 1.5rem 3rem; }
.hero .copy { display: grid; gap: 1.1rem; min-width: 0; }
.eyebrow { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.hero h1 { font-family: var(--f-body); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 400; line-height: 1.5; color: var(--muted); }
/* Voština z motivu loga: dotváří prázdné místo pod textem, na mobilu se skryje. */
.hero .copy { align-self: stretch; display: flex; flex-direction: column; }
.honey { display: block; width: 100%; flex: 1 1 auto; min-height: 10rem; margin-top: 1.5rem; overflow: hidden; }
.honey polygon:not([fill]) { fill: none; stroke: var(--rule); stroke-width: 1.2; }
.honey .p1, .honey .p2, .honey .p3, .honey .p4, .honey .p5, .honey .p6 { animation: hx-pulse 9s ease-in-out infinite; }
.honey .p2 { animation-delay: -1.5s; } .honey .p3 { animation-delay: -3s; } .honey .p4 { animation-delay: -4.5s; }
.honey .p5 { animation-delay: -6s; } .honey .p6 { animation-delay: -7.5s; }
@keyframes hx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }

.slides { display: grid; gap: .8rem; min-width: 0; }
.slides .stage { position: relative; aspect-ratio: 3 / 2; max-width: 100%; overflow: hidden; background: var(--mist); }
.slides .snimek { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slides .snimek.on { opacity: 1; visibility: visible; }
.slides .snimek a { display: block; width: 100%; height: 100%; color: #fff; text-decoration: none; }
.slides .snimek img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slides .snimek figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1rem .8rem; color: #fff; font-size: .98rem; font-weight: 500; line-height: 1.3; background: linear-gradient(to top, rgba(15, 30, 45, .85), rgba(15, 30, 45, .55) 60%, rgba(15, 30, 45, 0)); text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.slides .snimek a:hover figcaption, .slides .snimek a:focus-visible figcaption { text-decoration: underline; }
.person a { color: inherit; text-decoration: none; }
.person h3 a:hover, .person h3 a:focus-visible { text-decoration: underline; }
.slides .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.slides .dots { display: flex; flex-wrap: wrap; gap: 0; }
.slides .dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slides .dots button::before { content: ""; width: .7rem; height: .7rem; background: var(--dot); }
.slides .dots button[aria-current="true"]::before { background: var(--sky); }
.slides .arrows { display: flex; gap: .4rem; }
.slides .arrows button { width: 2.2rem; height: 2.2rem; border: 1px solid var(--rule); background: var(--paper); color: var(--navy); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.slides .arrows button:hover { border-color: var(--sky); color: var(--sky); }

/* Mapa zakázek: podklad (Natural Earth), nad ním voština ČR (SVG z build.py) a zakázky jako tlačítka */
.mapa-sec { background: var(--mist); }
.mapa-sec .wrap { padding-block: 3rem; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 1.5rem 2.5rem; align-items: start; }
.mapa-sec .head { display: grid; gap: .9rem; align-content: start; }
.mapa-sec .sum { color: var(--muted); font-variant-numeric: tabular-nums; }
.mapa-sec .hint { color: var(--muted); font-size: .88rem; }
.legend { display: grid; gap: .45rem; font-size: .88rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend i { display: inline-block; width: .95rem; aspect-ratio: 1.1547; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: var(--hx-blue); }
.legend i.k { background: var(--hx-red); } .legend i.fi { background: var(--hx-green); }
.mapbox { position: relative; max-width: 100%; aspect-ratio: 677 / 465; }
/* Voština (rozhodl Stanislav 2026-10-28): nad podkladem, oříznutá po hranici ČR, zakázky barevné buňky loga, při najetí naplno */
.mapbox img.podklad { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: var(--map-filter); border: 1px solid var(--rule); }
.hexvrstva { position: absolute; inset: 0; pointer-events: none; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.mapbox img.hranice { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hexmapa { width: 100%; height: 100%; display: block; }
.hexmapa polygon { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 1.1; }
.pt { position: absolute; width: 2.07%; aspect-ratio: 1.1547; padding: 0; border: 0; background: none; cursor: pointer; transform: translate(-50%, -50%); transition: transform .15s; }
.pt::before { content: ""; position: absolute; inset: 0; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: var(--hx-blue); opacity: .45; transition: opacity .15s; }
.pt.kraj::before { background: var(--hx-red); } .pt.fi::before { background: var(--hx-green); }
.pt:hover, .pt:focus-visible, .pt[aria-expanded="true"] { transform: translate(-50%, -50%) scale(1.3); z-index: 2; }
.pt:hover::before, .pt:focus-visible::before, .pt[aria-expanded="true"]::before { opacity: 1; }
.pt .n { position: absolute; left: 60%; top: -.75rem; min-width: 1.05rem; padding: .14rem .28rem; border: 1px solid var(--paper); border-radius: .6rem; background: var(--navy); color: var(--paper); font: 700 .72rem/1 var(--f-body); text-align: center; pointer-events: none; }
.pt .n.dn { top: auto; bottom: -.75rem; }
.lbl { position: absolute; transform: translate(.6rem, -50%); font: 600 .74rem/1 var(--f-body); color: #1f3647; white-space: nowrap; pointer-events: none; text-shadow: 0 0 2px #f3f1ea, 0 0 3px #f3f1ea, 0 0 4px #f3f1ea; }
.lbl.l { transform: translate(calc(-100% - .6rem), -50%); }
.lbl.u { transform: translate(-50%, calc(-100% - .5rem)); }
.lbl.d { transform: translate(-50%, .55rem); }
.lbl.fi { font-weight: 500; font-size: .68rem; color: #3d5466; }
.pop { position: absolute; z-index: 5; width: min(20rem, 90%); background: var(--paper); color: var(--ink); border: 1px solid var(--rule); box-shadow: 0 6px 24px rgba(15, 40, 60, .18); padding: 1rem 1.1rem 1.1rem; display: grid; gap: .7rem; }
.pop h3 { font-size: 1.25rem; padding-right: 1.5rem; }
.pop .x { position: absolute; top: .4rem; right: .5rem; border: 0; background: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.pop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; max-height: 16rem; overflow-y: auto; }
.pop li { display: grid; gap: .2rem; padding-top: .6rem; border-top: 1px solid var(--rule); }
.pop li:first-child { border-top: 0; padding-top: 0; }
.pop li b { font-size: .98rem; color: var(--navy); }
.pop li small { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.pop li span { font-size: .9rem; }
.pop li img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: .2rem; }
.pop li a { font-weight: 600; font-size: .9rem; }
.pop .odk { display: flex; flex-wrap: wrap; gap: .15rem .9rem; }
@media (max-width: 560px) {
  .lbl.fi { display: none; }
  .lbl { font-size: .66rem; }
  .pop { position: static; width: auto; margin-top: .75rem; }
}

.social { display: flex; gap: .55rem; }
.social a { display: inline-grid; place-items: center; width: 2rem; height: 2rem; color: var(--muted); border: 1px solid var(--rule); }
.social a:hover { color: var(--sky); border-color: var(--sky); }
.social svg { width: 1rem; height: 1rem; fill: currentColor; }
.head-r { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; }

section.block { border-top: 1px solid var(--rule); }
section.block > .wrap { padding-block: 3.5rem; display: grid; gap: 2rem; }
.block h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 700; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.svc { display: grid; gap: .4rem; align-content: start; padding-top: .9rem; border-top: 3px solid var(--sky); }
.svc h3 { font-size: 1.3rem; }
.svc h3 a { color: inherit; text-decoration: none; }
.svc h3 a:hover { color: var(--sky); text-decoration: underline; }
.svc .ico { width: 2.6rem; height: 2.6rem; color: var(--sky); margin-bottom: .3rem; }
.svc .ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
.proj.skryta { display: none; }
.projects.rozbalene .proj.skryta { display: grid; }
.vice-projektu { display: table; text-decoration: none; margin: 2.25rem auto 0; padding: .7rem 1.6rem; border: 1px solid var(--navy); background: var(--paper); color: var(--navy); font: 600 1rem/1 var(--f-body); cursor: pointer; }
.vice-projektu:hover, .vice-projektu:focus-visible { background: var(--navy); color: var(--paper); }
.proj { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: .45rem; text-decoration: none; color: inherit; }
.proj .ph { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: var(--mist); margin-bottom: .35rem; }
.proj .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.proj:hover .ph img { transform: scale(1.03); }
.proj .ph.hex { display: grid; place-items: center; }
.proj .typ { position: absolute; top: .5rem; left: .5rem; z-index: 1; display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .5rem .25rem .35rem; background: var(--paper); color: var(--navy); font-size: .75rem; font-weight: 600; box-shadow: 0 1px 4px rgba(15, 40, 60, .2); }
.proj .typ svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: var(--sky); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.proj .ph.hex img { width: 4.5rem; height: auto; object-fit: contain; opacity: .55; }
.proj .meta { font-size: .8rem; color: var(--muted); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.proj h3 { font-size: 1.2rem; }
.proj:hover h3 { color: var(--link); }
.proj p { font-size: .95rem; color: var(--muted); }
.proj .vice { font-weight: 600; color: var(--link); font-size: .92rem; }
.novy { display: inline-block; margin-left: .4rem; padding: 0 .35rem; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); background: var(--link); vertical-align: .1em; }

/* Kontakt: tmavý pás jako v originálu */
.contact { background: var(--band); color: var(--band-ink); }
.contact .wrap { padding-block: 3.5rem; display: grid; gap: 2.5rem; }
.contact h2 { color: var(--band-ink); font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.contact .top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: start; }
.contact .firm { display: grid; gap: .25rem; color: var(--band-soft); }
.contact .firm b { color: var(--band-ink); font-size: 1.15rem; }
.contact .firm .small { font-size: .9rem; margin-top: .5rem; }
.contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; font-size: 1.05rem; }
.contact dt { color: var(--band-soft); }
.contact dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.contact a { color: var(--band-ink); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
.contact .top { border-top: 1px solid var(--band-rule); padding-top: 2rem; }
.person { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.person img { width: 6rem; height: 6rem; object-fit: cover; border-radius: 50%; }
.person h3 { color: var(--band-ink); font-size: 1.2rem; }
.person p { color: var(--band-soft); font-size: .95rem; margin-top: .35rem; }

footer .wrap { padding-block: 1.75rem 2.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .85rem; color: var(--muted); }
footer a { color: var(--muted); }

@media (max-width: 1000px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero .wrap, .contact .top, .people, .mapa-sec .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .copy { padding-bottom: 0; order: 2; }
  .honey { display: none; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .services, .projects { grid-template-columns: minmax(0, 1fr); }
  nav.main { font-size: .92rem; gap: .1rem 1rem; }
  .person { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .person img { width: 4.5rem; height: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .proj .ph img, .slides .snimek { transition: none; }
  .honey polygon { animation: none !important; }
}

/* ---- Podstránky (mimo návrh A2) ---- */
.skip { position: absolute; left: -999px; top: 0; z-index: 10; padding: .5rem .8rem; background: var(--paper); color: var(--navy); }
.skip:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
nav.main a[aria-current="page"] { border-bottom-color: var(--navy); }
nav.main a.lang { padding-inline: .1rem; }
.trix { padding-top: .2rem; }

.page > .wrap { padding-block: 1.5rem 4rem; display: grid; gap: 2rem; }
.prose { display: grid; gap: 1rem; font-size: 1.0625rem; }
.prose > * { margin: 0; }
.prose > :not(.projects):not(.firm-blok) { max-width: 46rem; }
.prose figure.obr { margin: 1.6rem 0 2rem; }
.prose figure.obr img { display: block; width: 100%; height: auto; background: var(--mist); }
.prose figure.obr figcaption { margin-top: .5rem; font-size: .9rem; color: var(--muted); }
.prose h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); font-weight: 700; margin-bottom: .4rem; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); font-weight: 700; margin-top: 1.6rem; scroll-margin-top: 1rem; }
.prose h3 { font-size: 1.3rem; margin-top: .8rem; }
.prose h4 { font-size: 1.1rem; margin-top: .6rem; }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: .35rem; }
.prose li::marker { color: var(--sky); }
.prose table { border-collapse: collapse; width: 100%; font-size: .98rem; }
.prose td, .prose th { text-align: left; padding: .5rem .75rem .5rem 0; border-top: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 600; color: var(--navy); }
.prose hr { border: 0; border-top: 1px solid var(--rule); width: 100%; }
.prose blockquote { margin: 0; padding-left: 1rem; border-left: 3px solid var(--sky); color: var(--muted); }
.prose code { font-size: .92em; background: var(--mist); padding: .05em .3em; }
.wide { max-width: none; }

.firm-blok { max-width: 34rem; display: grid; gap: .25rem; padding: 1.1rem 1.25rem; background: var(--mist); }
.firm-blok b { color: var(--navy); font-size: 1.1rem; }
.firm-blok dl { margin: .6rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.25rem; font-size: .98rem; }
.firm-blok dt { color: var(--muted); }
.firm-blok dd { margin: 0; font-variant-numeric: tabular-nums; }

/* Detail projektu */
.detail > .wrap { padding-block: 1.25rem 4rem; display: grid; gap: 2.25rem; }
.crumb { font-size: .95rem; }
.detail .titul { position: relative; aspect-ratio: 16 / 7; max-height: 28rem; width: 100%; overflow: hidden; background: var(--mist); }
.detail .titul img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail .titul.hex { display: grid; place-items: center; aspect-ratio: 16 / 5; }
.detail .titul.hex img { width: 6rem; height: auto; object-fit: contain; opacity: .5; }
.detail .cols { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 2.5rem 3.5rem; align-items: start; }
.detail h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; }
.detail .perex { font-size: 1.2rem; color: var(--muted); line-height: 1.5; }
.detail .tekst { display: grid; gap: 1rem; margin-top: 1.4rem; }
.detail .tekst p { margin: 0; }
.detail aside { display: grid; gap: 1.4rem; padding-top: .9rem; border-top: 3px solid var(--sky); }
.detail aside dl { margin: 0; display: grid; gap: .15rem; }
.detail aside dt { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: .7rem; }
.detail aside dt:first-child { margin-top: 0; }
.detail aside dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.chips a { display: inline-block; padding: .15rem .55rem; border: 1px solid var(--rule); color: var(--navy); font-size: .88rem; font-weight: 500; text-decoration: none; }
.chips a:hover { border-color: var(--sky); color: var(--sky); }
.odkazy { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.odkazy a { font-weight: 600; }
.detail .dalsi { display: grid; gap: 1.5rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.detail .dalsi h2 { font-size: 1.6rem; }
.detail .dalsi .projects, .page .projects.tri-sloupce { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.slu-cta { display: inline-block; margin-top: .6rem; }

footer { border-top: 1px solid var(--rule); }
footer .links { display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; }

@media (max-width: 1000px) {
  .detail .dalsi .projects, .page .projects.tri-sloupce { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .detail .cols { grid-template-columns: minmax(0, 1fr); }
  .detail .titul { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .detail .dalsi .projects, .page .projects.tri-sloupce { grid-template-columns: minmax(0, 1fr); }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; }
  .prose tr { padding-block: .5rem; border-top: 1px solid var(--rule); }
  .prose td { border: 0; padding: .1rem 0; }
  .prose thead { display: none; }
}

/* Tisk: jen obsah, bez navigace, slideru a mapy; u odkazů v textu se vypíše adresa. */
@media print {
  :root { --paper: #fff; --ink: #000; --muted: #333; --navy: #000; --link: #000; --mist: #fff; }
  header.site nav, .social, .slides, .mapa-sec, .skip, .crumb, #vice-projektu, footer .social { display: none !important; }
  body { font-size: 11pt; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }
  img, figure, .proj { break-inside: avoid; }
}
