/* =============================================================================
   Chata Na Hřebeni · ukázkový web zenn.studio
   Sekce jsou přepsané komponenty z knihovny zenn-components, přebarvené
   na jednu paletu a přepsané na dvě písma (Fraunces + Onest).
   ============================================================================= */

:root {
  --dark:     #171310;   /* hlavní tmavá plocha */
  --dark-2:   #100d0b;   /* hlubší tmavá (galerie, dotazy) */
  --dark-3:   #201914;   /* panely a karty na tmavé */
  --sand:     #e9e0d0;   /* hlavní světlá plocha */
  --sand-2:   #f3ece0;   /* světlejší papír */
  --ink-l:    #f4ece0;   /* text na tmavé */
  --ink-d:    #1b1512;   /* text na světlé */
  --accent:   #d2622c;   /* oheň, jediná akcentní barva */
  --accent-hi:#e8823f;
  --ember:    #43200f;
  --f-disp: "Fraunces", ui-serif, Georgia, serif;
  --f-hero: "Big Shoulders Display", Impact, ui-sans-serif, sans-serif;   /* hero a karty, Lukáš vybral č. 8 */
  --f-card: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-text: "Onest", ui-sans-serif, system-ui, sans-serif;
  --gut: clamp(18px, 5vw, 80px);
  --zrno: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--dark);
  color: var(--ink-l);
  font-family: var(--f-text);
  overflow-x: clip;
}
img, video { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* ---------------------------------------------------------------- hlavička */
.u-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(10px, 2vw, 20px) clamp(12px, 3vw, 30px);
  pointer-events: none;
}
.u-head > * { pointer-events: auto; }
/* ⚠ detail galerie žije uvnitř sekce s isolation, jeho z-index ji neopustí;
   hlavička by jinak ležela přes křížek na zavření */
.u-detail-open .u-head { opacity: 0; visibility: hidden; }
.u-head__logo {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgb(14 11 9 / .58);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), inset 0 -1px 0 rgb(0 0 0 / .3), 0 6px 20px rgb(0 0 0 / .22);
  color: var(--ink-l);
  font: 400 clamp(15px, 1.3vw, 18px)/1 var(--f-disp);
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s cubic-bezier(.22,1,.36,1);
}
.u-head__logo:focus-visible,
.u-menu__trigger:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .u-head__logo:hover { background: rgb(14 11 9 / .78); }
}

/* ------------------------------------------------- 1. menu (podle 092) ---- */
.u-menu { --line: rgb(244 236 224 / .2); }
.u-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 44px;
  padding: 0 20px 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgb(14 11 9 / .58);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), inset 0 -1px 0 rgb(0 0 0 / .3), 0 6px 20px rgb(0 0 0 / .22);
  color: var(--ink-l);
  font: 600 14px/1 var(--f-text);
  letter-spacing: .02em;
  cursor: pointer;
  transition: background-color .25s cubic-bezier(.22,1,.36,1);
}
.u-menu__bars { display: inline-flex; flex-direction: column; gap: 5px; width: 17px; }
.u-menu__bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.u-menu__trigger[aria-expanded="true"] .u-menu__bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.u-menu__trigger[aria-expanded="true"] .u-menu__bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (hover: hover) and (pointer: fine) {
  .u-menu__trigger:hover { background: rgb(14 11 9 / .8); }
}

.u-menu__panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: clamp(76px, 11vh, 130px) var(--gut) clamp(28px, 5vh, 56px);
  color: var(--ink-l);
  isolation: isolate;
  overflow: hidden;
}
.u-menu__panel[hidden] { display: flex; visibility: hidden; pointer-events: none; }
.u-menu__layers { position: absolute; inset: 0; z-index: -1; }
/* výchozí posun dává JEN gsap.set — statický transform by se nabaloval navrch */
.u-menu__layer { position: absolute; inset: 0; }
.u-menu__layer--1 { background: var(--dark-3); }
.u-menu__layer--2 { background: var(--ember); }
.u-menu__layer--3 { background: linear-gradient(200deg, var(--accent), var(--ember) 72%); }
.u-menu__close {
  position: absolute;
  top: clamp(10px, 2vw, 20px);
  right: clamp(12px, 3vw, 30px);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 0 0 1px var(--line);
  color: var(--ink-l);
  cursor: pointer;
  opacity: 0;
  transition: background-color .2s cubic-bezier(.22,1,.36,1), transform .2s cubic-bezier(.22,1,.36,1);
}
.u-menu__close:focus-visible { outline: 2px solid var(--ink-l); outline-offset: 3px; }
.u-menu__close:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .u-menu__close:hover { background: rgb(255 255 255 / .1); }
}
.u-menu__nav { width: 100%; max-width: 1100px; margin: 0 auto; }
.u-menu__list { list-style: none; margin: 0; padding: 0; }
.u-menu__item { overflow: hidden; }
.u-menu__link { display: block; padding: clamp(4px, 1.1vw, 12px) 4px; color: inherit; text-decoration: none; }
.u-menu__link-in {
  display: block;
  font: 400 clamp(32px, 6.6vw, 82px)/1.1 var(--f-disp);
  letter-spacing: -.03em;
  opacity: 0;
  transition: color .25s cubic-bezier(.22,1,.36,1);
}
.u-menu__link:focus-visible .u-menu__link-in { outline: 2px solid var(--ink-l); outline-offset: 6px; }
@media (hover: hover) and (pointer: fine) {
  .u-menu__link:hover .u-menu__link-in { color: #ffd9b8; }
}
.u-menu__foot {
  margin: clamp(20px, 4vh, 40px) auto 0;
  max-width: 1100px;
  font: 500 13px/1.6 var(--f-text);
  letter-spacing: .02em;
  color: rgb(244 236 224 / .66);
  opacity: 0;
}
:is([data-motion="off"], .no-motion) .u-menu__bars span,
:is([data-motion="off"], .no-motion) .u-menu__close,
:is([data-motion="off"], .no-motion) .u-menu__link-in { transition: none; }

/* ------------------------------------- 2. hero: nekonečné sloupce (035) --- */
/* ⚠ oproti 035: sloupce jedou STÁLOU pomalou rychlostí, scroll je nezrychluje */
.zc-ic {
  --cols: 4;
  --gap: clamp(10px, 1.3vw, 20px);
  --tilt: -7deg;
  --radius: 14px;
  position: relative;
  min-height: max(100svh, 640px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--dark);
  color: var(--ink-l);
}
.zc-ic__wall {
  position: absolute;
  top: -22%; bottom: -22%; left: -16%; right: -16%;
  z-index: -2;
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: var(--gap);
  transform: rotate(var(--tilt));
}
.zc-ic__col { position: relative; overflow: hidden; min-width: 0; }
.zc-ic__track { will-change: transform; }
.zc-ic__track, .zc-ic__group { display: grid; gap: var(--gap); }
.zc-ic__group img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: #2c211a;
  filter: saturate(1.04) contrast(1.03);
}
.zc-ic__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 54% at 50% 52%, rgb(23 19 16 / .9), rgb(23 19 16 / .6) 62%, rgb(23 19 16 / .34)),
    linear-gradient(to bottom, var(--dark), transparent 18%, transparent 82%, var(--dark));
}
.zc-ic__veil::after { content: ""; position: absolute; inset: 0; opacity: .05; background-image: var(--zrno); }
.zc-ic__content {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  padding: 15svh var(--gut);
  text-align: center;
}
.zc-ic__title {
  margin: 0;
  font-family: var(--f-hero);
  font-weight: 800;
  font-size: clamp(64px, 12vw, 200px);
  line-height: .88;
  letter-spacing: .005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.zc-ic__title span { display: block; }
.zc-ic__title .is-accent { color: var(--accent-hi); }
.zc-ic__lede {
  margin: clamp(22px, 2.4vw, 34px) auto 0;
  max-width: 40ch;
  font: 400 clamp(16px, 1.35vw, 19px)/1.55 var(--f-text);
  color: rgb(244 236 224 / .86);
  text-wrap: pretty;
}
.zc-ic__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 28px;
  margin-top: clamp(26px, 3vw, 40px);
}

/* společné tlačítko a odkaz se šipkou */
.u-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--accent);
  color: #1d0f07;
  font: 600 16px/1 var(--f-text);
  text-decoration: none;
  box-shadow: 0 14px 34px -14px rgb(210 98 44 / .6);
  transition: background-color .25s cubic-bezier(.22,1,.36,1), transform .2s cubic-bezier(.22,1,.36,1);
}
.u-btn:focus-visible, .u-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.u-btn:active, .u-link:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .u-btn:hover { background: var(--accent-hi); transform: translateY(-2px); }
}
.u-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  color: inherit;
  font: 600 16px/1 var(--f-text);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s cubic-bezier(.22,1,.36,1), color .25s cubic-bezier(.22,1,.36,1);
}
.u-link svg { transition: transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
  .u-link:hover { color: var(--accent-hi); }
  .u-link:hover svg { transform: translateX(4px); }
}
:is([data-motion="off"], .no-motion) :is(.u-btn, .u-link, .u-link svg) { transition: none; }

/* 3D tlačítko v hero (070): stisk ho sesune dolů, po puštění pružně vyskočí */
.u-press { position: relative; display: inline-block; border-radius: 16px; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.u-press__shadow { position: absolute; inset: 0; border-radius: 16px; background: rgb(0 0 0 / .45); filter: blur(4px); transform: translateY(4px); transition: transform .16s cubic-bezier(.22,1,.36,1); }
.u-press__edge { position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(180deg, #8e3d14, #5c2409); }
.u-press__front {
  display: block;
  position: relative;
  padding: 20px 32px;
  border-radius: 16px;
  background: var(--accent);
  color: #1d0f07;
  font: 600 16px/1 var(--f-text);
  transform: translateY(-7px);
  transition: transform .16s cubic-bezier(.22,1,.36,1), background-color .2s cubic-bezier(.22,1,.36,1);
}
@media (hover: hover) and (pointer: fine) {
  .u-press:hover .u-press__front { transform: translateY(-9px); background: var(--accent-hi); }
}
.u-press:active .u-press__front { transform: translateY(-2px); transition-duration: .05s; }
.u-press:active .u-press__shadow { transform: translateY(1px); transition-duration: .05s; }
.u-press:not(:active) .u-press__front { transition-timing-function: cubic-bezier(.3,1.85,.45,1); }
.u-press:focus-visible { outline: none; }
.u-press:focus-visible .u-press__front { outline: 2px solid var(--ink-l); outline-offset: 3px; }
:is([data-motion="off"], .no-motion) :is(.u-press__front, .u-press__shadow) { transition: none; }


@media (max-width: 760px) {
  .zc-ic { --cols: 3; --tilt: -8deg; --radius: 10px; }
  .zc-ic__col:nth-child(4) { display: none; }
  .zc-ic__wall { left: -30%; right: -30%; }
  .zc-ic__title { font-size: clamp(58px, 18vw, 110px); }
}

/* ------ 4. věta s fotkami (002) → zoom rovnou z fotky ohně → oheň po snímcích (003) */
/* základ = hotový stav (bez animací): věta, pod ní fotka ohně s popiskem */
.zc-pis {
  --pis-size: clamp(34px, 6.2vw, 108px);
  --pis-h: .9em;        /* výška fotky ve větě */
  --pis-w: 2.3em;       /* šířka pilulky */
  position: relative;
  background: var(--sand);
  color: var(--ink-d);
  isolation: isolate;
}
.zc-pis::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none; background-image: var(--zrno); }
.zc-pis__stage {
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  align-content: center;
  row-gap: 10svh;
  padding: 18svh var(--gut);
}
.zc-pis__text {
  margin: 0;
  max-width: 14.5em;
  font-family: var(--f-disp);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: var(--pis-size);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-align: center;
  text-wrap: balance;
}
.zc-pis__text em { font-style: italic; color: var(--accent); }
.zc-pis .zc-w { will-change: opacity; }
/* místo ve větě drží plnou šířku, rozevírá se jen ořez: řádky se při animaci nehnou.
   --pis-o: 0 = tečka uprostřed, 1 = celá pilulka */
.zc-pis__pic {
  --pis-o: 1;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  width: var(--pis-w);
  height: var(--pis-h);
  margin: 0 .06em;
  translate: 0 calc(-.07em + (1 - var(--pis-o)) * .2em);
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 45%, var(--sand));
  clip-path: inset(0 calc((1 - var(--pis-o)) * (50% - var(--pis-h) / 2)) round 999px);
}
.zc-pis__pic.is-wide { --pis-w: 2.9em; }
.zc-pis__pic.is-round { --pis-w: var(--pis-h); clip-path: circle(calc(14% + var(--pis-o) * 36%) at 50% 50%); }
.zc-pis__pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.12) saturate(1.05);   /* ⚠ malá fotka je jinak tmavá šmouha */
  scale: calc(1 + (1 - var(--pis-o)) * .7);
  rotate: calc((1 - var(--pis-o)) * -12deg);
}
.zc-pis__pic.is-zoom img { filter: none; }   /* ⚠ musí vypadat stejně jako zvětšený snímek nad ní */
.zc-pis__zoom { position: relative; grid-area: 2 / 1; width: 100%; max-width: 1200px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; background: #1a120c; }
.zc-pis__film { position: absolute; inset: 0; transform-origin: 0 0; }
.zc-pis__poster, .zc-pis__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.zc-pis__poster { object-fit: cover; }
.zc-pis__canvas { display: none; }
.zc-pis__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgb(14 10 8 / .86), rgb(14 10 8 / .5) 46%, transparent 78%); }
.zc-pis__caption { position: relative; z-index: 1; grid-area: 2 / 1; align-self: end; box-sizing: border-box; width: min(100%, 1200px); padding: clamp(20px, 4vw, 48px); color: var(--ink-l); }
.zc-pis__caption > * { max-width: 30rem; }
.zc-pis__name { margin: 0; font: 400 clamp(30px, 3.4vw, 52px)/1 var(--f-disp); font-optical-sizing: auto; letter-spacing: -.03em; }
.zc-pis__ctext { margin: 14px 0 0; max-width: 34ch; font: 400 clamp(15px, 1.2vw, 17px)/1.55 var(--f-text); color: rgb(244 236 224 / .88); }
.zc-pis__caption .u-btn { margin-top: 22px; }
@media (max-width: 640px) {
  .zc-pis { --pis-h: .86em; }
  .zc-pis__text { text-align: left; text-wrap: pretty; }
  .zc-pis__zoom { aspect-ratio: 4 / 5; border-radius: 16px; }
}
/* živě: přilepená scéna. Věta se rozsvítí, pak se fotka ohně ve větě roztáhne přes
   celou obrazovku a scroll přehrává oheň po snímcích */
.zc-pis.is-live { height: 700svh; }
.zc-pis.is-live .zc-pis__stage { position: sticky; top: 0; height: 100svh; row-gap: 0; place-items: center; padding: 10svh var(--gut); overflow: hidden; }
.zc-pis.is-live .zc-pis__text { grid-area: 1 / 1; }
/* ⚠ grid-area: auto — absolutní potomek gridu s grid-area bere jako rámeček buňku mřížky, ne celou scénu */
.zc-pis.is-live .zc-pis__zoom { grid-area: auto; position: absolute; inset: 0; z-index: 2; max-width: none; aspect-ratio: auto; border-radius: 0; background: transparent; visibility: hidden; will-change: clip-path; }
.zc-pis.is-live .zc-pis__film { will-change: transform; }
.zc-pis.is-live .zc-pis__canvas { display: block; }
.zc-pis.is-live .zc-pis__shade { opacity: 0; }
.zc-pis.is-live .zc-pis__caption { grid-area: auto; position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(28px, 8svh, 80px); z-index: 3; width: auto; padding: 0; pointer-events: none; }
.zc-pis.is-live .zc-pis__caption > * { opacity: 0; translate: 0 26px; transition: opacity .3s cubic-bezier(.22,1,.36,1), translate .3s cubic-bezier(.22,1,.36,1); }
.zc-pis.is-live.is-end .zc-pis__caption { pointer-events: auto; }
.zc-pis.is-live.is-end .zc-pis__caption > * { opacity: 1; translate: 0 0; transition-duration: .9s, 1.1s; }
.zc-pis.is-live.is-end .zc-pis__ctext { transition-delay: .09s; }
.zc-pis.is-live.is-end .zc-pis__caption .u-btn { transition-delay: .18s, .18s; }
@media (max-width: 640px) {
  .zc-pis.is-live { height: 600svh; }
}

/* --------------------------------- 4. co nabízíme: vrstvené karty (005) -- */
.zc-sc {
  --card-h: clamp(520px, 80svh, 760px);
  --top: 9svh;
  --peek: 16px;
  --space: 22svh;
  --radius: 28px;
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 14svh, 160px) var(--gut) clamp(56px, 10svh, 120px);
  background: var(--dark);
  color: var(--ink-l);
}
.zc-sc::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .045;
  pointer-events: none;
  background-image: var(--zrno);
}
.zc-sc__head {
  max-width: 1200px;
  margin: 0 auto clamp(40px, 7svh, 88px);
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: center;
  gap: 20px 48px;
  text-align: center;
}
.u-h2 {
  margin: 0;
  font-family: var(--f-disp);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(42px, 6.6vw, 106px);
  line-height: .96;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.u-h2 em { font-style: italic; color: var(--accent); }
.u-lede {
  margin: 0 0 .6em;
  max-width: 36ch;
  font: 400 clamp(16px, 1.3vw, 18px)/1.6 var(--f-text);
  text-wrap: pretty;
}
.zc-sc__head .u-h2 { max-width: none; }
.zc-sc__head .u-lede { color: rgb(244 236 224 / .72); }

.zc-sc__list { max-width: 1200px; margin: 0 auto; }
.zc-sc__card { height: var(--card-h); }
.zc-sc__card + .zc-sc__card { margin-top: clamp(16px, 3vw, 32px); }
.zc-sc__inner {
  position: relative;
  box-sizing: border-box;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(12px, 2vw, 28px);
  padding: clamp(12px, 1.3vw, 18px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  color: var(--card-ink);
  transform-origin: 50% 0;
  box-shadow: 0 -18px 50px -28px rgb(0 0 0 / .55), inset 0 1px 0 rgb(255 255 255 / .12);
}
/* ⚠ nadpis je NAHOŘE: další karta přikrývá odspodu, dole by zmizel první */
.zc-sc__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: clamp(16px, 3.2vw, 52px);
}
.zc-sc__name {
  margin: 0;
  font: 800 clamp(40px, 5vw, 84px)/.92 var(--f-hero);
  letter-spacing: .005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.zc-sc__line {
  margin: 0;
  max-width: 32ch;
  margin-inline: auto;
  padding-top: 18px;
  border-top: 1px solid color-mix(in oklab, currentColor 22%, transparent);
  font: 400 clamp(16px, 1.4vw, 20px)/1.5 var(--f-card);
  opacity: .88;
}
.zc-sc__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - 10px);
  background: rgb(0 0 0 / .15);
}
.zc-sc__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zc-sc__dim { position: absolute; inset: 0; background: #0a0706; opacity: 0; pointer-events: none; }

@media (max-width: 760px) {
  .zc-sc { --card-h: auto; --top: 6svh; --peek: 10px; --radius: 22px; }
  .zc-sc__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .zc-sc__photo { aspect-ratio: 4 / 3; }
  .zc-sc__copy { gap: 10px; padding: 14px 10px 6px; }
}
/* choreografie jen když ji JS zapne */
.zc-sc.is-live .zc-sc__list { padding-bottom: 6svh; }
.zc-sc.is-live .zc-sc__card { position: sticky; top: calc(var(--top) + var(--i, 0) * var(--peek)); }
.zc-sc.is-live .zc-sc__card + .zc-sc__card { margin-top: var(--space); }
.zc-sc.is-live .zc-sc__inner { will-change: transform; }
.zc-sc.is-live .zc-sc__photo img { will-change: transform; }
@media (max-width: 760px) {
  .zc-sc.is-live { --card-h: min(76svh, 640px); }
  .zc-sc.is-live .zc-sc__inner { grid-template-rows: auto minmax(0, 1fr); }
  .zc-sc.is-live .zc-sc__photo { aspect-ratio: auto; }
}

/* ---------------- 5. z údolí na vrch: přilepené obří číslo (017) --------- */
/* ⚠ ZMĚNA proti 017: číslo je v široké Fraunces, úzký Roboto Flex (wdth 28) byl na počítači
   moc stlačený. Válečky se počítají pro libovolný počet číslic (výšky 1 020 až 1 310). */
.zc-pbn {
  --pbn-accent: var(--accent-hi);          /* JS přepisuje podle fáze */
  --pbn-size: clamp(150px, 19vw, 300px);   /* výška obřího čísla */
  --pbn-length: 130svh;                    /* scroll na jednu fázi */
  position: relative;
  isolation: isolate;
  background: var(--dark);
  color: var(--ink-l);
}
/* základ = hotový stav bez animací: fáze pod sebou, číslo v textu */
.zc-pbn__title {
  margin: 0;
  padding: clamp(96px, 14svh, 160px) var(--gut) clamp(36px, 6svh, 64px);
  font: 800 clamp(44px, 6vw, 92px)/.95 var(--f-hero);
  text-transform: uppercase;
  letter-spacing: -.01em;
  text-align: center;
  text-wrap: balance;
}
.zc-pbn__title em { font-style: normal; color: var(--accent-hi); }
.zc-pbn__phase { position: relative; min-height: 88svh; display: grid; align-items: end; overflow: hidden; }
.zc-pbn__media { position: absolute; inset: 0; }
.zc-pbn__media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.86) contrast(1.04); }
.zc-pbn__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(14 11 9 / .88), rgb(14 11 9 / .18) 55%, transparent); }
.zc-pbn__copy { position: relative; padding: 12svh var(--gut) clamp(40px, 7vw, 90px); }
.zc-pbn__num {
  margin: 0;
  font-family: var(--f-hero);
  font-size: clamp(84px, 16vw, 250px);
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: .9;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.zc-pbn__num span { margin-left: .14em; font-size: .17em; font-weight: 600; font-family: var(--f-text); letter-spacing: 0; vertical-align: top; color: var(--ink-l); opacity: .85; }
.zc-pbn__phase:nth-of-type(1) .zc-pbn__num { color: #e8823f; }
.zc-pbn__phase:nth-of-type(2) .zc-pbn__num { color: #e9c38f; }
.zc-pbn__phase:nth-of-type(3) .zc-pbn__num { color: #a9c4c6; }
.zc-pbn__name { margin: 20px 0 0; font: 800 clamp(36px, 3.8vw, 60px)/1 var(--f-hero); text-transform: uppercase; letter-spacing: -.005em; }
.zc-pbn__text { margin: 14px 0 0; max-width: 36ch; font: 400 clamp(15px, 1.25vw, 18px)/1.55 var(--f-text); color: rgb(244 236 224 / .84); text-wrap: pretty; }

/* živě: jedna přilepená scéna, fotky se stírají zdola, počítadlo se přetáčí */
.zc-pbn.is-live { height: calc(var(--pbn-n, 3) * var(--pbn-length)); }
.zc-pbn.is-live .zc-pbn__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: color-mix(in oklab, var(--dark) 86%, var(--pbn-accent)); }
.zc-pbn.is-live .zc-pbn__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background:
    radial-gradient(90% 70% at 18% 58%, color-mix(in oklab, var(--pbn-accent) 30%, transparent), transparent 70%),
    linear-gradient(to top, rgb(10 8 7 / .7), transparent 42%),
    linear-gradient(to bottom, rgb(10 8 7 / .55), transparent 26%);
  mix-blend-mode: soft-light;
}
.zc-pbn.is-live .zc-pbn__stage::after { content: ""; position: absolute; inset: 0; z-index: 21; opacity: .05; pointer-events: none; background-image: var(--zrno); }
/* ⚠ nadpis níž než pilulky hlavičky (44 px + okraj), jinak by na mobilu ležel pod nimi */
.zc-pbn.is-live .zc-pbn__title { position: absolute; z-index: 30; top: clamp(84px, 11svh, 116px); left: 0; right: 0; padding: 0 var(--gut); font-size: clamp(28px, 2.8vw, 44px); text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.zc-pbn.is-live .zc-pbn__phase { position: absolute; inset: 0; min-height: 0; overflow: visible; }
.zc-pbn.is-live .zc-pbn__media { overflow: hidden; will-change: clip-path; }
.zc-pbn.is-live .zc-pbn__media img { will-change: transform; transform-origin: 50% 60%; }
.zc-pbn.is-live .zc-pbn__copy { position: absolute; z-index: 30; right: var(--gut); bottom: clamp(96px, 16svh, 150px); width: min(430px, 34vw); padding: 0; will-change: transform, opacity; }
/* číslo fáze zůstává pro čtečky, oči vidí počítadlo */
.zc-pbn.is-live .zc-pbn__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zc-pbn__edge {
  position: absolute;
  z-index: 22;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pbn-accent) 18%, color-mix(in oklab, var(--pbn-accent) 40%, #fff) 50%, var(--pbn-accent) 82%, transparent);
  box-shadow: 0 0 28px 6px color-mix(in oklab, var(--pbn-accent) 45%, transparent);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.zc-pbn__dial {
  position: absolute;
  z-index: 25;
  left: var(--gut);
  top: 52%;
  display: flex;
  align-items: flex-start;
  font-family: var(--f-hero);
  font-size: var(--pbn-size);
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  color: var(--pbn-accent);
  translate: 0 -50%;
  pointer-events: none;
}
.zc-pbn__slot {
  display: block;
  width: var(--pbn-dw, .62em);   /* JS změří šířku číslice v písmu */
  height: 1em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 11%, #000 90%, transparent);
  mask-image: linear-gradient(transparent, #000 11%, #000 90%, transparent);
}
.zc-pbn__reel { display: block; will-change: transform; }
.zc-pbn__reel b { display: block; height: 1em; font-weight: inherit; text-align: center; }
.zc-pbn__gap { display: block; flex: none; width: .18em; }
.zc-pbn__unit { margin: .2em 0 0 .12em; font-family: var(--f-text); font-size: .13em; font-weight: 600; line-height: 1; white-space: nowrap; color: var(--ink-l); opacity: .85; }
.zc-pbn__rail {
  position: absolute;
  z-index: 30;
  left: var(--gut);
  right: var(--gut);
  bottom: clamp(26px, 5svh, 48px);
  display: grid;
  grid-template-columns: repeat(var(--pbn-n, 3), minmax(0, 1fr));
  gap: 10px;
  font: 600 12px/1.2 var(--f-text);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.zc-pbn__rail span { display: grid; gap: 10px; color: rgb(244 236 224 / .6); }
.zc-pbn__rail i { display: block; height: 2px; background: rgb(244 236 224 / .18); overflow: hidden; }
.zc-pbn__rail i::after { content: ""; display: block; height: 100%; background: var(--pbn-accent); transform: scaleX(var(--f, 0)); transform-origin: 0 50%; }
@media (max-width: 760px) {
  .zc-pbn { --pbn-size: min(34vw, 30svh); --pbn-length: 115svh; }
  .zc-pbn.is-live .zc-pbn__title { top: 84px; font-size: 28px; }
  /* jednotka pod číslo, vedle by se čtyři číslice na 390 px nevešly */
  .zc-pbn__dial { top: 40%; flex-wrap: wrap; }
  .zc-pbn__unit { flex-basis: 100%; margin: .06em 0 0 .04em; font-size: .17em; }
  /* ⚠ text přijíždí o 46 px zespodu, na 84 px by při přechodu ležel na liště průběhu */
  .zc-pbn.is-live .zc-pbn__copy { left: var(--gut); right: var(--gut); width: auto; bottom: 108px; }
  .zc-pbn.is-live .zc-pbn__name { margin-top: 0; }
  .zc-pbn__text { font-size: 15px; }
  .zc-pbn__rail { gap: 8px; font-size: 11px; letter-spacing: .03em; }
}

/* ------------------- 6. pokoje: vodorovná pinovaná galerie (006) --------- */
.zc-hpg {
  --h-land: 52svh;
  --h-port: 64svh;
  --h-sq: 46svh;
  --radius: 14px;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background: var(--dark);
  color: var(--ink-l);
}
.zc-hpg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .05;
  pointer-events: none;
  background-image: var(--zrno);
}
/* základ = hotový stav: fotky zalomené pod sebou */
.zc-hpg__pin { position: relative; padding: 14svh var(--gut); }
.zc-hpg__ghost { display: none; }
.zc-hpg__track {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 36px 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.zc-hpg__intro { flex: 1 1 100%; max-width: 900px; margin-bottom: 12px; }
.zc-hpg__intro .u-h2 { max-width: 12ch; }
.zc-hpg__intro .u-lede { margin: 24px 0 0; color: rgb(244 236 224 / .72); }
.zc-hpg__item { margin: 0; flex: none; }
.zc-hpg__frame {
  position: relative;
  height: 280px;
  aspect-ratio: var(--ar, 3 / 2);
  overflow: hidden;
  border-radius: var(--radius);
  background: #2a211b;
}
.zc-hpg__frame img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.96) contrast(1.03);
}
.zc-hpg__item figcaption { width: 0; min-width: 100%; margin-top: 14px; }
.zc-hpg__name { display: block; font: 600 15px/1.3 var(--f-text); }
.zc-hpg__note { display: block; margin-top: 3px; font: 400 14px/1.4 var(--f-text); color: rgb(244 236 224 / .62); }
.zc-hpg__outro { flex: 1 1 100%; margin-top: 40px; text-align: center; }
.zc-hpg__ask {
  margin: 0;
  font: 400 italic clamp(34px, 4.6vw, 74px)/1 var(--f-disp);
  font-optical-sizing: auto;
  letter-spacing: -.032em;
}
.zc-hpg__small { margin: 14px 0 0; font: 400 15px/1.5 var(--f-text); color: rgb(244 236 224 / .66); }
.zc-hpg__outro .u-btn { margin-top: 24px; }
.zc-hpg__progress { display: none; }
@media (max-width: 760px) {
  .zc-hpg__item { flex: 1 1 100%; }
  .zc-hpg__frame { width: 100%; height: auto; }
  .zc-hpg__outro { text-align: left; }
}
.zc-hpg__bar { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
/* živě: pin a vodorovný pás, na počítači i na mobilu */
.zc-hpg.is-pinned .zc-hpg__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  box-sizing: border-box;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.zc-hpg.is-pinned .zc-hpg__ghost {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  margin: 0;
  translate: 0 -54%;
  white-space: nowrap;
  font: 400 italic 26vw/.8 var(--f-disp);
  letter-spacing: -.04em;
  color: rgb(244 236 224 / .08);
  pointer-events: none;
  will-change: transform;
}
.zc-hpg.is-pinned .zc-hpg__track {
  position: relative;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  max-width: none;
  margin: 0;
  width: max-content;
  overflow: visible;
  scroll-snap-type: none;
  gap: clamp(28px, 3.2vw, 60px);
  padding: 0 var(--gut);
  will-change: transform;
}
.zc-hpg.is-pinned .zc-hpg__item { flex: none; }
.zc-hpg.is-pinned .zc-hpg__intro { flex: 0 0 auto; width: min(40vw, 620px); }
.zc-hpg.is-pinned .zc-hpg__outro { margin: 0; text-align: left; }
.zc-hpg.is-pinned .zc-hpg__outro { flex: 0 0 auto; width: min(38vw, 560px); padding-right: 4vw; }
.zc-hpg.is-pinned .zc-hpg__frame { width: auto; height: var(--h-land); }
.zc-hpg.is-pinned .is-port .zc-hpg__frame { width: auto; height: var(--h-port); }
.zc-hpg.is-pinned .is-sq .zc-hpg__frame { width: auto; height: var(--h-sq); }
.zc-hpg.is-pinned .zc-hpg__item:nth-child(even) { translate: 0 -4svh; }
.zc-hpg.is-pinned .zc-hpg__item:nth-child(odd) { translate: 0 5svh; }
/* fotka je o 18 % širší než rám, paralaxa ji posune nejvýš o 7 % */
.zc-hpg.is-pinned .zc-hpg__frame img { left: -9%; width: 118%; will-change: transform; }
.zc-hpg.is-pinned .zc-hpg__item figcaption > * {
  opacity: 0;
  translate: 0 14px;
  transition: opacity .7s cubic-bezier(.22,1,.36,1), translate .8s cubic-bezier(.22,1,.36,1);
}
.zc-hpg.is-pinned .zc-hpg__item.is-in figcaption > * { opacity: 1; translate: 0 0; }
.zc-hpg.is-pinned .zc-hpg__item.is-in .zc-hpg__note { transition-delay: .08s; }
.zc-hpg.is-pinned .zc-hpg__progress { display: block; position: absolute; left: var(--gut); right: var(--gut); bottom: 6svh; height: 2px; margin: 0; border-radius: 2px; background: rgb(244 236 224 / .16); overflow: hidden; }
/* mobil: stránka se zastaví a fotky jedou do strany, teprve pak se pokračuje dolů */
@media (max-width: 760px) {
  .zc-hpg { --h-land: 30svh; --h-port: 46svh; --h-sq: 34svh; }
  .zc-hpg.is-pinned .zc-hpg__track { gap: 22px; }
  .zc-hpg.is-pinned .zc-hpg__intro { width: 80vw; }
  .zc-hpg.is-pinned .zc-hpg__outro { width: 80vw; padding-right: 0; }
  .zc-hpg.is-pinned .zc-hpg__ghost { font-size: 44vw; }
  .zc-hpg.is-pinned .zc-hpg__item:nth-child(n) { translate: none; }
  .zc-hpg.is-pinned .zc-hpg__progress { bottom: 5svh; }
}

/* -------- 6b. ceny pobytů: tři karty, paprsek jen na prostřední (068) ---- */
/* ⚠ ZMĚNA proti 068: paprsek točí transform (ne @property úhel) a oběhne kartu
   pokaždé, když na ni člověk dojede nebo najede, nikdy dokola */
.zc-pr {
  position: relative;
  isolation: isolate;
  padding: clamp(90px, 14svh, 170px) var(--gut);
  background: var(--sand);
  color: var(--ink-d);
}
.zc-pr::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none; background-image: var(--zrno); }
.zc-pr__head, .zc-shop__head { max-width: 900px; margin: 0 auto; text-align: center; }
.zc-pr__head .u-h2, .zc-shop__head .u-h2 { max-width: 12ch; margin: 0 auto; }
.zc-pr__head .u-lede, .zc-shop__head .u-lede { margin: clamp(20px, 3svh, 30px) auto 0; max-width: 44ch; color: rgb(27 21 18 / .72); }
.zc-pr__note, .zc-shop__note, .zc-vr__note {
  display: inline-block;
  margin: 8px 0 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgb(27 21 18 / .08);
  font: 600 12px/1 var(--f-text);
  letter-spacing: .02em;
  color: rgb(27 21 18 / .72);
}
.zc-pr__grid {
  max-width: 1180px;
  margin: clamp(44px, 7svh, 80px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
}
.zc-pr__card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: 26px;
  background: var(--sand-2);
  box-shadow: inset 0 0 0 1px rgb(27 21 18 / .08), 0 30px 60px -44px rgb(52 32 14 / .5);
}
.zc-pr__photo { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: rgb(27 21 18 / .1); }
.zc-pr__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.zc-pr__body { display: flex; flex-direction: column; flex: 1; padding: 20px 14px 14px; }
.zc-pr__name { margin: 0; font: 400 clamp(28px, 2.5vw, 38px)/1 var(--f-disp); font-optical-sizing: auto; letter-spacing: -.03em; }
.zc-pr__price { margin: 14px 0 0; font: 800 clamp(34px, 3vw, 46px)/1 var(--f-hero); letter-spacing: .01em; }
.zc-pr__from, .zc-pr__per { font: 500 14px/1 var(--f-text); letter-spacing: 0; opacity: .66; }
.zc-pr__per { display: inline-block; }
.zc-pr__list { list-style: none; margin: 20px 0 26px; padding: 18px 0 0; border-top: 1px solid rgb(27 21 18 / .12); display: grid; gap: 10px; }
.zc-pr__list li { position: relative; padding-left: 20px; font: 400 15px/1.45 var(--f-text); }
.zc-pr__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.zc-pr__btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1.5px rgb(27 21 18 / .24);
  color: inherit;
  font: 600 16px/1 var(--f-text);
  text-decoration: none;
  transition: background-color .25s cubic-bezier(.22,1,.36,1), color .25s cubic-bezier(.22,1,.36,1), transform .2s cubic-bezier(.22,1,.36,1);
}
.zc-pr__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.zc-pr__btn:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .zc-pr__btn:hover { background: var(--ink-d); color: var(--sand-2); }
  .zc-pr__card:hover .zc-pr__photo img { transform: scale(1.04); }
}
/* doporučený: tmavý, o kus vyšší, s akcentní hranou i bez paprsku */
.zc-pr__card.is-pick { padding: 12px; background: var(--dark-3); color: var(--ink-l); box-shadow: inset 0 0 0 1px rgb(210 98 44 / .4), 0 40px 80px -40px rgb(40 20 8 / .7); }
.zc-pr__card.is-pick .zc-pr__photo { aspect-ratio: 5 / 4; }
.zc-pr__card.is-pick .zc-pr__body { padding: 24px 16px 18px; }
.zc-pr__card.is-pick .zc-pr__price { color: var(--accent-hi); }
.zc-pr__card.is-pick .zc-pr__list { border-top-color: rgb(244 236 224 / .14); }
.zc-pr__card.is-pick .u-press { display: block; margin-top: auto; }
.zc-pr__card.is-pick .u-press__front { text-align: center; }
.zc-pr__ribbon { position: absolute; z-index: 1; top: 14px; right: 14px; padding: 8px 12px; border-radius: 999px; background: var(--accent); color: #1d0f07; font: 600 12px/1 var(--f-text); letter-spacing: .02em; }
.zc-pr__beam {
  position: absolute;
  inset: -2px;
  z-index: 2;
  padding: 2px;
  border-radius: 28px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity .5s cubic-bezier(.22,1,.36,1);
}
.zc-pr__ray {
  position: absolute;
  left: 50%; top: 50%;
  width: 260%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: conic-gradient(transparent 0 72%, rgb(210 98 44 / .75) 84%, #ffe3c6 90%, rgb(232 130 63 / .75) 95%, transparent 100%);
}
.zc-pr__card.is-beaming .zc-pr__beam { opacity: 1; transition-duration: .2s; }
.zc-pr__card.is-beaming .zc-pr__ray { animation: zc-pr-spin 2.4s cubic-bezier(.45,.05,.35,1) both; }
@keyframes zc-pr-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .zc-pr__grid { grid-template-columns: minmax(0, 1fr); max-width: 460px; gap: 22px; }
  .zc-pr__card.is-pick .zc-pr__photo { aspect-ratio: 4 / 3; }
}
:is([data-motion="off"], .no-motion) .zc-pr__beam { display: none; }
:is([data-motion="off"], .no-motion) :is(.zc-pr__btn, .zc-pr__photo img) { transition: none; }

/* -------------------------- 7. galerie: dlaždice na celou plochu (026) --- */
.zc-gtf {
  --row: clamp(92px, 10.2vw, 156px);
  --gap: clamp(8px, 1.1vw, 16px);
  --radius: 14px;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background: var(--dark-2);
  color: var(--ink-l);
  padding: clamp(80px, 11vw, 150px) clamp(16px, 4vw, 64px) clamp(64px, 9vw, 130px);
}
.zc-gtf::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none; background-image: var(--zrno); }
.zc-gtf__head {
  max-width: 1320px;
  margin: 0 auto clamp(32px, 4.5vw, 60px);
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: center;
  text-align: center;
  gap: 18px 48px;
}
.zc-gtf__head .u-h2 { max-width: none; }
.zc-gtf__head .u-lede { color: rgb(244 236 224 / .66); max-width: 34ch; }
.zc-gtf__grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: var(--row);
  gap: var(--gap);
}
.zc-gtf__tile:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 3; }
.zc-gtf__tile:nth-child(2) { grid-column: 5 / 7; grid-row: 1 / 4; }
.zc-gtf__tile:nth-child(3) { grid-column: 1 / 3; grid-row: 3 / 5; }
.zc-gtf__tile:nth-child(4) { grid-column: 3 / 5; grid-row: 3 / 5; }
.zc-gtf__tile:nth-child(5) { grid-column: 5 / 7; grid-row: 4 / 7; }
.zc-gtf__tile:nth-child(6) { grid-column: 1 / 3; grid-row: 5 / 7; }
.zc-gtf__tile:nth-child(7) { grid-column: 3 / 5; grid-row: 5 / 7; }
.zc-gtf__tile:nth-child(8) { grid-column: 1 / 7; grid-row: 7 / 9; }
.zc-gtf__tile {
  position: relative;
  display: block;
  margin: 0; padding: 0; border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #2a211b;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.zc-gtf__pic { position: absolute; inset: 0; display: block; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.zc-gtf__pic img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1.3s cubic-bezier(.22,1,.36,1), filter .6s cubic-bezier(.22,1,.36,1);
  filter: brightness(.9) saturate(1.02);
}
.zc-gtf__tile::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to top, rgb(12 8 6 / .72), transparent);
  pointer-events: none;
}
.zc-gtf__cap {
  position: absolute;
  left: clamp(12px, 1.4vw, 20px);
  right: 12px;
  bottom: clamp(10px, 1.2vw, 18px);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 clamp(14px, 1.15vw, 17px)/1.2 var(--f-text);
  letter-spacing: -.01em;
  text-shadow: 0 1px 12px rgb(0 0 0 / .4);
}
.zc-gtf__cap::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(.85);
  opacity: 0;
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .3s cubic-bezier(.22,1,.36,1);
}
.zc-gtf__tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.zc-gtf__tile:active .zc-gtf__pic { transform: scale(.975); }
@media (hover: hover) and (pointer: fine) {
  .zc-gtf__tile:hover .zc-gtf__pic img { transform: scale(1.06); filter: brightness(1) saturate(1.06); }
  .zc-gtf__tile:hover .zc-gtf__cap::before { transform: none; opacity: 1; }
}
.zc-gtf__view { position: fixed; inset: 0; z-index: 1000; overflow: hidden; overscroll-behavior: contain; }
.zc-gtf__shade { position: absolute; inset: 0; background: rgb(12 9 7 / .8); }
.zc-gtf__big {
  position: absolute;
  max-width: none;
  display: block;
  object-fit: cover;
  transform-origin: 50% 50%;
  will-change: transform, clip-path;
  cursor: zoom-out;
}
.zc-gtf__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgb(12 8 6 / .88), rgb(12 8 6 / .35) 42%, transparent 64%),
    linear-gradient(to bottom, rgb(12 8 6 / .45), transparent 22%);
}
.zc-gtf__info {
  position: absolute;
  left: clamp(20px, 5vw, 88px);
  right: clamp(20px, 5vw, 88px);
  bottom: clamp(32px, 8svh, 90px);
  max-width: 980px;
  pointer-events: none;
}
.zc-gtf__vtitle, .zc-gtf__vtext { margin: 0; overflow: hidden; }
.zc-gtf__vtitle span, .zc-gtf__vtext span { display: block; }
.zc-gtf__vtitle {
  font: 400 clamp(44px, 8vw, 136px)/.96 var(--f-disp);
  font-optical-sizing: auto;
  letter-spacing: -.04em;
  text-wrap: balance;
  padding: .18em 0 .06em;
  margin-top: -.18em;
}
.zc-gtf__vtext {
  margin-top: clamp(14px, 2vw, 24px);
  max-width: 44ch;
  font: 400 clamp(16px, 1.35vw, 19px)/1.55 var(--f-text);
  color: rgb(244 236 224 / .88);
  text-wrap: pretty;
}
.zc-gtf__close {
  position: absolute;
  top: clamp(14px, 3vw, 32px);
  right: clamp(14px, 3vw, 32px);
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  padding: 0; border: 0;
  border-radius: 50%;
  color: var(--ink-l);
  background: rgb(24 18 14 / .66);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), inset 0 -1px 0 rgb(0 0 0 / .4), 0 10px 30px rgb(0 0 0 / .35);
  cursor: pointer;
  transition: background-color .3s cubic-bezier(.22,1,.36,1), color .3s cubic-bezier(.22,1,.36,1);
}
.zc-gtf__close:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.zc-gtf__close:active { background: var(--accent); color: #1a0f0a; }
@media (hover: hover) and (pointer: fine) {
  .zc-gtf__close:hover { background: var(--accent); color: #1a0f0a; }
}
@media (max-width: 760px) {
  .zc-gtf { --row: 44vw; --radius: 10px; }
  .zc-gtf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zc-gtf__tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; }
  .zc-gtf__tile:nth-child(2) { grid-column: 1 / 2; grid-row: 2 / 4; }
  .zc-gtf__tile:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
  .zc-gtf__tile:nth-child(4) { grid-column: 2 / 3; grid-row: 3 / 4; }
  .zc-gtf__tile:nth-child(5) { grid-column: 2 / 3; grid-row: 4 / 6; }
  .zc-gtf__tile:nth-child(6) { grid-column: 1 / 2; grid-row: 4 / 5; }
  .zc-gtf__tile:nth-child(7) { grid-column: 1 / 2; grid-row: 5 / 6; }
  .zc-gtf__tile:nth-child(8) { grid-column: 1 / 3; grid-row: 6 / 7; }
  .zc-gtf__cap { font-size: 14px; }
}
:is([data-motion="off"], .no-motion) .zc-gtf :is(.zc-gtf__pic, .zc-gtf__pic img, .zc-gtf__close) { transition: none; }

/* ------------------------ 8. cesta na hřeben: trasa se kreslí (010) ------ */
.zc-spd {
  --case: #f7f3ea;
  --width: 4px;
  --accent: #c63b2a;   /* červená turistická značka jako v katalogu 010 */
  --stop-gap: clamp(140px, 26svh, 280px);   /* místo na vlásenky do stran */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(90px, 16svh, 170px) var(--gut) clamp(80px, 14svh, 160px);
  background: var(--sand);
  color: var(--ink-d);
}
.zc-spd::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none; background-image: var(--zrno); }
.zc-spd__head { max-width: 1240px; margin: 0 auto; text-align: center; }
.zc-spd__head .u-h2 {
  max-width: 12ch;
  margin: 0 auto;
  font: 800 clamp(58px, 10.5vw, 176px)/1 var(--f-hero);
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.zc-spd__head .u-lede { margin: clamp(22px, 3svh, 34px) auto 0; max-width: 44ch; color: rgb(27 21 18 / .72); }
.zc-spd__route { position: relative; max-width: 1240px; margin: clamp(40px, 7svh, 80px) auto 0; }
.zc-spd__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.zc-spd__svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.zc-spd__ghost { stroke: rgb(27 21 18 / .26); stroke-width: 2px; stroke-dasharray: 1 9; }
.zc-spd__case { stroke: var(--case); stroke-width: calc(var(--width) + 6px); }
.zc-spd__line { stroke: var(--accent); stroke-width: var(--width); }
.zc-spd__pin {
  position: absolute;
  z-index: 2;
  left: 50%; top: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 5px solid var(--case);
  background: var(--accent);
  box-shadow: 0 4px 14px rgb(40 26 16 / .3);
}
.zc-spd__pin::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
}
.zc-spd__tip {
  position: absolute;
  z-index: 3;
  left: 0; top: 0;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--ink-d);
  box-shadow: 0 0 0 5px var(--case), 0 6px 18px rgb(40 26 16 / .35);
  opacity: 0;
  will-change: transform;
}
.zc-spd__start { position: relative; height: clamp(170px, 24svh, 260px); }
.zc-spd__start .zc-spd__pin { top: 30px; }
.zc-spd__start-label {
  position: absolute;
  top: 30px;
  left: calc(50% + 26px);
  margin: 0;
  transform: translateY(-50%);
  font: 600 14px/1 var(--f-text);
  white-space: nowrap;
}
.zc-spd__stops { list-style: none; margin: 0; padding: 0; }
.zc-spd__stop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(70px, 10vw, 150px);
}
.zc-spd__stop + .zc-spd__stop { margin-top: var(--stop-gap); }
.zc-spd__stop:nth-child(even) .zc-spd__photo { order: 2; }
.zc-spd__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  background: rgb(27 21 18 / .12);
  box-shadow: 0 40px 70px -40px rgb(40 26 16 / .5);
}
.zc-spd__stop:nth-child(2) .zc-spd__photo { aspect-ratio: 5 / 4; }
.zc-spd__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zc-spd__when { margin: 0 0 12px; font: 600 15px/1 var(--f-text); color: var(--accent); }
.zc-spd__name {
  margin: 0;
  font: 800 clamp(48px, 6.6vw, 112px)/.94 var(--f-hero);
  text-transform: uppercase;
  text-wrap: balance;
}
.zc-spd__text { margin: 18px 0 0; max-width: 34ch; font: 400 clamp(15px, 1.3vw, 18px)/1.6 var(--f-text); color: rgb(27 21 18 / .76); }
@media (max-width: 760px) {
  .zc-spd { --stop-gap: 170px; }
  .zc-spd__head { text-align: left; }
  .zc-spd__head .u-h2 { margin: 0; font-size: clamp(52px, 15vw, 76px); }
  .zc-spd__head .u-lede { margin-left: 0; }
  .zc-spd__route { padding-left: 46px; }
  .zc-spd__pin { left: -22px; }
  .zc-spd__start { height: 76px; }
  .zc-spd__start .zc-spd__pin { left: -22px; top: 20px; }
  .zc-spd__start-label { left: 0; top: 20px; }
  .zc-spd__stop { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .zc-spd__stop:nth-child(even) .zc-spd__photo { order: 0; }
  .zc-spd__stop .zc-spd__pin { top: 0; margin-top: 18px; }
  .zc-spd__photo, .zc-spd__stop:nth-child(2) .zc-spd__photo { aspect-ratio: 4 / 3; border-radius: 14px; }
  .zc-spd__name { font-size: clamp(44px, 13vw, 64px); }
}
/* choreografie: zastávka čeká, dokud k ní čára nedojede */
.zc-spd.is-live .zc-spd__tip { opacity: 1; }
.zc-spd.is-live .zc-spd__photo {
  clip-path: inset(0 round 20px);
  transition: clip-path 1.1s cubic-bezier(.22,1,.36,1), opacity .6s cubic-bezier(.22,1,.36,1);
}
.zc-spd.is-live .zc-spd__photo img { transition: transform 1.6s cubic-bezier(.22,1,.36,1); }
.zc-spd.is-live .zc-spd__copy > *,
.zc-spd.is-live .zc-spd__start-label {
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1), filter .8s cubic-bezier(.22,1,.36,1);
}
.zc-spd.is-live .zc-spd__copy > :nth-child(2) { transition-delay: .08s; }
.zc-spd.is-live .zc-spd__copy > :nth-child(3) { transition-delay: .16s; }
.zc-spd.is-live .zc-spd__pin { transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .3s cubic-bezier(.22,1,.36,1); }
.zc-spd.is-live .zc-spd__pin::after { transition: transform .9s cubic-bezier(.22,1,.36,1), opacity .9s cubic-bezier(.22,1,.36,1); transform: scale(.6); }
.zc-spd.is-live :not(.is-on) > .zc-spd__photo { clip-path: inset(18% 22% 18% 22% round 20px); opacity: 0; }
.zc-spd.is-live :not(.is-on) > .zc-spd__photo img { transform: scale(1.25); }
.zc-spd.is-live :not(.is-on) > .zc-spd__copy > *,
.zc-spd.is-live :not(.is-on) > .zc-spd__start-label { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.zc-spd.is-live :not(.is-on) > .zc-spd__start-label { transform: translate(0, -20%); }
.zc-spd.is-live .is-on > .zc-spd__pin::after { transform: scale(1.5); opacity: 0; }
.zc-spd.is-live :not(.is-on) > .zc-spd__pin::after { opacity: .9; transition: none; }

/* ------------------ 8b. kde se u nás sedí: akordeon fotek (021) ---------- */
/* ⚠ ZMĚNA proti 021: bez návodného textu pod nadpisem, tmavá plocha mezi dvěma světlými */
@property --ag-dim { syntax: "<number>"; inherits: true; initial-value: .4; }
.zc-ag {
  --ag-gap: 8px;       /* čte i JS */
  --ag-radius: 16px;   /* čte i JS */
  --ag-height: clamp(440px, 68svh, 720px);
  position: relative;
  isolation: isolate;
  background: var(--dark);
  color: var(--ink-l);
  padding: clamp(90px, 14svh, 170px) clamp(16px, 4vw, 64px) clamp(70px, 10svh, 130px);
}
.zc-ag::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none; background-image: var(--zrno); }
.zc-ag__head { max-width: 900px; margin: 0 auto clamp(32px, 5svh, 56px); text-align: center; }
.zc-ag__head .u-h2 { max-width: 12ch; margin: 0 auto; }
.zc-ag__head .u-lede { margin: clamp(18px, 2.6svh, 26px) auto 0; color: rgb(244 236 224 / .7); }
.zc-ag__track { position: relative; max-width: 1320px; height: var(--ag-height); margin: 0 auto; contain: layout paint; }
/* každý pruh leží přes celou dráhu, vidět je jen jeho výřez (clip-path): rozvržení se nehýbe */
.zc-ag__item {
  position: absolute;
  inset: 0;
  margin: 0; padding: 0; border: 0;
  background: #2a211b;
  color: var(--ink-l);
  text-align: left;
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  clip-path: inset(0 100% 0 0 round var(--ag-radius));
}
.zc-ag__item img { position: absolute; left: 0; top: 0; width: 50%; height: 100%; object-fit: cover; transform-origin: 50% 50%; will-change: transform; pointer-events: none; -webkit-user-drag: none; }
.zc-ag__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgb(14 10 8 / .8), rgb(14 10 8 / .18) 46%, transparent 70%),
    rgb(16 12 10 / var(--ag-dim, .4));
  transition: --ag-dim .6s cubic-bezier(.22,1,.36,1);
}
.zc-ag__item.is-active .zc-ag__shade { --ag-dim: 0; }
.zc-ag__label {
  position: absolute;
  left: 0;
  bottom: 26px;
  writing-mode: vertical-rl;   /* otočení o 180° dává JS do transformu ZA posun: samostatné
                                  rotate by se provedlo dřív a posun by poslalo za levý okraj */
  white-space: nowrap;
  font: 600 13px/1 var(--f-text);
  letter-spacing: .04em;
  color: rgb(244 236 224 / .9);
  pointer-events: none;
  transition: opacity .35s cubic-bezier(.22,1,.36,1) .1s, visibility 0s linear 0s;
}
.zc-ag__item.is-active .zc-ag__label { opacity: 0; visibility: hidden; transition: opacity .2s cubic-bezier(.22,1,.36,1), visibility 0s linear .2s; }
.zc-ag__cap {
  position: absolute;
  left: 0; bottom: 0;
  box-sizing: border-box;
  width: 50%;
  padding: 0 clamp(20px, 2.6vw, 40px) clamp(22px, 3vw, 40px);
  display: grid;
  gap: 12px;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear .3s;
}
.zc-ag__item.is-active .zc-ag__cap { visibility: visible; transition: none; }
.zc-ag__name { display: block; overflow: hidden; padding-bottom: .1em; font: 400 clamp(34px, 3.6vw, 58px)/1 var(--f-disp); font-optical-sizing: auto; letter-spacing: -.03em; }
.zc-ag__name > span { display: inline-block; translate: 0 108%; transition: translate .35s cubic-bezier(.4,0,.6,1); }
.zc-ag__text { max-width: 30ch; font: 400 clamp(15px, 1.15vw, 17px)/1.45 var(--f-text); color: rgb(244 236 224 / .88); opacity: 0; translate: 0 14px; transition: opacity .25s cubic-bezier(.22,1,.36,1), translate .25s cubic-bezier(.22,1,.36,1); }
.zc-ag__item.is-active .zc-ag__name > span { translate: 0 0; transition: translate .8s cubic-bezier(.22,1,.36,1) .24s; }
.zc-ag__item.is-active .zc-ag__text { opacity: 1; translate: 0 0; transition: opacity .7s cubic-bezier(.22,1,.36,1) .38s, translate .8s cubic-bezier(.22,1,.36,1) .38s; }
.zc-ag__item:focus-visible { outline: none; }
.zc-ag__item:focus-visible .zc-ag__name > span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.zc-ag__item:active .zc-ag__shade { --ag-dim: .5; }
@media (hover: hover) and (pointer: fine) {
  .zc-ag__item:not(.is-active):hover .zc-ag__shade { --ag-dim: .18; }
}
/* mobil: pruhy pod sebou */
@media (max-width: 760px) {
  .zc-ag { --ag-height: clamp(540px, 150vw, 680px); --ag-gap: 6px; --ag-radius: 14px; }
  .zc-ag__item img { width: 100%; height: 50%; }
  .zc-ag__label { bottom: auto; top: 0; left: 20px; writing-mode: horizontal-tb; font-size: 15px; }
  .zc-ag__cap { top: 0; bottom: auto; width: 100%; height: 50%; align-content: end; }
  .zc-ag__name { font-size: 36px; }
}
:is([data-motion="off"], .no-motion) .zc-ag :is(.zc-ag__shade, .zc-ag__label, .zc-ag__cap, .zc-ag__name > span, .zc-ag__text) { transition: none !important; }

/* -------------------------- 9. vrstvy krajiny: paralaxní koláž (013) ---- */
.zc-pdl {
  --length: 260svh;
  --travel: .44;
  position: relative;
  height: var(--length);
  background: var(--sand-2);
  color: var(--ink-d);
}
.zc-pdl__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: radial-gradient(70% 60% at 50% 48%, #fbf6ec, var(--sand-2) 72%);
}
.zc-pdl__head {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 0 var(--gut);
  text-align: center;
  pointer-events: none;
  will-change: transform;
}
.zc-pdl__title {
  margin: 0;
  max-width: 7em;
  font: 400 clamp(48px, 9vw, 166px)/.96 var(--f-disp);
  font-optical-sizing: auto;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.zc-pdl__title em { font-style: italic; color: var(--accent); }
.zc-pdl__lede {
  margin: clamp(18px, 2.4vw, 32px) 0 0;
  max-width: 36ch;
  font: 400 clamp(15px, 1.2vw, 18px)/1.6 var(--f-text);
  color: rgb(27 21 18 / .74);
  text-wrap: pretty;
}
.zc-pdl__item {
  position: absolute;
  z-index: var(--z, 1);
  left: var(--x);
  top: var(--y);
  width: var(--w);
  margin: 0;
  will-change: transform;
  backface-visibility: hidden;
}
.zc-pdl__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 34px 60px -26px rgb(52 32 14 / .45), 0 2px 6px rgb(52 32 14 / .12);
}
.zc-pdl__item[style*="--z:1"] img,
.zc-pdl__item[style*="--z:2"] img {
  filter: saturate(.78) contrast(.9) brightness(1.06);
  opacity: .9;
  box-shadow: 0 18px 34px -22px rgb(52 32 14 / .3);
}
.zc-pdl__item[style*="--z:3"] img { filter: saturate(.9) contrast(.96); }
@media (max-width: 760px) {
  .zc-pdl { --length: 225svh; }
  .zc-pdl__item { left: var(--mx); top: var(--my); width: var(--mw); }
  .zc-pdl__title { font-size: clamp(42px, 13vw, 84px); }
}
:is([data-motion="off"], .no-motion) .zc-pdl { height: auto; }
:is([data-motion="off"], .no-motion) .zc-pdl__stage { position: relative; }
:is([data-motion="off"], .no-motion) .zc-pdl__item { transform: rotate(var(--r, 0deg)); }
:is([data-motion="off"], .no-motion) .zc-pdl__item[style*="--oy"] { left: var(--ox); top: var(--oy); width: var(--ow); }
@media (max-width: 760px) {
  :is([data-motion="off"], .no-motion) .zc-pdl__item[style*="--oy"] { width: calc(var(--ow) * 2.6); }
}

/* ------------- 9b. sauna: bloky vjíždějí čistým CSS, view() (018) -------- */
/* bez JS: každý vjezd je jedna třída .zc-vr--*. Bez podpory animation-timeline
   nebo s vypnutými animacemi se nic nepoužije a vše je rovnou vidět. */
.zc-vr {
  --vr-radius: 16px;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding: clamp(90px, 16svh, 170px) var(--gut) clamp(80px, 14svh, 150px);
  background: var(--dark);
  color: var(--ink-l);
}
.zc-vr::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none; background-image: var(--zrno); }
.zc-vr > * { max-width: 1240px; margin-inline: auto; }
.zc-vr img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* ⚠ :where — jinak by .zc-vr figure přebilo margin-top u .zc-vr__wide a __finale */
.zc-vr :where(figure) { margin-block: 0; }
.zc-vr__head { text-align: center; }
.zc-vr__head .u-h2 { max-width: 11ch; margin-inline: auto; }
.zc-vr__head .u-lede { margin: clamp(20px, 3svh, 30px) auto 0; max-width: 42ch; color: rgb(244 236 224 / .72); }
.zc-vr__wide { margin-top: clamp(56px, 10svh, 120px); aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--vr-radius); }
.zc-vr__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: clamp(32px, 7vw, 120px); margin-top: clamp(90px, 16svh, 180px); }
.zc-vr__h3 { margin: 0 0 20px; font: 400 clamp(40px, 5vw, 84px)/.98 var(--f-disp); font-optical-sizing: auto; letter-spacing: -.035em; text-wrap: balance; }
.zc-vr__text { margin: 0; max-width: 36ch; font: 400 clamp(16px, 1.3vw, 19px)/1.6 var(--f-text); color: rgb(244 236 224 / .74); }
.zc-vr__tall { margin-inline: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--vr-radius); }
.zc-vr__trio { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); margin-top: clamp(90px, 16svh, 180px); }
.zc-vr__trio li { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--vr-radius); }
.zc-vr__trio li:nth-child(2) { translate: 0 12%; }
.zc-vr__menu { max-width: 940px; margin-top: clamp(130px, 22svh, 230px); text-align: center; }
.zc-vr__rows { list-style: none; margin: 0; padding: 0; text-align: left; }
.zc-vr__row { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 22px 0; font: 500 clamp(18px, 1.8vw, 26px)/1.3 var(--f-text); letter-spacing: -.01em; }
.zc-vr__row::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgb(244 236 224 / .2); transform-origin: 0 50%; }
.zc-vr__row b { flex: none; font: 800 clamp(22px, 2vw, 30px)/1 var(--f-hero); letter-spacing: .02em; color: var(--accent-hi); white-space: nowrap; }
.zc-vr__note { margin-top: 26px; background: rgb(244 236 224 / .08); color: rgb(244 236 224 / .72); }
.zc-vr__finale { position: relative; margin-top: clamp(110px, 18svh, 200px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--vr-radius); }
.zc-vr__finale::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(12 9 8 / .8), rgb(12 9 8 / .05) 60%); }
.zc-vr__cap { position: absolute; z-index: 1; left: clamp(18px, 4vw, 56px); right: clamp(18px, 4vw, 56px); bottom: clamp(18px, 4vw, 52px); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; }
.zc-vr__cap-title { margin: 0; max-width: 12ch; font: 400 clamp(38px, 5.6vw, 96px)/.95 var(--f-disp); font-optical-sizing: auto; letter-spacing: -.04em; text-wrap: balance; }
@media (max-width: 760px) {
  .zc-vr__split { grid-template-columns: minmax(0, 1fr); }
  .zc-vr__wide { aspect-ratio: 4 / 5; }
  .zc-vr__trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zc-vr__trio li:nth-child(2) { translate: 0 10%; }
  .zc-vr__trio li:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 10; margin-top: 10%; }
  .zc-vr__row { flex-direction: column; gap: 8px; padding: 18px 0; }
  .zc-vr__finale { aspect-ratio: 4 / 5; }
}
@supports (animation-timeline: view()) {
  :root:not([data-motion="off"]):not(.no-motion) .zc-vr--focus { animation: zc-vr-focus linear both; animation-timeline: view(); animation-range: entry 10% cover 34%; }
  :root:not([data-motion="off"]):not(.no-motion) .u-lede.zc-vr--focus { animation-range: entry 30% cover 40%; }
  :root:not([data-motion="off"]):not(.no-motion) .zc-vr--slit { animation: zc-vr-slit linear both; animation-timeline: view(); animation-range: entry 0% cover 48%; }
  :root:not([data-motion="off"]):not(.no-motion) .zc-vr--slit img { animation: zc-vr-settle linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  :root:not([data-motion="off"]):not(.no-motion) .zc-vr--from-left { animation: zc-vr-from-left linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
  :root:not([data-motion="off"]):not(.no-motion) .zc-vr--from-right { animation: zc-vr-from-right linear both; animation-timeline: view(); animation-range: entry 10% cover 46%; }
  :root:not([data-motion="off"]):not(.no-motion) .zc-vr--rise { animation: zc-vr-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
  :root:not([data-motion="off"]):not(.no-motion) .zc-vr--rise:nth-child(2) { animation-range: entry 14% cover 46%; }
  :root:not([data-motion="off"]):not(.no-motion) .zc-vr--rise:nth-child(3) { animation-range: entry 28% cover 54%; }
  :root:not([data-motion="off"]):not(.no-motion) .zc-vr--row { animation: zc-vr-row linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  :root:not([data-motion="off"]):not(.no-motion) .zc-vr--row::after { animation: zc-vr-line linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
  /* terasa se otevře kruhem ze středu (procento je z úhlopříčky, 72 % zakryje rohy) */
  :root:not([data-motion="off"]):not(.no-motion) .zc-vr--circle { animation: zc-vr-circle linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  :root:not([data-motion="off"]):not(.no-motion) .zc-vr--circle img { animation: zc-vr-settle linear both; animation-timeline: view(); animation-range: entry 0% exit 60%; }
  :root:not([data-motion="off"]):not(.no-motion) .zc-vr--circle .zc-vr__cap { animation: zc-vr-focus linear both; animation-timeline: view(); animation-range: entry 60% cover 62%; }
}
@keyframes zc-vr-focus { from { opacity: 0; filter: blur(12px); transform: translateY(40px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes zc-vr-slit { from { clip-path: inset(42% 8% 42% 8% round var(--vr-radius)); } to { clip-path: inset(0 0 0 0 round var(--vr-radius)); } }
@keyframes zc-vr-settle { from { transform: scale(1.3); } to { transform: scale(1.02); } }
@keyframes zc-vr-from-left { from { opacity: 0; transform: translateX(-18%); } to { opacity: 1; transform: none; } }
@keyframes zc-vr-from-right { from { opacity: .2; transform: translateX(22%) rotate(5deg) scale(.9); clip-path: inset(0 0 0 30% round var(--vr-radius)); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--vr-radius)); } }
@keyframes zc-vr-rise { from { opacity: 0; transform: translateY(26%) scale(.88); } to { opacity: 1; transform: none; } }
@keyframes zc-vr-row { from { opacity: 0; transform: translateY(60%); } to { opacity: 1; transform: none; } }
@keyframes zc-vr-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes zc-vr-circle { from { clip-path: circle(9% at 50% 50%); } to { clip-path: circle(72% at 50% 50%); } }

/* -------------------- 10. snídaně: produkt rozložený ve vzduchu (087) --- */
/* ⚠ oproti 087: hrnek je posunutý ze středu doleva, aby nepřekrýval nadpis */
.zc-pfh {
  --base: #26302a;
  --flood: var(--accent);
  --pfh-ink: #fbf3e6;
  --pfh-dark: #1c2420;
  position: relative;
  background: var(--base);
  color: var(--pfh-ink);
}
.zc-pfh__defs { position: absolute; width: 0; height: 0; }
.zc-pfh__stage {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  background: var(--base);
}
.zc-pfh__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  opacity: .045;
  pointer-events: none;
  background-image: var(--zrno);
}
.zc-pfh__flood { position: absolute; inset: 0; z-index: 0; background: var(--flood); clip-path: circle(0% at 32% 56%); }
.zc-pfh__heads {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: start;
  padding: 10svh 20px 0;
  text-align: center;
  pointer-events: none;
}
.zc-pfh__head {
  margin: 0;
  font: 400 clamp(52px, 10vw, 176px)/1 var(--f-disp);
  font-optical-sizing: auto;
  letter-spacing: -.045em;
}
.zc-pfh__head em { font-style: italic; color: #ffd9a0; }
.zc-pfh__mask { display: block; overflow: hidden; padding: .2em .1em .08em; margin: -.2em -.1em -.08em; }
.zc-pfh__line, .zc-pfh__line > span { display: block; white-space: nowrap; }
.zc-pfh__item { position: absolute; z-index: 3; }
.zc-pfh__img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 30px 34px rgb(10 18 14 / .4));
}
.zc-pfh__img.is-clean { filter: url(#zc-pfh-clean) drop-shadow(0 30px 34px rgb(10 18 14 / .4)); }
.zc-pfh__item--cup { width: clamp(260px, 32vw, 520px); left: 32%; top: 63%; margin: calc(clamp(260px, 32vw, 520px) / -2) 0 0 calc(clamp(260px, 32vw, 520px) / -2); rotate: -6deg; }
.zc-pfh__item--croissant { width: clamp(150px, 16vw, 280px); left: 76%; top: 66%; margin: -7vw 0 0 -8vw; rotate: -22deg; }
.zc-pfh__item--beans { width: clamp(120px, 13vw, 230px); left: 89%; top: 15%; margin: -6.5vw 0 0 -6.5vw; rotate: 18deg; }
.zc-pfh__item--beans-far { z-index: 1; width: clamp(80px, 8vw, 150px); left: 11%; top: 14%; margin: -4vw 0 0 -4vw; rotate: -30deg; }
.zc-pfh__item--beans-far .zc-pfh__img { filter: blur(3px) drop-shadow(0 20px 20px rgb(10 18 14 / .3)); }
.zc-pfh__item--leaf { z-index: 1; width: clamp(130px, 15vw, 250px); left: 78%; top: 36%; margin: -7.5vw 0 0 -7.5vw; rotate: 28deg; }
.zc-pfh__img { animation: zc-pfh-bob 7s cubic-bezier(.45,0,.55,1) infinite alternate; }
.zc-pfh__item--croissant .zc-pfh__img { animation-duration: 9s; animation-delay: -3s; }
.zc-pfh__item--beans .zc-pfh__img { animation-duration: 11s; animation-delay: -5s; }
.zc-pfh__item--leaf .zc-pfh__img { animation-duration: 13s; animation-delay: -2s; }
.zc-pfh__item--beans-far .zc-pfh__img { animation-duration: 10s; animation-delay: -7s; }
@keyframes zc-pfh-bob { from { transform: translateY(-7px) rotate(-1.5deg); } to { transform: translateY(7px) rotate(1.5deg); } }
.zc-pfh__foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 5;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 24px;
  padding: 0 var(--gut) clamp(28px, 6svh, 60px);
}
.zc-pfh__foot .u-btn { flex: none; background: var(--pfh-ink); color: var(--pfh-dark); box-shadow: 0 14px 30px -14px rgb(10 18 14 / .6); }
@media (hover: hover) and (pointer: fine) {
  .zc-pfh__foot .u-btn:hover { background: #ffd9a0; }
}
/* bez JS / vypnuté animace: oba nadpisy pod sebou, nic neschované */
.zc-pfh:not(.is-live) .zc-pfh__heads { align-content: start; padding-top: 8svh; gap: 2svh; }
.zc-pfh:not(.is-live) .zc-pfh__head { font-size: clamp(44px, 7vw, 124px); }
.zc-pfh:not(.is-live) .zc-pfh__head--b { font-size: clamp(30px, 4.2vw, 72px); }
.zc-pfh:not(.is-live) .zc-pfh__item--cup { top: 66%; }
.zc-pfh.is-live .zc-pfh__head { grid-area: 1 / 1; }
@media (max-width: 760px) {
  .zc-pfh__head { font-size: clamp(46px, 14vw, 74px); }
  .zc-pfh__heads { padding-top: 17svh; }
  .zc-pfh__item--cup { width: 62vw; left: 40%; top: 56%; margin: -31vw 0 0 -31vw; }
  .zc-pfh__item--croissant { width: 30vw; left: 80%; top: 40%; margin: -15vw 0 0 -15vw; }
  .zc-pfh__item--beans { width: 25vw; left: 84%; top: 10%; margin: -12.5vw 0 0 -12.5vw; }
  .zc-pfh__item--leaf { width: 30vw; left: 14%; top: 34%; margin: -15vw 0 0 -15vw; }
  .zc-pfh__item--beans-far { display: none; }
  .zc-pfh__foot { flex-direction: column; align-items: center; text-align: center; gap: 16px; padding-bottom: 46px; }
  .zc-pfh:not(.is-live) .zc-pfh__head { font-size: 12vw; }
  .zc-pfh:not(.is-live) .zc-pfh__head--b { font-size: 8vw; }
}
:is([data-motion="off"], .no-motion) .zc-pfh__img { animation: none; }

/* --------------- 11. snídaňový lístek: pokračování oranžové snídaně ------ */
/* navazuje na konec 087 (oranžová plocha zalije scénu), stejná barva i písmo */
.zc-bm {
  --bm-ink: #fbf3e6;
  --bm-soft: rgb(251 243 230 / .74);
  --bm-line: rgb(40 16 6 / .28);
  position: relative;
  isolation: isolate;
  overflow: clip;   /* ⚠ hidden by rozbil přilepený nadpis vlevo */
  background: var(--accent);
  color: var(--bm-ink);
  padding: clamp(80px, 12svh, 150px) var(--gut) clamp(90px, 14svh, 170px);
}
.zc-bm::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none; background-image: var(--zrno); }
.zc-bm__grid {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.zc-bm__head { max-width: 46ch; }
.zc-bm__title {
  margin: 0;
  font: 400 clamp(52px, 7vw, 124px)/.95 var(--f-disp);
  font-optical-sizing: auto;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.zc-bm__title em { font-style: italic; color: #ffd9a0; }
.zc-bm__lede { margin: clamp(22px, 3svh, 32px) 0 0; max-width: 34ch; font: 400 clamp(16px, 1.3vw, 19px)/1.55 var(--f-text); color: var(--bm-soft); }
.zc-bm__note {
  display: inline-block;
  margin: 22px 0 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgb(40 16 6 / .22);
  font: 600 12px/1 var(--f-text);
  letter-spacing: .02em;
}
.zc-bm__menu { display: grid; gap: clamp(36px, 5svh, 56px); padding-top: clamp(8px, 2svh, 24px); }
.zc-bm__pic { margin: 0 0 clamp(16px, 2vw, 24px); border-radius: 18px; overflow: hidden; }
.zc-bm__pic img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 900px) {
  /* na počítači tři fotky vedle sebe, pod každou její část lístku */
  .zc-bm__menu { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); align-items: start; }
  .zc-bm__menu .u-press { grid-column: 1 / -1; justify-self: center; margin-top: 12px; }
}
.zc-bm__cat {
  margin: 0 0 14px;
  font: 800 clamp(30px, 3vw, 44px)/1 var(--f-hero);
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #2a1208;
}
.zc-bm__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bm-line); }
.zc-bm__item {
  display: grid;
  grid-template-columns: auto minmax(24px, 1fr) auto;
  align-items: baseline;
  column-gap: 12px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--bm-line);
}
.zc-bm__name { font: 500 clamp(17px, 1.45vw, 21px)/1.3 var(--f-text); }
.zc-bm__dots { align-self: end; margin-bottom: .45em; height: 2px; background: radial-gradient(circle, rgb(251 243 230 / .55) 1px, transparent 1.4px) 0 50% / 8px 2px repeat-x; transform-origin: 0 50%; }
.zc-bm__price { font: 800 clamp(20px, 1.8vw, 26px)/1 var(--f-hero); letter-spacing: .02em; white-space: nowrap; }
.zc-bm__desc { grid-column: 1 / -1; margin-top: 6px; font: 400 14px/1.45 var(--f-text); color: var(--bm-soft); }
.zc-bm__menu .u-press { justify-self: start; }
.u-press--cream .u-press__front { background: var(--bm-ink); color: #2a1208; }
.u-press--cream .u-press__edge { background: linear-gradient(180deg, #caa27c, #8a5a36); }
@media (hover: hover) and (pointer: fine) {
  .u-press--cream:hover .u-press__front { background: #ffd9a0; }
}
.zc-bm__floats { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.zc-bm__float { position: absolute; display: block; height: auto; filter: drop-shadow(0 26px 30px rgb(40 16 6 / .32)); will-change: transform; }
.zc-bm__float.is-clean { filter: url(#zc-pfh-clean) drop-shadow(0 26px 30px rgb(40 16 6 / .32)); }
.zc-bm__float--a { width: clamp(150px, 16vw, 260px); left: -3vw; bottom: 8%; rotate: -14deg; }
.zc-bm__float--b { width: clamp(90px, 9vw, 150px); left: 30vw; top: 64%; rotate: 20deg; }
.zc-bm__float--c { width: clamp(110px, 11vw, 190px); left: 38%; bottom: -4%; rotate: 32deg; opacity: .9; }
@media (max-width: 860px) {
  .zc-bm__grid { grid-template-columns: minmax(0, 1fr); }
  .zc-bm__head { position: relative; top: 0; text-align: center; }
  .zc-bm__lede { margin-inline: auto; }
  .zc-bm__menu .u-press { justify-self: center; }
  .zc-bm__cat { text-align: center; }
  .zc-bm__float--a { width: 34vw; left: -10vw; bottom: 2%; }
  .zc-bm__float--b { width: 20vw; left: auto; right: -2vw; top: 3%; }
  .zc-bm__float--c { display: none; }
}
/* živě: řádek lístku přijede zespodu a tečky se dotáhnou k ceně */
.zc-bm.is-live .zc-bm__item > * { transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--i, 0) * 70ms); }
.zc-bm.is-live .zc-bm__item:not(.is-in) > * { opacity: 0; transform: translateY(18px); }
.zc-bm.is-live .zc-bm__item:not(.is-in) > .zc-bm__dots { transform: scaleX(0); }
.zc-bm.is-live .zc-bm__item > .zc-bm__dots { transition-duration: .6s, 1.2s; }
:is([data-motion="off"], .no-motion) .zc-bm__head { position: relative; top: 0; }

/* ------------ 12. odneste si domů: produktové karty (podle 072) ---------- */
/* ⚠ ZMĚNA proti 072: bez náklonu a lesku. Šest karet 3 × 2, na mobilu dva sloupce. */
.zc-shop {
  position: relative;
  isolation: isolate;
  padding: clamp(90px, 14svh, 170px) var(--gut);
  background: var(--sand);
  color: var(--ink-d);
}
.zc-shop::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none; background-image: var(--zrno); }
.zc-shop__grid {
  list-style: none;
  padding: 0;
  max-width: 1180px;
  margin: clamp(44px, 7svh, 80px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}
.zc-shop__card { display: flex; flex-direction: column; padding: 10px; border-radius: 22px; background: var(--sand-2); box-shadow: inset 0 0 0 1px rgb(27 21 18 / .07), 0 24px 50px -38px rgb(52 32 14 / .45); }
.zc-shop__pic { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; background: rgb(27 21 18 / .08); }
.zc-shop__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.22,1,.36,1); }
/* výřez na barevné dlaždici: jemné světlo zezadu a stín pod předmětem */
.zc-shop__pic.is-tile { background: var(--tile); }
.zc-shop__pic.is-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 42%, rgb(255 250 240 / .34), transparent 70%); }
.zc-shop__pic.is-tile img { inset: 13%; width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 22px 20px rgb(60 30 10 / .3)); }
.zc-shop__body { display: flex; flex-direction: column; flex: 1; padding: 16px 10px 8px; }
.zc-shop__name { margin: 0; font: 400 clamp(22px, 1.9vw, 28px)/1.05 var(--f-disp); font-optical-sizing: auto; letter-spacing: -.025em; text-wrap: balance; }
.zc-shop__line { margin: 8px 0 0; font: 400 14.5px/1.45 var(--f-text); color: rgb(27 21 18 / .7); text-wrap: pretty; }
.zc-shop__row { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.zc-shop__price { margin: 0; font: 800 clamp(24px, 2vw, 30px)/1 var(--f-hero); letter-spacing: .01em; white-space: nowrap; }
.zc-shop__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px 0 13px;
  border: 0;
  border-radius: 999px;
  background: var(--ink-d);
  color: var(--sand-2);
  font: 600 14px/1 var(--f-text);
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s cubic-bezier(.22,1,.36,1), color .25s cubic-bezier(.22,1,.36,1), transform .18s cubic-bezier(.22,1,.36,1);
}
.zc-shop__add svg { flex: none; }
.zc-shop__i-ok { display: none; }
.zc-shop__add[aria-pressed="true"] { background: var(--accent); color: #1d0f07; }
.zc-shop__add[aria-pressed="true"] .zc-shop__i-add { display: none; }
.zc-shop__add[aria-pressed="true"] .zc-shop__i-ok { display: block; }
.zc-shop__add:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.zc-shop__add:active { transform: scale(.95); }
.zc-shop__add.is-pop { animation: zc-shop-pop .5s cubic-bezier(.3,1.7,.5,1); }
@keyframes zc-shop-pop { from { transform: scale(.88); } to { transform: none; } }
@media (hover: hover) and (pointer: fine) {
  .zc-shop__add:hover { background: var(--accent); color: #1d0f07; }
  .zc-shop__card:hover .zc-shop__pic img { transform: scale(1.04); }
}
/* malé oznámení dole: stojí MIMO sekci, izolace sekce by ho zavřela pod další sekce */
.u-toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 80;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--ink-l);
  font: 500 15px/1.3 var(--f-text);
  text-align: center;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 18px 40px -16px rgb(0 0 0 / .55);
  translate: -50% 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s cubic-bezier(.22,1,.36,1), translate .45s cubic-bezier(.22,1,.36,1), visibility 0s linear .45s;
}
.u-toast.is-on { opacity: 1; translate: -50% 0; visibility: visible; transition-delay: 0s; }
@media (max-width: 760px) {
  .zc-shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .zc-shop__card { padding: 6px; border-radius: 18px; }
  .zc-shop__pic { border-radius: 13px; }
  .zc-shop__body { padding: 12px 6px 6px; }
  .zc-shop__name { font-size: 19px; }
  .zc-shop__line { margin-top: 6px; font-size: 13px; }
  .zc-shop__row { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 12px; }
  .zc-shop__price { font-size: 23px; }
  .zc-shop__add { height: 40px; padding: 0 10px; font-size: 13.5px; gap: 6px; }
}
:is([data-motion="off"], .no-motion) :is(.zc-shop__add, .zc-shop__pic img, .u-toast) { transition: none; }

/* ---------------- 13. co bude k večeři: prstenec fotek ve 3D (024) ------- */
.zc-cg {
  --cg-card: clamp(190px, 21vw, 320px);   /* šířka fotky vepředu */
  --cg-length: 320svh;                    /* delší = pomalejší otáčení scrollem */
  position: relative;
  height: var(--cg-length);
  background: var(--dark);
  color: var(--ink-l);
  isolation: isolate;
}
.zc-cg::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none; background-image: var(--zrno); }
.zc-cg__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 600px;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  padding: clamp(72px, 11svh, 110px) var(--gut) clamp(24px, 5svh, 56px);
}
.zc-cg__stage::before {
  content: "";
  position: absolute;
  left: 50%; top: 58%;
  width: min(1100px, 120vw);
  height: 46svh;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(210 98 44 / .22), transparent);
  pointer-events: none;
}
.zc-cg__head { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 48px; max-width: 1320px; width: 100%; margin: 0 auto; }
.zc-cg__head .u-h2 { max-width: 11ch; font-size: clamp(40px, 5.4vw, 88px); }
.zc-cg__head .u-lede { color: rgb(244 236 224 / .66); max-width: 32ch; }
.zc-cg__ring { position: relative; z-index: 1; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.zc-cg__ring.is-drag { cursor: grabbing; }
.zc-cg__ring:focus-visible::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: calc(var(--cg-card) + 16px);
  aspect-ratio: 4 / 5;
  translate: -50% -50%;
  border: 2px solid var(--accent);
  border-radius: 18px;
  pointer-events: none;
}
/* ⚠ perspective působí jen na PŘÍMÉ potomky, na obalu o patro výš by prstenec byl plochý */
.zc-cg__cards { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; perspective: 1100px; perspective-origin: 50% 12%; }
.zc-cg__card {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--cg-card);
  aspect-ratio: 4 / 5;
  margin-left: calc(var(--cg-card) / -2);
  margin-top: calc(var(--cg-card) * -.625);
  border-radius: 12px;
  overflow: hidden;
  background: #241c16;
  box-shadow: 0 30px 60px -28px rgb(0 0 0 / .7);
  backface-visibility: hidden;
  will-change: transform;
}
.zc-cg__card img { width: 100%; height: 100%; display: block; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.zc-cg__shade { position: absolute; inset: 0; background: #0f0b09; opacity: 0; pointer-events: none; }
.zc-cg__foot { position: relative; z-index: 2; display: grid; grid-template-columns: 48px minmax(0, 34rem) 48px; justify-content: center; align-items: center; gap: clamp(12px, 3vw, 40px); }
.zc-cg__caption { margin: 0; display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 5.2em; text-align: center; }
.zc-cg__ctitle { font: 400 clamp(28px, 3vw, 44px)/1 var(--f-disp); font-optical-sizing: auto; letter-spacing: -.03em; }
.zc-cg__ctext { font: 400 15px/1.45 var(--f-text); color: rgb(244 236 224 / .66); text-wrap: balance; }
.zc-cg__nav {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(244 236 224 / .22);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-l);
  cursor: pointer;
  transition: background-color .3s cubic-bezier(.22,1,.36,1), color .3s cubic-bezier(.22,1,.36,1), border-color .3s cubic-bezier(.22,1,.36,1), transform .2s cubic-bezier(.22,1,.36,1);
}
.zc-cg__nav:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.zc-cg__nav:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .zc-cg__nav:hover { background: var(--accent); border-color: var(--accent); color: #1d0f07; }
}
@media (hover: none) {
  .zc-cg__card { box-shadow: none; }
}
@media (max-width: 640px) {
  .zc-cg { --cg-card: 54vw; --cg-length: 250svh; }
  .zc-cg__foot { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 10px; }
  .zc-cg__nav { width: 44px; height: 44px; }
  .zc-cg__ctext { font-size: 14px; }
}
:is([data-motion="off"], .no-motion) .zc-cg { height: auto; }
:is([data-motion="off"], .no-motion) .zc-cg__stage { position: relative; height: auto; min-height: 0; grid-template-rows: auto clamp(420px, 62svh, 640px) auto; padding-block: 12svh 10svh; }
:is([data-motion="off"], .no-motion) .zc-cg__nav { transition: none; }

/* --------------------- 13b. zeď driftujících fotek (034) ----------------- */
/* ⚠ ZMĚNA proti 034: bez návodného textu, závoj leží NAD fotkami (v 034 byl pod nimi
   a nebyl vidět), na mobilu dva sloupce přes celou výšku */
.zc-dw {
  --dw-bg: #3a1d12;
  --dw-cols: 4;
  --dw-gap: clamp(8px, 1.2vw, 16px);
  position: relative;
  isolation: isolate;
  background: var(--dw-bg);
  color: var(--ink-l);
  padding: clamp(90px, 14svh, 160px) clamp(16px, 5vw, 64px) clamp(80px, 12svh, 140px);
}
.zc-dw::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none; background-image: var(--zrno); }
.zc-dw__head { max-width: 900px; margin: 0 auto clamp(34px, 5svh, 56px); text-align: center; }
.zc-dw__head .u-h2 { max-width: 12ch; margin: 0 auto; }
.zc-dw__head .u-h2 em { color: var(--accent-hi); }
.zc-dw__wall {
  position: relative;
  height: clamp(460px, 58vw, 700px);
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(var(--dw-cols), minmax(0, 1fr));
  gap: var(--dw-gap);
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
}
.zc-dw__col { position: relative; overflow: hidden; min-width: 0; }
.zc-dw__track { will-change: transform; }
.zc-dw__track, .zc-dw__group { display: grid; gap: var(--dw-gap); }
.zc-dw__group { margin: 0; padding: 0; list-style: none; }
.zc-dw__tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  background: #4a2a1c;
  outline: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .35s cubic-bezier(.22,1,.36,1), filter .35s cubic-bezier(.22,1,.36,1);
}
.zc-dw__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; filter: saturate(1.04) contrast(1.03); }
.zc-dw__tile:focus-visible { box-shadow: 0 0 0 3px var(--accent-hi); z-index: 6; }
.zc-dw__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 14px 14px;
  background: linear-gradient(to top, rgb(20 10 6 / .92), transparent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s cubic-bezier(.22,1,.36,1), transform .3s cubic-bezier(.22,1,.36,1), visibility 0s linear .3s;
  pointer-events: none;
}
.zc-dw__cap span { display: block; font: 500 14px/1.4 var(--f-text); color: var(--ink-l); }
.zc-dw__tile.is-open .zc-dw__cap { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.zc-dw__tile.is-open, .zc-dw__tile:focus-visible { transform: scale(1.06); z-index: 5; }
.zc-dw__wall:has(.zc-dw__tile.is-open, .zc-dw__tile:focus-visible) .zc-dw__tile:not(.is-open):not(:focus-visible) { opacity: .5; filter: saturate(.55); }
@media (hover: hover) and (pointer: fine) {
  .zc-dw__tile:hover { transform: scale(1.06); z-index: 5; }
  .zc-dw__wall:has(.zc-dw__tile:hover) .zc-dw__tile:not(:hover) { opacity: .5; filter: saturate(.55); }
}
.zc-dw__veil {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to bottom, rgb(58 29 18 / .9), transparent 12%, transparent 88%, rgb(58 29 18 / .9));
}
@media (max-width: 760px) {
  .zc-dw { --dw-cols: 2; }
  .zc-dw__col:nth-child(n+3) { display: none; }
  .zc-dw__wall { height: min(128vw, 600px); border-radius: 16px; }
  .zc-dw__cap span { font-size: 13px; }
}
:is([data-motion="off"], .no-motion) :is(.zc-dw__tile, .zc-dw__cap) { transition: none !important; }

/* ------------------ 14. hesla chaty: pásy obřího textu (014) ------------- */
/* ⚠ oproti 014: rozjetí scrollem je zklidněné (boost 14 → 5, náklon 15° → 8°) */
.zc-vsm {
  --vsm-size: clamp(76px, 13.2vw, 220px);
  --vsm-boost: 5;
  --vsm-skew: 8;
  position: relative;
  padding-block: clamp(80px, 11vw, 160px) clamp(90px, 12vw, 170px);
  background: var(--sand-2);
  color: var(--ink-d);
  overflow-x: clip;
}
/* ⚠ bez animací se pás zalomí do řádků; menší písmo a volnější řádky, ať háčky verzálek nenarážejí */
.zc-vsm__strip {
  position: relative;
  padding-block: .06em;
  font-family: "Big Shoulders Display", Impact, ui-sans-serif, sans-serif;
  font-weight: 700;
  font-size: calc(var(--vsm-size) * .6);
  line-height: 1.1;
  text-transform: uppercase;
}
.zc-vsm__strip--band {
  z-index: 1;
  margin: .18em -6vw 0;
  padding-block: .14em .1em;
  background: var(--dark);
  color: var(--ink-l);
  rotate: -2.4deg;
  box-shadow: 0 30px 50px -30px rgb(30 18 10 / .55);
  isolation: isolate;
}
.zc-vsm__strip--band::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none; background-image: var(--zrno); }
.zc-vsm__track { display: block; }
.zc-vsm__group { margin: 0; padding: 0 var(--gut); display: flex; flex-wrap: wrap; align-items: center; gap: 0 .22em; }
.zc-vsm__strip--band .zc-vsm__group { padding-inline: calc(6vw + var(--gut)); }
.zc-vsm__word { white-space: nowrap; }
.zc-vsm__word--line { color: transparent; -webkit-text-stroke: max(1.5px, .012em) currentColor; }
.zc-vsm__strip--band .zc-vsm__word--line { -webkit-text-stroke-color: var(--ink-l); }
.zc-vsm__dot { flex: none; display: block; width: .74em; height: .74em; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 .045em var(--accent); translate: 0 -.02em; }
.zc-vsm__dot img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.15) saturate(1.05); }
.zc-vsm.is-live .zc-vsm__strip { font-size: var(--vsm-size); line-height: .95; }
.zc-vsm.is-live .zc-vsm__track { display: flex; width: max-content; will-change: transform; }
.zc-vsm.is-live .zc-vsm__group { flex-wrap: nowrap; padding: 0 .22em 0 0; }
@media (max-width: 760px) {
  .zc-vsm { --vsm-size: clamp(64px, 21vw, 110px); }
  .zc-vsm__strip--band { rotate: -3.5deg; margin-top: .3em; }
}

/* ------------------------- 16. závěr: video přes celou plochu (083) ----- */
.zc-vh {
  --focus: 50% 60%;
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  align-items: end;
  background: var(--dark);
  color: var(--ink-l);
  isolation: isolate;
}
.zc-vh__screen {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--dark) url("../assets/video/chata-mlha.jpg") center / cover no-repeat;
  transition: clip-path 1.7s cubic-bezier(.76,0,.24,1);
  clip-path: inset(0 0 0 0);
}
.zc-vh__video {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focus);
  transition: transform 2.6s cubic-bezier(.16,1,.3,1);
}
.zc-vh::before {
  content: "";
  position: absolute;
  left: -10%; bottom: -20%;
  width: 84%; height: 92%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgb(10 7 5 / .74), rgb(10 7 5 / .36) 55%, transparent);
}
.zc-vh__content {
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  padding: 0 var(--gut) clamp(40px, 11svh, 120px);
}
.zc-vh__title {
  margin: 0;
  font-family: var(--f-disp);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(46px, 7.8vw, 132px);
  line-height: 1;
  letter-spacing: -.042em;
  text-shadow: 0 2px 30px rgb(0 0 0 / .2);
}
.zc-vh__line { display: block; overflow: hidden; padding: .18em .08em .08em 0; margin: -.18em 0 -.08em; }
.zc-vh__line > span {
  display: block;
  transition: transform 1.3s cubic-bezier(.16,1,.3,1), opacity 1.3s cubic-bezier(.16,1,.3,1);
}
.zc-vh__title em { font-style: italic; color: #f2c38b; }
.zc-vh__lede {
  max-width: 40ch;
  margin: clamp(18px, 3svh, 30px) 0 0;
  font: 400 clamp(16px, 1.35vw, 19px)/1.6 var(--f-text);
  color: rgb(244 236 224 / .88);
  text-wrap: pretty;
}
.zc-vh__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: clamp(22px, 3.6svh, 34px); }
.zc-vh__mail { font: 500 15px/1 var(--f-text); color: rgb(244 236 224 / .8); text-decoration: none; border-bottom: 1px solid rgb(244 236 224 / .4); padding-bottom: 3px; }
.zc-vh__mail:focus-visible { outline: 2px solid var(--ink-l); outline-offset: 4px; }
.zc-vh__toggle {
  position: absolute;
  right: clamp(16px, 3vw, 44px);
  bottom: clamp(20px, 5svh, 48px);
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  padding: 0; border: 0;
  border-radius: 50%;
  color: var(--ink-l);
  background: rgb(20 16 13 / .48);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 -1px 0 rgb(0 0 0 / .25), 0 8px 24px rgb(0 0 0 / .25);
  cursor: pointer;
  transition: background-color .2s cubic-bezier(.22,1,.36,1), transform .16s cubic-bezier(.22,1,.36,1);
}
.zc-vh__toggle:focus-visible { outline: 2px solid var(--ink-l); outline-offset: 3px; }
.zc-vh__toggle:active { transform: scale(.94); }
.zc-vh__i-play { display: none; margin-left: 2px; }
.zc-vh__toggle[aria-pressed="true"] .zc-vh__i-play { display: block; }
.zc-vh__toggle[aria-pressed="true"] .zc-vh__i-pause { display: none; }
@media (hover: hover) and (pointer: fine) {
  .zc-vh__toggle:hover { background: rgb(20 16 13 / .68); }
}
.zc-vh.is-pre .zc-vh__screen { clip-path: inset(41% 0 41% 0); }
.zc-vh.is-pre .zc-vh__video { transform: scale(1.22); }
.zc-vh.is-pre .zc-vh__line > span { transform: translateY(105%); }
.zc-vh.is-pre :is(.zc-vh__lede, .zc-vh__actions, .zc-vh__toggle) { opacity: 0; transform: translateY(18px); }
.zc-vh :is(.zc-vh__lede, .zc-vh__actions) {
  transition: transform 1s cubic-bezier(.22,1,.36,1), opacity 1s cubic-bezier(.22,1,.36,1);
}
.zc-vh.is-in .zc-vh__line:nth-child(1) > span { transition-delay: .95s; }
.zc-vh.is-in .zc-vh__line:nth-child(2) > span { transition-delay: 1.07s; }
.zc-vh.is-in .zc-vh__lede { transition-delay: 1.3s; }
.zc-vh.is-in .zc-vh__actions { transition-delay: 1.4s; }
.zc-vh.is-in .zc-vh__toggle { transition: opacity .8s cubic-bezier(.22,1,.36,1) 1.6s, transform .8s cubic-bezier(.22,1,.36,1) 1.6s, background-color .2s cubic-bezier(.22,1,.36,1); }
@media (max-width: 640px) {
  .zc-vh { --focus: 40% 60%; }
  .zc-vh::before { left: -40%; width: 180%; height: 78%; bottom: -18%; }
  .zc-vh__content { padding-bottom: 96px; }
  .zc-vh__title { font-size: clamp(42px, 12.6vw, 62px); }
  .zc-vh__lede { font-size: 16px; }
  .zc-vh__toggle { right: 16px; bottom: 26px; }
}
:is([data-motion="off"], .no-motion) .zc-vh :is(.zc-vh__screen, .zc-vh__video, .zc-vh__line > span, .zc-vh__lede, .zc-vh__actions, .zc-vh__toggle) { transition: none; }

/* ------------------------------------------------------------- patička -- */
.u-foot {
  background: var(--dark-2);
  color: rgb(244 236 224 / .55);
  padding: clamp(28px, 4vw, 44px) var(--gut);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font: 400 13px/1.6 var(--f-text);
  border-top: 1px solid rgb(244 236 224 / .1);
}
.u-foot a { color: inherit; }
