/* ==========================================================================
   LMCapital · vrstva zážitku (v2)
   WebGL scéna, úvod, pripnuté kapitoly, graf „z diaľky“, kalkulačka, hra,
   zvuk, kurzor. Všetko má statický záložný stav (bez WebGL / obmedzený pohyb).
   ========================================================================== */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.45s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in 0.6s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(0.985); } }
@keyframes vt-in { from { opacity: 0; transform: scale(1.01); } }

/* ---- Scéna ------------------------------------------------------------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.has-stage .stage { opacity: 1; }
main, .site-footer { position: relative; z-index: 1; }

.has-stage .stage-section,
.has-stage .hero { background: transparent; }
.has-stage .hero__fallback { display: none; }
/* kým sa načítava 3D scéna, statický emblém nezobrazujeme (inak by „bliknul“) */
.intro-short .hero__fallback,
.intro-full .hero__fallback { visibility: hidden; }
.no-stage .hero__fallback { visibility: visible; animation: fadeIn 0.9s ease both; }

/* svetlé sekcie ako „listy“ nad scénou */
.has-stage .stage-section + .theme-light { border-radius: 2.25rem 2.25rem 0 0; }
.has-stage .theme-light:has(+ .stage-section) { border-radius: 0 0 2.25rem 2.25rem; }

/* ---- Hero v2 ----------------------------------------------------------- */
.hero__space { position: relative; min-height: 24rem; }
.hero__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
@media (min-width: 1025px) { .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }

/* odhalenie po úvode */
.intro-full [data-hero],
.intro-short [data-hero] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--h, 0) * 110ms);
}
.intro-full .hero__title .line > *,
.intro-short .hero__title .line > * {
  animation: none;
  transform: translate3d(0, 112%, 0);
  transition: transform 1.35s var(--ease-out);
  transition-delay: calc(var(--h, 0) * 130ms);
}
.hero-in [data-hero] { opacity: 1; transform: none; }
.hero-in .hero__title .line > * { transform: none; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  transform: translateX(-50%);
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(var(--gold-400), transparent);
  animation: cue 2.2s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---- Pripnuté kapitoly (acts) ----------------------------------------- */
.act { position: relative; color: var(--on-dark); background: var(--navy-850); }
.act__pin { position: relative; padding-block: var(--section-py); }
.act__eyebrow { margin-bottom: 2.5rem; }
.act__captions { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.2rem; }
.act__caption {
  max-width: 40rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.25rem + 2.9vw, 3.9rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-wrap: balance;
  color: var(--on-dark);
}
.act__caption em {
  font-style: italic;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.act__caption small {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--on-dark-muted);
}
.act__kicker {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.act__progress { display: none; }

/* s aktívnou scénou: kapitola sa pripne a titulky sa striedajú */
.has-stage .act:not(.act--zoom) { background: transparent; }
.has-stage .act:not(.act--zoom) .act__pin { height: 100vh; height: 100svh; padding: 0; overflow: hidden; }
.has-stage .act:not(.act--zoom) .act__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: clamp(2rem, 6vh, 4rem);
}
.has-stage .act__captions { position: relative; display: block; flex: 0 0 auto; min-height: 12rem; }
.has-stage .act__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 34px, 0);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out), filter 0.8s var(--ease-out), visibility 0s linear 0.9s;
}
.has-stage .act__caption.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  transition: opacity 0.9s var(--ease-out) 0.12s, transform 1s var(--ease-out) 0.12s, filter 0.9s var(--ease-out) 0.12s, visibility 0s;
}
.has-stage .act__caption--injury .act__kicker { color: #e27a66; }
.has-stage .act__captions::before {
  content: "";
  position: absolute;
  left: -30vw;
  right: -10vw;
  bottom: -40%;
  height: 190%;
  background: radial-gradient(60% 55% at 30% 70%, rgba(10, 14, 21, 0.72), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.has-stage .act__progress {
  position: absolute;
  right: 0;
  bottom: clamp(2rem, 6vh, 4rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 10rem;
}
.has-stage .act__progress::before {
  content: attr(data-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
}
.has-stage .act__progress span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-400) calc(var(--p, 0) * 100%), rgba(214, 179, 123, 0.2) 0);
}

/* ---- Pohľad z diaľky (graf) ------------------------------------------- */
.act--zoom { background: var(--navy-900); }
.zoom { display: grid; gap: 1.5rem; }
.zoom__head .h2 { margin-top: 0; }
.zoom__stage { position: relative; height: min(56vh, 34rem); min-height: 18rem; }
.zoom__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.zoom__overlay {
  position: absolute;
  top: 0.5rem;
  left: max(var(--gutter), (100vw - var(--maxw)) / 2);
  pointer-events: none;
}
.zoom__range {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
}
.zoom__big {
  margin: 0.3rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 2rem + 5vw, 7rem);
  font-weight: 500;
  line-height: 1;
  color: #e86f5c;
  font-variant-numeric: lining-nums tabular-nums;
  transition: color 0.6s;
}
.zoom__big.is-positive { color: var(--gold-200); }
.zoom__captions { display: grid; gap: 1rem; }
.zoom__caption { max-width: 44rem; margin: 0; font-size: var(--fs-lead); line-height: 1.6; color: var(--on-dark-muted); }
.zoom__caption strong { color: var(--on-dark); font-weight: 700; }
.zoom__note { margin-top: 0; margin-bottom: 0; font-size: 0.74rem; line-height: 1.6; color: var(--on-dark-faint); }

.has-gsap .act--zoom .act__pin { height: 100vh; height: 100svh; padding: 0; overflow: hidden; }
.has-gsap .zoom {
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 1rem;
  padding-top: calc(var(--header-h) + 0.5rem);
  padding-bottom: 1.25rem;
}
.has-gsap .zoom__stage { height: auto; min-height: 0; }
.has-gsap .zoom__captions { position: relative; display: block; min-height: 5.4rem; }
.has-gsap .zoom__caption {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out);
}
.has-gsap .zoom__caption.is-active { opacity: 1; transform: none; }

/* ---- Kalkulačka „Sila času“ -------------------------------------------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
}
.calc__controls { display: grid; gap: 2.1rem; align-content: start; padding-top: 0.5rem; }
.calc__field { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  padding: 0;
  width: 100%;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.calc__label output {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}

.range {
  --p: 50%;
  width: 100%;
  height: 2.2rem;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-600) var(--p), rgba(21, 28, 39, 0.14) var(--p));
}
.range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(21, 28, 39, 0.14); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold-600); }
.range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: calc(-0.8rem + 2px);
  border: 1px solid rgba(125, 95, 54, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #f6e2b3 35%, #c49f69 100%);
  box-shadow: 0 6px 16px -6px rgba(125, 95, 54, 0.7), 0 0 0 0 rgba(214, 179, 123, 0.35);
  transition: box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.range::-moz-range-thumb {
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid rgba(125, 95, 54, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #f6e2b3 35%, #c49f69 100%);
}
.range:hover::-webkit-slider-thumb { transform: scale(1.08); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(214, 179, 123, 0.35); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 6px rgba(214, 179, 123, 0.35); }

.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.9rem 0.5rem;
  border: 1px solid rgba(21, 28, 39, 0.16);
  border-radius: 1rem;
  background: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  transition: border-color 0.3s, background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.chip small {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.chip input:checked + span {
  border-color: transparent;
  background: var(--navy-850);
  color: var(--gold-200);
  box-shadow: 0 14px 30px -18px rgba(21, 28, 39, 0.8);
}
.chip input:checked + span small { color: var(--on-dark-muted); }
.chip input:focus-visible + span { outline: 2px solid var(--gold-700); outline-offset: 3px; }

.calc__result {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: var(--radius-lg);
  color: var(--on-dark);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(214, 179, 123, 0.14), transparent 60%),
    linear-gradient(180deg, #1b2331, #111822);
  box-shadow: 0 45px 90px -50px rgba(21, 28, 39, 0.8);
}
.calc__result-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.calc__total {
  margin: 0.5rem 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 2rem + 3.4vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: lining-nums tabular-nums;
}
.calc__split { display: flex; flex-wrap: wrap; gap: 0.6rem 2.2rem; margin: 0 0 1.2rem; }
.calc__split div { display: grid; gap: 0.15rem; }
.calc__split dt { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--on-dark-muted); }
.calc__split dd { margin: 0; font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.dot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; flex: none; }
.dot--dep { background: #7f6a4b; }
.dot--gain { background: var(--gold-200); box-shadow: 0 0 10px rgba(239, 208, 149, 0.8); }
.calc__chart { width: 100%; height: clamp(11rem, 22vw, 15rem); display: block; margin: 0.4rem 0 1.4rem; }
.calc__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; margin-top: auto; }
.calc__cta .btn--dark { background: var(--gold-grad); color: var(--navy-900); }
.calc__cta-note { font-size: 0.8rem; color: var(--on-dark-faint); }
.calc__note { margin: 1.2rem 0 0; font-size: 0.74rem; line-height: 1.6; color: var(--on-dark-faint); }

/* ---- Kapitoly (pravá navigácia) ---------------------------------------- */
.chapters { display: none; }
@media (min-width: 1200px) {
  .has-stage .chapters {
    position: fixed;
    right: 1.4rem;
    top: 50%;
    z-index: 60;
    display: block;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.6s;
  }
  .hero-in .chapters { opacity: 1; }
  .chapters ol { margin: 0; padding: 0.7rem 0.5rem; list-style: none; display: grid; gap: 0.15rem; border-radius: 999px; background: rgba(12, 17, 25, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(214, 179, 123, 0.14); }
  .chapters a { position: relative; display: grid; place-items: center; width: 1.8rem; height: 1.6rem; text-decoration: none; }
  .chapters a::before { content: ""; width: 0.6rem; height: 1px; background: rgba(237, 233, 226, 0.45); transition: width 0.4s var(--ease-out), background-color 0.3s; }
  .chapters a:hover::before, .chapters a.is-active::before { width: 1.05rem; background: var(--gold-300); }
  .chapters span {
    position: absolute;
    right: calc(100% + 0.8rem);
    top: 50%;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(12, 17, 25, 0.85);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--gold-200);
    opacity: 0;
    transform: translate(6px, -50%);
    transition: opacity 0.3s, transform 0.4s var(--ease-out);
    pointer-events: none;
  }
  .chapters a:hover span, .chapters a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
}

/* ---- Zvuk ---------------------------------------------------------------- */
.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid rgba(214, 179, 123, 0.28);
  border-radius: 999px;
  background: rgba(214, 179, 123, 0.04);
  color: var(--gold-200);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.3s, background-color 0.3s;
}
.sound-toggle:hover { border-color: var(--gold-400); background: rgba(214, 179, 123, 0.1); }
.sound-toggle__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 0.9rem; }
.sound-toggle__bars i { display: block; width: 2px; height: 20%; border-radius: 1px; background: currentColor; transition: height 0.3s; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i { animation: bars 1s ease-in-out infinite; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(2) { animation-delay: -0.3s; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(3) { animation-delay: -0.55s; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(4) { animation-delay: -0.8s; }
@keyframes bars { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@media (max-width: 1024px) {
  .sound-toggle { width: 2.9rem; padding: 0; justify-content: center; }
  .sound-toggle__label { display: none; }
}

/* ---- Kurzor ------------------------------------------------------------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-stage .cursor { position: fixed; left: 0; top: 0; z-index: 300; display: block; pointer-events: none; }
  .cursor__dot { display: none; }
  .cursor__ring {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    margin: -1.3rem 0 0 -1.3rem;
    border: 1px solid rgba(214, 179, 123, 0.55);
    border-radius: 50%;
    transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), margin 0.4s var(--ease-out), background-color 0.3s, border-color 0.3s, opacity 0.3s;
    opacity: 0;
  }
  .cursor.is-visible .cursor__ring { opacity: 1; }
  .cursor.is-hover .cursor__ring { width: 3.8rem; height: 3.8rem; margin: -1.9rem 0 0 -1.9rem; background: rgba(214, 179, 123, 0.08); border-color: rgba(214, 179, 123, 0.8); }
  .cursor.has-label .cursor__ring { width: 4.8rem; height: 4.8rem; margin: -2.4rem 0 0 -2.4rem; background: var(--gold-grad); border-color: transparent; }
  .cursor__label { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy-900); opacity: 0; transition: opacity 0.2s; }
  .cursor.has-label .cursor__label { opacity: 1; }
  .cursor.is-light .cursor__ring { border-color: rgba(125, 95, 54, 0.55); }
}

/* ---- Pätička: veľké logo ------------------------------------------------ */
.footer__giant { margin-top: 3rem; opacity: 0.07; transition: opacity 0.8s var(--ease-out); }
.footer__giant img { width: 100%; }
.footer__giant:hover { opacity: 0.16; }

/* ---- Rozdelený text (GSAP SplitText) ----------------------------------- */
.split-line { display: block; }

/* ---- Responzívne -------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__space { display: none; }
  .has-stage .hero__inner { padding-top: calc(var(--header-h) + min(38vh, 22rem)); }
  .has-stage .hero { min-height: 100svh; }
  .calc { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1025px) {
  .has-stage .scroll-cue { display: flex; }
}
@media (max-width: 760px) {
  .has-stage .act__caption { font-size: clamp(1.8rem, 7.4vw, 2.4rem); }
  .has-stage .act__progress { width: 6.5rem; left: 0; right: auto; top: calc(var(--header-h) + 3.3rem); bottom: auto; }
  .zoom__stage { height: 42vh; }
  .has-gsap .zoom__captions { min-height: 7.6rem; }
  .zoom__caption { font-size: 1rem; }
  .chips span { font-size: 1.3rem; }
  .has-stage .stage-section + .theme-light { border-radius: 1.5rem 1.5rem 0 0; }
  .has-stage .theme-light:has(+ .stage-section) { border-radius: 0 0 1.5rem 1.5rem; }
}

.reduce-motion .boot { display: none; }
.reduce-motion .sound-toggle__bars i { animation: none !important; }

/* karty služieb ako matné sklo nad scénou */
.has-stage #sluzby .service-card {
  background: linear-gradient(180deg, rgba(21, 28, 39, 0.72), rgba(15, 21, 30, 0.82));
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}
.footer__giant ~ * .footer__watermark, .site-footer:has(.footer__giant) .footer__watermark { display: none; }

/* ---- Podstránka Služby: detail so scénou ------------------------------- */
.has-stage .page-hero .bg-layer,
.has-stage .page-hero__watermark { display: none; }
.has-stage .page-hero { background: transparent; }
.svcx { padding-block: clamp(2rem, 4vw, 4rem); }
.svcx__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 92vh;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line-on-dark);
  scroll-margin-top: var(--header-h);
}
.svcx__item:first-child { border-top: 0; }
.svcx__text .h2 { margin-bottom: 1.5rem; }
.svcx__text .lead { color: var(--on-dark-muted); }
.theme-dark .list-title { color: var(--gold-400); }
.theme-dark .checklist li { color: var(--on-dark-muted); }
.theme-dark .checklist li::before {
  background-color: rgba(214, 179, 123, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3c38c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.theme-dark .fit { background: rgba(214, 179, 123, 0.07); }
.theme-dark .fit__label { color: var(--gold-400); }
.theme-dark .fit p { color: var(--on-dark-muted); }
.svcx__art .svc-art { box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.8); border: 1px solid var(--line-gold); }
.has-stage .svcx__art { visibility: hidden; }
.has-stage .svcx__text { position: relative; }
.has-stage .svcx__text::before {
  content: "";
  position: absolute;
  inset: -3rem -4rem;
  z-index: -1;
  background: radial-gradient(60% 60% at 40% 50%, rgba(12, 17, 25, 0.6), transparent 75%);
  pointer-events: none;
}
@media (max-width: 1024px) {
  .svcx__item { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .svcx__art { order: -1; max-width: 36rem; }
  .has-stage .svcx__art { visibility: visible; }
}

/* pripnuté kapitoly sú tmavé aj bez triedy .theme-dark */
.act .eyebrow { color: var(--gold-400); }

/* ======================================================================
   3D obchodný úvod: boot, HUD, ticker, záblesk
   ====================================================================== */
.boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--navy-850);
  transition: opacity 0.9s var(--ease-out), visibility 0s linear 0.9s;
}
/* pozn.: žiadna CSS animácia na opacity – vo Firefoxe by zablokovala prechod pri odchode */
.boot.is-leaving { opacity: 0; visibility: hidden; }
.intro-short .boot, .reduce-motion .boot, html:not(.js) .boot { display: none; }
.boot__inner { display: grid; justify-items: center; gap: 1.1rem; }
.boot__mono { width: 58px; opacity: 0; animation: fadeIn 0.8s ease 0.05s forwards; filter: drop-shadow(0 0 18px rgba(214, 179, 123, 0.35)); }
.boot__word { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.62em; text-indent: 0.62em; text-transform: uppercase; color: var(--gold-300); }
.boot__bar { position: relative; width: min(56vw, 320px); height: 1px; overflow: hidden; background: rgba(214, 179, 123, 0.16); }
.boot__bar span { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 0.5s var(--ease-out); box-shadow: 0 0 12px rgba(239, 208, 149, 0.8); }
.boot__status { margin: 0; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-dark-faint); }
.boot__status::after { content: ""; display: inline-block; width: 1.4em; text-align: left; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.boot.is-leaving .boot__bar { transform: scaleX(6); transition: transform 0.9s var(--ease-in-out); }

.intro-running .site-header,
.intro-running .chapters { opacity: 0; pointer-events: none; }
.site-header { transition: height 0.45s var(--ease-out), opacity 0.9s var(--ease-out); }
.intro-running body { overflow: hidden; }

.mi {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  color: var(--on-dark);
  font-family: var(--font-sans);
}
.mi__top {
  position: absolute;
  top: clamp(1.1rem, 4vh, 2.4rem);
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  animation: fadeIn 0.8s ease 0.2s both;
}
.mi__sym { display: grid; gap: 0.45rem; }
.mi__name { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.3em; color: var(--gold-300); }
.mi__name::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.7rem; border-radius: 50%; background: #e86f5c; box-shadow: 0 0 10px #e86f5c; vertical-align: 0.05em; animation: live 1.2s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.25; } }
.mi__meta { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-faint); }
.mi__quote { display: grid; justify-items: end; gap: 0.35rem; }
.mi__price {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4.6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums tabular-nums;
  text-shadow: 0 0 30px rgba(239, 208, 149, 0.35);
}
.mi__chg { font-size: 0.95rem; font-weight: 800; letter-spacing: 0.04em; color: var(--gold-200); font-variant-numeric: tabular-nums; }
.mi__chg.is-down { color: #f09a89; }
.mi__head { position: absolute; left: 0; top: 0; will-change: transform; }
.mi__head span {
  position: absolute;
  left: 16px;
  bottom: 12px;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line-gold-strong);
  border-radius: 999px;
  background: rgba(12, 17, 25, 0.7);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--gold-100);
  font-variant-numeric: tabular-nums;
}
.mi__tags span, .mi__years span { position: absolute; left: 0; top: 0; white-space: nowrap; transition: opacity 0.35s; opacity: 0; will-change: transform; }
.mi__tags span {
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(12, 17, 25, 0.66);
  font-variant-numeric: tabular-nums;
}
.mi__tags .is-up { color: var(--gold-200); border: 1px solid rgba(239, 208, 149, 0.4); }
.mi__tags .is-down { color: #f3a595; border: 1px solid rgba(232, 111, 92, 0.45); }
.mi__years span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; color: rgba(237, 233, 226, 0.55); }
.mi__ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  height: 2.7rem;
  overflow: hidden;
  border-top: 1px solid var(--line-gold);
  background: rgba(10, 14, 21, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.8s ease 0.5s both;
}
.mi__ticker-track { display: flex; gap: 2.8rem; padding-left: 2rem; white-space: nowrap; animation: ticker 16s linear infinite; }
.mi__tk { display: inline-flex; align-items: baseline; gap: 0.6rem; font-size: 0.72rem; letter-spacing: 0.18em; }
.mi__tk b { font-weight: 800; color: var(--on-dark); }
.mi__tk i { font-style: normal; font-weight: 800; color: var(--gold-300); letter-spacing: 0.06em; }
@keyframes ticker { to { transform: translateX(-33.333%); } }
.mi__flash {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 55% 40%, #fffaf0 0%, #f6dfae 32%, rgba(214, 179, 123, 0.45) 62%, rgba(214, 179, 123, 0) 100%);
}
.mi__skip {
  position: fixed;
  right: var(--gutter);
  bottom: 3.7rem;
  z-index: 160;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.6rem;
  padding: 0 1.1rem;
  border: 1px solid var(--line-gold-strong);
  border-radius: 999px;
  background: rgba(12, 17, 25, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--gold-200);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: fadeIn 0.6s ease 1.2s both;
  cursor: pointer;
}
.mi__skip:hover { border-color: var(--gold-400); background: rgba(214, 179, 123, 0.12); }
@media (max-width: 760px) {
  .mi__meta { letter-spacing: 0.12em; }
  .mi__name { font-size: 0.74rem; letter-spacing: 0.22em; }
  .mi__skip { bottom: 3.5rem; }
}

/* ---- Voľba animácií ---------------------------------------------------- */
.motion-toggle {
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
  text-decoration: underline;
  text-decoration-color: rgba(214, 179, 123, 0.4);
  text-underline-offset: 0.25em;
  cursor: pointer;
}
.motion-toggle:hover { color: var(--gold-200); }
.motion-offer {
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-gold-strong);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #1a2230, #0f151e);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(214, 179, 123, 0.08);
  color: var(--on-dark);
}
.motion-offer::backdrop { background: rgba(8, 11, 17, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.motion-offer__preview { position: relative; aspect-ratio: 1200 / 520; overflow: hidden; border-bottom: 1px solid var(--line-gold); }
.motion-offer__preview img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.motion-offer__preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 21, 30, 0.9)); }
.motion-offer__body { display: grid; gap: 1rem; padding: 1.6rem clamp(1.3rem, 4vw, 2.2rem) 1.8rem; }
.motion-offer__badge {
  justify-self: start;
  margin: -2.9rem 0 0;
  position: relative;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--gold-grad);
  color: var(--navy-900);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -10px rgba(214, 179, 123, 0.9);
}
.motion-offer__title { margin: 0; font-family: var(--font-display); font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.5rem); font-weight: 500; line-height: 1.1; }
.motion-offer__title em { font-style: italic; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.motion-offer__text { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--on-dark-muted); }
.motion-offer__text strong { color: var(--on-dark); }
.motion-offer__list { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; font-size: 0.92rem; color: var(--on-dark); }
.motion-offer__list li { display: grid; grid-template-columns: 1.3rem 1fr; gap: 0.6rem; align-items: baseline; }
.motion-offer__list li::before { content: "✦"; color: var(--gold-300); font-size: 0.8rem; }
.motion-offer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin-top: 0.4rem; }
.motion-offer__actions .btn { flex: 1 1 14rem; min-height: 3.6rem; }
.motion-offer__skip {
  padding: 0.4rem 0;
  border: 0;
  background: none;
  color: var(--on-dark-muted);
  font-size: 0.85rem;
  text-decoration: underline;
  text-decoration-color: rgba(214, 179, 123, 0.35);
  text-underline-offset: 0.25em;
  cursor: pointer;
}
.motion-offer__skip:hover { color: var(--on-dark); }
.motion-offer__note { margin: 0; font-size: 0.75rem; color: var(--on-dark-faint); }

/* veľmi úzke telefóny: hlavička sa musí zmestiť (logo + zvuk + menu) */
@media (max-width: 380px) {
  .site-header__inner { gap: 0.75rem; }
  .brand { gap: 0.55rem; }
  .brand__mono, .is-scrolled .brand__mono { height: 2.2rem; }
  .brand__word { height: 0.62rem; }
  .header-actions { gap: 0.4rem; }
  .sound-toggle, .nav-toggle { width: 2.6rem; height: 2.6rem; min-height: 2.6rem; }
}

/* ======================================================================
   Fotografie zakladateľa: portrét, galéria kariéry, Instagram
   ====================================================================== */
.portrait__photo { object-position: 50% 50%; }
/* jemné zrno: profilová fotka je zväčšená z menšieho záberu, zrno zjemní jej mäkkosť */
.portrait__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.2;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.portrait__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 28, 39, 0) 68%, rgba(21, 28, 39, 0.4) 100%);
  pointer-events: none;
}

.career { margin-top: clamp(4.5rem, 9vw, 8rem); }
.career__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 2.4rem;
}
.career__head .h3 { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.75rem); font-weight: 500; }
.career__head p { max-width: 28rem; font-size: var(--fs-sm); color: var(--ink-muted); }
.career__strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}
.career__strip li:nth-child(even) { margin-top: 2.4rem; }
.career__item { margin: 0; }
.career__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ivory-200);
  box-shadow: 0 26px 50px -34px rgba(21, 28, 39, 0.65);
}
.career__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 1.1s var(--ease-out), filter 0.6s;
}
.career__item:hover .career__img img { transform: scale(1.05); filter: saturate(1.05); }
.career__item figcaption { margin-top: 0.95rem; font-size: 0.92rem; line-height: 1.45; color: var(--ink-soft); }
.career__kicker {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-700);
}

.insta-feed {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 4fr);
  gap: 1rem;
  align-items: stretch;
}
.insta-feed .insta-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.insta-feed .insta-grid li:nth-child(n + 4) { display: block; }
.insta-post--photo { border-color: var(--line-gold-strong); }
.insta-feature {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid var(--line-gold-strong);
  border-radius: var(--radius);
  background: var(--navy-800);
  color: var(--on-dark);
  text-decoration: none;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.85);
}
.insta-feature > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transform-origin: 45% 40%;
  animation: kenburns 18s ease-in-out infinite alternate;
}
.insta-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 14, 21, 0.7) 0%, rgba(10, 14, 21, 0) 24%, rgba(10, 14, 21, 0) 55%, rgba(10, 14, 21, 0.9) 100%);
}
.insta-feature__head {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.insta-feature__avatar {
  width: 2.9rem;
  height: 2.9rem;
  flex: none;
  padding: 2px;
  border-radius: 50%;
  background: var(--gold-grad);
}
.insta-feature__avatar img {
  width: 100%;
  height: 100%;
  border: 2px solid var(--navy-850);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 24%;
}
.insta-feature__id { display: grid; line-height: 1.25; }
.insta-feature__id strong { font-size: 0.92rem; font-weight: 800; }
.insta-feature__id small { font-size: 0.76rem; color: rgba(237, 233, 226, 0.82); }
.insta-feature__foot {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.7rem);
  font-weight: 500;
  line-height: 1.15;
}
.insta-feature__cta {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  flex: none;
  border-radius: 50%;
  background: var(--gold-grad);
  color: var(--navy-900);
  transition: transform 0.5s var(--ease-out);
}
.insta-feature:hover .insta-feature__cta { transform: rotate(-8deg) scale(1.08); }
@keyframes kenburns {
  from { transform: scale(1.04); }
  to { transform: scale(1.14) translate(-1.5%, -1.5%); }
}

@media (max-width: 1024px) {
  .career__strip {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 38%;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .career__strip::-webkit-scrollbar { display: none; }
  .career__strip li { scroll-snap-align: start; }
  .career__strip li:nth-child(even) { margin-top: 0; }
  .insta-feed { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .insta-feed .insta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .career__strip { grid-auto-columns: 68%; }
  .insta-feed { grid-template-columns: minmax(0, 1fr); }
  .insta-feature { min-height: 0; aspect-ratio: 4 / 5; }
  .insta-feed .insta-grid { grid-template-columns: none; }
}

/* hero: po odstránení objemu majetku zostali dve položky */
@media (min-width: 761px) {
  .hero .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
