/* REC.ORDER — makieta strony (zorna.pl). Język ruchu: „Przycisk” — interfejs nagrywania.
   Kolory i pismo: brand book, rozdziały 04–05. */

:root {
  --czern: #0E0E0E;
  --grafit: #161615;
  --grafit-2: #1F1F1D;
  --linia: #2E2D2A;
  --papier: #F2F0EA;
  --papier-2: #E6E3DB;
  --linia-jasna: #D3CFC5;
  --szary: #A9A69E;         /* tekst drugorzędny na czerni, 7.9:1 */
  --szary-ciemny: #5E5B55;  /* tekst drugorzędny na papierze, 5.9:1 */
  --rec: #FF3D2E;           /* kropka, akcent; tekst tylko na czerni */
  --rec-tekst: #C42418;     /* czerwony tekst na papierze, 5.1:1 */
  --f: 'Archivo', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --pad: clamp(20px, 4.4vw, 64px);
  --max: 1480px;
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--czern); color: var(--papier);
  font-family: var(--f); font-size: 17px; line-height: 1.55; font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
::selection { background: var(--rec); color: var(--czern); }
:focus-visible { outline: 2px solid var(--rec); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--papier); color: var(--czern); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }
.wew { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ── pismo ─────────────────────────────────────────────────────────────── */
.etykieta, .stopka-kol h2 {
  font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--szary); line-height: 1.4;
}
.naglowek, .t1, .t2 {
  font-family: var(--f); font-weight: 800; text-transform: uppercase;
  font-variation-settings: 'wdth' 125; letter-spacing: -.012em; line-height: .92;
}
.t1 { font-size: clamp(46px, 8.2vw, 136px); }
.t2 { font-size: clamp(34px, 5.2vw, 84px); }
.t3 { font-family: var(--f); font-weight: 700; font-variation-settings: 'wdth' 112; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.15; text-transform: none; }
.lead { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; max-width: 38em; color: var(--papier); }
.tekst-drugi { color: var(--szary); }

/* kropka marki: kończy nagłówki, jest punktorem i wskaźnikiem */
.kr {
  display: inline-block; width: .2em; height: .2em; margin-left: .06em; border-radius: 50%;
  background: var(--rec); vertical-align: baseline; font-style: normal;
}
[data-pisz] { position: relative; }
.pisz-t { display: inline; }
.nw { white-space: nowrap; }

/* ── przyciski „nagrywania” ─────────────────────────────────────────────── */
.btn {
  --b-tlo: var(--papier); --b-tekst: var(--czern); --b-ring: var(--czern);
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 22px 10px 12px;
  border: 0; border-radius: 999px; background: var(--b-tlo); color: var(--b-tekst); cursor: pointer;
  font-family: var(--f); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase;
  font-variation-settings: 'wdth' 112; text-decoration: none; white-space: nowrap;
  transition: background .3s var(--e-out), color .3s var(--e-out), transform .3s var(--e-out);
}
.btn:active { transform: scale(.97); }
.btn-ciemny { --b-tlo: var(--czern); --b-tekst: var(--papier); --b-ring: var(--papier); }
.btn-obrys { --b-tlo: transparent; --b-tekst: var(--papier); --b-ring: var(--papier); box-shadow: inset 0 0 0 1.5px var(--linia); }
.btn-obrys:hover { box-shadow: inset 0 0 0 1.5px var(--papier); }
.na-papierze .btn-obrys { --b-tekst: var(--czern); --b-ring: var(--czern); box-shadow: inset 0 0 0 1.5px var(--linia-jasna); }
.ik-rec { width: 28px; height: 28px; flex-shrink: 0; overflow: visible; }
.ik-rec circle { fill: none; }
.ik-rec .ik-tlo { stroke: var(--b-ring); stroke-width: 3.2; opacity: .22; }
.ik-rec .ik-ring { stroke: var(--b-ring); stroke-width: 3.2; stroke-dasharray: 1 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .6s var(--e-io); }
.ik-rec .ik-dot { fill: var(--rec); transform-origin: 50% 50%; transition: transform .45s var(--e-out); }
.btn:hover .ik-ring, .btn:focus-visible .ik-ring { stroke-dashoffset: 0; }
.btn:hover .ik-dot, .btn:focus-visible .ik-dot { transform: scale(1.18); }
.btn-strzalka::after { content: '→'; font-weight: 500; margin-left: -2px; transition: transform .3s var(--e-out); }
.btn-strzalka:hover::after { transform: translateX(4px); }
.btn-tekst { padding-left: 22px; }

.link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none;
  font-variation-settings: 'wdth' 112; letter-spacing: .02em;
}
.link::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); transition: transform .3s var(--e-out); }
.link:hover::before { transform: scale(1.6); }
.link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--e-out); padding-bottom: 2px; }
.link:hover span { background-size: 100% 1.5px; }

/* ── nawigacja ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  transition: transform .5s var(--e-out), background .4s var(--e-out);
}
.nav::before { content: ''; position: absolute; inset: 0; background: rgba(14, 14, 14, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .4s; z-index: -1; border-bottom: 1px solid var(--linia); }
.nav.jest-tlo::before { opacity: 1; }
.nav.schowany { transform: translateY(-100%); }
.nav-logo { display: block; color: var(--papier); flex-shrink: 0; }
.nav-logo svg { height: 21px; width: auto; overflow: visible; }
.nav-linki { display: flex; gap: 4px; margin-left: auto; }
.nav-linki a, .menu-linki a {
  position: relative; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .02em;
  font-variation-settings: 'wdth' 108; padding: 10px 14px; border-radius: 999px; color: var(--szary); transition: color .25s;
}
.nav-linki a:hover, .nav-linki a[aria-current] { color: var(--papier); }
.nav-linki a[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--rec); }
.nav-cta { min-height: 44px; font-size: 13px; }
.nav-menu { display: none; width: 48px; height: 48px; border: 0; background: var(--grafit-2); border-radius: 50%; position: relative; cursor: pointer; margin-left: auto; }
.nav-menu span:not(.sr) { position: absolute; left: 15px; width: 18px; height: 2px; background: var(--papier); transition: transform .35s var(--e-out); }
.nav-menu span:nth-child(1) { top: 19px; }
.nav-menu span:nth-child(2) { top: 27px; }
.nav-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--czern); padding: calc(var(--nav-h) + 24px) var(--pad) 32px;
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu-linki { display: flex; flex-direction: column; }
.menu-linki a {
  font-size: clamp(34px, 9vw, 56px); font-weight: 800; text-transform: uppercase; font-variation-settings: 'wdth' 125;
  color: var(--papier); padding: 8px 0; border-radius: 0; border-bottom: 1px solid var(--linia); line-height: 1.05;
}
.menu-linki a[aria-current] { color: var(--rec); }
.menu-cta { align-self: flex-start; }
.menu-stopka { display: flex; flex-direction: column; gap: 4px; color: var(--szary); margin-top: auto; }
.menu-stopka a { color: var(--papier); }

@media (max-width: 980px) {
  .nav-linki, .nav-cta { display: none; }
  .nav-menu { display: block; }
  :root { --nav-h: 68px; }
}

/* ── pływający przycisk: pierścień = postęp strony ─────────────────────── */
.btn-plywajacy {
  position: fixed; right: max(16px, calc(var(--pad) - 8px)); bottom: 20px; z-index: 50; display: flex; align-items: center; gap: 10px;
  flex-direction: row-reverse; text-decoration: none; color: var(--papier);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .4s var(--e-out), transform .5s var(--e-out);
}
.btn-plywajacy.widoczny { opacity: 1; transform: none; pointer-events: auto; }
.btn-plywajacy svg { width: 60px; height: 60px; border-radius: 50%; background: var(--czern); box-shadow: 0 6px 24px rgba(0, 0, 0, .45); overflow: visible; }
.btn-plywajacy circle { fill: none; }
.bp-tlo { stroke: var(--linia); stroke-width: 5; }
.bp-postep { stroke: var(--papier); stroke-width: 5; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--postep, 0)); transform: rotate(-90deg); transform-origin: 50% 50%; }
.bp-dot { fill: var(--rec) !important; transform-origin: 50% 50%; transition: transform .4s var(--e-out); }
.btn-plywajacy:hover .bp-dot { transform: scale(1.2); }
.bp-etykieta {
  background: var(--papier); color: var(--czern); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
  font-variation-settings: 'wdth' 112; padding: 10px 16px; border-radius: 999px;
  opacity: 0; transform: translateX(8px); transition: opacity .3s var(--e-out), transform .4s var(--e-out); pointer-events: none;
}
.btn-plywajacy:hover .bp-etykieta, .btn-plywajacy:focus-visible .bp-etykieta { opacity: 1; transform: none; }
@media (max-width: 980px) { .btn-plywajacy.widoczny { opacity: 1; } .btn-plywajacy svg { width: 54px; height: 54px; } }

/* ── przejście między stronami: kropka z O rośnie w kadr i wraca ────────── */
.cut { position: fixed; inset: 0; z-index: 150; pointer-events: none; visibility: hidden; }
.cut.aktywny { visibility: visible; pointer-events: auto; }
.cut-kadr { position: absolute; inset: 0; background: var(--rec); display: flex; align-items: center; justify-content: center; clip-path: inset(50% 50% 50% 50% round 50%); }
.cut-tytul {
  font-weight: 800; text-transform: uppercase; font-variation-settings: 'wdth' 125; color: var(--czern);
  font-size: clamp(40px, 9vw, 150px); line-height: .9; letter-spacing: -.012em; padding: 0 var(--pad); text-align: center;
}
.cut-tytul .kr { background: var(--czern); }
html.cut-wejscie .cut { visibility: visible; }
html.cut-wejscie .cut-kadr { clip-path: inset(0 0 0 0 round 0); }

/* ── sekcje ─────────────────────────────────────────────────────────────── */
.sekcja { padding: clamp(88px, 11vw, 168px) 0; position: relative; }
.sekcja + .sekcja { padding-top: 0; }
.sekcja + .sekcja.na-papierze, .sekcja.na-papierze + .sekcja { padding-top: clamp(88px, 11vw, 168px); }
.na-papierze { background: var(--papier); color: var(--czern); }
.na-papierze .etykieta { color: var(--szary-ciemny); }
.na-papierze .tekst-drugi { color: var(--szary-ciemny); }
.sekcja-glowa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sekcja-glowa .etykieta { grid-column: 1 / -1; }
.sekcja-glowa .lead, .sekcja-glowa > p { max-width: 34em; color: var(--szary); }
.na-papierze .sekcja-glowa > p { color: var(--szary-ciemny); }
@media (max-width: 860px) { .sekcja-glowa { grid-template-columns: 1fr; } }

.podstrona-glowa { padding: calc(var(--nav-h) + clamp(56px, 9vw, 140px)) 0 clamp(48px, 6vw, 96px); }
.podstrona-glowa .etykieta { margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.podstrona-glowa .lead { margin-top: clamp(24px, 3vw, 40px); color: var(--szary); }

/* ── hero startu: kropka w O staje się kadrem ──────────────────────────── */
.hero { position: relative; }
.hero-scena { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hero-znak { position: relative; width: 100%; padding: 0 var(--pad); margin-top: calc(var(--nav-h) * .4); }
.hero-znak svg { width: 100%; height: auto; overflow: visible; color: var(--papier); }
.hero-znak .h-rec, .hero-znak .h-rder, .hero-znak .h-ring { will-change: transform; }
.hero-okno { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
html.ruch:not(.ruch-awaria) .hero-okno { clip-path: inset(50% 50% 50% 50%); }
.hero-okno video, .hero-okno img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-okno .h-czerwien { position: absolute; inset: 0; background: var(--rec); opacity: .84; }
.hero-podpis {
  position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vh, 56px); z-index: 3; padding: 0 var(--pad);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.hero-podpis p { max-width: 30em; font-size: clamp(17px, 1.45vw, 21px); color: var(--papier); }
.hero-akcje { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-kadr-podpis {
  position: absolute; left: var(--pad); top: calc(var(--nav-h) + 20px); z-index: 3; display: flex; align-items: center; gap: 10px;
  opacity: 0; color: var(--papier);
}
.hero-kadr-podpis::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--rec); }
.hero-dalej { position: absolute; right: var(--pad); bottom: clamp(24px, 5vh, 56px); z-index: 3; opacity: 0; }
html:not(.ruch) .hero-okno { position: relative; inset: auto; aspect-ratio: 16 / 9; margin: 40px var(--pad) 0; width: auto; border-radius: 12px; overflow: hidden; pointer-events: auto; }
html:not(.ruch) .hero, html:not(.ruch) .hero-scena { height: auto; min-height: 0; }
html:not(.ruch) .hero-scena { padding: calc(var(--nav-h) + 48px) 0 48px; }
html:not(.ruch) .hero-podpis { position: relative; bottom: auto; margin-top: 40px; }
html:not(.ruch) .h-czerwien { display: none; }
html:not(.ruch) .hero-kadr-podpis, html:not(.ruch) .hero-dalej { display: none; }
@media (max-width: 700px) {
  .hero-podpis { flex-direction: column; align-items: flex-start; }
  .hero-znak { margin-top: 0; }
  .hero-dalej { right: auto; left: var(--pad); }
}
@media (max-width: 600px) {
  .t1 { font-size: 10.2vw; font-variation-settings: 'wdth' 110; }
  .t2 { font-size: clamp(28px, 8.4vw, 40px); font-variation-settings: 'wdth' 112; }
  .cut-tytul { font-size: 11vw; font-variation-settings: 'wdth' 110; }
  .stopka-hasla { font-variation-settings: 'wdth' 112; }
}

/* ── drzwi: trzy rodzaje pracy ─────────────────────────────────────────── */
.drzwi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.drzwi-karta {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(420px, 44vw, 620px);
  border-radius: 14px; overflow: hidden; text-decoration: none; background: var(--grafit); isolation: isolate;
}
.drzwi-karta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--e-out), filter .6s; filter: grayscale(.15) brightness(.78); }
.drzwi-karta::after { content: ''; position: absolute; inset: 45% 0 0 0; background: rgba(14, 14, 14, .72); z-index: -1; transition: inset .6s var(--e-out); }
.drzwi-karta:hover img { transform: scale(1.05); filter: none; }
.drzwi-karta:hover::after { inset: 58% 0 0 0; }
.drzwi-tresc { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.drzwi-tresc h3 { font-size: clamp(28px, 2.6vw, 40px); text-transform: uppercase; font-variation-settings: 'wdth' 125; line-height: .95; }
.drzwi-tresc p { color: var(--papier); opacity: .82; font-size: 16px; }
.drzwi-licz { position: absolute; top: 22px; left: 24px; right: 24px; display: flex; justify-content: space-between; }
.drzwi-licz .etykieta { color: var(--papier); background: rgba(14, 14, 14, .6); padding: 6px 10px; border-radius: 999px; }
@media (max-width: 900px) { .drzwi { grid-template-columns: 1fr; } .drzwi-karta { min-height: 380px; } }

/* ── wideo: miniatury i kadr odtwarzacza ───────────────────────────────── */
.wideo-siatka { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; }
.wideo-siatka.duza { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .wideo-siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .wideo-siatka, .wideo-siatka.duza { grid-template-columns: 1fr; } }
.wideo { display: flex; flex-direction: column; gap: 14px; text-decoration: none; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; color: inherit; width: 100%; }
.wideo-kadr { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--grafit-2); }
.wideo-kadr img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--e-out); }
.wideo:hover .wideo-kadr img { transform: scale(1.04); }
.wideo-play {
  position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: rgba(14, 14, 14, .72);
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.wideo-play::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; border: 3px solid var(--papier); opacity: .35; transition: opacity .3s; }
.wideo-play i { width: 16px; height: 16px; border-radius: 50%; background: var(--rec); transition: transform .45s var(--e-out); }
.wideo:hover .wideo-play::before, .wideo:focus-visible .wideo-play::before { opacity: 1; }
.wideo:hover .wideo-play i { transform: scale(1.25); }
.wideo-opis { display: flex; flex-direction: column; gap: 4px; }
.wideo-opis b { font-weight: 650; font-size: 17px; line-height: 1.3; }
.wideo-opis span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--szary); }
.wideo[hidden] { display: none; }

.odtwarzacz { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 24px; }
.odtwarzacz[hidden] { display: none; }
.odtwarzacz-tlo { position: absolute; inset: 0; background: rgba(8, 8, 8, .92); opacity: 0; }
.odtwarzacz-kadr { position: relative; width: min(1280px, 100%, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; }
.odtwarzacz-kolor { position: fixed; background: var(--rec); z-index: 1; pointer-events: none; }
.odtwarzacz-kadr iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; background: #000; z-index: 2; opacity: 0; }
.odtwarzacz-pasek { position: absolute; left: 0; right: 0; top: -52px; display: flex; justify-content: space-between; align-items: center; gap: 16px; opacity: 0; z-index: 3; }
.odtwarzacz-pasek p { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zamknij { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grafit-2); cursor: pointer; position: relative; flex-shrink: 0; }
.zamknij::before, .zamknij::after { content: ''; position: absolute; left: 13px; top: 21px; width: 18px; height: 2px; background: var(--papier); transform: rotate(45deg); }
.zamknij::after { transform: rotate(-45deg); }
.zamknij:hover { background: var(--linia); }

/* ── tryby: pokrętło jak w aparacie ────────────────────────────────────── */
.tryby { position: relative; margin: 0 calc(var(--pad) * -1); }
.tryby-tor {
  display: flex; gap: clamp(18px, 2.6vw, 40px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 26px calc(50% - 60px) 18px; -webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.tryby-tor::-webkit-scrollbar { display: none; }
.tryb {
  position: relative; flex-shrink: 0; scroll-snap-align: center; border: 0; background: none; cursor: pointer; padding: 8px 2px;
  font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--szary);
  transition: color .3s;
}
.tryb:hover { color: var(--papier); }
.tryb[aria-pressed="true"], .tryb[aria-selected="true"] { color: var(--papier); }
.tryb[aria-pressed="true"]::before, .tryb[aria-selected="true"]::before { content: ''; position: absolute; left: 50%; top: -12px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--rec); }
.tryb sup { font-size: 10px; margin-left: 4px; color: var(--szary); vertical-align: top; }
.na-papierze .tryb { color: var(--szary-ciemny); }
.na-papierze .tryb[aria-pressed="true"], .na-papierze .tryb:hover { color: var(--czern); }
.tryby-srodek { position: absolute; left: 50%; bottom: 6px; width: 1px; height: 8px; background: var(--linia); }
.migawka { position: fixed; inset: 0; background: #000; z-index: 140; pointer-events: none; opacity: 0; }

/* ── jak pracujemy: przypięte tryby ────────────────────────────────────── */
.praca { position: relative; }
.praca-scena { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--nav-h) + 16px) 0 32px; }
.praca-srodek { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.praca-foto { position: relative; aspect-ratio: 4 / 5; max-height: 64vh; border-radius: 14px; overflow: hidden; background: var(--grafit); justify-self: start; width: 100%; }
.praca-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .01s; }
.praca-foto img.aktywne { opacity: 1; }
.praca-teksty { position: relative; min-height: 18em; }
.praca-tekst { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; }
.praca-tekst.aktywne { opacity: 1; visibility: visible; }
.praca-tekst .t2 { margin-bottom: 24px; font-size: clamp(30px, 3.5vw, 56px); }
.praca-tekst p { font-size: clamp(18px, 1.5vw, 22px); color: var(--szary); max-width: 26em; }
.praca-num { font-family: var(--mono); color: var(--szary); font-size: 13px; letter-spacing: .1em; margin-bottom: 16px; display: block; }
html:not(.ruch) .praca-teksty { min-height: 0; display: grid; gap: 48px; }
html:not(.ruch) .praca-tekst { position: static; opacity: 1; visibility: visible; }
html:not(.ruch) .praca-foto img:not(:first-child) { display: none; }
html:not(.ruch) .praca-foto img:first-child { opacity: 1; }
html:not(.ruch) .praca .tryby { display: none; }
@media (max-width: 860px) {
  .praca-srodek { grid-template-columns: 1fr; }
  .praca-foto { aspect-ratio: 16 / 10; max-height: 38vh; }
  .praca-teksty { min-height: 15em; }
}

/* ── klienci: ściana nazw, kropka rośnie w logo albo kadr ──────────────── */
.marki {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1em .55em;
  font-size: clamp(24px, 3.1vw, 46px); font-weight: 800; text-transform: uppercase; font-variation-settings: 'wdth' 112;
  line-height: 1.12; letter-spacing: -.01em; max-width: 1240px;
}
.marka { position: relative; display: inline-flex; align-items: center; gap: .24em; color: #7A776F; transition: color .4s var(--e-out); }
.marka-kolo { position: relative; width: .8em; height: .8em; flex-shrink: 0; }
.marka-kolo::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: .2em; height: .2em; margin: -.1em 0 0 -.1em;
  border-radius: 50%; background: var(--rec); transition: transform .45s var(--e-out), opacity .3s;
}
.marka-kolo img {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--papier);
  transform: scale(.25); opacity: 0; transition: transform .6s var(--e-out), opacity .25s; z-index: 1;
  box-shadow: 0 0 0 .06em var(--czern), 0 0 0 .1em var(--rec);
}
.marka:hover, .marka.na-zywo { color: var(--papier); }
.marka:hover .marka-kolo img, .marka.na-zywo .marka-kolo img { transform: scale(1.5); opacity: 1; }
.marka:hover .marka-kolo::before, .marka.na-zywo .marka-kolo::before { transform: scale(3.6); opacity: 0; }
@media (max-width: 600px) { .marki { font-size: 5.3vw; font-variation-settings: 'wdth' 100; gap: .16em .5em; } }

/* ── opinie ─────────────────────────────────────────────────────────────── */
.opinie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.opinia { margin: 0; background: var(--grafit); border: 1px solid var(--linia); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.opinia blockquote { margin: 0; font-size: 19px; line-height: 1.45; }
.opinia figcaption { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; color: var(--szary); font-size: 14px; }
.opinia figcaption b { color: var(--papier); font-weight: 600; }
.gwiazdki { color: var(--rec); letter-spacing: 2px; font-size: 14px; }
.opinie-podsum { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; color: var(--szary); }
@media (max-width: 900px) { .opinie { grid-template-columns: 1fr; } }

/* ── duże CTA: „nagrajmy” ──────────────────────────────────────────────── */
.nagrajmy { text-align: center; padding: clamp(96px, 14vw, 200px) 0; }
.nagrajmy .t1 { margin: 20px 0 40px; }
.nagrajmy .btn { font-size: 15px; min-height: 58px; padding: 12px 28px 12px 14px; }
.nagrajmy .ik-rec { width: 34px; height: 34px; }

/* ── realizacje ─────────────────────────────────────────────────────────── */
.filtr-pasek { position: sticky; top: var(--nav-h); z-index: 20; background: var(--czern); border-bottom: 1px solid var(--linia); margin-bottom: 48px; transition: top .5s var(--e-out); }
body:has(.nav.schowany) .filtr-pasek { top: 0; }
.filtr-pasek .tryby-tor { padding-top: 22px; padding-bottom: 8px; }
.filtr-liczba { text-align: center; padding-bottom: 10px; font-size: 11px; }
.shorty { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.short {
  aspect-ratio: 9 / 16; border-radius: 12px; background: var(--grafit); border: 1px solid var(--linia); padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: border-color .3s, background .3s;
}
.short:hover { border-color: var(--papier); background: var(--grafit-2); }
.short b { font-weight: 650; font-size: 15px; line-height: 1.25; word-break: break-word; }
.short-kolo { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--rec); display: flex; align-items: center; justify-content: center; }
.short-kolo i { width: 14px; height: 14px; border-radius: 50%; background: var(--papier); }
@media (max-width: 1100px) { .shorty { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shorty { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── foto: relacje ─────────────────────────────────────────────────────── */
.relacje-tor { display: flex; gap: clamp(14px, 2vw, 26px); overflow-x: auto; padding: 8px 2px 20px; scrollbar-width: thin; }
.relacja { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 108px; background: none; border: 0; cursor: pointer; padding: 0; }
.relacja-kolo { position: relative; width: 96px; height: 96px; border-radius: 50%; padding: 7px; }
.relacja-kolo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.relacja-kolo circle { fill: none; stroke-width: 3.5; }
.relacja-kolo .rk-tlo { stroke: var(--linia); }
.relacja-kolo .rk-nowe { stroke: var(--rec); stroke-dasharray: 1 1; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .8s var(--e-io); }
.relacja.obejrzana .rk-nowe { stroke-dashoffset: 1; }
.relacja-kolo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transition: transform .5s var(--e-out); }
.relacja:hover .relacja-kolo img { transform: scale(1.06); }
.relacja span { font-size: 13.5px; font-weight: 600; line-height: 1.2; text-align: center; }
.relacja small { font-family: var(--mono); font-size: 11px; color: var(--szary); letter-spacing: .06em; }

.galeria { columns: 3 320px; column-gap: 14px; }
.galeria figure { margin: 0 0 14px; break-inside: avoid; border-radius: 10px; overflow: hidden; background: var(--grafit); position: relative; }
.galeria img { width: 100%; height: auto; }
.galeria button { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.galeria figcaption { position: absolute; left: 10px; bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: rgba(14, 14, 14, .72); padding: 5px 9px; border-radius: 999px; opacity: 0; transition: opacity .3s; }
.galeria figure:hover figcaption { opacity: 1; }

.relacja-widok { position: fixed; inset: 0; z-index: 130; background: rgba(6, 6, 6, .96); display: flex; align-items: center; justify-content: center; }
.relacja-widok[hidden] { display: none; }
.rw-kadr { position: relative; height: min(92svh, 900px); aspect-ratio: 9 / 16; max-width: 100vw; border-radius: 14px; overflow: hidden; background: #000; }
.rw-kadr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.rw-kadr img.rw-foto { background: transparent; }
.rw-kadr img.tlo-rozmyte { object-fit: cover; filter: blur(28px) brightness(.5); transform: scale(1.2); }
.rw-paski { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; z-index: 3; }
.rw-paski span { flex: 1; height: 3px; border-radius: 2px; background: rgba(242, 240, 234, .3); overflow: hidden; }
.rw-paski span i { display: block; height: 100%; width: 100%; background: var(--papier); transform-origin: 0 50%; transform: scaleX(0); }
.rw-paski span.byl i { transform: scaleX(1); }
.rw-glowa { position: absolute; top: 26px; left: 14px; right: 14px; display: flex; align-items: center; gap: 10px; z-index: 3; }
.rw-glowa .rw-av { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 2px var(--rec); object-fit: cover; position: static; }
.rw-glowa b { font-size: 14px; font-weight: 650; }
.rw-glowa small { font-family: var(--mono); font-size: 11px; color: var(--szary); margin-left: 4px; }
.rw-glowa .zamknij { margin-left: auto; background: rgba(14, 14, 14, .6); }
.rw-strefa { position: absolute; top: 80px; bottom: 0; width: 38%; z-index: 2; background: none; border: 0; cursor: pointer; }
.rw-strefa.lewo { left: 0; cursor: w-resize; }
.rw-strefa.prawo { right: 0; cursor: e-resize; }
.rw-pauza { white-space: nowrap; position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--szary); background: rgba(14, 14, 14, .6); padding: 6px 10px; border-radius: 999px; }
.rw-strzalka { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 0; background: var(--grafit-2); cursor: pointer; font-size: 20px; }
.rw-strzalka.lewo { left: calc(50% - min(46svh, 450px) * 9 / 16 - 84px); }
.rw-strzalka.prawo { right: calc(50% - min(46svh, 450px) * 9 / 16 - 84px); }
@media (max-width: 700px) { .rw-strzalka { display: none; } .rw-kadr { height: 100svh; border-radius: 0; } }

/* ── oferta ─────────────────────────────────────────────────────────────── */
.pakiety { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .pakiety { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .pakiety { grid-template-columns: 1fr; } }
.pakiet {
  position: relative; background: var(--papier); color: var(--czern); border-radius: 16px; padding: 30px 28px 28px;
  display: flex; flex-direction: column; gap: 22px; border: 1px solid var(--papier);
}
.pakiet[hidden] { display: none; }
.pakiet-grupa { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--szary-ciemny); }
.pakiet h3 { font-size: clamp(26px, 2.2vw, 34px); text-transform: uppercase; font-variation-settings: 'wdth' 125; line-height: .95; }
.pakiet-cena { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--linia-jasna); border-bottom: 1px solid var(--linia-jasna); }
.pakiet-cena b { font-family: var(--mono); font-weight: 500; font-size: clamp(24px, 2.1vw, 30px); letter-spacing: -.04em; line-height: 1.1; }
.pakiet-cena span { font-family: var(--mono); font-size: 13px; color: var(--szary-ciemny); }
.pakiet ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pakiet li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.pakiet li::before { content: ''; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); transform: translateY(-1px); }
.pakiet-uwaga { font-size: 14px; color: var(--szary-ciemny); }
.pakiet .btn { margin-top: auto; align-self: flex-start; }
.pakiet-wyroznienie { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--czern); color: var(--papier); padding: 6px 10px; border-radius: 999px; display: flex; align-items: center; gap: 7px; }
.pakiet-wyroznienie::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); }
.oferta-przypis { margin-top: 32px; color: var(--szary); max-width: 46em; }

/* ── zespół ─────────────────────────────────────────────────────────────── */
.zespol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .zespol { grid-template-columns: 1fr; } }
.osoba { background: var(--grafit); border: 1px solid var(--linia); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.osoba-foto { aspect-ratio: 4 / 5; background: var(--grafit-2); position: relative; overflow: hidden; }
.osoba-foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.osoba:hover .osoba-foto img { filter: none; }
.osoba-inicjaly { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.osoba-inicjaly span { width: 46%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 clamp(10px, 1.6vw, 22px) var(--papier); display: flex; align-items: center; justify-content: center; }
.osoba-inicjaly i { width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--rec); }
.osoba-tresc { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 14px; }
.osoba-tresc h3 { font-size: 26px; text-transform: uppercase; font-variation-settings: 'wdth' 118; line-height: 1; }
.osoba-tresc p { color: var(--szary); font-size: 16px; }
.wartosci { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--linia-jasna); }
.wartosc { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.wartosc + .wartosc { padding-left: 24px; border-left: 1px solid var(--linia-jasna); }
.wartosc h3 { font-size: 24px; text-transform: uppercase; font-variation-settings: 'wdth' 125; }
.wartosc p { color: var(--szary-ciemny); font-size: 16px; }
@media (max-width: 900px) { .wartosci { grid-template-columns: 1fr 1fr; } .wartosc:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .wartosci { grid-template-columns: 1fr; } .wartosc + .wartosc { border-left: 0; padding-left: 0; } }

/* ── kontakt: bez formularza, mail jest głównym przyciskiem ───────────────── */
.kontakt-mail {
  display: inline-block; font-size: clamp(30px, 6.4vw, 104px); font-weight: 800; font-variation-settings: 'wdth' 112;
  letter-spacing: -.02em; line-height: 1; text-decoration: none; transition: color .3s;
}
@media (max-width: 600px) { .kontakt-mail { font-size: 6.3vw; font-variation-settings: 'wdth' 100; } }
.kontakt-mail:hover { color: var(--rec); }
.kontakt-akcja { margin-top: 32px; }
.kontakt-siatka { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--linia); }
.kontakt-siatka .etykieta { margin-bottom: 12px; }
.kontakt-siatka p { font-size: 18px; line-height: 1.5; }
.kontakt-social { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.kontakt-social a { text-decoration: none; border-bottom: 1px solid var(--linia); transition: color .25s, border-color .25s; }
.kontakt-social a:hover { color: var(--rec); border-color: var(--rec); }
@media (max-width: 800px) { .kontakt-siatka { grid-template-columns: 1fr; gap: 24px; } }
.podpowiedzi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--linia-jasna); }
.podpowiedzi li { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.podpowiedzi li + li { padding-left: 24px; border-left: 1px solid var(--linia-jasna); }
.podpowiedzi h3 { font-size: 24px; text-transform: uppercase; font-variation-settings: 'wdth' 125; }
.podpowiedzi p { color: var(--szary-ciemny); font-size: 16px; }
.podpowiedzi .praca-num { color: var(--szary-ciemny); }
@media (max-width: 900px) { .podpowiedzi { grid-template-columns: 1fr 1fr; } .podpowiedzi li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .podpowiedzi { grid-template-columns: 1fr; } .podpowiedzi li + li { border-left: 0; padding-left: 0; } }

/* ── stopka ─────────────────────────────────────────────────────────────── */
.stopka { border-top: 1px solid var(--linia); padding: clamp(64px, 8vw, 120px) 0 28px; overflow: hidden; }
.stopka-gora { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.stopka-hasla { font-size: clamp(30px, 3.4vw, 52px); font-weight: 800; text-transform: uppercase; font-variation-settings: 'wdth' 125; line-height: .95; }
.stopka-hasla span { color: var(--szary); display: block; }
.stopka-hasla a { text-decoration: none; }
.stopka-hasla a:hover { color: var(--rec); }
.stopka-kol { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.stopka-kol a, .stopka-kol span { text-decoration: none; color: var(--papier); font-size: 16px; }
.stopka-kol a:hover { color: var(--rec); }
.stopka-kol h2 { margin-bottom: 8px; }
.stopka-logo { display: block; margin: clamp(56px, 8vw, 120px) 0 28px; color: var(--papier); }
.stopka-logo svg { width: 100%; height: auto; overflow: visible; }
.stopka-logo .lg-dot { transform-box: fill-box; transform-origin: center; animation: tally 2.4s var(--e-io) infinite; }
@keyframes tally { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.stopka-dol { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--szary); font-size: 14px; border-top: 1px solid var(--linia); padding-top: 22px; }
.stopka-dol a { color: var(--papier); }
@media (max-width: 900px) { .stopka-gora { grid-template-columns: 1fr 1fr; } .stopka-hasla { grid-column: 1 / -1; } }

/* ── ruch: stany początkowe tylko przy .ruch ────────────────────────────── */
html.ruch:not(.ruch-awaria) [data-wejscie] { opacity: 0; transform: translateY(28px); }
html.ruch:not(.ruch-awaria) [data-pisz] .pisz-t:not(.napisany) { clip-path: inset(0 100% 0 0); }
html.ruch-awaria [data-wejscie] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* plakietka zorna po lewej, pływający przycisk po prawej */
.zorna-plakietka { z-index: 49; }
