/* ═══════════════════════════════════════════════════════════
   damikvfx — portfolio
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --panel: rgba(255, 255, 255, .028);
  --panel-2: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f1f1f1;
  --muted: rgba(241, 241, 241, .56);
  --dim: rgba(241, 241, 241, .32);
  --live: #5ee08a;

  --display: 'Unbounded', 'Arial Black', sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --r: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
svg { width: 1em; height: 1em; flex: none; }
[hidden] { display: none !important; }
::selection { background: #fff; color: #000; }
:focus { outline: none; }
.kbd :focus-visible { outline: 1.5px solid #fff; outline-offset: 3px; border-radius: 6px; }
.paused, .paused * { animation-play-state: paused !important; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* ─── Background ─────────────────────────────────────── */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 80% at 50% -10%, #1c1c1c 0%, var(--bg) 55%); }
.bg__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .45; -webkit-mask-image: radial-gradient(90% 70% at 50% 30%, #000 30%, transparent 100%); mask-image: radial-gradient(90% 70% at 50% 30%, #000 30%, transparent 100%); }
.bg__spot { position: absolute; left: 0; top: 0; width: 700px; height: 700px; margin: -350px 0 0 -350px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.06), transparent 60%); transform: translate3d(50vw, 30vh, 0); will-change: transform; }
.bg__noise { position: absolute; inset: 0; opacity: .05; 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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ─── Intro ──────────────────────────────────────────── */
.intro { position: fixed; inset: 0; z-index: 300; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), visibility 0s 1s; }
.intro.is-out { opacity: 0; transform: scale(1.04); visibility: hidden; }
.no-intro .intro { display: none; }
.intro__icons { display: flex; gap: 14px; margin-bottom: 28px; }
.intro__icons span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); opacity: 0; transform: scale(.6) translateY(10px); animation: iconIn .7s var(--ease-out) forwards; }
.intro__icons span:nth-child(2) { animation-delay: .1s } .intro__icons span:nth-child(3) { animation-delay: .2s }
.intro__icons svg { width: 20px; height: 20px; }
@keyframes iconIn { to { opacity: 1; transform: none; } }
.intro__l1, .intro__l2 { margin: 0; font: 700 clamp(30px, 5.4vw, 64px)/1.15 var(--display); letter-spacing: -.02em; }
.intro { --load: 0; }
.intro__l2 { color: transparent; background: linear-gradient(180deg, #a5a5a5, #4a4a4a); -webkit-background-clip: text; background-clip: text; filter: blur(calc((1 - var(--load)) * 18px)); opacity: calc(.12 + var(--load) * .88); letter-spacing: calc((1 - var(--load)) * .18em - .02em); transform: scale(calc(1.06 - var(--load) * .06)); }
.intro__bar { width: 180px; height: 1px; margin-top: 26px; background: rgba(255,255,255,.12); overflow: hidden; }
.intro__bar i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--load)); }
.intro__pct { margin: 10px 0 0; font-size: 11px; color: var(--dim); font-variant-numeric: tabular-nums; }
.intro__url { margin: 22px 0 0; font: 400 12px var(--mono); color: var(--dim); opacity: 0; animation: fade .8s 1.3s forwards; }
@keyframes fade { to { opacity: 1; } }
.ch { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.3em); }
.ch.is-in { opacity: 1; filter: none; transform: none; transition: opacity .6s var(--ease-out), filter .7s var(--ease-out), transform .7s var(--ease-out); }

/* ─── Nav ────────────────────────────────────────────── */
.nav { position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 24px), 1180px); height: 58px; display: flex; align-items: center; gap: 14px; padding: 0 8px 0 22px; border-radius: 16px; background: rgba(12,12,12,.86); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: inset 0 0 0 1px var(--line), 0 10px 40px -20px rgba(0,0,0,.8); transition: transform .5s var(--ease-out); }
.nav__logo { margin-right: auto; font: 500 15px var(--mono); letter-spacing: .02em; }
.nav__logo span { color: var(--dim); }
.nav__links { position: relative; display: flex; gap: 4px; }
.nav__links a { position: relative; padding: 8px 12px; font: 400 13.5px var(--mono); color: var(--muted); transition: color .25s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__ind { position: absolute; left: 0; bottom: 2px; height: 1.5px; width: 0; background: var(--text); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }
.lang { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 8px; border-radius: 12px; font: 500 12px var(--mono); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, transform .16s var(--ease-out); perspective: 300px; }
.lang:hover { background: var(--panel-2); color: var(--text); }
.lang:active { transform: scale(.96); }
.lang__coin { position: relative; width: 22px; height: 22px; transform-style: preserve-3d; transition: transform .7s var(--ease-io); }
.lang__coin > * { position: absolute; inset: 0; width: 22px; height: 22px; border-radius: 50%; object-fit: cover; backface-visibility: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.lang__en { transform: rotateY(180deg); }
.lang.is-en .lang__coin { transform: rotateY(180deg); }
.nav__burger { display: none; position: relative; width: 42px; height: 42px; border-radius: 12px; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
.nav__burger span:first-child { top: 17px } .nav__burger span:last-child { top: 24px }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 var(--gutter); background: rgba(6,6,6,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .4s; }
.menu a { font: 700 clamp(34px, 9vw, 56px)/1.2 var(--display); letter-spacing: -.02em; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease-out); }
.menu.is-open a { opacity: 1; transform: none; }
.menu.is-open a:nth-child(2) { transition-delay: .05s } .menu.is-open a:nth-child(3) { transition-delay: .1s } .menu.is-open a:nth-child(4) { transition-delay: .15s } .menu.is-open a:nth-child(5) { transition-delay: .2s }

/* ─── Buttons & chips ────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 12px; font: 500 14px var(--sans); white-space: nowrap; transition: transform .16s var(--ease-out), background-color .25s, color .25s, box-shadow .25s, opacity .2s; }
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: scale(.97); }
.btn--light { background: #f1f1f1; color: #0a0a0a; }
.btn--light:hover { background: #fff; box-shadow: 0 8px 30px -10px rgba(255,255,255,.35); }
.btn--ghost { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: var(--panel-2); }
.btn--sm { height: 38px; padding: 0 14px; font-size: 13px; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 10px; font: 400 12.5px var(--mono); color: var(--muted); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.chip svg { width: 18px; height: 18px; }
.label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--dim); }
.label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.label--c { justify-content: center; }
.center { text-align: center; }
.h-xl { margin: 0; font: 700 clamp(44px, 7vw, 104px)/.98 var(--display); letter-spacing: -.035em; }
.h-lg { margin: 0; font: 700 clamp(34px, 5vw, 64px)/1.05 var(--display); letter-spacing: -.03em; }
.sub { margin: 16px auto 0; max-width: 52ch; color: var(--muted); }

/* reveal */
.rv { opacity: 0; }
.rv.is-in { opacity: 1; animation: rvIn 1s var(--ease-out) backwards; }
@keyframes rvIn { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }
[data-split] .ch { transition-delay: calc(var(--i) * 28ms); }
[data-split].is-in .ch { opacity: 1; filter: none; transform: none; transition: opacity .7s var(--ease-out) calc(var(--i) * 28ms), filter .8s var(--ease-out) calc(var(--i) * 28ms), transform .8s var(--ease-out) calc(var(--i) * 28ms); }
[data-split] .w { display: inline-block; white-space: nowrap; }

/* ─── Hero ───────────────────────────────────────────── */
section { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 40px; padding-top: 110px; padding-bottom: 80px; }
.hero__status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 12px var(--live); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero__title { margin: 0; font: 700 clamp(52px, 9.2vw, 136px)/.95 var(--display); letter-spacing: -.045em; }
.hero__title > span { display: block; }
.hero__l2 { color: #7d7d7d; }
:is(.hero__l2, .about__title > span:last-child) .chi { color: transparent; background: linear-gradient(180deg, #9a9a9a, #4b4b4b); -webkit-background-clip: text; background-clip: text; }
.ch { will-change: filter, opacity, transform; }
.is-in .ch, .ch.is-in { will-change: auto; }
.hero__type { margin: 22px 0 18px; font-size: 15px; color: var(--muted); min-height: 1.6em; }
.caret { font-style: normal; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero__lead { margin: 0 0 24px; max-width: 46ch; color: var(--muted); font-size: 15.5px; }
.hero__notes { display: flex; flex-direction: column; gap: 4px; margin-top: 30px; font-size: 12.5px; color: var(--dim); }
.hero__notes a { width: fit-content; transition: color .2s; }
.hero__notes a:hover { color: var(--text); }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 11px; letter-spacing: .25em; color: var(--dim); }
.hero__scroll span { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* Lanyard */
.lanyard { position: relative; align-self: stretch; min-height: 560px; margin-top: -110px; touch-action: pan-y; }
.lanyard__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.strap__band { fill: none; stroke: #161616; stroke-width: 22; stroke-linecap: butt; }
.strap__text { font: 600 9px var(--mono); letter-spacing: .28em; fill: rgba(255,255,255,.55); dominant-baseline: middle; }
.card { position: absolute; left: 0; top: 0; width: 236px; height: 330px; margin: -14px 0 0 -118px; padding: 12px 12px 0; border-radius: 18px; background: linear-gradient(160deg, #f4f4f4, #d9d9d9); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.4) inset; cursor: grab; user-select: none; touch-action: none; transform-origin: 50% 14px; will-change: transform; }
.card:active { cursor: grabbing; }
.card__clip { position: absolute; top: -10px; left: 50%; width: 46px; height: 18px; margin-left: -23px; border-radius: 6px; background: linear-gradient(#5b5b5b, #2a2a2a); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.card__clip::after { content: ''; position: absolute; left: 50%; top: 5px; width: 24px; height: 5px; margin-left: -12px; border-radius: 3px; background: #0b0b0b; }
.card__photo { position: relative; height: 252px; border-radius: 10px; overflow: hidden; background: #111; }
.card__photo img { position: relative; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.card__photo .card__bg { position: absolute; inset: -20%; width: 140%; height: 140%; object-fit: cover; filter: blur(22px) saturate(1.2) brightness(.8); }
.card__meta { display: flex; flex-direction: column; gap: 2px; padding: 10px 4px; color: #0a0a0a; line-height: 1.2; }
.card__meta b { font: 700 15px var(--display); letter-spacing: -.02em; }
.card__meta span { font-size: 9.5px; color: #555; letter-spacing: .12em; }
.card__shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 45%, transparent 60%); background-size: 250% 100%; background-position: var(--shine, 100%) 0; mix-blend-mode: soft-light; }
.lanyard__hint { position: absolute; right: 0; bottom: 30px; margin: 0; font-size: 11px; color: var(--dim); }

/* ─── About ──────────────────────────────────────────── */
.about { padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(80px, 10vw, 120px); }
.about__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; }
.about__title > span { display: block; }
.about__title > span:last-child { color: #7d7d7d; }
.about__bio { margin: 28px 0 22px; max-width: 54ch; color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.app-inline { display: inline-flex; align-items: center; gap: 6px; padding: 1px 9px 1px 3px; margin: 0 2px; border-radius: 9px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-weight: 500; vertical-align: -3px; }
.app-inline svg { width: 22px; height: 22px; }
.quote { display: inline-block; margin: 0 0 28px; padding: 12px 18px; border-radius: 12px; font-style: italic; font-size: 14px; color: var(--muted); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.portrait { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 1; }
.portrait img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.portrait__ring { position: absolute; inset: -14px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); }
.portrait__ring::before { content: ''; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--text); box-shadow: 0 0 14px #fff; }
.portrait__ring { animation: orbit 14s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.portrait__light { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(transparent 0 70%, rgba(255,255,255,.22) 80%, transparent 90%); mix-blend-mode: overlay; pointer-events: none; animation: orbit 9s linear infinite; will-change: transform; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(50px, 7vw, 90px); }
.stat { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: background-color .3s, transform .5s var(--ease-out), box-shadow .3s; }
.stat::after { content: ''; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.07), transparent 60%); opacity: 0; transition: opacity .3s; }
.stat:hover { background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); transform: translateY(-3px); }
.stat:hover::after { opacity: 1; }
.stat__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--panel-2); margin-bottom: 18px; }
.stat__ic svg { width: 18px; height: 18px; }
.stat b { font: 700 44px/1 var(--display); letter-spacing: -.03em; }
.stat .mono { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.stat__go { position: absolute; right: 20px; top: 22px; width: 18px; height: 18px; color: var(--dim); transition: transform .4s var(--ease-out), color .3s; }
.stat:hover .stat__go { transform: translate(3px, -3px); color: var(--text); }

/* ─── Work ───────────────────────────────────────────── */
.work, .reviews { padding-top: clamp(70px, 10vw, 130px); padding-bottom: clamp(70px, 10vw, 120px); }
.tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 620px; margin: 40px auto 44px; padding: 5px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button { position: relative; z-index: 1; height: 46px; border-radius: 12px; font-size: 14px; color: var(--muted); transition: color .3s; }
.tabs button.is-active { color: var(--text); }
.tabs__pill { position: absolute; z-index: 0; top: 5px; left: 5px; height: 46px; width: calc((100% - 10px) / 3); border-radius: 12px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--line-2), 0 6px 20px -8px rgba(0,0,0,.6); transition: transform .55s var(--ease-drawer); }
.panel { display: none; }
.panel.is-active { display: block; }
.panel.is-active > * > * { animation: cardIn .7s var(--ease-out) both; }
.panel.is-active > * > *:nth-child(2) { animation-delay: .06s } .panel.is-active > * > *:nth-child(3) { animation-delay: .12s } .panel.is-active > * > *:nth-child(4) { animation-delay: .18s } .panel.is-active > * > *:nth-child(5) { animation-delay: .24s } .panel.is-active > * > *:nth-child(6) { animation-delay: .3s }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.98); filter: blur(6px); } }
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.proj { position: relative; display: flex; flex-direction: column; padding: 12px; border-radius: 22px; text-align: left; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, background-color .3s, transform .5s var(--ease-out); }
.proj:hover { background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.proj:active { transform: scale(.99); }
.proj__media { position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; background: #050505; }
.proj__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), filter .6s; filter: grayscale(.35) brightness(.85); }
.proj__media img.is-tall { object-fit: contain; filter: none; }
.proj__media .blur { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(28px) brightness(.5); transform: none !important; }
.proj:hover .proj__media img:not(.blur) { transform: scale(1.04); filter: none; }
.proj__plat { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; font: 500 11px var(--mono); background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.proj__plat svg { width: 13px; height: 13px; }
.proj__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); opacity: 0; transform: scale(.85); transition: opacity .35s, transform .5s var(--ease-out); }
.proj__play svg { width: 22px; height: 22px; }
.proj:hover .proj__play { opacity: 1; transform: none; }
.proj__body { padding: 16px 8px 6px; }
.proj__body h3 { margin: 0 0 6px; font: 600 20px/1.2 var(--display); letter-spacing: -.02em; }
.proj__body p { margin: 0; font-size: 14px; color: var(--muted); }
.proj__foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 8px 4px; }
.proj__foot .mono { font-size: 11px; color: var(--dim); }
.proj__btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 9px; font-size: 12.5px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s; }
.proj__btn svg { width: 14px; height: 14px; transition: transform .35s var(--ease-out); }
.proj:hover .proj__btn { background: rgba(255,255,255,.1); }
.proj:hover .proj__btn svg { transform: translateX(3px); }

/* Moja strihacia cesta (hlavný projekt) */
.spot { position: relative; isolation: isolate; overflow: hidden; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 34px); align-items: center; margin-bottom: 28px; padding: 12px; border-radius: 26px; text-align: left; box-shadow: 0 30px 80px -40px rgba(255,255,255,.18); transition: transform .6s var(--ease-out); }
.spot::before { content: ''; position: absolute; z-index: -2; left: 50%; top: 50%; width: max(160%, 1000px); aspect-ratio: 1; translate: -50% -50%; background: conic-gradient(rgba(255,255,255,.07) 0 55%, rgba(255,255,255,.85) 72%, rgba(255,255,255,.07) 88%); animation: spinr 7s linear infinite; will-change: transform; }
.spot::after { content: ''; position: absolute; z-index: -1; inset: 1px; border-radius: 25px; background: radial-gradient(80% 120% at 85% 0%, #1d1d1d, transparent 60%), #101010; }
@keyframes spinr { to { rotate: 360deg; } }
.spot:hover { transform: translateY(-3px); }
.spot__media { position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; }
.spot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.spot:hover .spot__media img { transform: scale(1.04); }
.spot:hover .proj__play { opacity: 1; transform: none; }
.spot__body { display: grid; gap: 14px; justify-items: start; padding: 8px 12px 8px 0; }
.spot__label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border-radius: 99px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 30px rgba(255,255,255,.12); }
.spot__label svg { width: 14px; height: 14px; }
.spot h3 { margin: 0; font: 700 clamp(24px, 2.8vw, 38px)/1 var(--display); letter-spacing: -.035em; }
.spot__body .chips .chip { height: 28px; font-size: 11.5px; }
.spot__body > p:not(.spot__label) { margin: 0; color: var(--muted); }
/* Karusel vybraných projektov */
.reel { display: grid; gap: 16px; }
.reel__head { display: flex; align-items: center; justify-content: space-between; }
.reel__head .label { margin: 0; }
.reel__nav { display: flex; gap: 8px; }
.arrow { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s, opacity .2s, transform .16s var(--ease-out); }
.arrow:hover { background: var(--panel-2); } .arrow:active { transform: scale(.92); } .arrow[disabled] { opacity: .3; pointer-events: none; }
.arrow svg { width: 16px; height: 16px; }
.reel__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 4px; }
.reel__track::-webkit-scrollbar { display: none; }
.reel__track .proj { flex: none; width: min(320px, 78vw); scroll-snap-align: start; padding: 10px; }
.reel__track .proj__media { aspect-ratio: 16/9; }
.reel__track .proj__body { padding: 12px 6px 2px; }
.reel__track .proj__body h3 { font-size: 17px; }
.reel__track .proj__body p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }
.reel__track .proj__foot { padding: 10px 6px 2px; }
.expand { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; margin-top: 18px; border-radius: 16px; font-size: 14px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, background-color .2s; }
.expand:hover { color: var(--text); background: var(--panel); }
.expand svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .5s var(--ease-out); }
.expand[aria-expanded="true"] svg { transform: rotate(-90deg); }
.allwork { opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.allwork.is-open { opacity: 1; transform: none; }
.allwork .cats { margin: 22px 0 16px; }
/* Kompaktné karty klientov */
.cgroups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.cc { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.cc.is-in { animation: ccIn .45s calc(var(--i, 0) * 50ms) var(--ease-out) both; }
@keyframes ccIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.cc__head { display: flex; align-items: center; gap: 10px; }
.cc__head .client__av { width: 40px; height: 40px; font-size: 16px; }
.cc__meta { flex: 1; min-width: 0; line-height: 1.3; }
.cc__meta b { display: block; font: 600 15px var(--display); letter-spacing: -.02em; }
.cc__meta .mono { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; color: var(--dim); }
.cc__link { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, background-color .2s; }
.cc__link:hover { color: var(--text); background: var(--panel-2); }
.cc__link svg { width: 14px; height: 14px; }
.cc__tag { margin: 0; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.cc__list { display: grid; gap: 6px; }
.mini { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; text-align: left; background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, transform .16s var(--ease-out); }
.mini:hover { background: var(--panel-2); }
.mini:active { transform: scale(.98); }
.mini__th { flex: none; width: 64px; height: 40px; border-radius: 8px; overflow: hidden; background: #000; }
.mini__th img { width: 100%; height: 100%; object-fit: cover; }
.mini__t { flex: 1; min-width: 0; line-height: 1.3; }
.mini__t b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.mini__t small { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--dim); }
.mini__t small svg { width: 11px; height: 11px; }
.mini__go { width: 14px; height: 14px; margin-right: 4px; color: var(--dim); transition: transform .3s var(--ease-out), color .2s; }
.mini:hover .mini__go { transform: translateX(3px); color: var(--text); }
.cc__soon { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 12px; font-size: 11px; color: var(--muted); border: 1px dashed var(--line-2); text-align: center; padding: 8px; transition: color .2s, background-color .2s; }
.cc__soon:hover { color: var(--text); background: var(--panel); }
@media (max-width: 760px) { .spot { grid-template-columns: 1fr; } .spot__body { padding: 0 6px 6px; } }

/* Sekcie podľa klientov */
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px 0 36px; }
.cat { height: 38px; padding: 0 14px; border-radius: 10px; font: 400 12.5px var(--mono); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: color .25s, background-color .25s, box-shadow .25s, transform .16s var(--ease-out); }
.cat sup { margin-left: 4px; font-size: 10px; opacity: .6; }
.cat:hover { color: var(--text); }
.cat.is-active { color: #0a0a0a; background: #f1f1f1; box-shadow: none; }
.cat:active { transform: scale(.96); }
.client__av { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); font: 700 20px var(--display); }
.client__av img { width: 100%; height: 100%; object-fit: cover; }
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, transform .5s var(--ease-out); }
.tool:hover { background: var(--panel-2); transform: translateY(-3px); }
.tool b { font: 600 17px var(--display); letter-spacing: -.02em; }
.tool .mono, .tool span { font-size: 12px; color: var(--muted); }
.tool__app { width: 52px; height: 52px; margin-bottom: 14px; }
.tool__ic { width: 30px; height: 30px; margin-bottom: 14px; color: var(--muted); }
.tool--big { grid-column: span 2; grid-row: span 2; justify-content: space-between; }
.tool--big { position: relative; isolation: isolate; }
.tool--big::before { content: ''; position: absolute; z-index: -1; left: 15%; right: 15%; top: 18%; height: 55%; border-radius: 50%; background: radial-gradient(closest-side, rgba(110,70,230,.35), transparent); }
.tool--big img { width: 70%; margin: 0 auto 20px; animation: floaty 6s ease-in-out infinite; will-change: transform; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(-1deg); } }
.tool--wide { grid-column: span 2; padding: 14px; justify-content: center; overflow: hidden; }
.tool--wide img { width: 100%; }

.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.social { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: background-color .3s, transform .5s var(--ease-out), box-shadow .3s; }
.social > svg:first-child { width: 30px; height: 30px; margin-bottom: 22px; }
.social b { font: 600 18px var(--display); }
.social .mono { font-size: 12px; color: var(--dim); }
.social__go { position: absolute; right: 22px; top: 24px; width: 18px; height: 18px; color: var(--dim); transition: transform .4s var(--ease-out), color .3s; }
.social:hover { background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); transform: translateY(-3px); }
.social:hover .social__go { transform: translate(3px, -3px); color: var(--text); }
.socials--sm { grid-template-columns: 1fr 1fr; gap: 10px; }
.socials--sm .social { padding: 16px; flex-direction: row; align-items: center; gap: 12px; }
.socials--sm .social > svg:first-child { width: 22px; height: 22px; margin: 0; }
.socials--sm .social b { font-size: 14px; }
.socials--sm .social .mono { display: none; }
.socials--sm .social:last-child:nth-child(odd) { grid-column: span 2; }
.socials--sm .social__go { top: 50%; margin-top: -9px; right: 14px; }

/* ─── Panels: reviews + contact ──────────────────────── */
.panel-card { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,.9); }
.panel-card h3 { margin: 0 0 6px; font: 600 clamp(22px, 2.4vw, 30px)/1.15 var(--display); letter-spacing: -.02em; }
.panel-card > .muted { margin: 0 0 22px; font-size: 14px; }
.rev-grid, .contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 50px; align-items: stretch; }
.rev-list { display: flex; flex-direction: column; gap: 12px; min-height: 420px; }
.rev-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; }
.rev-empty__stack { position: relative; width: 220px; height: 120px; margin-bottom: 16px; }
.rev-empty__stack i { position: absolute; left: 50%; width: 200px; height: 74px; margin-left: -100px; border-radius: 14px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); animation: stackFloat 5s ease-in-out infinite; }
.rev-empty__stack i:nth-child(1) { top: 0; transform: scale(.86); opacity: .4; animation-delay: -1s; }
.rev-empty__stack i:nth-child(2) { top: 18px; transform: scale(.93); opacity: .7; animation-delay: -.5s; }
.rev-empty__stack i:nth-child(3) { top: 36px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: #161616; }
.rev-empty__stack i:nth-child(3)::before { content: ''; width: 34px; height: 34px; border-radius: 50%; background: var(--panel-2); }
.rev-empty__stack i:nth-child(3)::after { content: '★★★★★'; font-style: normal; font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,.35); }
@keyframes stackFloat { 50% { translate: 0 -5px; } }
.rev-empty b { font: 600 18px var(--display); }
.rev-empty p { margin: 0; font-size: 14px; color: var(--muted); }
.rev { padding: 16px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.rev__top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rev__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--panel-2); font: 600 14px var(--display); }
.rev__top b { display: block; font-size: 14px; }
.rev__top small { font: 11px var(--mono); color: var(--dim); }
.rev__stars { margin-left: auto; color: #fff; font-size: 12px; letter-spacing: 2px; }
.rev p { margin: 0; font-size: 14px; color: var(--muted); }
.rate { display: grid; gap: 8px; margin-bottom: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line); }
.rate__top { display: flex; align-items: center; gap: 12px; }
.rate__top .mono { flex: 1; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.rate__stars { display: flex; gap: 6px; }
.st { display: inline-block; color: rgba(255,255,255,.16); transform: scale(.82); transition: color .3s, transform .5s cubic-bezier(.34, 1.56, .64, 1), text-shadow .3s; }
.st.on { color: #fff; transform: none; text-shadow: 0 0 12px rgba(255,255,255,.55); }
.st.pop { animation: starPop .55s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes starPop { 0% { transform: scale(.5) rotate(-20deg); filter: blur(3px); opacity: .3; } 60% { transform: scale(1.14) rotate(4deg); filter: blur(0); opacity: 1; } 100% { transform: none; } }
.rate output { min-width: 34px; text-align: right; font: 500 13px var(--mono); }
input[type=range] { --v: 100%; width: 100%; height: 26px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #f1f1f1 var(--v), rgba(255,255,255,.12) var(--v)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #f1f1f1 var(--v), rgba(255,255,255,.12) var(--v)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 4px 12px rgba(0,0,0,.5); transition: transform .2s var(--ease-out); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
.foot__links { display: flex; gap: 18px; }
@media (min-width: 1900px) { section, .foot { max-width: 1600px; } body { font-size: 18px; } .nav { width: min(calc(100% - 24px), 1480px); } }
@media (min-width: 2600px) { html { zoom: 1.35; } }
.inp { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, background-color .25s; }
.inp:focus-within { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.inp > svg { width: 17px; height: 17px; color: var(--dim); transition: color .25s; }
.inp:focus-within > svg { color: var(--text); }
.inp input, .inp textarea { flex: 1; min-width: 0; height: 52px; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px; outline: none; }
.inp textarea { height: auto; padding: 15px 0; resize: vertical; }
.inp--area { align-items: flex-start; }
.inp--area > svg { margin-top: 17px; }
.inp ::placeholder { color: var(--dim); }
.inp.is-bad { box-shadow: inset 0 0 0 1px rgba(255,110,110,.6); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.form-msg { min-height: 20px; margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.form-msg.is-ok { color: var(--live); }
.form-msg.is-err { color: #ff8a8a; }

.contact { padding-top: clamp(60px, 8vw, 110px); padding-bottom: 80px; }
.contact__grid { margin-top: 30px; }
.cside { display: flex; flex-direction: column; }
.cside__profile { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 14px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.cside .socials { margin-bottom: 20px; }
.cside__profile img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.cside__profile div { flex: 1; line-height: 1.3; }
.cside__profile b { display: block; font-size: 15px; }
.cside__profile .mono { font-size: 12px; color: var(--dim); }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1280px; margin: 0 auto; padding: 26px var(--gutter) 34px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.foot__soc { display: flex; gap: 16px; }
.foot__soc svg { width: 18px; height: 18px; transition: color .2s; }
.foot a:hover { color: var(--text); }

/* ─── Project detail ─────────────────────────────────── */
.detail { position: fixed; inset: 0; z-index: 200; background: #090909; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease-out), visibility 0s .5s; }
.detail.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease-out); }
.detail__in { max-width: 1240px; margin: 0 auto; padding: 30px var(--gutter) 60px; transform: translateY(30px); transition: transform .7s var(--ease-drawer); }
.detail.is-open .detail__in { transform: none; }
.detail__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; font-size: 13px; color: var(--muted); transition: color .2s; }
.detail__back:hover { color: var(--text); }
.detail__back svg { width: 16px; height: 16px; }
.detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.detail h2 { margin: 0 0 14px; font: 700 clamp(26px, 3.2vw, 46px)/1.06 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; hyphens: auto; }
.detail h2::after { content: ''; display: block; width: 50px; height: 2px; margin-top: 18px; background: var(--line-2); }
.detail__desc { color: var(--muted); font-size: 16px; }
.detail__meta { display: flex; gap: 10px; margin: 26px 0; }
.dmeta { flex: 1; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.dmeta > svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--panel-2); }
.dmeta b { display: block; font-size: 15px; }
.dmeta small { font: 11px var(--mono); color: var(--dim); }
.detail__sub { display: flex; align-items: center; gap: 8px; margin: 26px 0 12px; font-size: 14px; font-weight: 500; }
.detail__sub svg { width: 15px; height: 15px; }
.detail ul { list-style: none; margin: 0; padding: 18px 20px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.detail li { position: relative; padding: 6px 0 6px 18px; font-size: 14px; color: var(--muted); }
.detail li::before { content: ''; position: absolute; left: 0; top: 15px; width: 5px; height: 5px; border-radius: 50%; background: var(--dim); }
.detail__player { position: relative; border-radius: 22px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px #000; margin: 0 auto; max-height: 78vh; }
.detail__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.detail__player > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.detail__load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-size: 13px; }
.detail__load span { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); transition: transform .4s var(--ease-out); }
.detail__load:hover span { transform: scale(1.08); }
.detail__load svg { width: 24px; height: 24px; }
.detail .btns { margin-top: 26px; }
.detail > * { will-change: auto; }

/* ─── Toast ──────────────────────────────────────────── */
.toast { position: fixed; z-index: 400; left: 50%; bottom: 24px; padding: 12px 18px; border-radius: 12px; background: #f1f1f1; color: #0a0a0a; font-size: 14px; font-weight: 500; transform: translate(-50%, calc(100% + 40px)); opacity: 0; visibility: hidden; transition: transform .5s var(--ease-out), opacity .3s, visibility 0s .5s; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--ease-out), opacity .3s; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 100px; gap: 0; }
  .lanyard { order: -1; min-height: 430px; margin: -100px 0 0; }
  .lanyard__hint { top: 46%; bottom: auto; right: 4px; max-width: 64px; text-align: right; line-height: 1.35; transform: none; }
  .hero__scroll { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .portrait { order: -1; width: min(70%, 300px); }
  .tools { grid-template-columns: 1fr 1fr; }
  .rev-grid, .contact__grid, .detail__grid { grid-template-columns: minmax(0, 1fr); }
  .detail__player { order: -1; }
}
@media (max-width: 640px) {
  .projects, .socials { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { flex-direction: row; align-items: center; gap: 14px; padding: 16px; }
  .stat__ic { margin: 0; }
  .stat b { font-size: 30px; }
  .stat .mono { flex: 1; }
  .stat__go { position: static; }
  .tools { grid-template-columns: 1fr; }
  .tool--big, .tool--wide { grid-column: auto; grid-row: auto; }
  .tabs button { font-size: 12.5px; }
  .card { width: 196px; height: 276px; margin-left: -98px; }
  .card__photo { height: 206px; }
  .foot { flex-direction: column; }
  .lang__txt { display: none; }
  .lang { padding: 0 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; scroll-behavior: auto !important; }
  .rv, .ch { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   Režim „Stránky“ — prepínač, iná téma, weby, cenník, kalkulačka
   ═══════════════════════════════════════════════════════════ */
html:not(.mode-web) .only-web, .mode-web .only-edit { display: none !important; }

/* Prepínač Strihy ⇄ Stránky */
.nav__logo { margin-right: 0; }
.mode { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-right: auto; padding: 4px; border-radius: 13px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); touch-action: pan-y; user-select: none; }
.mode button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 10px; font: 500 12.5px var(--mono); color: var(--muted); transition: color .35s; }
.mode button svg { width: 15px; height: 15px; }
.mode button[aria-checked="true"] { color: #0a0a0a; }
.mode__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px; background: #f1f1f1; box-shadow: 0 4px 16px -4px rgba(255,255,255,.35); transition: transform .55s var(--ease-drawer), background .5s, box-shadow .5s; }
.mode.is-web .mode__pill { transform: translateX(100%); }
.mode-web .mode button[aria-checked="true"] { color: #fff; }

/* Prechod medzi režimami — jednofarebná clona z prepínača (lacné na výkon aj na slabom mobile) */
.wipe { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; visibility: hidden; pointer-events: none; clip-path: circle(0 at 50% 0); }
.wipe__mark { display: inline-flex; align-items: center; gap: 10px; font: 700 clamp(22px, 3vw, 34px) var(--display); letter-spacing: -.03em; opacity: 0; }
.wipe__mark svg { width: .9em; height: .9em; }

/* Téma webov — svetlý papier, čierny text, signálna oranžová (žiadne neónové gradienty) */
.mode-web {
  --bg: #f3f0e9;
  --bg-2: #ebe7de;
  --panel: rgba(20, 20, 20, .035);
  --panel-2: rgba(20, 20, 20, .065);
  --line: rgba(20, 20, 20, .1);
  --line-2: rgba(20, 20, 20, .2);
  --text: #141414;
  --muted: rgba(20, 20, 20, .66);
  --dim: rgba(20, 20, 20, .46);
  --live: #129a4d;
  --a1: #ff4f1f; --a2: #ff4f1f; --a3: #ff4f1f;
  --display: 'Sora', 'Inter', sans-serif;
  color-scheme: light;
}
.mode-web ::selection { background: var(--a1); color: #fff; }
.kbd.mode-web :focus-visible { outline-color: var(--text); }
.mode-web .bg { background: var(--bg); }
.mode-web .bg__grid { opacity: .7; }
.mode-web .bg__spot { background: radial-gradient(circle, rgba(255,79,31,.07), transparent 60%); }
.mode-web .bg__noise { opacity: .07; mix-blend-mode: multiply; }
.mode-web .nav { background: rgba(243,240,233,.86); box-shadow: inset 0 0 0 1px var(--line), 0 12px 30px -24px rgba(0,0,0,.35); }
.mode-web .nav__logo span { color: var(--a1); }
.mode-web .nav__ind { background: var(--a1); height: 2px; }
.mode-web .mode { background: rgba(20,20,20,.04); }
.mode-web .mode__pill { background: var(--text); box-shadow: 0 4px 12px -4px rgba(0,0,0,.4); }
.mode-web .mode button[aria-checked="true"] { color: #fff; }
.mode-web .lang__coin > * { box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.mode-web .label::before { background: var(--a1); }
.mode-web .hero__title { letter-spacing: -.05em; }
.mode-web :is(.hero__l2, .about__title > span:last-child) .chi { background: none; -webkit-text-fill-color: currentColor; color: var(--a1); }
.mode-web .btn--light { background: var(--text); color: #fff; }
.mode-web .btn--light:hover { background: var(--a1); box-shadow: 0 10px 24px -12px rgba(255,79,31,.8); }
.mode-web .chip svg, .mode-web .stat__ic { color: var(--a1); }
.mode-web .stat__ic { background: rgba(255,79,31,.1); }
.mode-web .stat::after { background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,79,31,.08), transparent 60%); }
.mode-web .panel-card { background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -44px rgba(0,0,0,.3); }
.mode-web .inp, .mode-web .rate { background: rgba(255,255,255,.7); }
.mode-web .inp:focus-within { background: #fff; box-shadow: inset 0 0 0 1px var(--text); }
.mode-web .inp:focus-within > svg { color: var(--a1); }
.mode-web input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--text) var(--v), rgba(20,20,20,.13) var(--v)); }
.mode-web input[type=range]::-moz-range-track { background: linear-gradient(90deg, var(--text) var(--v), rgba(20,20,20,.13) var(--v)); }
.mode-web input[type=range]::-webkit-slider-thumb { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 3px 10px rgba(0,0,0,.2); }
.mode-web input[type=range]::-moz-range-thumb { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.mode-web .st { color: rgba(20,20,20,.16); }
.mode-web .st.on { color: var(--a1); text-shadow: none; }
.mode-web .rev__stars { color: var(--a1); }
.mode-web .rev-empty__stack i:nth-child(3) { background: #fff; }
.mode-web .rev-empty__stack i:nth-child(3)::after { color: var(--a1); }
.mode-web .card { background: #141414; box-shadow: 0 30px 60px -24px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08) inset; }
.mode-web .card__meta { color: #fff; }
.mode-web .card__meta span { color: var(--a1); }
.mode-web .strap__band { stroke: var(--a1); }
.mode-web .strap__text { fill: #fff; }
.mode-web .portrait__ring { box-shadow: inset 0 0 0 1px var(--line-2); }
.mode-web .portrait__ring::before { background: var(--a1); box-shadow: 0 0 10px var(--a1); }
.mode-web .menu { background: rgba(243,240,233,.97); }
.mode-web .toast { background: var(--text); color: #fff; }

/* Dostupnosť — v admine sa dá prepnúť na nedostupný */
.hero__status.is-off .live { background: #ff5f57; box-shadow: 0 0 10px #ff5f57; animation: none; }

/* Weby — okno prehliadača s posúvajúcim sa náhľadom */
.sites, .pricing { padding-top: clamp(80px, 11vw, 140px); }
.sites__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.site { display: flex; flex-direction: column; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .4s; }
.sites__grid.is-in .site { animation: rvIn .9s var(--ease-out) calc(var(--i) * 110ms) backwards; }
.site:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(255,79,31,.45); }
.site__frame { display: block; margin: 10px 10px 0; border-radius: 14px; overflow: hidden; background: #e6e1d7; box-shadow: 0 0 0 1px var(--line); }
.site__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: rgba(20,20,20,.04); border-bottom: 1px solid var(--line); }
.site__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(20,20,20,.18); }
.site__bar i:first-child { background: #ff6b6b; } .site__bar i:nth-child(2) { background: #ffc94d; } .site__bar i:nth-child(3) { background: #4ee08a; }
.site__bar span { flex: 1; margin-left: 8px; padding: 3px 10px; border-radius: 7px; background: rgba(20,20,20,.05); font-size: 10.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site__view { position: relative; display: block; aspect-ratio: 16/11; overflow: hidden; }
.site__view img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 6s cubic-bezier(.45, 0, .55, 1); }
.site:hover .site__view img { object-position: 50% 100%; transition-duration: 7s; }
@media (hover: none) { .site__view img { animation: peek 16s cubic-bezier(.45, 0, .55, 1) infinite; } }
@keyframes peek { 0%, 12% { object-position: 50% 0; } 50%, 62% { object-position: 50% 100%; } 100% { object-position: 50% 0; } }
.site__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.site__type { margin: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--a3, var(--dim)); }
.site h3 { margin: 0; font: 700 24px/1.1 var(--display); letter-spacing: -.03em; }
.site__body > p:not(.site__type) { margin: 0; font-size: 14px; color: var(--muted); }
.site .chips { margin-top: 2px; gap: 6px; }
.site .chip { height: 28px; padding: 0 10px; font-size: 11px; }
.site__body .btn, .site__soon { margin-top: auto; align-self: flex-start; }
.site__soon { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 12px; font-size: 12px; color: var(--dim); box-shadow: inset 0 0 0 1px var(--line-2); }
.site__soon i { width: 6px; height: 6px; border-radius: 50%; background: var(--a1); box-shadow: none; animation: blink 2.4s ease-in-out infinite; }

/* Cenník */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 46px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 26px 24px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease-out), box-shadow .4s; }
.plans.is-in .plan { animation: rvIn .9s var(--ease-out) calc(var(--i) * 110ms) backwards; }
.plan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2); }
.plan--hot { background: #fff; box-shadow: inset 0 0 0 1px rgba(255,79,31,.45), 0 30px 70px -30px rgba(255,79,31,.6); }
.plan__hot { position: absolute; top: 18px; right: 18px; padding: 5px 10px; border-radius: 20px; font-size: 10.5px; letter-spacing: .08em; color: #fff; background: linear-gradient(120deg, var(--a1), var(--a2)); }
.plan h3 { margin: 0; font: 600 18px var(--display); letter-spacing: -.02em; }
.plan__price { margin: 14px 0 6px; font-size: 18px; color: var(--muted); }
.plan__price small { font: 400 13px var(--mono); }
.plan__price b { font: 800 48px/1 var(--display); letter-spacing: -.04em; color: var(--text); }
.plan__desc { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.plan ul { display: grid; gap: 10px; margin: 0 0 24px; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 14px; }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan li svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; color: var(--a3); background: rgba(255,79,31,.1); }
.plan .btn { margin-top: auto; }
.plans__note { margin: 22px auto 0; text-align: center; font-size: 12px; color: var(--dim); max-width: 70ch; }

/* Kalkulačka */
.calc { margin-top: clamp(70px, 9vw, 120px); scroll-margin-top: 90px; }
.calc__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; margin-top: 40px; }
.calc__step + .calc__step { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.calc__n { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.calc__n b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-weight: 500; color: var(--text); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); letter-spacing: 0; }
.ctypes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ct { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px; border-radius: 14px; text-align: left; background: rgba(20,20,20,.02); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, box-shadow .3s, transform .16s var(--ease-out); }
.ct:active { transform: scale(.97); }
.ct:hover { background: var(--panel-2); }
.ct b { font: 600 15px var(--display); letter-spacing: -.02em; }
.ct small { font-size: 12px; color: var(--muted); }
.ct .mono { margin-top: 8px; font-size: 11.5px; color: var(--dim); transition: color .3s; }
.ct[aria-checked="true"] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--a1), 0 12px 30px -16px rgba(255,79,31,.8); }
.ct[aria-checked="true"] .mono { color: var(--text); }
.calc .rate { margin: 0; }
.calc__ph { font-size: 11px; color: var(--dim); }
.calc .rate output { font-size: 15px; font-weight: 600; }
.cextras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cx { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border-radius: 14px; text-align: left; background: rgba(20,20,20,.02); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, box-shadow .3s, transform .16s var(--ease-out); }
.cx:active { transform: scale(.98); }
.cx:hover { background: var(--panel-2); }
.cx__ck { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background .3s, box-shadow .3s; }
.cx__ck svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.4) rotate(-20deg); transition: opacity .25s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.cx__t { flex: 1; font-size: 13.5px; line-height: 1.3; }
.cx__t small { color: var(--dim); font-size: 12px; }
.cx__p { font-size: 12px; color: var(--muted); white-space: nowrap; }
.cx[aria-pressed="true"] { background: rgba(255,79,31,.1); box-shadow: inset 0 0 0 1px rgba(255,79,31,.5); }
.cx[aria-pressed="true"] .cx__ck { background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: none; }
.cx[aria-pressed="true"] .cx__ck svg { opacity: 1; transform: none; }
.cx.is-incl { opacity: .75; cursor: default; }
.cx.is-incl .cx__p { color: var(--live); }
.cx__sw { position: relative; flex: none; width: 40px; height: 24px; border-radius: 12px; background: rgba(20,20,20,.1); transition: background .3s; }
.cx__sw i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .45s var(--ease-drawer); }
.cx--express { width: 100%; }
.cx--express[aria-pressed="true"] .cx__sw { background: linear-gradient(120deg, var(--a1), var(--a2)); }
.cx--express[aria-pressed="true"] .cx__sw i { transform: translateX(16px); }
.calc__sum { position: sticky; top: 92px; }
.calc__sum .label { margin-bottom: 6px; }
.calc__total { display: flex; align-items: baseline; gap: 8px; margin: 0; font: 800 clamp(48px, 5vw, 64px)/1.05 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.calc__total [data-total] { color: var(--text); }
.calc__eur { font-size: .5em; color: var(--muted); }
.calc__days { margin: 4px 0 18px; font-size: 12.5px; color: var(--live); }
.calc__lines { display: grid; gap: 8px; margin: 0 0 20px; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 13px; }
.calc__lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); animation: rvIn .5s var(--ease-out) backwards; }
.calc__lines b { color: var(--text); font-weight: 500; white-space: nowrap; }
.calc__note { margin: 12px 0 0; font-size: 12px; color: var(--dim); }

@media (max-width: 640px) { .ctypes { grid-template-columns: 1fr; } .ct { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; } .ct .mono { margin: 0 0 0 auto; } }
@media (max-width: 980px) {
  .sites__grid, .plans { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .calc__grid { grid-template-columns: 1fr; }
  .calc__sum { position: static; }
}
@media (max-width: 640px) {
  .nav { gap: 8px; padding-left: 16px; }
  .mode button { padding: 0 10px; gap: 5px; font-size: 11.5px; }
  .mode button svg { width: 13px; height: 13px; }
  .cextras { grid-template-columns: 1fr; }
  .ct { padding: 12px; }
}
@media (max-width: 400px) {
  .nav__logo { font-size: 13px; }
  .mode button { padding: 0 8px; }
  .mode button svg { display: none; }
}
@media (prefers-reduced-motion: reduce) { .site__view img { animation: none !important; } }
.calc__ph { flex: none !important; }
.toast { width: max-content; max-width: calc(100vw - 32px); text-align: center; }
/* Placeholder webu bez náhľadu (pripravuje sa) */
.site__ph { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; background: radial-gradient(90% 70% at 70% 0%, rgba(255,79,31,.16), transparent 70%), #ebe6dc; }
.site__ph > i, .ph-row i { display: block; border-radius: 6px; background: linear-gradient(90deg, rgba(255,79,31,.08) 30%, rgba(255,79,31,.2) 50%, rgba(255,79,31,.08) 70%) 0 0 / 300% 100%; animation: shimmer 2.4s linear infinite; }
.ph-nav { height: 10px; width: 100%; opacity: .6; }
.ph-h { height: 22px; width: 62%; margin-top: 10%; }
.ph-p { height: 9px; width: 78%; } .ph-s { width: 52%; }
.ph-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.ph-row i { height: 48px; border-radius: 9px; }
.site__ph b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 20px; font-size: 11.5px; font-weight: 500; white-space: nowrap; color: var(--text); background: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1px var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site__ph b i { width: 6px; height: 6px; border-radius: 50%; background: #ffc94d; box-shadow: 0 0 8px #ffc94d; animation: blink 2.4s ease-in-out infinite; }
@keyframes shimmer { to { background-position: -300% 0; } }

/* Weby — karta je odkaz, video s animáciami stránky */
a.site { color: inherit; cursor: pointer; }
.site__frame { background: #e6e1d7; }
.site__view video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.site__body { display: flex; }
.site__desc { font-size: 14px; color: var(--muted); }
.site .chips { display: flex; }
a.site:hover .btn--light { background: var(--a1); }
.calc__ph { display: block; margin-top: 2px; font-size: 11px; color: var(--dim); }
.calc .rate output { min-width: 2.2ch; font-variant-numeric: tabular-nums; overflow: hidden; }

/* Klienti — najpopulárnejšie video, odznaky Najnovšie / Intro */
.cc__desc { margin: -4px 0 2px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.popv { display: grid; gap: 8px; padding: 6px; border-radius: 14px; text-align: left; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s, transform .16s var(--ease-out); }
.popv:hover { background: var(--panel-2); }
.popv:active { transform: scale(.985); }
.popv__th { position: relative; display: block; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #000; }
.popv__th img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.popv:hover .popv__th img { transform: scale(1.04); }
.popv:hover .proj__play { opacity: 1; transform: none; }
.popv__badge { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 10.5px; font-weight: 500; color: #0a0a0a; background: #fff; box-shadow: 0 6px 16px -6px rgba(0,0,0,.6); }
.popv__badge svg { width: 12px; height: 12px; }
.popv__t { padding: 0 4px 4px; line-height: 1.3; }
.popv__t b { display: block; font-size: 13.5px; font-weight: 600; }
.popv__t small { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 11px; color: var(--text); }
.popv__t small svg { width: 12px; height: 12px; color: #ff3d3d; }
.bdgs { display: flex; gap: 4px; margin-bottom: 3px; }
.bdg { display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 7px; border-radius: 6px; font: 500 9.5px var(--mono); font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.bdg svg { width: 10px; height: 10px; }
.bdg--hl { color: #0a0a0a; background: #f1f1f1; box-shadow: none; }
.mini--hl { box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(255,255,255,.04); }
.proj__views { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 11px; color: #0a0a0a; background: #fff; }
.proj__views svg { width: 12px; height: 12px; }
.foot { flex-wrap: wrap; }
.foot__seo { order: 3; flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11.5px; }
.foot__seo a { color: var(--dim); transition: color .2s; }
.foot__seo a:hover { color: var(--text); }

/* Klienti — karty sa nikdy neroztiahnu cez susedný stĺpec */
.cc, .popv, .mini { min-width: 0; }
.popv { grid-template-columns: minmax(0, 1fr); }
.popv__t b { overflow-wrap: anywhere; }
.st { width: 1em; text-align: center; transform-origin: 50% 55%; }
/* Detail videa na mobile — nič nepresahuje šírku obrazovky */
.detail__grid > * { min-width: 0; }
.detail__meta { flex-wrap: wrap; }
.dmeta { min-width: 0; flex: 1 1 140px; }
.dmeta b { overflow-wrap: anywhere; }
@media (max-width: 640px) { .detail h2 { font-size: clamp(24px, 7vw, 32px); } .dmeta { padding: 12px; } .dmeta > svg { width: 30px; height: 30px; padding: 7px; } }

/* Tlačidlo pri odosielaní — koliesko, potom zelená fajka (alebo chyba) */
.btn[data-state] { opacity: 1 !important; pointer-events: none; }
.btn[data-state="sent"] { background: #1f9d55 !important; color: #fff !important; animation: sentPop .9s cubic-bezier(.23, 1, .32, 1); }
.btn[data-state="error"] { background: #c2412d !important; color: #fff !important; animation: shake .4s; }
.bs { display: inline-flex; align-items: center; justify-content: center; gap: 9px; animation: bsIn .35s cubic-bezier(.23, 1, .32, 1) both; }
.bs .bs__ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: bsDraw .45s .12s ease-out forwards; transform: none !important; }
.bs__spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: bsSpin .7s linear infinite; }
@keyframes bsIn { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } }
@keyframes bsDraw { to { stroke-dashoffset: 0; } }
@keyframes bsSpin { to { transform: rotate(360deg); } }
@keyframes sentPop { 0% { transform: scale(.96); box-shadow: 0 0 0 0 rgba(31,157,85,.6); } 45% { transform: scale(1.03); } 100% { transform: none; box-shadow: 0 0 0 18px rgba(31,157,85,0); } }
@media (prefers-reduced-motion: reduce) { .btn[data-state], .bs, .bs .bs__ic { animation: none; stroke-dashoffset: 0; } }

/* Vizitka: nič mimo obrazovky nesmie rozšíriť stránku do strany (inak sa na mobile hýbe aj lišta) */
html, body { overflow-x: clip; }
.hero { overflow-x: clip; }
.is-dragging, .is-dragging * { user-select: none !important; -webkit-user-select: none !important; cursor: grabbing; }
.form-msg a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
