/* ==========================================================================
   Kelímky pomáhají — vzhled „svařák“
   Teplá tmavá vínová + zlatá, krémová světlá sekce. Vše zaoblené, centrované,
   sklo v úvodu, střídání barevných pásů (tmavý · střední · krémový).
   Paleta se přepíná JEN tady v :root — ostatní odstíny se z ní odvozují.
   Písma: Wix Madefor Display (nadpisy) + Wix Madefor Text (text), OFL, lokálně.
   ========================================================================== */

@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/wix-display-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/wix-display-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/wix-text-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/wix-text-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* ---- PALETA (jediné místo, kde se mění barvy) ---- */
  --wine-900: #2a0a14;   /* nejtmavší: patička */
  --wine-800: #3d0f1d;   /* hlavní tmavé pozadí */
  --wine-600: #5e1a2c;   /* střední pásy */
  --gold: #f5b83d;       /* akcent, čísla, tlačítka */
  --cream: #f8f1e7;      /* světlá sekce */
  --white: #fcfcfc;      /* text na tmavém, karty na krému */

  /* ---- odvozené ---- */
  --wine-700: color-mix(in srgb, var(--wine-800) 55%, var(--wine-600));
  --gold-hi: color-mix(in srgb, var(--gold) 78%, var(--white));
  --gold-dim: color-mix(in srgb, var(--gold) 66%, var(--wine-800));
  --on-dark: var(--white);
  --on-dark-2: color-mix(in srgb, var(--white) 80%, transparent);
  --on-dark-3: color-mix(in srgb, var(--white) 68%, transparent);
  --line-dark: color-mix(in srgb, var(--white) 10%, transparent);
  --ink: var(--wine-800);
  --ink-2: color-mix(in srgb, var(--wine-800) 78%, var(--cream));
  --line-light: color-mix(in srgb, var(--wine-800) 14%, transparent);
  --veil: color-mix(in srgb, var(--wine-900) 62%, #000);   /* závoj přes fotku v úvodu */

  --font-d: 'Wix Madefor Display', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-t: 'Wix Madefor Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r: 16px;
  --r-lg: 24px;
  --wrap: 1152px;
  --gut: clamp(16px, 4vw, 40px);
  --hdr-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  interpolate-size: allow-keywords;
}

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--wine-800); color: var(--on-dark);
  font: 400 17px/1.65 var(--font-t); font-kerning: normal;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 700; }
::selection { background: var(--gold); color: var(--wine-900); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.band-cream :focus-visible { outline-color: var(--wine-600); }
.band-cream .invite :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--gold); color: var(--wine-900); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.wrap.mid { max-width: calc(896px + 2 * var(--gut)); }
.wrap.narrow { max-width: calc(760px + 2 * var(--gut)); }
.center { text-align: center; }
.gold { color: var(--gold); }

/* ---------- typografie ---------- */
.h2 {
  font: 800 clamp(1.85rem, 1.25rem + 1.7vw, 2.5rem)/1.12 var(--font-d);
  letter-spacing: -.022em; text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--gold); }
.sub { margin-top: 12px; font-size: clamp(1rem, .95rem + .3vw, 1.125rem); color: var(--on-dark-2); text-wrap: pretty; }
.lead { margin-top: 16px; font-size: clamp(1.02rem, .96rem + .3vw, 1.15rem); line-height: 1.7; color: var(--on-dark-2); text-wrap: pretty; }
.small { margin-top: 20px; font-size: .94rem; color: var(--on-dark-3); }
.eyebrow { font: 700 .8rem/1.3 var(--font-t); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.sec-head { margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head.center .sub { max-width: 620px; margin-inline: auto; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 45%, transparent); text-underline-offset: 4px; text-decoration-thickness: 1.5px; transition: gap .25s var(--ease), text-decoration-color .2s; }
.tlink:hover { gap: 12px; text-decoration-color: currentColor; }
.band-cream .tlink { color: var(--wine-600); text-decoration-color: color-mix(in srgb, var(--wine-600) 40%, transparent); }

/* „doplníme“ — viditelně nevyplněný údaj */
.ph, .is-ph[data-kp] {
  display: inline-block; padding: .18em .8em; border-radius: 999px;
  font: 600 .82rem/1.5 var(--font-t); letter-spacing: .01em; vertical-align: middle; white-space: nowrap;
  color: var(--gold); background: color-mix(in srgb, var(--gold) 13%, transparent);
  border: 1px dashed color-mix(in srgb, var(--gold) 45%, transparent);
}
.band-cream .ph, .row .ph { color: var(--wine-600); background: color-mix(in srgb, var(--wine-600) 7%, transparent); border-color: color-mix(in srgb, var(--wine-600) 35%, transparent); }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 700 .94rem/1.2 var(--font-t); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--wine-900); box-shadow: 0 10px 28px -14px color-mix(in srgb, var(--gold) 80%, transparent); }
.btn-gold:hover { background: var(--gold-hi); box-shadow: 0 14px 32px -12px color-mix(in srgb, var(--gold) 85%, transparent); }
.btn-ghost { border-color: color-mix(in srgb, var(--white) 30%, transparent); color: var(--white); background: color-mix(in srgb, var(--white) 3%, transparent); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--white) 60%, transparent); background: color-mix(in srgb, var(--white) 9%, transparent); }
.btn-white { background: var(--white); color: var(--wine-800); }
.btn-white:hover { background: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.btn-row.left { justify-content: flex-start; }

/* ---------- hlavička ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr-h);
  background: color-mix(in srgb, var(--wine-800) 86%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line-dark);
  transition: background-color .3s, box-shadow .3s;
}
.hdr.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; --mark: var(--gold); --mark-cut: var(--wine-800); }
.brand-mark { width: 44px; height: 44px; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-wm { display: flex; flex-direction: column; font: 800 1.08rem/1 var(--font-d); letter-spacing: -.01em; }
.brand-wm b { font-weight: 800; }
.brand-wm b + b { color: var(--gold); margin-top: 2px; }

.nav-list a { text-decoration: none; }
.hdr-act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hdr-mail {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--white) 25%, transparent);
  font: 600 .88rem/1 var(--font-t); text-decoration: none; transition: border-color .2s, background-color .2s;
}
.hdr-mail:hover { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.hdr-mail .ico { color: var(--gold); }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--gold); color: var(--wine-900); border: 0; font-weight: 700; font-size: .92rem; cursor: pointer;
}
.menu-btn .i-close { display: none; }
body.menu-open .menu-btn .i-open { display: none; }
body.menu-open .menu-btn .i-close { display: block; }

@media (min-width: 1120px) {
  .nav { flex: 1; display: flex; justify-content: center; }
  .nav-list { display: flex; gap: 6px; }
  .nav-list a {
    position: relative; display: block; padding: 10px 12px; border-radius: 999px;
    font: 500 .9rem/1.2 var(--font-t); color: var(--on-dark-2); transition: color .2s, background-color .2s;
  }
  .nav-list a:hover { color: var(--white); background: color-mix(in srgb, var(--white) 6%, transparent); }
  .nav-list a.is-active { color: var(--white); }
  .nav-list a.is-active::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
  .nav-extra, .menu-btn { display: none; }
  .hdr-act { margin-left: 0; }
}
@media (max-width: 1119.98px) {
  .hdr-mail span { display: none; }
  .hdr-mail { padding: 0; }
  .nav {
    position: fixed; inset: var(--hdr-h) 0 0 0; z-index: 49; overflow-y: auto;
    display: flex; flex-direction: column; gap: 28px; padding: 24px var(--gut) 32px;
    background: var(--wine-800);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  body.menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  body.menu-open { overflow: hidden; }
  /* backdrop-filter by z hlavičky udělal kontejner pro fixed menu → při otevřeném menu ho vypneme */
  body.menu-open .hdr { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--wine-800); }
  .nav-list a {
    display: flex; align-items: center; justify-content: space-between; padding: 16px 4px;
    font: 700 1.4rem/1.2 var(--font-d); letter-spacing: -.01em; border-bottom: 1px solid var(--line-dark);
  }
  .nav-list a::after { content: '→'; content: '→' / ''; color: var(--gold); font-weight: 500; }
  .nav-list a.is-active { color: var(--gold); }
  .nav-extra { margin-top: auto; display: grid; gap: 18px; padding: 22px; border-radius: var(--r-lg); background: var(--wine-600); }
  .nav-when strong { display: block; font-weight: 700; }
  .nav-when span { color: var(--on-dark-2); }
  .nav-extra .btn { justify-self: start; }

  /* bez JavaScriptu menu nejde otevřít → odkazy ukážeme rovnou pod logem */
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .hdr { position: relative; height: auto; }
  html:not(.js) .hdr-in { flex-wrap: wrap; row-gap: 6px; padding-block: 12px; }
  html:not(.js) .nav { position: static; order: 3; flex-basis: 100%; overflow: visible; padding: 0; gap: 0; background: none; opacity: 1; visibility: visible; transform: none; }
  html:not(.js) .nav-list { display: flex; flex-wrap: wrap; gap: 0 18px; }
  html:not(.js) .nav-list a { padding: 6px 0; border: 0; font: 600 .9rem/1.3 var(--font-t); color: var(--on-dark-2); }
  html:not(.js) .nav-list a::after { content: none; }
  html:not(.js) .nav-extra { display: none; }
}
@media (max-width: 640px) { :root { --hdr-h: 66px; } .brand-mark { width: 38px; height: 38px; } .brand-wm { font-size: .98rem; } }

/* ---------- úvod ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  min-height: calc(100svh - var(--hdr-h)); display: flex; align-items: center;
  padding-block: clamp(36px, 5.5vh, 96px) clamp(48px, 7vh, 104px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--wine-900); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 60% 60%; filter: saturate(1.1) contrast(1.08); }
@media (prefers-reduced-motion: no-preference) { .hero-bg img { animation: drift 28s ease-in-out infinite alternate; } }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.2%, -1%); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(44% 62% at 50% 50%, color-mix(in srgb, var(--veil) 58%, transparent), transparent 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--veil) 72%, transparent) 0%, color-mix(in srgb, var(--veil) 44%, transparent) 46%, color-mix(in srgb, var(--veil) 86%, transparent) 100%);
}
.hero-in { position: relative; }
.hero-kicker {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px 10px; padding: 8px 18px 8px 14px; border-radius: 999px;
  font: 600 .84rem/1.3 var(--font-t); color: var(--on-dark);
  background: color-mix(in srgb, var(--wine-900) 50%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-kicker .ico { color: var(--gold); width: 1.05em; height: 1.05em; fill: var(--gold); stroke: none; }
.hero-kicker .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.hero-title {
  margin: clamp(16px, 2.6vh, 28px) auto 0;
  font: 800 clamp(2.4rem, 1.15rem + 3.6vw, 4.1rem)/1.06 var(--font-d); letter-spacing: -.028em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero-title span { display: block; }
.hero-sub { max-width: 620px; margin: clamp(16px, 2.4vh, 24px) auto 0; text-wrap: balance; font-size: clamp(1.04rem, .95rem + .45vw, 1.25rem); line-height: 1.62; color: color-mix(in srgb, var(--white) 88%, transparent); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(22px, 3.4vh, 34px); }
.hero-cta .btn-ghost { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.tally {
  position: relative; max-width: 680px; margin: clamp(28px, 4.6vh, 60px) auto 0; padding: clamp(20px, 3vh, 30px) clamp(20px, 4vw, 44px) clamp(16px, 2.4vh, 24px);
  border-radius: var(--r-lg); border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent);
  background: color-mix(in srgb, var(--wine-900) 52%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), inset 0 1px 0 color-mix(in srgb, var(--white) 8%, transparent);
}
.tally-k { font-size: clamp(1rem, .95rem + .2vw, 1.12rem); font-weight: 500; color: var(--on-dark); }
.tally-v { margin-top: 6px; display: flex; justify-content: center; align-items: baseline; font: 800 clamp(3rem, 2rem + 4.2vw, 4.5rem)/1.05 var(--font-d); letter-spacing: -.025em; color: var(--gold); font-variant-numeric: tabular-nums; }
.tally-v.is-ph { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.2rem); }
.tally-v.is-ph > span, .raised-v.is-ph > span { display: none; }  /* „sečítáme“ bez „Kč“ */
.tally.is-live .tally-k::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--gold); vertical-align: .12em; box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 60%, transparent); }
@media (prefers-reduced-motion: no-preference) { .tally.is-live .tally-k::before { animation: pulse 2s infinite; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.cd { margin-top: clamp(10px, 1.6vh, 18px); padding-top: clamp(10px, 1.6vh, 18px); border-top: 1px solid var(--line-dark); }
.cd-k { font: 600 .78rem/1.3 var(--font-t); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.cd-num { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.cd-num span { min-width: 66px; padding: 8px 10px 7px; border-radius: 12px; background: color-mix(in srgb, var(--white) 6%, transparent); border: 1px solid color-mix(in srgb, var(--white) 8%, transparent); }
.cd-num b { display: block; font: 700 1.55rem/1.1 var(--font-d); font-variant-numeric: tabular-nums; }
.cd-num small { display: block; font-size: .74rem; color: var(--on-dark-3); }
.tally-after { margin-top: 14px; color: var(--on-dark-2); text-wrap: balance; }
.tally-more {
  display: grid; place-items: center; width: 34px; height: 34px; margin: clamp(10px, 1.6vh, 18px) auto 0; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--white) 25%, transparent); color: var(--on-dark-2); transition: border-color .2s, color .2s, transform .25s var(--ease);
}
.tally-more:hover { border-color: var(--gold); color: var(--gold); transform: translateY(2px); }
.img-note {
  font: 500 .74rem/1.2 var(--font-t); letter-spacing: .02em; color: color-mix(in srgb, var(--white) 82%, transparent);
  padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--wine-900) 55%, transparent);
}
.hero-note { position: absolute; right: var(--gut); bottom: 14px; }

/* nízké obrazovky notebooků (1366×768, 1280×720): karta ve dvou sloupcích, aby byla celá vidět */
@media (min-width: 900px) and (max-height: 880px) {
  .hero { padding-block: clamp(20px, 3.4vh, 48px) clamp(28px, 4.4vh, 56px); }
  .hero-title { margin-top: clamp(12px, 2vh, 20px); font-size: min(clamp(2.4rem, 1.15rem + 3.6vw, 4.1rem), 7.4vh); }
  .hero-sub { margin-top: clamp(10px, 1.7vh, 18px); }
  .hero-cta { margin-top: clamp(16px, 2.6vh, 26px); }
  .tally { display: grid; grid-template-columns: 1fr auto; align-items: center; max-width: 820px; margin-top: clamp(18px, 3vh, 34px); padding: 18px 30px; }
  .tally > .tally-k { grid-column: 1; grid-row: 1; }
  .tally > .tally-v { grid-column: 1; grid-row: 2; margin-top: 0; font-size: clamp(2.6rem, 1.6rem + 2.2vw, 3.5rem); }
  .tally > .tally-v.is-ph { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.6rem); }
  .tally > .cd, .tally > .tally-after {
    grid-column: 2; grid-row: 1 / span 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center;
    margin: 0 0 0 30px; padding: 2px 0 2px 30px; border-top: 0; border-left: 1px solid var(--line-dark);
  }
  .tally > .tally-after { max-width: 300px; }
  .cd-num { margin-top: 10px; }
  .tally-more { display: none; }
}

/* úvodní nástup */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-in > * { animation: rise .9s var(--ease) both; }
  .js .hero-in > :nth-child(2) { animation-delay: .08s; }
  .js .hero-in > :nth-child(3) { animation-delay: .16s; }
  .js .hero-in > :nth-child(4) { animation-delay: .24s; }
  .js .hero-in > :nth-child(5) { animation-delay: .36s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- pásy ---------- */
.band { position: relative; padding-block: clamp(72px, 8vw, 112px); }
.band-dark { background: var(--wine-800); }
.band-mid { background: var(--wine-600); }
.band-cream { background: var(--cream); color: var(--ink); }
.band-cream .lead, .band-cream .sub { color: var(--ink-2); }
.band-dark::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 420px; pointer-events: none;
  background: radial-gradient(50% 100% at 50% 0%, color-mix(in srgb, var(--wine-600) 45%, transparent), transparent);
}
.band > * { position: relative; }

.card { border-radius: var(--r); background: var(--wine-700); border: 1px solid color-mix(in srgb, var(--white) 7%, transparent); }
.band-mid .card { background: color-mix(in srgb, var(--wine-800) 50%, var(--wine-600)); }

/* stav sbírky */
.status .lead { max-width: 640px; margin-inline: auto; color: var(--on-dark); }
.status .small { max-width: 600px; margin-inline: auto; text-wrap: balance; }

/* jak to funguje */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 32px 32px 34px; transition: transform .35s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gold) 28%, transparent); }
.step-no { display: block; font: 800 3rem/1 var(--font-d); letter-spacing: -.02em; color: var(--gold-dim); }
.step h3 { margin-top: 14px; font: 700 1.3rem/1.25 var(--font-d); }
.step p { margin-top: 10px; font-size: 1rem; line-height: 1.65; color: var(--on-dark-2); }
.step-ico { position: absolute; top: 28px; right: 28px; width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .38; }
.how-line { margin-top: clamp(40px, 5vw, 56px); text-align: center; font: 700 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.35 var(--font-d); color: var(--gold); text-wrap: balance; }
.how-dep { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 10px; margin: 16px auto 0; padding: 9px 18px; border-radius: 999px; font-size: .95rem; color: var(--on-dark-2); background: color-mix(in srgb, var(--white) 5%, transparent); border: 1px solid var(--line-dark); }
.how-dep .ico { color: var(--gold); }
.how-dep strong { color: var(--white); font-weight: 700; }

.keep { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; padding: clamp(28px, 4vw, 48px); overflow: hidden; }
.keep-title { font: 800 clamp(1.5rem, 1.1rem + 1.2vw, 2rem)/1.15 var(--font-d); letter-spacing: -.02em; text-wrap: balance; }
.keep p { margin: 14px 0 22px; color: var(--on-dark-2); max-width: 46ch; }
.keep-cups { display: flex; justify-content: center; align-items: flex-end; padding-top: 10px; }
.keep-cups li { width: clamp(96px, 12vw, 150px); margin-inline: -10px; transition: transform .5s var(--ease); }
.keep-cups li:nth-child(1) { transform: rotate(-9deg) translateY(8px); }
.keep-cups li:nth-child(2) { z-index: 1; transform: translateY(-6px) scale(1.08); }
.keep-cups li:nth-child(3) { transform: rotate(9deg) translateY(8px); }
.keep:hover .keep-cups li:nth-child(1) { transform: rotate(-14deg) translate(-14px, 4px); }
.keep:hover .keep-cups li:nth-child(3) { transform: rotate(14deg) translate(14px, 4px); }
.keep-cups img { filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .4)); }

/* ---------- komu pomáháme: řádky (akordeon) ---------- */
.orgs .h2 { color: var(--ink); }
.h-small { margin-top: 28px; font: 700 1.2rem/1.3 var(--font-d); color: var(--wine-600); }
.orgs .lead { margin-top: 10px; }
.hint { margin-top: 40px; font-size: .86rem; color: var(--ink-2); }
.rows { display: grid; gap: 16px; margin-top: 14px; }
.row {
  border-radius: var(--r-lg); background: var(--white); color: var(--ink);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--wine-800) 6%, transparent), 0 10px 28px -16px color-mix(in srgb, var(--wine-800) 28%, transparent);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.row:hover { box-shadow: 0 1px 2px color-mix(in srgb, var(--wine-800) 6%, transparent), 0 16px 34px -16px color-mix(in srgb, var(--wine-800) 36%, transparent); }
.row summary {
  display: grid; grid-template-columns: 150px 1fr auto 38px; align-items: center; gap: 24px;
  padding: 26px 32px; cursor: pointer; list-style: none; border-radius: var(--r-lg);
}
.row summary::-webkit-details-marker { display: none; }
.row-k { font: 700 .78rem/1.3 var(--font-t); letter-spacing: .12em; text-transform: uppercase; color: var(--wine-600); }
.row-main b { display: block; font: 700 1.1rem/1.35 var(--font-d); }
.row-main span { display: block; margin-top: 4px; font-size: .95rem; line-height: 1.6; color: var(--ink-2); }
.row-v { font: 800 1.35rem/1.2 var(--font-d); color: var(--wine-600); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.chev { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--wine-600); transition: transform .35s var(--ease), background-color .2s, border-color .2s; }
.row summary:hover .chev { border-color: var(--wine-600); }
details[open] > summary .chev { transform: rotate(180deg); background: var(--wine-600); color: var(--white); border-color: var(--wine-600); }
.row-body { padding: 0 32px 28px calc(150px + 24px + 32px); color: var(--ink-2); }
.row-body p + p, .row-body p + .share { margin-top: 10px; }
.row-body a.tlink { margin-top: 12px; }
.share { display: grid; gap: 8px; max-width: 420px; }
.share-k { font-size: .86rem; }
.share-bar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--wine-600) 10%, transparent); overflow: hidden; }
.share-bar i { display: block; height: 100%; width: calc(var(--w, 0) * 1%); border-radius: inherit; background: linear-gradient(90deg, var(--wine-600), var(--gold)); }
details::details-content { block-size: 0; overflow-y: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
details[open]::details-content { block-size: auto; }

.invite {
  margin-top: 48px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--wine-800); color: var(--on-dark);
  --mark: var(--gold); --mark-cut: var(--wine-800);
}
.invite-mark { width: 76px; height: 76px; }
.invite-title { margin-top: 8px; font: 800 clamp(1.45rem, 1.1rem + 1vw, 1.9rem)/1.15 var(--font-d); letter-spacing: -.02em; }
.invite p:not(.eyebrow) { margin-top: 12px; color: var(--on-dark-2); max-width: 58ch; }
.invite .btn-row { align-items: center; margin-top: 24px; }
.invite-mail { font-weight: 600; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--white) 40%, transparent); overflow-wrap: anywhere; }
.invite-mail:hover { color: var(--gold); }

/* ---------- kolik jsme vybrali ---------- */
.raised .sec-head { margin-bottom: 32px; }
.raised.is-quiet .raised-total, .raised.is-quiet .facts { display: none; }
.raised.is-quiet .sec-head { margin-bottom: 0; }
.raised.is-quiet .sub strong { color: var(--white); }
.raised-v { display: flex; justify-content: center; align-items: baseline; margin-top: 10px; font: 800 clamp(3.4rem, 2rem + 6vw, 6.5rem)/1 var(--font-d); letter-spacing: -.03em; color: var(--gold); font-variant-numeric: tabular-nums; }
.raised-v.is-ph { font-size: clamp(2.6rem, 1.8rem + 3.4vw, 4.4rem); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 44px auto 0; }
.fact { padding: 22px 20px; }
.fact dt { font: 600 .78rem/1.3 var(--font-t); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.fact dd { margin-top: 8px; font: 700 1.5rem/1.2 var(--font-d); }
.fact dd.is-ph { margin-top: 10px; }
.raised-foot { display: flex; width: fit-content; max-width: 100%; margin: 28px auto 0; gap: 10px; align-items: flex-start; text-align: left; font-size: .93rem; color: var(--on-dark-2); }
.raised-foot .ico { color: var(--gold); margin-top: .2em; }
.raised-foot a { color: var(--white); text-underline-offset: 3px; }

/* ---------- kelímky: mřížka dlaždic ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -12px auto 36px; }
.chips li { padding: 8px 16px; border-radius: 999px; font-size: .9rem; color: var(--on-dark-2); background: color-mix(in srgb, var(--white) 5%, transparent); border: 1px solid var(--line-dark); }
.chips b { font: 700 1rem/1 var(--font-d); color: var(--gold); margin-right: 4px; }
.tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: min(100%, 620px); margin: 0 auto 32px; padding: 5px;
  border-radius: 999px; background: var(--wine-900); border: 1px solid var(--line-dark);
}
.tabs button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 54px; padding: 6px 10px;
  border: 0; border-radius: 999px; background: transparent; color: var(--on-dark-2); cursor: pointer;
  font: 700 .96rem/1.15 var(--font-d); transition: background-color .25s, color .25s;
}
.tabs button small { font: 500 .74rem/1.3 var(--font-t); opacity: .85; margin-top: 2px; }
.tabs button:hover { color: var(--white); background: color-mix(in srgb, var(--white) 6%, transparent); }
.tabs button[aria-selected='true'] { background: var(--gold); color: var(--wine-900); }
.ed + .ed { margin-top: 40px; }
.tabs-on .ed + .ed { margin-top: 0; }
.ed-title { margin-bottom: 18px; text-align: center; font: 700 1.25rem/1.3 var(--font-d); }
.ed-title span { font: 500 .9rem var(--font-t); color: var(--on-dark-3); margin-left: 6px; }
.tabs-on .ed-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ed:focus-visible { outline-offset: 8px; border-radius: var(--r); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r);
  background:
    radial-gradient(60% 55% at 50% 42%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--wine-600) 92%, var(--white)), var(--wine-700));
  border: 1px solid color-mix(in srgb, var(--white) 7%, transparent);
}
.tile img { position: absolute; left: 50%; top: 8%; width: auto; max-width: none; height: 70%; transform: translateX(-50%); filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .38)); transition: transform .6s var(--ease); }
.tile:hover img { transform: translateX(-50%) translateY(-3%) rotate(-3deg) scale(1.04); }
.tile p { position: absolute; left: 16px; right: 16px; bottom: 13px; font: 700 1rem/1.25 var(--font-d); text-align: center; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.nealko { position: absolute; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; font: 700 .7rem/1.4 var(--font-t); letter-spacing: .08em; text-transform: uppercase; background: var(--white); color: var(--wine-800); }
.note { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 9px; margin: 32px auto 0; font-size: .9rem; color: var(--on-dark-3); }
@media (prefers-reduced-motion: no-preference) {
  .tabs-on .ed:not([hidden]) .tile { animation: rise .55s var(--ease) both; }
  .tabs-on .ed:not([hidden]) .tile:nth-child(2) { animation-delay: .04s; }
  .tabs-on .ed:not([hidden]) .tile:nth-child(3) { animation-delay: .08s; }
  .tabs-on .ed:not([hidden]) .tile:nth-child(4) { animation-delay: .12s; }
  .tabs-on .ed:not([hidden]) .tile:nth-child(5) { animation-delay: .16s; }
  .tabs-on .ed:not([hidden]) .tile:nth-child(6) { animation-delay: .2s; }
}

/* ---------- kde a kdy ---------- */
.where-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.where-list { display: grid; gap: 12px; margin-top: 32px; }
.wl { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 16px; padding: 16px 20px; }
.wl dt { display: flex; align-items: center; gap: 12px; font: 600 .78rem/1.3 var(--font-t); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.wl-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); }
.wl dd { color: var(--on-dark-2); font-size: .96rem; }
.wl dd strong { display: block; font: 700 1.08rem/1.35 var(--font-d); color: var(--white); }
.where .btn-row { margin-top: 32px; }
.where-img { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7); }
.where-img img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; transition: transform 1.2s var(--ease); }
.where-img:hover img { transform: scale(1.04); }
.where-img .img-note { position: absolute; left: 14px; bottom: 14px; }

/* ---------- otázky ---------- */
.faq-sec .h2 { color: var(--ink); }
.faq { margin-top: 0; gap: 12px; }
.faq .row summary { grid-template-columns: 1fr 38px; padding: 20px 24px 20px 28px; }
.faq .row-main b { font-size: 1.06rem; }
.faq .row .row-body { padding: 0 28px 24px; max-width: 72ch; }
.faq-more { margin-top: 32px; text-align: center; color: var(--ink-2); }
.faq-more .tlink { overflow-wrap: anywhere; }

/* ---------- pořádá ---------- */
.org-band { padding-block: clamp(64px, 7vw, 88px); }
.org-logo { display: block; width: clamp(220px, 26vw, 330px); margin: 28px auto 0; --lf-ink: #faecc8; --lf-line: #8cacda; transition: transform .4s var(--ease); }
.org-band .org-logo { translate: 19% 0; }
.org-logo:hover { transform: scale(1.03); }
.org-logo .lfl { width: 100%; height: auto; }
.org-text { max-width: 560px; margin: 26px auto 0; font-size: .98rem; color: var(--on-dark-2); text-wrap: pretty; }

/* ---------- patička ---------- */
.ftr { background: var(--wine-900); padding: clamp(56px, 6vw, 80px) 0 28px; font-size: .94rem; color: var(--on-dark-2); }
.ftr-cols { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px; }
.ftr-brand .brand { --mark-cut: var(--wine-900); }
.ftr-brand .brand-mark { width: 50px; height: 50px; }
.ftr-brand .brand-wm { font-size: 1.15rem; color: var(--white); }
.ftr-brand p { margin-top: 18px; max-width: 30ch; }
.ftr-h { margin-bottom: 14px; font: 700 .76rem/1.3 var(--font-t); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ftr p + p { margin-top: 8px; }
.ftr strong { color: var(--white); }
.ftr a:not(.brand):not(.ftr-lfl) { text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent); overflow-wrap: anywhere; transition: color .2s; }
.ftr a:not(.brand):not(.ftr-lfl):hover { color: var(--gold); }
.ftr-lfl { display: block; width: 170px; margin-bottom: 16px; --lf-ink: #faecc8; --lf-line: #8cacda; }
.ftr .muted { color: var(--on-dark-3); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .84rem; color: var(--on-dark-3); }
.ftr-bottom a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }

/* ---------- odhalení při posunu ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .step.reveal.is-in:hover { transform: translateY(-4px); }
}

/* ---------- náhled času (jen lokálně) ---------- */
.demo { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; justify-items: end; gap: 10px; }
.demo-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); background: color-mix(in srgb, var(--wine-900) 88%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 700; font-size: .85rem; cursor: pointer; }
.demo-toggle .ico { color: var(--gold); }
.demo-panel { width: min(300px, calc(100vw - 32px)); padding: 18px; border-radius: var(--r); background: var(--wine-900); border: 1px solid var(--line-dark); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }
.demo-title { font: 700 1rem var(--font-d); }
.demo-text { margin-top: 4px; font-size: .84rem; color: var(--on-dark-2); }
.demo-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.demo-buttons button { min-height: 38px; border-radius: 999px; border: 1px solid var(--line-dark); background: color-mix(in srgb, var(--white) 5%, transparent); font-size: .82rem; font-weight: 600; cursor: pointer; }
.demo-buttons button.is-active { background: var(--gold); color: var(--wine-900); border-color: var(--gold); }

/* ---------- responzivita ---------- */
@media (max-width: 1023.98px) {
  .row summary { grid-template-columns: 136px 1fr auto 38px; gap: 18px; padding: 22px 24px; }
  .row-body { padding: 0 24px 24px calc(136px + 18px + 24px); }
  .where-in { grid-template-columns: 1fr; }
  .where-img { max-width: 720px; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 16px; }
  .keep { grid-template-columns: 1fr; text-align: center; }
  .keep p { margin-inline: auto; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .facts { grid-template-columns: 1fr; max-width: 420px; gap: 12px; }
  .fact { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; padding: 16px 20px; }
  .fact dd, .fact dd.is-ph { margin-top: 0; font-size: 1.2rem; }
  .fact dd.is-ph { font-size: .82rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-block: 40px 64px; }
  .hero-bg img { object-position: 30% 55%; }
  .hero-kicker { font-size: .78rem; }
  .hero-title { margin-top: 20px; }
  .hero-cta .btn { flex: 1 1 150px; }
  .cd-num { gap: 6px; }
  .cd-num span { min-width: 0; flex: 1; padding: 7px 4px 6px; }
  .cd-num b { font-size: 1.3rem; }
  .row summary { grid-template-columns: 1fr 36px; grid-template-areas: 'k chev' 'main main' 'v v'; gap: 10px 12px; padding: 20px; }
  .row-k { grid-area: k; } .row-main { grid-area: main; } .row-v { grid-area: v; text-align: left; } .row summary .chev { grid-area: chev; }
  .row-body { padding: 0 20px 22px; }
  .faq .row summary { grid-template-areas: 'main chev'; grid-template-columns: 1fr 36px; padding: 18px 18px 18px 20px; }
  .faq .row .row-body { padding: 0 20px 20px; }
  .chev { width: 36px; height: 36px; }
  .invite { grid-template-columns: 1fr; gap: 16px; }
  .invite-mark { width: 56px; height: 56px; }
  .tabs { border-radius: 22px; }
  .tabs button { border-radius: 18px; font-size: .88rem; padding: 6px 4px; }
  .tabs button small { font-size: .68rem; }
  .tile { aspect-ratio: 4 / 5; }
  .tile img { top: 7%; height: 68%; }
  .tile p { font-size: .9rem; left: 10px; right: 10px; bottom: 11px; }
  .nealko { top: 8px; right: 8px; font-size: .62rem; padding: 2px 8px; }
  .wl { grid-template-columns: 1fr; gap: 10px; }
  .ftr-cols { grid-template-columns: 1fr; gap: 32px; }
  .hero-note { right: 12px; bottom: 10px; }
}
@media (max-width: 400px) {
  .hero-kicker .k-long { display: none; }
  .hero { padding-top: 28px; }
  .hero-cta .btn { flex-basis: 130px; padding-inline: 14px; }
}
@media (max-width: 380px) {
  .chips li { font-size: .84rem; padding: 7px 13px; }
  .btn { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
