/* ==========================================================================
   Prvý tanec — štýly (v3)
   1. Základ   2. Globálne vrstvy (preloader, kurzor, grain)   3. Header
   4. Hero     5. Sekcie   6. Formuláre   7. Pätička   8. Pohyb
   ========================================================================== */

:root {
  --bg: #0C0A0B;
  --bg-2: #120E10;
  --card: #1A1517;
  --card-2: #221B1E;
  --line: rgba(255, 240, 235, .09);
  --line-2: rgba(255, 240, 235, .16);
  --text: #F5EFEA;
  --muted: #A09692;
  --dim: #6E6562;
  --wine: #A3203A;
  --wine-hi: #C93A55;
  --sand: #E2CBAE;
  --ok: #7FB58A;
  --err: #FF7A85;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --r: 22px;
  --r-sm: 12px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

/* ===================== 1. Základ ===================== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
@media (prefers-reduced-motion: reduce) { html:not(.lenis) { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }

img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--wine); color: #fff; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
h2 { font-size: clamp(40px, 6vw, 92px); letter-spacing: -.05em; line-height: .95; }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.muted { color: var(--muted); }
.accent { color: var(--sand); font-weight: 300; font-style: italic; letter-spacing: -.06em; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.todo, .todo-num { background: rgba(226, 203, 174, .1); border-bottom: 1px dashed var(--sand); padding: 0 .15em; border-radius: 2px; }

.ulink { background: none; border: 0; padding: 0; cursor: pointer; color: var(--text); text-decoration: underline; text-decoration-color: var(--wine-hi); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s; }
.ulink:hover { color: var(--sand); }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--text); color: var(--bg);
  font: 500 15px/1 var(--sans); letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .4s var(--ease), transform .25s var(--ease), border-color .25s;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--wine-hi);
  clip-path: circle(0% at var(--mx, 50%) var(--my, 120%));
  transition: clip-path .55s var(--ease);
}
.btn:hover { color: #fff; }
.btn:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 120%)); }
.btn:active { transform: scale(.98); }
.btn-arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost::before { background: var(--text); }
.btn-ghost:hover { color: var(--bg); }
.btn-small { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent;
  cursor: pointer; font-size: 18px; transition: background .25s, color .25s, border-color .25s, opacity .25s;
}
.round-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.round-btn:disabled { opacity: .3; pointer-events: none; }

/* ===================== 2. Globálne vrstvy ===================== */

/* Preloader */
.preloader { display: none; }
.js.is-loading:not(.no-preloader) .preloader {
  display: flex; position: fixed; inset: 0; z-index: 900; background: #080607;
  flex-direction: column; justify-content: center; align-items: center;
}
.pl-center { display: grid; justify-items: center; gap: 18px; }
.pl-rings circle { fill: none; stroke-width: 1.4; stroke-dasharray: 82; stroke-dashoffset: 82; animation: plDraw 1.1s var(--ease) forwards; }
.pl-rings circle:first-child { stroke: var(--wine-hi); }
.pl-rings circle:last-child { stroke: var(--sand); animation-delay: .15s; }
@keyframes plDraw { to { stroke-dashoffset: 0; } }
.pl-word { margin: 0; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.05em; font-weight: 500; overflow: hidden; display: flex; gap: .25em; }
.pl-word span { display: inline-block; transform: translateY(110%); animation: rise .9s .25s var(--ease) forwards; }
.pl-word span + span { animation-delay: .35s; font-weight: 300; font-style: italic; color: var(--sand); }
.pl-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; display: flex; justify-content: space-between; color: var(--dim); }
.pl-count { color: var(--text); font-size: 14px; }
.pl-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.pl-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--wine), var(--wine-hi), var(--sand)); transform-origin: left; transform: scaleX(0); }

/* Pozastaviť hero animácie počas preloadera */
.js.is-loading:not(.no-preloader) .hero-title .line > span,
.js.is-loading:not(.no-preloader) .hero-lead,
.js.is-loading:not(.no-preloader) .hero-actions,
.js.is-loading:not(.no-preloader) .tag,
.js.is-loading:not(.no-preloader) .stories { animation-play-state: paused; }

/* Grain */
.grain {
  position: fixed; inset: -50%; z-index: 800; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Kurzor (len myš) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none; }
  .cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--text); mix-blend-mode: difference; }
  .cursor-ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(245,239,234,.35);
    display: grid; place-items: center;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, opacity .3s;
  }
  .cursor-label { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal; color: var(--bg); opacity: 0; transition: opacity .2s; white-space: nowrap; }
  .cursor.is-link .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--sand); }
  .cursor.has-label .cursor-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--sand); border-color: var(--sand); }
  .cursor.has-label .cursor-label { opacity: 1; }
  .cursor.has-label .cursor-dot { opacity: 0; }
  .cursor.is-down .cursor-ring { transform: scale(.85); }
  .cursor.is-hidden { opacity: 0; }
}

/* Scroll progress */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--wine), var(--wine-hi) 60%, var(--sand)); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 700; transform: translate(-50%, 24px);
  padding: 12px 18px; border-radius: 999px; background: var(--text); color: var(--bg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .45s var(--ease), opacity .3s, visibility .45s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ===================== 3. Header ===================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: transform .45s var(--ease); }
/* rozmazané pozadie je na pseudo-elemente, aby backdrop-filter neobmedzoval fixné mobilné menu */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(12, 10, 11, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .3s;
}
.site-header.scrolled::before { opacity: 1; }
.site-header.hide { transform: translateY(-100%); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -.03em; }
.logo-mark { color: var(--wine-hi); transition: transform .6s var(--ease); }
.logo:hover .logo-mark { transform: rotate(180deg); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-size: 14px; color: rgba(245,239,234,.78);
  transition: color .2s, background .2s;
}
.nav-no { font-family: var(--mono); font-size: 10px; color: var(--dim); }
.nav a:not(.btn):hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav a.active { color: var(--text); background: rgba(255,255,255,.08); }
.nav a.active .nav-no { color: var(--wine-hi); }
.nav .btn { margin-left: 10px; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
    background: rgba(255,255,255,.06); backdrop-filter: blur(12px); cursor: pointer; padding: 0; position: relative; z-index: 2;
  }
  .nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    padding: 96px var(--gutter) 40px;
    background: rgba(12,10,11,.97);
    clip-path: circle(0% at calc(100% - 38px) 38px); visibility: hidden;
    transition: clip-path .7s var(--ease-io), visibility .7s;
  }
  .nav.open { clip-path: circle(150% at calc(100% - 38px) 38px); visibility: visible; }
  .nav a:not(.btn) {
    font-size: clamp(36px, 10vw, 52px); letter-spacing: -.045em; color: var(--text);
    padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--line); gap: 14px;
    transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease);
  }
  .nav a:not(.btn):hover, .nav a.active { background: none; }
  .nav-no { font-size: 12px; }
  .nav.open a { transform: none; opacity: 1; }
  .nav.open a:nth-child(1) { transition-delay: .15s; } .nav.open a:nth-child(2) { transition-delay: .2s; }
  .nav.open a:nth-child(3) { transition-delay: .25s; } .nav.open a:nth-child(4) { transition-delay: .3s; }
  .nav.open a:nth-child(5) { transition-delay: .35s; } .nav.open a:nth-child(6) { transition-delay: .4s; }
  .nav .btn { margin: 32px 0 0; --h: 56px; }
}

/* ===================== 4. Hero (bez zmeny) ===================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #000; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease), transform 7s linear;
}
.hero-video.is-active { opacity: 1; transform: scale(1); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,10,11,.55) 0%, rgba(12,10,11,0) 22%, rgba(12,10,11,0) 45%, rgba(12,10,11,.85) 85%, var(--bg) 100%),
    linear-gradient(90deg, rgba(12,10,11,.6) 0%, rgba(12,10,11,0) 60%);
}
.hero-inner { width: 100%; padding-top: 140px; padding-bottom: clamp(32px, 5vw, 56px); }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13px; margin-bottom: 28px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wine-hi); box-shadow: 0 0 0 0 rgba(201,58,85,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(201,58,85,0); } 100% { box-shadow: 0 0 0 0 rgba(201,58,85,0); } }

.hero-title { font-size: clamp(52px, 10.5vw, 168px); font-weight: 500; letter-spacing: -.055em; line-height: .9; margin-bottom: clamp(28px, 4vw, 48px); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }

.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero-lead { max-width: 30em; font-size: clamp(16px, 1.4vw, 18px); color: rgba(245,239,234,.82); margin: 0; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-lead, .hero-actions, .tag, .stories { opacity: 0; animation: fade .9s .45s var(--ease) forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.stories { margin-top: clamp(32px, 5vw, 56px); }
.stories-bars { display: flex; gap: 6px; }
.stories-bars button { flex: 1; height: 18px; padding: 8px 0; border: 0; background: none; cursor: pointer; }
.stories-bars button i { display: block; height: 2px; background: rgba(255,255,255,.22); border-radius: 2px; overflow: hidden; }
.stories-bars button i b { display: block; height: 100%; width: 100%; background: var(--text); transform-origin: left; transform: scaleX(0); }
.stories-bars button.done i b { transform: scaleX(1); }
.stories-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; color: rgba(245,239,234,.7); }
.stories-toggle { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); display: grid; place-items: center; cursor: pointer; }
.stories-toggle .i-play, .stories-toggle[aria-pressed="true"] .i-pause { display: none; }
.stories-toggle[aria-pressed="true"] .i-play { display: block; }

.scroll-cue { position: absolute; right: var(--gutter); top: 50%; width: 1px; height: 64px; background: rgba(255,255,255,.2); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--text); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 700px) { .scroll-cue { display: none; } .hero-actions { width: 100%; } .hero-actions .btn { flex: 1; } }

/* ===================== 5. Sekcie ===================== */

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg); }
.marquee-track { display: flex; width: max-content; will-change: transform; animation: marquee 60s linear infinite; }
.js-marquee .marquee-track { animation: none; }
.marquee-group { display: flex; align-items: center; gap: 22px; padding-right: 22px; }
.mq-item {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 10px 18px 10px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-size: clamp(15px, 1.25vw, 18px); letter-spacing: -.01em; color: var(--text);
}
.mq-item b { font-weight: 500; color: var(--sand); background: rgba(226,203,174,.1); padding: 5px 9px; border-radius: 999px; }
.marquee i { font-style: normal; color: var(--wine-hi); font-size: 12px; display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.section { padding: clamp(96px, 13vw, 200px) 0; position: relative; }
.kicker { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); margin-bottom: 28px; }
.kicker span { color: var(--wine-hi); }
.section-head { margin-bottom: clamp(48px, 6vw, 88px); max-width: 980px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.section-head.row .section-sub { margin: 0; max-width: 26em; }
.section-sub { margin-top: 28px; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); max-width: 38em; }

/* About */
.about-head { max-width: 1100px; }
.statement { font-size: clamp(32px, 5vw, 80px); line-height: 1; letter-spacing: -.05em; }
.statement .w { color: rgba(245,239,234,.14); transition: color .35s; }
.statement .w.on { color: var(--text); }

.about-grid { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(48px, 8vw, 140px); margin-top: clamp(72px, 10vw, 160px); align-items: start; }
.about-media { position: sticky; top: 110px; padding: 0 0 18% 0; }
.about-photo {
  display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: var(--card);
  position: relative; aspect-ratio: 4 / 5.2; border-radius: var(--r); overflow: hidden; isolation: isolate;
}
.about-photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.9); }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(12,10,11,.55)); pointer-events: none; }
.about-photo:hover img { filter: saturate(1.05); }
.about-photo-sm {
  position: absolute; left: -9%; bottom: 0; width: 46%; margin: 0; aspect-ratio: 3 / 4;
  border-radius: 16px; overflow: hidden; border: 6px solid var(--bg); box-shadow: 0 30px 80px rgba(0,0,0,.55);
  transform: rotate(-4deg); transition: transform .8s var(--ease);
}
.about-media:hover .about-photo-sm { transform: rotate(-1deg) translateY(-6px); }
.about-photo-sm img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-sm figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px; background: rgba(12,10,11,.7); backdrop-filter: blur(8px); color: var(--sand); font-size: 10px; }
.about-sticker {
  position: absolute; right: -40px; top: 32px; width: 132px; height: 132px; border-radius: 50%; z-index: 2;
  background: var(--wine); display: grid; place-items: center; box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.about-sticker svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 18s linear infinite; }
.about-sticker text { font: 500 9.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; fill: #fff; }
.about-sticker b { font-size: 28px; letter-spacing: -.04em; font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }

.about-copy { padding-top: clamp(0px, 3vw, 40px); }
.about-hello { color: var(--sand); margin-bottom: 18px; }
.about-name { font-size: clamp(52px, 6.4vw, 108px); letter-spacing: -.06em; line-height: .92; margin-bottom: 20px; }
.about-role { color: var(--muted); margin-bottom: 40px; line-height: 1.7; }
.lead-lg { font-size: clamp(21px, 2vw, 30px); line-height: 1.3; letter-spacing: -.03em; color: var(--text); margin-bottom: 40px; max-width: 26em; }

.about-creds { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line); }
.about-creds li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.about-creds .mono { color: var(--dim); padding-top: 3px; }

.about-tags { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.about-tags li { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: rgba(245,239,234,.85); }
.about-tags li.is-fav { background: linear-gradient(120deg, var(--wine), #6E1426); border-color: var(--wine-hi); color: #fff; padding-left: 6px; }
.about-tags li.is-fav .mono { font-size: 9px; padding: 5px 9px; border-radius: 999px; background: rgba(0,0,0,.28); color: var(--sand); }

.about-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
.stat { padding: 28px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat-num { display: block; font-size: clamp(48px, 5vw, 80px); letter-spacing: -.06em; line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .4em; color: var(--wine-hi); margin-left: 2px; letter-spacing: -.02em; }
.stat-label { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.stat-bar { display: block; height: 2px; background: var(--line); margin-top: 18px; border-radius: 2px; overflow: hidden; }
.stat-bar i { display: block; height: 100%; background: var(--wine-hi); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .2s; }
.stat.in .stat-bar i, .no-motion .stat-bar i { transform: scaleX(var(--v)); }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { position: relative; top: 0; width: min(100%, 520px); margin: 0 auto 24px; padding-bottom: 22%; }
  .about-photo-sm { left: -4%; width: 44%; }
  .about-sticker { right: -8px; top: 16px; width: 104px; height: 104px; }
  .about-sticker b { font-size: 22px; }
}
@media (max-width: 480px) {
  .about-creds li { grid-template-columns: 1fr; gap: 4px; }
  .stat { padding-right: 10px; } .stat + .stat { padding-left: 12px; } .stat-label { font-size: 12px; }
}

/* Celý príbeh — okno cez celú obrazovku */
.story {
  position: fixed; inset: 0; z-index: 970; background: #0A0809; color: var(--text);
  display: flex; flex-direction: column;
  clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%));
  transition: clip-path .9s var(--ease-io);
}
.story.is-open { clip-path: circle(150vmax at var(--ox, 50%) var(--oy, 50%)); }
.story-progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3; }
.story-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--wine), var(--wine-hi), var(--sand)); transform-origin: left; transform: scaleX(0); }
.story-top {
  position: relative; z-index: 2; flex-shrink: 0; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--gutter); border-bottom: 1px solid var(--line); background: rgba(10,8,9,.85);
}
.story-brand { color: var(--muted); }
.story-brand i { font-style: normal; color: var(--wine-hi); margin: 0 6px; }
.story-index { display: flex; gap: 4px; }
.story-index button { height: 32px; min-width: 40px; padding: 0 10px; border-radius: 999px; border: 0; background: none; color: var(--dim); cursor: pointer; font: inherit; transition: color .3s, background .3s; }
.story-index button:hover { color: var(--text); }
.story-index button.is-active { color: var(--bg); background: var(--text); }
.story-close { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 8px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.story-close i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--text); }
.story-close i::before, .story-close i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--bg); transform: rotate(45deg); transition: transform .4s var(--ease); }
.story-close i::after { transform: rotate(-45deg); }
.story-close:hover i::before { transform: rotate(135deg); }
.story-close:hover i::after { transform: rotate(45deg); }

.story-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--wine) transparent; }

.story-hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(64px, 12vh, 140px) var(--gutter) clamp(64px, 10vh, 120px); }
.story-hero h2 { font-size: clamp(52px, 9vw, 156px); letter-spacing: -.065em; line-height: .9; margin-bottom: 40px; }
.story-intro { font-size: clamp(22px, 2.4vw, 36px); line-height: 1.25; letter-spacing: -.03em; max-width: 22em; color: rgba(245,239,234,.85); }
.story-scrollhint { display: inline-block; margin-top: 40px; color: var(--dim); animation: bob 2s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

.story-body { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.story-media { position: sticky; top: 24px; height: calc(100svh - 72px - 48px); align-self: start; }
.story-frame { position: relative; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--card); }
.story-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.story-frame img.is-active { opacity: 1; transform: none; }
.story-cap { position: absolute; left: 18px; bottom: 18px; padding: 7px 12px; border-radius: 999px; background: rgba(10,8,9,.7); color: var(--muted); }
.story-cap b { color: var(--text); font-weight: 500; }

.chapter { min-height: 82svh; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; opacity: .22; transition: opacity .7s var(--ease); }
.chapter.is-active { opacity: 1; }
.ch-no { color: var(--wine-hi); margin-bottom: 20px; }
.chapter h3 { font-size: clamp(36px, 4.4vw, 68px); letter-spacing: -.055em; line-height: .98; margin-bottom: 28px; }
.chapter p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: rgba(245,239,234,.78); max-width: 32em; }
.ch-img { display: none; }
.ch-tech { list-style: none; padding: 0; margin: 8px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.ch-tech li { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; }
.ch-passion { padding: 22px 24px; border-radius: 16px; background: linear-gradient(130deg, rgba(163,32,58,.35), rgba(163,32,58,.08)); border: 1px solid rgba(201,58,85,.35); }
.ch-passion strong { color: var(--sand); font-weight: 500; }
.ch-quote { margin: 12px 0 32px; padding: 0 0 0 28px; border-left: 2px solid var(--wine-hi); }
.chapter .ch-quote p { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.22; letter-spacing: -.035em; color: var(--text); }
.chapter .ch-sign { font-size: clamp(36px, 3.4vw, 52px); font-weight: 300; font-style: italic; letter-spacing: -.05em; color: var(--sand); margin-top: 12px; }

.story-gallery { max-width: var(--wrap); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter) 0; }
.sg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.sg-head h3 { font-size: clamp(32px, 3.6vw, 56px); letter-spacing: -.05em; }
.sg-grid { columns: 3 260px; column-gap: 12px; }
.sg-grid img { width: 100%; margin: 0 0 12px; border-radius: 14px; break-inside: avoid; filter: saturate(.85); transition: filter .5s; }
.sg-grid img:hover { filter: none; }

.story-cta { max-width: var(--wrap); margin: 0 auto; padding: clamp(96px, 12vw, 180px) var(--gutter); text-align: center; }
.story-cta .mono { color: var(--sand); margin-bottom: 20px; }
.story-cta h3 { font-size: clamp(40px, 6vw, 96px); letter-spacing: -.06em; line-height: .95; max-width: 12ch; margin: 0 auto 40px; }
.story-cta-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .story-body { grid-template-columns: 1fr; }
  .story-media { display: none; }
  .chapter { min-height: 0; opacity: 1; padding: 40px 0; border-top: 1px solid var(--line); }
  .ch-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; margin-bottom: 24px; }
  .chapter[data-ch="1"] .ch-img, .chapter[data-ch="5"] .ch-img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
}
@media (max-width: 640px) {
  .story-index { display: none; }
  .story-brand { font-size: 10px; }
  .story-close .mono { display: none; }
  .story-close { padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) { .story { transition: none; } }

/* Moment — video expand */
.moment { position: relative; background: var(--bg); }
.moment-pin { position: relative; height: 100svh; overflow: hidden; display: flex; align-items: flex-end; }
.moment-frame { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 0 round 0px); will-change: clip-path; }
.moment-frame video { width: 100%; height: 100%; object-fit: cover; }
.moment-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,11,.3), rgba(12,10,11,.1) 40%, rgba(12,10,11,.8)); }
.moment-copy { position: relative; width: 100%; padding-bottom: clamp(88px, 12vh, 140px); }
.moment-kicker { color: var(--sand); margin-bottom: 20px; }
.moment-title { font-size: clamp(40px, 7.4vw, 124px); letter-spacing: -.055em; line-height: .92; max-width: 14ch; }
.moment-time { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 14px; color: rgba(245,239,234,.7); }
.mt-bar { flex: 1; height: 2px; background: rgba(255,255,255,.2); border-radius: 2px; overflow: hidden; }
.mt-bar i { display: block; height: 100%; background: var(--text); transform-origin: left; transform: scaleX(0); }

/* Pre koho */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.who {
  position: relative; aspect-ratio: 3 / 4.3; border-radius: var(--r); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); isolation: isolate;
}
.who video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .22; filter: grayscale(1) contrast(1.1); transform: scale(1.08); transition: opacity .7s var(--ease), filter .7s var(--ease), transform 1.2s var(--ease); }
.who::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,10,11,.2), rgba(12,10,11,.92) 75%); }
.who:hover video, .who.is-playing video { opacity: 1; filter: none; transform: scale(1); }
.who-body { position: absolute; inset: auto 24px 26px 24px; }
.who-no { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); margin-bottom: 18px; color: var(--sand); transition: background .4s, color .4s, border-color .4s; }
.who:hover .who-no { background: var(--wine-hi); border-color: var(--wine-hi); color: #fff; }
.who h3 { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.035em; margin-bottom: 12px; }
.who p { font-size: 15px; color: rgba(245,239,234,.72); margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s var(--ease); }
.who:hover p, .who:focus-within p { max-height: 8em; opacity: 1; }
@media (hover: none), (max-width: 1100px) { .who p { max-height: none; opacity: 1; } .who video { opacity: .5; filter: none; } }
@media (max-width: 1100px) { .who-grid { grid-template-columns: 1fr 1fr; } .who { aspect-ratio: 4 / 4.4; } }
@media (max-width: 560px) { .who-grid { grid-template-columns: 1fr; } .who { aspect-ratio: auto; min-height: 340px; } }

/* Priebeh — jednoduchá mriežka krokov */
.process { background: var(--bg-2); border-block: 1px solid var(--line); }
.process-top h2 { max-width: 12ch; }
.process-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pstep {
  position: relative; display: flex; flex-direction: column; gap: 0;
  padding: 16px 16px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease);
}
.pstep:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pstep-no {
  position: absolute; left: 28px; top: 28px; z-index: 2; pointer-events: none;
  padding: 6px 10px; border-radius: 999px; background: rgba(12,10,11,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text);
}
.pstep-img { position: relative; z-index: 1; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--card-2); }
.pstep-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); filter: saturate(.85); }
.pstep:hover .pstep-img img { transform: scale(1); }
.pstep-body { position: relative; z-index: 1; padding: 20px 8px 0; }
.pstep h3 { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.035em; line-height: 1.1; margin: 14px 0 10px; }
.pstep p { color: var(--muted); margin: 0; font-size: 15px; }
.step-meta { display: inline-block; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--sand); }
.pstep-cta { align-items: flex-start; justify-content: center; gap: 20px; padding: 28px 24px; background: linear-gradient(150deg, #3A0F1A, var(--card) 70%); border-color: rgba(201,58,85,.3); min-height: 220px; }
.pstep-cta p { margin: 0; color: var(--sand); }

@media (max-width: 1024px) { .process-track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .process-track { grid-template-columns: 1fr; }
  .process-top { flex-direction: column; align-items: flex-start; }
}

/* Kalkulačka */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-controls, .calc-result { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3.5vw, 48px); }
.calc-controls { display: grid; gap: 32px; align-content: start; }
.calc-result { position: relative; overflow: hidden; background: linear-gradient(160deg, #2A0F17 0%, var(--card) 55%); border-color: rgba(201,58,85,.25); display: flex; flex-direction: column; gap: 18px; }
.calc-result::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(201,58,85,.35), transparent 65%); pointer-events: none; }

.ctl { display: grid; gap: 12px; }
.ctl-label { font-size: 14px; color: var(--muted); }
.ctl-row { display: flex; justify-content: space-between; align-items: baseline; }
.ctl-row output { font-size: 22px; color: var(--text); letter-spacing: -.02em; text-transform: none; }

.ctl input[type="date"] {
  height: 56px; padding: 0 16px; border-radius: var(--r-sm);
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
  font: 400 16px var(--sans); color-scheme: dark; width: 100%;
}
.ctl input[type="date"]:focus { outline: none; border-color: var(--wine-hi); }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; cursor: pointer; --p: 42.857%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--wine-hi) var(--p), var(--line-2) var(--p)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--wine-hi); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--text); border: 5px solid var(--wine-hi); box-shadow: 0 0 0 6px rgba(201,58,85,.18); transition: transform .2s; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--text); border: 5px solid var(--wine-hi); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.range-scale { display: flex; justify-content: space-between; color: var(--dim); font-size: 11px; }

.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-2); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 12px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: background .3s var(--ease), color .3s; }
.seg input:checked + span { background: var(--text); color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }

.included { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 24px; }
.included li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: rgba(245,239,234,.85); }
.included li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: rgba(201,58,85,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23E2CBAE' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

.res-top { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.res-label { display: block; font-size: 13px; color: var(--muted); }
.res-big { display: block; font-size: clamp(48px, 5.4vw, 84px); letter-spacing: -.06em; line-height: 1.05; font-weight: 500; font-variant-numeric: tabular-nums; }
.res-top > div:last-child .res-big { color: var(--sand); }
.res-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--muted); }
.res-row strong { color: var(--text); font-weight: 500; font-size: 18px; font-variant-numeric: tabular-nums; }

.timeline-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.timeline-bars { display: flex; gap: 4px; }
.timeline-bars span { flex: 1; height: 32px; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid var(--line); position: relative; overflow: hidden; }
.timeline-bars span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--wine-hi), var(--wine)); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.timeline-bars.run span::after { transform: scaleY(1); }
.timeline-bars span.half::after { background: linear-gradient(180deg, rgba(201,58,85,.6), rgba(163,32,58,.6)); }

.meter { position: relative; height: 8px; border-radius: 8px; background: rgba(255,255,255,.07); }
.meter span { position: absolute; inset: 0 auto 0 0; border-radius: 8px; background: var(--ok); width: 0; transition: width .7s var(--ease), background .3s; }
.readiness.warn .meter span { background: #E3A65B; }
.readiness.bad .meter span { background: var(--err); }
.ready-msg { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.ready-msg strong { color: var(--text); font-weight: 500; }
.res-note { font-size: 13px; color: var(--dim); margin: auto 0 0; padding-top: 8px; }

@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* Videá — reel */
.reel-tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.reel-arrows { display: flex; gap: 8px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; transition: all .3s var(--ease); }
.chip sup { font: 500 10px var(--mono); margin-left: 2px; color: var(--wine-hi); }
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }

.reel { overflow: hidden; cursor: grab; touch-action: pan-y; }
.reel.dragging { cursor: grabbing; }
.reel-track {
  display: flex; gap: 16px; width: max-content; will-change: transform;
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding-right: var(--gutter);
}
.vcard {
  position: relative; flex-shrink: 0; width: clamp(260px, 25vw, 380px); aspect-ratio: 9 / 14;
  border-radius: var(--r); overflow: hidden; background: var(--card); user-select: none;
}
.vcard:nth-child(even) { margin-top: 56px; }
.vcard.is-hidden { display: none; }
.vcard video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .9s var(--ease), filter .6s; filter: saturate(.8) brightness(.8); pointer-events: none; }
.vcard:hover video { transform: scale(1); filter: none; }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12,10,11,.9)); pointer-events: none; }
.vcard-info { position: absolute; left: 22px; right: 22px; bottom: 26px; z-index: 2; pointer-events: none; }
.vcard-info .mono { color: var(--sand); }
.vcard-info h3 { font-size: 21px; margin-top: 8px; }
.vcard-progress { position: absolute; left: 22px; right: 22px; bottom: 14px; height: 2px; background: rgba(255,255,255,.2); border-radius: 2px; z-index: 2; overflow: hidden; }
.vcard-progress span { display: block; height: 100%; width: 100%; background: var(--text); transform-origin: left; transform: scaleX(0); }
.vcard-open { position: absolute; inset: 0; z-index: 3; background: none; border: 0; cursor: inherit; }
.vcard-open::before {
  content: ""; position: absolute; right: 18px; top: 18px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(12,10,11,.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 3v10l8-5z' fill='%23F5EFEA'/%3E%3C/svg%3E") 55% center / 14px no-repeat;
  backdrop-filter: blur(8px); border: 1px solid var(--line-2);
}
.has-cursor .vcard-open::before { opacity: 0; }

.reel-foot { display: flex; align-items: center; gap: 24px; margin-top: 40px; }
.reel-bar { flex: 1; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.reel-bar span { display: block; height: 100%; width: 100%; background: var(--text); transform-origin: left; transform: scaleX(0); }
.reel-count { color: var(--muted); }
@media (max-width: 640px) { .vcard { width: 72vw; } .vcard:nth-child(even) { margin-top: 0; } .reel-arrows { display: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 960; background: rgba(5,4,4,.95); backdrop-filter: blur(16px); display: grid; place-items: center; padding: 64px var(--gutter) 32px; animation: fade .35s var(--ease); }
.lb-stage { width: min(1100px, 100%); }
.lb-stage video { width: 100%; max-height: 74vh; border-radius: var(--r); background: #000; object-fit: contain; }
.lb-controls { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.lb-play { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--text); color: var(--bg); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.lb-play .i-play, .lb-play.paused .i-pause { display: none; }
.lb-play.paused .i-play { display: block; }
.lb-seek { flex: 1; height: 24px; position: relative; cursor: pointer; }
.lb-seek::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); }
.lb-seek span { position: absolute; left: 0; top: 11px; height: 3px; width: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--wine-hi), var(--sand)); transform-origin: left; transform: scaleX(0); }
.lb-time { color: var(--muted); min-width: 84px; text-align: right; }
.lb-title { color: var(--muted); font-size: 14px; max-width: 30%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-close, .lb-nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); cursor: pointer; font-size: 16px; transition: background .25s, color .25s; }
.lb-close:hover, .lb-nav:hover { background: var(--text); color: var(--bg); }
.lb-close { top: 16px; right: 16px; }
.lb-nav { top: 50%; margin-top: -24px; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
@media (max-width: 700px) { .lb-nav { top: auto; bottom: 16px; } .lb-title { display: none; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 140px); }
.faq-side { position: sticky; top: 120px; align-self: start; }
.faq h2 { margin-bottom: 36px; }
.faq-search { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); margin-bottom: 24px; color: var(--muted); transition: border-color .2s; }
.faq-search:focus-within { border-color: var(--wine-hi); }
.faq-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: var(--text); font: 400 15px var(--sans); }
.faq-search input::placeholder { color: var(--dim); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; position: relative;
  display: flex; gap: 20px; align-items: center;
  padding: 28px 0; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.025em;
  transition: color .2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.acc-no { color: var(--dim); flex-shrink: 0; width: 28px; transition: color .3s; }
.acc-q { flex: 1; }
.accordion summary:hover { color: var(--sand); }
.accordion details[open] .acc-no { color: var(--wine-hi); }
.accordion summary i { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); flex-shrink: 0; transition: background .3s, border-color .3s, transform .5s var(--ease); }
.accordion summary i::before, .accordion summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.accordion summary i::after { transform: rotate(90deg); }
.accordion details[open] summary i { background: var(--wine); border-color: var(--wine); transform: rotate(180deg); }
.accordion details[open] summary i::after { transform: rotate(0); }
.acc-body { overflow: hidden; }
.acc-body p { color: var(--muted); margin: 0; padding: 0 56px 30px 48px; max-width: 42em; font-size: 16px; }
mark { background: rgba(201,58,85,.35); color: var(--text); border-radius: 3px; padding: 0 2px; }
.faq-empty { padding: 28px 0; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } .acc-body p { padding: 0 0 26px 48px; } }

/* Kontakt */
.contact { overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg video { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(.4); }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(12,10,11,.7) 35%, rgba(12,10,11,.85) 100%); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info h2 { font-size: clamp(56px, 6.6vw, 108px); letter-spacing: -.06em; margin-bottom: 28px; }
.contact-info .muted { font-size: 17px; max-width: 26em; }
.email-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 32px 0 40px; }
.contact-email { display: inline-block; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -.04em; text-decoration: none; background: linear-gradient(var(--sand), var(--sand)) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; padding-bottom: 4px; }
.contact-email:hover { background-size: 100% 1px; color: var(--sand); }
.copy-btn { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--muted); transition: all .25s; }
.copy-btn:hover { color: var(--bg); background: var(--text); border-color: var(--text); }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .mono { color: var(--dim); padding-top: 3px; }
.contact-list a { text-decoration: none; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 10px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(127,181,138,.6); animation: pulseOk 2.2s infinite; }
@keyframes pulseOk { 70% { box-shadow: 0 0 0 8px rgba(127,181,138,0); } 100% { box-shadow: 0 0 0 0 rgba(127,181,138,0); } }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-list li { grid-template-columns: 100px 1fr; } }

.panel { background: rgba(26,21,23,.82); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--line-2); border-radius: 28px; padding: clamp(20px, 3.5vw, 44px); }

.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 32px; }
.tabs button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; height: 46px; border-radius: 999px; font-size: 15px; color: var(--muted); transition: color .4s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.tabs button[aria-selected="true"] { color: var(--bg); }
.tab-hint { font-size: 10px; opacity: .7; }
.tabs-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--text); transition: transform .55s var(--ease); }
.tabs.second .tabs-pill { transform: translateX(100%); }
@media (max-width: 420px) { .tab-hint { display: none; } }

/* ===================== 6. Formuláre ===================== */
.form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.field { position: relative; display: block; min-width: 0; }
.field input, .field textarea {
  width: 100%; display: block;
  background: rgba(12,10,11,.6); color: var(--text);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font: 400 16px/1.4 var(--sans);
  padding: 26px 16px 10px; min-height: 60px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none; color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 128px; padding-top: 30px; }
.field > span {
  position: absolute; left: 17px; top: 19px; pointer-events: none;
  font-size: 16px; color: var(--muted); transform-origin: left top;
  transition: transform .25s var(--ease), color .2s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 32px);
}
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field-date > span { transform: translateY(-11px) scale(.78); color: var(--sand); max-width: calc(128% - 40px); }
.field input:hover, .field textarea:hover { border-color: rgba(255,240,235,.28); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine-hi); background: rgba(12,10,11,.85); box-shadow: 0 0 0 4px rgba(201,58,85,.15); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.85); cursor: pointer; }

.counter { position: absolute; right: 14px; bottom: 10px; color: var(--dim); font-size: 10px; font-style: normal; }
.field.invalid input, .field.invalid textarea { border-color: var(--err); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.error-msg { display: block; font-size: 13px; color: var(--err); margin-top: 6px; }

.q { display: grid; gap: 12px; }
.q-label { font-size: 14px; color: var(--muted); }
.q-label em { font-style: normal; color: var(--dim); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(12,10,11,.5);
  font-size: 14px; transition: all .25s var(--ease); user-select: none;
}
.choices label:hover span { border-color: rgba(255,240,235,.35); }
.choices input:checked + span { background: var(--wine); border-color: var(--wine-hi); color: #fff; }
.choices input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }
.choices.days span { width: 48px; justify-content: center; padding: 0; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; margin-top: 4px; }
.check input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(12,10,11,.6); flex-shrink: 0; cursor: pointer; transition: all .2s; }
.check input:checked { background: var(--wine-hi) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--wine-hi); }
.check.invalid input { border-color: var(--err); }
.check.invalid span { color: var(--err); }

.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-status { margin: 0; font-size: 14px; }
.form-status:empty { display: none; }
.form-status.err { color: var(--err); }

.wizard-progress { margin-bottom: 8px; }
.wizard-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; color: var(--dim); font-size: 11px; margin-bottom: 10px; }
.wizard-steps span { transition: color .3s; white-space: nowrap; }
.wizard-steps span.is-active, .wizard-steps span.done { color: var(--text); }
.wizard-steps span.done::before { content: "✓ "; color: var(--wine-hi); }
@media (max-width: 480px) { .wizard-steps { font-size: 10px; letter-spacing: 0; } .wizard-steps span.done::before { content: ""; } }
.wizard-bar { height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.wizard-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--wine), var(--wine-hi), var(--sand)); transform-origin: left; transform: scaleX(.25); transition: transform .6s var(--ease); }

.wstep { border: 0; padding: 0; margin: 0; display: grid; gap: 20px; min-width: 0; }
.wstep.is-active { animation: stepIn .5s var(--ease); }
.wstep.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
legend { font-size: clamp(28px, 2.8vw, 38px); letter-spacing: -.045em; padding: 0; margin: 12px 0 20px; }
.wizard-nav { justify-content: space-between; }
.wizard-nav [data-next], .wizard-nav [data-submit] { margin-left: auto; }

.form-success { padding: 24px 0 8px; animation: stepIn .5s var(--ease); }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--wine); display: grid; place-items: center; margin-bottom: 24px; }
.success-icon svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: clamp(30px, 3vw, 42px); letter-spacing: -.045em; margin-bottom: 12px; }
.form-success p { color: var(--muted); }
.form-success a { color: var(--sand); }

/* ===================== 7. Pätička ===================== */
.site-footer { border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) 0 32px; overflow: hidden; }
.footer-big {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: clamp(44px, 10.5vw, 180px); letter-spacing: -.065em; line-height: .9; font-weight: 500;
  text-decoration: none; padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line);
}
.fb-text { display: inline-flex; flex-wrap: wrap; }
.fb-text .wd { display: inline-flex; white-space: nowrap; }
.fb-text .ch { display: inline-block; transition: transform .6s var(--ease), color .4s; white-space: pre; }
.footer-big:hover .ch { color: var(--sand); }
.fb-arrow { font-weight: 300; color: var(--wine-hi); transition: transform .6s var(--ease); flex-shrink: 0; }
.footer-big:hover .fb-arrow { transform: translateX(16px) rotate(-45deg); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; color: var(--muted); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a, .to-top { text-decoration: none; transition: color .2s; }
.footer-nav a:hover, .to-top:hover { color: var(--text); }

/* Mobilné CTA */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta {
    display: inline-flex; position: fixed; z-index: 90; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .mobile-cta.show { transform: none; }
  .site-footer { padding-bottom: 96px; }
}

/* ===================== 8. Pohyb — počiatočné stavy (len keď beží GSAP) ===================== */
.js:not(.no-motion) [data-fade] { opacity: 0; transform: translateY(40px); }
.js:not(.no-motion) [data-lines] { visibility: hidden; }
.split-line { padding-bottom: .08em; margin-bottom: -.08em; }

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