/* ŽIVOT JE VÍC — styly webu.
   Úvodní scéna na index.html má vlastní styly přímo ve stránce. */

/* ---------------------------------------------------------------------------
   Kurzor
   --------------------------------------------------------------------------- */
.project-cursor-fill { display: none; }
.project-cursor-fill[hidden] { display: none !important; }
@media (hover: hover) and (pointer: fine) and (forced-colors: none) {
  :root {
    --project-cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAkCAYAAADo6zjiAAAG3ElEQVR42sVYf1RUZRp+vzszjKCLuhwCAQFJCHcTTPy1YaWCh4MdUNtGwk3T8ihqHn/RilJNmluIR8patrKNPKWbS+XxB6UoMqShIEMiAuIAM0LCCPJDBpjhztyZZ//wXg+HEHCD+s6Zc2bud+/3Pt/zvs/zfneIxAGAAWBExKTf9HsMGSenHqC43yxwc7POdfU21eh/7N/2Znt7Yy6A0SII2XDGlQOQMcYcbm4BsUETHnvt9A9ZIXIFozXxG88DiGSM3QEgZ4wJwwFAohhEsiYPN8+JCrmTPVvznW3PJztDWlvr8wHMYowJgFYxXAAgfq/z8vTVCYLNHvnUAvmN6kphy+6EwBrDtWwA0YxNsw0HCI5xnEOsfL2n27hyhULBu7s9gh3rd8prf77ZtSN1s2tJWf5JAKvugYCcsaFkACC1Ws2ImM3X29/g5eljqagqZWFTnj6xO3FfJQDL9pSNsvzL2Z8CWMcYExwOyIZUpmKlMwCqnWmb9Cu3xkCnKzkAIKisouhswrYlbRFxIdZzPx4DgN3iY2zIZCouxACEZRzZr12wfIbjYuHZagAKAOPq6nTfrtsezz+5MJA/euogAHwJwGnIvAJqtQTA53z+qYq5cZOFb7MOmgFMFYP4G4367xN3vdI1MybAduBwKrrN7Zoh8wrJggGMMBgqTixcGd61/7NdFgDPS7kG4NrR3nxgT3py57RoX8u76X9Hh6m5GICXOC8fijSQufPujlWvLTbu2LMWNkvne0REOp1OKd7jBNj3Znz1vjA1yqctOXUt2tqM1wEE/WoQEo0A1qb8M6k1bm2Evbau8izHcUS4X3AMgBzAlmOnv8CMZyfwm9TLYai93gLgL78KRA8Ac7/JyqiNjJ+Ci0XnbvfIc+9umZx15ohtfvwU29JXo1CtL20HMP//BiGlAEBAYbGmdq7qcVvmic9MAEJ6zbPMzEwJbEJBcQ4i46cIqjURjp9KLzgArCAi0mof2jWZpG2FXl9+NHblk53pB9/hAaj6qnRplwBeKLqS17R0fRQi40Jtl7Q5ALCZiEij0cgfyrCkPJtNLR8mJMWZE3e/bOfNpjRpsT7ul0DMq6q52ha/Pso+b0mIvadhAeD6A8H1RYPzH/543X/8hI564y1mbG54HADLy8tz/IIzxgSxVedODAh5+u0t+3SP+gZak1MTu7Ny/pMMYD9jzEHEBmdYwP3czj1y/NOGiLhQe0FR7i0Arv0d03ow4WM0Gn54Y+96TIv26/rmuwwA+LyHgn4Bohet5VJrNoz39OsGQA1Nt9yIyIeIKkSG0A8TtwC8lLha/bFCoYxKSX+L7+gyrVi+aLUbgL8yxmwAuHusPNgRCYBLTU1Z7rPLZlg+ObTHCmDZvesa+SClPNpivnvsrX2bOqcv8Lf+64t3AMGSBcBlwP4hTXaamo+sSVpi3p6SAN7SmTZYfQOQqdVqDgDHm9uPfZCxC6Hzx/Hv/VuNDlNTUQ/r5gZqzcvfTU8y/m1DFOrqdDlEROp7TatP5gDI+pAqB0Dz5dfp3XNUk/nXU9ehsbG2AoCHZGwP2hGIqMXfO8Cqyc+mOy2NjwEYyRjrAsAYY+ixC048sNrFa2OJaBYJ1uj6BsOsKsP1AJtgU7qPdaeTZ4+bH3H3mLRhxZtJjLHNWq1WIX9AcCKiGl+vCe48z1N908/eU4kCiahEZIcRfc0YY3YicgBQEtF8wcbHXC0rjNUZyj3LqkqoSl9JjXdugxFn+nNQiNPMsHCX2dPnEZG9mogorKMD/QGo83DzLHJxHjmzqcWoIKJJAEqJSMEY48XdTiKiFwy1lUuulF8O1l67SMWlRSQINvL29GsNCQ5T/ikmtCHQL+iKt+f4Qtcx7gIRVTPGvheZFOR9SApqqDnGmLn9blPTeC9frrZez5HQPZkpnL8iIh7ANHLYNhZoc58vKLkw4kJhLrXebSZ/70e7YiKeE0Inhd2cHPzEqTFjPS4RURkR3ewtPSmNAxXi1p1pG++8vDUWDQ012QACAXx8SZtje33vq5i9ONix6JWnsCtti+VM3lFje9vtDwGEAxjVe83MzEyZ2Mplg3BEjeRsLx0/cwizFweZKm4U6ytu/GRJSU9C+MIg63OrnsHhox9BV3X1RwDLAHj0EVA2kAU/QAVzJLryx4way49yGT3y8/9+NKr0xhWH8whnWv3iBsUz0yMz/fyCDymdlCetNuv9oCqVCkQEsUAHfjfsR4ZERLe9PXw7lUrFGO21AoqeE4uli1Zqvb0mfkBEh8W8Sh7vGGzQhzoh2fmuty9cPo1z509YAbzRk9JhfXOWnEr8xAEIlwq4r7PBbzKG+7+C/gLLhyv4/wCDPJCyiTelywAAAABJRU5ErkJggg==") 4 3;
    --project-cursor-fill-color: #52643f;
  }
  html, body { cursor: var(--project-cursor), auto; }
  :where(.life-intro, .intro-wake, .btn--dark, .btn--accent, .site-footer, .band--dark, .band--night, .photo-dialog, .route-switch a[aria-current="page"], .call) {
    --project-cursor-fill-color: #f6f4ef;
  }
  html body :is(a[href], button:enabled, summary, [role="button"], input[type="checkbox"]:enabled, input[type="radio"]:enabled, label[for], .privacy-checkbox):not([aria-disabled="true"]) {
    cursor: var(--project-cursor), pointer;
  }
  html body :is(input:not([type]), input[type="text"], input[type="email"], input[type="search"], input[type="url"], input[type="tel"], input[type="password"], input[type="number"], textarea, [contenteditable="true"]) {
    cursor: text;
  }
  html body [aria-disabled="true"] { cursor: default; }
  .project-cursor-fill[data-active="true"] {
    display: block; position: fixed; top: 0; left: 0; z-index: 2147483647;
    width: 32px; height: 36px; margin: 0; padding: 0; border: 0;
    pointer-events: none; user-select: none; contain: strict;
    opacity: .58; animation: project-cursor-breathe 2.2s ease-in-out infinite;
  }
  .project-cursor-fill > svg { display: block; width: 32px; height: 36px; }
}
@keyframes project-cursor-breathe { 0%, 100% { opacity: .42; } 50% { opacity: .70; } }
@media (prefers-reduced-motion: reduce) {
  .project-cursor-fill[data-active="true"] { animation: none; opacity: .58; }
}

/* ---------------------------------------------------------------------------
   Barvy, písmo, rozměry
   --------------------------------------------------------------------------- */
:root {
  /* Bílá */
  --paper: #f8f7f2;
  --white: #fffefb;
  /* Olivová */
  --ink: #20271f;
  --muted: #586456;
  --olive-900: #293a31;
  --olive-800: #31463a;
  --olive-700: #3d5143;
  --olive-400: #98a593;
  --olive-300: #bcc5b6;
  --olive-200: #d9ddd2;
  --olive-100: #eceee6;
  /* Meruňková */
  --apricot-100: #f3e6d6;
  --apricot-200: #ead5bd;
  --apricot-400: #c99f7c;
  --apricot-300: #d6b493;
  --apricot-700: #87583a;
  /* Mátová (pomoc) */
  --mint-100: #e1ece5;
  --mint-200: #cfe0d5;
  --mint-300: #a9c5b3;
  --mint-700: #3f6b55;
  --mint-800: #2f5342;
  /* Slunečná (školy) */
  --sun-100: #f8edcc;
  --sun-200: #f1dfa6;
  --sun-300: #dcc077;
  --sun-700: #7a5a12;
  /* Růžová (komunita) */
  --rose-100: #f4e5e0;
  --rose-200: #ead2ca;
  --rose-300: #d3aa9d;
  --rose-700: #8a4b3d;
  /* Oranžová */
  --orange: #ad472c;
  --orange-700: #8a3520;
  --peach: #f2c3a7;
  /* Zvýrazněné slovo v nadpisu má barvu své části (nastavuje se u tone-…). */
  --em: var(--orange);

  /* Barva aktuální části webu */
  --tone: var(--olive-100);
  --tone-2: var(--olive-200);
  --tone-line: var(--olive-300);
  --tone-ink: var(--olive-700);

  --ease-out: cubic-bezier(.2, .65, .25, 1);

  /* Noc z úvodní scény: začíná jí web a končí jí každá stránka. */
  --night: #0b0c0a;
  /* Červená pro čísla, která mají vyděsit. */
  --alarm: #ec5a46;
  --alarm-soft: #ff9a8a;
  --on-dark: #f3f1e9;
  --on-dark-muted: #bfcabb;
  --on-dark-line: #4c5f51;

  --sans: "Schibsted Grotesk", "Segoe UI", Arial, sans-serif;
  --brand: "Bodoni Moda", "Bodoni MT", Didot, "Times New Roman", serif;

  --fs-display: clamp(3.4rem, 1.6rem + 5.6vw, 6rem);
  --fs-h1: clamp(2.6rem, 1.75rem + 3.2vw, 4.5rem);
  --fs-h2: clamp(1.95rem, 1.45rem + 1.7vw, 2.85rem);
  --fs-h3: clamp(1.3rem, 1.18rem + .45vw, 1.6rem);
  --fs-lead: clamp(1.125rem, 1.06rem + .28vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-meta: .8125rem;

  --wrap: 1200px;
  --gutter: clamp(20px, 4.6vw, 56px);
  --read: 40rem;
  --section: clamp(64px, 8.5vw, 120px);
  --header-height: 81px;

  --i-slice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 5.2 20 12 6.6 18.8'/%3E%3Cpath d='M6.4 5.6C3.6 9.3 3.6 14.7 6.4 18.4'/%3E%3C/svg%3E");
  --i-ext: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
  --i-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4.5v15M6 13.5l6 6 6-6'/%3E%3C/svg%3E");
  --i-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19.5v-15M6 10.5l6-6 6 6'/%3E%3C/svg%3E");
  --i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  --i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='1.5'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
  --i-insta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='3.9'/%3E%3Ccircle cx='17.1' cy='6.9' r='.6' fill='black'/%3E%3C/svg%3E");
  --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.2 3.8 5.6 4.4c-.9.2-1.5 1-1.4 1.9.6 7 6.5 12.9 13.5 13.5.9.1 1.7-.5 1.9-1.4l.6-2.6c.2-.8-.2-1.5-.9-1.8l-2.8-1.2c-.6-.3-1.4-.1-1.8.4l-1.1 1.3c-2-1-3.6-2.6-4.6-4.6l1.3-1.1c.5-.4.7-1.2.4-1.8L9.6 4.7c-.3-.7-1-1.1-1.8-.9Z'/%3E%3C/svg%3E");
  --i-zoom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E");

  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

/* ---------------------------------------------------------------------------
   Základ
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; isolation: isolate; font-size: var(--fs-body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
/* Úvodní scéna používá vlastní písma. */
.life-intro { --sans: Arial, Helvetica, sans-serif; --serif: "Bodoni Moda", "Bodoni MT", Didot, "Times New Roman", serif; }
/* Bodoni Moda je ve webu přibalené, takže logo i úvod vypadají na každém zařízení stejně.
   Rovný řez 600 s nižším kontrastem (opsz 11) odpovídá dřívějšímu Bodoni MT. */
.life-intro, .wordmark, .footer-mark-top { font-variation-settings: "opsz" 11; }
.life-intro .intro-finale-mark { font-weight: 600; }
/* Kurzíva Bodoni Moda je užší než Bodoni MT Italic: řez 500 a menší prostrkání dají stejnou šířku. */
.life-intro :is(.intro-word--serif, .intro-caption em, .intro-affirmation-line--answer) { font-weight: 500; }
.life-intro .intro-word--serif { letter-spacing: -.02em; }
.life-intro .intro-affirmation-line--answer { letter-spacing: -.015em; }
/* Věty při východu slunce: poslední dvě slova každé věty drží spolu (obal intro-pair dává
   build), takže na řádku nikdy nezůstane samotné slovo jako „STAV“ nebo „DESTINACE“. Kde by
   se nevešla ani ta dvě slova (úzké tablety, malé telefony), je druhá věta o kousek menší:
   nejdelší dvojice „KONEČNÁ DESTINACE“ má 10,54 em, sloupec má 44 % šířky okna bez
   posuvníku, na telefonu 86 %. */
.life-intro .intro-pair { display: inline-flex; flex-wrap: wrap; gap: inherit; }
.life-intro .intro-affirmation-line--answer { font-size: min(1em, calc((44vw - 17px) / 10.65)); }
@media (max-width: 700px) { .life-intro .intro-affirmation-line--answer { font-size: min(1.1em, 8vw); } }
.life-intro :is(.intro-ending-smile, .intro-finale-sub) { font-weight: 400; }
/* Ruční vyrovnání mezer v logu: V a O blíž k sobě, šipka blíž k T. */
.k-vo { margin-right: -.11em; }
.life-intro .intro-finale-sign { margin-left: -.07em; }
/* Druhá půlka úvodu: po rozpadu kytky (čas 8 z 20) se pozadím pomalu rozlévají světla
   v barvách webu, mátová, slunečná, růžová a meruňková. Sílí až k logu na konci
   a přes úsvit přejdou do světlého webu. Řídí je --intro-progress ze skriptu úvodu. */
.life-intro.intro-enhanced .intro-pin::before { content: ""; --lights: clamp(0, (var(--intro-progress, 0) - .415) / .46, 1); position: absolute; inset: -25%; pointer-events: none; background: radial-gradient(circle 46vmax at 24% 30%, #a9c5b385, transparent 72%), radial-gradient(circle 42vmax at 77% 24%, #f1dfa67a, transparent 72%), radial-gradient(circle 44vmax at 27% 80%, #d3aa9d75, transparent 72%), radial-gradient(circle 46vmax at 75% 77%, #d6b49375, transparent 72%); opacity: calc(var(--lights) * var(--lights) * .5 + var(--lights) * .4); transform: scale(calc(.7 + var(--lights) * .42)) rotate(calc(var(--lights) * -14deg)); will-change: transform, opacity; }
/* Úvod: kolik příběhu ještě zbývá. Po nitce na pravém okraji putuje plátek pizzy ke kytičce.
   Řídí ho --intro-progress ze skriptu úvodu; s omezeným pohybem se neukazuje. */
.life-intro.intro-enhanced .intro-pin::after { content: ""; --p: clamp(0, var(--intro-progress, 0), 1); position: absolute; z-index: 5; top: 50%; right: clamp(10px, 1.8vw, 28px); width: 24px; height: min(44vh, 380px); pointer-events: none; transform: translateY(-50%);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg transform='rotate(90 40 40)'%3E%3Cpath d='M16 12 L73 40 L16 68Z' fill='%23f8cc59' stroke='%23b37532' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M16 12 C4 28 4 52 16 68 L21 64 C12 50 12 30 21 16Z' fill='%23d9913f'/%3E%3Ccircle cx='33' cy='33' r='6' fill='%23d34c34'/%3E%3Ccircle cx='38' cy='50' r='5' fill='%23d34c34'/%3E%3Ccircle cx='52' cy='40' r='3.6' fill='%23d34c34'/%3E%3C/g%3E%3C/svg%3E") center calc(var(--p) * (100% - 40px)) / 22px 22px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23f2f0e7' fill-opacity='.8'%3E%3Ccircle cx='12' cy='6' r='3.6'/%3E%3Ccircle cx='17.71' cy='10.15' r='3.6'/%3E%3Ccircle cx='15.53' cy='16.85' r='3.6'/%3E%3Ccircle cx='8.47' cy='16.85' r='3.6'/%3E%3Ccircle cx='6.29' cy='10.15' r='3.6'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='2.6' fill='%23e2b66a'/%3E%3C/svg%3E") center bottom / 18px 18px no-repeat,
    linear-gradient(#f2f0e7b3, #f2f0e7b3) center top / 1.5px calc(var(--p) * (100% - 40px) + 11px) no-repeat,
    radial-gradient(circle, #f2f0e752 0 1px, transparent 1.6px) center top / 4px 9px repeat-y;
  opacity: calc((.6 + clamp(0, var(--p) * 20, .4)) * (1 - clamp(0, (var(--p) - .88) * 12.5, 1))); }
@media (max-width: 700px) { .life-intro.intro-enhanced .intro-pin::after { right: 4px; width: 22px; height: 34vh; } }
@media (prefers-reduced-motion: reduce) { .life-intro .intro-pin::after { display: none; } }
/* Tlačítko Scrolluj: na začátku výraznější (šipka a jemná záře) a vidět zůstane první tři
   posunutí, potom pomalu zmizí. Dřív zmizelo hned po prvním a vypadalo to, že se web zasekl. */
.life-intro.intro-enhanced .intro-scroll { gap: 14px; animation-delay: 2.6s; }
.life-intro.intro-enhanced .intro-scroll::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.motion .life-intro.intro-enhanced .intro-scroll::after { animation: intro-hint-bob 1.6s ease-in-out infinite; }
.motion .life-intro.intro-enhanced:not(.intro-started) .intro-scroll { animation: intro-hint-in .8s ease 2.6s both, intro-hint-glow 2.8s ease-out 3.4s infinite; }
@keyframes intro-hint-bob { 0%, 100% { transform: translateY(-4px) rotate(45deg); } 50% { transform: translateY(1px) rotate(45deg); } }
@keyframes intro-hint-glow { 0% { box-shadow: 0 0 0 0 #f2f0e75c; } 70%, 100% { box-shadow: 0 0 0 16px #f2f0e700; } }
.life-intro.intro-enhanced.intro-has-scrolled:not(.intro-hint-done) .intro-scroll { visibility: visible; opacity: 1; pointer-events: auto; }
.life-intro.intro-enhanced.intro-hint-done .intro-scroll { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 1.4s ease, visibility 0s linear 1.4s; }
/* Okamžitá pomoc: vlevo nahoře stejné tlačítko jako Přejít na web, jen s červeným rámečkem.
   Obě tlačítka zmizí spolu se Scrolluj a zůstanou jen šipky a ukazatel postupu (15. 11. 2026). */
.life-intro .intro-topbar { justify-content: space-between; gap: 12px; }
.life-intro .intro-enter.intro-help { border-color: #ff5a4f; box-shadow: inset 0 0 0 1px #ff5a4f; }
.life-intro .intro-enter.intro-help:hover { border-color: #ff5a4f; background: #ff5a4f; color: #050505; }
.life-intro .intro-enter.intro-help:focus-visible { outline-color: #ff5a4f; }
.life-intro.intro-enhanced .intro-topbar { transition: opacity 1.4s ease, visibility 0s linear 0s; }
.life-intro.intro-enhanced.intro-hint-done .intro-topbar { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 1.4s ease, visibility 0s linear 1.4s; }
@media (max-width: 380px) { .life-intro .intro-enter { gap: 12px; padding-inline: 11px; } }
/* Úvod: před logem vyskočí plátek pizzy a vletí do šipky v ŽIVOT JE VÍC. Šipky vpravo dole
   (a klávesnice) posouvají příběh po krocích. Řídí to site.js (část Úvodní scéna). */
.intro-slice { position: absolute; top: 0; left: 0; z-index: 5; pointer-events: none; opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity; }
.intro-slice-art { position: relative; display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 14px #0000004d); }
.intro-slice-glow { position: absolute; inset: -55%; border-radius: 50%; background: radial-gradient(circle, #ffd88061 0%, #ffb34a24 38%, transparent 66%); opacity: var(--glow, 0); }
.intro-sparkles { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; }
.intro-sparkles i { position: absolute; top: 0; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; background: #fff3c9; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); transform: scale(0); }
.intro-steps { position: absolute; right: clamp(10px, 1.8vw, 28px); bottom: clamp(18px, 3vh, 30px); z-index: 7; display: grid; gap: 10px; transition: opacity .3s ease, visibility 0s linear 0s; }
.intro-steps.is-hidden { visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s linear .3s; }
.intro-step { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid #f2f0e78c; border-radius: 50%; background: #050505b3; color: #f2f0e7; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.intro-step svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.intro-step:hover { border-color: #f2f0e7; background: #f2f0e7; color: #050505; }
.intro-step:active { transform: scale(.92); }
.intro-step:disabled { opacity: .3; cursor: default; }
.intro-step:disabled:hover { border-color: #f2f0e78c; background: #050505b3; color: #f2f0e7; }
.intro-step:focus-visible { outline: 2px solid #f2f0e7; outline-offset: 4px; }
@media (max-width: 700px) { .intro-steps { right: 12px; bottom: 18px; gap: 8px; } .intro-step { width: 40px; height: 40px; } }
.intro-wake-shade::before { content: ""; position: absolute; inset: -25%; background: radial-gradient(circle 46vmax at 24% 30%, #a9c5b385, transparent 72%), radial-gradient(circle 42vmax at 77% 24%, #f1dfa67a, transparent 72%), radial-gradient(circle 44vmax at 27% 80%, #d3aa9d75, transparent 72%), radial-gradient(circle 46vmax at 75% 77%, #d6b49375, transparent 72%); opacity: .9; transform: scale(1.12) rotate(-14deg); }
/* Úvodní scéna začíná černou: dokud se nespustí, její obsah se nevykreslí, aby věta
   neprobleskla celá a pak nenaskakovala znovu. S omezeným pohybem je hned vidět celá. */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.intro-direct) .life-intro:not(.intro-enhanced) .intro-pin > :not(.intro-topbar) { opacity: 0; animation: intro-wait-fallback 0s linear 3s forwards; }
}
@keyframes intro-wait-fallback { to { opacity: 1; } }
.intro-wake { color: #252723; }
main { position: relative; z-index: 1; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.05em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.04em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.025em; }
h4 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -.015em; }
p, li, dd, figcaption { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { padding-left: 1.35em; }
li + li { margin-top: .55em; }
strong { font-weight: 600; }
button, input, textarea, select { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--ink); background: #dfe5d2; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
/* Fokus vrácený z dialogu po ťuknutí nebo kliknutí: bez rámečku, dokud se nepoužije klávesnice. */
.focus-quiet:focus-visible { outline: none; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; padding: 12px 18px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
main [tabindex="-1"]:focus, main:focus, #web:focus { outline: none; }

/* ---------------------------------------------------------------------------
   Rozvržení
   --------------------------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section:not(.band):not(.band--dark) + .section:not(.band):not(.band--dark):not(.rule-top) { padding-top: 0; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.band { background: var(--tone); }
.band--warm { background: var(--apricot-100); }
.band--dark { background: var(--olive-900); color: var(--on-dark); }
.band + .section, .section + .band { margin-top: 0; }
.rule-top { border-top: 1px solid var(--olive-200); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--media { align-items: center; }
.stack > * + * { margin-top: 1.1em; }
.read { max-width: var(--read); }

/* Barvy částí webu: pomoc, projekt, školy, sbírky, komunita, témata. Zvýrazněné slovo
   v nadpisu (--em) má barvu své části; pomoc je zelená. */
.tone-help { --tone: var(--mint-100); --tone-2: var(--mint-200); --tone-line: var(--mint-300); --tone-ink: var(--mint-700); --em: var(--mint-700); }
.tone-about { --tone: var(--apricot-100); --tone-2: var(--apricot-200); --tone-line: var(--apricot-300); --tone-ink: var(--apricot-700); --em: var(--apricot-700); }
.tone-schools { --tone: var(--sun-100); --tone-2: var(--sun-200); --tone-line: var(--sun-300); --tone-ink: var(--sun-700); --em: var(--sun-700); }
.tone-community { --tone: var(--rose-100); --tone-2: var(--rose-200); --tone-line: var(--rose-300); --tone-ink: var(--rose-700); --em: var(--rose-700); }
.tone-topics { --tone: var(--olive-100); --tone-2: var(--olive-200); --tone-line: var(--olive-300); --tone-ink: var(--olive-700); --em: var(--orange); }
.tone-giving { --tone: var(--olive-900); --tone-2: var(--olive-800); --tone-line: var(--on-dark-line); --tone-ink: var(--peach); --em: var(--orange); }
/* Na tmavém pozadí Sbírek je zvýraznění broskvové, úvod domovské stránky je o pomoci. */
.tone-giving .page-hero, .tile--card.tone-giving, .band--dark { --em: var(--peach); }
.visitor-hero { --em: var(--mint-700); }
.visitor-hero .kicker { color: var(--mint-700); }
.home-founder { --em: var(--apricot-700); }

/* ---------------------------------------------------------------------------
   Text
   --------------------------------------------------------------------------- */
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.06em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 40em; }
:is(h1, h2, h3, .h2-like) + .lead { margin-top: 20px; }
.muted { color: var(--muted); }
.meta { font-size: var(--fs-meta); line-height: 1.55; color: var(--muted); }
.kicker { display: block; margin-bottom: 18px; color: var(--orange); font-size: .75rem; font-weight: 650; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
h3 em { font-style: normal; }
/* Zvýrazněné slovo nadpisu: stejné písmo i síla jako zbytek, liší se jen barvou své části. */
h1 em, h2 em { font-style: normal; color: var(--em); }
:where(.alarm) { --em: var(--alarm); }
:where(.band--night) { --em: var(--peach); }
::selection { background: var(--sun-200); color: var(--ink); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .lead { margin-top: 18px; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; max-width: none; flex-wrap: wrap; }
.section-head--row > :first-child { max-width: 46rem; }

.prose { max-width: var(--read); }
.prose > * + * { margin-top: 1.15em; }
.prose > h2 { margin-top: 2.1em; }
.prose > h3 { margin-top: 1.9em; }
.prose > h2 + *, .prose > h3 + * { margin-top: .7em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose a { text-decoration-color: var(--olive-400); }
.prose a:hover { color: var(--orange); text-decoration-color: currentColor; }
.prose .note, .note { color: var(--muted); font-size: var(--fs-small); }
.help-directory { margin-top: 18px; color: var(--muted); font-size: var(--fs-small); }
.prose blockquote, .quote { margin-block: 1.8em; padding-left: 24px; border-left: 2px solid var(--orange); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); font-weight: 500; line-height: 1.45; letter-spacing: -.025em; }
.prose blockquote p + p { margin-top: .6em; }
.quote cite, .prose blockquote cite { display: block; margin-top: 14px; font-family: var(--sans); font-size: var(--fs-meta); font-style: normal; color: var(--muted); letter-spacing: 0; }
.lorem { color: var(--muted); }

/* ---------------------------------------------------------------------------
   Ikony
   --------------------------------------------------------------------------- */
.i { --i: var(--i-slice); display: inline-block; flex: none; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.i-ext { --i: var(--i-ext); }
.i-down { --i: var(--i-down); }
.i-up { --i: var(--i-up); }
.i-chevron { --i: var(--i-chevron); }
.i-mail { --i: var(--i-mail); }
.i-insta { --i: var(--i-insta); }
.i-phone { --i: var(--i-phone); }
.i-zoom { --i: var(--i-zoom); }
a:not(.more):not(.btn):not(.call):not(.situation) > .i:last-child { margin-left: .28em; vertical-align: -.12em; }

/* ---------------------------------------------------------------------------
   Tlačítka a odkazy
   --------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 0; font-size: .9375rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; text-align: left; text-decoration: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn .i { font-size: 1.05em; }
.btn--dark { background: var(--olive-900); color: var(--on-dark); }
.btn--dark:hover { background: var(--orange); }
.btn--accent { background: var(--orange); color: var(--white); }
.btn--accent:hover { background: var(--orange-700); }
.btn--line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--line:hover { color: var(--orange); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--apricot-100); }
.btn--small { min-height: 44px; padding: 10px 18px; font-size: .875rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }

.more { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-block: 8px; color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.35; text-decoration: underline; text-decoration-color: var(--olive-300); text-decoration-thickness: 1px; text-underline-offset: .32em; transition: color .15s ease, text-decoration-color .15s ease; }
.more .i { font-size: .95em; transition: transform .18s ease; }
.more:hover { color: var(--orange); text-decoration-color: currentColor; }
.more:hover .i:not([class*="i-"]) { transform: translateX(3px); }
.more:hover .i-down { transform: translateY(2px); }
.band--dark .more { color: var(--on-dark); text-decoration-color: var(--on-dark-line); }
.band--dark .more:hover { color: var(--peach); }
.band--dark :focus-visible { outline-color: var(--peach); }
.links { display: flex; flex-wrap: wrap; gap: 4px 32px; }

/* ---------------------------------------------------------------------------
   Hlavička a navigace
   --------------------------------------------------------------------------- */
/* Logo nahoře uprostřed, pod ním všechny odkazy. Horní řada při posunu odjede
   a nahoře zůstane jen řada odkazů s malým logem (sticky se záporným top). */
.masthead { position: sticky; top: calc(var(--masthead-top, 0px) * -1); z-index: 50; background: var(--paper); }
.masthead-top { position: relative; display: flex; align-items: center; justify-content: center; min-height: 104px; padding-block: 18px 14px; }
.masthead-top .wordmark { font-size: 46px; }
.masthead-top .brand-tagline { margin-top: 8px; font-size: 10px; letter-spacing: .42em; }
.help-now--top { position: absolute; top: 50%; right: 0; transform: translateY(-50%); }
.masthead-bar { border-top: 1px solid var(--olive-200); border-bottom: 1px solid transparent; background: var(--paper); transition: border-color .2s ease; }
.masthead.is-compact .masthead-bar, .masthead.menu-open .masthead-bar { border-bottom-color: var(--olive-200); }
.masthead-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; min-height: 60px; }
.wordmark { --brand-tracking: .08em; display: block; flex: none; width: fit-content; color: var(--ink); font-family: var(--brand); font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: var(--brand-tracking); text-align: center; text-decoration: none; }
.brand-top { display: flex; align-items: center; justify-content: center; gap: .07em; white-space: nowrap; }
.brand-name { display: block; margin-right: calc(-1 * var(--brand-tracking)); }
.brand-pizza-sign { display: block; flex: 0 0 auto; width: .94em; height: .94em; margin-left: -.06em; overflow: visible; transition: color .2s ease, transform .45s var(--ease-out); }
.brand-tagline { display: block; margin-top: 5px; font-family: var(--sans); font-size: 8px; line-height: 1; letter-spacing: .36em; }
.wordmark:hover .brand-pizza-sign { color: var(--orange); transform: translateX(.06em) rotate(-8deg); }
.wordmark--mini { justify-self: start; font-size: 23px; visibility: hidden; opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.wordmark--mini .brand-tagline { display: none; }
.masthead.is-compact .wordmark--mini { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }

/* Dvě řady odkazů, nic se nerozbaluje: nahoře pomoc (rozcestník a všechny směry),
   pod ní zbytek webu. Školy, sbírky a komunita jsou na konci a tišší. */
.nav-rows { display: grid; justify-items: center; padding-block: 6px 2px; }
/* Hlavní je řada pomoci: větší a tučnější. Druhá řada je doplňková, celá jednou tlumenou
   barvou a oddělená jemnou linkou. */
.help-nav, .main-nav { display: flex; align-items: center; gap: clamp(16px, 1.6vw, 24px); }
.help-nav > a, .main-nav > a { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .9375rem; font-weight: 500; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.help-nav > a { font-size: clamp(.9375rem, .8rem + .2vw, 1.0625rem); font-weight: 600; }
.help-nav > a:not(.nav-help) { color: var(--mint-800); }
.main-nav { justify-self: stretch; justify-content: center; margin-top: 2px; border-top: 1px solid var(--olive-200); }
.main-nav > a { min-height: 34px; color: var(--muted); font-size: .84375rem; }
.main-nav > a:hover, .main-nav > a[aria-current="page"] { color: var(--ink); }
.help-nav > a:not(.nav-help)::after, .main-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.help-nav > a:hover::after, .help-nav > a[aria-current="page"]::after, .main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
/* Rozcestník pomoci je první a má barvu pomoci. */
.help-nav > .nav-help { gap: 12px; min-height: 40px; margin-right: 4px; padding: 8px 16px 8px 18px; background: var(--mint-700); color: var(--on-dark); font-weight: 600; transition: background-color .15s ease; }
.help-nav > .nav-help:hover, .help-nav > .nav-help[aria-current="page"] { background: var(--mint-800); }
.help-nav > .nav-help .i { font-size: 1em; transition: transform .18s ease; }
.help-nav > .nav-help:hover .i { transform: translateX(3px); }
.nav-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--olive-400); }
/* Kontakty na pomoc: pevný odkaz v menu, trochu jinak než ostatní (přání 16. 11. 2026). */
.main-nav > .nav-contacts { gap: 7px; color: var(--ink); font-weight: 600; }
.nav-contacts .i-phone, .mobile-contacts .i-phone { color: var(--orange); }
/* Přepínač CZ / SK v menu, v mobilním menu a v patičce (spuštění 16. 11. 2026). Jen nabídka,
   web nikoho nepřesměruje. */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; line-height: 1.3; white-space: nowrap; }
.lang-switch a { display: inline-flex; align-items: center; min-height: 34px; padding-inline: 2px; color: var(--muted); text-decoration: none; }
.lang-switch a:hover, .lang-switch a:focus-visible { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.lang-current { color: var(--ink); font-weight: 800; }
.lang-sep { color: var(--olive-400); font-weight: 400; }
.lang-switch--menu a, .lang-switch--footer a { min-height: 44px; }
/* V tmavé patičce světle jako ostatní odkazy tam. */
.lang-switch--footer a { color: var(--on-dark-muted); }
.lang-switch--footer a:hover, .lang-switch--footer a:focus-visible { color: #f2c3a7; }
.lang-switch--footer .lang-current { color: var(--on-dark); }
.lang-switch--footer .lang-sep { color: var(--on-dark-muted); }
/* Nabídka druhého jazyka dole na stránce: jen pro ty, kdo mají prohlížeč radši v druhém jazyce. */
.lang-offer { position: fixed; z-index: 45; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; width: min(560px, calc(100% - 32px)); padding: 12px 52px 12px 20px; border: 2px solid var(--night); background: var(--white); color: var(--ink); box-shadow: 0 10px 30px #0b0c0a26; transform: translateX(-50%); font-size: .9375rem; line-height: 1.4; }
.lang-offer p { margin: 0; }
.lang-offer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lang-offer-close { position: absolute; top: 50%; right: 6px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 1.5rem; line-height: 1; transform: translateY(-50%); cursor: pointer; }
@media (max-width: 479px) {
  .lang-offer { gap: 0 12px; padding: 8px 48px 8px 16px; font-size: .875rem; }
  .lang-offer a { min-height: 36px; }
}
@media (prefers-reduced-motion: no-preference) { .lang-offer { animation: lang-offer-in .35s ease-out both; } }
@keyframes lang-offer-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; justify-self: end; }
.help-now { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0; border: 0; background: none; font-size: .9375rem; font-weight: 500; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.help-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px #ad472c24; }
.help-now:hover { color: var(--orange); }
/* Tečka u Pomoc hned pomalu a jemně pulzuje, ať je vidět, že tu pomoc je. */
@keyframes help-pulse { 0% { box-shadow: 0 0 0 0 #ad472c47; } 65%, 100% { box-shadow: 0 0 0 9px #ad472c00; } }
@keyframes sos-ring { 0% { opacity: .55; transform: scale(1); } 65%, 100% { opacity: 0; transform: scale(1.22); } }
.motion .help-now::before { animation: help-pulse 3.6s ease-out infinite; }
.help-now--bar { visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s; }
.masthead.is-compact .help-now--bar { visibility: visible; opacity: 1; transition: opacity .25s ease; }
.btn--help { background: var(--mint-700); color: var(--on-dark); }
.btn--help:hover, .btn--help[aria-current="page"], .btn--help[data-section] { background: var(--mint-800); }
.header-help { display: none; min-height: 46px; padding: 10px 18px; font-size: .875rem; }
.menu-button { display: none; }
.mobile-menu { display: none; }
.sos-button { display: none; }
.header-help .label-short { display: none; }

/* ---------------------------------------------------------------------------
   Úvodní obrazovka domovské stránky
   --------------------------------------------------------------------------- */
.visitor-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--paper); border-bottom: 1px solid var(--olive-200); }
.visitor-layout { display: grid; grid-template-columns: 1.07fr 1fr; align-items: center; gap: 5%; min-height: 590px; padding-block: 64px 74px; }
.visitor-copy { position: relative; z-index: 1; min-width: 0; }
.hero-kicker { margin-bottom: 28px; }
.visitor-hero h1 { max-width: 11ch; font-size: clamp(64px, 6.7vw, 96px); font-weight: 650; line-height: 1.04; letter-spacing: -.065em; }
.visitor-intro { max-width: 40ch; margin-top: 28px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.visitor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 30px; }
/* Pod dvěma volbami (pomoc pro sebe, strach o někoho) tišší odkazy na další možnosti. */
.visitor-more { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px; }
.visitor-more .more { font-size: .875rem; font-weight: 500; }
.visitor-actions .btn { min-height: 52px; padding-inline: 25px; gap: 28px; font-size: .875rem; }
.visitor-actions .more { font-size: .875rem; font-weight: 500; }
.visitor-copy { grid-column: 1; grid-row: 1; }
.home-pizza-art { position: relative; z-index: 1; grid-column: 2; grid-row: 1; width: 110%; max-width: 570px; margin: 0 -20px 0 0; justify-self: center; pointer-events: none; }
.home-pizza-art > svg { display: block; width: 100%; height: auto; transform-origin: 50% 70%; }
/* Krabice s pizzou: každý dílek jde vytáhnout myší i prstem (na telefonu do strany, ať jde
   stránka dál posouvat). Vytažený moc daleko udělá puf a zmizí, prázdná krabice pak ukáže
   vzkaz natištěný na dně. Ovládá to assets/js/site.js (část Pizza). */
.home-pizza-art { container-type: inline-size; }
.pizza-slice { --rx: 0px; --ry: 0px; transform: translate(var(--rx), var(--ry)); transform-box: fill-box; transform-origin: 50% 50%; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); cursor: grab; pointer-events: auto; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.pizza-side { display: none; }
.pizza-shadow { transition: opacity .6s ease; }
.pizza-slice:is(.is-lifted, .is-dragging, .is-settling) { filter: url(#pizza-lift); }
.pizza-slice:is(.is-lifted, .is-dragging, .is-settling) .pizza-side { display: inline; }
.pizza-slice.is-dragging { cursor: grabbing; transition: none; }
@media (hover: hover) and (pointer: fine) {
  .pizza-slice:not(.is-dragging, .is-gone):hover { transform: translate(calc(var(--rx) + var(--hx)), calc(var(--ry) + var(--hy))); filter: url(#pizza-hover); }
  .pizza-slice.is-lifted:not(.is-dragging, .is-gone):hover { filter: url(#pizza-lift); }
}
html:not(.motion) .pizza-slice { transition: transform .25s ease; }
.pizza-strings path { fill: none; stroke-linecap: round; pointer-events: none; }
.pizza-puff { pointer-events: none; }
.pizza-puff :is(circle, path) { transform-box: fill-box; transform-origin: 50% 50%; }
.pizza-puff-line { fill: #fff8ec; stroke: #d6b283; stroke-width: 2.6; }
.pizza-puff-fill { fill: #fff8ec; }
.pizza-puff-ring { fill: none; stroke: #ecd3aa; stroke-width: 3; }
/* Vzkaz na dně prázdné krabice: v perspektivě dna a s inkoustem, který se vpije do kartonu.
   Naskočí po řádcích, logo po písmenech a šipka dojede jako v logu nahoře. */
.pizza-message { position: absolute; top: 45%; left: 15%; width: 70%; margin: 0; color: #5d3418; text-align: center; transform: perspective(70cqw) rotateX(30deg); transform-origin: 50% 70%; mix-blend-mode: multiply; pointer-events: none; }
.pizza-message[hidden] { display: none; }
.pizza-message:focus { outline: none; }
.pizza-message-text { margin: 0; font-family: var(--brand); font-size: clamp(12.5px, 4.6cqw, 27px); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 11; line-height: 1.22; }
.pizza-message-text > span { display: block; }
.pizza-message-logo { display: grid; justify-items: center; margin: clamp(6px, 2.6cqw, 15px) 0 0; font-family: var(--brand); line-height: 1; }
.pizza-message-name { display: flex; align-items: center; gap: .07em; font-size: clamp(21px, 8.4cqw, 48px); font-weight: 600; letter-spacing: .08em; font-variation-settings: "opsz" 11; }
.pizza-message-word { display: block; margin-right: -.08em; white-space: nowrap; }
.pizza-letter { display: inline-block; }
.pizza-message-sub { margin-top: .55em; padding-left: .42em; font-family: var(--sans); font-size: clamp(7.5px, 1.8cqw, 11px); font-weight: 600; letter-spacing: .42em; }
@keyframes pizza-ink { from { opacity: 0; filter: blur(5px); transform: translateY(.4em); } to { opacity: 1; filter: none; transform: none; } }
@keyframes pizza-letter { from { opacity: 0; transform: translateY(.3em) scale(.88); } to { opacity: 1; transform: none; } }
@keyframes pizza-sign { 0% { opacity: 0; transform: translateX(-.6em) rotate(-30deg); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes pizza-sub { from { opacity: 0; letter-spacing: 1.1em; } to { opacity: 1; letter-spacing: .42em; } }
@keyframes pizza-fade { from { opacity: 0; } to { opacity: 1; } }
.motion .pizza-message.is-shown .pizza-message-text > span { animation: pizza-ink .9s cubic-bezier(.2, .7, .2, 1) both; }
.motion .pizza-message.is-shown .pizza-message-text > span + span { animation-delay: .55s; }
.motion .pizza-message.is-shown .pizza-letter { animation: pizza-letter .55s cubic-bezier(.2, .8, .3, 1.25) both; animation-delay: calc(1.15s + var(--i) * 75ms); }
.motion .pizza-message.is-shown .brand-pizza-sign { animation: pizza-sign .8s cubic-bezier(.3, 1.45, .5, 1) 1.6s both; }
.motion .pizza-message.is-shown .pizza-message-sub { animation: pizza-sub 1s cubic-bezier(.2, .7, .2, 1) 1.9s both; }
html:not(.motion) .pizza-message.is-shown { animation: pizza-fade .4s ease both; }
/* Pro klávesnici: tlačítko se ukáže, až na něj dojde Tab, a bere jeden dílek po druhém. */
.pizza-take { position: absolute; bottom: 1%; left: 50%; z-index: 2; padding: 9px 16px; border: 1px solid var(--olive-300); border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 .8125rem/1.2 var(--sans); white-space: nowrap; pointer-events: auto; cursor: pointer; transform: translateX(-50%); }
.pizza-take:not(:focus-visible) { width: 1px; height: 1px; padding: 0; overflow: hidden; border: 0; clip-path: inset(50%); }
.pizza-take[hidden], html:not(.js) .pizza-take { display: none; }
/* Ráno po úvodní scéně: za pizzou vychází slunce. */
.hero-sun { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; width: min(96%, 540px); margin: -6% -20px 0 0; pointer-events: none; }
.hero-sun svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-sun .sun-disc { fill: url(#hero-sun-fill); }
.hero-sun .sun-rays { stroke: var(--sun-300); stroke-width: 1.4; stroke-linecap: round; opacity: .75; transform-origin: 0 0; }
.scroll-cue { position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: 20px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); font-size: 22px; text-decoration: none; }
.scroll-cue:hover { color: var(--orange); }

/* ---------------------------------------------------------------------------
   Domovská stránka
   --------------------------------------------------------------------------- */
.home-help { padding-block: clamp(56px, 7vw, 88px); }
/* Nadpis, pod ním věta a odkaz: doplňující věta vedle nadpisu působila jako druhý nadpis. */
.home-help-head { max-width: 46rem; margin-bottom: 0; }
.home-help-head .more { margin-top: 18px; }
.home-help .lead { color: var(--muted); }
.route-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(36px, 4.5vw, 56px); border-top: 1px solid var(--tone-line); }
.route-list a { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 196px; padding: 22px 28px 30px 0; text-decoration: none; }
.route-list img { width: 112px; height: 112px; margin: 0 0 6px -8px; object-fit: contain; transition: transform .5s var(--ease-out); }
.route-list a:hover img { transform: translateY(-5px) rotate(-2deg); }
.route-list a + a { padding-left: 28px; border-left: 1px solid var(--tone-line); }
.route-list strong { max-width: 15ch; font-size: 1.3125rem; font-weight: 600; line-height: 1.25; letter-spacing: -.03em; }
.route-list span:not(.i) { color: var(--muted); font-size: .875rem; line-height: 1.6; }
.route-list .i { margin-top: auto; font-size: 1.15rem; transition: transform .18s ease; }
.route-list a:hover strong { color: var(--orange); }
.route-list a:hover .i { transform: translateX(4px); color: var(--orange); }

.home-founder .split { align-items: center; }
.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 37% 38%; }
.portrait figcaption, .figure-caption { margin-top: 12px; color: var(--muted); font-size: var(--fs-meta); }

.feature-photo { margin: 0; }
.home-schools .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.home-schools.band { padding-block: clamp(64px, 8vw, 112px); }
.home-schools .figure-caption { color: var(--tone-ink); }

.home-giving { padding-block: clamp(64px, 8vw, 104px); }
.home-giving .split { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: center; }
.home-giving h2 { color: var(--on-dark); }
.stats { display: grid; grid-template-columns: auto 1fr; gap: 0; margin-block: 32px 28px; border-block: 1px solid var(--on-dark-line); }
.stats > div { display: flex; flex-direction: column; gap: 6px; padding: 24px 40px 24px 0; }
.stats > div + div { padding-left: 40px; border-left: 1px solid var(--on-dark-line); }
.stats strong { font-size: clamp(3.2rem, 2rem + 4vw, 5rem); font-weight: 550; line-height: 1.02; letter-spacing: -.05em; }
.stats strong small { font-size: .38em; font-weight: 400; letter-spacing: -.02em; white-space: nowrap; }
.stats > div > span { color: var(--on-dark-muted); font-size: var(--fs-meta); }
.home-giving p { color: var(--on-dark-muted); max-width: 34em; }
.next-fundraiser { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: baseline; margin-top: 36px; padding: 20px 22px; border: 1px solid var(--on-dark-line); }
.next-fundraiser .tag { grid-row: span 2; }
.band--dark .tag { background: var(--peach); color: var(--olive-900); }
.next-fundraiser strong { color: var(--on-dark); font-size: 1.0625rem; }
.next-fundraiser p { margin: 0; font-size: var(--fs-small); }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; background: var(--apricot-100); color: var(--orange-700); font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.art { margin: 0; pointer-events: none; }
.art img { width: 100%; height: auto; }

.topic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.topic { display: flex; flex-direction: column; min-width: 0; padding-top: 24px; border-top: 1px solid var(--olive-300); text-decoration: none; }
.topic .art { width: min(100%, 220px); aspect-ratio: 1; margin: 4px auto 20px; }
.topic .art img { height: 100%; object-fit: contain; }
.topic .label { color: var(--muted); font-size: var(--fs-meta); font-weight: 500; }
.topic h3 { margin-top: 10px; min-height: 2.5em; font-size: 1.5rem; }
.topic p { margin-top: 12px; color: var(--muted); font-size: var(--fs-small); }
.topic .more { margin-top: auto; padding-top: 16px; }
.topic:hover h3 { color: var(--orange); }
.topic:hover .more { color: var(--orange); }

.home-community .split { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; }
.home-community .art { max-width: 300px; justify-self: center; }
.home-community .label-mark .i, .home-help .label-mark .i { color: var(--tone-ink); }

/* ---------------------------------------------------------------------------
   Úvod podstránek
   --------------------------------------------------------------------------- */
.page-hero { background: var(--tone); border-bottom: 1px solid var(--tone-2); }
.tone-giving .page-hero { color: var(--on-dark); border-bottom: 0; }
.tone-giving .page-hero .lead, .tone-giving .crumbs, .tone-giving .giving-total-unit { color: var(--on-dark-muted); }
.tone-giving .crumbs span[aria-hidden] { color: var(--on-dark-line); }
.tone-giving .crumbs a:hover { color: var(--peach); }
.tone-giving .page-hero .kicker { color: var(--peach); }
.tone-giving .page-hero :focus-visible { outline-color: var(--peach); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); align-items: center; gap: clamp(32px, 6vw, 96px); min-height: 380px; padding-block: clamp(40px, 5vw, 64px) clamp(48px, 6vw, 72px); }
.page-hero h1 { max-width: 15ch; }
.page-hero .lead { margin-top: 22px; max-width: 34em; }
.page-hero .actions { margin-top: 28px; }
.page-hero__art { justify-self: end; width: 100%; max-width: 300px; margin: 0; pointer-events: none; }
.page-hero__art img { width: 100%; max-height: 300px; object-fit: contain; }
.page-hero__art--photo { max-width: 340px; pointer-events: auto; }
.page-hero__art--photo img { max-height: none; aspect-ratio: 4 / 5; object-fit: cover; object-position: 37% 40%; mix-blend-mode: normal; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 28px; color: var(--muted); font-size: var(--fs-meta); line-height: 1.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--orange); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--olive-400); }
.page-hero .kicker { margin-bottom: 14px; }
.jump { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 26px; }
.jump .more { font-size: .9rem; }
.jump .more--urgent { color: var(--orange); }

/* ---------------------------------------------------------------------------
   Řádky, dlaždice, související
   --------------------------------------------------------------------------- */
.rows { border-top: 1px solid var(--olive-200); }
.rows > * { padding-block: 26px 28px; border-bottom: 1px solid var(--olive-200); }
.rows h3 { font-size: 1.3rem; }
.rows p { margin-top: 10px; color: var(--muted); max-width: 40em; }
.rows .more { margin-top: 8px; }
.rows--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); border-top: 0; }
.rows--2 > * { border-top: 1px solid var(--olive-200); border-bottom: 0; }
.band .rows, .band .rows > *, .band .rows--2 > * { border-color: var(--tone-line); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-block: 28px 30px; border-top: 1px solid var(--tone-line); text-decoration: none; }
.tile .label { color: var(--muted); font-size: var(--fs-meta); font-weight: 500; }
.tile h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); }
.tile p { color: var(--muted); font-size: var(--fs-small); max-width: 34em; }
.tile .more { margin-top: auto; padding-top: 10px; pointer-events: none; }
.tile:hover h3, .tile:hover .more { color: var(--orange); }
.tile:hover { border-top-color: var(--ink); }
.tile--card { padding: 26px 28px 30px; background: var(--tone); border-top: 0; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.tile--card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #20271f14; }
.tile--card.tone-giving { color: var(--on-dark); }
.tile--card.tone-giving :is(p, .label) { color: var(--on-dark-muted); }
.tile--card.tone-giving .more { color: var(--on-dark); text-decoration-color: var(--on-dark-line); }
.tile--card.tone-giving:hover :is(h3, .more) { color: var(--peach); }
.tiles--3:has(.tile--card) { gap: 20px; }

.related { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--olive-200); }
.related h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-bottom: 28px; }

/* ---------------------------------------------------------------------------
   Rozbalovací bloky
   --------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--olive-200); }
.acc:last-of-type, .acc-group > .acc:last-child { border-bottom: 1px solid var(--olive-200); }
.acc + .acc { border-top: 1px solid var(--olive-200); }
.acc > summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; padding: 18px 0; }
.acc > summary .acc-title { display: block; font-size: 1.125rem; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.acc > summary .acc-caption { display: block; margin-top: 4px; color: var(--muted); font-size: var(--fs-small); font-weight: 400; line-height: 1.5; letter-spacing: 0; }
.acc > summary::after { content: ""; flex: none; width: 34px; height: 34px; border: 1px solid var(--olive-300); border-radius: 50%; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform .2s ease, background-color .15s ease; }
.acc[open] > summary::after { background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat; }
.acc > summary:hover .acc-title { color: var(--orange); }
.acc > summary:hover::after { border-color: var(--ink); }
.acc-body { padding: 2px 0 34px; max-width: var(--read); }
.acc-body > * + * { margin-top: 1em; }
.acc-body--wide { max-width: none; }
.next-step { margin-top: 8px; }
.acc--big > summary { min-height: 96px; padding-block: 26px; }
.acc--big > summary .acc-title { font-size: var(--fs-h3); letter-spacing: -.025em; }
.acc--small > summary { min-height: 56px; padding-block: 12px; }
.acc--small > summary .acc-title { font-size: 1rem; font-weight: 500; }

/* ---------------------------------------------------------------------------
   Pomoc: rozcestník
   --------------------------------------------------------------------------- */
.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.route-card { display: grid; grid-template-columns: minmax(0, 1fr) clamp(110px, 12vw, 160px); grid-template-rows: auto auto 1fr auto; column-gap: 24px; min-height: 280px; padding: 30px 28px 32px; border-top: 1px solid var(--olive-300); text-decoration: none; transition: background-color .3s ease; }
.route-card > :not(img) { grid-column: 1; }
.route-card img { grid-column: 2; grid-row: 1 / 5; align-self: center; width: 100%; height: auto; transition: transform .5s var(--ease-out); }
.route-card:hover { background: var(--mint-100); }
.route-card:hover img { transform: translateY(-6px) rotate(-2deg); }
.route-card .label { color: var(--muted); font-size: var(--fs-meta); font-weight: 500; }
.route-card h2 { margin-top: 12px; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); }
.route-card p { margin-top: 14px; color: var(--muted); max-width: 30em; }
.route-card .more { align-self: end; padding-top: 18px; pointer-events: none; }
.route-card:hover { border-top-color: var(--ink); }
.route-card:hover h2, .route-card:hover .more { color: var(--orange); }

/* ---------------------------------------------------------------------------
   Záložky kapitol a situace pomoci
   --------------------------------------------------------------------------- */
/* Kapitoly na stránkách s daty: záložky pod hlavičkou, kapitola se přepne na místě
   (site.js, část Kapitoly). Bez JavaScriptu jsou kapitoly pod sebou. */
.chapter-tabs { position: sticky; top: var(--header-height, 64px); z-index: 30; border-bottom: 1px solid var(--olive-200); background: var(--paper); }
.chapter-tabs-row { display: flex; align-items: center; gap: 18px; }
.chapter-tabs-inner { display: flex; flex: 1; gap: 4px; min-width: 0; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.chapter-tabs-inner::-webkit-scrollbar { display: none; }
.chapter-tab { flex: none; padding: 9px 16px; border-radius: 999px; color: var(--muted); font-size: .9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.chapter-tab:hover { background: var(--olive-100); color: var(--ink); }
.chapter-tab[aria-selected="true"] { background: var(--night); color: var(--on-dark); }
.chapter-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
html:not(.js) .chapter-tab[aria-selected] { background: none; color: var(--muted); }
.chapter-tabs-sources { flex: none; font-size: var(--fs-small); }
html:has(.chapter-tabs) { scroll-padding-top: calc(var(--header-height) + 72px); }
.motion .chapter-panel.is-entering { animation: chapter-in .5s var(--ease-out) both; }
.motion .chapter-panel.is-leaving { animation: chapter-out .16s ease-in both; }
@keyframes chapter-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes chapter-out { to { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 640px) { .chapter-tabs-sources { display: none; } .chapter-tab { padding: 8px 13px; font-size: .875rem; } }
/* Kapitoly na mobilu: řádek jde do strany a na konci slábne, aby bylo vidět, že pokračuje.
   Tlačítko Všechny kapitoly rozloží všechny záložky pod sebe i s odkazem na zdroje. */
.chapter-tabs-all { display: none; }
@media (max-width: 640px) {
  html.js .chapter-tabs-all { display: inline-flex; flex: none; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--olive-300); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-size: .8125rem; font-weight: 600; line-height: 1.2; cursor: pointer; }
  .chapter-tabs-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 999px; background: var(--olive-100); font-size: .75rem; }
  html.js .chapter-tabs-row { gap: 10px; }
  html.js .chapter-tabs:not(.is-expanded) .chapter-tabs-inner { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
  .chapter-tabs.is-expanded .chapter-tabs-row { flex-wrap: wrap; align-items: flex-start; padding-bottom: 10px; }
  .chapter-tabs.is-expanded .chapter-tabs-inner { flex: 1 1 100%; flex-wrap: wrap; overflow: visible; }
  .chapter-tabs.is-expanded .chapter-tabs-all { order: 2; }
  .chapter-tabs.is-expanded .chapter-tabs-sources { display: inline-flex; order: 3; align-items: center; min-height: 36px; }
  html.js .chapter-tabs-all[aria-expanded="true"] { background: var(--night); color: var(--on-dark); border-color: var(--night); }
  html.js .chapter-tabs-all[aria-expanded="true"] .chapter-tabs-count { background: #ffffff2e; }
}
/* Po skoku na místo ve stránce dostane cíl fokus, myš ho ale nevyznačí. */
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
/* Stránky pomoci: nahoře nadpis a jedna věta, hned pod tím dlaždice situací. Každá situace
   má vlastní stránku s kroky a kontakty (pages-help.js). Stejné dlaždice jsou jako
   „Co hledáš?“ na stránkách Pro muže a Pro ženy. */
.guide-hero .page-hero__grid { min-height: 0; padding-block: clamp(28px, 3.6vw, 48px) clamp(26px, 3.4vw, 44px); }
.guide-hero .page-hero__art { max-width: 220px; }
.guide-hero .page-hero__art img { max-height: 220px; }
.situations-section { padding-top: clamp(36px, 4.4vw, 60px); }
.situations-section h2 { margin-bottom: clamp(20px, 2.4vw, 30px); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.situation-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.situation-tile { position: relative; display: grid; align-content: start; gap: 8px; min-height: 124px; padding: 22px 56px 22px 24px; border: 1px solid var(--olive-200); background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .3s ease, transform .35s var(--ease-out); }
.situation-tile-label { font-size: clamp(1.125rem, 1rem + .35vw, 1.3rem); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.situation-tile-hint { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.situation-tile > .i { position: absolute; top: 24px; right: 22px; color: var(--olive-400); font-size: 1.05rem; transition: transform .25s ease, color .2s ease; }
.situation-tile:hover { border-color: var(--olive-900); box-shadow: 0 12px 28px #20271f14; transform: translateY(-2px); }
.situation-tile:hover > .i { color: var(--ink); transform: translateX(3px); }
.situation-tile--urgent { border-color: var(--apricot-300); background: var(--apricot-100); }
.situation-tile--urgent .situation-tile-label, .situation-tile--urgent > .i { color: var(--orange); }
.situation-tile--urgent:hover { border-color: var(--orange); }
.situation-tile--urgent:hover > .i { color: var(--orange); transform: translateY(3px); }
.situations-more { margin-top: 22px; }
/* Pomoc hned jako pruh přes celou šířku, pod ním situace po skupinách. */
.situation-tiles--urgent { grid-template-columns: minmax(0, 1fr); }
.situation-tiles--urgent .situation-tile { min-height: 0; }
.situation-group { margin-top: clamp(26px, 3vw, 40px); }
.situation-group > h3 { margin-bottom: 14px; color: var(--muted); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
/* Rovnou k situaci: časté situace na úvodu a v Rozcestníku pomoci. */
.quick-situations { margin-top: clamp(28px, 3vw, 40px); }
.quick-situations > h3 { margin-bottom: 14px; color: var(--ink); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.quick-situations nav { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.quick-situations a { padding: 9px 14px; border: 1px solid var(--olive-200); background: var(--white); color: var(--ink); font-size: var(--fs-small); font-weight: 500; line-height: 1.3; text-decoration: none; transition: border-color .2s ease; }
.quick-situations a:hover { border-color: var(--olive-900); }
.quick-situations a.quick-all { border-color: transparent; background: none; font-weight: 600; text-decoration: underline; text-decoration-color: var(--olive-300); text-underline-offset: .3em; }
@media (max-width: 640px) {
  .situation-tiles { gap: 10px; }
  .situation-tile { min-height: 0; gap: 6px; padding: 18px 48px 18px 20px; }
  .situation-tile > .i { top: 20px; right: 18px; }
}

/* Stránka jedné situace: nadpis s kresbou, odkaz dolů na pomoc hned, obsah s osnovou po
   straně (na menších obrazovkách skoky nahoře), kontakty, tísňová čísla a zdroje. */
.situation-hero .page-hero__grid { grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: 0; padding-block: clamp(28px, 3.6vw, 48px) clamp(30px, 3.6vw, 48px); }
.situation-hero h1 { max-width: 20ch; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); }
.situation-hero .lead { max-width: 36em; }
.situation-art { width: clamp(120px, 14vw, 190px); }
.kresba { display: block; width: 100%; height: auto; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.kresba .a { stroke: var(--em, var(--olive-700)); }
.kresba .af { fill: var(--em, var(--olive-700)); fill-opacity: .16; }
.urgent-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 10px 16px; border: 1px solid var(--apricot-300); background: var(--apricot-100); color: var(--orange); font-size: var(--fs-small); font-weight: 600; line-height: 1.3; text-decoration: none; transition: border-color .2s ease; }
.urgent-chip span { color: var(--ink); font-weight: 500; }
.urgent-chip:hover { border-color: var(--orange); }
.situation-hero .actions { margin-top: 22px; }
.situation-reading { grid-template-columns: minmax(0, 46rem) minmax(0, 236px); }
.situation-body { min-width: 0; }
.situation-body > .panel + .panel { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--olive-200); }
.situation-body > .see-also { margin-top: 40px; padding-top: 22px; border-top: 1px dashed var(--olive-300); color: var(--muted); font-size: var(--fs-small); }
.situation-body > .see-also a { color: var(--ink); font-weight: 600; }
.situation-jump { display: none; }
.situation-top { margin: 0 0 40px; }
.situation-top p + p { margin-top: 10px; }
.situation-section { margin-top: clamp(48px, 5vw, 64px); padding-top: clamp(36px, 4vw, 48px); border-top: 1px solid var(--olive-200); }
.situation-body > .situation-section:first-child, .situation-body > .situation-jump + .situation-section { margin-top: 0; padding-top: 0; border-top: 0; }
.situation-section > h2 { max-width: 22ch; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); line-height: 1.15; letter-spacing: -.035em; }
.situation-section > h3 { margin-top: 30px; font-size: 1.2rem; letter-spacing: -.015em; }
.situation-section > p, .situation-section > .ticks { max-width: var(--read); margin-top: 18px; }
.situation-section > h2 + p { margin-top: 20px; }
.situation-section > .ticks > li + li { margin-top: 10px; }
.situation-section > .callout { margin-block: 26px 4px; }
.situation-section > .steps-2 { margin-top: 26px; }
.situation-steps { counter-reset: step; max-width: var(--read); margin: 26px 0 0; padding: 0; list-style: none; }
.situation-steps > li { position: relative; padding: 0 0 0 58px; counter-increment: step; }
.situation-steps > li + li { margin-top: 24px; }
.situation-steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--tone-2, var(--olive-100)); color: var(--olive-900); font-size: 1rem; font-weight: 700; }
.situation-steps h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -.015em; }
.situation-steps p { margin-top: 6px; color: var(--muted); }
.situation-say { max-width: var(--read); margin: 26px 0 0; padding: 22px 24px; border-left: 3px solid var(--em, var(--olive-700)); background: var(--white); }
.situation-say figcaption { color: var(--muted); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.situation-say ul { margin: 12px 0 0; padding: 0; list-style: none; }
.situation-say li { font-size: 1.0625rem; line-height: 1.5; }
.situation-say li + li { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--olive-200); }
.situation-qa { max-width: var(--read); margin-top: 22px; }
.situation-talk .service-refs { margin-top: 26px; }
.situation-talk > .see-also { margin-top: 26px; color: var(--muted); font-size: var(--fs-small); }
.situation-talk > .see-also a { color: var(--ink); font-weight: 600; }
@media (max-width: 1000px) {
  .situation-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
  .situation-jump a { padding: 7px 12px; border: 1px solid var(--olive-200); background: var(--white); color: var(--ink); font-size: .875rem; line-height: 1.3; text-decoration: none; }
  .situation-jump a:hover { border-color: var(--olive-900); }
  .situation-jump a[href="#nalehava-pomoc"] { border-color: var(--apricot-300); background: var(--apricot-100); color: var(--orange); }
}
@media (max-width: 640px) {
  .situation-hero .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .situation-hero .situation-art { order: -1; justify-self: start; width: 96px; margin: 0 0 6px -6px; }
  .situation-steps > li { padding-left: 50px; }
  .situation-steps > li::before { width: 34px; height: 34px; }
  .situation-say { padding: 18px 18px; }
}
/* Posudek 15. 11. 2026: nahoře stránky rovnou čísla k volání místo skoku dolů, na stránkách
   o sebevraždě a sebepoškozování box s linkami a chaty nad úvodem, a rychlé vstupy do částí. */
.situation-hero .actions { display: grid; justify-items: start; gap: 18px; }
.urgent-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 16px; border: 1px solid var(--apricot-300); background: var(--apricot-100); font-size: var(--fs-small); line-height: 1.3; }
.urgent-row > span { color: var(--ink); font-weight: 500; }
.urgent-row a { color: var(--orange); font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }
.urgent-row a b { font-weight: 700; }
.urgent-row a:hover { text-decoration: underline; }
.urgent-row a.urgent-row-more { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--apricot-400); text-underline-offset: .25em; }
.crisis-now { display: grid; gap: 14px; max-width: 46rem; margin-top: 22px; padding: clamp(16px, 2.2vw, 22px); border: 1px solid var(--apricot-300); background: var(--white); }
.crisis-now-row { display: grid; gap: 10px; }
.crisis-now-row > p { font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.crisis-now-row > p strong { color: var(--ink); }
.crisis-now-row--sos { padding-bottom: 14px; border-bottom: 1px solid var(--apricot-300); }
.crisis-now .calls { gap: 8px; }
.crisis-now .call { flex-wrap: nowrap; min-height: 46px; padding: 9px 14px 10px; white-space: normal; }
.crisis-now .call > strong { font-size: 1.15rem; white-space: nowrap; }
.call.call--sos { background: var(--orange); }
.call.call--sos > span { color: var(--on-dark); }
.call.call--sos:hover { background: var(--olive-900); }
.crisis-now-note, .crisis-now-write, .crisis-now-more { color: var(--muted); font-size: var(--fs-small); line-height: 1.55; }
.crisis-now-write strong { color: var(--ink); }
.crisis-now a:not(.call) { color: var(--ink); font-weight: 600; }
.situation-hero--crisis .lead { margin-top: 22px; }
@media (min-width: 760px) {
  .crisis-now-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .crisis-now .calls { justify-content: flex-end; }
}
.situation-paths { display: grid; gap: 10px; }
.situation-paths-title { color: var(--ink); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.situation-paths > div { display: flex; flex-wrap: wrap; gap: 8px; }
.situation-paths a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--olive-300); background: var(--white); color: var(--ink); font-size: var(--fs-small); font-weight: 600; line-height: 1.3; text-decoration: none; transition: border-color .2s ease; }
.situation-paths a:hover { border-color: var(--olive-900); }
.hero-note { max-width: 40em; margin-top: 14px; color: var(--muted); font-size: var(--fs-small); line-height: 1.55; }
.hero-note a { color: var(--ink); }
/* Rychle pryč: na každé stránce vpravo nahoře pod hlavičkou, jedním stiskem pryč (15. 11. 2026).
   Kde je pod hlavičkou lepivý pruh (kapitoly, roky sbírek), sedí až pod ním. V intru čeká, než
   příběh skončí. */
.quick-exit { position: fixed; z-index: 45; top: calc(var(--masthead-top, 104px) + var(--header-height, 64px) + 12px); right: clamp(12px, 2vw, 24px); display: grid; justify-items: center; gap: 2px; padding: 9px 16px 8px; border: 2px solid var(--night); background: var(--white); color: var(--ink); font-size: .9375rem; font-weight: 700; line-height: 1.15; text-decoration: none; box-shadow: 0 8px 24px #20271f29; }
.quick-exit small { color: var(--muted); font-size: .6875rem; font-weight: 500; letter-spacing: .02em; }
.quick-exit:hover { background: var(--night); color: var(--on-dark); }
.quick-exit:hover small { color: var(--on-dark); }
body.menu-locked .quick-exit { z-index: 51; }
html.js body[data-page="index.html"]:not(.intro-gone) .quick-exit { visibility: hidden; opacity: 0; }
@media (max-width: 640px) {
  .quick-exit { padding: 7px 12px 6px; font-size: .8125rem; }
  .quick-exit small { font-size: .625rem; }
}
/* Rychle pryč v dialozích (Pomoc hned, fotka, soukromí): dialog zakryje stránku i tlačítko pod ním. */
.dialog-exit { display: inline-grid; place-items: center; flex: none; min-height: 40px; margin-left: auto; padding: 6px 12px; border: 2px solid var(--night); background: var(--white); color: var(--ink); font-size: .8125rem; font-weight: 700; line-height: 1.15; text-decoration: none; white-space: nowrap; }
.dialog-exit:hover { background: var(--night); color: var(--on-dark); }
/* Všechny situace na rozcestníku: celý seznam po průvodcích. */
.all-situations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px 40px; margin-top: clamp(28px, 3vw, 40px); }
.all-situations-guide h3 { padding-bottom: 10px; border-bottom: 1px solid var(--olive-200); font-size: 1.125rem; letter-spacing: -.015em; }
.all-situations-guide h3 a { color: var(--ink); text-decoration: none; }
.all-situations-guide h3 a:hover { text-decoration: underline; }
.all-situations-guide ul { display: grid; gap: 2px; margin: 10px 0 0; padding: 0; list-style: none; }
.all-situations-guide li a { display: block; padding: 6px 0; color: var(--ink); font-size: var(--fs-small); line-height: 1.4; text-decoration: underline; text-decoration-color: var(--olive-300); text-underline-offset: .25em; }
.all-situations-guide li a:hover { text-decoration-color: var(--ink); }
/* Kontakty na pomoc: volat, napsat, přijít osobně. */
.contacts-start { display: grid; gap: 12px; max-width: 52rem; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--olive-200); background: var(--white); }
.contacts-start h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.contacts-start p { color: var(--muted); }
.contacts-start .calls { margin-top: 6px; }
.contacts-start .call { white-space: normal; }
.contacts-group { margin-top: clamp(32px, 4vw, 52px); }
.contacts-group-title { margin-bottom: 16px; font-size: 1.3125rem; letter-spacing: -.02em; }
.contact-address { margin-top: 6px; color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.contact-note { margin-top: 14px; color: var(--muted); font-size: var(--fs-small); line-height: 1.6; }
.contact > .more { margin-top: 14px; }
.contacts-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.contacts-index a { padding: 7px 12px; border: 1px solid var(--olive-200); background: var(--white); color: var(--ink); font-size: .875rem; line-height: 1.3; text-decoration: none; }
.contacts-index a:hover { border-color: var(--olive-900); }
.contact-region { margin-bottom: 6px; color: var(--muted); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.contact-mail { margin-top: 12px; }
.contact-mail a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.contact .calls + dl, .contact-mail + dl { margin-top: 18px; }
.contacts-more { margin-top: clamp(32px, 4vw, 52px); }
.contacts-more h3 { font-size: 1.125rem; }
.contacts-more ul { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }

.panel > :is(h2, h3) { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); line-height: 1.15; letter-spacing: -.035em; max-width: 22ch; }
.panel > p, .panel-steps { max-width: var(--read); }
.panel > p { margin-top: 18px; color: var(--muted); }
.panel-steps { margin-top: 22px; }
.panel-steps li + li { margin-top: 12px; }
.panel .see-also { margin-top: 24px; color: var(--muted); font-size: var(--fs-small); }
.panel .see-also a { color: var(--ink); }
.panel .see-also a:hover { color: var(--orange); }
.panel .acc { margin-top: 28px; }
.guide-section > :is(h2, h3) { margin-bottom: 4px; }
.guide-section > * + * { margin-top: 18px; }
.guide-section > p { max-width: var(--read); color: var(--ink); }
.guide-section .acc { margin-top: 0; }
.guide-section .acc:first-of-type { margin-top: 28px; }
.guide-section .numbered, .guide-section .ticks { max-width: var(--read); margin-block: 22px; }

/* Rychlé kontakty uvnitř situace */
.service-refs { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--olive-200); }
.service-ref { display: grid; grid-template-columns: minmax(min(100%, 14em), 1fr) auto; gap: 8px 24px; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--olive-200); }
/* Tři a víc čísel (Poradna Anabell: Brno, Praha, Ostrava) jdou pod text, aby ho nezúžila. */
.service-ref:has(.call ~ .call ~ .call) { grid-template-columns: minmax(0, 1fr); }
.service-ref:has(.call ~ .call ~ .call) .calls { justify-content: flex-start; }
.service-ref h4 { font-size: 1.125rem; }
/* Kontakty po skupinách na stránkách Pro muže a Pro ženy. */
.service-group { margin-top: clamp(40px, 5vw, 64px); }
.service-group-head > h3 { font-size: 1.3125rem; letter-spacing: -.02em; }
.service-group-head > p { max-width: 26em; margin-top: 12px; color: var(--muted); font-size: var(--fs-small); line-height: 1.6; }.service-group .service-refs { margin-top: 0; }
.service-ref p { margin-top: 4px; color: var(--muted); font-size: var(--fs-small); max-width: 34em; }
.service-ref .calls { justify-content: flex-end; }
.service-ref .more { grid-column: 1 / -1; min-height: 32px; padding: 0; font-size: var(--fs-meta); }

/* Telefon */
.calls { display: flex; flex-wrap: wrap; gap: 10px; }
.call { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; max-width: 100%; min-height: 52px; padding: 11px 18px 12px; background: var(--olive-900); color: var(--on-dark); text-decoration: none; white-space: nowrap; transition: background-color .15s ease; }
.call > span { font-size: .75rem; font-weight: 500; letter-spacing: .02em; color: var(--on-dark-muted); white-space: normal; }
.call > strong { font-size: 1.3rem; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.call:hover { background: var(--orange); }
.call:hover > span { color: var(--on-dark); }

/* ---------------------------------------------------------------------------
   Pomoc: první kroky, příklady vět
   --------------------------------------------------------------------------- */
.steps-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 40px); margin-block: 8px 24px; }
.steps-3 > article, .steps-2 > article { min-width: 0; padding-top: 20px; border-top: 1px solid var(--olive-300); }
.steps-3 :is(h3, h4), .steps-2 :is(h3, h4) { margin-bottom: 10px; font-size: 1.125rem; line-height: 1.35; letter-spacing: -.015em; }
.steps-3 p, .steps-2 p, .steps-2 li { color: var(--muted); font-size: var(--fs-small); }
.steps-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 40px); margin-block: 8px 24px; }
.steps-2 ul { margin: 0; }
.say { margin-block: 26px; padding: 4px 0 4px 22px; border-left: 2px solid var(--orange); font-size: clamp(1.2rem, 1.08rem + .5vw, 1.5rem); font-weight: 500; line-height: 1.45; letter-spacing: -.02em; }
.callout { max-width: var(--read); margin-block: 28px; padding: 22px 24px; background: var(--apricot-100); border-left: 3px solid var(--orange); }
.callout :is(h3, h4) { margin-bottom: 8px; font-size: 1.125rem; line-height: 1.35; letter-spacing: -.015em; }
.callout p { font-size: var(--fs-small); }
.callout p + p { margin-top: .8em; }
.callout--quiet { background: var(--olive-100); border-left-color: var(--olive-700); }
.ticks { padding: 0; list-style: none; }
.ticks > li { position: relative; padding-left: 26px; }
.ticks > li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 10px; height: 2px; background: var(--orange); }
.ticks > li + li { margin-top: 14px; }
.numbered { counter-reset: n; padding: 0; list-style: none; }
.numbered > li { position: relative; padding-left: 40px; counter-increment: n; }
.numbered > li::before { content: counter(n); position: absolute; left: 0; top: .05em; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--olive-300); border-radius: 50%; color: var(--olive-700); font-size: .8125rem; font-weight: 600; line-height: 1; }
.numbered > li + li { margin-top: 16px; }

/* ---------------------------------------------------------------------------
   Pomoc hned
   --------------------------------------------------------------------------- */
.sos { position: relative; padding: clamp(28px, 4vw, 48px); background: var(--apricot-100); }
.sos::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--orange); transform-origin: left; }
.sos .kicker { margin-bottom: 12px; }
.sos h2 { max-width: 22ch; }
.sos > p { max-width: 44em; margin-top: 16px; }
.sos-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 28px 18px; border-block: 1px solid var(--apricot-400); }
.sos-numbers a { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; text-decoration: none; }
.sos-numbers a:first-child { padding-left: 0; }
.sos-numbers a + a { border-left: 1px solid var(--apricot-400); }
.sos-numbers strong { color: var(--olive-900); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sos-numbers a > span { font-size: var(--fs-small); line-height: 1.5; }
.sos-numbers a:hover strong { color: var(--orange); }
/* 155 vede: světlé pole a číslo v barvě pomoci hned (záchranka radí volat při ohrožení
   života rovnou 155). */
.sos-numbers a.sos-first { background: var(--white); }
.sos-numbers a.sos-first:first-child { padding-left: 24px; }
.sos-numbers a.sos-first strong { color: var(--orange); }
.sos-numbers a.sos-first:hover strong { color: var(--olive-900); }
.sheet .sos-numbers a.sos-first { padding-inline: 14px; }
.sos .meta { color: #5d5248; }
.sos .meta a:hover { color: var(--orange); }
/* Aplikace Záchranka u tísňových čísel. */
.app-note { max-width: 46em; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--apricot-400); color: var(--muted); font-size: var(--fs-small); line-height: 1.55; }
.app-note strong { color: var(--ink); font-weight: 600; }
/* Odkazy do obchodů na vlastním řádku, ať se na telefonu nezalomí mezi sebou. */
.app-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 6px; }
.app-note a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.app-note a:hover { color: var(--orange); }
.sheet .app-note { margin-bottom: 14px; }
.sos .acc { border-color: var(--apricot-400); }
.sos .acc > summary::after { border-color: var(--apricot-400); }

/* ---------------------------------------------------------------------------
   Pomoc: kontakty
   --------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.contact { min-width: 0; padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--olive-200); background: var(--white); }
.contact h3 { font-size: 1.3rem; line-height: 1.3; }
.contact .calls { margin-top: 18px; }
.contact dl { margin-top: 22px; border-top: 1px solid var(--olive-200); }
.contact dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding-block: 11px; border-bottom: 1px solid var(--olive-200); }
.contact dt { color: var(--muted); font-size: var(--fs-meta); line-height: 1.7; }
.contact dd { font-size: var(--fs-small); line-height: 1.6; overflow-wrap: anywhere; }
.contact .acc { margin-top: 0; border-top: 0; }
.contact .acc:last-of-type { border-bottom: 0; }
.contact .acc > summary { min-height: 54px; padding-block: 10px; }
.contact .acc > summary .acc-title { font-size: var(--fs-small); font-weight: 600; }
.contact .acc > summary::after { width: 28px; height: 28px; }
.contact .acc-body { padding-bottom: 8px; font-size: var(--fs-small); }
.contact .acc-body p { color: var(--muted); }
.channel { padding-top: 12px; border-top: 1px solid var(--olive-200); }
.channel .more { min-height: 36px; padding-block: 4px; font-size: var(--fs-small); }
.channel p { margin-top: 2px; }
.contact-note { margin-top: 24px; color: var(--muted); font-size: var(--fs-small); max-width: 44em; }
.faq { margin-top: clamp(40px, 5vw, 64px); max-width: 54rem; }
.faq > h3 { margin-bottom: 14px; font-size: 1.3rem; }

/* ---------------------------------------------------------------------------
   Pomoc: zdroje a další směry
   --------------------------------------------------------------------------- */
.sources { padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--olive-200); }
.sources h2 { font-size: 1.5rem; letter-spacing: -.025em; }
.sources > p, .sources .wrap > p { max-width: 52em; margin-top: 12px; color: var(--muted); font-size: var(--fs-small); }
.sources .acc { margin-top: 20px; max-width: 64rem; }
.source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 40px; padding: 0; list-style: none; }
.source-list li { margin: 0; font-size: var(--fs-meta); }
.source-list a { display: inline-block; padding-block: 7px; color: var(--ink); text-decoration-color: var(--olive-300); }
.source-list a:hover { color: var(--orange); }
/* Dlouhé adresy a e-maily (hlavně slovenské kontakty) se na úzkém telefonu zalomí, místo aby
   vybíhaly z obrazovky. Jiné texty to nemění: zalamuje se jen slovo, které se nevejde. */
.source-list a { overflow-wrap: anywhere; }
main :is(p, li) { overflow-wrap: break-word; }
.route-switch { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 24px; border-block: 1px solid var(--olive-200); }
.route-switch a { display: flex; align-items: center; justify-content: center; min-height: 72px; padding: 14px 18px; color: var(--muted); font-size: var(--fs-small); font-weight: 500; line-height: 1.4; text-align: center; text-decoration: none; }
.route-switch a + a { border-left: 1px solid var(--olive-200); }
.route-switch a:hover { color: var(--ink); background: var(--olive-100); }
.route-switch a[aria-current="page"] { color: var(--on-dark); background: var(--olive-900); }

/* ---------------------------------------------------------------------------
   Školy a besedy
   --------------------------------------------------------------------------- */
.photo-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--olive-100); color: var(--on-dark); text-align: left; }
.photo-enlarge { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 42px; height: 42px; background: #20271fcc; color: var(--on-dark); font-size: 18px; transition: background-color .15s ease; }
.photo-open:hover .photo-enlarge { background: var(--orange); }
.school-crop { position: relative; display: block; overflow: hidden; width: 100%; background: var(--olive-100); }
.school-crop > img { position: absolute; max-width: none; object-fit: fill; }
.school-crop--group { aspect-ratio: 1886 / 987; }
.school-crop--group > img { width: 141.52%; height: 194.23%; left: -.59%; top: -45.92%; }
.school-crop--conversation { aspect-ratio: 1688 / 1260; }
.school-crop--conversation > img { width: 144.2536%; height: 101.03175%; left: -2.48815%; top: -.55556%; }
.figure-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; }
.wide-figure { margin-block: clamp(40px, 5vw, 64px) 0; }
.booking { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); padding: clamp(28px, 4.5vw, 56px); background: var(--tone-2); }
.booking h2 { max-width: 14ch; }
.booking .lead { margin-top: 16px; color: var(--ink); }
.booking .kicker { color: var(--orange-700); }
.booking dl { border-top: 1px solid var(--tone-line); }
.booking dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--tone-line); }
.booking dt { color: var(--tone-ink); font-size: var(--fs-meta); line-height: 1.7; }
.booking dd { font-size: var(--fs-small); line-height: 1.6; }
.booking .actions { margin-top: 28px; }

/* ---------------------------------------------------------------------------
   Sbírky
   --------------------------------------------------------------------------- */
.giving-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 18px; margin-top: 14px; }
.giving-total-number { font-size: clamp(4rem, 2.4rem + 5vw, 6.5rem); font-weight: 500; line-height: 1; letter-spacing: -.065em; }
.giving-total-unit { color: var(--muted); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 500; letter-spacing: -.03em; }
.giving-hero h1 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); letter-spacing: -.035em; }
.upcoming { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; padding: clamp(24px, 3vw, 36px); border: 1px dashed var(--apricot-400); background: var(--white); }
.upcoming h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.upcoming p { margin-top: 6px; color: var(--muted); font-size: var(--fs-small); max-width: 40em; }
.year-bar { position: sticky; top: var(--header-height); z-index: 30; background: var(--paper); border-bottom: 1px solid var(--olive-200); }
html:has(.year-bar) { scroll-padding-top: calc(var(--header-height) + 76px); }
.year-nav { display: flex; flex-wrap: wrap; gap: 0 26px; }
@media (max-width: 820px) {
  .year-nav { flex-wrap: nowrap; gap: 0 20px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .year-nav::-webkit-scrollbar { display: none; }
  .year-nav a { flex: none; min-height: 48px; }
  .year-nav a::after { bottom: 0; }
  html:has(.year-bar) { scroll-padding-top: calc(var(--header-height) + 64px); }
}
.year-nav a { position: relative; display: inline-flex; align-items: center; min-height: 52px; color: var(--muted); font-size: var(--fs-small); font-weight: 500; text-decoration: none; }
.year-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.year-nav a[aria-current="true"] { color: var(--ink); }
.year-nav a[aria-current="true"]::after { transform: scaleX(1); }

.year-nav a:hover { color: var(--orange); }
.story { display: grid; grid-template-columns: minmax(220px, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: start; padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--olive-200); }
.story:last-child { border-bottom: 0; }
.story-media { width: 100%; max-width: 420px; margin: 0; }
.story-media a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--olive-100); }
.story-media--portrait { max-width: 300px; }
.story-media--portrait a { aspect-ratio: 3 / 4; }
.story-media--wide a { aspect-ratio: 12 / 5; }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.story-media a:hover img { transform: scale(1.025); }
.story-play { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 8px 13px; background: #20271fe6; color: var(--on-dark); font-size: var(--fs-meta); font-weight: 500; }
.story-media a:hover .story-play { background: var(--orange); }
.story .meta { margin-bottom: 10px; font-weight: 500; }
.story h2 { font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.7rem); }
.story .amount { margin-top: 10px; color: var(--orange); font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.story .amount small { font-size: .55em; letter-spacing: 0; }
.story .purpose { margin-top: 16px; font-size: 1.0625rem; font-weight: 500; }
.story .purpose + p { margin-top: 10px; color: var(--muted); font-size: var(--fs-small); max-width: 40em; }
.story .links { margin-top: 14px; }
.story .links .more { font-size: var(--fs-small); }

/* ---------------------------------------------------------------------------
   Blog
   --------------------------------------------------------------------------- */
.post-list { border-top: 1px solid var(--olive-200); }
.post { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 8px 40px; align-items: baseline; padding-block: 28px; border-bottom: 1px solid var(--olive-200); text-decoration: none; }
.post time, .post .label { color: var(--muted); font-size: var(--fs-meta); }
.post h2, .post h3 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); letter-spacing: -.03em; }
.post p { margin-top: 8px; color: var(--muted); font-size: var(--fs-small); max-width: 42em; }
.post .i { font-size: 1.1rem; transition: transform .18s ease; }
.post:hover h2, .post:hover h3, .post:hover .i { color: var(--orange); }
.post:hover .i { transform: translateX(4px); }
.post--featured { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 24px clamp(28px, 5vw, 72px); align-items: center; padding-block: 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--olive-200); }
.post--featured h2 { font-size: var(--fs-h2); }
.post--featured .meta { margin-bottom: 12px; }
.post--featured h2 + p { margin-top: 16px; }
.post--featured .more { margin-top: 10px; }
.post--featured { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.page-hero .meta { margin: 0 0 14px; }
.page-hero--article h1 { max-width: 19ch; font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.75rem); line-height: 1.06; }

/* Dlouhé čtení: text vlevo, obsah stránky vpravo. */
.reading { display: grid; grid-template-columns: minmax(0, 42rem) minmax(0, 248px); justify-content: space-between; gap: 56px; align-items: start; }
.reading-aside { position: sticky; top: calc(var(--header-height) + 48px); }
.toc-title { margin-bottom: 12px; color: var(--muted); font-size: var(--fs-meta); font-weight: 500; }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--tone-line); }
.toc a { position: relative; display: block; padding: 7px 0 7px 18px; color: var(--muted); font-size: var(--fs-small); line-height: 1.4; text-decoration: none; text-wrap: pretty; transition: color .2s ease; }
.toc a::before { content: ""; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 2px; background: var(--orange); transform: scaleY(0); transition: transform .3s var(--ease-out); }
.toc a:hover { color: var(--orange); }
.toc a[aria-current="true"] { color: var(--ink); }
.toc a[aria-current="true"]::before { transform: scaleY(1); }

/* ---------------------------------------------------------------------------
   Patička
   --------------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(72px, 9vw, 120px) 28px; background: var(--night); color: var(--on-dark); }
/* Teplé světlo za květinou, jako svítání v úvodní scéně. */
.site-footer::before { content: ""; position: absolute; z-index: -1; top: clamp(-60px, -4vw, -20px); right: max(-120px, calc((100vw - var(--wrap)) / 2 - 260px)); width: min(760px, 110vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #d6ac5c2e 0%, #d0b88812 36%, transparent 62%); pointer-events: none; }
/* Závěr jako v úvodní scéně: velké ŽIVOT JE VÍC., pod ním nit, ze které vyroste květina. */
.footer-finale { --fh: clamp(176px, 17vw, 252px); position: relative; min-height: var(--fh); margin-bottom: clamp(36px, 4vw, 56px); }
.footer-mark { position: absolute; left: 0; bottom: calc(var(--fh) * .5771 + 22px); display: inline-flex; flex-direction: column; align-items: flex-start; color: var(--on-dark); font-family: var(--brand); text-decoration: none; }
.footer-mark-top { display: inline-flex; align-items: center; font-size: clamp(52px, 8.2vw, 124px); font-weight: 600; line-height: .9; letter-spacing: .09em; }
.footer-mark-top .brand-pizza-sign { width: .8em; height: .8em; margin-left: -.07em; transition: color .3s ease, transform .5s var(--ease-out); }
.footer-mark-sub { margin-top: .9em; font-family: var(--sans); font-size: clamp(11px, 1.1vw, 16px); line-height: 1; letter-spacing: .38em; }
.footer-mark:hover .brand-pizza-sign { color: var(--peach); transform: translateX(.08em); }
.footer-thread { position: absolute; top: calc(var(--fh) * .4229 - .6px); left: calc(50% - 50vw + var(--thread-start, 0px)); right: calc(var(--fh) * 1.1155); height: 1.2px; background: var(--on-dark); opacity: .8; transform-origin: left center; transform: scaleX(var(--thread-p, 1)); }
.footer-flower { position: absolute; right: 0; top: 0; width: calc(var(--fh) * .4132); height: var(--fh); overflow: visible; }
.flower-line { stroke: var(--on-dark); stroke-width: calc(var(--sw, 3.4) * 1.2); stroke-opacity: .8; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--flower-p, 1)); }
.flower-line--detail { stroke-opacity: .42; stroke-dashoffset: calc(1 - var(--flower-detail-p, 1)); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); align-items: start; }
.footer-line { max-width: 22em; color: var(--on-dark-muted); font-size: var(--fs-small); }
.footer-contact { display: grid; gap: 2px; margin-top: 24px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 12px; width: fit-content; min-height: 40px; color: var(--on-dark); font-size: var(--fs-small); text-decoration: none; }
.footer-contact a:hover { color: #f2c3a7; text-decoration: underline; text-underline-offset: .3em; }
.footer-nav h2 { margin-bottom: 12px; color: var(--on-dark-muted); font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0; }
.footer-nav a { display: flex; align-items: center; min-height: 36px; color: var(--on-dark); font-size: var(--fs-small); line-height: 1.4; text-decoration: none; }
.footer-nav a:hover { color: #f2c3a7; text-decoration: underline; text-underline-offset: .3em; }
.footer-nav .footer-sos { gap: 8px; color: #f2c3a7; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--on-dark-line); color: var(--on-dark-muted); font-size: var(--fs-meta); }
.footer-bottom-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.back-top { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--on-dark); text-decoration: none; }
.back-top:hover { color: #f2c3a7; }
.site-footer :focus-visible { outline-color: #f2c3a7; }
.privacy-footer-button { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .3em; cursor: pointer; }
html:not(.privacy-enhanced) .privacy-footer-button { display: none; }
.privacy-footer-button:hover { color: #f2c3a7; }

/* ---------------------------------------------------------------------------
   Dialogy
   --------------------------------------------------------------------------- */
.sheet { width: min(560px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px #12170f40; }
.sheet::backdrop { background: #12170f80; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 0 28px; }
.sheet-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); }
.sheet-close::before, .sheet-close::after { content: ""; grid-area: 1 / 1; width: 20px; height: 1.6px; background: currentColor; transform: rotate(45deg); }
.sheet-close::after { transform: rotate(-45deg); }
.sheet-close:hover { color: var(--orange); }
.sheet-body { padding: 8px 28px 28px; }
.sheet-body h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.sheet-body > p { margin-top: 12px; color: var(--muted); }
.sheet .sos-numbers { grid-template-columns: 1fr; margin-block: 22px 18px; border-block: 0; border-top: 1px solid var(--olive-200); }
.sheet .sos-numbers a { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--olive-200); }
.sheet .sos-numbers a + a { border-left: 0; }
.sheet .sos-numbers strong { font-size: 2.4rem; }
.sheet .more { margin-top: 4px; }
.sheet-talk { margin-bottom: 18px; padding-top: 16px; border-top: 1px solid var(--olive-200); }
.sheet-talk h3 { font-size: 1.125rem; letter-spacing: -.015em; }
.sheet-talk .calls { margin-top: 12px; }
.sheet-talk p { margin-top: 10px; color: var(--muted); font-size: var(--fs-small); }
body.dialog-open { overflow: hidden; }

.photo-dialog { position: fixed; inset: 0; width: min(1400px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 18px; overflow: auto; overscroll-behavior: contain; border: 0; background: var(--ink); color: var(--on-dark); box-shadow: 0 24px 90px #00000066; }
.photo-dialog::backdrop { background: #0d110cdd; }
.photo-dialog-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; background: var(--ink); }
.photo-dialog-top .meta { color: var(--on-dark-muted); }
.photo-dialog .sheet-close { color: var(--on-dark); }
#dialog-visual { width: min(100%, calc(max(100px, 100dvh - 170px) * var(--photo-ratio, 1.91))); aspect-ratio: var(--photo-ratio, 1.91); margin-inline: auto; }
#dialog-caption { margin-top: 12px; color: var(--on-dark-muted); font-size: var(--fs-meta); }
body.photo-opened { overflow: hidden; }

/* ---------------------------------------------------------------------------
   Soukromí
   --------------------------------------------------------------------------- */
.privacy-noscript { padding-block: 24px; border-top: 1px solid var(--olive-200); color: var(--muted); }
.privacy-noscript h2 { margin-bottom: 8px; font-size: 1.125rem; }
.privacy-noscript p { max-width: 70ch; font-size: var(--fs-meta); }
.privacy-card { position: fixed; z-index: 70; right: 20px; bottom: 20px; width: min(380px, calc(100vw - 32px)); padding: 18px 20px 14px; border: 1px solid var(--olive-200); background: var(--white); color: var(--ink); box-shadow: 0 14px 44px #20271f1f; }
.privacy-card-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.privacy-mark { display: none; }
.privacy-card h2 { font-size: 1rem; letter-spacing: -.01em; }
.privacy-card p { color: var(--muted); font-size: .875rem; line-height: 1.55; }
.privacy-card-actions { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.privacy-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 16px; border: 1px solid var(--olive-900); background: var(--olive-900); color: var(--on-dark); font-size: .875rem; font-weight: 600; line-height: 1.3; cursor: pointer; }
.privacy-button:hover { background: var(--orange); border-color: var(--orange); }
.privacy-text-button { min-height: 42px; padding: 8px 0; border: 0; background: none; color: var(--ink); font-size: .875rem; text-decoration: underline; text-decoration-color: var(--olive-300); text-underline-offset: .3em; cursor: pointer; }
.privacy-text-button:hover { color: var(--orange); }
.privacy-choice-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.privacy-choice-actions .privacy-button:first-child { background: transparent; color: var(--ink); }
.privacy-choice-actions .privacy-button:first-child:hover { background: var(--olive-100); color: var(--ink); border-color: var(--olive-900); }
.privacy-details-link { display: block; min-height: 32px; margin: 4px 0 -4px; padding-block: 6px; }
.privacy-dialog { position: fixed; inset: 0; width: min(620px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 40px); margin: auto; padding: 24px 30px 28px; overflow: auto; overscroll-behavior: contain; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px #12170f40; line-height: 1.6; }
.privacy-dialog:not([open]) { display: none; }
.privacy-dialog::backdrop { background: #12170f80; }
.privacy-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.privacy-eyebrow { color: var(--muted); font-size: var(--fs-meta); }
.privacy-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -10px -12px -10px 0; padding: 0; border: 0; background: none; color: var(--ink); font-size: 28px; font-weight: 300; line-height: 1; cursor: pointer; }
.privacy-close:hover { color: var(--orange); }
.privacy-dialog h2 { margin-bottom: 12px; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.privacy-dialog > p, .privacy-dialog section p { font-size: var(--fs-small); color: var(--muted); }
.privacy-dialog section p + p { margin-top: 10px; }
.privacy-category { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--olive-200); }
.privacy-category-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.privacy-category h3 { font-size: 1.0625rem; letter-spacing: -.01em; }
.privacy-always, .privacy-state { flex: none; color: var(--muted); font-size: var(--fs-meta); }
.privacy-storage-details { margin-top: 10px; font-size: var(--fs-meta); }
.privacy-storage-details summary { width: fit-content; min-height: 36px; padding-block: 6px; text-decoration: underline; text-decoration-color: var(--olive-300); text-underline-offset: .3em; }
.privacy-storage-details p { margin-top: 4px !important; font-size: var(--fs-meta) !important; }
.privacy-storage-details code { overflow-wrap: anywhere; font-size: .8em; }
.privacy-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding-block: 10px; font-size: var(--fs-small); cursor: pointer; }
.privacy-checkbox input { flex: none; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--olive-900); }
.privacy-consent-note, .privacy-controller { color: var(--muted); font-size: var(--fs-meta); }
.privacy-controller { margin-top: 20px; overflow-wrap: anywhere; }
.privacy-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--olive-200); }
.privacy-dialog-actions .privacy-button { min-width: 140px; }

/* ---------------------------------------------------------------------------
   Doplňky rozvržení
   --------------------------------------------------------------------------- */
.label-mark { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--ink); font-size: .875rem; font-weight: 600; line-height: 1.4; letter-spacing: -.005em; }
.label-mark .i { color: var(--orange); font-size: .9em; }
.label-mark--light { color: var(--on-dark); }
.label-mark--light .i { color: #f2c3a7; }
.home-help .label-mark, .home-community .label-mark { margin-bottom: 14px; }
.route-note { margin-top: 28px; }
/* Rozcestník pomoci: nadpis a všech pět směrů na první obrazovce počítače. */
.hub-hero > .wrap { padding-bottom: clamp(64px, 6vw, 88px); }
.hub-hero .hub-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 48px; padding-block: clamp(18px, 2.2vw, 34px) clamp(14px, 1.8vw, 24px); }
.hub-hero .crumbs { margin-bottom: 16px; }
.hub-hero h1 { max-width: none; font-size: clamp(2.3rem, 1.6rem + 2.2vw, 3.5rem); }
.hub-hero .lead { max-width: 48em; margin-top: 10px; }
.hub-hero .page-hero__art { width: clamp(96px, 10vw, 150px); }
.hub-hero .page-hero__art img { max-height: 150px; }
.hub-hero .route-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--tone-line); }
.hub-hero .route-card { display: flex; flex-direction: column; min-height: 0; padding: 14px 20px 18px; border-top: 0; border-left: 1px solid var(--tone-line); transition: background-color .2s ease; }
.hub-hero .route-card:first-child { border-left: 0; }
.hub-hero .route-card img { order: -1; align-self: flex-start; width: clamp(64px, 5.6vw, 96px); margin: 0 0 8px -6px; }
.hub-hero .route-card :is(h2, h3) { margin-top: 6px; font-size: clamp(1.1rem, .95rem + .45vw, 1.35rem); }
.hub-hero .route-card p { margin-top: 8px; font-size: var(--fs-small); line-height: 1.5; }
.hub-hero .route-card .more { align-self: flex-start; margin-top: auto; padding-top: 14px; font-size: var(--fs-small); }
.hub-hero .route-card:hover { background: #fffdf78c; }
.hub-hero .route-note { margin: 0; padding-block: 14px clamp(24px, 3vw, 36px); }
@media (max-width: 1099px) {
  .hub-hero .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-hero .route-card { border-left: 0; border-bottom: 1px solid var(--tone-line); padding-inline: 0 20px; }
}
@media (max-width: 640px) {
  .hub-hero .hub-head { grid-template-columns: 1fr; }
  .hub-hero .page-hero__art { order: -1; width: 96px; margin: 0 0 4px -8px; }
  .hub-hero .route-grid { grid-template-columns: 1fr; }
  .hub-hero .route-card { padding-right: 0; }
}
.lead-in { font-size: var(--fs-lead); line-height: 1.6; }
.h2-like { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.04em; }
.meeting { margin-top: clamp(56px, 7vw, 96px); }
.meeting .lead { margin-top: 16px; }
.section--flush { padding-top: 0; }
.section--after-tight { padding-top: clamp(24px, 3vw, 40px); }
.section-head .see-also { margin-top: 12px; color: var(--muted); font-size: var(--fs-small); }
.section-head .see-also a:hover { color: var(--orange); }
.steps-3--loose { gap: 32px clamp(28px, 4vw, 56px); }
.steps-3--loose p { font-size: 1rem; }
.band .steps-3 > article, .band .steps-2 > article { border-top-color: var(--tone-line); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile img { width: 128px; height: 128px; margin: 0 0 6px -6px; object-fit: contain; transition: transform .5s var(--ease-out); }
.tile:hover img { transform: translateY(-5px) rotate(-2deg); }
.acc-group--band .acc, .band .acc { border-color: var(--tone-line); }
.acc-group--band .acc > summary::after, .band .acc > summary::after { border-color: var(--tone-line); }
.acc-section + .acc-section .acc { border-top: 0; }
.acc-section:last-child .acc { border-bottom: 1px solid var(--tone-line); }
.sos-extra { margin-top: 18px; max-width: 44em; }
.sos-all { margin-top: 18px; }
.sos .acc-small, .sos .acc { margin-top: 0; }
.sos .sos-extra + .acc { margin-top: 18px; }
.sos .acc:last-child { border-bottom: 1px solid var(--apricot-400); }
.more--urgent { color: var(--orange); }
.giving-hero .giving-total + .lead { margin-top: 18px; }
.stories { margin-top: 8px; }
.giving-note { max-width: 54rem; margin-top: 40px; }
.giving-note .acc { margin-top: 16px; }
.route-card :is(h2, h3) { margin-top: 12px; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); }
.manifest { padding-block: clamp(72px, 10vw, 136px); background: var(--apricot-100); }
.manifest-inner { display: grid; justify-items: start; gap: 28px; }
.manifest-sign { display: block; width: 92px; color: var(--orange); }
.manifest-sign svg { width: 92px; height: 92px; }
.manifest-line { max-width: 19ch; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.4rem); font-weight: 600; line-height: 1.06; letter-spacing: -.05em; text-wrap: balance; }
.manifest .lead { color: #5d5248; }
/* O projektu: Damien's whole text (15. 11. 2026), his two sentences big and the closing. */
.manifest-line--long { max-width: 21ch; font-size: clamp(2rem, 1.2rem + 3vw, 3.7rem); line-height: 1.08; }
.about-closing-inner { max-width: 44rem; }
.about-closing-inner h2 { margin-bottom: 22px; }
.about-closing-inner p + p { margin-top: 1em; }
.about-closing-lead { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 500; line-height: 1.45; letter-spacing: -.02em; }
.about-sign { margin-top: 28px !important; color: var(--muted); font-size: var(--fs-meta); }
.split > div > h2 + .prose { margin-top: 24px; }
/* A circled number inside a sentence keeps its space from the words around it. */
.prose .hand-circle { margin-inline: .3em; }
.contact-block h2 { margin-bottom: 18px; }
.contact-email { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; text-decoration: none; overflow-wrap: anywhere; }
.contact-email .i { font-size: .7em; color: var(--orange); }
.contact-email:hover { color: var(--orange); }
.prose--article { max-width: 42rem; }
.prose--article > h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -.035em; }
.lorem-article { color: var(--ink); }
.author { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 3em !important; padding-top: 28px; border-top: 1px solid var(--olive-200); }
.author img { width: 88px; height: 88px; object-fit: cover; object-position: 37% 38%; border-radius: 50%; }
.author p { margin-top: 2px; color: var(--muted); font-size: var(--fs-small); }
.author .more { min-height: 36px; padding-block: 4px; font-size: var(--fs-small); }

/* ---------------------------------------------------------------------------
   Nit z úvodní scény
   --------------------------------------------------------------------------- */
/* Skript ji kreslí podle rozvržení stránky; bez skriptu tu není. */
main { position: relative; }
.page-thread { position: absolute; top: 0; left: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.page-thread path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.thread-ink { stroke: var(--olive-900); stroke-width: 1.25; stroke-opacity: .5; }
.thread-light { stroke: var(--on-dark); stroke-width: 1.25; stroke-opacity: .72; }
.thread-tip { fill: var(--orange); transition: fill .3s ease; }
.thread-tip-glow { fill: var(--orange); opacity: .16; transition: fill .3s ease; }
.page-thread.is-dark .thread-tip, .page-thread.is-dark .thread-tip-glow { fill: var(--peach); }
.page-thread.is-idle .thread-tip, .page-thread.is-idle .thread-tip-glow { opacity: 0; }
.thread-tip, .thread-tip-glow { transition: fill .3s ease, opacity .5s ease; }
/* Na podstránkách nit podšívá úvod stránky a pod ilustrací udělá smyčku. */
.page-hero { position: relative; }
.hero-seam { position: absolute; left: 0; top: 0; overflow: hidden; pointer-events: none; }
.hero-seam path { fill: none; stroke: var(--tone-ink); stroke-width: 1.25; stroke-opacity: .5; stroke-linecap: round; stroke-linejoin: round; }
.tone-giving .hero-seam path { stroke: var(--on-dark); stroke-opacity: .55; }

/* „Život je víc než…“ běží napříč stránkou a reaguje na posun. */
.marquee { padding-block: clamp(56px, 7vw, 104px); overflow: hidden; }
.marquee-label { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 2vw, 28px); color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .32em; }
.marquee-label::after { content: ""; flex: 1; height: 1px; background: var(--olive-200); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-row { display: flex; flex: none; align-items: center; }
.marquee-item { display: inline-flex; align-items: baseline; gap: .26em; padding-inline: .32em; white-space: nowrap; font-size: clamp(44px, 7vw, 112px); font-weight: 500; line-height: 1.05; letter-spacing: -.055em; }
.marquee-item em { font-style: normal; color: var(--mq, var(--orange-700)); }
.marquee-sep { display: inline-flex; flex: none; width: clamp(26px, 3.4vw, 52px); color: var(--orange); }
.marquee-sep .brand-pizza-sign { width: 100%; height: auto; }
.marquee-row:nth-child(n + 2) { display: none; }
.motion .marquee-row:nth-child(n + 2) { display: flex; }
/* Bez pohybu se věty jen zalomí pod sebe. */
html:not(.motion) .marquee-track { display: block; width: auto; padding-inline: var(--gutter); }
html:not(.motion) .marquee-row { display: block; text-align: center; font-size: clamp(32px, 5.4vw, 84px); line-height: 1.18; }
html:not(.motion) .marquee-item { display: inline; padding: 0; white-space: normal; font-size: inherit; line-height: inherit; }
html:not(.motion) .marquee-sep { display: inline-block; vertical-align: middle; width: .55em; margin-inline: .3em; }
html:not(.motion) .marquee-row > .marquee-sep:last-child { display: none; }
html:not(.motion) .marquee-row:nth-child(n + 2) { display: none; }

/* Věty z úvodní scény na rozcestníku pomoci: tma, kurzíva a teplé světlo. */
.band--night { --gw: min(900px, 86vw); position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(88px, 12vw, 168px) clamp(56px, 7vw, 96px); background: var(--night); color: #f2f0e7; }
.band--night::before { content: ""; position: absolute; z-index: -1; left: 50%; top: calc(50% - var(--gw) / 2); width: var(--gw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #d6ac5c30 0%, #d0b88812 40%, transparent 64%); transform: translateX(-8%); }
.affirm { display: grid; gap: clamp(28px, 3.4vw, 52px); max-width: 1100px; }
.affirm-line { font-size: clamp(30px, 3.9vw, 64px); font-weight: 400; line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
.affirm-line .q { text-transform: uppercase; }
.affirm-line em { display: block; font-style: normal; color: var(--affirm, #d5d8c7); }
.affirm-line:nth-child(1) { --affirm: #ddc6bd; }
.affirm-line:nth-child(2) { --affirm: #c5d8d3; }
.affirm-note { max-width: 36em; margin-top: clamp(40px, 5vw, 72px); color: #a5a59b; font-size: var(--fs-small); }
.affirm-note a { color: #f2f0e7; text-decoration-color: #ffffff55; }
.affirm-note a:hover { color: var(--peach); }
.band--night :focus-visible { outline-color: var(--peach); }

/* Ilustrace se při najetí zvednou, jako by ožily. */
.route-list img, .route-card img, .topic .art img, .tile img { transition: transform .6s var(--ease-out); }
.route-list a:hover img, .route-card:hover img, .topic:hover .art img, .tile:hover img { transform: translateY(-6px) rotate(-3deg) scale(1.04); }
.page-hero__art::before { content: ""; position: absolute; z-index: -1; inset: 6% 4%; border-radius: 50%; background: radial-gradient(circle, var(--tone-2) 0%, transparent 68%); }
.page-hero__art { position: relative; isolation: isolate; }
.page-hero__art--photo::before { display: none; }
/* Zpět na začátek dlouhé části: kulaté tlačítko vpravo dole. Nitka kolem se plní, jak se
   část čte, stejně jako čára v úvodu, a plátek pizzy ukazuje nahoru. Jméno části se na chvíli
   ukáže, když tlačítko přijde, a pak při najetí myší. */
.back-to-start { position: fixed; z-index: 40; right: clamp(14px, 2.2vw, 28px); bottom: calc(clamp(14px, 2.2vw, 28px) + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%; background: var(--night); color: #f2f0e7; box-shadow: 0 0 0 1px #f2f0e730, 0 10px 24px #0b0c0a33; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.back-to-start.is-shown { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.back-to-start svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.back-to-start circle { fill: none; stroke-linecap: round; }
.back-track { stroke: #f2f0e75c; stroke-width: 1.6; stroke-dasharray: 0 5.529; }
.back-done { stroke: #f2f0e7; stroke-width: 2; }
.back-slice { width: 26px; height: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg transform='rotate(-90 40 40)'%3E%3Cpath d='M16 12 L73 40 L16 68Z' fill='%23f8cc59' stroke='%23b37532' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M16 12 C4 28 4 52 16 68 L21 64 C12 50 12 30 21 16Z' fill='%23d9913f'/%3E%3Ccircle cx='33' cy='33' r='6' fill='%23d34c34'/%3E%3Ccircle cx='38' cy='50' r='5' fill='%23d34c34'/%3E%3Ccircle cx='52' cy='40' r='3.6' fill='%23d34c34'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
.back-label { position: absolute; top: 50%; right: calc(100% + 10px); max-width: min(64vw, 26em); padding: 8px 14px; overflow: hidden; border-radius: 999px; background: var(--night); color: #f2f0e7; box-shadow: 0 0 0 1px #f2f0e730; font-size: .8125rem; font-weight: 500; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(-50%); transition: opacity .2s ease; }
.back-to-start.is-peeking .back-label, .back-to-start:focus-visible .back-label { opacity: 1; }
@media (hover: hover) { .back-to-start:hover .back-label { opacity: 1; } }
/* S pohybem tlačítko vyskočí, plátek zavrtí špičkou, pod myší poskočí a po stisku vyletí. */
.motion .back-to-start { transform: translateY(16px) scale(.6); transition: opacity .25s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1), visibility 0s linear .5s; }
.motion .back-to-start.is-shown { transform: none; transition: opacity .25s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.motion .back-label { transform: translate(8px, -50%); transition: opacity .2s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.motion .back-to-start.is-peeking .back-label, .motion .back-to-start:focus-visible .back-label { transform: translateY(-50%); }
.motion .back-slice { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
@media (hover: hover) {
  .motion .back-to-start:hover .back-label { transform: translateY(-50%); }
  .motion .back-to-start:hover .back-slice { transform: translateY(-3px); }
}
.motion .back-to-start.is-shown .back-slice { animation: back-wiggle 1s ease .2s; }
.motion .back-to-start.is-flying .back-slice { animation: back-fly .8s cubic-bezier(.3, .7, .3, 1); }
@keyframes back-wiggle { 0%, 100% { transform: none; } 25% { transform: rotate(-12deg); } 50% { transform: rotate(9deg); } 75% { transform: rotate(-4deg); } }
@keyframes back-fly { 0% { transform: none; opacity: 1; } 45% { transform: translateY(-34px) scale(.8); opacity: 0; } 46% { transform: translateY(22px) scale(.8); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (max-width: 640px) { .back-to-start { width: 50px; height: 50px; } .back-slice { width: 24px; height: 24px; } }
/* Za tmavým pásem se patička neotevírá jako karta, jen na něj navazuje. */
.motion main:has(> .band--night:last-child) + .site-footer { animation: none; }

@media (max-width: 700px) {
  .visitor-copy, .home-pizza-art, .hero-sun { grid-column: 1; }
  .home-pizza-art, .hero-sun { grid-row: 2; }
  .hero-sun { width: 94%; max-width: 390px; justify-self: end; margin: -4% -16% 0 0; }
  .footer-finale { --fh: 188px; }
  .footer-mark-top { font-size: clamp(40px, 13.4vw, 64px); }
  .footer-mark-sub { font-size: 10px; letter-spacing: .34em; }
  .marquee-label { letter-spacing: .26em; }
}

/* Slunce vyjde s ránem po úvodní scéně, paprsky se pomalu otáčejí. */
@keyframes sun-rise { from { opacity: 0; transform: translate3d(0, 10%, 0) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes sun-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .motion body:is(.intro-awakening, .web-ready) .hero-sun { animation: sun-rise 3.2s var(--ease-out) 1.2s both; }
  .motion .hero-sun .sun-rays { animation: sun-turn 180s linear infinite; }
}

/* ---------------------------------------------------------------------------
   Drobnosti: živé ilustrace a kreslené značky
   --------------------------------------------------------------------------- */
/* Tenké čáry jako nit z úvodní scény. Klidné na stránkách pomoci, hravější jinde.
   Překvapení se spustí po najetí myší nebo klepnutí na obrázek. */
.art { position: relative; }
.art-fx { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; }
/* Tloušťku čar podle velikosti kresby nastaví skript (--sw = jednotek na pixel). */
.has-fx[data-fx-play], .manifest-sign[data-fx-play], .gift[data-fx-play] { pointer-events: auto; }
.fx-steam { fill: none; stroke: var(--fx-steam, var(--tone-line)); stroke-width: calc(var(--sw, .47) * 1.4); stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; }
.home-topics, .home-founder { --fx-steam: var(--olive-300); }
.fx-glow { opacity: .5; transform-box: fill-box; transform-origin: center; mix-blend-mode: screen; }
.fx-mote { fill: #fff6d2; opacity: 0; }
.fx-orbit { fill: none; stroke: var(--tone-ink); stroke-width: calc(var(--sw, .47) * 1.1); stroke-opacity: .55; stroke-dasharray: calc(var(--sw, .47) * 3) calc(var(--sw, .47) * 4); }
.fx-orbit--back { stroke-opacity: .22; }
.fx-plane { fill: #fffdf6; stroke: var(--tone-ink); stroke-width: calc(var(--sw, .47) * 1.3); stroke-linejoin: round; }
.fx-plane--paper { fill: #fffdf6; }
.fx-heart { fill: none; stroke: var(--fx-accent, var(--orange)); stroke-width: calc(var(--sw, .47) * 1.5); stroke-linejoin: round; opacity: 0; transform-box: fill-box; transform-origin: center; }
.fx-spark { fill: none; stroke: var(--fx-accent, var(--orange)); stroke-width: calc(var(--sw, .47) * 1.2); stroke-linejoin: round; opacity: 0; transform-box: fill-box; transform-origin: center; }
.tone-giving .page-hero, .band--dark { --fx-accent: var(--peach); --hand: var(--peach); }
.fx-draw, .fx-play-draw { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.fx-sprout { stroke: #6f9f4f; stroke-width: calc(var(--sw, .47) * 1.7); }
.fx-pencil { stroke: #6f675a; stroke-width: calc(var(--sw, .47) * 1.7); }
.fx-ray { stroke: #dcab45; stroke-width: calc(var(--sw, .47) * 1.6); }
.fx-buzz { stroke: var(--tone-ink); stroke-width: calc(var(--sw, .47) * 1.5); }
.fx-ink { stroke: #3d4a56; stroke-width: calc(var(--sw, .47) * 1.25); }
.fx-hot { stroke: var(--orange); stroke-width: calc(var(--sw, .47) * 1.8); }
.fx-badge { fill: var(--orange); }
.fx-ping { fill: none; stroke: var(--orange); stroke-width: calc(var(--sw, .47) * 1.1); opacity: 0; transform-box: fill-box; transform-origin: center; }
.fx-trail { fill: none; stroke: var(--tone-ink); stroke-width: calc(var(--sw, .47) * 1.1); stroke-opacity: .45; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.fx-flyer { opacity: 0; transition: opacity .3s ease; }
html:not(.motion) :is(.fx-idle, .fx-burst, .fx-pop, .fx-play-draw, .fx-flyer, .fx-trail), html:not(.motion) .gift .fx-heart { display: none; }
html:not(.motion) .fx-draw { stroke-dashoffset: 0; }

/* Kreslené kroužky, podtržení, šipky a uvozovky. */
.hand-circle, .hand-underline { position: relative; display: inline-block; }
.hand-mark { max-width: none; overflow: visible; pointer-events: none; }
.hand-mark path { fill: none; stroke: var(--hand, var(--orange)); stroke-width: calc(var(--sw, 1) * 1.9); stroke-linecap: round; stroke-linejoin: round; }
.hand-circle > .hand-mark { position: absolute; left: -16%; top: -24%; width: 132%; height: 150%; }
.hand-underline > .hand-mark { position: absolute; left: -2%; bottom: -.34em; width: 104%; height: .5em; }
.hand-arrow { position: absolute; width: 84px; height: auto; }
.hand-quote { display: block; width: 46px; height: auto; margin: 0 0 6px -6px; }
.prose blockquote .hand-quote path { stroke: var(--orange); stroke-width: calc(var(--sw, 1) * 1.6); }
.booking-actions { position: relative; }
/* E-mail na besedu velký, ať jde přečíst i opsat, a vedle tlačítko na zkopírování. */
.booking-email { margin-top: 22px; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.1rem); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; overflow-wrap: anywhere; }
.booking-email a { text-decoration-thickness: 2px; text-underline-offset: .16em; text-decoration-color: var(--sun-300); }
.booking-email a:hover { color: var(--orange); text-decoration-color: currentColor; }
.booking-email + .booking-actions { margin-top: 20px; }
.copy-email.is-done { color: var(--mint-700); border-color: var(--mint-700); }
html:not(.js) .copy-email { display: none; }
.hand-arrow--booking { left: 196px; top: -58px; width: 78px; transform: scaleX(-1) rotate(-12deg); }
.page-hero__art--photo { position: relative; }
.hand-arrow--photo { left: -108px; top: 20%; width: 96px; transform: rotate(-8deg); }
.post-more { position: relative; }
.hand-arrow--post { left: calc(100% + 16px); top: -16px; width: 70px; transform: scaleX(-1) rotate(-6deg); }
.giving-total .hand-circle > .hand-mark { left: -10%; top: -14%; width: 120%; height: 128%; }
.santa-head { display: grid; justify-items: start; align-content: start; gap: 20px; }
.gift { display: inline-block; width: 66px; }
.gift-svg { display: block; width: 100%; height: auto; }
.gift-svg path { stroke: var(--rose-700); }
.gift-lid { transform-box: fill-box; transform-origin: 0% 100%; transition: transform .6s var(--ease-out); }
.gift .fx-heart { stroke: var(--orange); }
.manifest-sign { position: relative; }
.slice-steam { position: absolute; left: 4%; top: -62%; width: 92%; height: 92%; }
.footer-flower { transition: filter .8s ease; }
.footer-flower:hover { filter: drop-shadow(0 0 12px #f0cf8a66); }
@media (max-width: 820px) {
  .hand-arrow--photo, .hand-arrow--post { display: none; }
  .hand-arrow--booking { left: auto; right: 4px; top: -52px; width: 64px; }
}

@keyframes fx-steam { 0% { stroke-dashoffset: 1; opacity: 0; transform: translateY(2px); } 20% { opacity: .95; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; transform: translateY(-6px); } }
@keyframes fx-breathe { from { opacity: .28; transform: scale(.94); } to { opacity: .78; transform: scale(1.06); } }
@keyframes fx-mote { 0% { opacity: 0; transform: translate(0, 0); } 30% { opacity: .95; } 70% { opacity: .6; } 100% { opacity: 0; transform: translate(2px, -14px); } }
@keyframes fx-rise { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 12% { opacity: 1; } 45% { opacity: .9; transform: translate(-3px, -18px) scale(1); } 60%, 100% { opacity: 0; transform: translate(2px, -30px) scale(.9); } }
@keyframes fx-twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 50% { opacity: .9; transform: scale(1) rotate(45deg); } }
@keyframes fx-ping { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3); } }
@keyframes fx-burst { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(-8px, -34px) scale(1.1); } }
@keyframes fx-burst-right { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(10px, -32px) scale(1.1); } }
@keyframes fx-pop { 0% { opacity: 0; transform: scale(.2) rotate(0deg); } 40% { opacity: 1; transform: scale(1.2) rotate(30deg); } 100% { opacity: 0; transform: scale(.6) rotate(60deg); } }
@keyframes fx-play-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 45%, 80% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fx-trail { 0% { stroke-dashoffset: 1; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: .8; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fx-rumble { 0%, 100% { transform: none; } 20% { transform: translate(-2px, 1px) rotate(-1.2deg); } 40% { transform: translate(2px, -1px) rotate(1.2deg); } 60% { transform: translate(-1px, 1px) rotate(-.8deg); } 80% { transform: translate(1px, 0) rotate(.6deg); } }
@media (prefers-reduced-motion: no-preference) {
  .motion .fx-steam { animation: fx-steam 4.6s var(--ease-out) var(--d, 0s) infinite; }
  .motion .art-fx--calm .fx-steam { animation-duration: 6.4s; }
  .motion .fx-glow { animation: fx-breathe 6s ease-in-out infinite alternate; }
  .motion .fx-mote { animation: fx-mote 8s ease-in-out var(--d, 0s) infinite; }
  .motion .fx-rise { animation: fx-rise 6.5s var(--ease-out) var(--d, 0s) infinite; }
  .motion .fx-twinkle { animation: fx-twinkle 3.8s ease-in-out var(--d, 0s) infinite; }
  .motion .fx-ping { animation: fx-ping 3.2s ease-out var(--d, 0s) infinite; }
  .motion .art-fx.fx-off * { animation-play-state: paused !important; }
  .motion .is-drawn .fx-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s var(--ease-out) calc(.7s + var(--d, 0s)); }
  .motion .is-playing .fx-burst { animation: fx-burst 1.4s var(--ease-out) var(--d, 0s) both; }
  .motion .is-playing .fx-burst--right { animation-name: fx-burst-right; }
  .motion .is-playing .fx-pop { animation: fx-pop 1.1s var(--ease-out) var(--d, 0s) both; }
  .motion .is-playing .fx-play-draw { animation: fx-play-draw var(--play, 1.6s) var(--ease-out) var(--d, 0s) both; }
  .motion .is-playing .fx-flyer { opacity: 1; }
  .motion .is-playing .fx-trail { animation: fx-trail 2.6s var(--ease-out) both; }
  .motion .fx-rumble.is-playing > img { animation: fx-rumble .45s ease-in-out 2; }
  .motion .gift.is-playing .gift-lid { transform: translate(-2px, -9px) rotate(-14deg); }
  .motion .gift.is-playing .fx-heart { animation: fx-burst 1.5s var(--ease-out) .15s both; }
  .motion .hand-mark path { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-out) var(--hand-delay, .15s); }
  .motion .hand-mark path + path { transition-delay: calc(var(--hand-delay, .15s) + .45s); }
  .motion .hand-mark.is-drawn path { stroke-dashoffset: 0; }
  .motion .page-hero .hand-mark { --hand-delay: 1.1s; }
}
.shot-mode .hand-mark path, .shot-mode .fx-draw { stroke-dashoffset: 0 !important; transition: none !important; }

/* ---------------------------------------------------------------------------
   Data: jak se to zhoršuje
   --------------------------------------------------------------------------- */
/* Noc z úvodní scény a červená: čísla bez přikrášlování, u nich vždy cesta k pomoci. */
.alarm { --alarm-line: #ffffff1f; position: relative; isolation: isolate; padding-block: clamp(72px, 9vw, 128px); background: var(--night); color: var(--on-dark); }
.alarm + .alarm { padding-top: clamp(16px, 3vw, 40px); }
.alarm :focus-visible { outline-color: var(--alarm-soft); }
.alarm-head { display: grid; gap: 18px; max-width: 54rem; margin-bottom: clamp(36px, 4vw, 56px); }
.alarm .kicker { margin: 0; color: var(--alarm-soft); }
.alarm h2 { max-width: 22ch; color: #fffaf2; }
.alarm .lead { max-width: 46rem; color: var(--on-dark-muted); }
.alarm a:not(.btn) { color: #fffaf2; text-decoration-color: #ffffff59; }
.alarm a:not(.btn):hover { color: var(--alarm-soft); }
.alarm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); border-top: 1px solid var(--alarm-line); }
.alarm-stat { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--alarm-line); }
.alarm-stat strong { display: block; color: var(--alarm); font-size: clamp(3rem, 2rem + 3.8vw, 5.4rem); font-weight: 600; line-height: .95; letter-spacing: -.055em; font-variant-numeric: lining-nums; }
.alarm-stat strong small { margin-left: .08em; font-size: .34em; font-weight: 500; letter-spacing: -.02em; }
.alarm-stat p { max-width: 30em; margin-top: 14px; color: var(--on-dark-muted); font-size: var(--fs-small); line-height: 1.55; }
.alarm-stat p b { color: #fffaf2; font-weight: 600; }
/* Nad číslem: kde, kdo, rok a co se měřilo, aby byl rozdíl screening/diagnóza nebo
   rozhovory/lidé vidět hned (posudek 15. 11. 2026). */
.alarm-stat p.alarm-stat-meta { max-width: none; margin: 0 0 12px; color: var(--on-dark-muted); font-size: var(--fs-meta); font-weight: 600; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; }
.alarm-meta { color: var(--on-dark-muted); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 5vw, 64px) clamp(32px, 5vw, 72px); margin-top: clamp(48px, 6vw, 80px); }
.chart { min-width: 0; margin: 0; }
.chart-title { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; color: #fffaf2; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.chart-title > span:first-child { flex: 1 1 12em; max-width: 34em; }
/* "Kolikrát víc": the growth from the first to the last year, set like the Bodoni word in the intro. */
.chart-growth { display: grid; flex: 0 1 auto; max-width: 100%; margin-left: auto; justify-items: end; color: var(--alarm); line-height: .86; text-align: right; }
.chart-growth b { font-size: clamp(2.3rem, 1.7rem + 1.9vw, 3.3rem); font-weight: 600; letter-spacing: -.05em; }
.chart-growth small { margin-top: 8px; color: var(--on-dark-muted); font-size: .75rem; font-weight: 500; letter-spacing: .04em; }
.chart-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -4px 0 14px; color: var(--on-dark-muted); font-size: var(--fs-meta); }
.chart-key { display: inline-block; width: 18px; height: 2px; background: var(--alarm); }
.chart-key--compare { margin-left: 10px; background: repeating-linear-gradient(90deg, var(--on-dark-muted) 0 4px, transparent 4px 8px); }
.chart-key--soft { margin-left: 10px; background: repeating-linear-gradient(90deg, var(--alarm-soft) 0 7px, transparent 7px 11px); }
.chart-plot { position: relative; height: clamp(170px, 19vw, 230px); margin: 30px 0 0; border-bottom: 1px solid #ffffff42; }
.chart-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; }
.chart-line { fill: none; stroke: var(--alarm); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart-line--compare { stroke: var(--on-dark-muted); stroke-width: 1.6; stroke-dasharray: 4 5; }
.chart-line--soft { stroke: var(--alarm-soft); stroke-width: 1.8; stroke-dasharray: 7 5; }
.chart-area { stroke: none; }
.chart-grid { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed #ffffff1f; }
.chart-band { position: absolute; top: 0; bottom: 0; border-inline: 1px dashed #ffffff2e; background: #ffffff0b; }
.chart-band span { position: absolute; top: 8px; left: 8px; color: var(--alarm-soft); font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.chart-band--low span { top: auto; bottom: 8px; }
.chart-point { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
/* The dot is drawn underneath, so the number next to it sits on the dark plot itself. */
.chart-point::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--alarm); box-shadow: 0 0 0 4px #e8503f38; }
.chart-point b { position: absolute; bottom: 14px; left: 50%; color: #fffaf2; font-size: .875rem; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
.chart-point--first::before { background: var(--on-dark-muted); box-shadow: none; }
.chart-point--first b { left: 0; color: var(--on-dark-muted); font-weight: 500; transform: none; }
.chart-point--last b { right: -4px; left: auto; color: var(--alarm); font-size: 1.25rem; transform: none; }
.chart-point--soft::before { background: var(--alarm-soft); box-shadow: none; }
.chart-point--soft b { color: var(--alarm-soft); font-size: 1rem; }
.chart-point--below b { top: 12px; bottom: auto; }
.chart-years { position: relative; height: 1.8em; color: var(--on-dark-muted); font-size: .75rem; }
.chart-years span { position: absolute; top: 7px; white-space: nowrap; transform: translateX(-50%); }
.chart-years span:first-child { transform: none; }
.chart-years span:last-child { transform: translateX(-100%); }
/* Osa Y: nula, polovina a vršek grafu kulatými čísly vlevo od plochy. Neviditelné nejširší
   číslo dává sloupci šířku, roky pod grafem zůstávají pod plochou. */
.chart-body { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; }
.chart-body > .chart-years { grid-column: 2; }
.chart-axis { position: relative; margin-top: 30px; color: #8e968b; font-size: .6875rem; font-variant-numeric: tabular-nums; line-height: 1; text-align: right; white-space: nowrap; }
.chart-axis > span { position: absolute; right: 0; transform: translateY(-50%); }
.chart-axis > .chart-axis-size { position: static; display: block; height: 0; overflow: hidden; visibility: hidden; transform: none; }
.chart-note { max-width: 40em; margin-top: 8px; color: var(--on-dark-muted); font-size: var(--fs-meta); line-height: 1.55; }
.bars { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) 4.8rem; align-items: center; gap: 14px; }
.bar-label { color: var(--on-dark-muted); font-size: var(--fs-small); line-height: 1.35; }
.bar-track { height: 14px; background: #ffffff12; }
.bar-fill { display: block; height: 100%; background: #ffffff59; }
.bar--alarm .bar-fill { background: var(--alarm); }
.bar-value { color: #fffaf2; font-size: 1rem; text-align: right; white-space: nowrap; }
.bar--alarm .bar-value { color: var(--alarm); }
.ref { font-size: .62em; line-height: 0; vertical-align: super; }
.ref a { padding: 0 1px; color: #b2392b; font-weight: 600; text-decoration: none; }
.alarm .ref a { color: var(--alarm-soft); }
.ref a:hover { text-decoration: underline; }
.alarm-why { max-width: 46rem; }
.alarm-quote { margin-block: clamp(40px, 5vw, 64px) 0; padding-left: 22px; border-left: 2px solid var(--alarm); color: #fffaf2; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 500; line-height: 1.25; letter-spacing: -.03em; }
/* Hned u čísel: kam se obrátit. */
/* Z čísel o mužích a ženách vede odkaz rovnou na jejich stránku pomoci. */
.alarm-link { margin-top: clamp(40px, 5vw, 64px); }
.alarm-help { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 40px; margin-top: clamp(48px, 6vw, 80px); padding: clamp(22px, 3vw, 32px); border: 1px solid #f2c3a75c; background: #f2c3a712; }
.alarm-help h3 { color: #fffaf2; font-size: 1.25rem; }
.alarm-help p { margin-top: 6px; color: var(--on-dark-muted); font-size: var(--fs-small); }
.alarm-help .actions { margin: 0; justify-content: flex-end; }
.alarm-help .btn--light:hover { background: var(--peach); }
.alarm-help .alarm-help-links { margin-top: 12px; }
.alarm-help .alarm-help-links a { color: #fffaf2; text-decoration: underline; text-decoration-color: #f2c3a78c; text-underline-offset: .25em; }
.alarm-help .alarm-help-links a:hover { color: var(--peach); }
/* Život na sítích: na první pohled poznáš Damienův pohled, data a výzkum a praktickou pomoc
   (posudek 15. 11. 2026). */
.voice-tag { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 4px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: var(--fs-meta); font-weight: 700; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
.voice-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.voice-tag--own { color: var(--orange); text-transform: none; }
.alarm .voice-tag--data { color: var(--peach); }
.voice-tag--data { color: var(--olive-700); }
.voice-tag--help { color: var(--mint-700); }
.alarm .voice-tag--help { color: #a9dcc0; }
.prose .voice-tag { margin-bottom: 18px; }
.alarm-help .voice-tag { margin-bottom: 10px; }
.alarm-help--light { grid-template-columns: 1fr; margin-top: 40px; border-color: var(--olive-200); background: var(--white); }
.alarm-help--light p { color: var(--muted); }
.alarm-help--light .alarm-help-links a { color: var(--ink); text-decoration-color: var(--olive-300); }
.alarm-help--light .alarm-help-links a:hover { color: var(--olive-900); }
/* Na konci každé kapitoly další kapitola velkým tlačítkem a všechny kapitoly jako štítky, aby
   bylo hned vidět, že je čím listovat (přání majitele 16. 11. 2026). */
.chapter-next { display: grid; justify-items: start; gap: 16px; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--olive-200); }
.alarm .chapter-next { border-top-color: var(--alarm-line); }
.chapter-next-count { margin: 0; color: var(--muted); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.alarm .chapter-next-count { color: var(--alarm-soft); }
.chapter-next-main { max-width: 100%; min-height: 60px; padding: 14px 24px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); text-align: left; }
.chapter-next-main strong { font-weight: 800; }
.chapter-next-all { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chapter-next-all a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--olive-300); border-radius: 999px; color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background-color .2s ease; }
.chapter-next-all a:hover { background: var(--olive-100); }
.chapter-next-all a[aria-current="true"] { border-color: var(--night); background: var(--night); color: var(--on-dark); }
.alarm .chapter-next-all a { border-color: #ffffff4d; color: #fffaf2; }
.alarm .chapter-next-all a:hover { background: #ffffff1a; color: #fffaf2; }
.alarm .chapter-next-all a[aria-current="true"] { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.alarm-sources { padding-block: clamp(56px, 7vw, 96px); }
.alarm-sources h2 { font-size: var(--fs-h3); }
.alarm-sources .note { max-width: 46rem; margin-top: 10px; }
.sources-list { display: grid; gap: 10px; max-width: 60rem; margin: 24px 0 0; padding-left: 1.6em; color: var(--muted); font-size: var(--fs-meta); line-height: 1.55; }
.sources-list li { padding-left: .3em; }
.sources-list li:is(:target, .is-target) { color: var(--ink); background: var(--sun-100); outline: 6px solid var(--sun-100); }
.sources-acc { margin-top: 22px; max-width: 64rem; }
.sources-acc .sources-list { margin-top: 4px; }
.sources-list a { overflow-wrap: anywhere; }
.about-numbers .alarm-head { margin-bottom: 28px; }
.about-numbers-more { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; }
@media (max-width: 700px) {
  .alarm-help { grid-template-columns: 1fr; }
  .alarm-help .actions { justify-content: flex-start; }
  .bar { grid-template-columns: minmax(0, 1fr) 4.6rem; }
  .bar-label { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .motion .chart.reveal .chart-plot svg { clip-path: inset(-10% 100% -10% 0); transition: clip-path 1.8s var(--ease-out) .25s; }
  .motion .chart.reveal.is-in .chart-plot svg { clip-path: inset(-10% -4% -10% 0); }
  .motion .chart.reveal .chart-point { opacity: 0; transition: opacity .5s ease 1.7s; }
  .motion .chart.reveal.is-in .chart-point { opacity: 1; }
  .motion .chart.reveal .bar-fill { transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease-out) .25s; }
  .motion .chart.reveal.is-in .bar-fill { transform: none; }
}
.shot-mode .chart-plot svg { clip-path: none !important; }
.shot-mode .chart-point { opacity: 1 !important; }
.shot-mode .bar-fill { transform: none !important; }

/* ---------------------------------------------------------------------------
   Přechody mezi kapitolami
   --------------------------------------------------------------------------- */
/* Bloky a nadpisy se při posunu jemně vynoří. Bez JavaScriptu i s omezeným
   pohybem je vše vidět hned. */
.motion .reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion [data-words]:not(.is-split) { opacity: 0; animation: words-fallback 0s linear 2.5s forwards; }
.motion [data-words] .w { display: inline-block; opacity: 0; transform: translate3d(0, .42em, 0); filter: blur(5px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out), filter .7s var(--ease-out); transition-delay: calc(var(--w, 0) * 65ms + var(--reveal-delay, 0s)); }
.motion [data-words].is-in .w { opacity: 1; transform: none; filter: none; }
@keyframes words-fallback { to { opacity: 1; } }

/* Barevné kapitoly se při příchodu otevřou z karty do celé šířky. */
@keyframes chapter-open { from { clip-path: inset(0 5% round 32px); } to { clip-path: inset(0 0 round 0); } }
/* Na telefonech a tabletech lehčí efekty, ať se stránka posouvá plynule: pásy se neotvírají
   ořezem a slova nadpisů se nerozostřují, jen vyjedou. */
@media (max-width: 820px), (pointer: coarse) {
  .motion main .band, .motion main .band--dark, .motion main .band--night, .motion .site-footer { animation: none !important; }
  .motion [data-words] .w { filter: none; transition-property: opacity, transform; }
}
/* Úvod na dotykovém displeji: slova odpovědí naskakují bez rozostření, rozostřit každé slovo
   zvlášť telefon nestíhá. Jinak je úvod stejný. */
@media (pointer: coarse) {
  .life-intro [data-reveal-word] { filter: none !important; }
}
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes art-in { from { opacity: 0; transform: translate3d(0, 18px, 0) rotate(-2deg) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .page-hero__art img { animation: art-in 1.1s var(--ease-out) .15s both; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .motion main .band, .motion main .band--dark, .motion main .band--night, .motion .site-footer {
      animation: chapter-open linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    .motion .sos::before {
      animation: bar-grow linear both;
      animation-timeline: view();
      animation-range: entry 20% entry 80%;
    }
  }
}
.shot-mode .reveal, .shot-mode [data-words], .shot-mode [data-words] .w { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; animation: none !important; }
.shot-mode main .band, .shot-mode main .band--night, .shot-mode .site-footer, .shot-mode .hero-sun, .shot-mode .hero-sun .sun-rays, .shot-mode .page-hero__art img, .shot-mode .sos::before { animation: none !important; }

/* Plynulý přechod mezi podstránkami (v prohlížečích, které to umí). */
.masthead { view-transition-name: masthead; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } }

/* ---------------------------------------------------------------------------
   Menší obrazovky
   --------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  /* Menší obrazovky: jedna řada s logem vlevo, pomocí, telefonem a menu. */
  :root { --masthead-top: 0px; }
  .masthead-top { display: none; }
  .masthead-bar { border-top: 0; }
  .masthead.is-scrolled .masthead-bar { border-bottom-color: var(--olive-200); }
  .masthead-row { display: flex; align-items: center; gap: 16px; min-height: 80px; padding-block: 12px; }
  .wordmark--mini { visibility: visible; opacity: 1; transform: none; font-size: 32px; transition: none; }
  .wordmark--mini .brand-tagline { display: block; font-size: 8px; margin-top: 5px; }
  .nav-rows, .header-actions .help-now { display: none; }
  .header-actions { margin-left: auto; gap: 10px; }
  .header-help { display: inline-flex; }
  .sos-button { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--apricot-300); background: var(--apricot-100); color: var(--orange); }
  .sos-button .i { font-size: 1.2rem; }
  .motion .sos-button { position: relative; }
  .motion .sos-button::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--orange); opacity: 0; pointer-events: none; animation: sos-ring 3.6s ease-out infinite; }
  /* Na dotykových displejích by po ťuknutí zůstal tlačítku stav najetí myší, jako by bylo pořád stisknuté. */
  @media (hover: hover) { .sos-button:hover { background: var(--orange); color: var(--white); border-color: var(--orange); } }
  .js .menu-button { position: relative; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--olive-300); background: transparent; color: var(--ink); }
  .menu-button span { grid-area: 1 / 1; width: 20px; height: 1.6px; background: currentColor; transition: transform .2s ease; }
  .menu-button span:first-child { transform: translateY(-4px); }
  .menu-button span:last-child { transform: translateY(4px); }
  .menu-open .menu-button span:first-child { transform: rotate(45deg); }
  .menu-open .menu-button span:last-child { transform: rotate(-45deg); }
  .js .mobile-menu { position: fixed; inset: var(--header-height) 0 0; z-index: 49; display: block; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .js .menu-open .mobile-menu { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  /* Bez JavaScriptu není menu za tlačítkem: obě řady odkazů jsou pod logem. */
  html:not(.js) .masthead-row { flex-wrap: wrap; }
  html:not(.js) .nav-rows { display: grid; order: 3; flex-basis: 100%; justify-items: start; gap: 2px; padding-block: 0; }
  html:not(.js) .help-nav, html:not(.js) .main-nav { flex-wrap: wrap; gap: 4px 18px; }
  html:not(.js) .nav-dot { display: none; }
  .mobile-menu-inner { display: grid; gap: 34px; padding-block: calc(var(--quick-exit-space, 58px) + 12px) 48px; }
  .mobile-help { padding: 18px 20px 6px; background: var(--mint-100); border-top: 3px solid var(--mint-700); }
  .mobile-help h2 { margin-bottom: 4px; color: var(--mint-700); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
  .mobile-help a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding-block: 10px; border-bottom: 1px solid var(--mint-200); font-size: 1.3rem; font-weight: 600; letter-spacing: -.025em; text-decoration: none; }
  .mobile-help a:last-child { border-bottom: 0; }
  .mobile-help a.mobile-contacts > span { display: inline-flex; align-items: center; gap: 12px; }
  .mobile-help a.mobile-contacts .i-phone { color: var(--orange); font-size: .85em; }
  .mobile-help a .i { color: var(--mint-700); font-size: 1rem; }
  .mobile-help a[aria-current="page"] { color: var(--mint-700); }
  .mobile-primary { border-top: 1px solid var(--olive-200); }
  .mobile-primary a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 12px; border-bottom: 1px solid var(--olive-200); font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; text-decoration: none; }
  .mobile-primary a .i { color: var(--olive-400); font-size: 1rem; }
  .mobile-primary a[aria-current="page"] { color: var(--orange); }
  .mobile-group h2 { margin-bottom: 8px; color: var(--muted); font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0; }
  .mobile-group .links { gap: 0 24px; }
  .mobile-group .links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.0625rem; font-weight: 500; text-decoration: none; }
  .mobile-group .links a[aria-current="page"] { color: var(--orange); }
  .mobile-sos { padding: 20px 20px 18px; background: var(--apricot-100); border-top: 3px solid var(--orange); }
  .mobile-sos h2 { margin-bottom: 4px; color: var(--ink); font-size: 1.125rem; letter-spacing: -.02em; }
  .mobile-sos p { color: #5d5248; font-size: var(--fs-small); }
  .mobile-sos .sos-numbers { margin-block: 14px 4px; }
  .mobile-sos .sos-numbers a { padding: 12px 14px; }
  .mobile-sos .sos-numbers a:first-child { padding-left: 0; }
  .mobile-sos .sos-numbers strong { font-size: 2rem; }
  .mobile-sos .sos-numbers a > span { font-size: .8125rem; }
  .mobile-social { display: flex; flex-wrap: wrap; gap: 4px 28px; }
  body.menu-locked { overflow: hidden; }
}
@media (max-width: 1000px) {
  .visitor-hero h1 { font-size: 69px; }
  .route-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-list a:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .route-list a:nth-child(n + 3) { border-top: 1px solid var(--tone-line); }
  .route-list a { min-height: 170px; }
  .topic-list { gap: 24px; }
  .topic h3 { font-size: 1.3rem; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-identity { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .reading { grid-template-columns: minmax(0, 1fr); }
  .reading-aside { display: none; }
}
@media (max-width: 820px) {
  :root { --header-height: 69px; }
  .masthead-row { min-height: 68px; padding-block: 10px; }
  .wordmark--mini { font-size: 28px; }
  .wordmark--mini .brand-tagline { font-size: 7px; margin-top: 4px; }
  .header-help { min-height: 44px; padding: 8px 14px; font-size: .8125rem; gap: 10px; }
  .split, .split--even, .home-schools .split, .home-giving .split, .home-community .split { grid-template-columns: 1fr; }
  .home-founder .portrait { order: -1; max-width: 460px; }
  .home-giving .art { display: none; }
  .home-community .art { max-width: 180px; justify-self: start; }
  .topic-list { grid-template-columns: 1fr; gap: 0; }
  .topic { display: grid; grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "label art" "title art" "text text" "more more"; column-gap: 20px; padding-block: 22px 18px; }
  .topic .art { grid-area: art; width: 96px; margin: 0; align-self: start; }
  .topic .label { grid-area: label; }
  .topic h3 { grid-area: title; }
  .topic p { grid-area: text; }
  .topic .more { grid-area: more; }
  .page-hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .page-hero__art { order: -1; justify-self: start; width: 132px; margin: 0 0 10px -8px; }
  .page-hero__art img { max-height: 132px; }
  .page-hero__art--photo { display: block; order: 0; justify-self: start; width: 100%; max-width: 240px; margin: 28px 0 0; }
  .page-hero__art--photo img { max-height: none; }
  .page-hero__art--photo img { aspect-ratio: 1; }
  .tiles, .tiles--3, .route-grid, .rows--2 { grid-template-columns: 1fr; }
  .manifest-sign, .manifest-sign svg { width: 48px; height: 48px; }
  .author { grid-template-columns: 64px minmax(0, 1fr); }
  .author img { width: 64px; height: 64px; }
  .route-card { display: flex; flex-direction: column; min-height: 0; padding: 26px 0 28px; }
  .route-card img { order: -1; align-self: flex-start; width: 104px; margin: 0 0 10px -6px; }
  .route-card .more { align-self: flex-start; }
  .route-card:hover { background: transparent; }
  .steps-3, .steps-2 { grid-template-columns: 1fr; gap: 0; }
  .steps-3 > article, .steps-2 > article { padding-block: 18px; }
  .booking { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; gap: 20px; }
  .story-media, .story-media--portrait { max-width: 100%; }
  .story-media--portrait a { aspect-ratio: 4 / 3; }
  .post { grid-template-columns: 1fr auto; }
  .post time, .post .label { grid-column: 1 / -1; }
  .post--featured { grid-template-columns: 1fr; }
  .upcoming { grid-template-columns: 1fr; }
  .source-list { grid-template-columns: 1fr; }
  .route-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-switch a:nth-child(2n + 1) { border-left: 0; }
  .route-switch a:nth-child(n + 3) { border-top: 1px solid var(--olive-200); }
  .route-switch a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  :root { --fs-body: 1rem; }
}
@media (max-width: 700px) {
  .visitor-layout { grid-template-columns: 1fr; min-height: 0; padding-block: 40px 24px; gap: 0; }
  .visitor-hero h1 { font-size: clamp(55px, 13vw, 80px); }
  .visitor-intro { max-width: 42ch; margin-top: 23px; font-size: 16px; }
  .visitor-actions { gap: 10px 18px; }
  .visitor-actions .btn { min-height: 48px; padding-inline: 20px; font-size: .8125rem; }
  .visitor-actions .more { font-size: .75rem; }
  .home-pizza-art { width: 81%; max-width: 340px; margin: 7px -8px 0 0; justify-self: end; }
  .scroll-cue { left: 14px; right: auto; bottom: 22px; }
  .route-list { grid-template-columns: 1fr; }
  .route-list a, .route-list a + a, .route-list a:nth-child(n) { display: grid; grid-template-columns: 72px minmax(0, 1fr) 20px; grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; align-items: center; min-height: 0; padding: 16px 0; border-left: 0; border-top: 0; border-bottom: 1px solid var(--tone-line); }
  .route-list img { grid-row: 1 / 3; width: 72px; height: 72px; margin: 0; }
  .route-list strong { grid-column: 2; align-self: end; max-width: none; }
  .route-list span:not(.i) { grid-column: 2; align-self: start; }
  .route-list .i { grid-column: 3; grid-row: 1 / 3; margin: 0; }
  .stats > div { padding-right: 20px; }
  .stats > div + div { padding-left: 20px; }
  .service-ref { grid-template-columns: 1fr; }
  .service-ref .calls { justify-content: flex-start; }
  .sos-numbers { grid-template-columns: 1fr; border-bottom: 0; }
  .sos-numbers a, .sos-numbers a:first-child { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--apricot-400); }
  .sos-numbers a + a { border-left: 0; }
  .sos-numbers a.sos-first, .sos-numbers a.sos-first:first-child { padding-inline: 14px; }
  .mobile-sos .sos-numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--apricot-400); }
  .mobile-sos .sos-numbers a, .mobile-sos .sos-numbers a:first-child { display: flex; padding: 12px 10px 12px 0; border-bottom: 0; }
  .mobile-sos .sos-numbers a + a { padding-left: 12px; border-left: 1px solid var(--apricot-400); }
  .mobile-sos .sos-numbers a.sos-first:first-child { padding-left: 10px; }
  .contact dl > div, .booking dl > div { grid-template-columns: 1fr; gap: 2px; }
  .call { min-height: 50px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer-identity, .footer-nav:last-child { grid-column: 1 / -1; }
  .next-fundraiser { grid-template-columns: 1fr; }
  .next-fundraiser .tag { grid-row: auto; justify-self: start; }
  .privacy-card { right: 12px; left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; }
  .privacy-dialog { padding: 20px 20px 22px; }
  .privacy-dialog-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .privacy-dialog-actions .privacy-button { min-width: 0; }
  .sheet-body { padding: 4px 20px 22px; }
  .sheet-head { gap: 8px; padding: 14px 10px 0 20px; }
  .photo-dialog-top, .privacy-dialog-heading { gap: 8px; }
  .photo-dialog { width: calc(100vw - 16px); padding: 12px; }
}
@media (max-width: 440px) {
  .header-help .label-long { display: none; }
  .header-help .label-short { display: inline; }
  .header-help { padding-inline: 14px; }
  .header-actions { gap: 8px; }
}
@media (max-width: 380px) {
  .wordmark--mini { font-size: 24px; }
  .header-help .i { display: none; }
  .visitor-hero h1 { font-size: 53px; }
  .stats strong { font-size: 2.6rem; }
}
@media (max-width: 340px) {
  .header-help { display: none; }
}
@keyframes home-pizza-settle { from { transform: translateY(8px) rotate(-.6deg); } to { transform: none; } }
@keyframes home-scroll-invitation { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: no-preference) {
  body.web-ready:not(.intro-awakening) .home-pizza-art > svg { animation: home-pizza-settle .9s cubic-bezier(.2, .7, .25, 1) both; }
  body.web-ready:not(.intro-awakening) .scroll-cue { animation: home-scroll-invitation 1.7s ease-in-out .5s 2; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; }
  .help-nav > a::after, .main-nav > a::after, .menu-button span, .more .i, .route-list .i, .post .i, .story-media img, .mobile-menu { transition: none !important; }
}
@media print {
  .reveal, [data-words], [data-words] .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .masthead, .site-footer, .privacy-card, .back-to-start, .quick-exit, .mobile-menu, .scroll-cue, .year-bar, .chapter-tabs, .reading-aside, .page-thread, .hero-seam, .hero-sun, .marquee { display: none !important; }
  body { background: #fff; }
  .acc-body, details > * { display: block !important; }
  .chapter-panel[hidden] { display: block !important; }
}
