/* Chance to Choose web v5: one page. Top = flight (stations over key images, transition clips),
   then regular scrolling sections. Fonts: Instrument Serif (display) + Inter Tight (text). */
:root {
  --ink: #F2EDE4; --soft: #CFC5B6; --mute: #A39886; --accent: #701D2B; --gold: #C8952F; --wine: #701D2B; --wine-hi: #8C2737; --beige: #F5F2EF;   /* brand: pozvánka Chance to Choose */
  --canvas: #0F0C0A; --scrim: 14, 11, 9;
  --glass: rgba(20, 15, 12, .52); --edge-line: rgba(242, 237, 228, .14);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --edge: max(2.5rem, 5.5vw);
  --rail: 7.5rem;
  --top: max(6.5rem, 13vh);
  --ease: cubic-bezier(.22, .61, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 16px; -webkit-font-smoothing: antialiased; }
html:not(.paged), html:not(.paged) body { height: 100%; overflow: hidden; }
body { overscroll-behavior: none; }
a { color: inherit; }
img { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------- flight layer ---------------- */
#flight { position: fixed; inset: 0; z-index: 1; will-change: transform; }
html.paged #flight { visibility: hidden; }
#world { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 50%; will-change: transform; background: var(--canvas); }
.plane { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; display: block; backface-visibility: hidden; }
video.plane { z-index: 4; pointer-events: none; }
.filmbg { background: #0E0B09; overflow: hidden; }
.filmbg::before { content: ""; position: absolute; inset: -6%; background: var(--fbg, none) center / cover; filter: blur(18px) brightness(.45) saturate(.9); }
.filmbg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(var(--scrim), 0), rgba(var(--scrim), .7)); }
.topshade { position: absolute; inset: 0 0 auto 0; height: 9rem; z-index: 6; pointer-events: none; background: linear-gradient(to bottom, rgba(var(--scrim), .5), rgba(var(--scrim), 0)); }

/* scenes */
.scene { position: absolute; inset: 0; z-index: 10; pointer-events: none; visibility: hidden; transition: visibility 0s .5s; }
.scene.on { visibility: visible; transition-delay: 0s; }
.scene .scrim { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.scene.on .scrim { opacity: 1; }
.scrim.bl { background: radial-gradient(ellipse 70% 78% at 0% 100%, rgba(var(--scrim), .86), rgba(var(--scrim), .55) 45%, rgba(var(--scrim), 0) 80%); }
.scrim.l { background: linear-gradient(to right, rgba(var(--scrim), .8), rgba(var(--scrim), .5) 30%, rgba(var(--scrim), 0) 52%); }
.scrim.r { background: linear-gradient(to left, rgba(var(--scrim), .82), rgba(var(--scrim), .5) 34%, rgba(var(--scrim), 0) 58%); }
.scrim.r.soft { background: linear-gradient(to left, rgba(var(--scrim), .6), rgba(var(--scrim), 0) 30%); }
.scrim.t { background: radial-gradient(ellipse 90% 75% at 50% 30%, rgba(var(--scrim), .55), rgba(var(--scrim), .25) 55%, rgba(var(--scrim), 0) 85%); }
.pane { position: absolute; }
.pane .d, .pane .kicker, .pane .lede { text-shadow: 0 1px 2px rgba(var(--scrim), .35), 0 2px 22px rgba(var(--scrim), .65); }
.card .card__t, .card .card__k { text-shadow: none; }
.scene.on .pane { pointer-events: auto; }
.rv { opacity: 0; transform: translate3d(0, 14px, 0); filter: blur(6px); transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease); }
.scene.on .rv { opacity: 1; transform: none; filter: none; transition-duration: .9s, 1s, .8s; transition-delay: calc(var(--i, 0) * 90ms + 60ms); }

/* type */
.kicker { font-size: .72rem; font-weight: 550; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin: 0 0 .9rem; }
.kicker.mt { margin-top: 1.4rem; }
.d { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.012em; margin: 0; }
.d em { font-style: italic; }
.lede { font-size: clamp(.98rem, .9rem + .3vw, 1.12rem); line-height: 1.55; color: var(--soft); margin: 1.1rem 0 0; max-width: 44ch; }
.lede.ink { color: var(--ink); }
.src { margin: .9rem 0 0; font-size: .78rem; letter-spacing: .08em; color: var(--mute); }
.pane h2.d { font-size: clamp(2.1rem, 1.1rem + 2.4vw, 3.7rem); }
.tbc { display: inline-block; margin-left: .4rem; padding: .1rem .45rem; border-radius: 4px; font: 600 .62rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #1B140F; background: #E8C27A; vertical-align: middle; }

/* buttons */
.row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 3rem; padding: 0 1.35rem; border-radius: 999px; font: 550 .95rem/1 var(--sans); text-decoration: none; transition: background .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .ibtn:focus-visible, .pcard:focus-visible, .thumbs button:focus-visible, .grid button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--solid { background: var(--accent); color: #FFF6EE; }
.btn--solid:hover { background: var(--wine-hi); }
.btn--ghost { background: rgba(var(--scrim), .42); color: var(--ink); border: 1px solid rgba(242, 237, 228, .42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(242, 237, 228, .85); }
.btn--sm { min-height: 2.4rem; padding: 0 1rem; font-size: .84rem; }
.ibtn { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(242, 237, 228, .35); background: rgba(var(--scrim), .45); color: var(--ink); cursor: pointer; padding: 0; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color .25s, background .25s; }
.ibtn:hover { border-color: rgba(242, 237, 228, .85); }
.ibtn:disabled { opacity: .35; cursor: default; }
.ibtn svg, .fsbtn svg, .link svg, .more svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* glass card */
.card { background: var(--glass); border: 1px solid var(--edge-line); border-radius: 14px; padding: 1rem 1.15rem; -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.card__k { margin: 0 0 .35rem; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #E9C988; }
.card__t { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--ink); }
.card .num { font: 400 1.9rem/1 var(--serif); letter-spacing: 0; color: var(--gold); vertical-align: -.2rem; margin-right: .15rem; }
.card--row { display: flex; gap: .9rem; align-items: flex-start; }
.ico { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font: 600 .66rem/1 var(--sans); letter-spacing: .06em; color: var(--gold); border: 1px solid rgba(200, 149, 47, .55); }

/* ---- 1 hero ---- */
.hero { left: var(--edge); bottom: 8.5vh; max-width: min(44rem, 58vw); }
.hero .d { font-size: clamp(2.6rem, 1.2rem + 3.5vw, 5.4rem); line-height: .98; }
.hero .d em { display: block; color: #FBF2E4; }

/* ---- 2 proč ---- */
.proc-q { left: var(--edge); bottom: 10vh; max-width: min(34rem, 40vw); }
.quote { font-size: clamp(2rem, 1rem + 2.3vw, 3.4rem); line-height: 1.05; margin: 0; }
.proc-cards { right: calc(var(--rail) + .5rem); top: var(--top); width: min(22rem, 27vw); display: flex; flex-direction: column; gap: .7rem; }
.pc-track { display: flex; flex-direction: column; gap: inherit; }
.pc-dots { display: none; }
.proc-cards .src { text-align: right; margin-top: .2rem; color: var(--soft); text-shadow: 0 1px 8px rgba(var(--scrim), .9); }
.src { text-shadow: 0 1px 8px rgba(var(--scrim), .8); }

/* ---- 3 sny: carousel ---- */
.sny { right: calc(var(--rail) + .5rem); top: var(--top); width: min(44rem, 45vw); }
.scrim.sny-s { background: radial-gradient(ellipse 62% 80% at 78% 32%, rgba(var(--scrim), .85), rgba(var(--scrim), .5) 50%, rgba(var(--scrim), 0) 85%), linear-gradient(to top, rgba(var(--scrim), .55), rgba(var(--scrim), 0) 30%); }
.sny .kicker { color: var(--ink); }
.cnote { text-shadow: 0 1px 8px rgba(var(--scrim), .9); color: var(--soft) !important; }
.hs { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
.hs.end { -webkit-mask-image: none; mask-image: none; }
.carousel { margin-top: 1.3rem; }
.hs { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .2rem; scroll-behavior: smooth; }
.hs::-webkit-scrollbar { display: none; }
.pcard { flex: none; width: clamp(10rem, 7rem + 6vw, 13.5rem); margin: 0; scroll-snap-align: start; background: var(--glass); border: 1px solid var(--edge-line); border-radius: 14px; overflow: hidden; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.pcard .ph { overflow: hidden; aspect-ratio: 4 / 5; background: #241B15; }
.pcard img { width: 100%; height: 100%; object-fit: cover; }
.pcard figcaption { padding: .75rem .85rem .9rem; }
.pcard .meta { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #E9C988; margin-bottom: .35rem; }
.pcard q { display: block; font: 400 1.2rem/1.12 var(--serif); quotes: "„" "“"; }
.pcard .en { display: block; margin-top: .45rem; font-size: .72rem; line-height: 1.35; color: var(--mute); }
.cnav { display: flex; align-items: center; gap: .5rem; margin-top: .8rem; }
.cnote { margin-left: .5rem; font-size: .72rem; color: var(--mute); }

/* ---- left column panes (k06, k10) ---- */
.col-l { left: var(--edge); top: var(--top); width: min(30rem, 36vw); }
.col-r { right: calc(var(--rail) + .5rem); top: var(--top); width: min(19rem, 24vw); }
.klaster h2.d, .cil h2.d { font-size: clamp(1.9rem, 1rem + 1.9vw, 3rem); }
.stack { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.3rem; }
.feature { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--edge-line); background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.feature img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; }
.feature figcaption { padding: .85rem 1rem 1rem; font: 400 1.25rem/1.2 var(--serif); }
.thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; }
.thumbs button, .grid button { padding: 0; margin: 0; border: 0; background: #241B15; border-radius: 8px; overflow: hidden; cursor: zoom-in; display: block; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.thumbs button:hover img { transform: scale(1.06); }

/* ---- 6 budova ---- */
.pane.bl { left: var(--edge); bottom: 10vh; max-width: min(38rem, 50vw); }
.budova h2.d { font-size: clamp(2.4rem, 1.2rem + 3vw, 4.6rem); }
.note { margin-top: 1.3rem; padding: .9rem 1.1rem; border: 1px solid var(--edge-line); background: var(--glass); border-radius: 12px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.note p { margin: 0; font-size: 1.05rem; line-height: 1.45; color: var(--soft); }
.note b::before { content: ""; display: block; width: 1.6rem; height: 2px; margin: .55rem 0 .55rem; border-radius: 2px; background: var(--gold); }
.note b { display: block; font: 400 1.5rem/1.15 var(--serif); color: var(--ink); margin-top: .2rem; }

/* ---- 7 školy ---- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.3rem; }
.stat .big { margin: .1rem 0 .3rem; font: 400 clamp(2.8rem, 2rem + 2vw, 4rem)/1 var(--serif); color: var(--ink); }
.stat .big small { font: 500 .78rem/1 var(--sans); letter-spacing: .08em; color: var(--soft); text-transform: uppercase; margin-right: .2rem; }
.tl { padding: 1.1rem 1.2rem; background: var(--glass); border: 1px solid var(--edge-line); border-radius: 14px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: .45rem; bottom: .9rem; width: 1px; background: linear-gradient(var(--gold), rgba(200, 149, 47, .2)); }
.timeline li { position: relative; padding: 0 0 1rem 1.5rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 11px; height: 11px; border-radius: 50%; background: var(--canvas); border: 1px solid var(--gold); }
.timeline li:first-child::before { background: var(--gold); }
.timeline b { display: block; font: 400 1.3rem/1.1 var(--serif); }
.timeline span { display: block; margin-top: .2rem; font-size: .88rem; line-height: 1.4; color: var(--soft); }

/* ---- 8 cíl ---- */
.cilcard { margin-top: 1.2rem; padding: 1.1rem 1.2rem 1.2rem; }
.cilcard .card__t { font-size: 1.02rem; }
.card__k.mt { margin-top: 1rem; }
.cilcard .tags { margin-top: .5rem; }
.cilcard .row { margin-top: 1.1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.tags span { padding: .45rem .8rem; border-radius: 999px; font-size: .84rem; border: 1px solid rgba(200, 149, 47, .55); background: rgba(var(--scrim), .5); color: #F5E3BE; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---- 9 film ---- */
.film { left: 50%; top: 50%; translate: -50% -48%; }
.player { position: relative; width: min(84vw, calc(78vh * 16 / 9), calc(100vw - 2 * var(--rail))); aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(242, 237, 228, .1); }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.player .cover { position: absolute; inset: 0; border: 0; padding: 0; margin: 0; cursor: pointer; background: none; color: var(--ink); }
.player .cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(var(--scrim), .1), rgba(var(--scrim), .5)); }
.player .pbtn { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 1; width: clamp(4.5rem, 3rem + 3vw, 6.5rem); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 237, 228, .14); border: 1px solid rgba(242, 237, 228, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .35s var(--ease); }
.player .cover:hover .pbtn { transform: scale(1.06); }
.player .pbtn svg { width: 34%; height: 34%; margin-left: 8%; fill: var(--ink); }
.player.playing .cover { display: none; }
.player .soon { display: none; position: absolute; inset: 0; place-content: center; text-align: center; background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(var(--scrim), .35), rgba(var(--scrim), .75)); }
.player.placeholder .soon { display: grid; }
.player.placeholder .cover { display: none; }
.player .soon .d { font-size: clamp(2.2rem, 1.2rem + 2.5vw, 4rem); }
.player:fullscreen { width: 100vw; height: 100vh; border-radius: 0; aspect-ratio: auto; }
.filmbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
.filmbar p { margin: 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.fsbtn { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(242, 237, 228, .35); background: rgba(var(--scrim), .4); color: var(--ink); font: 500 .85rem/1 var(--sans); cursor: pointer; }
.fsbtn:hover { border-color: rgba(242, 237, 228, .8); }

/* ---- 10 setkání ---- */
.setkani { left: var(--edge); right: calc(var(--rail) + .5rem); top: var(--top); display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.ev-main { max-width: min(34rem, 50vw); }
.ev-main h2.d { font-size: clamp(2.4rem, 1.2rem + 3vw, 4.6rem); line-height: .98; }
.evcard { margin-top: 1.4rem; padding: 1.2rem 1.3rem; }
.evcard dl { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; margin: 0; }
.evcard dt { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #E9C988; margin-bottom: .3rem; }
.evcard dd { margin: 0; font-size: .98rem; line-height: 1.45; }
.evcard .row { margin-top: 1.1rem; }
.program { width: min(19rem, 26vw); margin-top: 2.2rem; }
.program ul { list-style: none; margin: .4rem 0 0; padding: 0; }
.program li { padding: .55rem 0; border-top: 1px solid rgba(242, 237, 228, .1); font-size: .95rem; }
.program li:first-child { border-top: 0; }
.more { position: absolute; left: 50%; bottom: 2rem; translate: -50% 0; display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; border: 0; background: none; color: var(--soft); font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; pointer-events: auto; opacity: 0; transition: opacity .8s var(--ease) .8s; }
.scene.on .more { opacity: .85; }
.more svg { animation: bob 2s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------------- top bar ---------------- */
.bar { position: fixed; left: 0; right: 0; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem calc(var(--rail) - 1rem) 1.2rem var(--edge); pointer-events: none; transition: background .5s; }
.bar a { pointer-events: auto; }
.bar__logo { display: block; line-height: 0; }
.bar__logo img { height: 3rem; width: auto; filter: drop-shadow(0 1px 10px rgba(var(--scrim), .5)); }
.bar__cta { display: flex; gap: .5rem; }
html.paged .bar.solid { background: rgba(15, 12, 10, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* ---------------- rail ---------------- */
.rail { position: fixed; right: 1.6rem; top: 50%; translate: 0 -50%; z-index: 28; }
.rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(.25rem, 1.3vh, .85rem); position: relative; }
.rail .line, .rail .fill { position: absolute; right: calc(1.1rem / 2 - .5px); width: 1px; top: .55rem; }
.rail .line { background: rgba(242, 237, 228, .2); }
.rail .fill { height: 0; transform: scaleY(0); transform-origin: 50% 0; background: linear-gradient(to bottom, rgba(242, 237, 228, .15), rgba(242, 237, 228, .85)); transition: transform .9s var(--ease); }
.rail::before { content: ""; position: absolute; right: -1.6rem; top: -20vh; bottom: -20vh; width: 16rem; background: radial-gradient(ellipse 70% 50% at 100% 50%, rgba(var(--scrim), .6), rgba(var(--scrim), 0)); opacity: .55; transition: opacity .4s; pointer-events: none; }
.rail:hover::before, .rail:focus-within::before { opacity: 1; }
.rail li.gap { margin-top: clamp(.3rem, 1.2vh, .8rem); }
.rail button { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: .8rem; height: 1.1rem; padding: 0; margin: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; width: 100%; }
.rail .dot { flex: none; width: 1.1rem; height: 1.1rem; display: grid; place-items: center; }
.rail .dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid rgba(242, 237, 228, .6); background: rgba(var(--scrim), .5); transition: background .4s, border-color .4s, transform .4s var(--ease), box-shadow .4s; }
.rail li.rs .dot::before { border-radius: 1px; transform: rotate(45deg); }
.rail li.past .dot::before { background: rgba(242, 237, 228, .85); border-color: transparent; }
.rail li.now .dot::before { background: var(--gold); border-color: var(--gold); transform: scale(1.6); box-shadow: 0 0 0 4px rgba(200, 149, 47, .22); }
.rail li.rs.now .dot::before { transform: scale(1.6) rotate(45deg); }
.rail .lab { font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; opacity: 0; translate: .4rem 0; transition: opacity .35s, translate .35s var(--ease); text-shadow: 0 1px 8px rgba(var(--scrim), .9); }
.rail li.now .lab { opacity: .9; translate: 0 0; color: #F5D9A3; }
.rail:hover .lab, .rail:focus-within .lab { opacity: .72; translate: 0 0; }
.rail button:hover .lab, .rail button:focus-visible .lab { opacity: 1; }
.rail button:focus-visible { outline: none; }
.rail button:focus-visible .dot::before { box-shadow: 0 0 0 3px var(--gold); }
.rail.wait li.now .dot::before { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(200, 149, 47, .05); } }

/* rail on the beige page sections: wine / ink instead of light text over a dark fade (Ondra 23. 10.) */
.rail.light::before { display: none; }
.rail.light .lab { color: #574C46; text-shadow: none; }
.rail.light li.now .lab { color: var(--wine); }
.rail.light .dot::before { border-color: rgba(112, 29, 43, .45); background: var(--beige); }
.rail.light li.past .dot::before { background: rgba(112, 29, 43, .5); border-color: transparent; }
.rail.light li.now .dot::before { background: var(--wine); border-color: var(--wine); box-shadow: 0 0 0 4px rgba(112, 29, 43, .14); }
.rail.light .line { background: rgba(112, 29, 43, .18); }
.rail.light .fill { background: linear-gradient(to bottom, rgba(112, 29, 43, .12), rgba(112, 29, 43, .55)); }
.rail.light button:focus-visible .dot::before { box-shadow: 0 0 0 3px var(--wine); }
/* item over the wine footer */
.rail.light li.ov .lab { color: rgba(245, 242, 239, .82); }
.rail.light li.ov.now .lab { color: #F5D9A3; }
.rail.light li.ov .dot::before { border-color: rgba(245, 242, 239, .6); background: transparent; }
.rail.light li.ov.past .dot::before { background: rgba(245, 242, 239, .85); }
.rail.light li.ov.now .dot::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 149, 47, .22); }
.rail .lab, .rail .dot::before { transition: opacity .35s, translate .35s var(--ease), color .3s, background .3s, border-color .3s, transform .4s var(--ease), box-shadow .4s; }

/* hints */
.hint { position: absolute; left: 50%; bottom: 2.2rem; translate: -50% 0; z-index: 12; width: 1.4rem; height: 2.2rem; border: 1px solid rgba(242, 237, 228, .5); border-radius: 1rem; opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.hint::after { content: ""; position: absolute; left: 50%; top: .45rem; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: wheel 1.8s var(--ease) infinite; }
.hint.on { opacity: .75; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(.7rem); opacity: 0; } 100% { opacity: 0; } }
.hl { position: absolute; left: var(--edge); right: calc(var(--rail) + 1.5rem); bottom: 5vh; height: 2px; z-index: 12; background: rgba(242, 237, 228, .18); opacity: 0; transition: opacity .5s; border-radius: 2px; overflow: hidden; }
.hl i { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.hl.on { opacity: 1; }

/* ---------------- page (regular sections after the flight) ---------------- */
#page { position: relative; z-index: 2; background: linear-gradient(180deg, #36262D 0, #2A1D1E 22vh, #1A1311 70vh, var(--canvas) 140vh); }
html:not(.paged) #page { position: fixed; inset: 0; overflow: hidden; visibility: hidden; transform: translateY(100%); }
html.moving #page { visibility: visible; }
.wrap { width: min(76rem, calc(100vw - var(--edge) - var(--rail) - 1rem)); margin: 0 auto 0 var(--edge); }
.sec { padding: clamp(6rem, 14vh, 9rem) 0 clamp(3rem, 8vh, 6rem); }
.sec__head { max-width: 46rem; margin-bottom: 2.4rem; }
.sec h2.d { font-size: clamp(2.4rem, 1.4rem + 2.6vw, 4.2rem); }

.grid { columns: 4 15rem; column-gap: .8rem; }
.grid button { width: 100%; margin: 0 0 .8rem; break-inside: avoid; position: relative; }
.grid img { width: 100%; height: auto; transition: transform .6s var(--ease), opacity .4s; }
.grid button:hover img { transform: scale(1.03); }
.grid button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .65rem; text-align: left; font-size: .8rem; color: var(--ink); background: linear-gradient(transparent, rgba(var(--scrim), .8)); opacity: 0; transition: opacity .3s; }
.vtag { position: absolute; left: .6rem; top: .6rem; z-index: 1; padding: .25rem .55rem; border-radius: 999px; font: 600 .62rem/1.3 var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: rgba(var(--scrim), .7); border: 1px solid rgba(242, 237, 228, .25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb.isvid figcaption::before { content: "Záběr z videa · "; color: var(--gold); }
.grid button:hover span, .grid button:focus-visible span { opacity: 1; }

.help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hcard { display: flex; flex-direction: column; align-items: flex-start; padding: 1.6rem 1.5rem 1.5rem; border-radius: 16px; border: 1px solid var(--edge-line); background: linear-gradient(160deg, rgba(110, 30, 43, .22), rgba(255, 255, 255, .02) 60%); }
.hcard__n { margin: 0 0 1.4rem; font-size: .72rem; letter-spacing: .16em; color: var(--gold); }
.hcard h3 { margin: 0 0 .7rem; font: 400 2rem/1.05 var(--serif); }
.hcard p:not(.hcard__n) { margin: 0 0 1.5rem; color: var(--soft); line-height: 1.55; flex: 1; }

.kdo { display: grid; grid-template-columns: minmax(16rem, 26rem) 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.kdo__img { margin: 0; }
.kdo__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: #241B15; }
.kdo__img figcaption { margin-top: .7rem; font-size: .82rem; color: var(--mute); }
.pull::before { content: ""; display: block; width: 2rem; height: 2px; margin-bottom: .9rem; border-radius: 2px; background: var(--gold); }
.pull { margin: 1.6rem 0 0; padding: 0; font: 400 1.45rem/1.25 var(--serif); max-width: 34ch; }
.link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.6rem; font-weight: 550; text-decoration: none; border-bottom: 1px solid rgba(200, 149, 47, .6); padding-bottom: .2rem; }
.link:hover { color: #F5D9A3; }

.foot { border-top: 1px solid rgba(242, 237, 228, .08); padding: 3rem 0 3.5rem; background: #0B0907; }
.foot__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; align-items: start; }
.foot__logo { width: 11rem; height: auto; }
.foot__claim { margin: 1rem 0 0; color: var(--mute); font: 400 1.1rem/1.3 var(--serif); font-style: italic; max-width: 22rem; }
.foot__nav { display: flex; flex-direction: column; gap: .6rem; }
.foot__nav a { text-decoration: none; color: var(--soft); }
.foot__nav a:hover { color: var(--ink); }
.foot__contact p { margin: 0 0 .5rem; color: var(--soft); line-height: 1.5; }
.muted { color: var(--mute) !important; font-size: .85rem; }

/* ---------------- lightbox ---------------- */
.lb { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(8, 6, 5, .94); }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: calc(100vw - 10rem); text-align: center; }
.lb img { max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto; max-width: min(100%, 90vw); margin: 0 auto; border-radius: 8px; }
.lb figcaption { margin-top: .9rem; color: var(--soft); font-size: .92rem; }
.lb__x { position: absolute; right: 1.4rem; top: 1.4rem; }
.lb__p, .lb__n { position: absolute; top: 50%; translate: 0 -50%; width: 3.2rem; height: 3.2rem; }
.lb__p { left: 1.4rem; } .lb__n { right: 1.4rem; }
.lb__c { position: absolute; left: 1.6rem; top: 1.9rem; margin: 0; font-size: .75rem; letter-spacing: .14em; color: var(--mute); }

/* ---------------- small desktop windows (e.g. 1000x580) ---------------- */
@media (max-height: 700px) {
  :root { --top: 5.4rem; }
  .bar { padding-top: .8rem; padding-bottom: .8rem; }
  .bar__logo img { height: 2.4rem; }
  .hero { bottom: 7vh; }
  .hero .d { font-size: clamp(2.1rem, 1rem + 3vw, 3.5rem); }
  .lede { margin-top: .7rem; font-size: .92rem; }
  .row { margin-top: 1.1rem; }
  .pane h2.d { font-size: clamp(1.7rem, 1rem + 1.8vw, 2.5rem); }
  .klaster h2.d, .cil h2.d { font-size: clamp(1.5rem, .9rem + 1.5vw, 2.1rem); }
  .kicker { margin-bottom: .55rem; font-size: .66rem; }
  .card { padding: .7rem .85rem; }
  .card__t { font-size: .84rem; line-height: 1.38; }
  .card__k { font-size: .62rem; margin-bottom: .2rem; }
  .card .num { font-size: 1.5rem; }
  .proc-cards, .pc-track { gap: .45rem; }
  .quote { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.4rem); }
  .carousel { margin-top: .8rem; }
  .pcard { width: 9.2rem; }
  .pcard .ph { aspect-ratio: 1 / 1; }
  .pcard figcaption { padding: .55rem .65rem .65rem; }
  .pcard q { font-size: .98rem; }
  .pcard .en { font-size: .64rem; margin-top: .3rem; }
  .ibtn { width: 2.2rem; height: 2.2rem; }
  .cnav { margin-top: .5rem; }
  .stack { gap: .4rem; margin-top: .8rem; }
  .ico { width: 1.6rem; height: 1.6rem; font-size: .58rem; }
  .feature img { aspect-ratio: 16 / 7; }
  .feature figcaption { font-size: 1rem; padding: .6rem .8rem .7rem; }
  .kicker.mt { margin-top: .8rem; }
  .duo { margin-top: .8rem; }
  .stat .big { font-size: 2.4rem; }
  .tl { padding: .8rem .9rem; }
  .timeline li { padding-bottom: .65rem; }
  .timeline b { font-size: 1.05rem; }
  .timeline span { font-size: .78rem; }
  .tags { margin-top: .8rem; }
  .cilcard { margin-top: .8rem; padding: .8rem .9rem .9rem; }
  .cilcard .card__t { font-size: .88rem; }
  .cilcard .row { margin-top: .8rem; }
  .tags span { font-size: .76rem; padding: .35rem .65rem; }
  .budova h2.d, .ev-main h2.d { font-size: clamp(2rem, 1rem + 2.6vw, 3.2rem); }
  .note b { font-size: 1.2rem; }
  .note p { font-size: .9rem; }
  .evcard { margin-top: .9rem; padding: .85rem 1rem; }
  .evcard dd { font-size: .86rem; }
  .program { margin-top: 1.4rem; }
  .program li { padding: .38rem 0; font-size: .84rem; }
  .more { bottom: 1rem; }
  .hint { display: none; }
}
@media (max-width: 1100px) {
  .proc-q { max-width: 36vw; }
  .help { grid-template-columns: 1fr 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .scene.on .rv { transition: opacity .4s !important; transform: none !important; filter: none !important; }
  .hint::after, .more svg { animation: none; }
  .hs { scroll-behavior: auto; }
}

/* ---------------- brand: sekce po letu jako pozvánka (béžová + vínová), Ondra 19. 10. ---------------- */
#page { background: var(--beige); color: #2B2523;
  --ink: #2B2523; --soft: #574C46; --mute: #8A7E76; --edge-line: rgba(112, 29, 43, .16); }
#page h2.d, #page .hcard h3, #page .pull { color: var(--wine); }
#page .kicker, #page .hcard__n { color: #A9782F; }
#page .btn--ghost { background: transparent; color: var(--wine); border-color: rgba(112, 29, 43, .45); -webkit-backdrop-filter: none; backdrop-filter: none; }
#page .btn--ghost:hover { border-color: var(--wine); }
#page .hcard { background: #FFFFFF; border-color: var(--edge-line); box-shadow: 0 1px 0 rgba(112, 29, 43, .04), 0 12px 32px -18px rgba(112, 29, 43, .28); }
#page .grid button span, #page .vtag { color: var(--beige); }
#page .link { color: var(--wine); border-bottom-color: rgba(112, 29, 43, .45); }
#page .link:hover { color: var(--wine-hi); }
#page .kdo__img img { background: #E9E3DC; }
#page .sec + .sec { border-top: 1px solid var(--edge-line); }
/* patička = vínový pás pozvánky */
#page .foot { background: var(--wine); border-top: 0; color: var(--beige); }
#page .foot__claim, #page .foot__contact p, #page .foot .muted { color: rgba(245, 242, 239, .78) !important; }
#page .foot__nav a { color: rgba(245, 242, 239, .86); }
#page .foot__nav a:hover { color: #FFFFFF; }
#page .foot h3, #page .foot .kicker, #page .foot__label { color: #D4A85A; }
/* na světlém podkladu (sekce po letu) tmavé logo a lišta v barvách pozvánky */
html.paged .bar__logo img { content: url(assets/brand/logo-chance-to-choose.png); filter: none; }
html.paged .bar, html.paged .bar.solid { background: rgba(245, 242, 239, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(112, 29, 43, .1); }
html.paged .bar .btn--ghost { background: transparent; color: var(--wine); border-color: rgba(112, 29, 43, .45); -webkit-backdrop-filter: none; backdrop-filter: none; }
html.paged .bar .btn--ghost:hover { border-color: var(--wine); }
/* ---------------- partneři (Ondra 20. 10.) ---------------- */
.plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.plogo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; min-height: 9.5rem; padding: 1.4rem 1.2rem; border-radius: 16px; text-align: center; }
.plogo--real { background: #FFFFFF; border: 1px solid var(--edge-line); }
.plogo--real img { width: min(11rem, 100%); height: auto; display: block; }
.plogo--real a { display: block; transition: opacity .25s; }
.plogo--real a:hover { opacity: .75; }
.plogo--ph { border: 1px dashed rgba(112, 29, 43, .3); background: rgba(255, 255, 255, .45); }
.plogo--ph b { font: 400 1.25rem/1.15 var(--serif); color: rgba(112, 29, 43, .55); }
@media (max-width: 1100px) { .plist { grid-template-columns: repeat(3, 1fr); } }

/* ---------------- copy Hanky (23. 10.): nové texty, Cíl 2026 jako list pozvánky ---------------- */
.hero__ev { margin: 1.3rem 0 0; display: flex; flex-direction: column; gap: .25rem; text-shadow: 0 1px 2px rgba(var(--scrim), .35), 0 2px 22px rgba(var(--scrim), .65); }
.hero__ev b { font: 600 .72rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #E9C988; }
.hero__ev span { font: 400 clamp(1.2rem, 1rem + .6vw, 1.55rem)/1.15 var(--serif); color: var(--ink); }
.hero__ev + .row { margin-top: 1.1rem; }
p.cnote { margin: 0 0 0 .5rem; line-height: 1.4; }
.cnote b { display: block; font: italic 400 1.08rem/1.2 var(--serif); color: var(--ink); }
.pane .copy { margin-top: 1rem; }
.pane .copy p { margin: 0 0 .65rem; max-width: 46ch; font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); line-height: 1.55; color: var(--soft); text-shadow: 0 1px 2px rgba(var(--scrim), .35), 0 2px 18px rgba(var(--scrim), .6); }
.klaster { width: min(46rem, 52vw); }
.klaster .stack { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.klaster .lede { max-width: 52ch; }
.tiji h2.d { font-size: clamp(1.9rem, 1rem + 1.9vw, 3rem); }
.tiji .lede { font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); }
.tiji .feature { margin-top: 1rem; }
.skoly h2.d { font-size: clamp(1.9rem, 1rem + 1.9vw, 3rem); }
/* Cíl 2026: béžový list v barvách pozvánky, výrazně jiný než sklo okolních zastávek */
.cil { left: var(--edge); top: var(--top); width: min(46rem, 52vw); padding: clamp(1.4rem, 1rem + 1vw, 2.2rem) clamp(1.4rem, 1rem + 1.2vw, 2.4rem); border-radius: 20px; background: var(--beige); color: #2B2523; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(112, 29, 43, .08); }
.pane.cil .d, .pane.cil p { text-shadow: none; }
.cil h2.d { font-size: clamp(1.9rem, 1rem + 1.9vw, 3rem); color: var(--wine); line-height: 1.02; }
.cil h2.d span { display: block; margin-bottom: .35rem; font: 600 .74rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #A9782F; }
.cil .copy p { color: #4A3F3A; max-width: 60ch; text-shadow: none; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(112, 29, 43, .18); }
.points dt { margin-bottom: .35rem; font: 600 .7rem/1.25 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine); }
.points dd { margin: 0; font-size: .92rem; line-height: 1.45; color: #4A3F3A; }
.cil__end { margin: 1.2rem 0 0; font: 400 clamp(1.25rem, 1rem + .7vw, 1.7rem)/1.15 var(--serif); color: var(--wine); }
.cil .row { margin-top: 1.1rem; }
.program li b { display: inline-block; min-width: 3.3rem; font-weight: 500; color: var(--gold); font-variant-numeric: tabular-nums; }
/* sekce pod letem */
#page .copy { max-width: 60ch; }
#page .copy p { margin: 0 0 .9rem; font-size: 1.05rem; line-height: 1.62; color: var(--soft); }
.kdo__txt h2.d { margin-bottom: 1.2rem; }
.sign { margin: .4rem 0 1.4rem; font: italic 400 1.45rem/1.2 var(--serif); color: var(--wine); }
.hcard p b { color: var(--ink); font-weight: 600; }
.hcard__note { font-size: .9rem !important; color: var(--mute) !important; }
.hcard__note a { color: var(--wine); text-underline-offset: .2em; }
#page .sec__head .lede { max-width: 56ch; }
.foot__contact a { color: inherit; text-underline-offset: .2em; }
@media (max-height: 700px) {
  .cil { padding: 1.1rem 1.3rem; }
  .cil h2.d { font-size: clamp(1.5rem, .9rem + 1.5vw, 2.1rem); }
  .cil .copy p, .pane .copy p { font-size: .86rem; margin-bottom: .45rem; }
  .points { gap: .8rem; margin-top: .7rem; padding-top: .7rem; }
  .points dd { font-size: .8rem; }
  .cil__end { margin-top: .7rem; font-size: 1.15rem; }
  .klaster .lede, .tiji .lede { font-size: .86rem; }
}

/* aukční katalog: krátká sekce s pozvánkou do katalogu, díla zavěšená jako v galerii */
.kat__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.kat__txt .lede { margin-bottom: 1.6rem; }
.kat__wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); align-items: center; }
.kat__wall li:nth-child(odd) { translate: 0 -1.2rem; }
.kat__wall li:nth-child(3) { translate: 0 .6rem; }
.kat__wall a { display: block; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #FFFFFF; box-shadow: 0 1px 0 rgba(112, 29, 43, .05), 0 18px 34px -20px rgba(43, 37, 35, .5); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.kat__wall a:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 1px 0 rgba(112, 29, 43, .05), 0 28px 44px -22px rgba(43, 37, 35, .55); }
.kat__wall img { width: 100%; height: 100%; object-fit: contain; }

/* ---------------- mobil (Ondra 20. 10.): stanice jako spodní panel, kompaktní lišta, dock a menu ---------------- */
@media (max-width: 760px), (orientation: landscape) and (max-height: 500px) {
  :root { --edge: max(1.15rem, env(safe-area-inset-left)); --rail: 0rem; --top: calc(4.6rem + env(safe-area-inset-top)); --dock-h: 3.5rem; --dock-b: max(.75rem, env(safe-area-inset-bottom)); --safe-b: calc(var(--dock-b) + var(--dock-h) + .85rem); }
  /* lišta */
  .bar { padding: max(.65rem, env(safe-area-inset-top)) var(--edge) .65rem; gap: .5rem; }
  .bar__logo img { height: 2.3rem; }
  .bar__cta .btn--ghost { display: none; }
  .bar__cta .btn { min-height: 2.3rem; padding: 0 .95rem; font-size: .8rem; }
  /* rail nahrazuje dock dole a menu */
  .rail, .hint, .more { display: none !important; }
  .hl { left: var(--edge); right: var(--edge); bottom: calc(var(--dock-b) + var(--dock-h) + .35rem); }
  /* scrim: tma odspodu, kde je text */
  .scene .scrim { background: linear-gradient(to top, rgba(var(--scrim), .9), rgba(var(--scrim), .62) 42%, rgba(var(--scrim), 0) 72%) !important; }
  .scene .scrim + .scrim { display: none; }
  #s-proc .scrim, #s-skoly .scrim, #s-setkani .scrim { background: linear-gradient(to top, rgba(var(--scrim), .9), rgba(var(--scrim), .55) 45%, rgba(var(--scrim), .35) 70%, rgba(var(--scrim), .7)) !important; }
  /* všechny panely: na šířku, přilepené dolů */
  .pane, .pane.bl, .hero, .proc-q, .proc-cards, .sny, .col-l, .col-r, .setkani {
    left: var(--edge); right: var(--edge); top: auto; bottom: var(--safe-b); width: auto; max-width: none; }
  .pane h2.d, .klaster h2.d, .cil h2.d { font-size: clamp(1.75rem, 1.1rem + 3.2vw, 2.3rem); }
  .budova h2.d, .ev-main h2.d { font-size: clamp(2rem, 1.2rem + 4vw, 2.7rem); }
  .hero .d { font-size: clamp(2.05rem, 1.2rem + 4.4vw, 2.75rem); }
  .lede { font-size: 1rem; line-height: 1.5; margin-top: .8rem; }
  .kicker { margin-bottom: .55rem; font-size: .66rem; }
  .row { margin-top: 1.1rem; gap: .55rem; }
  .btn { min-height: 2.8rem; padding: 0 1.15rem; font-size: .9rem; }
  .card { padding: .8rem .95rem; }
  .card__t { font-size: .94rem; line-height: 1.45; }
  /* 2 proč: citát nahoře, karty jako vodorovný pás dole */
  .proc-q { top: var(--top); bottom: auto; }
  .quote { font-size: clamp(1.7rem, 1.1rem + 3vw, 2.2rem); }
  .proc-cards { display: block; }
  .pc-track { flex-direction: row; gap: .6rem; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: 0; scrollbar-width: none; margin-right: calc(-1 * var(--edge)); padding-right: var(--edge); touch-action: pan-x; overscroll-behavior-x: contain; cursor: grab; }
  .pc-track::-webkit-scrollbar { display: none; }
  .pc-track .card { flex: none; width: 82%; scroll-snap-align: start; scroll-snap-stop: always; }
  .pc-dots { display: flex; justify-content: center; margin-top: .25rem; }
  .pc-dots button { display: grid; place-items: center; width: 2.75rem; height: 1.9rem; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .pc-dots button::before { content: ""; width: .45rem; height: .45rem; border-radius: 999px; background: rgba(242, 237, 228, .38); transition: width .35s var(--ease), background .35s; }
  .pc-dots button[aria-current]::before { width: 1.4rem; background: var(--gold); }
  .proc-cards .src { display: none; }
  /* 3 sny */
  .sny .d { font-size: clamp(1.6rem, 1rem + 3vw, 2.1rem); }
  .carousel { margin-top: .9rem; }
  .hs { touch-action: pan-x; margin-right: calc(-1 * var(--edge)); padding-right: var(--edge); }
  .pcard { width: 9.6rem; }
  .pcard .ph { aspect-ratio: 1 / 1; }
  .pcard figcaption { padding: .55rem .65rem .7rem; }
  .pcard q { font-size: 1rem; }
  .pcard .en { font-size: .66rem; }
  .cnav .ibtn { display: none; }
  .cnote { margin-left: 0; }
  /* 4 klášter, 5 tiji */
  .stack { gap: .45rem; margin-top: .9rem; }
  .ico { width: 1.7rem; height: 1.7rem; font-size: .6rem; }
  .feature img { aspect-ratio: 16 / 9; }
  .feature figcaption { font-size: 1.02rem; padding: .65rem .85rem .75rem; }
  .thumbs { gap: .3rem; }
  .thumbs button { border-radius: 6px; }
  /* 6 budova */
  .note { margin-top: .9rem; padding: .75rem .9rem; }
  .note p { font-size: .92rem; }
  .note b { font-size: 1.25rem; }
  /* 7 školy: text a čísla dole, časová osa jen na šířku */
  .duo { margin-top: .9rem; gap: .5rem; }
  .stat .big { font-size: 2.5rem; }
  .tl { padding: .85rem .95rem; }
  .timeline li { padding-bottom: .6rem; }
  .timeline b { font-size: 1.08rem; }
  .timeline span { font-size: .8rem; }
  /* 8 cíl */
  .cilcard { margin-top: .9rem; padding: .85rem .95rem .95rem; }
  .cilcard .card__t { font-size: .9rem; }
  .tags { gap: .35rem; }
  .tags span { font-size: .76rem; padding: .35rem .65rem; }
  /* 9 film */
  .film { left: var(--edge); right: var(--edge); top: 50%; bottom: auto; translate: 0 -50%; }
  .player { width: 100%; border-radius: 14px; }
  .filmbar { margin-top: .7rem; }
  .filmbar p { font-size: .68rem; }
  .fsbtn { min-height: 2.3rem; padding: 0 .85rem; font-size: .78rem; }
  /* 10 setkání: program večera schovat */
  .setkani { display: block; }
  .program { width: auto; margin-top: .8rem; padding: .75rem .95rem; }
  .program li { padding: .3rem 0; font-size: .9rem; }
  .ev-main { max-width: none; }
  .evcard { margin-top: .9rem; padding: .9rem 1rem; }
  .evcard dl { grid-template-columns: 1fr; gap: .7rem; }
  .evcard dd { font-size: .9rem; }
  .more { bottom: .4rem; }
  /* sekce pod letem */
  .wrap { width: auto; margin: 0 var(--edge); }
  .sec { padding: 4.5rem 0 3rem; }
  .sec__head { margin-bottom: 1.6rem; }
  .sec h2.d { font-size: clamp(2rem, 1.2rem + 4vw, 2.7rem); }
  .grid { columns: 2; column-gap: .5rem; }
  .grid button { margin-bottom: .5rem; }
  .help { grid-template-columns: 1fr; gap: .8rem; }
  .hcard { padding: 1.3rem 1.2rem 1.25rem; }
  .hcard h3 { font-size: 1.7rem; }
  .kdo { grid-template-columns: 1fr; gap: 1.6rem; }
  .pull { font-size: 1.25rem; }
  .plist { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .plist li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .plogo { min-height: 6.5rem; padding: 1rem .8rem; border-radius: 12px; }
  .plogo--ph b { font-size: 1rem; }
  .foot { padding: 2.4rem 0 calc(2.4rem + env(safe-area-inset-bottom)); }
  .foot__in { grid-template-columns: 1fr; gap: 1.6rem; }
  /* lightbox */
  .lb figure { max-width: calc(100vw - 1.5rem); }
  .lb img { max-height: calc(100dvh - 9rem); }
  .lb__p, .lb__n { top: auto; bottom: 1.2rem; translate: none; }
  .lb__x { right: .8rem; top: .8rem; }
  .lb__c { left: 1rem; top: 1.4rem; }
}
@media (max-width: 760px) and (max-height: 640px) {
  .pc-track .card:nth-child(3) { display: none; }
  .pc-dots button:nth-child(3) { display: none; }
  .thumbs { display: none; }
  .tiji .kicker.mt { display: none; }
}

/* ---------------- mobil: dock, menu, posuvné panely (Ondra 20. 10.) ---------------- */
.bar__menu, .dock, .menu { display: none; }
.bar button { pointer-events: auto; }
@media (max-width: 760px), (orientation: landscape) and (max-height: 500px) {
  /* panel delší než obrazovka se posouvá sám, dole jemně dobíhá */
  .pane { max-height: calc(100vh - var(--top) - var(--safe-b)); max-height: calc(100dvh - var(--top) - var(--safe-b)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .pane::-webkit-scrollbar { display: none; }
  .pane.scrolls { -webkit-mask-image: linear-gradient(#000 calc(100% - 2.2rem), transparent); mask-image: linear-gradient(#000 calc(100% - 2.2rem), transparent); padding-bottom: 1.6rem; }
  .proc-q { max-height: 34vh; }
  .film { max-height: none; overflow: visible; }
  .proc-cards { overflow: visible; }
  .hs.dragging, .pc-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }

  /* lišta: logo, aukce, menu */
  .bar__menu { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; margin-left: .1rem; padding: 0; border-radius: 50%; border: 1px solid rgba(242, 237, 228, .38); background: rgba(var(--scrim), .42); color: var(--ink); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .bar__menu svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .bar__cta { margin-left: auto; }
  .bar__cta .btn { min-height: 2.75rem; }
  html.paged .bar__menu { border-color: rgba(112, 29, 43, .4); background: transparent; color: var(--wine); -webkit-backdrop-filter: none; backdrop-filter: none; }

  /* dock: zpět, kde jsem, dál; na dosah palce */
  .dock { position: fixed; z-index: 29; left: var(--edge); right: var(--edge); bottom: var(--dock-b); height: var(--dock-h); display: flex; align-items: center; gap: .35rem; padding: .35rem; border-radius: 999px; background: rgba(16, 12, 10, .66); border: 1px solid rgba(242, 237, 228, .14); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); transition: opacity .45s var(--ease), translate .45s var(--ease); }
  .dock::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: -1px; height: 1px; background: linear-gradient(90deg, var(--gold) calc(var(--p, 0) * 100%), rgba(242, 237, 228, .12) calc(var(--p, 0) * 100%)); transition: background .9s var(--ease); }
  html.paged .dock, html.moving .dock, html.menu-open .dock { opacity: 0; translate: 0 1.2rem; pointer-events: none; }
  .dock button { display: inline-flex; align-items: center; justify-content: center; border: 0; margin: 0; cursor: pointer; color: var(--ink); font: inherit; -webkit-tap-highlight-color: transparent; }
  .dock svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .dock__prev { flex: none; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: rgba(242, 237, 228, .08); transition: background .2s, opacity .2s; }
  .dock__prev:disabled { opacity: .3; cursor: default; }
  .dock__mid { flex: 1; min-width: 0; height: 2.8rem; flex-direction: column; align-items: flex-start !important; gap: .12rem; padding: 0 .55rem; background: none; border-radius: 12px; text-align: left; }
  .dock__n { font: 600 .64rem/1 var(--sans); letter-spacing: .14em; color: var(--gold); font-variant-numeric: tabular-nums; }
  .dock__l { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 1.08rem/1.1 var(--serif); }
  .dock__next { flex: none; height: 2.8rem; gap: .35rem; padding: 0 1rem 0 1.15rem; border-radius: 999px; background: var(--wine); color: #FFF6EE; font: 550 .92rem/1 var(--sans) !important; transition: background .2s, transform .2s var(--ease); }
  .dock button:active { transform: scale(.96); }
  .dock__prev:active { background: rgba(242, 237, 228, .16); }
  .dock__next:active { background: var(--wine-hi); }
  .rail.wait ~ .dock .dock__next svg { animation: dk 1s var(--ease) infinite; }
  @keyframes dk { 50% { transform: translateY(3px); opacity: .5; } }

  /* menu: celoobrazovkové, v barvách pozvánky */
  .menu { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; background: var(--wine); color: var(--beige); padding: max(.65rem, env(safe-area-inset-top)) var(--edge) max(1rem, env(safe-area-inset-bottom));
    clip-path: circle(0 at var(--ox, 90%) var(--oy, 2rem)); transition: clip-path .5s cubic-bezier(.65, 0, .35, 1); }
  .menu[hidden] { display: none; }
  .menu.on { clip-path: circle(150vmax at var(--ox, 90%) var(--oy, 2rem)); }
  .menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 2.75rem; }
  .menu__logo { height: 2.3rem; width: auto; }
  .menu__x { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 50%; border: 1px solid rgba(245, 242, 239, .4); background: none; color: var(--beige); cursor: pointer; }
  .menu__x svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .menu__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; margin: 1rem calc(-1 * var(--edge)) 0; padding: 0 var(--edge) 1.2rem; scrollbar-width: none; }
  .menu__body::-webkit-scrollbar { display: none; }
  .menu__g { margin: 1.4rem 0 .35rem; font: 600 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #E2BE7A; }
  .menu__g:first-child { margin-top: .4rem; }
  .menu ol, .menu ul { list-style: none; margin: 0; padding: 0; }
  .menu__st button, .menu__sec a { display: flex; align-items: baseline; gap: .8rem; width: 100%; min-height: 2.9rem; padding: .45rem 0; border: 0; border-bottom: 1px solid rgba(245, 242, 239, .12); background: none; color: inherit; font: 400 1.5rem/1.15 var(--serif); text-align: left; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .menu__sec a { font-size: 1.25rem; }
  .menu__st .mn { flex: none; width: 1.6rem; font: 500 .72rem/1 var(--sans); letter-spacing: .06em; color: rgba(245, 242, 239, .55); font-variant-numeric: tabular-nums; translate: 0 -.15rem; }
  .menu [aria-current] { color: #FFFFFF; }
  .menu__st [aria-current] .mn { color: #E2BE7A; }
  .menu [aria-current] .ml::after, .menu__sec a[aria-current]::after { content: ""; display: inline-block; width: .42rem; height: .42rem; margin-left: .55rem; border-radius: 50%; background: #E2BE7A; vertical-align: .3rem; }
  .menu__st button:active, .menu__sec a:active { color: #E2BE7A; }
  .menu__st li, .menu__sec li, .menu__g { opacity: 0; translate: 0 .6rem; transition: opacity .4s var(--ease), translate .5s var(--ease); }
  .menu.on .menu__st li, .menu.on .menu__sec li, .menu.on .menu__g { opacity: 1; translate: 0 0; transition-delay: .16s; }
  .menu__cta { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; padding-top: .9rem; border-top: 1px solid rgba(245, 242, 239, .14); }
  .menu__cta .btn { justify-content: center; min-height: 3rem; padding: 0 .6rem; font-size: .9rem; }
  .btn--light { background: var(--beige); color: var(--wine); }
  .btn--line { border: 1px solid rgba(245, 242, 239, .5); color: var(--beige); }
  html.menu-open, html.menu-open body { overflow: hidden; }

  /* dotyk: větší cíle v galerii a lightboxu */
  .lb .ibtn { width: 3rem; height: 3rem; }
  .lb__p { left: var(--edge); } .lb__n { right: var(--edge); }
  .lb__c { top: max(1.4rem, calc(env(safe-area-inset-top) + .9rem)); }
  .lb__x { top: max(.8rem, env(safe-area-inset-top)); }
  .thumbs button, .grid button, .pcard { -webkit-tap-highlight-color: transparent; }
  .grid button:active img { transform: scale(.98); }
}
/* telefon na šířku: text vlevo, druhý panel vpravo */
@media (orientation: landscape) and (max-height: 500px) {
  :root { --top: calc(3.9rem + env(safe-area-inset-top)); --dock-h: 3.1rem; --dock-b: max(.5rem, env(safe-area-inset-bottom)); }
  .bar { padding-top: max(.45rem, env(safe-area-inset-top)); padding-bottom: .45rem; }
  .bar__logo img { height: 2rem; }
  .dock { left: auto; width: min(26rem, 52vw); }
  .pane, .pane.bl, .hero, .proc-q, .sny, .col-l, .setkani { right: auto; width: min(31rem, 54vw); }
  .proc-q { top: auto; bottom: var(--safe-b); max-height: calc(100dvh - var(--top) - var(--safe-b)); }
  .proc-cards, .col-r { left: auto; right: var(--edge); top: var(--top); bottom: calc(var(--dock-b) + var(--dock-h) + .85rem); width: min(19rem, 38vw); flex-direction: column; overflow-x: hidden; overflow-y: auto; margin-right: 0; padding-right: 0; touch-action: pan-y; }
  .pc-track { flex-direction: column; overflow: visible; margin-right: 0; padding-right: 0; touch-action: pan-y; cursor: auto; }
  .pc-track .card { width: auto; }
  .pc-dots { display: none; }
  .skoly { top: var(--top); bottom: var(--safe-b); max-height: none; }
  .scene .scrim { background: linear-gradient(to right, rgba(var(--scrim), .86), rgba(var(--scrim), .55) 45%, rgba(var(--scrim), .2) 75%) !important; }
  #s-proc .scrim, #s-skoly .scrim { background: linear-gradient(to right, rgba(var(--scrim), .86), rgba(var(--scrim), .5) 50%, rgba(var(--scrim), .8)) !important; }
  .pane h2.d, .klaster h2.d, .cil h2.d, .budova h2.d, .ev-main h2.d, .hero .d { font-size: clamp(1.5rem, 1rem + 2vw, 2rem); }
  .player { width: min(100%, calc((100dvh - var(--top) - var(--dock-h) - 4rem) * 16 / 9)); margin: 0 auto; }
  .film { top: calc(var(--top) + .2rem); translate: 0 0; }
  .pcard { width: 8.6rem; }
  .pcard .ph { aspect-ratio: 4 / 3; }
  .pcard .en { display: none; }
}

/* ---------------- pomalé připojení: krátké oznámení (Ondra 21. 10.) ---------------- */
.toast { position: fixed; z-index: 45; left: 50%; top: calc(var(--top) - .6rem); translate: -50% -.5rem; width: max-content; max-width: calc(100vw - 2 * var(--edge)); display: flex; align-items: center; gap: .3rem .8rem; flex-wrap: wrap; padding: .6rem .6rem .6rem 1rem; border-radius: 14px; background: rgba(16, 12, 10, .82); border: 1px solid rgba(242, 237, 228, .16); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .4s var(--ease), translate .5s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; translate: -50% 0; pointer-events: auto; }
.toast p { margin: 0; flex: 1 1 14rem; font-size: .84rem; line-height: 1.4; color: var(--soft); }
.toast a { font: 550 .84rem/1 var(--sans); color: #F5D9A3; text-underline-offset: .2em; white-space: nowrap; padding: .55rem 0; }
.toast button { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--soft); cursor: pointer; }
.toast svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
html.paged .toast { display: none; }

/* mobil: nové texty */
@media (max-width: 760px), (orientation: landscape) and (max-height: 500px) {
  .klaster, .cil { width: auto; }
  .klaster .stack { display: flex; }
  .klaster .lede, .tiji .lede { font-size: .95rem; }
  .tiji .feature img { aspect-ratio: 16 / 7; }
  .cil { padding: 1.15rem 1.15rem 1.2rem; border-radius: 16px; }
  .cil h2.d { font-size: clamp(1.6rem, 1.1rem + 2.6vw, 2.1rem); }
  .points { grid-template-columns: 1fr; gap: .7rem; }
  .cil__end { font-size: 1.3rem; }
  .hero__ev { margin-top: .9rem; }
  .hero__ev span { font-size: 1.15rem; }
  .pane .copy p { font-size: .95rem; }
  p.cnote { margin-left: 0; }
}
@media (max-width: 760px) {
  .tl { display: none; }
}
@media (max-width: 760px) {
  .kat__in { grid-template-columns: 1fr; gap: 1.6rem; }
  .kat__wall { order: -1; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 38%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; margin: 0 calc(-1 * var(--edge)); padding: 1.4rem var(--edge) .6rem; }
  .kat__wall::-webkit-scrollbar { display: none; }
  .kat__wall li { scroll-snap-align: start; translate: none !important; }
}
@media (max-height: 800px) and (min-width: 761px) { .tiji .feature img { aspect-ratio: 16 / 7; } }
@media (max-width: 760px) {
  .klaster .ico { display: none; }
  .klaster .card { padding: .7rem .85rem; }
  .klaster .card__t { font-size: .9rem; }
  .klaster .stack { gap: .4rem; }
}

/* ---------------- telefon: dlouhé zastávky jako upoutávka + rozbalovací list (Ondra 23. 10.) ---------------- */
.mmore, .msheet-x, .m-only { display: none; }
@media (max-width: 760px), (orientation: landscape) and (max-height: 500px) {
  /* zabalené: jen nadpis, krátký úvod, hlavní tlačítko a "více" */
  .pane[data-more]:not(.open) > :not(.mkeep):not(.mmore):not(.kicker):not(h2) { display: none; }
  .pane[data-more]:not(.open) > .kicker.mt { display: none; }
  .pane[data-more]:not(.open) .mclamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .pane[data-more]:not(.open) .copy.mkeep p:nth-child(n+2) { display: none; }
  .pane[data-more]:not(.open) .copy.mkeep p:first-child { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0; }
  .pane[data-more]:not(.open) { overflow: visible; max-height: none; -webkit-mask-image: none; mask-image: none; padding-bottom: 0; }
  .pane.cil[data-more]:not(.open) { padding-bottom: 1.1rem; }
  .pane[data-more]:not(.open) .duo, .pane[data-more]:not(.open) .thumbs, .pane[data-more]:not(.open) .evcard { margin-top: .8rem; }
  .pane[data-more]:not(.open) .row.mkeep { display: inline-flex; vertical-align: middle; margin-right: .5rem; }
  .mmore { display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem; min-height: 2.75rem; padding: 0 1.05rem 0 1.15rem; border-radius: 999px; border: 1px solid rgba(242, 237, 228, .42); background: rgba(var(--scrim), .45); color: var(--ink); font: 550 .9rem/1 var(--sans); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); -webkit-tap-highlight-color: transparent; vertical-align: middle; }
  .mmore svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .mmore:active { transform: scale(.97); }
  .cil .mmore { border-color: rgba(112, 29, 43, .45); background: transparent; color: var(--wine); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pane.open .mmore { display: none; }

  /* rozbalené: celý panel jako list zespodu, normální posouvání */
  .pane.open { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none; max-height: calc(100dvh - var(--top) + .4rem); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 1rem var(--edge) calc(1.6rem + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: rgba(18, 14, 11, .97); box-shadow: 0 -24px 60px rgba(0, 0, 0, .55); -webkit-mask-image: none; mask-image: none; animation: sheetUp .42s var(--ease); }
  .pane.cil.open { background: var(--beige); }
  .pane.open .d, .pane.open .kicker, .pane.open .lede, .pane.open .copy p { text-shadow: none; }
  .pane.open .card { background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .pane.open .m-only { display: block; margin-top: .9rem; }
  .pane.open .feature img { aspect-ratio: 16 / 9; }
  @keyframes sheetUp { from { transform: translateY(32%); opacity: .4; } }
  .msheet-x { display: grid; place-items: center; position: sticky; top: 0; z-index: 2; float: right; width: 2.75rem; height: 2.75rem; margin: -.1rem -.25rem .3rem .8rem; padding: 0; border-radius: 50%; border: 1px solid rgba(242, 237, 228, .35); background: rgba(18, 14, 11, .92); color: var(--ink); cursor: pointer; }
  .msheet-x svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .cil .msheet-x { border-color: rgba(112, 29, 43, .3); background: var(--beige); color: var(--wine); }
  .pane:not(.open) > .msheet-x { display: none; }
  .scene.sheet .scrim { opacity: 1 !important; background: rgba(var(--scrim), .72) !important; pointer-events: auto; transition: opacity .3s; }
  html.sheet-open .dock { opacity: 0; translate: 0 1.2rem; pointer-events: none; }
  html.sheet-open .hl, html.sheet-open .toast { display: none; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .pane.open { left: auto; right: var(--edge); width: min(34rem, 70vw); max-height: calc(100dvh - var(--top)); border-radius: 18px 18px 0 0; }
}
.kat__wall img { object-fit: cover; }

/* partneři: skutečná loga, opticky srovnaná (Ondra 25. 10.) */
.plist { grid-template-columns: repeat(4, 1fr); }
.plogo--real a, .plogo--real > span { display: grid; place-items: center; width: 100%; height: 100%; }
.plogo--real img { width: auto; max-width: min(11rem, 100%); max-height: 3rem; height: auto; object-fit: contain; }
.plogo--real img[src*="scott-weber"] { max-height: 1.5rem; max-width: min(12.5rem, 100%); }
.plogo--real img[src*="tess-promotion"] { max-height: 2.2rem; }
.plogo--real img[src*="emblem-hotel"] { max-height: 4rem; }
.plogo--real img[src*="zatisi-group"] { max-height: 3.8rem; }
.plogo--real img[src*="old-town"] { max-height: 3.4rem; }
.plogo--real img[src*="happy-hearts"] { max-height: 3rem; }
@media (max-width: 1100px) { .plist { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) {
  .plist { grid-template-columns: 1fr 1fr; }
  .plogo--real img { max-width: 86%; max-height: 2.5rem; }
  .plogo--real img[src*="scott-weber"] { max-height: 1.15rem; }
  .plogo--real img[src*="emblem-hotel"], .plogo--real img[src*="zatisi-group"] { max-height: 3.2rem; }
}
