/* ==========================================================================
   Zenwork — shared stylesheet (2026 rebuild)
   Hybrid world: Swiss/editorial skeleton + one cinematic moment (video hero).
   Accent: sage #516F4E only — one brand green across all three worlds.
   Light ground uses --sage / --sage-deep, dark ground uses --sage-light.
   ========================================================================== */

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

:root {
  /* --- ink & paper --- */
  --ink:        #16160F;
  --ink-2:      #23231A;
  --ink-soft:   #4E4E45;
  --ink-mute:   #6E6C60;
  --paper:      #FBF9F4;
  --paper-2:    #F3EFE5;
  --paper-3:    #EAE4D6;
  --line:       #E2DCCC;
  --line-dark:  rgba(255,255,255,0.14);

  /* --- accents --- */
  --sage:       #516F4E;   /* accent on paper                    */
  --sage-deep:  #3B5238;   /* pressed / hover on paper           */
  --sage-light: #7BA475;   /* accent on dark ground (6.4:1)      */
  --sage-tint:  rgba(81,111,78,0.06);
  --ground:     #1E2C1C;   /* tmavé sekce: zelená místo černé     */

  /* --- type --- */
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* --- rhythm (8pt) --- */
  --gap: 24px;
  --pad-x: clamp(20px, 5vw, 72px);
  --sec-y: clamp(72px, 11vh, 152px);
  --maxw: 1320px;
  --maxw-narrow: 780px;

  /* --- motion --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.9s;

  --radius: 3px;
  --shadow: 0 18px 50px rgba(35, 30, 15, 0.09);
  --shadow-sm: 0 6px 22px rgba(35, 30, 15, 0.07);
}

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(81,111,78,0.20); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
[hidden] { display: none !important; }

/* skip link — viditelný až při tabování */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--sage); color: #fff; padding: 12px 20px; border-radius: var(--radius);
  font-size: 14px; letter-spacing: .04em; transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ===== ambient bed: grain + vignette (default, no JS, no motion budget) ===== */
.grain, .vignette { position: fixed; inset: 0; pointer-events: none; z-index: 9998; }
.grain {
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vignette { box-shadow: inset 0 0 clamp(90px, 14vw, 220px) rgba(40, 34, 18, 0.055); }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-optical-sizing: auto;
}
/* vw AND vh in the clamp: a long headline must not outgrow a short viewport */
h1 { font-size: clamp(34px, min(5.2vw, 9.2vh), 76px); }
h2 { font-size: clamp(30px, 4.1vw, 60px); line-height: 1.08; }
h3 { font-size: clamp(21px, 2.1vw, 30px); line-height: 1.18; }
h4 { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.3; letter-spacing: 0; }
h1 em, h2 em, h3 em { font-style: normal; font-weight: 300; color: var(--sage); }

/* Hover na nadpisu podtrhne zvýrazněné slovo — čára se vykreslí zleva doprava.
   Jen na myši; na dotyku by se nikdy nespustila a jen by překážela.
   Pseudo-element, takže si nekoliduje s transformem, který na řádky píše GSAP. */
@media (hover: hover) and (pointer: fine) {
  h1 em, h2 em, h3 em { position: relative; display: inline-block; }
  h1 em::after, h2 em::after, h3 em::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -0.02em;
    height: 2px; background: currentColor; opacity: .5;
    transform: scaleX(0); transform-origin: left center;
    transition: transform .6s var(--ease);
  }
  h1:hover em::after, h2:hover em::after, h3:hover em::after,
  a:hover h2 em::after, a:hover h3 em::after { transform: scaleX(1); }

  /* panely hero mají vlastní choreografii, tam by čára jen přidávala hluk */
  .hsplit .hp h2 em::after { content: none; }
}
@media (prefers-reduced-motion: reduce) {
  h1 em::after, h2 em::after, h3 em::after { transition: none; }
}

p { max-width: 68ch; }
p + p { margin-top: 1.05em; }
strong { font-weight: 500; color: var(--ink); }

.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ''; display: inline-block;
  width: 26px; height: 1px; background: currentColor;
  vertical-align: middle; margin-right: 12px; transform: translateY(-1px);
}
.lede { font-size: clamp(18px, 1.65vw, 23px); line-height: 1.55; color: var(--ink-soft); font-weight: 300; }
.small { font-size: 14px; line-height: 1.6; color: var(--ink-mute); }
.note { font-size: 13px; color: var(--ink-mute); margin-top: 20px; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.narrow { max-width: var(--maxw-narrow); }
.section { padding: var(--sec-y) 0; position: relative; }
.section.tight { padding: clamp(52px, 7vh, 90px) 0; }
.section.paper-2 { background: var(--paper-2); }
.section.paper-3 { background: var(--paper-3); }

.section.dark { background: var(--ground); color: rgba(255,255,255,0.72); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark h1 em, .dark h2 em, .dark h3 em { color: var(--sage-light); }
.dark .eyebrow { color: var(--sage-light); }
.dark .lede { color: rgba(255,255,255,0.78); }
.dark .small, .dark .note { color: rgba(255,255,255,0.6); }
.dark strong { color: #fff; }

/* two-column editorial split: heading left, body right */
.split {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.split-even { grid-template-columns: 1fr 1fr; align-items: center; }
.split-tight { gap: clamp(28px, 3.5vw, 56px); }
.stack-lg > * + * { margin-top: 28px; }
.stack > * + * { margin-top: 16px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 400; letter-spacing: 0.13em; text-transform: uppercase;
  padding: 15px 30px; border: 1px solid var(--sage); color: #fff; background: var(--sage);
  border-radius: var(--radius);
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); transform: translateY(-2px); }
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn-ghost { background: transparent; color: var(--sage); }
.btn-ghost:hover { background: var(--sage); color: #fff; }

.dark .btn { background: var(--sage-light); border-color: var(--sage-light); color: var(--ink); }
.dark .btn:hover { background: #95BC8F; border-color: #95BC8F; }
.dark .btn-ghost { background: transparent; color: var(--sage-light); }
.dark .btn-ghost:hover { background: var(--sage-light); color: var(--ink); }

.link-more {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage);
  border-bottom: 1px solid rgba(81,111,78,0.32); padding-bottom: 4px;
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link-more:hover { border-color: var(--sage); gap: 16px; }
.dark .link-more { color: var(--sage-light); border-color: rgba(123,164,117,0.4); }
.dark .link-more:hover { border-color: var(--sage-light); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 36px; }

/* ==========================================================================
   NAV  (logo enlarged per client feedback)
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x); height: 116px;
  transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease);
}
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(10,10,6,0.55), rgba(10,10,6,0));
  opacity: 1; transition: opacity .4s var(--ease);
}
.nav.solid { height: 96px; background: rgba(251,249,244,0.86); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-bottom: 1px solid var(--line); }
.nav.solid::before { opacity: 0; }

.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 84px; width: auto; transition: height .4s var(--ease), filter .4s var(--ease); filter: brightness(0) invert(1); }
.nav.solid .nav-logo img { height: 72px; filter: none; }

.nav-right { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-links { display: flex; gap: clamp(14px, 1.8vw, 30px); list-style: none; }
.nav-links a {
  position: relative; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.82); transition: color .3s;
}
.nav.solid .nav-links a { color: var(--ink-soft); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: currentColor; transition: width .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: #fff; }
.nav.solid .nav-links a.active { color: var(--sage); }

.nav .btn { padding: 12px 22px; font-size: 11px; }
.nav:not(.solid) .btn { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.nav:not(.solid) .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 7px; height: 1.5px; width: 30px; background: #fff; transition: transform .4s var(--ease), opacity .3s; }
.nav.solid .burger span { background: var(--ink); }
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 29px; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 490; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad-x);
  transform: translateY(-100%); transition: transform .6s var(--ease);
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
/* Na ležato je výška 360–430 px a položky se nevejdou. Zmenšit a zarovnat nahoru,
   jinak první odkaz vyjede nad obrazovku a kontakty pod ni. */
@media (max-height: 560px) {
  .mobile-menu { justify-content: flex-start; padding-top: 84px; padding-bottom: 28px; }
  .mobile-menu a { font-size: clamp(21px, 5.2vh, 30px); padding: 5px 0; }
  .mobile-menu .mm-foot { margin-top: 20px; }
  .mobile-menu .mm-foot a { font-size: 14px; }
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-family: var(--display); font-size: clamp(30px, 8vw, 52px); color: #fff; padding: 10px 0; }
.mobile-menu a:hover { color: var(--sage-light); }
.mobile-menu .mm-foot { margin-top: 44px; font-size: 14px; color: rgba(255,255,255,0.6); }
.mobile-menu .mm-foot a { font-family: var(--body); font-size: 15px; display: block; padding: 4px 0; color: var(--sage-light); }

/* ==========================================================================
   REVEAL PRIMITIVES  (masked type + masked image)
   ========================================================================== */
/* The mask clips at the line box, but Playfair descenders (y, j, ů, ž) hang
   below it at line-height 1.06. Pad the clip area and pull it back with a
   matching negative margin, so nothing moves but the tails stay visible. */
.js .r-line { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.js .r-line > span { display: block; will-change: transform; }
.js .r-up { opacity: 0; }
.js .r-img { overflow: hidden; }
.js .r-img > img, .js .r-img > .r-img-inner { will-change: transform; }

/* ==========================================================================
   HERO — dělený hero s diagonálním řezem (úvodní stránka)
   Tři panely = tři hlavní části Zenworku, každý je odkaz.
   V klidu je všechno černobílé; barevný je vždy jen ten, na kterém stojíš.
   ========================================================================== */
.hsplit-wrap { position: relative; height: 100svh; min-height: 620px; background: var(--ink); overflow: hidden; }
.hsplit { display: flex; height: 100%; }

.hsplit .hp {
  --slant: 5.5vw;
  position: relative; flex: 1 1 0; min-width: 0;
  overflow: hidden; text-decoration: none;
  margin-left: calc(var(--slant) * -1);
  transition: flex-grow .75s var(--ease);
  clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
}
.hsplit .hp:first-child { margin-left: 0; clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%); }
.hsplit .hp:last-child  { clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%); }

.hsplit:hover .hp { flex-grow: .74; }
.hsplit .hp:hover, .hsplit .hp:focus-visible { flex-grow: 2; }

.hsplit .hp .bg {
  position: absolute; inset: -2% calc(var(--slant) * -1.6);
  background-size: cover; background-position: center;
  transform: scale(1.05);
  filter: grayscale(1) brightness(.5) contrast(1.05);
  transition: filter .7s var(--ease), transform 1s var(--ease);
}
/* barevný je vždy jen jeden */
.hsplit .hp:hover .bg, .hsplit .hp:focus-visible .bg { filter: grayscale(0) brightness(.88) contrast(1); transform: scale(1); }
.hsplit:hover .hp:not(:hover) .bg { filter: grayscale(1) brightness(.32) contrast(1.05); }
.hsplit .hp::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,6,.88) 0%, rgba(10,10,6,.12) 60%);
}

/* obsah musí zůstat uvnitř šikmého řezu, proto odsazení o šířku zkosení */
.hsplit .hp .hp-in {
  position: absolute; z-index: 3; bottom: clamp(30px, 5vh, 52px);
  left: calc(var(--slant) + 28px); right: calc(var(--slant) + 24px);
}
.hsplit .hp:first-child .hp-in { left: clamp(20px, 4vw, 56px); }
.hsplit .hp:last-child .hp-in { right: clamp(20px, 4vw, 56px); }

/* svislý štítek — čitelné i když je panel úzký.
   Visí pod číslem, ne u spodní hrany, aby se nekřížil s nadpisem panelu. */
.hsplit .hp .hp-vert {
  position: absolute; z-index: 3; left: calc(var(--slant) + 30px);
  top: clamp(132px, 17vh, 168px);
  writing-mode: vertical-rl;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.9);
  transition: opacity .4s;
}
.hsplit .hp:first-child .hp-vert { left: clamp(20px, 4vw, 56px); }
/* Nadpis leží nad prvním panelem — dokud svítí, jeho svislý štítek se schová.
   Jakmile začneš vybírat, nadpis mizí a štítek se vrací. */
.hsplit-wrap:not(:has(.hsplit .hp:hover)) .hp:first-child .hp-vert { opacity: 0; }
.hsplit .hp:hover .hp-vert, .hsplit .hp:focus-visible .hp-vert { opacity: 0; }

.hsplit .hp h2 { color: #fff; font-size: clamp(23px, 2.3vw, 38px); line-height: 1.05; }
.hsplit .hp h2 em { color: var(--sage-light); }
.hsplit .hp .hp-desc {
  color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.6;
  margin-top: 14px; max-width: 42ch;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s .08s var(--ease), transform .5s .08s var(--ease);
}
.hsplit .hp:hover .hp-desc, .hsplit .hp:focus-visible .hp-desc { opacity: 1; transform: none; }
.hsplit .hp .hp-go {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff;
  border-bottom: 1px solid var(--sage-light); padding-bottom: 5px;
}
.hsplit .hp .hp-go .arw { transition: transform .35s var(--ease); }
.hsplit .hp:hover .hp-go .arw { transform: translateX(5px); }

/* kroužek se šipkou = „tohle je klikací" i bez najetí */
.hsplit .hp .hp-dot {
  position: absolute; z-index: 4; top: clamp(126px, 16vh, 160px); right: calc(var(--slant) + 24px);
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.hsplit .hp:last-child .hp-dot { right: clamp(20px, 4vw, 56px); }
.hsplit .hp:hover .hp-dot, .hsplit .hp:focus-visible .hp-dot {
  background: var(--sage-light); border-color: var(--sage-light); color: var(--ink); transform: rotate(-45deg);
}

/* headline nad panely — ustoupí, jakmile začneš vybírat */
.hsplit-title {
  position: absolute; z-index: 20; left: clamp(20px, 4vw, 56px); top: clamp(120px, 22vh, 210px);
  pointer-events: none; transition: opacity .5s var(--ease);
  text-shadow: 0 2px 44px rgba(0,0,0,.65);
}
.hsplit-title .kick { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.hsplit-title h1 { color: #fff; max-width: 13ch; }
.hsplit-title h1 em { color: var(--sage-light); }
.hsplit-wrap:has(.hsplit .hp:hover) .hsplit-title { opacity: 0; }

/* Na mobilu se panel zobrazuje na ~390 px — 2400px obrázek je plýtvání.
   Přepneme pozadí na menší variantu; desktop si bere plnou. */
@media (max-width: 900px) {
  .hsplit .hp:nth-child(1) .bg { background-image: url('../img/home-offices-800.webp') !important; }
  .hsplit .hp:nth-child(2) .bg { background-image: url('../img/home-cowork-800.webp') !important; }
  .hsplit .hp:nth-child(3) .bg { background-image: url('../img/event-hero-800.webp') !important; }
  /* panely se skládají pod sebe — první nesmí zmizet pod fixní hlavičkou */
  .hsplit-wrap { height: auto; min-height: 0; padding-top: 104px; background: var(--ink); }
  .hsplit { flex-direction: column; }
  .hsplit .hp {
    flex: none; height: 252px; margin-left: 0;
    clip-path: none !important; border-bottom: 1px solid rgba(255,255,255,.16);
  }
  /* bez hoveru by z toho byl jen šedý štos — na dotyku ukaž barvu i popisky */
  .hsplit .hp .bg { filter: grayscale(0) brightness(.6) !important; inset: 0; transform: none; }
  .hsplit .hp .hp-vert { display: none; }
  .hsplit .hp .hp-in { left: 22px !important; right: 22px !important; bottom: 24px; }
  .hsplit .hp .hp-dot { top: 18px; right: 18px !important; width: 36px; height: 36px; }
  .hsplit .hp .hp-desc { display: none; }
  .hsplit-title { position: static; padding: 116px 22px 34px; text-align: center; }
  .hsplit-title h1 { max-width: none; }
  .hsplit-title .kick { margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hsplit .hp .bg { transform: none !important; }
}

/* ==========================================================================
   HERO — video (použito na podstránkách)
   ========================================================================== */
.hero-video {
  position: relative; height: 100svh; min-height: 560px; width: 100%;
  overflow: hidden; background: var(--ink);
  display: flex; align-items: flex-end;
}
.hero-video .media { position: absolute; inset: -8% 0; z-index: 0; will-change: transform; }
.hero-video video, .hero-video .poster {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-video .poster { position: absolute; inset: 0; }
.hero-video .scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(10,10,6,0.76) 0%, rgba(10,10,6,0.50) 34%, rgba(10,10,6,0.10) 68%, rgba(10,10,6,0.26) 100%),
    linear-gradient(to top, rgba(10,10,6,0.82) 0%, rgba(10,10,6,0.30) 50%, rgba(10,10,6,0.44) 100%);
}
.hero-video .inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(44px, 7vh, 92px); }
.hero-video h1 { color: #fff; max-width: 15ch; }
.hero-video h1 em { color: var(--sage-light); }
.hero-kicker {
  font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); margin-bottom: clamp(14px, 2.4vh, 26px);
}
.hero-sub { color: rgba(255,255,255,0.92); text-shadow: 0 1px 20px rgba(0,0,0,.5); font-size: clamp(16px, 1.4vw, 20px); max-width: 46ch; margin-top: clamp(16px, 2.6vh, 26px); font-weight: 300; }
.hero-video .actions { margin-top: clamp(20px, 3.4vh, 34px); }

.scroll-cue {
  position: absolute; right: var(--pad-x); bottom: clamp(56px, 9vh, 110px); z-index: 2;
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.scroll-cue i { display: block; width: 54px; height: 1px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ''; position: absolute; inset: 0; background: #fff;
  transform: translateX(-100%); animation: cue 2.4s var(--ease-inout) infinite;
}
@keyframes cue { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }

/* strip under hero */
.factstrip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.factstrip div {
  padding: 26px var(--gap); font-size: 13px; letter-spacing: 0.04em; color: var(--ink-soft);
  border-right: 1px solid var(--line);
}
.factstrip div:last-child { border-right: 0; }
.factstrip b { display: block; font-family: var(--display); font-size: 26px; color: var(--ink); font-weight: 700; margin-bottom: 4px; letter-spacing: -0.03em; }

/* ==========================================================================
   VIDEO SECTION — prohlídka prostor na podstránkách (dostane celou plochu)
   ========================================================================== */
.videosec { background: var(--ink); padding: clamp(56px, 8vh, 104px) 0 0; }
.videosec .head { padding-bottom: clamp(26px, 4vh, 44px); }
.videosec .eyebrow { color: var(--sage-light); }
.videosec h2 { color: #fff; }
.videosec h2 em { color: var(--sage-light); }
.videosec .lede { color: rgba(255,255,255,.78); }
.videosec .frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #000; overflow: hidden;
}
.videosec .frame video { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; display: block; }
.videosec .frame .fallback { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.videosec .cap {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  padding: 16px 0 clamp(56px, 8vh, 104px);
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.58);
}
/* bez JS nebo při omezeném pohybu zůstane statický snímek, video se nespustí */
.videosec .frame video[hidden] + .fallback { display: block; }

/* ==========================================================================
   PAGE HERO — image
   ========================================================================== */
.page-hero {
  position: relative; min-height: clamp(480px, 76vh, 760px);
  display: flex; align-items: flex-end; overflow: hidden; background: var(--ink);
}
.page-hero .media { position: absolute; inset: -6% 0; z-index: 0; }
.page-hero .media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .scrim {
  position: absolute; inset: 0; z-index: 1;
  /* Dvě vrstvy: zdola pro celkové usazení, zleva pod samotný text.
     Fotky sálu mají v pozadí světlou fasádu, na které bílý nadpis mizel. */
  background:
    linear-gradient(to right, rgba(10,10,6,0.80) 0%, rgba(10,10,6,0.58) 34%, rgba(10,10,6,0.14) 68%, rgba(10,10,6,0.30) 100%),
    linear-gradient(to top, rgba(10,10,6,0.86) 0%, rgba(10,10,6,0.34) 58%, rgba(10,10,6,0.52) 100%);
}
.page-hero .inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 8vh, 96px); padding-top: 190px; }
.page-hero h1 { color: #fff; max-width: 17ch; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.page-hero h1 em { color: var(--sage-light); }
.page-hero .hero-sub { max-width: 54ch; }
.crumb { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.78); margin-bottom: 22px; }
.crumb a { color: rgba(255,255,255,0.6); }
.crumb a:hover { color: #fff; }

/* ==========================================================================
   FEATURE GRID (icons)
   ========================================================================== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--paper); padding: clamp(28px, 3vw, 46px); }
.section.paper-2 .feature { background: var(--paper-2); }
.feature .ico { width: 32px; height: 32px; color: var(--sage); margin-bottom: 22px; }
.feature .ico svg { width: 100%; height: 100%; display: block; }
.feature h3 { font-size: clamp(19px, 1.55vw, 23px); margin-bottom: 12px; }
.feature p { font-size: 15.5px; line-height: 1.62; color: var(--ink-soft); }
.dark .features { background: var(--line-dark); border-color: var(--line-dark); }
.dark .feature { background: var(--ink); }
.dark .feature .ico { color: var(--sage-light); }
.dark .feature p { color: rgba(255,255,255,0.66); }

/* ==========================================================================
   CHECKLIST
   ========================================================================== */
.checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 32px; list-style: none; margin-top: 8px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); flex: none; }
.checklist li::before {
  content: ''; flex: none; width: 15px; height: 15px; margin-top: 5px;
  background: var(--sage); clip-path: polygon(14% 47%, 0 62%, 40% 100%, 100% 20%, 85% 6%, 39% 70%);
}
.dark .checklist li { color: rgba(255,255,255,0.72); }
.dark .checklist li::before { background: var(--sage-light); }

/* ==========================================================================
   CARDS
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 32px); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card .card-body { padding: clamp(24px, 2.2vw, 34px); display: flex; flex-direction: column; flex: 1; }
.card .card-body h3 { margin-bottom: 12px; }
.card .card-body p { font-size: 15.5px; flex: 1; }
.card .card-body .link-more { margin-top: 24px; align-self: flex-start; }
.card .num { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; }

/* full-bleed alternating feature rows */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.showcase + .showcase { margin-top: clamp(56px, 8vh, 120px); }
.showcase.flip .showcase-media { order: 2; }
.showcase-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; }
.showcase-media.tall { aspect-ratio: 3 / 4; }

/* image with caption */
.figure { overflow: hidden; }
/* Fotka se nikdy nesmí protáhnout přes celou obrazovku — jinak se přes ni
   musí rolovat dřív, než ji člověk uvidí celou, a nepozná, že stránka jde dál. */
.figure img, .r-img > img { width: 100%; max-height: 82vh; object-fit: cover; }
.figure figcaption { font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink-mute); margin-top: 12px; }
.dark .figure figcaption { color: rgba(255,255,255,0.58); }

/* ==========================================================================
   LAYOUT OPTIONS (divadlo / škola / recepce)
   ========================================================================== */
.layouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 30px); }
.layout { }
.layout .layout-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3); }
.layout .layout-media img { width: 100%; height: 100%; object-fit: cover; }
.layout h4 { margin-top: 20px; font-family: var(--body); font-weight: 500; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.layout .cap { font-size: 14.5px; color: var(--ink-mute); margin-top: 6px; }
/* kapacita sálu podle uspořádání — čísla ze stávajícího zenwork.cz */
.layout .layout-cap {
  margin-top: 10px; font-family: var(--display); font-weight: 600;
  font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.02em;
  line-height: 1; color: var(--sage);
}
.layout .layout-cap span {
  font-family: var(--body); font-weight: 300; font-size: 14.5px;
  letter-spacing: 0; color: var(--ink-mute); margin-left: 5px;
}
.dark .layout .layout-cap { color: var(--sage-light); }
.dark .layout .layout-cap span { color: rgba(255,255,255,0.62); }
.dark .layout h4 { color: #fff; }
.dark .layout .cap { color: rgba(255,255,255,0.62); }

/* ==========================================================================
   PINNED HORIZONTAL GALLERY
   ========================================================================== */
.gal { position: relative; background: var(--ground); color: #fff; overflow: hidden; }
/* dark stage without .section.dark — sage on near-black is only 3.2:1 */
.gal .eyebrow, .gal h2 em, .gal h3 em { color: var(--sage-light); }
/* .gal není .section.dark, takže na nadpisy nedosáhlo `.dark h1..h4`
   a globální `h1..h4 { color: var(--ink) }` je kreslilo tmavě na tmavé —
   nadpis galerie byl neviditelný. */
.gal h1, .gal h2, .gal h3, .gal h4 { color: #fff; }
.gal .lede { color: rgba(255,255,255,0.78); }
.gal-head { padding: var(--sec-y) 0 clamp(28px, 4vh, 52px); }
.gal-track-wrap { position: relative; }
.gal-track { display: flex; gap: clamp(14px, 1.6vw, 26px); padding: 0 var(--pad-x) clamp(56px, 8vh, 96px); will-change: transform; }
.gal-item { flex: none; width: clamp(260px, 30vw, 460px); }
.gal-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--ink-2); }
.gal-item.portrait img { aspect-ratio: 3 / 4; }
.gal-item .cap { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.58); margin-top: 12px; }
.gal-progress { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: clamp(28px, 4vh, 48px); height: 1px; background: rgba(255,255,255,0.16); }
.gal-progress i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--sage-light); }

/* Film strip. Galerie už stránku nepřipíná: pás se posouvá jen kolečkem nad
   ním (nebo prstem), takže se dá kdykoliv pokračovat dolů, aniž by ho člověk
   musel dojet až na konec. */
.gal-track {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
  padding-bottom: clamp(28px, 4vh, 44px); cursor: grab;
  scrollbar-width: thin; scrollbar-color: var(--sage-light) rgba(255,255,255,0.14);
}
.gal-track::-webkit-scrollbar { height: 3px; }
.gal-track::-webkit-scrollbar-track { background: rgba(255,255,255,0.14); }
.gal-track::-webkit-scrollbar-thumb { background: var(--sage-light); }
.gal-item { scroll-snap-align: start; }
@media (prefers-reduced-motion: reduce) { .gal-track { scroll-behavior: auto; } }

/* ==========================================================================
   PRICING
   ========================================================================== */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 26px); align-items: stretch; }
.tier {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); padding: clamp(26px, 2.6vw, 40px);
}
.tier.featured { border-color: var(--sage); box-shadow: var(--shadow-sm); }
.tier .tier-name { font-family: var(--display); font-size: 27px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.tier .tier-for { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); margin-top: 8px; }
.tier .tier-price { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.tier .tier-price b { display: block; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(28px, 2.6vw, 38px); color: var(--ink); letter-spacing: -0.02em; }
.tier .tier-price span { font-size: 13.5px; color: var(--ink-mute); }
.tier .tier-desc { font-size: 15px; margin-top: 16px; color: var(--ink-soft); }
.tier ul { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier ul li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); flex: none; }
.tier ul li::before { content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); margin-top: 9px; }
.tier .btn { margin-top: 28px; justify-content: center; }
.tier .tier-badge { display: inline-block; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; background: var(--sage); padding: 4px 10px; margin-bottom: 14px; }

/* ==========================================================================
   AVAILABILITY LIST
   ========================================================================== */
.avail { border-top: 1px solid var(--line); }
.avail-row {
  display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) auto;
  gap: 20px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.avail-row .rm { font-family: var(--display); font-size: clamp(19px, 1.7vw, 25px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.avail-row .cap-people { font-size: 15px; color: var(--ink-soft); }
.avail-row .when { font-size: 15px; color: var(--ink-soft); }
.tag {
  display: inline-block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid var(--sage); color: var(--sage); white-space: nowrap;
}
/* „Rezervovat" — bez druhého akcentu se stavy liší výplní, ne barvou */
.tag.soon { background: var(--sage); border-color: var(--sage); color: #fff; }

/* ==========================================================================
   ACCORDION  (larger closed-state text per client feedback)
   ========================================================================== */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; text-align: left;
  font-family: var(--display); font-size: clamp(19px, 1.75vw, 25px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
  line-height: 1.25; transition: color .3s;
}
.acc-btn:hover { color: var(--sage); }
.acc-btn .pm { flex: none; position: relative; width: 18px; height: 18px; }
.acc-btn .pm::before, .acc-btn .pm::after {
  content: ''; position: absolute; background: var(--sage); transition: transform .4s var(--ease), opacity .3s;
}
.acc-btn .pm::before { left: 0; top: 8px; width: 18px; height: 1.5px; }
.acc-btn .pm::after { left: 8px; top: 0; width: 1.5px; height: 18px; }
.acc-item.open .acc-btn .pm::after { transform: rotate(90deg); opacity: 0; }
.acc-panel { overflow: hidden; height: 0; }
.acc-panel .acc-inner { padding-bottom: 28px; font-size: 16px; color: var(--ink-soft); }
.acc-panel .acc-inner p { max-width: 74ch; }
.dark .acc, .dark .acc-item { border-color: var(--line-dark); }
.dark .acc-btn { color: #fff; }
.dark .acc-btn .pm::before, .dark .acc-btn .pm::after { background: var(--sage-light); }
.dark .acc-panel .acc-inner { color: rgba(255,255,255,0.68); }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-lead { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.team-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo.empty { display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.team-photo.empty span { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 8vw, 104px); color: var(--line); }
.team-role { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-top: 10px; }
.team-quote { font-family: var(--display); font-size: clamp(21px, 2.1vw, 30px); line-height: 1.3; color: var(--ink); font-weight: 400; letter-spacing: -0.02em; }
.dark .team-quote { color: #fff; }
.dark .team-role { color: var(--sage-light); }
.dark .team-photo.empty { border-color: var(--line-dark); }
.dark .team-photo.empty span { color: rgba(255,255,255,0.14); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 32px); margin-top: clamp(40px, 6vh, 72px); }
.team-mini { border-top: 1px solid var(--line); padding-top: 20px; }
.team-mini .nm { font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--ink); }
.dark .team-mini { border-color: var(--line-dark); }
.dark .team-mini .nm { color: #fff; }

/* ==========================================================================
   QUOTE
   ========================================================================== */
.quote {
  font-family: var(--display); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(23px, 2.9vw, 42px); line-height: 1.28; color: var(--ink);
  max-width: 22ch;
}
.dark .quote { color: #fff; }
.quote-cite { font-family: var(--body); font-style: normal; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-top: 24px; display: block; }
.dark .quote-cite { color: var(--sage-light); }

/* ==========================================================================
   LOGO WALL (references)
   ========================================================================== */
/* Seznam referencí. Řádky místo mřížky log: počet klientů se mění a v mřížce
   pak zbývá osamocená dlaždice. Jméno a firma u citace navíc pomáhají tomu,
   aby Zenwork vytáhla AI, když se někdo ptá na prostory v Praze. */
.reflist { border-top: 1px solid var(--line); }
.reflist > div {
  display: flex; flex-wrap: wrap; gap: 2px 16px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.reflist .n { font-family: var(--display); font-weight: 600; font-size: clamp(17px,1.6vw,20px); color: var(--ink); letter-spacing: -.01em; }
.reflist .r { font-size: 14.5px; color: var(--ink-mute); }
.reflist .c { margin-left: auto; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
@media (max-width: 560px) { .reflist .c { margin-left: 0; flex-basis: 100%; } }
.logowall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logowall div {
  background: var(--paper); aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: 0.1em; color: var(--ink-mute); text-align: center; padding: 12px;
}
.section.paper-2 .logowall div { background: var(--paper-2); }

/* ==========================================================================
   TAG CLOUD (event types)
   ========================================================================== */
.tagcloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tagcloud span {
  flex: none;
  font-size: 14.5px; padding: 10px 18px;
  border: 1px solid var(--line); color: var(--ink-soft); border-radius: 100px;
  transition: border-color .3s, color .3s;
}
.tagcloud span:hover { border-color: var(--sage); color: var(--sage); }
.dark .tagcloud span { border-color: var(--line-dark); color: rgba(255,255,255,0.72); }
.dark .tagcloud span:hover { border-color: var(--sage-light); color: var(--sage-light); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { background: var(--sage); color: #fff; padding: clamp(64px, 10vh, 128px) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band h2 em { color: #fff; font-style: normal; font-weight: 300; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 22px auto 0; max-width: 56ch; }
.cta-band .actions { justify-content: center; }
.cta-band .btn { background: #fff; border-color: #fff; color: var(--sage); }
.cta-band .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 28px); align-items: stretch; }
.contact-card {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--line); background: var(--paper); padding: clamp(24px, 2.4vw, 36px);
}
.contact-card .who { font-family: var(--display); font-size: 25px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.contact-card .what { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin-top: 8px; }
.contact-card .blurb { font-size: 15px; margin-top: 18px; flex: 1; }
.contact-card .lines { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.contact-card .lines a { font-size: 15.5px; color: var(--ink); border-bottom: 1px solid transparent; align-self: flex-start; transition: border-color .3s, color .3s; }
.contact-card .lines a:hover { color: var(--sage); border-color: var(--sage); }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field textarea, .field select {
  width: 100%; max-width: 100%;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sage); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-mute); }
.consent input { margin-top: 2px; width: 24px; height: 24px; flex: none; accent-color: var(--sage); }
.form-msg { margin-top: 18px; font-size: 15px; }
.form-msg.ok { color: var(--sage); }
.form-msg.err { color: #A6402E; }

.mapframe { border: 1px solid var(--line); aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.mapframe iframe { width: 100%; height: 100%; border: 0; display: block; }

dl.meta {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 48px);
  row-gap: 0;
}
dl.meta .mi { padding: 18px 0 20px; border-top: 1px solid var(--line); }
dl.meta dt {
  display: flex; align-items: center; gap: 9px; margin: 0;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage);
}
dl.meta dt svg { width: 16px; height: 16px; flex: none; }
dl.meta dd {
  margin: 9px 0 0; padding-left: 25px;
  font-size: 16.5px; line-height: 1.5; color: var(--ink);
}
.dark dl.meta .mi { border-top-color: var(--line-dark); }
.dark dl.meta dt { color: var(--sage-light); }
.dark dl.meta dd { color: rgba(255,255,255,0.82); }
@media (max-width: 560px) {
  dl.meta { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER — large-type archetype
   ========================================================================== */
.site-foot { background: var(--ground); color: rgba(255,255,255,0.6); padding: clamp(64px, 9vh, 116px) 0 40px; }
.foot-cta { padding-bottom: clamp(48px, 7vh, 88px); border-bottom: 1px solid var(--line-dark); }
.foot-cta h2 { color: #fff; font-size: clamp(34px, 6.5vw, 88px); max-width: 14ch; }
.foot-cta h2 em { color: var(--sage-light); }
.foot-cta .actions { margin-top: 34px; }
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 48px);
  padding: clamp(40px, 6vh, 72px) 0 clamp(32px, 5vh, 56px);
}
.foot-grid h4, .foot-grid .foot-h {
  font-family: var(--body); font-weight: 400; font-family: var(--body); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.58); margin-bottom: 18px; font-weight: 400; }
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a, .foot-grid li { font-size: 15px; color: rgba(255,255,255,0.68); }
.foot-grid a:hover { color: var(--sage-light); }
.foot-logo img { height: 104px; width: auto; filter: brightness(0) invert(1); }
.foot-brand p { font-size: 14.5px; color: rgba(255,255,255,0.5); margin-top: 22px; max-width: 34ch; }
.foot-bottom {
  border-top: 1px solid var(--line-dark); padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.58);
}
.foot-bottom a { color: rgba(255,255,255,0.58); }
.foot-bottom a:hover { color: #fff; }
.foot-legal { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-top: 10px; width: 100%; }

/* ==========================================================================
   COOKIE
   ========================================================================== */
/* Úzký pruh přes celou spodní hranu. Rohové karty se na úvodní stránce
   vždycky trefí do obsahu některého panelu — pruh je předvídatelný. */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 600;
  background: rgba(251,249,244,.97); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 40px rgba(35,30,15,.10);
  padding: 16px var(--pad-x);
  display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap;
  transform: translateY(110%); transition: transform .7s var(--ease);
}
.cookie.show { transform: translateY(0); }
.cookie h4 { font-family: var(--body); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0; flex: none; }
.cookie p { font-size: 13.5px; margin: 0; flex: 1 1 320px; max-width: none; }
.cookie .cookie-actions { display: flex; gap: 10px; flex: none; margin: 0; }
.cookie button { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; padding: 11px 18px; border: 1px solid var(--line); border-radius: var(--radius); white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.cookie button.primary { background: var(--sage); border-color: var(--sage); color: #fff; }
.cookie button:hover { border-color: var(--sage); color: var(--sage); }
.cookie button.primary:hover { background: var(--sage-deep); color: #fff; }

/* dokud lišta svítí, ustoupí jí obsah panelů i posuvník scrollu */
body:has(#cookie.show) .hsplit .hp .hp-in { bottom: clamp(104px, 13vh, 128px); }
body:has(#cookie.show) .scroll-cue { opacity: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .features, .cards, .layouts, .tiers, .team-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: repeat(2, 1fr); }
  .logowall { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .factstrip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  .burger { display: block; }
  .split, .split-even, .team-lead { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .showcase.flip .showcase-media { order: 0; }
  .avail-row { grid-template-columns: 1fr auto; row-gap: 8px; }
  .avail-row .rm { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .nav { height: 96px; }
  .nav.solid { height: 84px; }
  .nav-logo img { height: 62px; }
  .nav.solid .nav-logo img { height: 56px; }
  .foot-logo img { height: 76px; }
  .hsplit-wrap { padding-top: 88px; }
  .features, .cards, .layouts, .tiers, .team-grid, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .logowall { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .factstrip { grid-template-columns: 1fr; }
  .factstrip div { border-right: 0; border-bottom: 1px solid var(--line); text-align: center; }
  .factstrip div:last-child { border-bottom: 0; }
  .cookie { padding: 14px 20px; gap: 12px; }
  .cookie p { font-size: 12.5px; line-height: 1.5; flex-basis: 100%; }
  .cookie .cookie-actions { width: 100%; }
  .cookie .cookie-actions button { flex: 1; }
  .hero-video { min-height: 520px; }
  .scroll-cue { display: none; }
  .gal-item { width: 78vw; }
}

/* ==========================================================================
   REDUCED MOTION — collapse motion AND restore layout (content must stay reachable)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .r-up { opacity: 1 !important; }
  .js .r-line > span { transform: none !important; }
  .js .r-img > img { transform: none !important; }
  .hero-video .media { transform: none !important; }
  .gal-track { transform: none !important; }
  .scroll-cue i::after { display: none; }
}


/* ==========================================================================
   DOTYKOVÉ CÍLE — WCAG 2.5.8 (min. 24×24 px)
   Textové odkazy měly na mobilu jen 19 px na výšku. Rozšiřujeme dotykovou
   plochu, ne vzhled: text zůstává, mění se jen výška zásahu.
   ========================================================================== */
@media (pointer: coarse) {
  .nav-logo, .foot-logo { min-height: 44px; display: inline-flex; align-items: center; }
  .foot-grid a, .foot-bottom a, .foot-grid li,
  .contact-card .lines a, .link-more, .nav-links a,
  .mobile-menu .mm-foot a, .small a, .note a, .source a {
    min-height: 24px;
    display: inline-flex; align-items: center;
  }
  .foot-grid ul { gap: 6px; }
  .cookie button { min-height: 44px; }
}

/* ==========================================================================
   LIGHTBOX — fotky v galeriích jsou klikací
   Položka galerie je <button>, takže funguje i z klávesnice bez extra ARIA.
   ========================================================================== */
.gal-item, .ph {
  display: block; padding: 0; border: 0; background: none; cursor: zoom-in;
  position: relative; text-align: left;
}
/* POZOR: width sem nepatří společně. `.ph` sedí v gridu a chce 100 %,
   ale `.gal-item` je flex položka pásu a má vlastní šířku (řádek ~603).
   Sdílené `width:100%` ji přebíjelo — dlaždice byly na celou šířku pásu,
   pás ~3× delší a připnutá galerie se scrollovala donekonečna. */
.ph { width: 100%; }
.gal-item img, .ph img { transition: transform 1s var(--ease), filter .5s var(--ease); }
.gal-item:hover img, .ph:hover img { transform: scale(1.03); }
.gal-item::after, .ph::after {
  content: ''; position: absolute; right: 12px; bottom: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(22,22,15,.62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-4.6-4.6M11 8.4v5.2M8.4 11h5.2'/%3E%3C/svg%3E") center/17px no-repeat;
  backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.gal-item:hover::after, .gal-item:focus-visible::after, .ph:hover::after, .ph:focus-visible::after { opacity: 1; transform: none; }
.gal-item .cap, .ph .cap { pointer-events: none; }

/* mřížka fotogalerie na podstránkách */
/* volné klikací fotky mimo mřížku (detailní trojice na terase) */
.cards > .ph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--paper-3); }
.phgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.phgrid .ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-3); }
.phgrid .ph .cap { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 9px; }
.dark .phgrid .ph .cap { color: rgba(255,255,255,.58); }
@media (max-width: 900px) { .phgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .phgrid { grid-template-columns: 1fr; } }

.lb {
  position: fixed; inset: 0; z-index: 1000; display: none;
  background: rgba(10,10,6,.94); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: clamp(48px, 7vh, 80px) clamp(16px, 5vw, 90px);
}
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb .lb-fig { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.lb .lb-cap { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); text-align: center; }
.lb .lb-count { color: var(--sage-light); margin-left: 12px; }
.lb button {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  transition: background .3s, border-color .3s, transform .3s;
}
.lb button:hover { background: var(--sage-light); border-color: var(--sage-light); color: var(--ink); }
.lb .lb-close { top: clamp(14px, 3vh, 28px); right: clamp(14px, 3vw, 32px); }
.lb .lb-prev { left: clamp(10px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: clamp(10px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.lb .lb-prev:hover, .lb .lb-next:hover { transform: translateY(-50%) scale(1.06); }
@media (max-width: 640px) {
  .lb { padding: 64px 10px; }
  .lb .lb-prev { left: 10px; } .lb .lb-next { right: 10px; }
  .lb button { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .gal-item img, .ph img, .lb button { transition: none; }
}

/* ==========================================================================
   DVA PROSTORY — rozcestník na stránce Event space
   ========================================================================== */
.spaces { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.2vw, 34px); }
.space {
  display: flex; flex-direction: column; text-decoration: none;
  border: 1px solid var(--line); background: var(--paper); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.space:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sage); }
.space-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.space-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.space:hover .space-media img { transform: scale(1.045); }
.space-body { padding: clamp(24px, 2.4vw, 36px); display: flex; flex-direction: column; flex: 1; }
.space-body h3 { margin-bottom: 12px; }
.space-body p { font-size: 15.5px; flex: 1; }
.space-body .link-more { margin-top: 22px; align-self: flex-start; }
@media (max-width: 820px) { .spaces { grid-template-columns: 1fr; } }

/* ==========================================================================
   DROBNÉ INTERAKCE A IKONOGRAFIE
   Vše je progresivní: bez JS nebo při prefers-reduced-motion zůstane statický
   stav plně čitelný. Ikony jsou masky, takže dědí barvu textu i v dark sekci.
   ========================================================================== */

/* --- kontaktní karty: ikona podle typu odkazu -------------------------- */
.contact-card .lines a { display: inline-flex; align-items: center; gap: 10px; }
.contact-card .lines a::before {
  content: ''; flex: none; width: 15px; height: 15px; background: var(--sage);
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.contact-card .lines a[href^="mailto"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2.2'/%3E%3Cpath d='m3 6.6 9 6.2 9-6.2'/%3E%3C/svg%3E");
}
.contact-card .lines a[href^="tel"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.4 3h3.1l1.5 3.9-2 1.4a12.2 12.2 0 0 0 5.7 5.7l1.4-2 3.9 1.5v3.1a2 2 0 0 1-2.2 2A16.6 16.6 0 0 1 3.5 5.2 2 2 0 0 1 5.5 3Z'/%3E%3C/svg%3E");
}
.contact-card .lines a:hover::before { transform: translateY(-2px) rotate(-6deg); }
.contact-card .lines a[href^="tel"]:hover::before { transform: translateY(-1px) rotate(8deg); }
.dark .contact-card .lines a::before { background: var(--sage-light); }

/* --- cenové úrovně: fajfky místo teček -------------------------------- */
.tier ul li::before {
  width: 14px; height: 14px; border-radius: 0; margin-top: 4px;
  clip-path: polygon(14% 47%, 0 62%, 40% 100%, 100% 20%, 85% 6%, 39% 70%);
}
.dark .tier ul li::before { background: var(--sage-light); }

/* --- štítky typů akcí: drobný nadskok --------------------------------- */
.tagcloud span { transition: border-color .3s, color .3s, transform .3s var(--ease); }
.tagcloud span:hover { transform: translateY(-3px); }

/* --- řádek volné kanceláře: podbarvení a vyplnění štítku -------------- */
.avail-row { transition: background-color .35s var(--ease); }
.avail-row:hover { background: var(--paper-2); }
.avail-row .tag { transition: background-color .3s, color .3s; }
.avail-row:hover .tag { background: var(--sage); color: #fff; }
.avail-row:hover .tag.soon { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }

/* --- akordeon: hlavička se při najetí odsune -------------------------- */
.acc-btn { transition: color .3s, padding-left .35s var(--ease); }
.acc-btn:hover { padding-left: 10px; }
.acc-item.open .acc-btn { color: var(--sage); }
.dark .acc-item.open .acc-btn { color: var(--sage-light); }

/* --- mini profily týmu ------------------------------------------------ */
.team-mini { transition: border-color .35s var(--ease), transform .35s var(--ease); }
.team-mini:hover { border-color: var(--sage); transform: translateY(-3px); }

/* --- ukazatel odscrollované stránky ----------------------------------- */
.sprog {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 600;
  transform-origin: 0 50%; transform: scaleX(0);
  background: var(--sage); pointer-events: none;
}

/* --- návrat nahoru ---------------------------------------------------- */
.totop {
  position: fixed; right: clamp(16px, 2.2vw, 34px); bottom: clamp(16px, 2.4vh, 32px); z-index: 480;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(251,249,244,0.9); color: var(--sage);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background-color .3s, color .3s;
}
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--sage); color: #fff; border-color: var(--sage); }
.totop svg { width: 18px; height: 18px; }
body:has(#cookie.show) .totop { bottom: calc(clamp(16px, 2.4vh, 32px) + 84px); }

/* --- kurzorová nápověda nad panely hero -------------------------------- */
.hcue {
  position: fixed; top: 0; left: 0; z-index: 450; pointer-events: none;
  display: flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 100px;
  background: rgba(251,249,244,0.94); color: var(--ink);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0; transform: translate(-50%, -50%) scale(0.86);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.hcue.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .tagcloud span, .team-mini, .acc-btn, .contact-card .lines a::before { transition: none; }
  .acc-btn:hover { padding-left: 0; }
  .tagcloud span:hover, .team-mini:hover { transform: none; }
  .sprog, .hcue { display: none; }
}

/* ==========================================================================
   ŠTÍTEK VERZE — jen pro schvalovací kolo, před ostrým spuštěním smazat
   (v HTML je to <span class="ver"> v hlavičce)
   ========================================================================== */


/* ====================================================================
   Kolo oprav po callu s klientem, 22. 9. 2026
   ==================================================================== */

/* --- Reference: citace misto holeho seznamu jmen ------------------- */
.refquotes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.refquotes figure {
  background: var(--paper); margin: 0; padding: clamp(24px, 2.6vw, 38px);
  display: flex; flex-direction: column; gap: 20px;
}
.refquotes blockquote {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; letter-spacing: -.01em; color: var(--ink);
}
.refquotes figcaption { margin-top: auto; }
.refquotes .n { display: block; font-weight: 600; font-size: 15px; color: var(--ink); }
.refquotes .r { display: block; font-size: 13.5px; color: var(--ink-mute); margin-top: 2px; }
.refquotes .c {
  display: block; margin-top: 8px; font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sage);
}

/* --- Galerie: pas s pevnou vyskou, dlazdice si nese pomer sve fotky ---
   Drive melo `.gal-item img` natvrdo `aspect-ratio: 3/2` + `object-fit:
   cover`, takze fotky na vysku se orizly na prostredni pruh - u nekterych
   zbyl jen strop. Trida `.portrait` se pridavala rucne a nesedela vsude
   (tr-08 je 1200x2133, ne 3/4).

   Ted nese pomer dlazdice, ne obrazek. Presnou hodnotu doplni main.js
   z atributu width/height, takze je znama jeste pred nactenim fotky.
   Hodnoty nize jsou fallback pro pripad vypnuteho JS. */
.gal-item { width: auto; height: clamp(240px, 40vh, 400px); aspect-ratio: 3 / 2; }
.gal-item.portrait { aspect-ratio: 3 / 4; }
.gal-item img {
  width: 100%; height: 100%; max-width: none;
  aspect-ratio: auto; object-fit: cover; background: var(--ink-2);
}
.gal-item.portrait img { aspect-ratio: auto; }
@media (max-width: 900px) {
  .gal-item { width: auto; height: clamp(200px, 32vh, 300px); }
}

/* --- Lightbox: fotka se nesmi smacknout ---------------------------
   `.lb-fig` nemel definovanou vysku, takze `max-height: 100%` na obrazku
   nemelo k cemu se vztahnout a flex ho misto zmenseni stlacil. */
.lb .lb-fig { height: 100%; min-height: 0; justify-content: center; }
.lb img { flex: 0 1 auto; min-height: 0; max-height: 100%; }
.lb .lb-cap { flex: none; }


/* --- Loga klientu a fotky autoru citaci (22. 9. 2026) ---------------
   Prevzato z puvodniho webu zenwork.cz, kde uz byla publikovana.
   Loga zustavaji barevna, stejne jako na puvodnim webu. Odbarveni
   filtrem se neosvedcilo - bila a svetla loga na papirovem pozadi
   zmizela. */
.logowall div img {
  max-width: 100%; max-height: 46px; width: auto; height: auto; object-fit: contain;
}
@media (max-width: 560px) { .logowall div img { max-height: 36px; } }

.refquotes figcaption { display: flex; align-items: center; gap: 14px; }
.refquotes figcaption img {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; background: var(--paper-3);
}
.refquotes figcaption .txt { min-width: 0; }


/* ====================================================================
   TISK
   Klient si tiskne cenik nebo kontakt. Bez tohohle se vytiskne
   i navigace, paticka, cookie lista a poloviny animovanych bloku.
   ==================================================================== */
@media print {
  .nav, .site-foot, .cookiebar, .to-top, .scrollbar,
  .hero-video, .gal, .frame, video, .mobile-menu, .skip { display: none !important; }

  html, body { background: #fff !important; color: #000 !important; }
  body { font-size: 11pt; line-height: 1.45; }

  /* Odkryvaci animace nesmi nechat obsah neviditelny na papire. */
  .r-up, .r-line > span, .r-img > img, [data-reveal-group] * {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
  }

  .section { padding: 12pt 0 !important; }
  h1, h2, h3, h4 { color: #000 !important; page-break-after: avoid; break-after: avoid; }
  h1 { font-size: 20pt; } h2 { font-size: 15pt; } h3 { font-size: 12pt; }
  .section.dark, .gal, .cta-band { background: #fff !important; color: #000 !important; }
  .section.dark h1, .section.dark h2, .section.dark h3, .section.dark p { color: #000 !important; }

  .tier, .acc-item, .card, .contact-card, figure { page-break-inside: avoid; break-inside: avoid; }

  /* Akordeony FAQ na papire otevrene, jinak se vytiskne jen seznam otazek. */
  .acc-panel { height: auto !important; overflow: visible !important; }

  /* U odkazu se vytiskne cil, na papire se neda kliknout. */
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  main a[href^="mailto"]::after, main a[href^="tel"]::after { content: ""; }

  img { max-width: 100% !important; page-break-inside: avoid; }
}
