/* Kruh – ručně točená keramika · vlastní styly stránky (engine scrollcraft.css se nemění).
   Barvy a písma z identita/tokeny.css a identita/pisma/fonts.css (načtené před tímto souborem).
   Animuje se jen transform a opacity. */

:root {
  --sc-canvas: var(--porcelan);
  --sc-surface: var(--kamenina);
  --sc-ink: var(--uhel);
  --sc-ink-soft: #5B524A;            /* odvozeno z Uhlu, 6,8 : 1 na Porcelánu */
  --sc-accent: var(--kobalt);
  --sc-accent-ink: var(--porcelan);
  --sc-font-display: var(--font-nadpis);
  --sc-font-text: var(--font-text);
  --sc-shadow-color: 28 22% 18%;
  --sc-gutter: clamp(1rem, 5.5vw, 5.5rem);

  --lista-h: 68px;
  --stin-foto: 0 2px 4px hsl(28 22% 18% / 0.12), 0 18px 34px -12px hsl(28 22% 18% / 0.32);
  --stin-maly: 0 1px 2px hsl(28 22% 18% / 0.14), 0 8px 18px -8px hsl(28 22% 18% / 0.3);
}
@media (max-width: 899px) { :root { --lista-h: 58px; } }

html { scroll-padding-top: calc(var(--lista-h) + 12px); }
body {
  background: var(--porcelan);
  color: var(--uhel);
  font-family: var(--font-text);
  font-size: clamp(17px, 0.98rem + 0.12vw, 18px);
  line-height: 1.55;
  font-weight: var(--vaha-text);
  letter-spacing: 0;
}
h1, h2, h3 {
  font-family: var(--font-nadpis);
  font-weight: var(--vaha-nadpis);
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
img { height: auto; }
a { color: var(--kobalt); }
:focus-visible { outline: 2px solid var(--kobalt); outline-offset: 3px; border-radius: 4px; }

.jen-ctecka {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.preskocit {
  position: fixed; left: 12px; top: 10px; z-index: 100;
  background: var(--kobalt); color: var(--porcelan);
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
  font-family: var(--font-nadpis); font-weight: var(--vaha-ui);
  opacity: 0; pointer-events: none; transform: translateY(-140%);
}
.preskocit:focus-visible { opacity: 1; pointer-events: auto; transform: none; }

.nadpis-2 { font-size: clamp(30px, 1.2rem + 1.6vw, 44px); }
.nadpis-3 { font-size: clamp(24px, 1rem + 0.8vw, 30px); }

/* tlačítka: plně zaoblené konce jako hlava kruhu ve znaku */
.tlacitko {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  background: var(--kobalt); color: var(--porcelan);
  border: 1.5px solid var(--kobalt);
  border-radius: var(--radius-tlacitko);
  font-family: var(--font-nadpis); font-weight: var(--vaha-ui);
  font-size: 17px; letter-spacing: 0; white-space: nowrap;
  text-decoration: none;
  transition: transform 140ms var(--sc-ease-out), opacity 140ms var(--sc-ease-out);
}
.tlacitko:active { transform: scale(0.97); }
.tlacitko--obrys { background: transparent; color: var(--kobalt); }
@media (hover: hover) and (pointer: fine) {
  .tlacitko:hover { opacity: 0.88; }
}
.odkaz {
  color: var(--kobalt);
  font-family: var(--font-nadpis); font-weight: var(--vaha-ui);
  font-size: 17px;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.28em;
}
.odkaz:active { opacity: 0.7; }

/* lišta hlavy kruhu: vodorovná lišta s plně zaoblenými konci (ze znaku) */
.lista-kruhu {
  display: block; height: 12px; border-radius: 999px; background: var(--kobalt);
}
.lista-kruhu--kamen { background: var(--kamenina); height: 8px; }

/* ------------------------------------------------------------------ lišta */
.lista {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--lista-h);
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px);
  padding-inline: var(--sc-gutter);
  background: var(--porcelan);
  border-bottom: 1px solid var(--kamenina);
}
.lista__logo { flex: 0 0 auto; display: block; line-height: 0; }
.lista__logo img { width: 119px; height: 30px; }
.lista__nav { position: relative; flex: 1 1 auto; display: flex; justify-content: center; }
.lista__odkazy { display: flex; gap: clamp(14px, 1.8vw, 30px); list-style: none; margin: 0; padding: 0; }
.lista__odkazy a {
  display: block; padding: 10px 0;
  color: var(--uhel); text-decoration: none;
  font-family: var(--font-nadpis); font-weight: var(--vaha-ui); font-size: 16px;
}
.lista__odkazy a[aria-current="true"] { color: var(--kobalt); }
.lista__oddel { margin-left: clamp(6px, 1.2vw, 22px); }
/* jezdec: malá hlava kruhu pod aktivní položkou, jede s kolejnicí kolekce */
.lista__jezdec {
  position: absolute; left: 0; bottom: 2px;
  width: 100px; height: 5px; border-radius: 999px;
  background: var(--kobalt);
  transform-origin: 0 50%;
  transform: translateX(0) scaleX(0.2);
  opacity: 0;
  transition: transform 260ms var(--sc-ease-out), opacity 200ms var(--sc-ease-out);
  pointer-events: none;
}
.lista__ukazka {
  flex: 0 0 auto;
  font-family: var(--font-nadpis); font-weight: var(--vaha-ui); font-size: 13px;
  color: var(--sc-ink-soft);
  padding: 5px 11px; border: 1px solid var(--kamenina); border-radius: 999px;
}
.lista__kosik {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 4px;
  color: var(--uhel); text-decoration: none;
  font-family: var(--font-nadpis); font-weight: var(--vaha-ui); font-size: 16px;
}
@media (max-width: 1099px) {
  .lista__kosik span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 899px) {
  .lista { gap: 10px; }
  .lista__nav { display: none; }
  .lista__logo img { width: 103px; height: 26px; }
  .lista__ukazka { margin-left: auto; font-size: 12px; padding: 4px 9px; }
}

/* ------------------------------------------------------------------ 1 úvod */
.uvod {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--lista-h) + clamp(16px, 4vh, 48px)) var(--sc-gutter) clamp(28px, 6vh, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(2rem, 5vw, 6rem);
  overflow: clip;
}
.uvod__scena { grid-column: 1; grid-row: 1; justify-self: start; }
.uvod__text { grid-column: 2; grid-row: 1; max-width: 34rem; }
.uvod__nadpis { font-size: clamp(40px, 1.1rem + 3.4vw, 72px); line-height: 1.0; }
.uvod__podtitul {
  margin-top: clamp(16px, 2.4vh, 26px);
  font-style: italic; font-size: clamp(18px, 0.9rem + 0.4vw, 21px); line-height: 1.5;
  color: var(--sc-ink-soft); max-width: 31em;
}
.uvod__akce { margin-top: clamp(22px, 3.4vh, 36px); display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* scéna: --w = šířka fotky; vše ostatní se odvozuje, aby kompozice držela pohromadě */
.uvod__scena {
  --h: min(72vh, 680px, calc((100vw - 2 * var(--sc-gutter)) * 0.52 / 1.24 * 1.25));
  --w: calc(var(--h) * 0.8);
  position: relative;
  width: calc(var(--w) * 1.26);
  height: calc(var(--h) + 12px);
}
.uvod__kotouc {
  position: absolute; z-index: 0;
  width: calc(var(--w) * 1.42); height: auto; max-width: none;
  left: calc(var(--w) * -0.52); top: calc(var(--h) * -0.13);
}
.uvod__foto {
  position: absolute; z-index: 1; left: 0; bottom: 12px;
  width: var(--w); height: var(--h);
  border-radius: var(--radius-karta); overflow: hidden;
  box-shadow: var(--stin-foto);
}
.uvod__foto img { width: 100%; height: 100%; object-fit: cover; }
.uvod__hrnek {
  position: absolute; z-index: 2;
  width: calc(var(--w) * 0.38); height: auto; max-width: none;
  left: calc(var(--w) * 0.87); bottom: 11px;
  filter: drop-shadow(-10px 8px 14px hsl(28 22% 18% / 0.28));
}
.uvod__lista {
  position: absolute; z-index: 3; bottom: 0;
  left: calc(var(--w) * -0.06); width: calc(var(--w) * 1.38);
}

@media (max-width: 899px) {
  .uvod {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    row-gap: 26px;
    padding-top: calc(var(--lista-h) + 22px);
    min-height: 0;
  }
  .uvod__text { grid-column: 1; grid-row: 1; }
  .uvod__scena {
    grid-column: 1; grid-row: 2; justify-self: start;
    --w: min(64vw, 300px, calc((100svh - var(--lista-h) - 330px) * 0.8));
    --h: calc(var(--w) * 1.25);
    margin-left: 4px;
  }
  .uvod__kotouc { left: calc(var(--w) * -0.42); top: calc(var(--h) * -0.08); width: calc(var(--w) * 1.36); }
  .uvod__akce { gap: 20px; }
}

/* ------------------------------------------------------------------ 2 kolekce */
.kolekce__stage {
  display: flex; align-items: center;
  padding-top: var(--lista-h);
}
.kolej {
  gap: clamp(22px, 3.6vw, 56px);
  padding-inline: var(--sc-gutter);
  align-items: center;
  width: max-content;
}
.kolej__uvod { flex: 0 0 auto; width: clamp(15rem, 27vw, 25rem); }
.kolej__uvod p { margin-top: 18px; color: var(--sc-ink-soft); max-width: 30em; }
.kus {
  --kw: min(27vw, 400px, calc((100vh - var(--lista-h) - 15.5rem) * 0.8));
  flex: 0 0 auto; width: var(--kw);
  align-self: flex-start;   /* fotky a lišty všech kusů v jedné výšce jako police, i když se popis zalomí */
}
.kus__foto { border-radius: var(--radius-karta); overflow: hidden; box-shadow: var(--stin-maly); }
.kus__foto img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.kus .lista-kruhu--kamen { width: calc(100% + 24px); margin: 0 -12px; }
.kus__stitek { padding-top: 16px; }
.kus__stitek h3 { font-size: clamp(22px, 1rem + 0.6vw, 26px); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stitek-novinka {
  font-family: var(--font-nadpis); font-weight: var(--vaha-ui); font-size: 13px; letter-spacing: 0.01em;
  color: var(--palena-hlina); border: 1.5px solid var(--palena-hlina); border-radius: 999px;
  padding: 3px 10px 4px; line-height: 1.1;
}
.kus__stitek dl { margin: 10px 0 12px; font-size: 16px; line-height: 1.45; }
.kus__stitek dl div { display: flex; gap: 8px; }
.kus__stitek dt { color: var(--sc-ink-soft); min-width: 4.8em; }
.kus__stitek dt::after { content: ":"; }
.kus__stitek dd { margin: 0; }
.kus__stitek .odkaz { font-size: 16px; }
.kolej__konec { flex: 0 0 auto; width: clamp(14rem, 22vw, 20rem); }
.kolej__konec p { color: var(--sc-ink-soft); margin-bottom: 22px; }

@media (max-width: 899px) {
  .kus { --kw: min(72vw, 300px, calc((100svh - var(--lista-h) - 15rem) * 0.8)); }
  .kolej__uvod { width: 76vw; }
  .kolej__konec { width: 66vw; }
}

/* ------------------------------------------------------------------ 2b nově z pece */
.novinky { padding: clamp(64px, 12vh, 140px) var(--sc-gutter) clamp(24px, 4vh, 48px); border-top: 1px solid var(--kamenina); }
.novinky__wrap { max-width: 82rem; margin: 0 auto; }
.novinky__hlava {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(2rem, 6vw, 7rem); align-items: end;
}
.novinky__hlava > p { color: var(--sc-ink-soft); max-width: 34em; }
.novinky__hlava .nadpis-2 { grid-row: 1 / span 2; align-self: start; }
.novinky__pozn { margin-top: 10px; font-size: 15px; }
.produkty {
  list-style: none; margin: clamp(28px, 5vh, 48px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vh, 44px) clamp(16px, 2.4vw, 36px);
}
.produkt { display: flex; flex-direction: column; align-items: flex-start; }
.produkt__foto { width: 100%; border-radius: var(--radius-karta); overflow: hidden; background: var(--kamenina); }
.produkt__foto img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.produkt__nazev { margin-top: 16px; font-size: clamp(20px, 0.9rem + 0.5vw, 23px); }
.produkt__glazura { margin-top: 6px; color: var(--sc-ink-soft); font-size: 16px; line-height: 1.45; flex: 1 0 auto; }   /* tlačítka v řadě v jedné výšce, i když se popis zalomí */
.tlacitko--kosik { margin-top: 14px; min-height: 42px; padding: 0 20px; font-size: 15px; }
.tlacitko--kosik:disabled { opacity: 0.6; cursor: not-allowed; }
.tlacitko--kosik:disabled:active { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .tlacitko--kosik:disabled:hover { opacity: 0.6; }
}
@media (max-width: 899px) {
  .novinky__hlava { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .novinky__hlava .nadpis-2 { grid-row: auto; }
  .produkty { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .produkt__glazura { font-size: 15px; }
}

/* ------------------------------------------------------------------ 3 dílna */
.dilna { padding: clamp(64px, 12vh, 140px) var(--sc-gutter) clamp(56px, 10vh, 120px); border-top: 1px solid var(--kamenina); }
.dilna__wrap {
  max-width: 82rem; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(2rem, 6vw, 7rem); align-items: start;
}
.dilna__uvod { position: sticky; top: calc(var(--lista-h) + 32px); }
.dilna__uvod > p { margin-top: 20px; color: var(--sc-ink-soft); max-width: 34em; }
.dilna__foto { margin-top: 28px; width: min(100%, 22rem); border-radius: var(--radius-karta); overflow: hidden; box-shadow: var(--stin-maly); }
.dilna__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kroky { list-style: none; margin: 0; padding: 0; }
.krok {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  column-gap: clamp(18px, 2.4vw, 36px); align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--kamenina);
}
.krok:first-child { padding-top: 0; }
.krok img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-karta); }
.krok__c {
  display: block; font-family: var(--font-nadpis); font-weight: var(--vaha-nadpis);
  font-size: 15px; color: var(--kobalt); margin-bottom: 4px; font-variant-numeric: tabular-nums;
}
.krok h3 { font-size: clamp(21px, 0.9rem + 0.6vw, 24px); }
.krok p { margin-top: 8px; color: var(--sc-ink-soft); font-size: 17px; }

@media (max-width: 899px) {
  .dilna__wrap { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
  .dilna__uvod { position: static; }
  .dilna__foto { width: 100%; }
  .dilna__foto img { aspect-ratio: 3 / 2; }
  .krok { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); column-gap: 16px; padding: 16px 0; align-items: start; }
  .krok p { font-size: 16px; }
}

/* ------------------------------------------------------------------ 4 řez (vrchol) */
.rez { border-top: 1px solid var(--kamenina); }
.rez__stage {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.3fr);
  align-items: center;
  column-gap: clamp(2rem, 4vw, 5rem);
  padding: calc(var(--lista-h) + 12px) var(--sc-gutter) 12px;
}
.rez__text { max-width: 28rem; }
.rez__vety { display: grid; margin-top: 22px; }
.rez__vety > p { grid-area: 1 / 1; font-size: clamp(18px, 0.95rem + 0.35vw, 21px); line-height: 1.5; }
.rez__vykres { justify-self: center; width: 100%; display: flex; flex-direction: column; align-items: center; }
.rez__plocha {
  position: relative;
  width: min(100%, calc((100vh - var(--lista-h) - 160px) * 1.04));
  aspect-ratio: 1300 / 1250;
}
/* půlky fotky: stejná fotka, staticky oříznutá na levou a pravou polovinu (clip-path se neanimuje) */
.rez__pul {
  position: absolute; left: 0; top: 0;
  width: 76.923%; height: 100%;
}
.rez__pul img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-karta); }
.rez__pul--l { z-index: 1; clip-path: inset(0 calc(50% - 1px) 0 0); }
.rez__pul--r { z-index: 3; clip-path: inset(0 0 0 50%); will-change: transform, opacity; }
.rez__svg { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; max-width: none; overflow: visible; }
.rez__stena { fill: var(--kobalt); }
.rez__zem { stroke: var(--uhel); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.rez__rez { opacity: 0; }
.rez__vodice polyline { fill: none; stroke: var(--uhel); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rez__vodice circle { fill: var(--porcelan); stroke: var(--uhel); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.rez__vodice g { opacity: 0; }
/* osa kruhu: čerchovaná čára přes osu, při scrollu se vysune shora */
.rez__osa {
  position: absolute; z-index: 4;
  left: calc(38.4615% - 1px); top: 15.6%; height: 66%; width: 3px;
  overflow: hidden;
}
.rez__osa span {
  display: block; width: 3px; height: 100%;
  background: repeating-linear-gradient(to bottom, var(--kobalt) 0 18px, transparent 18px 25px, var(--kobalt) 25px 28px, transparent 28px 35px);
  transform: translateY(-101%);
  will-change: transform;
}
.rez__popisy { list-style: none; margin: 0; padding: 0; }
.rez__popisy li {
  position: absolute; z-index: 5; left: var(--x); top: var(--y);
  transform: translate(0, -50%);
  font-family: var(--font-nadpis); font-weight: var(--vaha-ui); font-size: 15px; line-height: 1;
  color: var(--uhel); white-space: nowrap;
  opacity: 0;
}
.rez__popisy li[data-popis="0"] { color: var(--kobalt); }
.rez__lista { width: calc(min(100%, calc((100vh - var(--lista-h) - 160px) * 1.04)) * 0.82); margin-top: 16px; align-self: center; transform: translateX(-9%); }

@media (max-width: 899px) {
  .rez__stage {
    grid-template-columns: minmax(0, 1fr);
    align-content: center; row-gap: 18px;
    padding-top: calc(var(--lista-h) + 10px);
  }
  .rez__text { max-width: none; }
  .rez__vety { margin-top: 12px; }
  .rez__vety > p { font-size: 17px; }
  .rez__plocha { width: min(100%, calc((100svh - var(--lista-h) - 290px) * 1.04)); }
  .rez__popisy li { font-size: 12px; }
  .rez__lista { height: 9px; margin-top: 10px; width: calc(min(100%, calc((100svh - var(--lista-h) - 290px) * 1.04)) * 0.82); }
}

/* ------------------------------------------------------------------ 5 objednávka a balení */
.objednavka { padding: clamp(72px, 13vh, 150px) var(--sc-gutter) clamp(56px, 10vh, 120px); }
.objednavka__wrap {
  max-width: 82rem; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(2rem, 6vw, 7rem); align-items: start;
}
.postup { list-style: none; margin: 30px 0 0; padding: 0; }
.postup li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--kamenina);
}
.postup__c {
  font-family: var(--font-nadpis); font-weight: var(--vaha-nadpis); font-size: 28px; line-height: 1;
  color: var(--kobalt); font-variant-numeric: tabular-nums;
}
.postup h3 { font-size: clamp(20px, 0.9rem + 0.5vw, 23px); }
.postup p { margin-top: 6px; color: var(--sc-ink-soft); font-size: 17px; }
.baleni {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "nadpis nadpis" "velka text";
  column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: 30px; align-items: start;
}
.baleni__nadpis { grid-area: nadpis; }
.baleni__velka { grid-area: velka; }
.baleni__text { grid-area: text; }
.baleni__text > p:first-child { margin-top: 0; }
.baleni__velka { border-radius: var(--radius-karta); overflow: hidden; box-shadow: var(--stin-maly); }
.baleni__velka img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.baleni__text p { margin-top: 14px; color: var(--sc-ink-soft); }
.baleni__radek { margin-top: 22px; display: flex; align-items: flex-end; gap: 18px; }
.baleni__mala { width: min(60%, 11rem); border-radius: var(--radius-karta); overflow: hidden; box-shadow: var(--stin-maly); }
.baleni__mala img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.razitko {
  width: 74px; height: 74px; border-radius: 50%;
  border: 2px solid var(--kobalt);
  display: grid; place-items: center;
  transform: rotate(-8deg);   /* otisk razítka mírně nakřivo jako skutečné razítko (výjimka v BRAND.md, kap. 8) */
  opacity: 0.9;
}
.razitko img { width: 40px; height: auto; }

@media (max-width: 1199px) and (min-width: 900px) {
  .baleni { grid-template-columns: minmax(0, 1fr); grid-template-areas: "nadpis" "velka" "text"; row-gap: 22px; }
}
@media (max-width: 899px) {
  .objednavka__wrap { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .baleni { grid-template-columns: minmax(0, 1fr); grid-template-areas: "nadpis" "velka" "text"; row-gap: 22px; }
  .postup p { font-size: 16px; }
}

/* ------------------------------------------------------------------ 6 dno a kontakt */
.dno { border-top: 1px solid var(--kamenina); padding: clamp(64px, 11vh, 130px) var(--sc-gutter) 0; }
.dno__wrap {
  max-width: 76rem; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 7vw, 8rem); align-items: center;
}
.dno__scena { position: relative; justify-self: start; width: min(100%, calc((100vh - var(--lista-h) - 220px) * 0.8), 26rem); }
.dno__foto { border-radius: var(--radius-karta); overflow: hidden; box-shadow: var(--stin-foto); }
.dno__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* dno kusu s otiskem razítka se při příchodu jednou dotočí jako kus na kruhu (výjimka v BRAND.md, kap. 8) */
.dno__kotouc {
  position: absolute; width: 62%; height: auto; max-width: none;
  right: -24%; bottom: -9%;
  filter: drop-shadow(-6px 12px 16px hsl(28 22% 18% / 0.26));
  transform: rotate(-150deg); opacity: 0;
  transition: transform 1500ms var(--sc-ease-out), opacity 500ms var(--sc-ease-out);
}
.dno__kotouc.je-videt { transform: none; opacity: 1; }
.dno__text { max-width: 30rem; }
.dno__text > p { margin-top: 18px; color: var(--sc-ink-soft); }
.dno__text .tlacitko { margin-top: 28px; }
.kontakty { margin: 30px 0 0; }
.kontakty div { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--kamenina); }
.kontakty dt { color: var(--sc-ink-soft); font-size: 16px; }
.kontakty dd { margin: 0; font-family: var(--font-nadpis); font-weight: var(--vaha-ui); font-size: 19px; }
.kontakty a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; }
.paticka {
  max-width: 76rem; margin: clamp(56px, 10vh, 110px) auto 0;
  padding: 22px 0 28px; border-top: 1px solid var(--kamenina);
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.paticka img { width: 96px; height: 24px; }
.paticka p { font-size: 14px; color: var(--sc-ink-soft); max-width: 62em; }
.paticka strong { color: var(--uhel); font-weight: 600; }

@media (max-width: 899px) {
  .dno__wrap { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .dno__scena { width: 66vw; }
  .dno__kotouc { right: -30%; }
}

/* ------------------------------------------------------------------ omezený pohyb */
/* Kolekce bez pohybu: místo vodorovné kolejnice mřížka, sekce bez připnutí (engine výšku píše inline). */
@media (prefers-reduced-motion: reduce) {
  .kolekce { height: auto !important; }
  .kolekce .kolekce__stage { height: auto; overflow: visible; display: block; padding: calc(var(--lista-h) + 48px) 0 64px; } /* sticky zůstává, ale sekce je stejně vysoká, takže nic nedrží */
  .kolej {
    display: grid !important; width: auto; transform: none !important;
    grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
    align-items: start; gap: 40px clamp(20px, 3vw, 44px);
  }
  .kolej__uvod, .kolej__konec { grid-column: 1 / -1; width: auto; max-width: 40rem; }
  .kus { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .dno__kotouc { transform: none; opacity: 1; transition: none; }
  .lista__jezdec { transition: none; }
  .rez__pul--r { opacity: 0; }
  .rez__rez, .rez__vodice g, .rez__popisy li { opacity: 1; }
  .rez__osa span { transform: none; }
}

/* atributy style="" z původní stránky (politika CSP webu inline styly nepovoluje), doplnil tools/ukazky.mjs */
[data-st="1"] { --x:41.2% !important; --y:18.9% !important; }
[data-st="2"] { --x:78.4% !important; --y:23.84% !important; }
[data-st="3"] { --x:78.4% !important; --y:30.8% !important; }
[data-st="4"] { --x:78.4% !important; --y:38.8% !important; }
[data-st="5"] { --x:78.4% !important; --y:51.2% !important; }
[data-st="6"] { --x:78.4% !important; --y:83.2% !important; }
[data-st="7"] { --x:78.4% !important; --y:88.8% !important; }

/* ===== doplněno pro web ProWeb Procházka (tools/ukazky.mjs): odkaz z ukázkového webu zpět na celou ukázku ===== */
.ukazka-zpet { grid-column: -2 / -1; flex-basis: 100%; margin: 0; }
.ukazka-zpet a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: inherit; text-decoration: none; }
.ukazka-zpet__t { text-decoration: underline; text-underline-offset: 4px; }

/* ===== doplněno pro web ProWeb Procházka (tools/ukazky.mjs): „smyšlená firma“ ve štítku ukázky v liště ===== */
.ukazka-smysl { white-space: nowrap; }
/* tady se doplněk do lišty nevejde (měřeno 320–1920 px), zůstane povinný štítek „Ukázka – ProWeb Procházka“ */
@media (max-width: 479px) { .ukazka-smysl { display: none; } }
@media (min-width: 821px) and (max-width: 1023px) { .ukazka-smysl { display: none; } }
