/* styl.css: web Drahoš Menčík, varianta A · Dvě váhy (design-lab, kolo 1). Sdílí ho všechny tři obrazovky.
   Části 2 až 4 jsou z kostry beze změny. Část 1 a 5 patří variantě.
   Hodnoty značky: brands/drahos/DESIGN.md a brand manuál B (drahos-brand-varianty/b/styl.css, část 1). */

/* Písmo: Albert Sans, variabilní osa wght 100 až 900 (OFL, Fontsource). Sada latin-ext nese č, ď, ě, ň, ř, š, ť, ů, ž.
   Bez preloadu (kostra, README, „Předem načíst“). */
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/albert-sans-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/albert-sans-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Albert Sans 400 proti Arialu (DESIGN.md, spočítáno 29. 10. 2026 fontTools 4.60.2). */
@font-face {
  font-family: "Albert Sans Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 102.2%;
  ascent-override: 92.9%;
  descent-override: 24.5%;
  line-gap-override: 0%;
}

/* =========================================================================
   1. TOKENY
   ========================================================================= */
:root {
  /* Barva (DESIGN.md, kontrasty z tabulky značky). */
  --bg: #F2F5F1;          /* šalvějová bílá, podklad */
  --surface: #CFDDD3;     /* šalvěj, karty; zelená na ní 7,13 : 1; na zelené 7,13 : 1 */
  --fg: #17201D;          /* inkoust, text 15,15 : 1 */
  --muted: #4E5D57;       /* popisky 6,31 : 1, na šalvěji 4,93 : 1 */
  --green: #1C4A3D;       /* lahvová zelená, nadpisy a velké plochy 9,11 : 1 */
  --deep: #12332A;        /* odvozená hloubka, patička; bílá na ní 13,70 : 1 */
  --sage-2: #A9BFB2;      /* odvozená šalvěj, obrys na zelené 5,15 : 1 */
  --accent: #EE9B52;      /* meruňková, akcent do 3 %; na zelené 4,51 : 1 (jen velký nebo tučný text) */
  --accent-fg: #17201D;   /* inkoust na meruňkové 7,49 : 1 */
  --white: #FFFFFF;       /* text na zelené 10,02 : 1 */
  --line: color-mix(in srgb, var(--green) 24%, transparent);
  --line-dark: color-mix(in srgb, var(--white) 30%, transparent);
  --wash: color-mix(in srgb, var(--surface) 45%, var(--bg)); /* světlá šalvěj pro rámečky */
  --focus: #1C4A3D;       /* fokus na světlé 9,11 : 1 */
  --focus-dark: #EE9B52;  /* fokus na zelené 4,51 : 1 */
  --chyba: #9E2B1F;       /* chyba formuláře (odvozená): na podkladu 6,8 : 1, na šalvěji 5,3 : 1 */

  /* Písmo: jedna rodina, dvě váhy nadpisu. */
  --font-display: "Albert Sans", "Albert Sans Fallback", Arial, system-ui, sans-serif;
  --font-body: "Albert Sans", "Albert Sans Fallback", Arial, system-ui, sans-serif;
  --weight-display: 300;
  --w-light: 300;
  --w-text: 400;
  --w-label: 500;
  --w-hover: 700;
  --w-heavy: 800;
  --leading: 1.6;
  --leading-tight: 1.05;
  --measure: 36em;

  /* Škála, lineárně mezi 360 a 1440 px. */
  --step--1: clamp(0.8125rem, 0.7917rem + 0.0926vw, 0.875rem);  /* popisek 13 na 14 */
  --step-0: clamp(1.0625rem, 1.0208rem + 0.1852vw, 1.1875rem);   /* text 17 na 19 */
  --step-1: clamp(1.25rem, 1.125rem + 0.5556vw, 1.625rem);       /* H3 20 na 26 */
  --step-2: clamp(1.75rem, 1.5rem + 1.1111vw, 2.5rem);           /* H3 ve dvou řezech 28 na 40 */
  --step-3: clamp(1.875rem, 1.4167rem + 2.037vw, 3.25rem);       /* H2 30 na 52 */
  --step-4: clamp(2.25rem, 1.5rem + 2.8vw, 4.25rem);             /* H1 36 na 68 (dlouhá věta) */
  --step-5: clamp(2.25rem, 1.5rem + 2.8vw, 4.25rem);
  --lead: clamp(1.25rem, 1.0833rem + 0.7407vw, 1.75rem);         /* perex 20 na 28 */

  /* Prostor */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --section: clamp(64px, 9vw, 144px);
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --hero-gap: clamp(24px, 5vw, 88px);

  /* Tvar: zakulacený, soustředné rádiusy (panel 24, karta 16, plocha 12, tlačítko 6, čip pilulka). */
  --radius: 16px;
  --r-panel: 24px;
  --r-card: 16px;
  --r-inner: 12px;
  --r-btn: 6px;
  --r-pill: 999px;

  /* Linky motivu: tenká 1 px a tlustá 8 px. */
  --tenka: 1px;
  --tlusta: 8px;

  /* Pohyb: jedna křivka marketingu, jedna pro ovládání. */
  --dur-fast: 150ms;
  --dur-base: 240ms;
  --dur-slow: 600ms;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-ui: cubic-bezier(.2, 0, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --reveal-shift: 12px;
}

/* =========================================================================
   2. ZÁKLAD
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: var(--leading-tight);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); }
p { margin: 0 0 var(--space-4); max-width: var(--measure); text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: var(--space-2); top: var(--space-2); z-index: 10;
  padding: var(--space-2) var(--space-3);
  background: var(--accent); color: var(--accent-fg);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* =========================================================================
   3. ODHALENÍ — obsah je vidět i bez JS
   Třídu .js přidá skript v <head>. Bez JS se nic neskryje.
   Pojistka: když zaklad.js nenaběhne, obsah se ukáže sám po 2,5 s.
   zaklad.js po startu přidá .js-ok a pojistku vypne.
   ========================================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-shift));
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  animation: dl-pojistka 0s 2.5s forwards;
}
.js-ok [data-reveal] { animation: none; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes dl-pojistka { to { opacity: 1; transform: none; } }

/* =========================================================================
   4. OMEZENÝ POHYB — tvrdé pravidlo, nemazat
   Pod omezeným pohybem zůstane nanejvýš prolnutí. Posun, zvětšení a paralaxa ne.
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; animation: none; }
}

/* =========================================================================
   5. VARIANTA A · DVĚ VÁHY
   Každý nadpis je jedna věta ve dvou řezech: co člověk uslyší napoprvé (300), proč zůstane (800).
   ========================================================================= */
html { scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font-kerning: normal; }
::selection { background: var(--surface); color: var(--fg); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { display: inline-flex; align-items: center; min-height: 44px; border-radius: var(--r-btn); font-weight: var(--w-label); }
html.staticky *, html.staticky *::before, html.staticky *::after { transition: none !important; animation: none !important; }

/* --- Typografie: dvě váhy ----------------------------------------------- */
h1, h2 { color: var(--green); }
h2 { line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-weight: var(--w-heavy); color: var(--green); line-height: 1.25; letter-spacing: -0.01em; }
.l { font-weight: var(--w-light); }
.t { font-weight: var(--w-heavy); }
h3 .l, h3 .t { display: block; }
strong, b { font-weight: var(--w-heavy); }
.popisek { font-size: var(--step--1); font-weight: var(--w-label); line-height: 1.45; letter-spacing: 0.01em; color: var(--muted); }
.lead { font-size: var(--lead); line-height: 1.36; letter-spacing: -0.01em; color: var(--fg); max-width: 24em; }
.zast { color: var(--muted); }
.na-zelene .zast { color: var(--surface); }

/* Štítek sekce: malé dvě linky (tenká a tlustá) před slovem. */
.stitek {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--space-5);
  font-size: var(--step--1); font-weight: var(--w-label); letter-spacing: 0.01em; color: var(--muted);
}
.stitek::before {
  content: ""; flex: none; width: 30px; height: 8px;
  background:
    linear-gradient(currentColor, currentColor) 0 50% / 14px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 18px 0 / 12px 8px no-repeat;
  color: var(--green);
}
.na-zelene .stitek { color: var(--surface); }
.na-zelene .stitek::before { color: var(--accent); }

/* Slovo, které mění řez: neviditelná kopie v řezu 800 drží šířku (grid stack, bez CLS). */
.vw { display: inline-grid; justify-items: start; }
.vw > span, .vw::after { grid-area: 1 / 1; }
.vw::after { content: attr(data-w); visibility: hidden; font-weight: var(--w-heavy); user-select: none; pointer-events: none; }
.vw > span { font-weight: var(--w-heavy); }
/* Nadpis sekce: pevná část ztěžkne 300 na 800 slovo po slově při vstupu do okna. */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-vaha].is-split .vw > span { transition: font-weight 900ms var(--ease) calc(var(--i, 0) * 70ms); }
  html.js [data-vaha].is-split:not(.is-tezka) .vw > span { font-weight: var(--w-light); }
}
.na-zelene .lead { color: var(--white); }

/* Rezerva šířky pro text tlačítek a navigace (500 na 700 bez posunu). */
.wt { display: inline-flex; flex-direction: column; align-items: center; }
.wt::after {
  content: attr(data-text);
  height: 0; overflow: hidden; visibility: hidden;
  font-weight: var(--wt-max, var(--w-hover));
  user-select: none; pointer-events: none;
}

/* --- Ovládání ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-btn);
  background: var(--green); color: var(--white);
  font: inherit; font-weight: var(--w-label); line-height: 1.2;
  text-decoration: none; border: 0; cursor: pointer;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: scale var(--dur-fast) var(--ease-ui), font-weight var(--dur-fast) var(--ease-ui), background-color var(--dur-fast) var(--ease-ui);
}
.btn:hover { font-weight: var(--w-hover); }
.btn:active:not([aria-disabled="true"]) { scale: .96; }
.btn:focus-visible { transition-duration: 0ms; }
.btn--obrys { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--ram-barva, currentColor); }
.btn--obrys:hover { --ram-barva: var(--fg); }
.btn--akcent { background: var(--accent); color: var(--accent-fg); }
.btn--bila { background: var(--white); color: var(--green); }
.na-zelene .btn--obrys { color: var(--white); }
.na-zelene .btn--obrys:hover { --ram-barva: var(--accent); }
.btn[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }
.btn[aria-busy="true"] { cursor: progress; }
@media (prefers-reduced-motion: reduce) { .btn:active:not([aria-disabled="true"]) { scale: none; filter: brightness(.92); } }
.tlacitka { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }

/* Textový odkaz: tenká linka pod textem, při najetí ztloustne. */
.odkaz {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--green); font-weight: var(--w-label); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 100% 1px no-repeat;
  transition: background-size var(--dur-fast) var(--ease-ui), font-weight var(--dur-fast) var(--ease-ui);
}
.odkaz:hover { background-size: 100% 3px; font-weight: var(--w-hover); }
.na-zelene .odkaz { color: var(--white); }
.odkaz--ceka { display: inline-block; min-height: 44px; padding-block: 10px; color: var(--muted); background: none; cursor: not-allowed; font-weight: var(--w-label); line-height: 1.4; }
.odkaz--ceka:hover { background: none; font-weight: var(--w-label); }
.odkaz--ceka .zast { margin-left: .35em; }
.na-zelene .odkaz--ceka { color: var(--surface); }

.cip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 4px 14px;
  border-radius: var(--r-pill);
  background: var(--surface); color: var(--green);
  font-size: var(--step--1); font-weight: var(--w-label); line-height: 1.3;
}
.cip--svetly { background: var(--bg); }
.cipy { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

/* Pauza smyček: průhledné tlačítko přes scénu, ikona jen při najetí a fokusu. */
.pauza {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: flex-end;
  margin: 0; padding: 0 4px; border: 0; border-radius: var(--r-inner);
  background: transparent; color: var(--green); cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.pauza__ikona {
  display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  width: 36px; height: 36px; border-radius: var(--r-pill);
  background: var(--bg); color: var(--green); border: 1px solid var(--line);
  opacity: 0; transition: opacity var(--dur-fast) var(--ease-ui);
}
.pauza__ikona i { display: block; width: 2px; height: 12px; background: currentColor; }
.pauza__ikona i + i { width: 5px; }
.pauza[aria-pressed="true"] .pauza__ikona i { width: 0; height: 0; background: none;
  border-style: solid; border-color: transparent transparent transparent currentColor; border-width: 6px 0 6px 10px; margin-left: 3px; }
.pauza[aria-pressed="true"] .pauza__ikona i + i { display: none; }
.pauza:hover .pauza__ikona, .pauza:focus-visible .pauza__ikona { opacity: 1; }
.pauza:focus-visible { outline-offset: 2px; }
.pauza[hidden] { display: none; }
.na-zelene .pauza, .pas .pauza { color: var(--white); }
.pas .pauza__ikona { background: var(--green); color: var(--white); border-color: var(--line-dark); }
.pas .pauza:focus-visible { outline-color: var(--focus-dark); }
@media (prefers-reduced-motion: reduce) { .pauza { display: none; } }

/* --- Hlavička -------------------------------------------------------------- */
.hlavicka { position: relative; z-index: 20; }
.hlavicka__in {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: var(--space-2) var(--space-5); padding-block: var(--space-4);
}
.znacka { flex: none; display: inline-flex; align-items: center; min-height: 44px; color: var(--green); text-decoration: none; }
.znacka .lg { width: calc(20px * 6.592); height: calc(20px * .741); }
.nav { display: flex; align-items: center; }
.nav__seznam { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-5); margin: 0; padding: 0; list-style: none; }
.nav__seznam a {
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  color: var(--fg); text-decoration: none; font-weight: var(--w-text);
  transition: font-weight var(--dur-fast) var(--ease-ui);
}
.nav__seznam a:hover { font-weight: var(--w-hover); }
.nav__seznam a::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: var(--tenka);
  background: currentColor; transform: scaleX(0); transform-origin: 0 50%;
  transition: transform var(--dur-base) var(--ease-ui);
}
.nav__seznam a:hover::before { transform: scaleX(1); }
.nav__seznam a[aria-current="page"] { font-weight: var(--w-heavy); color: var(--green); }
.nav__seznam a[aria-current="page"]::before { height: 3px; transform: none; background: var(--accent); }
.nav__seznam .wt { --wt-max: var(--w-heavy); }
.nav__seznam .nav__kontakt a { padding-inline: 16px; border-radius: var(--r-btn); background: var(--green); color: var(--white); font-weight: var(--w-label); }
.nav__seznam .nav__kontakt a::before { display: none; }
.nav__seznam .nav__kontakt a:hover { font-weight: var(--w-hover); }

.menu-btn {
  display: none; align-items: center; gap: 12px;
  min-height: 44px; min-width: 44px; padding: 8px 14px 8px 12px;
  border: 0; border-radius: var(--r-btn); background: var(--surface); color: var(--green);
  font: inherit; font-weight: var(--w-label); cursor: pointer; touch-action: manipulation;
}
.menu-btn__ikona { position: relative; width: 22px; height: 14px; }
.menu-btn__ikona i { position: absolute; left: 0; right: 0; background: currentColor; transition: transform var(--dur-base) var(--ease-ui); }
.menu-btn__ikona i:first-child { top: 3px; height: 2px; transform: scaleY(.5); }
.menu-btn__ikona i + i { top: 8px; height: 5px; border-radius: 1px; }
.nav.is-open .menu-btn__ikona i:first-child { transform: translateY(3px) rotate(45deg); }
.nav.is-open .menu-btn__ikona i + i { transform: translateY(-2px) rotate(-45deg) scaleY(.6); }

@media (max-width: 1080px) {
  html.js .menu-btn { display: inline-flex; }
  html.js .nav__seznam {
    display: none; position: absolute; top: calc(100% - 4px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px; border-radius: var(--r-panel); background: var(--bg);
    border: 1px solid var(--line);
  }
  html.js .nav.is-open .nav__seznam { display: flex; }
  html.js .nav__seznam li + li { border-top: var(--tenka) solid var(--line); }
  html.js .nav__seznam a { display: flex; min-height: 52px; padding-inline: 12px; font-size: var(--step-1); }
  html.js .nav__seznam a::before { left: 12px; right: auto; width: 24px; bottom: 12px; }
  html.js .nav__seznam .nav__kontakt { border-top: 0; padding-top: 8px; }
  html.js .nav__seznam .nav__kontakt a { justify-content: center; font-size: var(--step-0); }
  html.js .hlavicka__in { flex-wrap: nowrap; }
  html.js .nav__seznam a { justify-content: flex-start; }
  html.js .nav__seznam .wt { align-items: flex-start; }
}

/* --- Úvod (hero) ------------------------------------------------------------ */
.uvod { padding-block: clamp(8px, 2vw, 32px) 0; overflow-x: clip; }
.uvod__mrizka {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--hero-gap); align-items: center;
}
.uvod__text { min-width: 0; }
.uvod h1 { font-size: var(--step-4); line-height: 1.04; margin-bottom: 0; max-width: 15em; }
.uvod h1 .l, .uvod h1 .t { display: block; }
.uvod h1 .t { margin-top: .08em; }
.uvod .lead { margin-top: var(--space-5); }
.uvod .lead + p { color: var(--muted); }

/* Portrét: v klidu černobílý, barva za 600 ms při najetí, fokusu nebo ve středu obrazovky (dotyk). */
.portret {
  position: relative; z-index: 1; margin: 0;
  border-radius: var(--r-panel); overflow: hidden;
  background: var(--surface); aspect-ratio: 4 / 5;
}
.portret img, .foto img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  filter: grayscale(1) contrast(1.05);
  transition: filter var(--dur-slow) var(--ease-ui);
}
.portret:hover img, .portret:focus-within img, .portret.is-barva img,
.foto:hover img, .foto:focus-within img, .foto.is-barva img { filter: grayscale(0%) contrast(1); }
.portret__cip { position: absolute; left: 12px; bottom: 12px; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { .portret img, .foto img { filter: none; transition: none; } }

/* Dvě linky za portrétem: tenká 1 px a tlustá 8 px. Tlustá dýchá 8 na 1 px za 8 s (ambientní smyčka). */
.linky { position: relative; height: 44px; margin-top: var(--space-5); }
.linky__kresba {
  position: absolute; top: 50%; right: 0; left: calc(-1 * (var(--hero-gap) + 56px));
  display: grid; grid-template-columns: minmax(0, 1.35fr) 14px minmax(0, 1fr);
  align-items: center; height: var(--tlusta); margin-top: calc(var(--tlusta) / -2);
  pointer-events: none;
}
.linka { display: block; grid-row: 1; background: var(--green); }
.linka--tenka { grid-column: 1; height: var(--tenka); transform-origin: 0 50%; }
.linka--tlusta { grid-column: 3; height: var(--tlusta); transform-origin: 50% 50%; border-radius: 1px; }
.linka--tecka { grid-column: 2; justify-self: center; width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--accent); }
.linky .pauza { justify-content: flex-end; }

@media (prefers-reduced-motion: no-preference) {
  /* Choreografie načtení (podpis značky): lehká věta najede o 12 px, pevná ztěžkne z 300 na 800 za 900 ms. */
  .uvod h1 .l { transition: transform 900ms var(--ease); }
  .uvod h1 .vw > span { transition: font-weight 900ms var(--ease) calc(75ms + var(--i, 0) * 70ms); }
  html.js:not(.is-nacteno) .uvod h1 .l { transform: translateY(12px); }
  html.js:not(.is-nacteno) .uvod h1 .vw > span { font-weight: var(--w-light); }
  .linka--tenka { transition: transform 900ms var(--ease) 200ms; }
  .linka--tlusta { transition: transform 900ms var(--ease) 320ms; }
  html.js:not(.is-nacteno) .linka--tenka { transform: scaleX(0); }
  html.js:not(.is-nacteno) .linka--tlusta { transform: scaleX(0) scaleY(.125); }
  /* Smyčka jen s JS (pauza), mimo okno stojí. */
  html.js.is-nacteno .linka--tlusta { animation: dech 8s var(--ease-in-out) 1.2s infinite; }
  html.js.is-nacteno .linka--tecka { animation: tecka 8s var(--ease-in-out) 1.2s infinite; }
  html.js.pohyb-stop .linka--tlusta, html.js.pohyb-stop .linka--tecka,
  html.js .linky.is-mimo .linka--tlusta, html.js .linky.is-mimo .linka--tecka { animation-play-state: paused; }
}
@keyframes dech { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.125); } }
@keyframes tecka { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-40px); } }

/* --- Pás témat s pauzou ----------------------------------------------------- */
.pas { position: relative; margin-top: clamp(40px, 6vw, 88px); background: var(--green); color: var(--white); padding-block: 18px; }
.pas__in { position: relative; }
.pas__okno { overflow: hidden; }
.pas__stopa { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.pas__polozka {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.25; letter-spacing: -0.02em; white-space: nowrap;
}
.pas__polozka::after { content: ""; width: 7px; height: 7px; border-radius: var(--r-pill); background: var(--accent); }
.pas__stopa .l { font-weight: var(--w-light); }
.pas__stopa .t { font-weight: var(--w-heavy); }
.pas :focus-visible { outline-color: var(--focus-dark); }
@media (prefers-reduced-motion: no-preference) {
  html.js .pas.is-running .pas__okno { mask-image: linear-gradient(90deg, transparent, var(--fg) 80px, var(--fg) calc(100% - 80px), transparent); }
  html.js .pas.is-running .pas__stopa { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: pas 38s linear infinite; }
  html.js .pas.is-running:hover .pas__stopa,
  html.js .pas.is-running:focus-within .pas__stopa,
  html.js.pohyb-stop .pas.is-running .pas__stopa,
  html.js .pas.is-running.is-mimo .pas__stopa { animation-play-state: paused; }
}
/* Od 601 px stojí pás od prvního vykreslení na jednom řádku, aby spuštění skriptem nic neposunulo (CLS). */
@media (min-width: 601px) and (prefers-reduced-motion: no-preference) {
  html.js:not(.staticky) .pas__stopa { flex-wrap: nowrap; justify-content: flex-start; width: max-content; }
}
@keyframes pas { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Kapitola: přišpendlené tvrzení vlevo, obsah vpravo --------------------- */
.kapitola { position: relative; padding-block: calc(var(--section) * .78); }
.kapitola__in {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--space-6) clamp(32px, 6vw, 112px); align-items: start;
}
.bok { position: sticky; top: 32px; }
.bok h2 { margin-bottom: var(--space-5); max-width: 11em; }
h2 .l, h2 .t { display: block; }
.bok > p { color: var(--muted); max-width: 22em; }
.na-zelene .bok > p { color: var(--surface); }
.obsah { min-width: 0; }
.obsah > :last-child { margin-bottom: 0; }

/* Tlustá linka postupu roste se čtením sekce (vázané na scroll). */
.postup { position: relative; display: block; width: min(100%, 240px); height: var(--tlusta); margin-top: var(--space-6); color: var(--green); }
.postup::before { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - .5px); height: var(--tenka); background: currentColor; opacity: .4; }
.postup i { position: absolute; inset: 0; border-radius: 1px; background: currentColor; transform-origin: 0 50%; transform: scaleX(var(--k, 1)); }
.na-zelene .postup { color: var(--white); }

/* --- Proč: manifest ztěžkne slovo po slovu (podpisový moment) ---------------- */
.manifest {
  margin: 0 0 var(--space-6); max-width: 19em;
  font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3rem); line-height: 1.2; letter-spacing: -0.02em;
  font-weight: var(--w-heavy); color: var(--green); text-wrap: pretty;
}
.manifest + .manifest { margin-top: var(--space-6); }
.manifest + .cisla { margin-top: var(--space-7); }
.manifest em { font-style: italic; }
.manifest .lw { display: inline-grid; justify-items: start; }
.manifest .lw > span, .manifest .lw::after { grid-area: 1 / 1; }
.manifest .lw::after { content: attr(data-w); visibility: hidden; font-weight: var(--w-heavy); }
.manifest .lw--em { font-style: italic; }
@media (prefers-reduced-motion: no-preference) {
  html.js .manifest.is-split .lw > span { font-weight: var(--w-light); transition: font-weight 450ms var(--ease); }
  html.js .manifest.is-split .lw.is-lit > span { font-weight: var(--w-heavy); }
}
.na-zelene .manifest { color: var(--white); }

.heslo {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 24px; align-items: baseline;
  margin: var(--space-7) 0 0; padding: 22px 26px; max-width: 36em;
  border-radius: var(--r-card); background: var(--wash);
}
.heslo dt { font-size: var(--step-2); line-height: 1.1; letter-spacing: -0.02em; color: var(--green); font-weight: var(--w-heavy); font-style: italic; }
.heslo dd { margin: 0; font-size: var(--step-1); line-height: 1.3; color: var(--green); font-weight: var(--w-light); }
.heslo dd.popisek { grid-column: 1 / -1; margin: 6px 0 0; font-size: var(--step--1); font-weight: var(--w-label); line-height: 1.45; color: var(--muted); }

/* --- Obraz v panelu a odhalení diagonálním řezem ----------------------------- */
.obraz { margin: 0; }
.obraz__ram { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--surface); }
.obraz__ram img { width: 100%; height: 100%; object-fit: cover; }
.obraz figcaption { margin-top: 10px; }
.odhal__maska { display: block; height: 100%; }
.odhal__maska img { transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  html.js .odhal:not(.is-done) .odhal__maska { clip-path: polygon(0 0, 0% 0, -40% 100%, 0 100%); }
  html.js .odhal:not(.is-done) .odhal__maska img { transform: scale(1.12); }
  html.js .odhal.is-in:not(.is-done) .odhal__maska { clip-path: polygon(0 0, 140% 0, 100% 100%, 0 100%); transition: clip-path 1400ms var(--ease) 250ms; }
  html.js .odhal.is-in:not(.is-done) .odhal__maska img { transform: none; transition: transform 1400ms var(--ease) 250ms; }
}

/* Šedý rámeček místo chybějící fotky. */
.ramecek {
  display: grid; place-items: center; margin: 0; padding: 16px; text-align: center;
  border-radius: var(--r-card); background: var(--wash);
  border: 1px solid var(--line);
  color: var(--muted); font-size: var(--step--1); font-weight: var(--w-label);
}
.na-zelene .ramecek { background: color-mix(in srgb, var(--white) 6%, transparent); border-color: var(--line-dark); color: var(--surface); }

/* --- Rozcestník -------------------------------------------------------------- */
.cesty { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cesta { display: flex; flex-direction: column; padding: 6px; border-radius: var(--r-card); background: var(--surface); }
.cesta .obraz__ram { border-radius: var(--r-inner); aspect-ratio: 3 / 2; }
.cesta__text { display: flex; flex-direction: column; flex: 1; padding: 22px 20px 16px; }
.cesta h3 { font-size: clamp(1.75rem, 1.45rem + .6vw, 2.125rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: var(--space-4); }
.cesta h3 .l { font-weight: var(--w-light); }
.cesta p { font-size: var(--step-0); }
.cesta__akce { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: auto; padding-top: var(--space-4); }

/* --- Důkazy na zelené ---------------------------------------------------------- */
.na-zelene { position: relative; background: var(--green); color: var(--white); }
.na-zelene h2, .na-zelene h3 { color: var(--white); }
.na-zelene :focus-visible { outline-color: var(--focus-dark); }
.dukazy { display: flow-root; overflow: clip; padding-bottom: 0; }

.cisla { display: grid; gap: var(--space-6); margin: 0; padding: 0; list-style: none; }
.cislo-radek { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 4px var(--space-6); align-items: end; }
.cislo {
  margin: 0; font-size: clamp(3.5rem, 2.4rem + 4.8vw, 7rem); line-height: .9; letter-spacing: -0.04em;
  font-weight: var(--w-heavy); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.cislo small { font-size: .32em; font-weight: var(--w-light); letter-spacing: -0.01em; margin-left: .18em; }
.cislo-radek p:not(.cislo) { margin: 0 0 6px; font-size: var(--step-1); line-height: 1.3; color: var(--surface); }
.cislo-radek p:not(.cislo) b { color: var(--white); }
/* Diagram let: tenká linka = 20 let, tlustá výplň = délka zkušenosti. */
.roky { grid-column: 1 / -1; position: relative; display: block; height: var(--tlusta); margin-top: 10px; }
.roky::before { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - .5px); height: var(--tenka); background: var(--sage-2); }
.roky i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--d) * 5%); border-radius: 1px; background: var(--white); transform-origin: 0 50%; }
.roky i::after { content: ""; position: absolute; right: -8px; top: -6px; width: 20px; height: 20px; border-radius: var(--r-pill); background: var(--accent); border: 3px solid var(--green); }
.na-svetle .roky::before { background: var(--line); }
.na-svetle .roky i { background: var(--green); }
.na-svetle .roky i::after { border-color: var(--bg); }
@media (prefers-reduced-motion: no-preference) {
  html.js .cisla:not(.is-in) .roky i { transform: scaleX(0); }
  html.js .cisla .roky i { transition: transform 2000ms var(--ease) calc(var(--n, 0) * 110ms); }
}

.loga { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.loga li { min-height: 84px; border-radius: var(--r-inner); }
.loga-pozn { margin-top: 12px; }

/* Obrysové „Menčík“ přes 120 % šířky, posun scrollem (písmo jako grafika). */
.obr-slovo { --obr: 36vw; --tah: 1.5px; display: flex; justify-content: center; overflow-x: clip; pointer-events: none; user-select: none; margin: clamp(32px, 6vw, 96px) 0 calc(var(--obr) * -.36); }
.obr-slovo span {
  flex: none; white-space: nowrap; font-size: var(--obr); line-height: .86; font-weight: var(--w-heavy); letter-spacing: -0.02em;
  color: var(--sage-2); -webkit-text-fill-color: var(--green); -webkit-text-stroke: calc(var(--tah) * 2) var(--sage-2); paint-order: stroke fill;
  transform: translate3d(var(--posun, 0px), 0, 0);
}
@media (min-width: 900px) { .obr-slovo { --tah: 2px; } }
@media (forced-colors: active), (prefers-contrast: more) { .obr-slovo { display: none; } }

/* --- Krátký příběh: dílna a portrét přes sebe --------------------------------- */
.dvojobraz { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin: 0 0 var(--space-7); }
.dvojobraz .obraz { grid-column: 1 / 10; grid-row: 1; }
.dvojobraz .obraz .obraz__ram { aspect-ratio: 3 / 2; }
.dvojobraz .foto { grid-column: 8 / 13; grid-row: 1; align-self: end; margin-bottom: -12%; position: relative; z-index: 1;
  border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); border: 8px solid var(--bg); }
.pribeh-text { max-width: 34em; padding-top: 6%; }
.pribeh-text p { font-size: var(--step-1); line-height: 1.45; color: var(--fg); }
.pribeh-text p strong { color: var(--green); }

/* --- Teze ------------------------------------------------------------------------ */
.teze { margin: 0; padding: 0; list-style: none; display: grid; }
.teze li { position: relative; padding-block: var(--space-6) var(--space-5); border-top: var(--tenka) solid var(--line); }
.teze li::before { content: ""; position: absolute; left: 0; top: -4px; width: 56px; height: var(--tlusta); border-radius: 1px; background: var(--green); }
.teze h3 { font-size: var(--step-2); line-height: 1.12; letter-spacing: -0.02em; max-width: 17em; margin-bottom: var(--space-4); }
.teze h3 .l, .teze h3 .t { display: inline; }
.teze p { color: var(--muted); }

/* --- Reference -------------------------------------------------------------------- */
.ref { margin: 0; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-panel); background: var(--surface); }
.ref blockquote { margin: 0 0 var(--space-6); }
.ref blockquote p { max-width: 24em; font-size: var(--step-2); line-height: 1.22; letter-spacing: -0.02em; color: var(--green); font-weight: var(--w-light); }
.ref figcaption { display: flex; align-items: center; gap: 16px; }
.ref__foto { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--r-pill); background: var(--wash); color: var(--muted); font-size: 12px; font-weight: var(--w-label); border: 1px solid var(--line); }
.ref__jmeno { display: block; font-weight: var(--w-heavy); color: var(--green); }
.ref__pozice { display: block; font-size: var(--step--1); color: var(--muted); font-weight: var(--w-label); }
.ref-dalsi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.ref-dalsi li { min-height: 96px; border-radius: var(--r-card); }

/* --- Závěr: oblouk do zelené (přechod sekce) ------------------------------------- */
.oblouk {
  position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: calc(4vw + 1px);
  background: var(--green); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform-origin: 50% 100%; transform: scaleY(var(--k, 1)); pointer-events: none;
}
@media (forced-colors: active) { .oblouk { display: none; } }
.s-obloukem { margin-top: calc(4vw + var(--space-7)); }
.zaver { padding-block: clamp(48px, 7vw, 112px); }
.zaver__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--hero-gap); align-items: center; }
.zaver .foto { border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 3 / 2; background: var(--deep); margin: 0; }
.zaver h2 { font-size: var(--step-3); max-width: 13em; }
.zaver p { color: var(--surface); }
.primo { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: var(--space-5) 0 0; padding: 0; list-style: none; }
.primo li { display: flex; flex-direction: column; }
.primo .popisek { color: var(--surface); }
.primo b { font-size: var(--step-1); font-weight: var(--w-heavy); }
.na-svetle .primo .popisek { color: var(--muted); }
.na-svetle .primo b { color: var(--green); }

/* --- Patička ------------------------------------------------------------------------ */
.paticka { background: var(--deep); color: var(--white); padding-block: var(--space-8) var(--space-7); font-size: var(--step--1); }
.paticka :focus-visible { outline-color: var(--focus-dark); }
.paticka__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-6) clamp(32px, 6vw, 112px); }
.paticka .lg { width: min(100%, 300px); height: auto; color: var(--white); }
.paticka__znacka p { margin-top: var(--space-4); color: var(--surface); max-width: 22em; }
.paticka__mono { display: block; width: 56px; height: 56px; margin-top: var(--space-5); --mn-plocha: var(--green); --mn-pismo: var(--white); --mn-tecka: var(--accent); }
.paticka__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); margin: 0 0 var(--space-5); padding: 0; list-style: none; font-size: var(--step-0); }
.paticka__nav a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; color: var(--white); text-decoration: none; transition: font-weight var(--dur-fast) var(--ease-ui); }
.paticka__nav a:hover { font-weight: var(--w-hover); }
.paticka__nav a[aria-current="page"] { font-weight: var(--w-heavy); }
.paticka__nav .wt { --wt-max: var(--w-heavy); }
.paticka__dalsi { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0 var(--space-5); margin: 0; padding: var(--space-5) 0 0; list-style: none; border-top: var(--tenka) solid var(--line-dark); }
.paticka__dalsi li { padding-block: 10px; color: var(--surface); }
.paticka__dalsi b { display: block; color: var(--white); font-weight: var(--w-label); }
.paticka .zast { color: var(--sage-2); }

/* --- Počítadlo ------------------------------------------------------------------------ */
.num { display: inline-grid; font-variant-numeric: tabular-nums; }
.num > * { grid-area: 1 / 1; }
.num__size { visibility: hidden; }
.num__val { justify-self: end; }

/* =========================================================================
   OBRAZOVKA MODERÁTOR
   ========================================================================= */
.formaty { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.format { position: relative; padding: 26px 24px 22px; border-radius: var(--r-card); background: var(--wash); }
.format::before {
  content: ""; display: block; width: 42px; height: 8px; margin-bottom: 18px;
  background:
    linear-gradient(var(--green), var(--green)) 0 50% / 20px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) 26px 0 / 16px 8px no-repeat;
}
.format--siroky { grid-column: 1 / -1; }
.format h3 { margin-bottom: 8px; }
.format p { margin: 0; color: var(--fg); }
.temata { margin-top: var(--space-6); }
.temata .popisek { margin-bottom: 10px; }
.formaty-obraz .obraz__ram { aspect-ratio: 16 / 9; }

/* Postup: svislá osa, tlustá linka roste se čtením. */
.kroky-obal { position: relative; }
.kroky-obal::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: var(--tenka); background: var(--line); }
.kroky__vypln { position: absolute; left: 8px; top: 14px; bottom: 14px; width: 7px; border-radius: 1px; background: var(--green); transform-origin: 50% 0; transform: scaleY(var(--k, 1)); }
.kroky { position: relative; margin: 0; padding: 0 0 0 44px; list-style: none; display: grid; gap: var(--space-7); }
.krok { position: relative; }
.krok::before { content: ""; position: absolute; left: -41px; top: 6px; width: 18px; height: 18px; border-radius: var(--r-pill); background: var(--bg); border: 2px solid var(--green); transition: background-color var(--dur-base) var(--ease-ui); }
.krok.is-dosazeno::before { background: var(--green); }
.krok h3 { font-size: var(--step-2); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 8px; }
.krok h3 .l, .krok h3 .t { display: inline; }
.krok p { margin: 0; color: var(--muted); }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-panel); }
.video__hrat {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 72px; height: 72px; border: 0; border-radius: var(--r-pill);
  background: var(--green); color: var(--white); cursor: not-allowed; opacity: .6;
}
.video__hrat i { display: block; width: 0; height: 0; margin-left: 5px; border-style: solid; border-color: transparent transparent transparent currentColor; border-width: 11px 0 11px 18px; }
.video__popis { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; }
.akce { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.akce li { display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: var(--r-card); background: var(--surface); }
.akce h3 { font-size: var(--step-1); margin-bottom: 6px; }
.akce p { margin: 8px 0 0; font-size: var(--step-0); }

.panel { border-radius: var(--r-panel); background: var(--surface); }
.frontman { padding-block: 0; }
.frontman__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6) var(--hero-gap); align-items: center; padding: clamp(20px, 4vw, 56px); }
.frontman .foto { border-radius: var(--r-inner); overflow: hidden; aspect-ratio: 4 / 4.2; margin: 0; background: var(--bg); }
.frontman .foto img { object-position: 50% 30%; }
.frontman h2 { max-width: 12em; }
.frontman p:not(.stitek) { font-size: var(--step-1); line-height: 1.45; }

.balicky { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; align-items: stretch; }
.balicek { display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: var(--r-card); background: var(--wash); border: 1px solid var(--line); }
.balicek h3 { font-size: var(--step-1); margin-bottom: var(--space-4); }
.balicek__cena { margin: 0 0 var(--space-4); font-size: var(--step-2); line-height: 1.1; letter-spacing: -0.02em; color: var(--green); font-weight: var(--w-heavy); }
.balicek__cena small { display: block; margin-top: 6px; font-size: var(--step--1); letter-spacing: 0; font-weight: var(--w-label); color: var(--muted); }
.balicek ul { margin: 0 0 var(--space-5); padding: 0; list-style: none; border-top: var(--tenka) solid var(--line); }
.balicek li { padding: 10px 0; border-bottom: var(--tenka) solid var(--line); font-size: var(--step-0); }
.balicek .btn { margin-top: auto; }
.balicek--hlavni { background: var(--green); color: var(--white); border-color: var(--green); }
.balicek--hlavni h3, .balicek--hlavni .balicek__cena { color: var(--white); }
.balicek--hlavni .balicek__cena small, .balicek--hlavni .zast { color: var(--surface); }
.balicek--hlavni ul, .balicek--hlavni li { border-color: var(--line-dark); }
.balicek--hlavni :focus-visible { outline-color: var(--focus-dark); }

.otazky { margin: 0; padding: 0; border-top: var(--tenka) solid var(--line); }
.otazka { border-bottom: var(--tenka) solid var(--line); }
.otazka summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none;
  font-size: var(--step-1); line-height: 1.3; color: var(--green); font-weight: var(--w-label);
  transition: font-weight var(--dur-fast) var(--ease-ui);
}
.otazka summary::-webkit-details-marker { display: none; }
.otazka summary:hover { font-weight: var(--w-hover); }
.otazka summary:focus-visible { outline-offset: 2px; border-radius: 4px; }
.otazka__ikona { position: relative; flex: none; width: 22px; height: 22px; }
.otazka__ikona::before, .otazka__ikona::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transition: transform var(--dur-base) var(--ease-ui); }
.otazka__ikona::before { width: 22px; height: 1px; translate: -50% -50%; }
.otazka__ikona::after { width: 6px; height: 22px; translate: -50% -50%; border-radius: 1px; }
.otazka[open] .otazka__ikona::after { transform: rotate(90deg) scaleX(.33); }
.otazka__odpoved { padding: 0 0 22px; }
.otazka__odpoved p { margin: 0; }

.ebook { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-6) var(--hero-gap); align-items: center; padding: clamp(20px, 4vw, 56px); }
.ebook__obal { max-width: 260px; width: 100%; justify-self: center; }
.ebook__obal svg { width: 100%; height: auto; }
.ebook h2 { margin-bottom: var(--space-3); }

.radek-pole { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin-top: var(--space-5); }
.radek-pole .pole { flex: 1 1 16em; margin: 0; }

/* Formulář */
.formular { padding: clamp(20px, 3.4vw, 44px); border-radius: var(--r-panel); background: var(--surface); }
.formular__mrizka { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.pole { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.pole--cele { grid-column: 1 / -1; }
.pole label { font-size: var(--step--1); font-weight: var(--w-label); color: var(--fg); }
.pole label .nep { color: var(--muted); font-weight: var(--w-text); }
.pole input, .pole select, .pole textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid color-mix(in srgb, var(--green) 45%, transparent); border-radius: var(--r-btn); background: var(--bg); color: var(--fg);
  font: inherit; font-size: var(--step-0); line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease-ui);
}
.pole textarea { min-height: 140px; resize: vertical; }
.pole select { appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.pole input:hover, .pole select:hover, .pole textarea:hover { border-color: var(--green); }
.pole input:focus-visible, .pole select:focus-visible, .pole textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--green); }
.pole [aria-invalid="true"] { border-color: var(--chyba); background: color-mix(in srgb, var(--chyba) 5%, var(--bg)); }
.pole__chyba { margin: 0; font-size: var(--step--1); font-weight: var(--w-label); color: var(--chyba); }
.pole__chyba:empty { display: none; }
.pole__chyba::before { content: ""; display: inline-block; width: 10px; height: 2px; margin-right: 6px; vertical-align: middle; background: currentColor; }
.souhrn { margin: 0 0 var(--space-5); padding: 16px 18px; border-radius: var(--r-inner); background: var(--bg); border: 2px solid var(--chyba); }
.souhrn[hidden] { display: none; }
.souhrn h3 { margin: 0 0 6px; font-size: var(--step-0); color: var(--chyba); }
.souhrn ul { margin: 0; padding-left: 18px; }
.souhrn a { color: var(--chyba); font-weight: var(--w-label); }
.formular__pata { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: var(--space-5); }
.formular__pata .popisek { margin: 0; }
.odeslano { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-panel); background: var(--green); color: var(--white); }
.odeslano[hidden] { display: none; }
.odeslano h3 { color: var(--white); font-size: var(--step-2); line-height: 1.1; }
.odeslano p { color: var(--surface); }
.odeslano :focus-visible { outline-color: var(--focus-dark); }
.stav { margin: 0; font-size: var(--step--1); font-weight: var(--w-label); color: var(--green); }
.stav:empty { display: none; }
.kontakt-primo { margin-top: var(--space-6); }

/* =========================================================================
   OBRAZOVKA MŮJ PŘÍBĚH
   ========================================================================= */
.kapitola--osa-start { padding-bottom: 0; }
.kapitola--osa-konec { padding-top: 0; }
.osa { position: relative; padding: 0 0 0 52px; }
.osa::before { content: ""; position: absolute; left: 13px; top: 0; bottom: 0; width: var(--tenka); background: var(--line); }
.osa__vypln { position: absolute; left: 10px; top: 0; bottom: 0; width: 7px; border-radius: 1px; background: var(--green); transform-origin: 50% 0; transform: scaleY(var(--k, 1)); }
.osa__seznam { margin: 0; padding: 0; list-style: none; }
.udalost { position: relative; padding-bottom: clamp(48px, 6vw, 88px); }
.udalost::before { content: ""; position: absolute; z-index: 1; left: -48px; top: 4px; width: 20px; height: 20px; border-radius: var(--r-pill); background: var(--bg); border: 2px solid var(--green); transition: background-color var(--dur-base) var(--ease-ui); }
.udalost.is-dosazeno::before { background: var(--green); }
.udalost--dnes::before, .udalost--dnes.is-dosazeno::before { background: var(--accent); outline: 6px solid var(--bg); }
/* Za posledním uzlem osa končí: plocha v barvě podkladu zakryje linku. */
.udalost--dnes::after { content: ""; position: absolute; left: -50px; top: 26px; bottom: 0; width: 24px; background: var(--bg); }
.eb-plocha { fill: var(--green); }
.eb-hrbet { fill: var(--deep); }
.eb-svetla { fill: var(--white); }
.eb-tenka { stroke: var(--white); stroke-width: 1; }
.eb-sage { fill: var(--sage-2); }
.eb-tecka { fill: var(--accent); }
.ci-plocha { fill: var(--surface); }
.ci-zeme { fill: var(--wash); }
.ci-tenka { stroke: var(--green); stroke-width: 1.5; fill: none; }
.ci-tlusta { stroke: var(--green); stroke-width: 8; fill: none; stroke-linecap: round; }
.ci-stred { stroke: var(--green); stroke-width: 2; fill: none; stroke-dasharray: 10 12; opacity: .55; }
.ci-tecka { fill: var(--accent); }
.udalost .cip { margin-bottom: var(--space-4); }
.udalost h3 { font-size: var(--step-2); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: var(--space-4); max-width: 15em; }
.udalost h3 .l, .udalost h3 .t { display: inline; }
.udalost > p { font-size: var(--step-1); line-height: 1.45; max-width: 30em; }
.udalost__media { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 12px; margin-top: var(--space-5); align-items: stretch; }
.udalost__media .obraz__ram { aspect-ratio: 3 / 2; border-radius: var(--r-card); }
.udalost__media .ramecek { min-height: 100%; aspect-ratio: auto; }
.udalost__media--foto { grid-template-columns: minmax(0, 1fr); }
.udalost__media--foto .foto { border-radius: var(--r-card); overflow: hidden; margin: 0; background: var(--surface); }
.udalost__media--foto .foto img { aspect-ratio: 3 / 2; }
.cesta-ilu { border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.cesta-ilu svg { width: 100%; height: 100%; }

.poznatky-sekce { padding-block: 0; }
.poznatky { position: relative; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-panel); background: var(--green); color: var(--white); }
.poznatky h2 { color: var(--white); margin-bottom: var(--space-5); }
.poznatky .stitek { color: var(--surface); }
.poznatky .stitek::before { color: var(--accent); }
.poznatky :focus-visible { outline-color: var(--focus-dark); }
.poznatky ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.poznatky li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: baseline; padding-block: 14px; border-top: var(--tenka) solid var(--line-dark); font-size: var(--step-1); line-height: 1.35; }
.poznatky li::before { content: ""; width: 30px; height: 8px; align-self: center;
  background:
    linear-gradient(var(--sage-2), var(--sage-2)) 0 50% / 14px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) 18px 0 / 12px 8px no-repeat; }
.poznatky .zast { color: var(--surface); }
.poznatky-uzel { position: absolute; left: -52px; top: 34px; width: 28px; height: 28px; border-radius: var(--r-pill); background: var(--green); outline: 5px solid var(--bg); }
.poznatky-osa { position: relative; margin-left: 52px; padding-bottom: clamp(48px, 6vw, 88px); }
.poznatky-osa::before { content: ""; position: absolute; left: -39px; top: 0; bottom: 0; width: var(--tenka); background: var(--line); }

.kam-dal { padding-block: clamp(48px, 7vw, 112px); }
.kam-dal__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--hero-gap); align-items: center; }
.kam-dal .foto { border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 4 / 4.4; margin: 0; background: var(--deep); }
.kam-dal .foto img { object-position: 50% 25%; }
.kam-dal h2 { font-size: var(--step-3); }
.kam-dal p:not(.stitek) { color: var(--surface); font-size: var(--step-1); }

/* =========================================================================
   RESPONZIVITA
   ========================================================================= */
@media (max-width: 1180px) {
  .akce { grid-template-columns: minmax(0, 1fr); }
  .balicky { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .uvod__mrizka, .kapitola__in, .zaver__in, .paticka__in, .frontman__in, .ebook, .kam-dal__in { grid-template-columns: minmax(0, 1fr); }
  .uvod__text { order: -1; }
  .portret { aspect-ratio: 4 / 4.2; }
  .linky__kresba { left: 0; }
  .bok { position: static; }
  .bok h2 { max-width: 14em; }
  .postup { margin-top: var(--space-4); }
  .zaver .foto { order: 2; }
  .kam-dal .foto { aspect-ratio: 4 / 3.4; }
  .frontman .foto { aspect-ratio: 4 / 3.2; }
  .ebook__obal { max-width: 180px; justify-self: start; }
  .poznatky-sekce .bok { display: none; }
}
@media (max-width: 700px) {
  .cesty, .formaty, .formular__mrizka { grid-template-columns: minmax(0, 1fr); }
  .format--siroky { grid-column: auto; }
  .cislo-radek { grid-template-columns: minmax(0, 1fr); }
  .loga { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-dalsi { grid-template-columns: minmax(0, 1fr); }
  .udalost__media, .udalost__media--foto { grid-template-columns: minmax(0, 1fr); }
  .udalost__media .ramecek { min-height: 120px; }
  .dvojobraz .obraz { grid-column: 1 / -1; }
  .dvojobraz .foto { grid-column: 6 / 13; grid-row: 2; margin: -22% 0 0; align-self: start; }
  .pribeh-text { padding-top: 0; }
}
@media (max-width: 600px) {
  :root { --section: 56px; }
  .pas__polozka { font-size: 1.5rem; gap: 18px; padding-right: 18px; }
  .pas__stopa { padding-inline: 8px; row-gap: 2px; }
  .heslo { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .osa { padding-left: 40px; }
  .osa::before { left: 9px; }
  .osa__vypln { left: 6px; }
  .udalost::before { left: -40px; }
  .poznatky-osa { margin-left: 40px; }
  .poznatky-osa::before { left: -31px; }
  .poznatky-uzel { left: -44px; width: 24px; height: 24px; }
  .kroky { padding-left: 36px; }
  .krok::before { left: -33px; }
  .poznatky li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .znacka .lg { width: calc(18px * 6.592); height: calc(18px * .741); }
}
@media (forced-colors: active) {
  .linka, .postup i, .postup::before, .roky i, .roky::before, .kroky__vypln, .osa__vypln { background: CanvasText; }
}
.radek-pole__btn { margin-top: calc(var(--step--1) * 1.6 + 6px); }
