/* ==========================================================================
   Nový vzhled (v2) — vrstva „Nádech“ nad site.css: živé pozadí, plynulé
   náběhy, krokovač řízený posunem, Minuta klidu a Šetrný režim.
   Písmo, barvy, komponenty a obsah zůstávají ze site.css. Vše je pod třídou
   html.nadech (nastavuje layout jen veřejným stránkám v2 mimo stránky
   z odkazů); bez ní se stránka zobrazí jako dosud.
   ========================================================================== */

/* ---------------------------------------------------------- společné */
html.nadech {
  --nd-ease: cubic-bezier(.22, 1, .36, 1);
  --nd-ease-io: cubic-bezier(.65, 0, .35, 1);
  --nd-breath: 10s;
  --nd-shadow-hover: 0 2px 6px rgba(42, 52, 120, .05), 0 26px 50px -26px rgba(42, 52, 120, .45);
  scroll-behavior: smooth;
}
html.nadech body { background: #fff; }
/* sekce bez vlastního pozadí zůstávají bílé jako v MR3 (nízká specificita, třídy MR3 mají přednost) */
:where(html.nadech) main > section, :where(html.nadech) main > div { background-color: #fff; }
:where(html.nadech) main > section.hero, :where(html.nadech) main > section.page-hero { background-color: transparent; }

/* živé pozadí: pod obsahem, viditelné jen v průhledných úvodních sekcích */
#nd-aura { position: fixed; inset: 0; z-index: -1; width: 100vw; height: 100vh; pointer-events: none; display: none; background: #F7FBFF; }
html.nadech #nd-aura { display: block; }
html.nadech .hero, html.nadech .page-hero { background: transparent; }
html.nadech .hero::after, html.nadech .page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}
html.nadech .page-hero { position: relative; }
html.nadech .page-hero > .container, html.nadech .hero > .container { position: relative; z-index: 1; }

/* ---------------------------------------------------------- hlavička */
html.nadech .site-header { transition: transform .6s var(--nd-ease), border-color .3s, box-shadow .3s, background-color .4s; }
html.nadech .site-header.nd-hidden { transform: translateY(-104%); }
html.nadech .site-header:not(.is-scrolled) { background: rgba(255, 255, 255, .55); }
html.nadech .site-header nav { position: relative; }
.nd-navdot { position: absolute; left: 0; bottom: -6px; height: 3px; width: 20px; border-radius: 3px; background: var(--gradient-text); opacity: 0; transition: transform .7s var(--nd-ease), width .7s var(--nd-ease), opacity .4s; pointer-events: none; }
.nd-tools { display: flex; align-items: center; gap: 6px; }
.nd-ibtn {
  position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--blue-deep); cursor: pointer;
  transition: border-color .25s, background-color .25s, transform .4s var(--nd-ease), color .25s;
}
.nd-ibtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nd-ibtn:hover { border-color: var(--teal); }
.nd-ibtn[aria-pressed="true"] { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); }
.nd-ibtn--breathe svg circle:first-child { fill: currentColor; stroke: none; }
.nd-ibtn--breathe:hover svg { animation: nd-icon-breath 3s var(--nd-ease-io) infinite; }
@keyframes nd-icon-breath { 50% { transform: scale(1.18); } }
.nd-ibtn[data-tip]::after {
  content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -4px);
  padding: 7px 11px; border-radius: 10px; background: var(--blue-deep); color: #fff; font: 800 12.5px/1 var(--font); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--nd-ease); z-index: 5;
}
.nd-ibtn[data-tip]:hover::after, .nd-ibtn[data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1100px) { .nd-tools { margin-left: auto; } }
/* do 420 px se Šetrný režim do hlavičky nevejde; přepínač s textem je v mobilním menu */
.nd-mm-calm { display: none; }
@media (max-width: 420px) {
  .nd-ibtn--calm { display: none; }
  .mobile-menu .nd-mm-calm {
    display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 10px 18px;
    border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue-deep);
    font: 800 15px/1.2 var(--font); cursor: pointer;
  }
  .mobile-menu .nd-mm-calm svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-menu .nd-mm-calm[aria-pressed="true"] { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
}
/* s nástroji se plná navigace vejde až od 1280 px; užší okna dostanou kompaktní hlavičku
   site.css (menu), jakou má web do 1140 px — jinak by se stránka posouvala do strany */
@media (min-width: 1141px) and (max-width: 1279px) {
  html.nadech .nav, html.nadech .tools .lang, html.nadech .tools .portal { display: none; }
  html.nadech .tools { margin-left: auto; }
  html.nadech .menu-btn { display: inline-flex; }
  html.nadech .site-header .bar { height: 66px; }
  html.nadech .brand .sym { height: 30px; }
  html.nadech .brand .txt { height: 15px; }
}
/* anglická navigace je delší: menší mezery a písmo, aby se vešla do šířky obsahu */
@media (min-width: 1280px) {
  html.nadech[lang="en"] .site-header .bar { gap: 16px; }
  html.nadech[lang="en"] .site-header .tools { gap: 8px; }
  html.nadech[lang="en"] .site-header .nav a { padding-inline: 7px; font-size: 14.5px; }
}

/* ---------------------------------------------------------- nadpisy: zaostření slov */
html.nadech .nd-split .w { display: inline-block; white-space: nowrap; }
html.nadech .nd-split .wi {
  display: inline-block; opacity: 0; transform: translateY(.38em); filter: blur(9px);
  transition: opacity 1s var(--nd-ease), transform 1.1s var(--nd-ease), filter 1.1s var(--nd-ease);
  transition-delay: var(--d, 0s);
}
html.nadech .nd-split.nd-in .wi { opacity: 1; transform: none; filter: none; }
html.nadech .grad.nd-strip { background: none; color: inherit; }
html.nadech .grad.nd-strip .wi { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; background-repeat: no-repeat; }

/* MR3 .reveal: delší a měkčí náběh s lehkým zaostřením */
html.nadech .reveal { transform: translateY(18px); filter: blur(4px); transition: opacity .9s var(--nd-ease), transform 1s var(--nd-ease), filter .9s var(--nd-ease); transition-delay: var(--nd-d, 0s); }
html.nadech .reveal.is-in { filter: none; }

/* ---------------------------------------------------------- hero: portrét v dýchajícím kruhu */
html.nadech .cutout { --px: 0; --py: 0; isolation: isolate; }
.nd-halo { position: absolute; z-index: -1; left: 50%; bottom: 3%; width: 96%; aspect-ratio: 1; transform: translate(calc(-50% + var(--px) * -14px), calc(var(--py) * -10px)); transition: transform 1.2s var(--nd-ease); pointer-events: none; }
.nd-halo::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .55) 46%, rgba(255, 255, 255, 0) 70%),
    conic-gradient(from 210deg, rgba(26, 182, 174, .26), rgba(28, 117, 188, .22), rgba(56, 69, 156, .2), rgba(172, 65, 152, .24), rgba(26, 182, 174, .26));
  box-shadow: 0 40px 80px -40px rgba(56, 69, 156, .5);
}
.nd-halo::after {
  content: ""; position: absolute; inset: -3.5%; border-radius: 50%; padding: 1.6px;
  background: conic-gradient(from 200deg, #1AB6AE, #19A4BA, #1C75BC, #38459C, #753E93, #8E4092, #AC4198, #1AB6AE);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: nd-spin 60s linear infinite, nd-ring-breath var(--nd-breath) var(--nd-ease-io) infinite;
}
@keyframes nd-spin { to { rotate: 360deg; } }
@keyframes nd-ring-breath { 0%, 100% { scale: .985; opacity: .55; } 45% { scale: 1.03; opacity: 1; } }
html.nadech .cutout img { transform: translate(calc(var(--px) * 12px), calc(var(--py) * 6px)); transition: transform 1.2s var(--nd-ease); }
html.nadech .cutout .badge { transform: translate(calc(var(--px) * 22px), calc(var(--py) * 16px)); transition: transform 1.2s var(--nd-ease); animation: nd-float 9s var(--nd-ease-io) infinite; }
html.nadech .cutout .b2 { animation-delay: -4.5s; }
@keyframes nd-float { 50% { translate: 0 -8px; } }

/* Kde začít: plynulá výměna obsahu */
html.nadech .finder { transition: box-shadow .5s var(--nd-ease); }
html.nadech .finder:hover { box-shadow: var(--nd-shadow-hover); }
html.nadech .finder .tabpanel.is-active { animation: nd-panel .6s var(--nd-ease); }
@keyframes nd-panel { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------------------------------------------------------- tlačítka */
html.nadech .btn--primary { position: relative; overflow: hidden; isolation: isolate; }
html.nadech .btn--primary::after {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%);
  transform: translateX(-120%);
}
html.nadech .btn--primary:hover::after { transform: translateX(120%); transition: transform 1s var(--nd-ease); }
html.nadech .btn { transition: background .2s, color .2s, border-color .2s, transform .5s var(--nd-ease), box-shadow .3s; }

/* ---------------------------------------------------------- karty: měkké zvednutí a světlo pod kurzorem */
html.nadech :is(.card, .program, .story, .ref-card, .err-card, .cat, .pillar) { transition: transform .6s var(--nd-ease), box-shadow .6s var(--nd-ease), border-color .3s; }
html.nadech :is(.home-quizzes .card, .partner-card, .values .card, .err-card, .story, .ref-card, .cat, .pillar):hover { transform: translateY(-4px); box-shadow: var(--nd-shadow-hover); }
html.nadech .nd-spot { position: relative; }
html.nadech .nd-spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(26, 182, 174, .10), rgba(172, 65, 152, .06) 40%, transparent 70%);
  opacity: 0; transition: opacity .5s;
}
html.nadech .nd-spot:hover::before { opacity: 1; }

/* ---------------------------------------------------------- přechodové plochy, které dýchají */
html.nadech .nd-live { position: relative; overflow: hidden; isolation: isolate; }
html.nadech .nd-live > :not(.nd-sheen, .nd-thread) { position: relative; z-index: 1; }
.nd-sheen { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.nd-sheen i { position: absolute; border-radius: 50%; filter: blur(30px); opacity: .55; mix-blend-mode: soft-light; }
.nd-sheen i:nth-child(1) { width: 60%; aspect-ratio: 1; left: -12%; top: -40%; background: radial-gradient(closest-side, rgba(255, 255, 255, .9), transparent); animation: nd-drift-a 24s var(--nd-ease-io) infinite alternate; }
.nd-sheen i:nth-child(2) { width: 55%; aspect-ratio: 1; right: -14%; bottom: -45%; background: radial-gradient(closest-side, rgba(158, 235, 229, .95), transparent); animation: nd-drift-b 28s var(--nd-ease-io) infinite alternate; }
.nd-sheen i:nth-child(3) { width: 34%; aspect-ratio: 1; left: calc(var(--mx, 50%) - 17%); top: calc(var(--my, 50%) - 17%); background: radial-gradient(closest-side, rgba(255, 255, 255, .8), transparent); opacity: 0; transition: opacity .6s, left .9s var(--nd-ease), top .9s var(--nd-ease); }
html.nadech .nd-live:hover .nd-sheen i:nth-child(3) { opacity: .45; }
@keyframes nd-drift-a { to { transform: translate(28%, 22%) scale(1.15); } }
@keyframes nd-drift-b { to { transform: translate(-24%, -18%) scale(1.1); } }
html.nadech .bg-deep { position: relative; overflow: clip; isolation: isolate; }
html.nadech .bg-deep > .container { position: relative; z-index: 1; }
html.nadech .bg-deep > .nd-sheen i { mix-blend-mode: screen; opacity: .26; filter: blur(60px); }
html.nadech .bg-deep > .nd-sheen i:nth-child(1) { width: 60vmax; background: radial-gradient(closest-side, rgba(26, 182, 174, .9), transparent); }
html.nadech .bg-deep > .nd-sheen i:nth-child(2) { width: 60vmax; background: radial-gradient(closest-side, rgba(172, 65, 152, .9), transparent); }

/* ---------------------------------------------------------- Kdy zbystřit: nit, která se rozplétá */
html.nadech #poznavate .checks li { transition: border-color .3s, background-color .3s, transform .5s var(--nd-ease), box-shadow .5s var(--nd-ease); }
html.nadech #poznavate .checks li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
html.nadech .checks li[aria-checked="true"] .box { animation: nd-pop .5s var(--nd-ease); box-shadow: 0 0 0 6px rgba(26, 182, 174, .18); }
@keyframes nd-pop { 40% { transform: scale(1.25); } }
html.nadech .nd-band { padding-block: clamp(54px, 7vw, 96px) !important; }
.nd-thread { position: absolute; inset: 0; z-index: 0; pointer-events: none; --lit: 0; --calm: 0; }
.nd-thread svg { position: absolute; left: 0; top: 50%; width: 100%; height: 80%; transform: translateY(-50%); overflow: visible; }
.nd-thread path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.nd-thread .t-line { stroke: rgba(255, 255, 255, calc(.3 + var(--lit) * .1 + var(--calm) * .16)); stroke-width: calc(1.8px + var(--lit) * .3px); }
.nd-thread .t-glow { stroke: rgba(158, 235, 229, calc(.12 + var(--lit) * .07)); stroke-width: calc(10px + var(--lit) * 3px); filter: blur(8px); }
.nd-thread.is-pulse .t-glow { animation: nd-thread-pulse 1.6s var(--nd-ease); }
@keyframes nd-thread-pulse { 30% { stroke: rgba(158, 235, 229, .6); } }
html.nadech .nd-band p { text-shadow: 0 2px 18px rgba(30, 36, 100, .35); }

/* ---------------------------------------------------------- Témata: myšlenky, které plují */
html.nadech .topic-chips > * { animation: nd-bob calc(7s + var(--i, 0) * .37s) var(--nd-ease-io) infinite; animation-delay: calc(var(--i, 0) * -.83s); transition: filter .5s var(--nd-ease), opacity .5s, transform .5s var(--nd-ease), background-color .3s, color .3s, border-color .3s; }
@keyframes nd-bob { 50% { translate: 0 -6px; } }
html.nadech .topic-chips:hover > *:not(:hover) { filter: blur(1.6px); opacity: .55; }
html.nadech .topic-chips > *:hover { transform: scale(1.06); }

/* ---------------------------------------------------------- krokovač: zastavená sekce řízená posunem */
html.nadech .nd-pin > .container { position: sticky; top: 76px; min-height: calc(100vh - 76px); display: flex; flex-direction: column; justify-content: center; padding-block: 24px; }
html.nadech .nd-pin .stepper .fill { transition: none; }
html.nadech .nd-pin .step-panel.is-active { animation: nd-panel .7s var(--nd-ease); }
html.nadech .nd-pin .step-btn .n { transition: background-color .4s var(--nd-ease), border-color .4s, color .4s, box-shadow .6s var(--nd-ease), transform .6s var(--nd-ease); }
html.nadech .nd-pin .step-btn[aria-selected="true"] .n { transform: scale(1.08); }
html.nadech .nd-stepvis .step-panel { grid-template-columns: 1.2fr .8fr; align-items: center; }
.nd-vis { position: relative; aspect-ratio: 1; width: min(100%, 220px); justify-self: center; display: grid; place-items: center; --f: 1; }
.nd-vis span { position: absolute; border-radius: 50%; }
.nd-vis--1 span:nth-child(1) { inset: 14%; background: radial-gradient(circle at 35% 35%, #9EEBE5, #1C75BC 48%, #38459C 72%, #AC4198); filter: blur(calc((1 - var(--f)) * 22px + 1px)); animation: nd-breath-scale var(--nd-breath) var(--nd-ease-io) infinite; transition: filter 1.2s var(--nd-ease); }
.nd-vis--1 span:nth-child(2) { inset: 4%; border: 1.5px solid rgba(255, 255, 255, .7); opacity: var(--f); transition: opacity 1.2s; }
.nd-vis--1 span:nth-child(3) { width: 7px; height: 7px; background: #fff; box-shadow: 0 0 18px 6px rgba(255, 255, 255, .6); opacity: var(--f); transition: opacity 1.2s; }
.nd-vis--2 span { inset: 30%; border: 1.5px solid rgba(158, 235, 229, .85); opacity: 0; animation: nd-ripple 8s linear infinite; }
.nd-vis--2 span:nth-child(2) { animation-delay: -2.7s; }
.nd-vis--2 span:nth-child(3) { animation-delay: -5.3s; border-color: rgba(240, 170, 225, .8); }
.nd-vis--2::after { content: ""; position: absolute; inset: 40%; border-radius: 50%; background: radial-gradient(circle, #CFF6F2, #19A4BA 60%, transparent 72%); animation: nd-breath-scale var(--nd-breath) var(--nd-ease-io) infinite; }
@keyframes nd-ripple { 0% { transform: scale(.25); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.nd-vis--3 span:nth-child(1), .nd-vis--3 span:nth-child(2) { width: 54%; aspect-ratio: 1; mix-blend-mode: screen; }
.nd-vis--3 span:nth-child(1) { background: radial-gradient(circle at 40% 40%, #9EEBE5, #19A4BA 55%, rgba(25, 164, 186, .1) 72%); transform: translateX(calc((1 - var(--f)) * -44%)); transition: transform 1.4s var(--nd-ease); }
.nd-vis--3 span:nth-child(2) { background: radial-gradient(circle at 60% 40%, #F3B3E3, #AC4198 55%, rgba(172, 65, 152, .1) 72%); transform: translateX(calc((1 - var(--f)) * 44%)); transition: transform 1.4s var(--nd-ease); }
.nd-vis--3 span:nth-child(3) { inset: 10%; border: 1.5px solid rgba(255, 255, 255, .6); opacity: var(--f); transition: opacity 1.4s; }
@keyframes nd-breath-scale { 0%, 100% { scale: .94; } 45% { scale: 1.05; } }
@media (max-width: 760px) { .nd-vis { display: none; } html.nadech .nd-stepvis .step-panel { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- programy: délka jako linka, plynulá cena */
.nd-span { display: block; height: 4px; border-radius: 4px; background: var(--line); margin: -2px 0 14px; overflow: hidden; }
.nd-span i { display: block; height: 100%; width: calc(var(--p, 1) * 100%); border-radius: inherit; background: var(--gradient-text); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--nd-ease) .2s; }
.nd-span.is-in i { transform: scaleX(1); }
html.nadech .program.is-selected { box-shadow: 0 0 0 4px var(--purple-tint), 0 24px 50px -30px rgba(172, 65, 152, .55); }
html.nadech :is(.program .price strong, [data-price]) { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------- otázky: plynulé rozbalení */
html.nadech .faq details { transition: border-color .3s, box-shadow .4s var(--nd-ease); }
html.nadech .faq details[open] { box-shadow: var(--shadow); }
html.nadech .faq details > .a { overflow: hidden; }

/* ---------------------------------------------------------- dialog příběhu */
html.nadech .story-dlg[open] { animation: nd-dlg .6s var(--nd-ease); }
html.nadech .story-dlg::backdrop { backdrop-filter: blur(6px); }
@keyframes nd-dlg { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes nd-fade { from { opacity: 0; } }

/* ---------------------------------------------------------- přechod mezi stránkami */
@view-transition { navigation: auto; }
html.nadech::view-transition-old(root) { animation: nd-vt-out .4s var(--nd-ease-io) both; }
html.nadech::view-transition-new(root) { animation: nd-vt-in .7s var(--nd-ease) both; }
@keyframes nd-vt-out { to { opacity: 0; filter: blur(6px); } }
@keyframes nd-vt-in { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } }

/* ---------------------------------------------------------- boční tečky: průběh */
html.nadech .dots::before { content: ""; position: absolute; right: 4px; top: -10px; bottom: -10px; width: 2px; border-radius: 2px; background: var(--line); }
html.nadech .dots::after { content: ""; position: absolute; right: 4px; top: -10px; width: 2px; height: calc((100% + 20px) * var(--nd-prog, 0)); border-radius: 2px; background: linear-gradient(180deg, var(--teal), var(--blue-deep), var(--purple)); }
html.nadech .dots a { z-index: 1; }

/* ---------------------------------------------------------- dokumenty: ukazatel přečtení */
.nd-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 3px; pointer-events: none; }
.nd-progress i { position: absolute; inset: 0; background: var(--gradient-text); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------------------------------------------------------- přehrávač nahrávky (ukázka) */
.nd-player { position: relative; width: min(100%, 200px); aspect-ratio: 1; margin: 16px auto 6px; display: grid; place-items: center; }
.nd-player canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.nd-player button { position: relative; z-index: 1; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; cursor: pointer; background: radial-gradient(circle at 35% 30%, #5AD3CB, #1C75BC 55%, #38459C); box-shadow: 0 14px 30px -12px rgba(28, 117, 188, .7); transition: transform .5s var(--nd-ease); }
.nd-player button:hover { transform: scale(1.06); }
.nd-player button svg { width: 34%; height: 34%; fill: currentColor; }
.nd-player .t { position: absolute; bottom: 4%; font: 800 12px/1 var(--font); letter-spacing: .1em; color: var(--text-light); font-variant-numeric: tabular-nums; }
.nd-player.is-playing button { animation: nd-breath-scale var(--nd-breath) var(--nd-ease-io) infinite; }
.nd-player-cap { text-align: center; font-size: 13px; line-height: 1.4; color: var(--text-light); margin: 0; }

/* ---------------------------------------------------------- 404 */
html.nadech .e404-disc { animation: nd-breath-scale var(--nd-breath) var(--nd-ease-io) infinite; }

/* ---------------------------------------------------------- patička */
html.nadech .site-footer { position: relative; overflow: hidden; isolation: isolate; }
html.nadech .site-footer > .container { position: relative; z-index: 1; }
.nd-foot-glow { position: absolute; inset: auto -10% -30% -10%; height: 90%; z-index: 0; pointer-events: none; background: radial-gradient(50% 70% at 25% 100%, rgba(26, 182, 174, .32), transparent 70%), radial-gradient(45% 65% at 78% 100%, rgba(172, 65, 152, .3), transparent 70%); animation: nd-foot var(--nd-breath) var(--nd-ease-io) infinite; }
@keyframes nd-foot { 50% { transform: scale(1.06) translateY(-3%); opacity: .85; } }
.nd-foot-mark { position: absolute; right: -5%; top: 6%; width: min(46vw, 620px); opacity: .06; z-index: 0; pointer-events: none; filter: brightness(0) invert(1); }

/* ---------------------------------------------------------- Minuta klidu */
.nd-breathe { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; color: #fff; text-align: center; font-family: var(--font); animation: nd-fade .7s var(--nd-ease); }
.nd-breathe[hidden] { display: none; }
.nd-breathe__bg { position: absolute; inset: 0; background: radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, .14), transparent 55%), radial-gradient(70% 90% at 0% 100%, rgba(20, 24, 80, .3), transparent 60%), var(--gradient-contact); }
.nd-breathe__bg::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px); background-size: 18px 18px; }
.nd-breathe__in { position: relative; display: grid; justify-items: center; gap: 18px; padding: 24px; }
.nd-breathe .kicker { color: #9EEBE5; margin: 0; }
.nd-breathe__orb { position: relative; width: min(58vmin, 370px); aspect-ratio: 1; display: grid; place-items: center; margin-block: 6px; }
.nd-breathe__orb svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.nd-breathe__orb circle { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1.2; }
.nd-breathe__orb circle.prog { stroke: #9EEBE5; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.nd-breathe__core { width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #CFF6F2, #1AB6AE 34%, #1C75BC 62%, #753E93); box-shadow: 0 0 80px 10px rgba(158, 235, 229, .28), inset 0 0 40px rgba(255, 255, 255, .25); transform: scale(.62); }
.nd-breathe__halo { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); transform: scale(.62); }
.nd-breathe__word { font: 800 clamp(34px, 6vw, 54px)/1.05 var(--font); letter-spacing: -.012em; min-height: 1.1em; margin: 0; }
.nd-breathe__count { max-width: 34ch; margin: 0; color: rgba(255, 255, 255, .82); font-size: 16px; }
.nd-breathe__done { font: 800 clamp(24px, 3vw, 32px)/1.2 var(--font); margin: 0 0 16px; }
.nd-breathe__x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.nd-breathe__sound { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font: 800 14px var(--font); cursor: pointer; }
.nd-breathe__sound[aria-pressed="true"] { background: rgba(255, 255, 255, .14); }
.nd-breathe .cta-row { justify-content: center; }
.nd-breathe .nd-btn-w { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }

/* ---------------------------------------------------------- Migrény: odkaz na Šetrný režim */
.nd-calm-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 800; color: var(--blue); }

/* toast */
.nd-toast { position: fixed; left: 50%; bottom: 24px; z-index: 210; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; background: var(--blue-deep); color: #fff; font: 800 14.5px var(--font); box-shadow: 0 16px 40px -16px rgba(35, 42, 99, .6); opacity: 0; pointer-events: none; transition: opacity .35s, transform .5s cubic-bezier(.22, 1, .36, 1); max-width: calc(100vw - 32px); text-align: center; }
.nd-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------- Šetrný režim: bez pohybu, tlumené barvy */
html.nadech.nd-calm { scroll-behavior: auto; }
html.nadech.nd-calm *, html.nadech.nd-calm *::before, html.nadech.nd-calm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
html.nadech.nd-calm .nd-split .wi, html.nadech.nd-calm .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
html.nadech.nd-calm #nd-aura { filter: saturate(.55); }
html.nadech.nd-calm img:not([src*=".svg"]) { filter: saturate(.85); }
/* omezený pohyb v systému: stejně bez pohybu jako Šetrný režim (barvy zůstávají) */
@media (prefers-reduced-motion: reduce) {
  html.nadech { scroll-behavior: auto; }
  html.nadech *, html.nadech *::before, html.nadech *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.nadech .nd-split .wi, html.nadech .reveal { opacity: 1; transform: none; filter: none; }
}
