/* MikroŽivot - úvodní stránka (hotový web od 22. 11. 2026)
   Načítá se jen na úvodní stránce, za assets/app.css (barvy, písmo, záhlaví, patička, časté otázky, banner a poradce
   jsou odtamtud). Pohyb: úvodní animace, čočka s mikrosvětem, běžící nápis, koloběh a „odhalování“ částí při posunu
   stránky (jen v prohlížečích s animation-timeline; jinak je vše rovnou vidět). Při omezení pohybu
   (prefers-reduced-motion) se vše zastaví a obsah zůstane vidět. */

.page-uvod { background: var(--night); }

/* Záhlaví s menu (připnuté, aktuální část stránky) je od 22. 11. 2026 společné v assets/app.css. */

/* ------------------------------------------------------------ úvod (hero) */

.uh {
  --uh-pad-top: clamp(104px, 2.6vw + 82px, 136px);
  position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(700px, 100vh, 1080px);
  min-height: clamp(700px, 100svh, 1080px);
  padding-block: var(--uh-pad-top) clamp(56px, 5vw, 88px);
  background: var(--night); color: var(--on-night);
}
.uh__media { position: absolute; inset: 0; z-index: -3; display: block; overflow: hidden; }
.uh__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 58%;
  transform-origin: 70% 60%;
  animation: uh-zoom 2.8s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes uh-zoom {
  from { transform: scale(1.18); filter: saturate(.55) brightness(.6); }
  to { transform: scale(1.04); filter: none; }
}
/* Závoj: tmavší vlevo pod textem, kolem čočky jemný tmavý dvůr, dole přechod do barvy další části. */
.uh::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(42% 58% at 76% 46%, rgba(6, 20, 11, .5) 0%, rgba(6, 20, 11, .22) 55%, rgba(6, 20, 11, 0) 100%),
    linear-gradient(180deg, rgba(15, 36, 22, .55) 0, rgba(15, 36, 22, 0) 240px),
    linear-gradient(90deg, rgba(10, 28, 16, .82) 0%, rgba(10, 28, 16, .7) 34%, rgba(10, 28, 16, .38) 58%, rgba(10, 28, 16, .2) 100%);
}
.uh::after {
  content: ""; position: absolute; inset: auto 0 0; height: 34%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 36, 22, 0) 0%, rgba(15, 36, 22, .7) 55%, var(--night) 100%);
}
.uh__pollen { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.uh__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  grid-template-areas: "copy lens" "doors doors";
  column-gap: clamp(32px, 4.5vw, 88px);
  row-gap: clamp(24px, 2.6vw, 40px);
  align-items: center;
}
.uh__copy { grid-area: copy; container-type: inline-size; }
.uh__lens { grid-area: lens; justify-self: center; width: min(100%, clamp(300px, 30vw, 520px)); }
.doors { grid-area: doors; }

.uh__eyebrow, .uh__title, .uh__lead {
  text-shadow: 0 0 2px rgba(8, 22, 12, .7), 0 0 14px rgba(8, 22, 12, .6), 0 0 34px rgba(8, 22, 12, .5);
}
.uh__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 12px; border-radius: 999px;
  background: rgba(10, 28, 16, .78); border: 1px solid rgba(166, 224, 111, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #f1fbe8; font-weight: 700; font-size: 1rem; line-height: 1.25; letter-spacing: .02em;
  animation: uh-rise .9s .05s cubic-bezier(.2, .8, .2, 1) both;
}
.uh__dots { display: inline-flex; gap: 5px; }
.uh__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 2px rgba(255, 255, 255, .14), 0 0 12px var(--surface); }
.uh__title {
  margin-top: clamp(16px, 1.8vw, 26px);
  font-size: clamp(2.4rem, 1.2rem + 4vw, 5rem);
  font-size: clamp(2.4rem, 8.7cqi, 5.4rem);
  line-height: 1; letter-spacing: -.015em; color: #fff;
}
.uh__line { display: block; animation: uh-rise 1s .12s cubic-bezier(.2, .8, .2, 1) both; }
.uh__line--accent {
  padding-bottom: .06em;
  color: var(--leaf-soft);
  animation-delay: .26s;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .uh__line--accent {
    background: linear-gradient(92deg, #d9f7b8 0%, #a6e06f 38%, #c9e36a 64%, #f2d27a 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: none; filter: drop-shadow(0 2px 14px rgba(8, 22, 12, .55));
  }
}
@keyframes uh-rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.uh__lead {
  margin-top: clamp(16px, 1.8vw, 24px); max-width: 36em;
  font-size: clamp(1.16rem, 1.02rem + .46vw, 1.42rem); line-height: 1.52; color: #e9f5e0;
  animation: uh-rise 1s .4s cubic-bezier(.2, .8, .2, 1) both;
}
.uh__actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.4vw, 34px);
  animation: uh-rise 1s .52s cubic-bezier(.2, .8, .2, 1) both;
}
.uh__btn { min-height: 56px; padding-inline: 24px; border-radius: 16px; }
.uh__btn.btn--primary { box-shadow: 0 10px 30px rgba(120, 207, 51, .35), inset 0 -2px 0 rgba(27, 58, 34, .18); }
.uh__btn.btn--primary:hover .btn__icon { transform: translateY(2px); }
.uh__btn .btn__icon { transition: transform .2s; }
.uh__btn--glass {
  color: #fff; background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1.5px rgba(239, 249, 231, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.uh__btn--glass:hover { background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1.5px #fff; }
.uh__btn--glass .btn__icon { color: var(--leaf-soft); }
.uh__btn:focus-visible { outline-color: #fff; }

/* Rozcestník: tři „dveře“ do oblastí pod textem a čočkou. */
.doors { animation: uh-rise 1s .9s cubic-bezier(.2, .8, .2, 1) both; }
.doors__label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
  font-weight: 700; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: #d4ecc1;
  text-shadow: 0 0 10px rgba(8, 22, 12, .8);
}
.doors__label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(212, 236, 193, .45), rgba(212, 236, 193, 0)); }
.doors__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.door {
  position: relative; display: flex; align-items: center; gap: 14px; height: 100%;
  padding: 14px 16px 14px 14px; border-radius: 20px;
  background: rgba(10, 28, 16, .58);
  border: 1.5px solid rgba(239, 249, 231, .45); border-color: color-mix(in srgb, var(--surface-mid) 72%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  color: #fff; text-decoration: none;
  box-shadow: 0 0 22px -8px var(--surface-mid), 0 14px 34px rgba(2, 10, 5, .3);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, background-color .25s, box-shadow .25s;
}
.door:hover { transform: translateY(-4px); background: rgba(10, 28, 16, .74); border-color: var(--surface-mid); box-shadow: 0 0 0 1px var(--surface-mid), 0 0 30px -6px var(--surface-mid), 0 22px 44px rgba(2, 10, 5, .42); }
/* Na počítači rozcestník končí před plovoucím tlačítkem Poradíme Vám vpravo dole (tlačítko ~185 px + okraj 22 px
   + rezerva), aby se poradce na menších monitorech neschovával; na širokých monitorech zůstává přes celou šířku. */
@media (min-width: 1000px) {
  .doors { max-width: calc(100% - max(0px, 236px - (100vw - 100%) / 2)); }
}
.door:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.door__icon {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(140deg, var(--surface-start), var(--surface-mid) 60%, var(--surface));
  color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 255, 255, .1), 0 8px 18px rgba(0, 0, 0, .25);
}
.door__icon svg { width: 34px; height: 34px; }
.door__text { display: grid; gap: 2px; min-width: 0; }
.door__title { font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.door__sub { font-size: .95rem; line-height: 1.3; color: #cfe3c1; }
/* Šipka dolů: rozcestník vede na karty oblastí níž na stránce (od 22. 11. 2026). */
.door__arrow { flex: none; margin-left: auto; width: 22px; height: 22px; color: var(--surface-mid); transition: transform .25s; }
.door:hover .door__arrow { transform: translateY(4px); }

/* ------------------------------------------------- čočka s mikrosvětem */

.lens {
  --mx: 0; --my: 0;
  position: relative; width: 100%; aspect-ratio: 1;
  animation: lens-in 1.5s .25s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes lens-in {
  from { opacity: 0; transform: scale(.82) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}
/* Barevný okraj čočky v barvách tří oblastí (půda, voda, včely) a zelené; pomalu se otáčí. */
.lens::before, .lens::after {
  content: ""; position: absolute; inset: 5.4%; border-radius: 50%; padding: 1.3%; pointer-events: none;
  background: conic-gradient(from 0deg, #bd956f, #f2d27a 22%, #78cf33 45%, #8fd8e8 68%, #bd956f);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: lens-spin 16s linear infinite; will-change: transform;
}
.lens::after { filter: blur(14px); opacity: .55; }
/* Mimo obrazovku se pohyb zastaví (třídu is-off přidává uvod.js), ať stránka zbytečně nezatěžuje počítač ani telefon. */
.is-off, .is-off *, .is-off::before, .is-off::after, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }
.is-off .uh__media { animation-play-state: running !important; }
@keyframes lens-spin { to { transform: rotate(360deg); } }
.lens__view {
  position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 40% 36%, #2a5c45 0%, #153824 38%, #0a2214 70%, #04120a 100%);
  box-shadow: inset 0 0 0 2px rgba(220, 255, 200, .16), inset 0 0 70px rgba(0, 0, 0, .7), 0 34px 90px rgba(2, 10, 5, .6);
}
/* Odlesk skla přes celé zorné pole. */
.lens__view::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(60% 40% at 30% 18%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .45) 100%);
}
.lens__layer {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
/* Hloubka ostrosti: vzadu rozostřené, vpředu ostré; po načtení se čočka „zaostří“. Náklon podle myši (uvod.js). */
.lens__layer--back { filter: blur(3px); transform: translate3d(calc(var(--mx) * 5px), calc(var(--my) * 5px), 0); animation: lens-focus-back 2.2s .4s ease-out both; }
.lens__layer--mid { filter: blur(1.1px); transform: translate3d(calc(var(--mx) * 12px), calc(var(--my) * 12px), 0); animation: lens-focus-mid 2.2s .4s ease-out both; }
.lens__layer--front { transform: translate3d(calc(var(--mx) * 22px), calc(var(--my) * 22px), 0); animation: lens-focus-front 2.2s .4s ease-out both; }
@keyframes lens-focus-back { from { filter: blur(14px); opacity: .3; } to { filter: blur(3px); opacity: 1; } }
@keyframes lens-focus-mid { from { filter: blur(12px); opacity: .2; } to { filter: blur(1.1px); opacity: 1; } }
@keyframes lens-focus-front { from { filter: blur(16px); opacity: 0; } 55% { filter: blur(3px); opacity: 1; } to { filter: blur(0); opacity: 1; } }

/* Drobné organismy se pomalu vznášejí (osm drah, čtyři posuny v čase). */
.lens .mf { transform-box: fill-box; transform-origin: center; animation: mf1 21s ease-in-out infinite; }
.lens .mf2 { animation-name: mf2; animation-duration: 25s; }
.lens .mf3 { animation-name: mf3; animation-duration: 18s; }
.lens .mf4 { animation-name: mf4; animation-duration: 29s; }
.lens .mf5 { animation-name: mf5; animation-duration: 23s; }
.lens .mf6 { animation-name: mf6; animation-duration: 27s; }
.lens .mf7 { animation-name: mf7; animation-duration: 19s; }
.lens .mf8 { animation-name: mf8; animation-duration: 31s; }
.lens .md1 { animation-delay: -3s; }
.lens .md2 { animation-delay: -8s; }
.lens .md3 { animation-delay: -13s; }
.lens .md4 { animation-delay: -17s; }
@keyframes mf1 { 50% { transform: translate(14px, -10px) rotate(24deg); } }
@keyframes mf2 { 50% { transform: translate(-12px, 12px) rotate(-30deg); } }
@keyframes mf3 { 33% { transform: translate(10px, 8px) rotate(18deg); } 66% { transform: translate(-6px, 14px) rotate(-12deg); } }
@keyframes mf4 { 50% { transform: translate(-16px, -8px) rotate(40deg); } }
@keyframes mf5 { 33% { transform: translate(-8px, -12px) rotate(-16deg); } 66% { transform: translate(10px, -4px) rotate(14deg); } }
@keyframes mf6 { 50% { transform: translate(12px, 14px) rotate(-36deg); } }
@keyframes mf7 { 50% { transform: translate(-10px, -14px) rotate(20deg); } }
@keyframes mf8 { 33% { transform: translate(16px, 4px) rotate(30deg); } 66% { transform: translate(4px, 16px) rotate(-10deg); } }

/* Tři hlavní organismy zůstávají na místě (popisky k nim sedí přesně), jen se jemně hýbou. */
.lens__hero { transform-box: fill-box; transform-origin: center; }
.lens__hero--rods { animation: hero-rods 7s ease-in-out infinite; }
.lens__hero--yeast { animation: hero-yeast 9s ease-in-out infinite; }
.lens__hero--photo { animation: hero-photo 3.6s ease-in-out infinite; }
.lens__bud { transform-box: fill-box; transform-origin: 0% 100%; animation: hero-bud 4.5s ease-in-out infinite; }
@keyframes hero-rods { 50% { transform: rotate(4deg) translateY(-3px); } }
@keyframes hero-yeast { 50% { transform: rotate(-6deg) scale(1.03); } }
@keyframes hero-photo { 50% { transform: rotate(5deg) scaleX(.96); } }
@keyframes hero-bud { 50% { transform: scale(1.12); } }

/* „Skenování“: terč a popisek postupně u každé skupiny (9 s, po 3 s; do 22. 11. 2026 po 4 s); po najetí myší jsou vidět všechny.
   Popisky jsou od 22. 11. 2026 větší a v barvě organismu, ukazují se jen spolu s terčem. */
.lens__target { opacity: 0; transform-box: fill-box; transform-origin: center; animation: lens-target 9s linear infinite; }
.lens__target--rods { animation-delay: 2.4s; }
.lens__target--yeast { animation-delay: 5.4s; }
.lens__target--photo { animation-delay: 8.4s; }
@keyframes lens-target {
  0% { opacity: 0; transform: scale(1.4) rotate(0deg); }
  5% { opacity: 1; transform: scale(1) rotate(10deg); }
  29% { opacity: 1; transform: scale(1) rotate(60deg); }
  33% { opacity: 0; transform: scale(.9) rotate(70deg); }
  100% { opacity: 0; transform: scale(.9) rotate(70deg); }
}
.lens__tag {
  position: absolute; z-index: 2; translate: -50% -100%;
  display: inline-flex; align-items: center; gap: 10px; padding: .45em .95em .45em .7em; border-radius: 999px;
  background: var(--tag, #a6e06f); border: 2px solid rgba(255, 255, 255, .8);
  color: #10260f; font-weight: 700; font-size: clamp(1rem, .7rem + .6vw, 1.25rem); line-height: 1.15; white-space: nowrap;
  box-shadow: 0 0 0 4px rgba(6, 20, 11, .4), 0 12px 28px rgba(0, 0, 0, .45), 0 0 28px -4px var(--tag, #a6e06f);
  transform-origin: 50% 100%; pointer-events: none;
  opacity: 0; animation: lens-tag 9s linear infinite;
}
.lens__tag::before { content: ""; flex: none; width: .55em; height: .55em; border-radius: 50%; background: #10260f; box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.lens__tag--rods { --tag: #a6e06f; left: 33%; top: 23%; animation-delay: 2.4s; }
.lens__tag--yeast { --tag: #f2cf6b; left: 69%; top: 40%; animation-delay: 5.4s; }
.lens__tag--photo { --tag: #e7a6e2; left: 45%; top: 93%; translate: -50% 0; transform-origin: 50% 0; animation-delay: 8.4s; }
@keyframes lens-tag {
  0% { opacity: 0; transform: translateY(8px) scale(.92); }
  5% { opacity: 1; transform: none; }
  29% { opacity: 1; transform: none; }
  33% { opacity: 0; transform: translateY(-4px) scale(.96); }
  100% { opacity: 0; }
}
.lens:hover .lens__target { animation: none; opacity: 1; transform: none; }
.lens:hover .lens__tag { animation: none; opacity: 1; transform: none; }
.lens__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; animation: lens-spin 90s linear infinite reverse; will-change: transform; }
.lens__ticks line { stroke: rgba(214, 240, 196, .5); stroke-width: 1.6; stroke-linecap: round; }
.lens__ticks .lens__tick--long { stroke: #a6e06f; stroke-width: 2.6; }
.lens__ring-text { fill: #d6efc4; font-family: var(--font); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }

/* --------------------------------------------- tři oblasti (karty s fotkou) */

.t-soil { --deep-rgb: 40, 26, 16; --light: #ecd3b6; }
.t-water { --deep-rgb: 6, 36, 48; --light: #ace4f2; }
.t-bee { --deep-rgb: 44, 31, 6; --light: #f6d987; }

.worlds {
  --sheet-r: clamp(28px, 4vw, 56px);
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(40px, 4vw, 72px) calc(clamp(72px, 7vw, 120px) + var(--sheet-r));
  background: var(--night); color: var(--on-night);
}
.worlds:focus { outline: none; }
.worlds::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(50% 40% at 12% 18%, rgba(120, 207, 51, .14), rgba(120, 207, 51, 0) 70%),
    radial-gradient(45% 50% at 92% 70%, rgba(40, 110, 133, .2), rgba(40, 110, 133, 0) 70%),
    radial-gradient(40% 40% at 50% 100%, rgba(213, 180, 86, .12), rgba(213, 180, 86, 0) 70%);
}
/* Velký obrysový nápis běží za nadpisem. */
.worlds__marquee {
  position: absolute; z-index: -1; top: clamp(8px, 2vw, 28px); left: 0;
  display: flex; width: max-content; margin: 0; pointer-events: none; user-select: none;
  font-weight: 700; font-size: clamp(4.5rem, 2rem + 9vw, 11rem); line-height: 1; letter-spacing: -.01em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(166, 224, 111, .17);
  animation: marquee 80s linear infinite;
}
.worlds__marquee span { padding-right: .3em; }
@keyframes marquee { to { transform: translateX(-50%); } }

.home-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: .92rem; letter-spacing: .14em; text-transform: uppercase; color: var(--link);
}
.home-kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #bd956f, #78cf33, #5aa9c2, #d5b456); }
.home-head { max-width: 780px; }
.home-head h2 {
  margin-top: 12px; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.7rem); line-height: 1.04; letter-spacing: -.012em; color: var(--ink);
}
.home-head > p:last-child { margin-top: 16px; font-size: clamp(1.14rem, 1.02rem + .4vw, 1.34rem); line-height: 1.5; color: var(--ink-soft); }
.home-head--dark .home-kicker { color: var(--leaf-soft); }
.home-head--dark h2 { color: #fff; }
.home-head--dark > p:last-child { color: var(--on-night-soft); }
.home-head--center { margin-inline: auto; text-align: center; }
.home-head--center .home-kicker { justify-content: center; }

.worlds__list {
  list-style: none; margin: clamp(32px, 3.6vw, 52px) 0 0; padding: 0;
  display: flex; gap: clamp(12px, 1.2vw, 18px);
  height: clamp(540px, 74vh, 700px);
}
.world {
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: 28px; color: #fff;
  box-shadow: 0 0 0 1px rgba(var(--deep-rgb), .5), 0 26px 60px rgba(0, 0, 0, .38);
  scroll-margin-top: 24px;
  transition: flex-grow .8s cubic-bezier(.3, .7, .15, 1), box-shadow .4s;
}
.world.is-active { flex-grow: 2.75; box-shadow: 0 0 0 2px var(--surface-mid), 0 30px 70px rgba(0, 0, 0, .45); }
.world__media { position: absolute; inset: 0; z-index: -2; display: block; }
.world__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform: scale(1.12); filter: saturate(.85) brightness(.8);
  transition: transform 1.4s cubic-bezier(.2, .7, .2, 1), filter .8s;
}
.world.is-active .world__media img { transform: scale(1.01); filter: none; }
.world.t-bee .world__media img { object-position: 57% 40%; }
.world__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(var(--deep-rgb), .96) 0%, rgba(var(--deep-rgb), .88) 46%, rgba(var(--deep-rgb), .42) 74%, rgba(var(--deep-rgb), .4) 100%);
  transition: background-color .6s;
}
.world:not(.is-active) .world__shade { background-color: rgba(var(--deep-rgb), .35); }
.world__num {
  position: absolute; top: clamp(18px, 1.6vw, 26px); left: clamp(20px, 2vw, 30px);
  font-weight: 700; font-size: clamp(2.8rem, 2rem + 2vw, 4.4rem); line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .78);
}
.world__body { padding: clamp(20px, 2.2vw, 34px); }
.world__icon {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; margin-bottom: 16px;
  background: linear-gradient(140deg, var(--surface-start), var(--surface-mid) 60%, var(--surface));
  color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 10px 22px rgba(0, 0, 0, .3);
}
.world__icon svg { width: 40px; height: 40px; }
.world__for, .world__text, .world__points li { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.world__for {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px; font-weight: 700; font-size: .92rem; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.world__for::before { content: ""; flex: none; width: 22px; height: 3px; border-radius: 3px; background: var(--light); }
.world__title {
  font-size: clamp(1.4rem, 1rem + 1vw, 2.4rem);
  font-size: clamp(1.32rem, 8.4cqi, 2.7rem);
  line-height: 1.06; letter-spacing: -.01em; color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.world__link { color: inherit; text-decoration: none; }
.world__link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.world__link:focus-visible { outline: none; }
.world:focus-within { outline: 3px solid #fff; outline-offset: 4px; }
/* Skládací části: na počítači je otevřená jen aktivní karta (výška přes grid-template-rows 0fr -> 1fr). */
.world__fold { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .75s cubic-bezier(.3, .7, .15, 1), opacity .35s; }
.world__fold > div { min-height: 0; overflow: hidden; }
.world__fold > div > :is(p, ul) { width: min(470px, calc(100cqi - 2 * clamp(20px, 2.2vw, 34px))); min-width: min(440px, 100%); }
.world.is-active .world__fold { grid-template-rows: 1fr; opacity: 1; transition-delay: .12s, .3s; }
.world__text { margin-top: 12px; font-size: 1.14rem; line-height: 1.5; color: #f1f6ec; }
.world__points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.world__points li { display: flex; align-items: flex-start; gap: 10px; font-size: 1.04rem; line-height: 1.4; color: #fff; }
.world__check { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--surface-mid); color: var(--accent); }
.world__cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: #fff; color: var(--card-ink); font-weight: 700; font-size: 1.04rem; line-height: 1.2;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
  transition: transform .2s, box-shadow .2s;
}
.world__cta-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; }
.world__cta-ico .icon { width: 18px; height: 18px; transform: rotate(-90deg); transition: transform .2s; }
.world:hover .world__cta { transform: translateX(4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .32); }
.world:hover .world__cta-ico .icon { transform: rotate(-90deg) translateY(2px); }

/* ---------------------------------- světlý „list“ se schématem, čísly a postupem */

.sheet {
  --sheet-r: clamp(28px, 4vw, 56px);
  position: relative; z-index: 2;
  margin-top: calc(-1 * var(--sheet-r));
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
  background: var(--paper); color: var(--ink);
  padding-bottom: calc(clamp(64px, 6vw, 104px) + var(--sheet-r));
}
.page-uvod .forest {
  z-index: 3; margin-top: calc(-1 * clamp(28px, 4vw, 56px));
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
}
.page-uvod .forest .faq { padding-top: clamp(64px, 6vw, 104px); }

/* koloběh půda - voda - včely */
.loop { padding-block: clamp(72px, 7vw, 120px) clamp(48px, 5vw, 80px); }
.loop__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
/* Na počítači je sekce bílá karta stejně široká jako karta Na čem stavíme pod ní (běžná šířka .wrap, nejvýš 1320 px;
   22. 11. 2026, předtím 80 % okna).
   Body koloběhu mají uvnitř karty světle zelené pozadí stránky, aby se od karty odlišily. Na tabletu a telefonu
   zůstává sekce bez karty s běžnými okraji. */
@media (min-width: 1000px) {
  .loop { padding-block: clamp(48px, 5vw, 80px) clamp(24px, 3vw, 40px); }
  .loop .wrap {
    padding: clamp(36px, 3.6vw, 60px) clamp(36px, 4vw, 72px);
    border-radius: clamp(24px, 2.4vw, 36px); background: #fff;
    box-shadow: 0 0 0 1px rgba(27, 58, 34, .08), 0 24px 60px rgba(15, 36, 22, .1);
  }
  .loop .loop__item { background: var(--paper); }
}
.loop__list { list-style: none; margin: clamp(26px, 3vw, 40px) 0 0; padding: 0; display: grid; gap: 14px; }
.loop__item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 18px 20px; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .16), 0 10px 30px rgba(15, 36, 22, .06);
}
.loop__num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(140deg, var(--surface-start), var(--surface-mid) 60%, var(--surface));
  color: var(--card-ink); font-weight: 700; font-size: 1.25rem;
}
.loop__item h3 { margin-top: 2px; font-size: 1.28rem; line-height: 1.2; color: var(--ink); }
.loop__item p { margin-top: 6px; font-size: 1.08rem; line-height: 1.5; color: var(--ink-soft); }
.loop__note { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-weight: 700; font-size: 1.1rem; line-height: 1.45; color: var(--link); }
.loop__note .icon { margin-top: .15em; }
.loop__figure { justify-self: center; width: min(100%, 560px); }
.loop__svg { width: 100%; height: auto; overflow: visible; }
.loop__track { fill: none; stroke: rgba(27, 58, 34, .16); stroke-width: 2; stroke-dasharray: 1 11; stroke-linecap: round; }
.loop__arc { fill: none; stroke-width: 7; stroke-linecap: round; }
.loop__arc--soil { stroke: #c9a27c; }
.loop__arc--water { stroke: #6bb7cf; }
.loop__arc--bee { stroke: #dcb95a; }
.loop__flow { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 2 16; animation: loop-flow 1.4s linear infinite; }
@keyframes loop-flow { to { stroke-dashoffset: -18; } }
.loop__orbit { transform-box: view-box; transform-origin: 280px 300px; animation: loop-orbit 15s linear infinite; }
.loop__orbit circle { fill: #78cf33; stroke: #fff; stroke-width: 3; }
.loop__orbit--2 { animation-delay: -5s; }
.loop__orbit--2 circle { fill: #5aa9c2; }
.loop__orbit--3 { animation-delay: -10s; }
.loop__orbit--3 circle { fill: #d5b456; }
@keyframes loop-orbit { to { transform: rotate(360deg); } }
.loop__halo { transform-box: fill-box; transform-origin: center; animation: loop-halo 4.5s ease-in-out infinite; }
@keyframes loop-halo { 50% { transform: scale(1.12); opacity: .6; } }
.loop__leaves { color: #3f8a1c; }
.loop__core-text { fill: var(--ink); font-family: var(--font); font-weight: 700; font-size: 19px; }
.loop__node-bg { stroke-width: 3; }
.loop__node--soil .loop__node-bg { fill: #f0e0cf; stroke: #9b7350; }
.loop__node--water .loop__node-bg { fill: #dff1f7; stroke: #2f7f99; }
.loop__node--bee .loop__node-bg { fill: #fbeab8; stroke: #a87c22; }
.loop__node--soil .loop__node-icon { color: #71513a; }
.loop__node--water .loop__node-icon { color: #286e85; }
.loop__node--bee .loop__node-icon { color: #896623; }
.loop__node-label { fill: var(--ink); font-family: var(--font); font-weight: 700; font-size: 22px; }

/* čísla */
.facts { padding-block: clamp(24px, 3vw, 48px); }
.facts__panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(32px, 4vw, 64px) clamp(24px, 4vw, 64px);
  border-radius: clamp(24px, 2.4vw, 36px); color: #fff;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(120, 207, 51, .22), rgba(120, 207, 51, 0) 60%),
    linear-gradient(135deg, #0f2d1a 0%, #17462a 55%, #275f17 100%);
  box-shadow: 0 30px 70px rgba(15, 45, 26, .25);
}
.facts__leaves { position: absolute; z-index: -1; right: -40px; bottom: -60px; width: clamp(220px, 30vw, 420px); height: auto; color: #c4ec9a; opacity: .09; transform: rotate(-8deg); }
.facts__title { font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-soft); }
.facts__list { list-style: none; margin: clamp(20px, 2.4vw, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.fact { padding-top: 18px; border-top: 1px solid rgba(239, 249, 231, .2); }
.fact__num {
  display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .08em;
  font-weight: 700; font-size: clamp(3.2rem, 2rem + 3.6vw, 5.6rem); line-height: 1; letter-spacing: -.02em;
  color: #c9f29f; font-variant-numeric: tabular-nums;
}
.fact__suffix { font-size: .5em; letter-spacing: 0; color: #f2d27a; }
.fact__text { margin-top: 12px; font-size: 1.16rem; line-height: 1.45; color: #f1f8ea; }
.fact__note { margin-top: 10px; font-size: .96rem; line-height: 1.4; color: #c8ddb9; }
.facts__origin { margin-top: clamp(24px, 3vw, 40px); padding-top: 18px; border-top: 1px solid rgba(239, 249, 231, .14); max-width: 60em; font-size: 1.02rem; line-height: 1.5; color: #d3e6c6; }

/* postup po krocích */
.steps { padding-block: clamp(56px, 6vw, 104px) 0; }
.steps__list {
  --dot: 64px;
  position: relative; list-style: none; margin: clamp(36px, 4vw, 60px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px);
}
.steps__list::before {
  content: ""; position: absolute; z-index: 0; top: calc(var(--dot) / 2 - 2px); left: 10%; right: 10%; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #c9a27c, #78cf33 40%, #6bb7cf 70%, #dcb95a);
  transform-origin: left center;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
  display: grid; place-items: center; width: var(--dot); height: var(--dot); margin: 0 auto 18px; border-radius: 50%;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 1.6rem;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px #a6e06f, 0 12px 26px rgba(15, 36, 22, .16);
}
.step:first-child .step__num { background: var(--leaf); }
.step__title { font-size: 1.22rem; line-height: 1.2; color: var(--ink); }
.step__text { margin-top: 8px; font-size: 1.04rem; line-height: 1.5; color: var(--ink-soft); }
.principles { list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.principle {
  display: flex; align-items: center; gap: 12px; max-width: 420px; padding: 12px 20px 12px 12px; border-radius: 999px;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 8px 22px rgba(15, 36, 22, .06);
  font-size: 1.04rem; line-height: 1.35; color: var(--ink-soft);
}
.principle strong { color: var(--ink); }
.principle__ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--leaf); color: var(--ink); }
.principle__ico .icon { width: 20px; height: 20px; }

/* ---------------------------------------------- pohyb při posunu stránky */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rv { animation: rv-in linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .steps__list::before { animation: steps-draw linear both; animation-timeline: view(); animation-range: entry 30% cover 50%; }
    .uh__media { animation: uh-parallax linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  }
}
@keyframes rv-in { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
@keyframes steps-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes uh-parallax { to { transform: translateY(18%); } }

/* ----------------------------------------------------------------- odezva */

/* Nízká okna počítačů (např. 1536 × 730 px při zvětšení 125 %): menší mezery, ať je rozcestník celý v první obrazovce. */
@media (min-width: 1000px) and (max-height: 840px) {
  .uh { padding-bottom: 32px; }
  .uh__grid { row-gap: 22px; }
  .uh__title { margin-top: 14px; }
  .uh__lead { margin-top: 14px; }
  .uh__actions { margin-top: 22px; }
}

@media (max-width: 1180px) {
  .uh__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .lens__tag { font-size: .8rem; }
}

@media (max-width: 999px) {
  .uh { min-height: 0; justify-content: flex-start; padding-bottom: clamp(56px, 8vw, 80px); }
  .uh::before {
    background: linear-gradient(180deg, rgba(10, 28, 16, .72) 0%, rgba(10, 28, 16, .6) 45%, rgba(10, 28, 16, .78) 75%, var(--night) 100%);
  }
  .uh::after { height: 20%; }
  .uh__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "lens" "doors"; row-gap: 36px; }
  .uh__copy { max-width: 700px; }
  .uh__lens { width: min(84vw, 440px); }
  .door { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .door__arrow { position: absolute; top: 18px; right: 16px; }
  .worlds__list { display: grid; grid-template-columns: minmax(0, 1fr); height: auto; gap: 18px; }
  .world, .world.is-active { min-height: 460px; flex: none; padding-top: clamp(84px, 10vw, 104px); box-shadow: 0 0 0 1px rgba(var(--deep-rgb), .5), 0 20px 46px rgba(0, 0, 0, .35); }
  .world .world__fold { grid-template-rows: 1fr; opacity: 1; }
  .world__fold > div > :is(p, ul) { width: auto; min-width: 0; max-width: 560px; }
  .world .world__media img { transform: none; filter: none; }
  .world:not(.is-active) .world__shade { background-color: transparent; }
  .world__title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); }
  .loop__grid { grid-template-columns: minmax(0, 1fr); }
  .loop__figure { grid-row: 2; width: min(100%, 480px); }
  .facts__list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fact { display: grid; grid-template-columns: minmax(150px, auto) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .fact__num { grid-row: span 2; }
  .fact__text { margin-top: 4px; }
  .steps__list { --dot: 56px; grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 640px; margin-inline: auto; }
  .steps__list::before { top: 8px; bottom: 8px; left: calc(var(--dot) / 2 - 2px); right: auto; width: 4px; height: auto; background: linear-gradient(180deg, #c9a27c, #78cf33 40%, #6bb7cf 70%, #dcb95a); transform-origin: center top; }
  .step { display: grid; grid-template-columns: var(--dot) minmax(0, 1fr); column-gap: 20px; text-align: left; }
  .step__num { grid-row: span 2; margin: 0; font-size: 1.4rem; }
  .step__title { align-self: end; margin-top: 4px; }
  .principles { justify-content: flex-start; max-width: 640px; margin-inline: auto; flex-direction: column; align-items: stretch; }
  .principle { max-width: none; border-radius: 20px; }
  @media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
      .steps__list::before { animation-name: steps-draw-v; }
    }
  }
}
@keyframes steps-draw-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (max-width: 699px) {
  .uh { padding-top: clamp(92px, 24vw, 112px); }
  .uh__media img { object-position: 50% 70%; }
  .uh__eyebrow { font-size: .92rem; padding: 7px 14px 7px 10px; gap: 10px; }
  .uh__title { font-size: clamp(2.3rem, 11.4cqi, 3.4rem); }
  .uh__actions .btn { flex: 1 1 auto; }
  .uh__lens { width: min(88vw, 380px); }
  .lens__tag { font-size: .76rem; padding: 5px 10px 5px 8px; gap: 6px; }
  .lens__tag::before { width: 7px; height: 7px; }
  .doors__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .door { flex-direction: row; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: 18px; }
  .door__arrow { position: static; }
  .door__icon { width: 46px; height: 46px; }
  .door__icon svg { width: 30px; height: 30px; }
  .worlds__marquee { -webkit-text-stroke-width: 1px; }
  .world, .world.is-active { min-height: clamp(520px, 140vw, 640px); border-radius: 24px; }
  .world__shade { background: linear-gradient(0deg, rgba(var(--deep-rgb), .97) 0%, rgba(var(--deep-rgb), .9) 52%, rgba(var(--deep-rgb), .4) 80%, rgba(var(--deep-rgb), .35) 100%); }
  .world__icon { width: 52px; height: 52px; margin-bottom: 12px; }
  .world__icon svg { width: 34px; height: 34px; }
  .world__text { font-size: 1.06rem; }
  .world__points li { font-size: 1rem; }
  .loop__item { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .loop__num { width: 40px; height: 40px; font-size: 1.1rem; }
  .fact { grid-template-columns: minmax(0, 1fr); }
  .fact__num { grid-row: auto; }
  .fact__text { margin-top: 10px; }
}

@media (max-width: 380px) {
  .uh__btn { padding-inline: 18px; }
  .door__sub { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .uh__media img, .uh__eyebrow, .uh__line, .uh__lead, .uh__actions, .doors, .lens, .lens::before, .lens::after,
  .lens__layer, .lens .mf, .lens__hero, .lens__bud, .lens__ring, .worlds__marquee, .loop__flow, .loop__orbit, .loop__halo { animation: none !important; }
  .lens__layer--back { filter: blur(3px); }
  .lens__layer--mid { filter: blur(1.1px); }
  .lens__target, .lens__tag { animation: none !important; opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .door, .world, .loop__item, .facts__panel, .principle, .lens__tag { border: 1px solid CanvasText; }
  .uh__line--accent { color: CanvasText; background: none; }
}
