/* Portfólio – Lukáš Šlajferčík (v2)
   Podľa dizajnovej referencie Portfolio.dc.html (Claude Design handoff #2). */

:root {
  --acc: #ff4d2e;            /* predvolená; skutočnú nastavuje content.toml -> site.accent */
  --bg: #0b0c0d;
  --surface: #121415;
  --surface-hover: #131516;
  --text: #ecebe7;
  --text-2: #c9cac6;
  --text-3: #b9bab6;
  --text-list: #d6d6d2;
  --muted: #8a8d90;
  --ph-text: #5d6164;
  --line-08: rgba(255,255,255,.08);
  --line-10: rgba(255,255,255,.1);
  --line-12: rgba(255,255,255,.12);
  --line-14: rgba(255,255,255,.14);
  --line-20: rgba(255,255,255,.2);
  --pad-x: clamp(20px,4vw,48px);
  --maxw: 1600px;            /* v11: max. šírka obsahu, na stred (hero, nav/HUD pozadie, loader, lightbox ostávajú cez celú šírku) */
  --pad-top: clamp(72px,10vw,140px);
  --nav-h: 57px;
  --sans: 'Archivo', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --peak1: 1px 0 0 var(--acc), -1px 0 0 var(--acc), 0 1px 0 var(--acc), 0 -1px 0 var(--acc);
  --peak15: 1.5px 0 0 var(--acc), -1.5px 0 0 var(--acc), 0 1.5px 0 var(--acc), 0 -1.5px 0 var(--acc);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;   /* fallback pre staršie prehliadače */
  overflow-x: clip;     /* v3: clip nevytvára scroll kontajner -> position:sticky navigácie funguje spoľahlivo */
}
a { color: var(--text); text-decoration: none; transition: color .15s; }
a:hover { color: var(--acc); }
::selection { background: var(--acc); color: var(--bg); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
button { font: inherit; }
img, video { display: block; max-width: 100%; }

.mono { font-family: var(--mono); }
.acc { color: var(--acc); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 200; padding: 10px 14px; background: var(--text); color: var(--bg); }
.skip:focus { top: 12px; }

@keyframes blink { 0%,55% { opacity: 1 } 56%,100% { opacity: .15 } }
@keyframes rise { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
/* v7: focus-pull na celom textovom bloku + vidpull na videu (1:1 z Portfolio.dc.html) */
@keyframes focuspull {
  0%   { filter: blur(12px);  transform: scale(1.035); opacity: .35; text-shadow: none }
  8%   { filter: blur(12px);  transform: scale(1.035); opacity: 1;   text-shadow: none }
  20%  { filter: blur(12px);  transform: scale(1.035); text-shadow: none }
  28%  { filter: blur(1.5px); transform: scale(1.004); text-shadow: none }
  36%  { filter: blur(9px);   transform: scale(.975);  text-shadow: none }
  44%  { filter: blur(9px);   transform: scale(.975);  text-shadow: none }
  62%  { filter: blur(4px);   transform: scale(.987);  text-shadow: none }
  76%  { filter: blur(1.2px); transform: scale(.996);  text-shadow: none }
  84%  { filter: blur(.2px);  transform: scale(1);     text-shadow: var(--peak1) }
  90%  { filter: blur(0);     transform: scale(1);     text-shadow: var(--peak15) }
  96%  { filter: blur(0);     text-shadow: var(--peak1) }
  100% { filter: blur(0);     transform: scale(1); opacity: 1; text-shadow: none }
}
@keyframes vidpull {
  0%       { filter: blur(0);     transform: scale(1) }
  20%      { filter: blur(0);     transform: scale(1) }
  28%      { filter: blur(7px);   transform: scale(1.012) }
  36%      { filter: blur(14px);  transform: scale(1.03) }
  44%      { filter: blur(14px);  transform: scale(1.03) }
  62%      { filter: blur(10px);  transform: scale(1.025) }
  76%      { filter: blur(8px);   transform: scale(1.021) }
  84%,100% { filter: blur(7.5px); transform: scale(1.02) }
}
@keyframes scrub { from { width: 0 } to { width: 100% } }
@keyframes packet { 0%,100% { box-shadow: 0 0 0 0 var(--acc) } 50% { box-shadow: 0 0 0 6px transparent } }

.rec-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); flex-shrink: 0; animation: blink 1s steps(1) infinite; }
.tc { font-variant-numeric: tabular-nums; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px max(var(--pad-x), calc(50% - var(--maxw) / 2 + 48px));   /* v11: logo/odkazy v línii so stĺpcom */
  background: rgba(11,12,13,.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-08);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--acc); flex-shrink: 0; }
.nav__name { font-weight: 800; font-stretch: 115%; letter-spacing: .02em; font-size: 15px; text-transform: uppercase; white-space: nowrap; }
.nav__right { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 0; }
.nav__links {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; white-space: nowrap;
  gap: 8px clamp(14px,2.2vw,30px);
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.nav__links a.acc { color: var(--acc); }
.nav__links a.acc:hover { color: var(--text); }
.lang {
  display: flex; align-items: center; gap: 6px;
  margin-left: clamp(14px,2.2vw,30px); padding-left: clamp(0px,1vw,10px);
  border-left: 1px solid rgba(255,255,255,.15);
  font-size: 12px; letter-spacing: .06em;
}
.lang a { padding: 2px 4px; color: var(--muted); }
.lang a.is-on { color: var(--acc); }
.lang a:hover { color: var(--text); }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 40px; height: 32px; margin: -6px -8px -6px 8px; padding: 0 8px;
    background: none; border: 0; cursor: pointer;
  }
  .nav__toggle span { display: block; height: 2px; background: var(--text); transition: transform .2s; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11,12,13,.97); border-bottom: 1px solid var(--line-08);
    font-size: 14px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 16px var(--pad-x); border-top: 1px solid var(--line-08); }
  .lang { margin-left: 0; padding-left: 0; border-left: 0; }
}
@media (max-width: 360px) { .nav__name { font-size: 13px; } }

/* ---------- 01 Hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); padding: clamp(16px,2.5vw,32px); display: flex; }
.hero__frame {
  position: relative; flex: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(22px,5vw,40px);   /* v9: menšie na mobile */
  padding: clamp(32px,4vw,56px) max(clamp(28px,4vw,56px), calc(50% - 752px));   /* v10; v11: obsah rámu v línii so stĺpcom 1600 */
  background: repeating-linear-gradient(135deg,#121415 0 14px,#0f1112 14px 28px);
  overflow: hidden;
}
/* v7: showreel na pozadí – wrapper s rezervou 5 % pre blur/scale; filter/transform riadi JS (rack focus) */
.hero__frame.has-reel { cursor: crosshair; }
.hero__vidwrap { position: absolute; inset: -5%; filter: blur(7.5px); transform: scale(1.02); will-change: filter, transform; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(11,12,13,.55),rgba(11,12,13,0) 40%,rgba(11,12,13,.85)); }

/* obal HUD je absolútny – nesmie byť položkou flexu v .hero__frame (inak gap 40px posunie horný riadok nadol) */
.hud { position: absolute; inset: 0; pointer-events: none; }
.hud__c { --hc: clamp(10px,2.5vw,16px); position: absolute; width: clamp(20px,5vw,36px); height: clamp(20px,5vw,36px); border: 0 solid var(--text); }   /* v10: menšie na mobile */
.hud__c--tl { top: var(--hc); left: var(--hc); border-top-width: 2px; border-left-width: 2px; }
.hud__c--tr { top: var(--hc); right: var(--hc); border-top-width: 2px; border-right-width: 2px; }
.hud__c--bl { bottom: var(--hc); left: var(--hc); border-bottom-width: 2px; border-left-width: 2px; }
.hud__c--br { bottom: var(--hc); right: var(--hc); border-bottom-width: 2px; border-right-width: 2px; }
.hud__cross { position: absolute; top: 50%; right: 16%; width: 22px; height: 22px; transform: translateY(-50%); opacity: .6; pointer-events: none; }
.hud__cross::before, .hud__cross::after { content: ""; position: absolute; background: rgba(236,235,231,.5); }
.hud__cross::before { top: 50%; left: 0; right: 0; height: 1px; }
.hud__cross::after { left: 50%; top: 0; bottom: 0; width: 1px; }

.hero__top {
  position: relative; display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap;
  font-size: clamp(9.5px,2.6vw,12px); letter-spacing: .06em; text-transform: uppercase;
}
.hero__rec { display: flex; align-items: center; gap: 10px; }
.hero__hint { color: var(--muted); transition: opacity .6s; }
.hero__hint.is-used { opacity: 0; }
/* v9: na úzkych mobiloch nápoveda vedľa REC (inak by HUD mal 3 riadky) – flex-basis 0 + užšie písmená */
@media (max-width: 520px) { .hero__top .hero__hint { flex: 1 1 0; letter-spacing: .015em; text-align: right; } }
@media (max-width: 500px) { .hero__top .hero__hint { font-size: .82em; letter-spacing: 0; } }
.afico { display: inline-block; width: .95em; height: .95em; vertical-align: -.12em; margin-right: .4em; }
.hero__dist { display: inline-block; min-width: 7ch; text-align: left; white-space: nowrap; color: var(--text); font-variant-numeric: tabular-nums; }
.af { --af-c: var(--text); position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%,-50%); opacity: 0; pointer-events: none; z-index: 2;
      transition: left .32s cubic-bezier(.3,.7,.3,1), top .32s cubic-bezier(.3,.7,.3,1), opacity .3s; }
.af.is-on { opacity: 1; }
.af.is-front { width: 92px; height: 64px; }
.af.is-lock { --af-c: var(--acc); }
.af__c { position: absolute; width: 14px; height: 14px; border: 0 solid var(--af-c); transition: border-color .2s; }
.af__c--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.af__c--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.af__c--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.af__c--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.af__lbl { position: absolute; left: 0; top: 100%; margin-top: 6px; font-size: 10px; letter-spacing: .1em; white-space: nowrap; color: var(--af-c); transition: color .2s; }
.hero__ph { flex: 1 1 auto; text-align: center; color: var(--ph-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hero__specs { display: flex; gap: 6px clamp(7px,1.4vw,20px); flex-wrap: wrap; white-space: nowrap; color: var(--text-3); }

.hero__mid { position: relative; max-width: 1240px; width: 100%; transform-origin: 0% 60%; will-change: filter, transform; }
.kicker { font-size: clamp(10px,2.8vw,13px); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); margin-bottom: clamp(12px,3vw,20px); }
.display {
  margin: 0; font-weight: 850; font-stretch: 112%;
  font-size: clamp(48px,9vw,148px); line-height: .88; letter-spacing: -.025em;
  text-transform: uppercase; text-wrap: balance;
}
/* úzke mobily: 48px minimum z dizajnu je o pár px širšie než text box (OBJEKTÍVU) -> škálovať so šírkou */
/* v12: vždy presne 2 riadky (span na riadok), veľkosť podľa šírky stĺpca, strop 112 px */
.hero .display { font-size: clamp(28px, min(calc((100vw - 90px) / 11.5), 14vh), 112px); line-height: .9; display: flex; flex-direction: column; align-items: flex-start; white-space: nowrap; max-width: 1100px; text-wrap: nowrap; }
/* v12 doplnok: pod 360 px by 28 px minimum z dizajnu pretieklo (320 px: „OD OBJEKTÍVU“ o 10 px) -> menšie minimum len tam */
@media (max-width: 360px) { .hero .display { font-size: clamp(22px, calc((100vw - 90px) / 9.5), 28px); } }
.hero h1 { transition: text-shadow .2s; }
.hero h1:hover { text-shadow: var(--peak1); }
/* v7: počas loading screenu drž presne stav 0 % keyframes (text rozmazaný, video ostré) – po otvorení nič nepreblikne */
.booting .hero__mid { animation: none; filter: blur(12px); transform: scale(1.035); opacity: .35; }
.booting .hero__vidwrap { animation: none; filter: none; transform: scale(1); }
.snd { cursor: pointer; background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--text-3); transition: color .15s; }
.snd:hover { color: var(--text); }
.snd.is-on { color: var(--acc); }

.hero__bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hero__mode { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; white-space: nowrap; font-size: clamp(10px,2.7vw,12px); text-transform: uppercase; letter-spacing: .08em; }
.hero__role { padding: clamp(6px,1.6vw,8px) 12px; border: 1px solid var(--acc); color: var(--text); min-width: min(100%,320px); }

.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  white-space: nowrap; flex-shrink: 0; padding: 14px 22px;
  font-family: var(--sans); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--text); color: var(--bg); border: 0; }
.btn--primary:hover { background: var(--acc); color: var(--bg); }
.btn--ghost { border: 1px solid rgba(236,235,231,.4); }
.btn--ghost:hover { border-color: var(--acc); color: var(--text); }
.hero .btn { padding: clamp(11px,3vw,14px) clamp(14px,4vw,22px); font-size: clamp(12px,3.3vw,14px); }   /* v9 */
/* v10: na mobile dve rovnako široké tlačidlá cez celú šírku, na desktope vpravo */
.btns--hero { flex: 1 1 280px; min-width: 0; flex-wrap: nowrap; justify-content: flex-end; gap: 12px; }
.btns--hero .btn--primary { border: 1px solid transparent; }
@media (max-width: 340px) { .btns--hero .btn { white-space: normal; line-height: 1.15; } }   /* 320 px: dlhší EN text sa zalomí, nepretečie */   /* rovnaký rámik ako ghost -> presne rovnaká šírka */
.btns--hero .btn { flex: 1 1 0; min-width: 0; max-width: 230px; text-align: center; padding-left: clamp(8px,3vw,22px); padding-right: clamp(8px,3vw,22px); }   /* min-width:0 -> naozaj rovnaká šírka aj pri dlhšom texte (EN) */

/* ---------- Sekcie – spoločné ---------- */
.section { padding: var(--pad-top) var(--pad-x) 0; max-width: var(--maxw); margin-left: auto; margin-right: auto; }   /* v11 */
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section__head--ch { margin-bottom: 40px; }
.section__head--proj { margin-bottom: 36px; }
.section__head--map { margin-bottom: 32px; }
.label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.label--feat { margin-bottom: 24px; }
.label--feat, .feat { max-width: 1280px; margin-left: auto; margin-right: auto; }   /* v11: Featured v kontajneri 1280 */
.h2, .display, .credit__title, .mode h3 { overflow-wrap: break-word; }   /* poistka: zalomí slovo len ak sa nezmestí do riadku */
.h2 {
  margin: 0; font-weight: 800; font-stretch: 110%;
  font-size: clamp(36px,5vw,72px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase;
}
.section__lead { margin: 0; max-width: 420px; color: var(--text-3); font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.section__lead--map { max-width: 440px; }
.tag { position: absolute; top: 10px; left: 10px; font-size: 11px; padding: 4px 7px; background: var(--bg); color: var(--acc); z-index: 2; }

/* Placeholder plochy */
.ph {
  background: repeating-linear-gradient(135deg,#141617 0 12px,#101213 12px 24px);
  border: 1px solid var(--line-08);
  display: flex; align-items: center; justify-content: center;
}
.ph__txt { font-size: 11px; color: var(--ph-text); text-transform: uppercase; letter-spacing: .08em; text-align: center; padding: 0 12px; }
.ph__txt--sm { font-size: 10px; text-transform: none; letter-spacing: 0; padding: 0 4px; }

/* Chipy (filter + výber služieb) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  cursor: pointer; white-space: nowrap; padding: 9px 14px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--line-20); background: transparent; color: var(--text);
  transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--acc); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--bg); }

/* ---------- 01b Manifest ---------- */
.manifest { padding-top: clamp(80px,12vw,180px); }
.manifest__text {
  margin: 0 auto; max-width: 1040px; text-align: center;   /* v11 */
  font-weight: 800; font-stretch: 106%; font-size: clamp(26px,3.6vw,54px); line-height: 1.12; letter-spacing: -.02em;
  text-wrap: balance;
}
.mw { transition: color .35s ease; }
.mw--hl { color: var(--acc); }
.js .mw { color: #2b2e31; }              /* stmavené len keď beží JS – bez JS je veta normálne čitateľná */
.js .mw.is-on { color: var(--text); }
.js .mw--hl.is-on { color: var(--acc); }
.stats {
  max-width: 1040px; margin: clamp(64px,9vw,120px) auto 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 clamp(32px,5vw,72px);
  border-top: 1px solid var(--line-12);
}
.stat { flex: 0 0 auto; padding: 28px 0 8px; display: flex; flex-direction: column; gap: 12px; }
.stat__num { font-weight: 850; font-stretch: 100%; font-size: clamp(44px,4.6vw,68px); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* ---------- 02 V titulkoch ---------- */
.credits__col { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: clamp(28px,4vw,44px); text-align: center; }
.credits__col .label { margin-bottom: 0; }
.credit { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.credit__role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); margin-bottom: 6px; }
.credit__title, .credit__inline { font-size: clamp(22px,2.6vw,34px); font-weight: 800; font-stretch: 108%; text-transform: uppercase; line-height: 1.1; }
.credit__title { text-wrap: balance; }
.credit__inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; max-width: 860px; }

/* ---------- 03 Služby — režimy M1–M5 + koliesko (v6) ---------- */
.modes__head { margin-bottom: clamp(18px,2.4vw,28px); }
.h2--modes { line-height: 1.08; padding-top: .04em; }   /* diakritika */
.modes { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(8px,4vw,64px); margin-bottom: 8px; }
.dial { position: sticky; top: var(--dial-top, 120px); align-self: flex-start; flex: 1 1 300px; max-width: 440px; z-index: 3; }
.modecol { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; }
.modes__lead { margin: 0 0 28px; max-width: 620px; color: var(--text-3); font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.mode {
  padding: clamp(20px,3vw,30px) clamp(4px,1.5vw,8px) clamp(24px,3.4vw,34px);
  border-top: 2px solid var(--line-12); display: flex; flex-direction: column; gap: 14px;
  transition: opacity .35s, border-color .35s;
}
.js .mode { opacity: .38; }
.js .mode.is-on { opacity: 1; border-top-color: var(--acc); }
.mode__meta { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .08em; }
.mode h3 { margin: 0; font-size: clamp(24px,2.6vw,32px); font-weight: 800; font-stretch: 105%; line-height: 1.05; text-transform: uppercase; }
.mode p { margin: 0; max-width: 620px; color: var(--text-3); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.mode__list { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; color: var(--text-list); }

/* koliesko – desktop (celé, sticky vľavo, vertikálne centrované) */
.dial__wide { display: flex; justify-content: center; height: var(--dial-size, 380px); overflow: hidden; }
.dial__svg { width: var(--dial-size, 380px); height: var(--dial-size, 380px); flex-shrink: 0; display: block; overflow: visible; }
.dial__rot { transform-origin: 200px 200px; transform-box: view-box; transition: transform .22s cubic-bezier(.3,.7,.3,1); }
.dial__tick { stroke: rgba(236,235,231,.18); }
.dial__tick--m { stroke: rgba(236,235,231,.55); }
.dial__tick--m.is-on { stroke: var(--acc); }
.dial__m { cursor: pointer; }
.dial__num { font-family: var(--sans); font-weight: 850; font-size: 34px; letter-spacing: -.01em; fill: #6d7174; transition: fill .25s; }
.dial__name { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; fill: #4e5256; transition: fill .25s; }
.dial__num--n { font-size: 36px; }
.dial__name--n { font-size: 12px; }
.dial__m.is-on .dial__num { fill: var(--acc); }
.dial__m.is-on .dial__name { fill: var(--text); }
.dial__m:hover .dial__num { fill: var(--text); }
.dial__m.is-on:hover .dial__num { fill: var(--acc); }
.dial__arc { font-family: var(--mono); font-size: 10px; letter-spacing: .32em; fill: #45494d; }
.dial__readm { opacity: 0; transition: opacity .2s; }
.dial__readm.is-on { opacity: 1; }
.dial__readnum { font-family: var(--sans); font-weight: 850; font-size: 40px; fill: var(--text); }
.dial__readname { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; fill: var(--acc); }

/* koliesko – mobil (spodný oblúk, sticky pod headerom) */
.dial__narrow { display: none; position: relative; }
.dial__svgn { display: block; width: min(100%,400px); height: auto; margin: 0 auto; }
.dial__fade { position: absolute; left: 0; right: 0; top: 100%; height: 26px; background: linear-gradient(180deg,var(--bg),rgba(11,12,13,0)); pointer-events: none; }
.modes.is-narrow .dial { flex-basis: 100%; max-width: none; background: var(--bg); padding-bottom: 4px; }   /* celý riadok, aby sa nikdy nepostavilo vedľa kariet */
.modes.is-narrow .dial__wide { display: none; }
.modes.is-narrow .dial__narrow { display: block; }
/* bez JS (alebo pred prvým meraním): podľa šírky okna */
@media (max-width: 899px) {
  .modes:not(.is-wide) .dial { flex-basis: 100%; max-width: none; background: var(--bg); padding-bottom: 4px; }
  .modes:not(.is-wide) .dial__wide { display: none; }
  .modes:not(.is-wide) .dial__narrow { display: block; }
}
html:not(.js) .dial { display: none; }

.modes__extra { display: flex; flex-wrap: wrap; gap: 0 clamp(8px,4vw,64px); }
.modes__spacer { flex: 1 1 300px; max-width: 440px; }
.modes.is-narrow + .modes__extra .modes__spacer { display: none; }
.modes__rows { flex: 999 1 460px; min-width: 0; border-top: 1px solid var(--line-12); }
.addons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 18px 0; border-bottom: 1px solid var(--line-12); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* tlačidlá „>_ príkaz“ – otvoria terminál a spustia príkaz */
.cmd { cursor: pointer; background: none; border: 0; padding: 0; font-size: 12px; letter-spacing: .04em; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color .15s; }
.cmd:hover { color: var(--text); }
.cmd--credit { margin-top: 6px; }
.cmd--spec { font-size: inherit; }
/* v12: „>_“ rozbaľovače (profil, zoznam projektov, výber služieb) */
.profile { display: flex; flex-direction: column; gap: clamp(8px,1.4vw,14px); font-size: clamp(10px,1.2vw,13px); border-top: 1px solid var(--line-12); padding-top: clamp(12px,2.4vw,24px); }
.profile .spec { border-top: 0; padding-top: 0; }
.cmd--profile { align-self: flex-start; font-size: inherit; }
html:not(.js) .cmd--profile { display: none; }
.js .spec--more:not(.is-open) { display: none; }
.spec--more.is-open { animation: rise .35s ease both; }
.projects__more { display: flex; justify-content: center; margin-top: 36px; }
.more-btn { cursor: pointer; background: none; border: 1px solid rgba(255,255,255,.18); padding: 12px 20px; font-size: 12px; letter-spacing: .06em; color: var(--text-3); transition: border-color .15s, color .15s; }
.more-btn:hover { border-color: var(--text); color: var(--text); }
.need-btn { cursor: pointer; flex: 1 1 260px; min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: none; border: 0; padding: 0; text-align: left; font-size: 13px; letter-spacing: .02em; color: var(--muted); transition: color .15s; }
.need-btn.has-pick { color: var(--text); }
.need-btn:hover { color: var(--text); }
.need-btn__ico { color: var(--ph-text); }
.slate__svc.is-opening { animation: rise .3s ease both; }
.spec__with { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }

/* ---------- 04 Featured ---------- */
.feat { display: flex; flex-wrap: wrap; align-items: stretch; gap: clamp(24px,4vw,56px); }   /* v10: stretch -> reels (margin-top:auto) končia so spodkom fotky */
.feat__photo {
  position: relative; flex: 1 1 440px; max-width: 640px; min-width: 0; margin: 0; aspect-ratio: 1/1; overflow: hidden;
  background: #101213; display: flex; align-items: center; justify-content: center;
}
.feat__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 24% 50%; }
.feat__photo .tag { top: 12px; left: 12px; }
.feat__body { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.feat__kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.h2--feat { font-size: clamp(34px,4.4vw,64px); text-wrap: balance; }
.feat__body p { margin: 0; color: var(--text-2); font-size: 17px; line-height: 1.6; max-width: 560px; text-wrap: pretty; }
.feat__reels { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.feat__reels-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.reels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; max-width: 420px; }
.reel { position: relative; aspect-ratio: 9/16; overflow: hidden; background: repeating-linear-gradient(135deg,#141617 0 10px,#101213 10px 20px); transition: border-color .2s; }
.reel--video { display: block; width: 100%; padding: 0; margin: 0; border: 1px solid var(--line-08); cursor: pointer; color: var(--text); font: inherit; }
.reel--video:hover, .reel--video:focus-visible, .reel--video.is-hover { border-color: var(--acc); }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(11,12,13,0) 55%,rgba(11,12,13,.75)); pointer-events: none; }
.reel__play { position: absolute; left: 9px; bottom: 10px; width: 0; height: 0; border-left: 9px solid var(--text); border-top: 6px solid transparent; border-bottom: 6px solid transparent; pointer-events: none; }
.reel__dur { position: absolute; right: 8px; bottom: 8px; font-size: 10px; letter-spacing: .06em; pointer-events: none; }
.reel__preview { position: absolute; top: 8px; right: 8px; display: none; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .08em; pointer-events: none; }
.reel__preview .rec-dot { width: 8px; height: 8px; }
.reel--video.is-hover .reel__preview { display: flex; }

/* ---------- 05 Projekty ---------- */
.projects { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,340px),1fr)); gap: 28px 20px; }
.project { display: flex; flex-direction: column; gap: 14px; color: var(--text); }
button.project { width: 100%; padding: 0; margin: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.project__play { position: absolute; left: 10px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 5px 9px 5px 8px; background: rgba(11,12,13,.8); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); pointer-events: none; }
.project__play i { width: 0; height: 0; border-left: 8px solid var(--text); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.project[hidden], .projects__more[hidden], .more-btn[hidden], .need-btn[hidden], .slate__svc[hidden], .cmd--profile[hidden] { display: none; }
.project:hover { color: var(--text); }
.project__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; transition: border-color .2s; }
.project__thumb img, .project__thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__thumb video { opacity: 0; transition: opacity .2s; }
.loop { position: absolute; inset: 0; background: rgba(11,12,13,.35); pointer-events: none; opacity: 0; transition: opacity .15s; z-index: 1; }
.loop__rec { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.loop__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line-12); }
.loop__bar div { height: 100%; width: 0; background: var(--acc); }
.project:hover .project__thumb, .project.is-playing .project__thumb { border-color: var(--acc); }
.project:hover .loop, .project.is-playing .loop { opacity: 1; }
.project:hover .loop__bar div, .project.is-playing .loop__bar div { animation: scrub 4s linear infinite; }
.project.is-playing video { opacity: 1; }
.project__row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.project__title { font-size: 20px; font-weight: 750; text-transform: uppercase; letter-spacing: .01em; }
.project__meta { font-size: 11px; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.project__role { margin-top: -6px; color: var(--text-3); font-size: 15px; }
/* dotykové zariadenia bez videa: žiadny „hover“ stav */
@media (hover: none) { .project:not(.has-video):hover .loop { opacity: 0; } .project:not(.has-video):hover .project__thumb { border-color: var(--line-08); } }

/* ---------- 06 Mapa ---------- */
.mapbox { position: relative; width: 100%; aspect-ratio: 7/2; min-height: clamp(260px,40vw,300px);   /* width:100% – inak min-height cez aspect-ratio roztiahne šírku na mobile */
  overflow: hidden; border: 1px solid var(--line-08); background: var(--bg); }
.mapwrap { container-type: inline-size; }
@container (max-width: 599px) { .mapbox { aspect-ratio: 10/12; min-height: 0; } }   /* v5: detail Európy pod svetom */
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 07 O mne ---------- (v5: vždy 2 stĺpce 1/3 : 2/3, text sa plynulo zmenšuje) */
.about {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: clamp(14px,5vw,72px);
  align-items: center; max-width: 1040px; margin: 0 auto;   /* v11: 1100 -> 1040 */
}
.about__photo {
  justify-self: end; width: min(100%, 390px, calc(86vh * 602 / 1180)); margin: 0;
  aspect-ratio: 602/1180; overflow: hidden; background: #000; border: 1px solid var(--line-10);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }   /* v12 */
.about__body { min-width: 0; max-width: 640px; display: flex; flex-direction: column; gap: clamp(12px,2.6vw,28px); }
.about__body .label { margin-bottom: 0; font-size: clamp(10px,1.2vw,12px); }
.h2--about { font-size: clamp(20px,4vw,56px); line-height: 1; text-wrap: balance; }
.about__body p { margin: 0; color: var(--text-2); font-size: clamp(13px,1.6vw,18px); line-height: 1.55; text-wrap: pretty; }
.spec {
  display: grid; grid-template-columns: auto minmax(0,1fr); gap: clamp(6px,1.2vw,12px) clamp(10px,2.6vw,28px); margin: 0;
  font-size: clamp(10px,1.2vw,13px); border-top: 1px solid var(--line-12); padding-top: clamp(12px,2.4vw,24px); overflow-wrap: anywhere;
}
.spec dt { color: var(--muted); }
.spec dd { margin: 0; min-width: 0; }

/* ---------- 08 Kontakt ---------- */
.section--contact { padding-bottom: clamp(80px,8vw,110px); }
.contact {
  border-top: 1px solid var(--line-12); padding-top: 48px;
  display: flex; flex-wrap: wrap; gap: clamp(32px,5vw,72px);   /* v10: 1/3 : 2/3, pod ~950 px pod seba */
}
.contact__info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact__info .label { margin-bottom: 0; }
.display--contact { font-size: clamp(44px,7vw,112px); line-height: 1; padding-top: .06em; }   /* v5: diakritika (Ď, Č, Ť) sa pri .88 prekrývala */
/* e-mail a telefón dole v ľavom stĺpci (zarovnané so spodkom formulára) */
.contact__rows { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; font-size: 15px; border-bottom: 1px solid var(--line-08); }
.contact__row { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-08); }
.contact__k { flex: 0 0 72px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact__mail { min-width: 0; overflow-wrap: anywhere; }
.contact__tel { cursor: pointer; background: none; border: 0; padding: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: inherit; color: var(--text-3); }
.contact__tel:hover { color: var(--acc); }
.contact__mask { letter-spacing: .06em; }
.contact__show { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }

/* formulár ako „slate“ panel */
.slate { position: relative; flex: 1.9 1 540px; min-width: 0; max-width: 100%; display: flex; flex-direction: column; align-self: flex-start;
         border: 1px solid var(--line-14); background: #0e1011; margin: 0; }
.slate[hidden] { display: none; }
.slate__c { position: absolute; width: 14px; height: 14px; border: 0 solid var(--text); pointer-events: none; }
.slate__c--tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.slate__c--tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.slate__c--bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.slate__c--br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.slate__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px clamp(18px,3vw,28px);
               border-bottom: 1px solid var(--line-14); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.slate__rec { display: flex; align-items: center; gap: 10px; color: var(--text); }
.slate__id { color: var(--ph-text); white-space: nowrap; }
.slate__row { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 20px clamp(18px,3vw,28px); border: 0; border-bottom: 1px solid var(--line-08); margin: 0; cursor: text; min-width: 0; }
fieldset.slate__row { cursor: default; }
.slate__k { flex: 0 0 150px; padding: 3px 0 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); float: left; }
fieldset.slate__row > legend.slate__k { float: left; margin: 0; }   /* legend v rade s obsahom */
.slate__row input, .slate__row textarea {
  flex: 1 1 220px; min-width: 0; background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0;
  color: var(--text); font-family: var(--sans); font-size: 18px; line-height: 1.4; outline: none; caret-color: var(--acc);
}
.slate__row textarea { resize: vertical; }
.slate__row input::placeholder, .slate__row textarea::placeholder { color: var(--muted); opacity: 1; }
.slate__row:focus-within { background: rgba(255,255,255,.015); }
.slate__row:focus-within .slate__k { color: var(--acc); }
.slate__row input[aria-invalid="true"], .slate__row textarea[aria-invalid="true"] { text-decoration: underline wavy rgba(255,77,46,.6); }
.slate__svc { flex: 1 1 260px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill,minmax(max(124px,30%),1fr)); gap: 6px; }
.svc { cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px; background: transparent; border: 1px solid var(--line-14); color: var(--text-3);
       font-size: 12px; letter-spacing: .04em; text-align: left; transition: border-color .15s, background .15s; }
.svc:hover { border-color: rgba(236,235,231,.5); }
.svc__sq { flex: 0 0 auto; width: 10px; height: 10px; border: 1px solid var(--ph-text); transition: background .15s; }
.svc__code { color: var(--ph-text); }
.svc__label { white-space: nowrap; }
.svc[aria-pressed="true"] { border-color: var(--acc); background: rgba(255,77,46,.08); color: var(--text); }
.svc[aria-pressed="true"] .svc__sq { border-color: var(--acc); background: var(--acc); }
.svc[aria-pressed="true"] .svc__code { color: var(--acc); }
.slate__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 18px clamp(18px,3vw,28px); }
.slate__hint { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ph-text); white-space: nowrap; }
.slate__err { flex: 1 1 100%; order: -1; font-size: 14px; line-height: 1.45; color: #ff8a75; }
.slate__err[hidden] { display: none; }
.slate__send { cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 15px 24px; background: var(--text); color: var(--bg); border: 0;
               font-family: var(--sans); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; transition: background .15s; margin-left: auto; }
.slate__send .mono { font-weight: 400; }
.slate__send:hover { background: var(--acc); }
.slate__send:disabled { opacity: .6; cursor: progress; }
/* honeypot – mimo obrazovky (nie display:none, to by niektoré boty preskočili) */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.sent { flex: 1.9 1 540px; min-width: 0; padding: clamp(24px,3vw,36px); border: 1px solid var(--acc); background: #0e1011; display: flex; flex-direction: column; gap: 12px; align-self: flex-start; outline: none; }
.sent[hidden] { display: none; }
.sent__status { font-size: 12px; color: var(--acc); letter-spacing: .08em; }
.sent__title { font-size: 24px; font-weight: 800; text-transform: uppercase; }
.sent__again { align-self: flex-start; margin-top: 8px; cursor: pointer; background: none; border: 0; padding: 0; color: var(--text-3); font-size: 12px; text-decoration: underline; }
.sent__again:hover { color: var(--acc); }

/* Footer */
.footer {
  margin-top: clamp(64px,8vw,120px);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase;
}
.footer__links { display: flex; gap: 20px; }
.footer__term { cursor: pointer; background: none; border: 1px dashed var(--line-20); padding: 6px 10px; color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; transition: color .15s, border-color .15s; }
.footer__term:hover { color: var(--text); border-color: var(--acc); }

/* ---------- HUD pásik ---------- */
.hudbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; overflow: hidden;
  padding: 9px max(clamp(16px,3vw,32px), calc(50% - 752px)); padding-bottom: max(9px, env(safe-area-inset-bottom));   /* v11 */
  background: rgba(11,12,13,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-08);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transform: translateY(100%); pointer-events: none; transition: opacity .3s, transform .3s;
}
.hudbar.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hudbar__tc { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hudbar__scn { overflow: hidden; text-overflow: ellipsis; min-width: 0; color: var(--text); }
.hudbar__vals { display: flex; align-items: center; gap: 16px; color: var(--text-3); flex-shrink: 0; }
.hudbar__btn { cursor: pointer; background: none; border: 1px solid var(--line-20); padding: 3px 7px; color: var(--text); font-size: 11px; }
.hudbar__btn:hover { border-color: var(--acc); }
@media (max-width: 520px) { .hudbar { gap: 10px; } .hudbar__vals { gap: 10px; } .hudbar__opt { display: none; } }

/* ---------- Terminál ---------- */
.term {
  position: fixed; left: max(0px, calc(50% - var(--maxw) / 2)); right: max(0px, calc(50% - var(--maxw) / 2)); bottom: 0; z-index: 100;   /* v11 */
  height: min(380px,62vh); display: flex; flex-direction: column;
  background: rgba(8,9,10,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--acc); font-size: 13px;
  animation: rise .2s ease both;
}
.term[hidden] { display: none; }
.term__head { display: flex; justify-content: space-between; align-items: center; padding: 10px clamp(16px,3vw,32px); border-bottom: 1px solid var(--line-08); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.term__close { cursor: pointer; background: none; border: 0; padding: 0; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.term__close:hover { color: var(--text); }
.term__body { flex: 1; overflow-y: auto; padding: 14px clamp(16px,3vw,32px); padding-bottom: max(14px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 4px; }
#term-lines { display: flex; flex-direction: column; gap: 4px; }
#term-lines div { white-space: pre-wrap; line-height: 1.5; overflow-wrap: anywhere; }
.term__prompt { display: flex; gap: 10px; align-items: center; }
.term__prompt input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font-family: var(--mono); font-size: 16px; padding: 0; }
@media (min-width: 720px) { .term__prompt input { font-size: 13px; } }   /* 16px na mobile = iOS nezoomuje */

/* ---------- Prehrávač reelov (lightbox) ---------- */
.lb {
  --lbr: .5625;                                   /* pomer strán videa (JS), default 9/16 */
  --lbw: min(92vw, calc((100vh - 150px) * var(--lbr)));
  position: fixed; inset: 0; z-index: 120;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: clamp(12px,3vh,32px);
  background: rgba(8,9,10,.95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: rise .2s ease both;
}
@supports (height: 100dvh) { .lb { --lbw: min(92vw, calc((100dvh - 150px) * var(--lbr))); } }
.lb.is-landscape { --lbw: min(92vw, 1400px, calc((100vh - 150px) * var(--lbr))); }
@supports (height: 100dvh) { .lb.is-landscape { --lbw: min(92vw, 1400px, calc((100dvh - 150px) * var(--lbr))); } }
.lb[hidden] { display: none; }
.lb__bar { width: max(min(92vw,340px), var(--lbw)); display: flex; align-items: center; font-size: 11px; color: var(--text); }
.lb__bar--top { justify-content: space-between; gap: 12px; letter-spacing: .08em; text-transform: uppercase; }
.lb__title { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lb__close { cursor: pointer; background: none; border: 0; padding: 0; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.lb__close:hover { color: var(--text); }
.lb__frame { position: relative; width: var(--lbw); aspect-ratio: var(--lbar, 9/16); background: #000; border: 1px solid var(--line-12); }
.lb__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; cursor: pointer; }   /* absolútne: inak výšku rámika určí video, nie aspect-ratio */
.lb__c { position: absolute; width: 20px; height: 20px; border: 0 solid rgba(236,235,231,.8); pointer-events: none; }
.lb__c--tl { top: 10px; left: 10px; border-top-width: 2px; border-left-width: 2px; }
.lb__c--tr { top: 10px; right: 10px; border-top-width: 2px; border-right-width: 2px; }
.lb__c--bl { bottom: 10px; left: 10px; border-bottom-width: 2px; border-left-width: 2px; }
.lb__c--br { bottom: 10px; right: 10px; border-bottom-width: 2px; border-right-width: 2px; }
.lb__bar--ctl { flex-wrap: wrap; gap: 8px 12px; letter-spacing: .06em; text-transform: uppercase; }
.lb__btn { cursor: pointer; flex-shrink: 0; height: 30px; background: none; border: 1px solid rgba(255,255,255,.25); color: var(--text); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: border-color .15s; }
.lb__btn:hover { border-color: var(--acc); }
.lb__btn--play { width: 34px; padding: 0; }
.lb__btn--mute { padding: 0 10px; }
.lb__time { flex-shrink: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb__scrub { flex: 1 1 120px; min-width: 120px; height: 24px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.lb__track { position: relative; width: 100%; height: 3px; background: rgba(255,255,255,.18); }
.lb__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--acc); }
html.lb-open { overflow: hidden; }

/* ---------- Menej pohybu, ak si to návštevník želá ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec-dot, .hero__mid, .hero__vidwrap, .term, .lb { animation: none !important; }
  .af { transition: opacity .3s; }
  .dial__rot { transition: none; }
  .js .mw { color: var(--text); } .js .mw--hl { color: var(--acc); }   /* všetky slová rozsvietené */
  .project:hover .loop__bar div, .project.is-playing .loop__bar div { animation: none; width: 100%; }
  * { transition: none !important; }
}
